/*
Theme Name: Railenium
Author: C Willai
Author URI: https://www.divi-community.fr
Template: Divi
Version: 1.1
*/

/* 
** CENTRER DU CONTENU VERTICALEMENT 
** Voir tuto : https://www.divi-community.fr/snippets-divi/centrer-du-contenu-verticalement
*/

.dc-centrer-verticalement {
	display: flex;
	flex-direction: column;
	justify-content: center;
  	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	 -moz-box-orient: vertical;
	 -moz-box-direction: normal;
	  -ms-flex-direction: column;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-moz-box-pack: center;
	-ms-flex-pack: center;
}


/*
** INVERSER LE SENS DES COLONNES SUR MOBILE
** Voir tuto : https://www.divi-community.fr/snippets-divi/inverser-ordre-des-colonnes-sur-mobile
*/

@media only screen and (max-width : 980px) {
	.dc-inverser-colonnes--section .dc-inverser-colonnes--ligne {
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-webkit-flex-direction: column-reverse;
		-ms-flex-direction: column-reverse;
		flex-direction: column-reverse;
	}
}


/*
** MENU MOBILE : en pleine largeur et le hamburger devient une croix pour fermer
*/

.et_mobile_menu {
	margin-left: -30px;
	padding: 5%;
	width: calc( 100% + 60px);
}

.mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d";
}


/* 
** AUGMENTER LA LARGEUR CHAMP RÉSULTAT CAPTCHA 
** Parfois, suivant la taille du texte, certains chiffres du résultat sont masqués
*/
.et_pb_contact_right p input {
	max-width: 50px;
}


/*
** METTRE EXPOSANTS ET INDICES À LA BONNE TAILLE
** Généralement, ils sont bien trop gros…
*/
sup, sub {
    font-size: 70%;
}


/*
** CWILLAI
** Revolution Slider Custom
*/
#rev_slider_2_1_wrapper .erinyen .tp-tab-title {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: Montserrat;
    margin-bottom: 5px;
    line-height: 15px;
}
#rev_slider_2_1_wrapper .erinyen .tp-tab-desc {
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    line-height: 21px;
    font-family: Montserrat;
}
.container.et_menu_container {
    margin-bottom: 10px;
}

/*
** Top header
*/
#logo {
    /*max-height: 85%;*/
}
#top-menu, #top-menu-nav {
    line-height: 0;
    text-transform: uppercase;
    font-size: 120%;
}
#top-menu li {
    font-size: 15px;
}
#top-menu li a:hover {
    color: #4fa38b;
}
#top-header .container {
    padding-top: 0em;
    font-weight: 600;
}
#et-secondary-nav li ul, #top-header {
    background-color: #ffffff;
}
/* Menu main */
.et_mobile_menu li a {
    color: #4fa38b;
	text-transform:uppercase;
}
.et_mobile_menu li ul.sub-menu li a {
    color: #666;
	text-transform:inherit;
}

.nav li ul {
    width: 250px;
}
#top-menu li li a {
    width: 215px;
}
#top-menu li li a:hover {
    color: #4fa38b;
}
#top-menu li li {
    line-height: 1.4em;
}
#et_search_icon:hover, #top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a, .bottom-nav li.current-menu-item>a, .comment-reply-link, .entry-summary p.price ins, .et-social-icon a:hover, .et_password_protected_form .et_submit_button, .footer-widget h4, .form-submit .et_pb_button, .mobile_menu_bar:after, .mobile_menu_bar:before, .nav-single a, .posted_in a, .woocommerce #content div.product p.price, .woocommerce #content div.product span.price, .woocommerce #content input.button, .woocommerce #content input.button.alt, .woocommerce #content input.button.alt:hover, .woocommerce #content input.button:hover, .woocommerce #respond input#submit, .woocommerce #respond input#submit.alt, .woocommerce #respond input#submit.alt:hover, .woocommerce #respond input#submit:hover, .woocommerce .star-rating span:before, .woocommerce a.button, .woocommerce a.button.alt, .woocommerce a.button.alt:hover, .woocommerce a.button:hover, .woocommerce button.button, .woocommerce button.button.alt, .woocommerce button.button.alt:hover, .woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce input.button, .woocommerce input.button.alt, .woocommerce input.button.alt:hover, .woocommerce input.button:hover, .woocommerce-page #content div.product p.price, .woocommerce-page #content div.product span.price, .woocommerce-page #content input.button, .woocommerce-page #content input.button.alt, .woocommerce-page #content input.button.alt:hover, .woocommerce-page #respond input#submit, .woocommerce-page #respond input#submit.alt, .woocommerce-page #respond input#submit.alt:hover, .woocommerce-page #respond input#submit:hover, .woocommerce-page .star-rating span:before, .woocommerce-page a.button, .woocommerce-page a.button.alt, .woocommerce-page a.button.alt:hover, .woocommerce-page a.button:hover, .woocommerce-page button.button, .woocommerce-page button.button.alt, .woocommerce-page button.button.alt:hover, .woocommerce-page button.button:hover, .woocommerce-page div.product p.price, .woocommerce-page div.product span.price, .woocommerce-page input.button, .woocommerce-page input.button.alt, .woocommerce-page input.button.alt:hover, .woocommerce-page input.button:hover, .wp-pagenavi a:hover, .wp-pagenavi span.current {
    color: #4fa38b;
}
.et_mobile_menu {
    border-top: 3px solid #4fa38b;
}
.et-search-form, .et_mobile_menu, .footer-widget li:before, .nav li ul, blockquote {
    border-color: #4fa38b;
}

/* Menu secondaire */
#et-secondary-menu {
    float: right;
    font-size: 100%;
    text-transform: uppercase;
    margin-top: 25px;
}
#top-header, #top-header a, #et-info, #et-secondary-menu>ul>li a {
    color: rgba(0,0,0,.6);
}
#top-header, #top-header a:hover, #et-info, #et-secondary-menu>ul>li a:hover {
    color: #4fa38b;
}

/* HP */
.img_prog img {
	width:85%;
}

/* Programmes */
body #page-container .et_pb_section .et_pb_button_0, body #page-container .et_pb_section .et_pb_button_1, body #page-container .et_pb_section .et_pb_button_2  {
    font-weight: bold;
}

/* Fil d'ariane */
.breadcrumbs {
	margin-bottom:25px;
}

.more-link {
	margin: 20px 0 0 0;
	color: #4fa38b;
    border: solid 2px #4fa38b;
    margin-top: 15px;
    width: 85px;
    padding: 3px;
    border-radius: 35px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 85%;
	float:left;
	margin-top: 10px;
}
/* Pagination blog */
.wp-pagenavi {
    text-align: left;
}

/* Ess grid - Orga */
.eg-vanburen-element-8 {
    margin: 0;
    padding: 0;
}

/* FORMULAIRE */
div.wpforms-container-full .wpforms-form input[type=submit], div.wpforms-container-full .wpforms-form button[type=submit], div.wpforms-container-full .wpforms-form .wpforms-page-button {
	float:right;
	border: solid 2px #4fa38b;
	background-color:#ffffff;
    margin-top: 15px;
    width: 85px;
    padding: 3px;
    border-radius: 35px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 85%;
    margin-bottom: 15px;
	color:#4fa38b;
}

div.wpforms-container-full .wpforms-form input[type=submit]:hover, div.wpforms-container-full .wpforms-form button[type=submit]:hover, div.wpforms-container-full .wpforms-form .wpforms-page-button:hover {
	border: solid 2px #4fa38b;
	background-color:#ffffff;
    margin-top: 15px;
    width: 85px;
    padding: 3px;
    border-radius: 35px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 85%;
    margin-bottom: 15px;
	color:#4fa38b;
}

/* RECRUTEMENT
-------------------------------------------------------------------------------- */
.search_location {
	display:none;
}
/*  GForm*/
.candidature .gform_button{
    float: left;
    border: solid 2px #4fa38b;
	background-color:#ffffff;
    margin-top: 15px;
    width: 85px;
    padding: 4px 10px;
    border-radius: 35px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 85%;
    margin-bottom: 15px;
    color: #4fa38b;
}
.candidature .gform_button:hover{
    cursor: pointer;
}
@media only screen and (min-width: 641px){
.candidature .gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit], .gform_wrapper .gform_page_footer input.button, .gform_wrapper .gform_page_footer input[type=submit] {
    font-size: 85%;
}
}

/* ARTCLES ARCHIVES*/
article {
    border-bottom: solid 1px #ddd;
    padding-bottom: 30px;
}

/* FOOTER */
@media (min-width: 981px){
	.et_pb_gutters3 .footer-widget {
   	 	margin-right: 5.5%;
    	margin-bottom: 0%;
	}
}
@media (min-width: 981px){
	.et_pb_gutters3.et_pb_footer_columns3 .footer-widget .fwidget {
    	margin-bottom: 3%;
		}
}

#footer-widgets {
    padding: 2% 0 0;
}
#main-footer {
    background-color: #fbf9f9;
}
#footer-bottom {
    padding: 15px 0 5px;
    background-color: #4fa38b;
}
#footer-info {
    color: #ffffff;
}
#footer-info a {
    color: #ffffff;
}


/*- ORGANIGRAMME  -*/
@media only screen and (max-width : 980px) {
	.orga_bloc .eg-vanburen-element-2{
		font-size: 12px;
		line-height: 13px;
	}
	.orga_bloc .eg-vanburen-element-6 {
    	font-size: 14px;
		line-height: 15px;
	}
	.orga_bloc .eg-vanburen-element-8 {
		font-size: 11px;
		line-height: 12px;
	}
}

/* ACTUS ET AGENDA EN HOME PAGE
-------------------------------------------------------------------------------- */

@media only screen and (max-width : 980px) {
.et_pb_section_0 {
    min-height: 0px;
}
}

/*Lignes*/
.lignerouge hr {
	padding:1px;
	background:#4fa38b;
	border:0;
}
.lignebleue hr {
	padding:1px;
	background:#4b4b4b;
	border:0;
}

#teo-homeNews {}
#teo-homeAgenda {}

/*-#teo-homeNews a {color: #666;}-*/

.teo-wrapper-main {width: 90%; margin: 0 auto;}

.teo-article {
	margin-top: 10px;
    padding-top: 22px;
	border-bottom:none;
	padding-bottom:0px;
}
#teo-homeNews .teo-article {
	border-top: 2px solid #4fa38b;
	border-bottom:none;
	padding-bottom:0px;
}
#teo-homeAgenda .teo-article {border-top: 2px solid #4fa38b;}
/*--*/
.teo-wrapper-top {}
.teo-top-left {float: left; width: 20%; margin-right: 1%;}
.teo-img img{border:none; background-size: cover;margin-bottom: 5px;}
/**/
.teo-top-right {float: right; width: 75%;}
.teo-date {margin-right: 5px;}
.teo-stitle {
	font-weight: bold;
    text-transform: uppercase;
}
.teo-title-news {
	font-size: 19px;
    color: #4fa38b;
    margin-top: 5px;
    font-weight: bold;
    text-transform: uppercase;
}
#teo-homeNews .teo-title-news a {
    color: #4fa38b;
}
.lien_toutvoir {
	font-size: 50%;
    font-weight: normal;
    float: right;
    margin-right: 24px;
}
/*--*/
.teo-wrapper-bottom {clear: both;}
.teo-excerpt-news {text-align: justify; line-height: 1.2;}
.teo-cta-news {
	border: solid 2px #4fa38b;
	margin-top: 15px;
    width: 85px;
    padding: 3px;
    border-radius: 35px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 85%;
	margin-bottom: 15px;
}
#teo-homeNews .teo-cta-news a {
    color: #4fa38b;
}
/*--*/
.teo-date-agenda {
    font-size: 14px;
    float: left;
    color: #ffffff;
    background-color: #4fa38b;
    text-align: left;
    padding: 5px 10px;
    border-radius: 10px;
    font-weight: bold;
    margin-bottom: 10px;
}
.teo-title {
	clear: both;
}
.teo-title-agenda {
	clear: both;
	font-size: 19px;
    color: #4fa38b;
    margin-top: 5px;
    font-weight: bold;
	text-transform:uppercase;
	margin-bottom: 8px;
}
.teo-title-agenda a {
    color: #4fa38b;
}
.teo-cta-agenda {
    border: solid 2px #4fa38b;
    margin-top: 15px;
    width: 85px;
    padding: 3px;
    border-radius: 35px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 85%;
	margin-bottom: 15px;
}
.teo-cta-agenda a {
	color: #4fa38b;
}
.teo-lieu {
	font-size: 100%;
}
.published{
	display:none;
}
.single .et_pb_post h1.entry-title {
    clear:both;
}

/* \\ END ACTUS ET AGENDA EN HOME PAGE
-------------------------------------------------------------------------------- */


/* ACTUS ET AGENDA EN DETAILS
-------------------------------------------------------------------------------- */

.et_pb_portfolio_item .et_pb_module_header a, .et_pb_portfolio_item h3 a, .et_pb_post .entry-title a, .et_pb_post h2 a {
    text-decoration: none;
    text-transform: uppercase;
    color: #4fa38b;
    font-weight: bold;
}

.single .et_pb_post h1.entry-title {
    text-transform: uppercase;
    color: #4fa38b;
    font-weight: bold;
}


/* 2020-03-06 TEOWeb PAGE AGENDA
-------------------------------------------------------------------------------- */
#teo-pageAgenda.teo-wrapper-main {
    width: 100%; margin: 0 auto;    
}

#teo-pageAgenda .teo-column-3 {
    width: 29.667%;
    margin-right: 5.5%; 
    float: left;
    max-width: 100%;    
}
#teo-pageAgenda .teo-column-3:nth-child(3n) {
    margin-right: 0; 
}

#teo-pageAgenda .teo-article {
    padding: 19px;
    border: 1px solid #d8d8d8;
    background-color: #fff;
    word-wrap: break-word;
    margin-bottom: 13%;
    box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.3);
    min-height: 380px;
    position: relative;
}
#teo-pageAgenda .teo-article:after {
    content: '';
    display: block;
    clear: both;
}

#teo-pageAgenda .teo-title h2 {
    margin: 0 0 6px 0;
    padding: 0;
    line-height: 0.7em;
    min-height: 1.5em;    
}
#teo-pageAgenda .teo-title h2 a {
    text-decoration: none;
    text-transform: uppercase;
    color: #4fa38b;
    font-weight: bold;
    font-size: 16px;
}
#teo-pageAgenda .teo-date {

}
#teo-pageAgenda .teo-thumbnail {
    padding: 10px 0 0 0;
}
#teo-pageAgenda .teo-excerpt {
    margin-top: 10px;
}
#teo-pageAgenda .teo-cta {
    margin: 20px 0 0 0;
    color: #4fa38b;
    border: solid 2px #4fa38b;
    margin-top: 15px;
    width: 85px;
    padding: 3px;
    border-radius: 35px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 85%;
    float: left;
    margin-top: 10px;   
    position: absolute;    
}

article.category-agenda img {
    width: auto;
    height: auto;
}

/* --------------------------- RESPONSIVE -------------------------------------- */
@media only screen and (max-width : 1200px) {
    #teo-pageAgenda .teo-column-3 {
        width: 47%;
        margin-right: 5%; 
        float: left;
        max-width: 100%;    
    }
    #teo-pageAgenda .teo-column-3:nth-child(3n) {
        margin-right: 5%; 
    }
    #teo-pageAgenda .teo-column-3:nth-child(2n) {
        margin-right: 0; 
    }
#teo-pageAgenda .teo-cta {
    position: relative;
    bottom: initial;    
}    
}
@media only screen and (max-width : 768px) {
    #teo-pageAgenda .teo-column-3 {
        width: 90%;
        margin: 0 auto; 
        float: left;
        max-width: 100%;    
    }
    #teo-pageAgenda .teo-column-3:nth-child(3n) {
        margin-right:  auto; 
    }
    #teo-pageAgenda .teo-column-3:nth-child(2n) {
        margin-right: auto; 
    }
}
@media only screen and (max-width : 380px) {
    #teo-pageAgenda .teo-title h2 a {
        font-size: 14px;
    }
}




/* END 2020-03-06 TEOWeb PAGE AGENDA
-------------------------------------------------------------------------------- */