/*
 Theme Name:   Bcsa
 Theme URI:    
 Description:  Bcsa Theme
 Author:       Kairios
 Author URI:   http://www.kairios.fr
 Template:     smartbox
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         
 Text Domain:  smartbox-child
*/
/*
entrainement #808080
essai #A40020
réducteur #00853C
multiplicateur #CFD300
maag #5F005F
services #D29F00

/* general */
.right{float: right}
table{font-size: 12px}
body.custom-background{background-repeat: repeat-x !important}
h1{font-size: 34px}
.wrapper{margin-bottom: 0px}

/* flexslider - caption */
.super{width: 300px;float: right;right: 43px;position: relative;color: #000 !important;font-size: 44px !important}


/* lang navbar */
#icl_lang_sel_widget-1{float: right;}
#lang_sel_list img.iclflag{width: 31px; height: 32px}
#lang_sel_list ul {border-top: 0px !important;}
#lang_sel_list ul a.lang_sel_other, #lang_sel li ul a:link, #lang_sel_list ul a.lang_sel_other:visited{background-color: transparent !important}
#lang_sel_list ul a{background-color: transparent !important}

/* search */
.widget_search h3{display: none}
.widget_search form .input-append.row-fluid {margin-top: 30px}
.widget_search .input-append input{border: 0px none;background-color: #fff;}
.fa-facebook-square{color: #3B5998}

/* navbar */
#masthead .nav > li > a{margin: 0px 2px; background-color: #fff;}
#masthead .nav-collapse.collapse{float: left; padding-top: 66px}
#masthead .brand{padding: 0px}
.navbar.navbar-static-top{background: url('/wp-content/themes/bcsa/assets/images/fond-menu.png') top center}
.navbar .nav > li > a{padding-top: 0px !important; padding-bottom: 12px !important; padding-left: 8px; padding-right: 8px;border: 1px solid #ccc; border-bottom: 3px groove ;border-top-left-radius: 5px;border-top-right-radius: 5px;}
.navbar .nav > li > a:after{margin-bottom: 2px;}
.navbar .nav > li:nth-child(1) > a.hover{border-bottom: 3px solid #00853C} /* reducteur */
.navbar .nav > li:nth-child(2) > a.hover{border-bottom: 3px solid #A40020} /* essai */
.navbar .nav > li:nth-child(3) > a.hover{border-bottom: 3px solid #CFD300} /* multiplicateurs */
.navbar .nav > li:nth-child(4) > a.hover{border-bottom: 3px solid #D29F00} /* service */
.navbar .nav > li:nth-child(5) > a.hover{border-bottom: 3px solid #5F005F} /* maag */
.navbar .nav > li:nth-child(6) > a.hover{border-bottom: 3px solid #808080} /* entrainement */
.navbar .nav > li:nth-child(7) > a.hover{border-bottom: 3px solid #2142FF} /* actu */
.navbar .nav > li:nth-child(8) > a.hover{border-bottom: 3px solid #A85F00} /* contact */
.fixed-navbar{position: fixed;background: rgb(255, 255, 255) none repeat scroll 0% 0%;width: 100%;top: 0px;z-index: 999;}
.dropdown-menu > li > a:hover{color: #42576a}

/* fancybox / gallery */
.fancybox-bcsa{position: relative}
.fancybox-open{position: absolute;color: rgb(255, 255, 255);background-color: blue;border-radius: 13px;width: 20px;height: 25px;font-size: 25px;top: -12px;left: 27px;padding-left: 6px;z-index: 1}
.fancybox-title-float-wrap{position: relative;}
.fancybox-title-float-wrap .child{white-space: normal;max-width: 600px}
.jce_caption{width: 300px}
.span6 .jce_caption{width: auto;} /* D2B */ 
.super-hero-unit figure figcaption{top: 40%}
.fancybox-prev span{left: 0px; opacity: 1}
.fancybox-next span{right: 0px; opacity: 1}


/* Home blocks */
.block-category{border-radius: 40px;font-size: 18px;line-height: 25px;margin-bottom: 20px;border: 1px solid #ccc;}
.block-category h3{font-size: 30px;line-height: 34px;}
.block-category .block-link{text-align: center;padding-top: 5px;border: 2px solid #000;border-radius: 40px;}
.block-category .block-link.entrainement{border: 2px solid rgb(128, 128, 128);}
.block-category .block-link.essai{border: 2px solid #A40020;}
.block-category .block-link.reducteur{border: 2px solid #00853C;}
.block-category .block-link.multiplicateur{border: 2px solid #CFD300;}
.block-category .block-link.maag{border: 2px solid #5F005F;}
.block-category .block-link.service{border: 2px solid #D29F00;}
.block-category .block-text{color: #000;padding: 30px;}

/* home - news */
body.home .round-box.box-big .box-inner{width: 280px}


/* recent posts thumbnail */
body.home .round-box.box-small .box-inner img{height: 100px}
body.home .round-box.box-small .box-inner{width: 100px}

/* post pages */
article .span4 h4{min-height: 50px; text-align: center}
.span4 .jce_caption {width: 100%;}

/* liste actualités */
.page-id-122 .post-body .entry-content figure, .page-id-1159 .post-body .entry-content figure, .page-id-1457 .post-body .entry-content figure {display: none;}
/* actualités */
.single-post .post-body .entry-content figure{display: none;}

/*
footer#footer::before{height: 40px;content: '';background: url('/wp-content/uploads/2016/06/Fond-2.jpg') white 0 0 repeat-x;display: block;top: -40px;position: relative;}
*/


/* footer */
footer#footer::before{height: 0px;content: '';background: #fff ;display: block;top: 0px;position: relative;}
footer#footer {background: url('/wp-content/uploads/2016/06/Fond-footer-1.jpg') #fff top center; box-sizing: border-box; position: relative;height: 70px;padding-top: 25px;}
footer#footer .wrapper{margin: 0}
footer#footer .container-fluid{padding: 0px}
footer#footer .menu-menu-footer-container{ padding: 0px 40px}
footer#footer .menu-menu-footer-container ul, #footer ul{list-style-type: none;}
footer#footer .menu-menu-footer-container ul li, #footer ul li{display: inline; padding-right: 16px;}
footer#footer .menu-menu-footer-container ul li a, #footer ul li a{text-shadow: none !important}
footer#footer .wrapper.wrapper-transparent{height: 40px}

/* wpml */
.wpml-ls-sidebars-in-nav-lang{border: none !important; background-color: transparent !important; padding: 0px !important;}
.wpml-ls-legacy-list-horizontal a{display: inline !important}


/* search */
.search.search-results .section.section-alt{display: none;}
.search.search-results img[alt='featured image']{display: none}
.search.search-results #post-657{display: none}

/*
 * Responsive
 */
@media only screen and (min-width:1200px){
	/*.wrapper{background:green;opacity:0.3;}*/
    .row-fluid .span4{width: 30% !important; padding-bottom: 30px}
}
@media (min-width:960px) and (max-width:1200px){
	/*.wrapper{background-color:green;opacity:0.3;}*/
    .flex-caption .super{font-size: 34px !important; right: 12px}
    
}
@media (min-width:770px) and (max-width:960px){
	/*.wrapper{background-color:red;opacity:0.3;}*/
        .flex-caption .super{font-size: 25px !important; right: 14px; width: 175px}
}
@media (min-width:480px) and (max-width:770px){
	/*.wrapper{background-color:blue;opacity:0.3;}*/
        .flex-caption .super{font-size: 25px !important; right: 14px; width: 175px}
}
@media only screen and (max-width:980px){
    #masthead .nav-collapse.collapse{float: right; padding-top: 0px}
    .fancybox-title-float-wrap .child{max-width: 400px}
    .fixed-navbar{position: relative}
    h1{font-size: 24px;}
}
@media only screen and (max-width:480px){
    .brand img{width: 100px}
    .widget_search form .input-append.row-fluid {width: 130px}
    .flex-caption .super{font-size: 23px !important; right: 3px; width: 175px}
    .fancybox-title-float-wrap .child{max-width: 360px}
}

/*****SURCHARGE CSS*****/
#masthead .nav li.dropdown.open > .dropdown-toggle{
    background-color: white;
}

#menu-item-1312 .dropdown-menu > li > a:hover, #menu-item-1148 .dropdown-menu > li > a:hover, #menu-item-1451 .dropdown-menu > li > a:hover{
    background-image: none !important;
    background-color: #A40020;
    color: white;
}

#menu-item-1313 .dropdown-menu > li > a:hover , #menu-item-1149 .dropdown-menu > li > a:hover, #menu-item-1452 .dropdown-menu > li > a:hover{
    background-image: none !important;
    background-color: #CFD300;
    color: white;
}


/* d2b */
.d2b {font-weight:inherit;}
.ctc {
    background: #000090;
    padding: 15px;
    color: #ffffff;
    font-size: 18px;
    float: right;
    border-radius: 5px;
}
.ctc:after {
    content: "\f178";
    font-family: FontAwesome;
    padding-left: 10px;
}
#top-bar + .wrapper {margin-top: 0px !important;}
#top-bar .textwidget {
    font-size: 18px;
    color: #222222;
    font-weight: 600;
	display:inline-flex;
}
.rangeeflex .row-fluid {display: flex;}
.rangeeflex .row-fluid .span4, .rangeeflex .row-fluid .span6 {
    margin-top: auto;
    margin-bottom: auto;
height: 100%;}
#top-bar .textwidget .tele:before {
    content: "\f095 ";
    font-family: FontAwesome;
	margin-right: 5px;
    font-size: 20px;
}
h2.chapo {
	font-size: 16px !important;
	line-height: 24px !important;
	text-transform:none !important;
}
/*---*/



.row-fluid .span4{
    float: none !important;
    display: inline-block !important;
    vertical-align: top !important;
}

