/*
 Theme Name:   Medavia
 Theme URI:    http://example.com/twenty-fourteen-child/
 Description:  Medavia Theme - child theme of DW Focus
 Author:       John Doe
 Author URI:   http://example.com
 Template:     dw_focus_1.0.8_theme
 Version:      1.0.0
 Tags:         light, responsive, clean
 Text Domain:  medavia-theme
*/

@import url("../dw_focus_1.0.8_theme/style.css");

/*
 * Colours for reference:
 * * Medavia Blue: #255d96
 * * Highlight Grey: #f0f0f0
 * * Line Grey: #dddddd

*/

/* =Theme customization starts here
-------------------------------------------------------------- */

/*Top bar branding and CTA
 * 
*/

@media(min-width:980px) and (max-width:1079px){
	.site-header #header #branding{
		width: 290px!important
}

}

.site-header #branding a {
width:100%;
}


/*Nav bar modifications
 * makes the navbar full width and adds custom Medavia colours
*/

.desktop .wrap-navigation {
    width: 100%;
}

.navbar {
	margin-bottom: 40px;
	border-left: 1px solid #DDD;
}

.navbar .navbar-inner {
    border-top-color: #255D96;
}

.site-header .navbar .btn-navbar, .site-header .navbar .btn-navbar:hover {
    background-color: #255D96;
    border-right-color: #255D96;
}

@media(max-width:979px){

.site-header #site-navigation.navbar .navbar-inner {
background-color: #FFF;
border: 1px solid #255D96;
}
.site-header #site-navigation.navbar .nav > li,
.site-header #site-navigation.navbar .nav .current-menu-item {
background-color: #255D96;
}

}

.site-header .collapse-search i {
color: #255D96;
}



.site-header .navbar .btn-navbar,
.site-header .navbar .btn-navbar:hover {
background-color: #255d96;
border-right-color: #255d96;
}

.navbar .nav .current_page_item > a, 
.navbar .nav .current-menu-item > a, 
.navbar .nav .current-post-ancestor > a, 
.navbar .nav .current-menu-parent > a, 
.navbar .nav .current-menu-ancestor > a {
color: #255d96;
background-color: #fff;
}


/*Front page promotion tryptich
 * styles the 'medavia_focus_categories' included in the promotions plugin
*/  

.widget.medavia_focus_categories.news-category .row-fluid > div:nth-child(1) > h3:nth-child(1) > p:nth-child(1) {
color: #245c97;
}

.widget.medavia_focus_categories.news-category .row-fluid > div:nth-child(2) > h3:nth-child(1) > p:nth-child(1) {
color: #f95e01;
}

.widget.medavia_focus_categories.news-category .row-fluid > div:nth-child(3) > h3:nth-child(1) > p:nth-child(1) {
color: #e23ac1;
}

/*End front page promotion triptych
*/

/*Front page carousel amends - change color, and position of the buttons
*/


.news-slider  {
background-color: #fff;
border-bottom-color: #ddd;
border-left-color: #ddd;
}

.carousel-inner {
background-color: #000;
}


.news-slider .carousel {
float: right;
}

.news-slider .category-title {
background-color: #f0f0f0;
border-top: 1px #dddddd solid;
color: black;
}

.news-slider .carousel-list .other-entry li.active a, 
.news-slider .carousel-list .other-entry li:hover a {
color: #fff;
background-color: #255d96;
}

.news-slider .carousel-list .other-entry li.active {
border-left: 1px solid #ddd; 
border-right: 5px solid #578fc8;
}

.news-slider .carousel-list .other-entry li {
border-left: 1px solid #ddd;
}

.news-slider .carousel-list .other-entry a {
border-bottom-color: #ddd;
}

.news-slider .carousel-list h3:before, .news-slider .carousel-list h3:after {
border-top: 6px solid #ddd;
}

.news-slider .carousel-list h3 {
border-bottom: 1px solid #ddd;
color: black;
}

.news-slider .carousel-nav li {
border: 1px solid #255d96;
background: none repeat scroll 0% 0% #255d96;
}

.news-slider .carousel-nav li.active a {
background: none repeat scroll 0% 0% white !important;
}

/*End front page carousel amends
*/

/* Header contact cta 
 * 
*/


.talk-cta,
.number-cta {
text-align: center;
display:block;
font-weight: bold;
width: 60%;
float:right;
height: 36px;
}

.number-cta {
font-size:26px;
color: #255d96;
}

.talk-cta {
font-size:18px;
background: url(img/button-blue.png) no-repeat top center;
color:#fff;
}

.talk-cta p {
padding: 6px;
}

.talk-cta a,
.talk-cta a:hover {
color: white;
}

/* End of header amends
 * 
*/

/* set widths of inputs for contact form 7 plugin
 * 
*/

input.wpcf7-form-control {
width: 50%;
}

textarea.wpcf7-form-control {
width: 75%;
}

/*End contact bcontact cta
 * 
*/

/* Sidebar cta 
 * 
*/
@media(max-width:979px){
#text-2.widget .textwidget {
text-align: left;
color:#fff;
}
}

@media(max-width:767px) {
#text-2 .cta-box {

background: url(img/CTA-box-wide.jpg) #255D96 no-repeat top center!important;
background-size: auto !important;
}
}

#text-2 .cta-box {
background-color: #255d96;
color:#fff;
background: url(img/CTA-box-square.jpg) #255D96 no-repeat top center;
padding-bottom: 1px;
  -webkit-background-size: contain;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#text-2.widget-text {
text-align: center;
color:#fff;

}

/*
#text-2 > h3:nth-child(1) {
text-align: center;
font-weight: bold;
font-size: 16px;
border-bottom: 2px solid #578fc8;
color:#fff;
}
*/
#text-2.widget h3.widget-title {
font-size: 16px;
border-top-width:0px;
border-bottom-width:0px;
padding-top:20px;
color:#fff;
font-weight: bold;
}

#text-2.widget h3 {

}

#text-2.widget .textwidget,
#text-2.widget .textwidget a  {
text-align:center;
color: #fff;
}

@media(max-width:767px) {
#text-2 .cta-box-inner {
background: url(img/CTA-box-logo.png) no-repeat top center!important;
background-size:auto!important;
}
}

#text-2 .cta-box-inner {
background: url(img/CTA-box-logo.png) no-repeat top center;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  padding-top:59px;
}

#text-2.widget .textwidget h4 {
color:#fff;
padding: 5px;
background-color: #255d96;

}

.textwidget p.contact-number {
line-height: 33px;
font-size: 19px;
font-weight: bold;
}

#text-2.widget .textwidget p.contact-button {
background: url(img/button-pink.png) no-repeat top center;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
line-height: 33px;
font-size: 19px;
font-weight: bold;
margin-left:5px;
margin-right:5px;
}

/* End of sidebar cta
 * 
*/

/* Amend black content bar on category pages
 * 
*/

.content-bar {
background-color: #255d96;
}

.archive .post-layout .layout-list {
border-left-color: #255d96; 
}

#secondary .widget.latest-news .widget-title {
background-color: #255d96;
}

#secondary .widget.latest-news .widget-title:before {
border-top-color: #255d96; 
}

/* End of content bar amends
 * 
*/

/*Footer modifications
 * makes the footer background full width in Medavia blue, and adds custom Medavia colours to borders and text
*/

#colophon.site-footer,
#colophon.dark,
#colophon.dark .container {
background-color: #255D96;
color: #FFF;
border-color: #255D96;
}

#colophon #site-tools {
border-top-color: #255D96;
}

#colophon.dark .footer-shadown {
border-color: #578FC8;
}

#colophon.dark #site-info.container {
border: 1px solid #255D96;
}

#colophon.dark a {
color: white;
}

#colophon.dark a:hover {
color: #666;
}

