/*
Theme Name: OceanWP Child
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme example child theme.
Author: Nick
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */
a:focus {
    outline: none;
}

/* SINGLE POST */
body.single-post {
    font-size: 17px;
    line-height: 1.4em;
}
.single-post.content-max-width .entry-content ul {
    padding: 0 0 0 40px;
}
.single-post.content-max-width #related-posts {
    background-color: #F0F1F2;
    padding: 2em 3em;
    margin: 3em auto;
}
h3.related-posts-title {
    font-weight: 300;
}
.single-post.content-max-width .entry-content blockquote {
    max-width: 980px;
}
/* SINGLE POST */
/* KOBAN FORMS */
/* KOBAN */
.ncField input, .ncField select, .ncFieldct .ncField input, .ncFieldct .ncField select {
    width: 100%;
    border-radius: 2px;
}
.ncFieldct .ncField input[type="checkbox"] {
    width: auto;
    padding: 0;
}
a.kbn-form {
    font-family: "Open Sans", "Open Sans", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    background-color: #6ec1e4 !important;
    border-radius: 30px 30px 30px 30px !important;
    padding: 1em 2em 1em 2em !important;
    display: inline-block !important;
}
a.kbn-form:hover {
    background-color: #24aafc !important;
}
a.kbn-form:after {
    content: "\f105";
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-left: 15px;
}

@media( max-width: 767px ) {
    .ncFieldct label, .ncField {
        float: left;
        width: 90%;
        text-align: left;
    }
}
/* NEWSLETTER FOOTER */
.kbn_newsletter_footer form#ncform {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.kbn_newsletter_footer .ncFieldct .ncField, .kbn_newsletter_footer .ncFieldct, .kbn_newsletter_footer .ncSendZone {
    width: auto;
    float: none;
    margin: 0;
    height: 100%;
}
.kbn_newsletter_footer .f_Contact_EMail {
    width: 100%;
    margin-right: 2rem;
}
.kbn_newsletter_footer input[type="email"] {
    padding: 16px;
} 
/* KOBAN FORMS */


.related-faq {
    background: #ECEEF1;
    background: linear-gradient(90deg, #ECEEF1 0%, #ECEEF1 2.5%, white 2.5%, white 97.5%, #ECEEF1 97.5%, #ECEEF1 100%);
    margin-top: -1px;
}
@media (min-width: 1740px){
    .related-faq{
        background: #ECEEF1;
        background: linear-gradient(90deg, #ECEEF1 0%, #ECEEF1 5%, white 5%, white 95%, #ECEEF1 95%, #ECEEF1 100%);
    }
}

/* Lexique */
#a-z {
	float: left;
    width: 100%;
	margin-bottom: 25px;
	display: flex;
	flex-direction: row;
    list-style: none;
}

ul#a-z li {
		flex-grow: 1;
		padding: 7px;
		text-align: center;
		background: #dadbdc;
		color: #fff;
		text-transform: uppercase;
		border-left: 2px solid #fff;
        width: 100%;
        max-width: 40px;
	}

ul#a-z li.active {
		background: lightgray;
		cursor: pointer;
	}

ul#a-z li.current {
		background: #27A9DF;
	}

ul#a-z li:first-child {
		border: 0px none;
	}
#posts-results li.show {
		display: block;
	}
#posts-results li {
		display: none;
	}

#posts-results a {
		border-bottom: 1px solid #ccc;
		display: block;
		padding: 10px 0;
	}

@media only screen and (max-width: 992px) {
    #a-z {
        display: flex;
        flex-wrap: wrap;
        padding-left: 20px;
        padding-right: 20px;
    }
    #title-status {
        padding-left: 20px;
        padding-right: 20px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        
    }
	
	#title-status p {
            width: auto;
        }
        #title-status #show-all {
            width: auto;
        }
    #posts-results {
        padding-left: 20px;
        padding-right: 20px;
    }
}

#show-all {
	cursor: pointer;
}
.correspondant {
    padding: 5px;
    flex-basis: 50%;
    max-width: 50%;
    margin-bottom: 40px;
}
@media (min-width: 1200px) {
    .correspondant {
        flex-basis: 33.33%;
        max-width: 33.33%;
    }
}
.correspondant .correspondant_content{
    background-color: #f8f8f8;
    padding: 10px;
}
.correspondant .correspondant_text{
    line-height: 1.5;
}
.correspondant .correspondant_title {
    font-weight: bold;
}
.correspondant .correspondant_photo {
    height: 200px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* sticky-hero-btns */
.elementor:not(.wrapper--sticky-hero-btns) .sticky-hero-btns {
    display: none;
}
.sticky-hero-btns a:not(.scale){
    transform: scaleX(1);
}

/* Masquer sur les écrans desktop */
.fibaco-menu-mobile {
    display: none;
}

/* Afficher uniquement sur les écrans mobiles */
@media screen and (max-width: 768px) {
    .fibaco-menu-mobile {
        display: block;
    }
}
