/*
 Theme Name:   BNCM
 Description:  Thème du site BNCM
 Template:     bento
 Version:      1.0.0
 License:      GNU General Public License v3 or later
*/

h1 {
	font-size: 3.6rem !important;
	font-weight: 700;
	color: #a00e3b !important;
	margin-top: 0 !important;
}
h2 {
	font-size: 2.8rem !important;
	font-weight: 700;
	color: #005aa1 !important;
}
h3 {
	font-size: 2.2rem !important;
	font-weight: 700;
	color: #000000 !important;
}

span.title {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: #005aa1;
}

span.subtitle {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #005aa1;
}

span.block_title {
	font-family: "Open Sans", Arial, Helvetica, Sans-Serif;
	display: inline-block;
	font-size: 1.8rem !important;
	font-weight: 700;
	color: #a00e3b !important;
	margin-bottom: 1.5rem;
}

.devenir-membre strong {
    color: #005aa1;
    font-size: 1.4em;
    width: 100%;
    display: inline-block;
    text-align: center;
}

/*.site-footer, .widget-tf.site-content {
    background-color: #f4f5fe !important;
}*/
body.page-id-58 .site-footer, body.page-id-58 .widget-tf.site-content {
    background-color: #ffffff !important;
}

@media screen and (min-width: 520px) {
    .bloc_adresse {
        background-color: #e0e0e0;
        width: 440px;
        height: 170px;
    }
        .image {
            float: left;
            width: 170px;
            height: 170px;
            vertical-align: top;
        }
            .image a {
                display: inline-block;
                height: 170px;
                margin: 0;
            }
            .image img {
                width: 170px;
                height: 170px;
            }
        .adresse {
            float: right;
            width: 268px;
            vertical-align: top;
            padding: 16px;
        }
}

@media screen and (max-width: 519px) {
    .bloc_adresse {
        background-color: #e0e0e0;
        width: 100%;
    }
        .image {
            display: none;
        }
        .adresse {
            padding: 16px;
        }
}

/**
 *  Onglets
 */
#tabs {
    display: flex;
    align-items: stretch;
}
    #tabs span.tab {
        flex: 1;
        border: 1px solid #005aa1;
        background-color: #ffffff;
        color: #000000;
        padding: 16px;
        margin: 10px;
        text-align: center;
        font-weight: 700;
        cursor: pointer;
    }
        #tabs span.tab:hover {
            background-color: #005aa1;
            color: #ffffff;
        }
    #tabs span.tab.selected {
        border: 1px solid #a00e3b;
        background-color: #a00e3b;
        color: #ffffff;
    }

@media screen and (min-width: 768px) {
    #tabs {
        flex-direction: row;
    }
}

@media screen and (max-width: 767px) {
    #tabs {
        flex-direction: column;
    }
}
    
.header-banner h1, .header-banner p {
    color: #FFFFFF !important;
}

/**
 * 	Zone header
 */
.upper-header {
    background-color: #FFFFFF;
}
.upper-header .logo {
    display: inline-block;
}
#header-widget-area {
    display: inline-block;
    float: right;
    margin: 31px 0 0 0;
    width: 20em;
}
.header-slogan{
	display: inline-block;
	line-height: 1.6rem;
	padding: 41px 0 0 5px;
}
.fixed-header .header-slogan{
	text-align: left;
    padding-top: 19px !important;
    float: left;
}
.fixed-header .logo.clear {
    padding: 10px 0;
}
.fixed-header #header-widget-area .search-form-input{
    height: 35px;
    width: 200px;
}
.fixed-header #header-widget-area .search-form-wrap .button.submit-button{
    height: 45px;
    right: 10px;
    font-size: 2.5rem;
    line-height: 0;
    padding: 0 0 0 0;
    top: -5px;
    width: 45px;
}
.header-slogan div:nth-of-type(1){
	color: #8c9ea1;
}
.header-slogan div:nth-of-type(2){
	color: #0060a9;
}
/*widget header recherche*/
#header-widget-area{
	display:none;
}
#header-widget-area .search-form-wrap .button.submit-button{
    border-radius: 60px;
    font-size: 2.25em;
    line-height: 0.5em !important;
    height: 60px;
    right: -10px;
    top: -7px;
    width: 60px;
}
#header-widget-area .search-form-input{
    border-radius: 6px;
}
/*mobile widget header recherche*/
#header-widget-area-mobile{
    float: right;
    margin: 10px 0 0 0;
    width: 23rem;
}
#header-widget-area-mobile .search-form-wrap .button.submit-button{
    border-radius: 60px;
    font-size: 2.25em;
    height: 60px;
    right: -10px;
    top: -7px;
    width: 60px;
}
#header-widget-area-mobile .search-form-input{
		background:#fff;
    border-radius: 6px;
}
/*Menu*/
.primary-menu .sub-menu {
	top: 47px;
}
.primary-menu > .menu-item-has-children > a:after{
    display:none
}
/*sidebar post*/
#more-side{
    border-radius:.75rem;
    box-shadow: rgba(121,121,121,.35) 1px 20px 30px;
    padding:2rem 1rem 0 1rem;
}

#more-side > p {
	background: #005aa1;
	border-radius: 40rem;
	bottom: 2.5rem;
	color: #fff;
	font-size: 1.55rem;
	font-weight: 600;
	position: relative;
	padding: .8rem 0;
	text-align: center;
	text-transform: uppercase;
}

#more-side img {
    display: none;
}
/*post*/
/*article.post{
	padding: 3rem;
	box-shadow: rgba(121,121,121,.35) 1px 20px 30px;
}*/
/*Zone menu*/
header.site-header.no-fixed-header {
    padding-top: 0;
}
#nav-primary ul li,
#nav-primary ul li > a {
    height: 48px;
}
#nav-primary ul li > a{
		font-weight: 600;
    line-height: 48px;
		padding: 0 1.5em 
}
#nav-primary ul li > a:hover {
	background-color: #0C60A3;
	color: #ffffff;
}
#nav-primary .current-menu-item a {
	background-color: #e1e2e6;
    color: #0C60A3;
}
#nav-primary li.current-menu-ancestor > a {
	background-color: #e1e2e6;
    color: #0C60A3;
}
#nav-primary .primary-menu > li{
	margin-left:0
}
/*fixed header*/
header.site-header.fixed-header {
    padding-top:0;
}
header.site-header.fixed-header img.logo-fullsize{
    display:none;
}
header.site-header.fixed-header img.logo-mobile{
    display:inline-block;
}
header.site-header.fixed-header #header-widget-area{
    margin: 17px 0 0 0;
}
#full-content-header div.logo{
	float:left;
}
/*Accueil*/
.pdf-liste{
	box-shadow: 0 0 25px 0 rgba(0,0,0,.45);
	padding: 1.6rem;
}
.tri-bloc-accueil {
    box-shadow: rgba(121,121,121,.35) 1px 20px 30px;
    border-radius:.75rem;
		cursor:pointer;
    height: 350px;
		margin:auto;
		max-width:300px;
		min-width: 230px;
    padding: 1.55rem;
		position:relative;
		text-align:center;
    width: 95%;
}
.tri-bloc-accueil:hover {
    box-shadow: rgba(121,121,121,.35) 1px 7px 5px;
}
.tri-bloc-accueil h2{
    color:#a00e3b;
    font-size: 1.75rem
}
.tri-bloc-accueil > div > p{
    font-size: 1.358rem
}
.btn-tri-bloc {
    bottom: 0px;
    left: 0;
    position: absolute;
    text-align: center;
    width: 100%;
}
.btn-tri-bloc > p {
    border-top: 1px solid #a00e3b;
    display: inline-block;
    font-weight:600;
    padding: 1rem;
    position:relative;
    width: 75%;
}
article.type-post h2, article.type-post h2 a {
    color: #a00e3b !important;
}
/*footer widget top*/
.widget-tf.site-content {
    padding: 0 0 40px 0;
}
/*formulaire contact*/
.red{
	color:red
}
.rang-form {
	width: 100%;
    clear: both;
}
.demi-colonne, .colonne {
	float: left;
	position: relative;
	padding: 0.65rem;
	width:100%;
	-webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box
}
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}
#formulaire-responsive input[type="text"],
#formulaire-responsive input[type="email"],
#formulaire-responsive textarea {
    background-color: #FFF;
    border: 1px solid grey;
    box-shadow: 0 1px 2px grey;
    font-style: normal;
    margin: 5px 0 10px;
    outline: 0;
    padding: 5px;
}
#formulaire-responsive label,
#formulaire-responsive input[type="text"],
#formulaire-responsive input[type="email"],
#formulaire-responsive textarea{
    color: #333;
    font-size: 1em;
    font-style: normal;
    font-weight:600;
}
/*google map*/
.sow-google-map-canvas {
    border: 1px solid #80808096;
    box-shadow: 0 1px 2px #80808096;
}
/*footer*/
.sidebar-footer{
	padding: 1.85rem 0
}
#footerContact {
    border-left: 1px solid #0C60A3;
    padding: 0 0 0 .8rem;
}
#copyright {
    font-size: 1rem;
		padding: 1rem 0 3rem 0;
}
#copyright span.c_left{
    float:left;
}
#copyright span.c_right{
    float:right;
}
/*media queries*/
@media screen and (min-width: 64em){
    #header-widget-area-mobile {
        display: none;
    }
    #header-widget-area {
        display: inline-block;
    }
}
@media screen and (max-width: 64em){
	.header-slogan{
		display:none
	}
	/*h1 {
		font-size: 2.2rem
	}*/
    #full-content-header div.logo,
    #full-content-header a {
        float: none;
    }
    #full-content-header .bnt-container{
        text-align:center;
    }
	#back-color1 {
		top: 775px;
	}
}
@media only screen and (min-width: 48em) { 
	.demi-colonne {
		width: 50%;
	}
}
@media screen and (max-width: 767px){
	.widget-area.sidebar-footer {
		display: none;
	}
	#copyright span.c_right {
		float: left;
	}
}

@media screen and (min-width: 768px) {
    #formulaire-responsive input[type="submit"] {
        float: right;
        margin: 0 .65rem 0 0;
    }
    #formulaire-responsive .wpcf7-recaptcha {
        float: left;
    }
}

#footer-links {
    display: table;
    width: 100%;
}
    #footer-links .panel-grid-cell {
        height: 160px;
        display: table-cell;
        vertical-align: middle;
    }
        #footer-links .panel-grid-cell img {
            width: auto;
            height: 75px;
        }
