﻿/*
Theme Name:     Groupe Energie Métal
Description:    Thème enfant pour le thème Divi
Author:        	Agence NÂOnoum
Template:       Divi                    
Version:        0.1.0
*/

@import url("../Divi/style.css");

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: #2BA4C6 !important;
}

h1, h2, h3, h4, h5, h6, .et_quote_content blockquote p, .et_pb_slide_description .et_pb_slide_title {
    line-height: 1em !important;
}

#title h1 {
    font-size: 18px;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.1em;
}

.et_pb_blog_0 .et_pb_post .entry-title {
    font-size: 1.4em !important;
}
.et_pb_post .post-content p {
    font-size: 1em !important;
}
.text-red {
    color: #E8303B;
}

.text-bleu {
    color: #2BA4C6;
}

.text-withe {
    color: #fffff !important;
}

.text-green {
	color: #2ba4c6
}

.font-block-red {
    border-radius: 4px;
    color: #fff;
    background-color: #E8303B;
    padding: 0px 4px;
}

.font-block-bleu{
    border-radius: 4px;
    color: #fff;
    background-color: #2BA4C6;
    padding: 0px 4px;
}

span.hidden {
    visibility: hidden;
}

.et_pb_bg_layout_dark .et_pb_slide_description {
    text-shadow: 1px 0px 1px rgba(0, 0, 0, 1);
}

.et_pb_button {
    font-size: 1.1em !important;
}



.et_pb_button:before {
    line-height: 1.2em !important;
}

.et_pb_button:after {
    line-height: 1.2em !important;
}

.et_pb_button_module_wrapper {
    margin-top: 1em !important;
}

div#footer-widgets .menu-item {
    /* border-bottom: 1px solid #fff; */
    border: none;
}

.et_pb_widget {
    float: left;
    max-width: 100%;
    width: 100%;
    text-align: center !important;
}

.hero-section .et_pb_slides .et_pb_slider_container_inner {
    display: table-cell;
    vertical-align: top !important;
    padding-top: 100px;
}




.slide-header h2 {
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: 40px !important;
	padding-bottom: 0.5em;
	text-align: left !important;
}

.slide-header p {
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
    font-size: 30px !important;
	color: #E8303B !important;
	text-transform: Uppercase !important;
	text-align: left !important;
	line-height: 1.2em !important;
}



/* Menu ----------------------------------*/
.menu-item {
    border-bottom: 1px solid #fff;
}

.et_slide_in_menu_container #mobile_menu_slide li.current-menu-item a, .et_slide_in_menu_container #mobile_menu_slide li a {
    padding: 17.5px 0;
    line-height: 1em;
}

/* Footer ----------------------------------*/

#et-footer-nav .container {
    position: relative;
    width: 80%;
    max-width: 100% !important;
    margin: auto;
}

#footer-widgets {
    padding: 1em !important;
}


/* Header ----------------------------------*/

	#myprefix-widget-area-wrap {
		display: none;
		float: right;
		max-width: 500px;
		clear: right;
		position: absolute;
		right: -10px;
		top: 5px;
	}
    #myprefix-widget-area-wrap .et_pb_widget { margin-right:0px }
    #myprefix-widget-area-wrap .et_pb_widget:last-child { margin-bottom: 18px; }
    .et-fixed-header #myprefix-widget-area-wrap .et_pb_widget:last-child { margin-bottom: 10px; }
    @media only screen and ( max-width: 980px ) { 
        #myprefix-widget-area-wrap .et_pb_widget:last-child { margin-bottom: 0px; }
    }
    @media only screen and ( max-width: 768px ) {
        #myprefix-widget-area-wrap .et_pb_widget:first-child { margin-top: 18px; }
    }
#myprefix-widget-area-wrap img {
    width: 30px;
}

.et_fullwidth_nav #main-header .container {
    width: 80% !important;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
}

.mobile_menu_bar.et_pb_header_toggle {
    display: none;
    width: 30px;
    cursor: pointer;
    position: absolute;
    top: 33px;
    right: 22px;
}

.mobile_menu_bar:before {
    position: relative;
    top: 0;
    left: 0;
    font-size: 60px;
    content: "\61";
    cursor: pointer;
    color: #2ba4c6;
}



/* END Header ----------------------------------*/


#cd-timeline {
    position: relative;
    padding: 2em 0;
    /* margin-top: 2em; */
    margin-bottom: 2em;
}

/* Timeline ----------------------------------*/

#cd-timeline {
    margin-top: 0 !important;
    margin-bottom: 3em;
}

.ds-vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
} 

/* END Timeline ----------------------------------*/





.et_fullscreen_slider .et_pb_slides,
.et_fullscreen_slider .et_pb_slide,
.et_fullscreen_slider .et_pb_container {
 min-height: 100% !important;
 height: 100% !important;
}

.hero-section {
    border-bottom: 1px solid #E8303B;
    background-size: cover !important;
    background-position: right;
    background: linear-gradient(158deg, rgba(254, 254, 254, 0.64), rgba(43, 164, 198, 0));
    background-size: 400% 400%;
    -webkit-animation: GradiantHome 10s cubic-bezier(0.13, 0.22, 0.38, 0.4) infinite;
    -moz-animation: GradiantHome 10s cubic-bezier(0.13, 0.22, 0.38, 0.4) infinite;
    -o-animation: GradiantHome 10s cubic-bezier(0.13, 0.22, 0.38, 0.4) infinite;
    animation: GradiantHome 10s cubic-bezier(0.13, 0.22, 0.38, 0.4) infinite;
}

.hero-section .et_pb_slide {
    height: 100vh;
}

.hero-section .et_pb_slider .et_pb_container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
}

.slide-header .et_pb_slide {
    padding-bottom: 100px;
	background: linear-gradient(158deg, rgba(254, 254, 254, 0.64), rgba(43, 164, 198, 0));
    background-size: 105% 100%;
    -webkit-animation: GradiantHome 10s cubic-bezier(0.13, 0.22, 0.38, 0.4) infinite;
    -moz-animation: GradiantHome 10s cubic-bezier(0.13, 0.22, 0.38, 0.4) infinite;
    -o-animation: GradiantHome 10s cubic-bezier(0.13, 0.22, 0.38, 0.4) infinite;
    animation: GradiantHome 10s cubic-bezier(0.13, 0.22, 0.38, 0.4) infinite;
}

@-webkit-keyframes GradiantHome {
    0%{background-position:0% 43%}
    50%{background-position:100% 58%}
    100%{background-position:0% 43%}
}
@-moz-keyframes GradiantHome {
    0%{background-position:0% 43%}
    50%{background-position:100% 58%}
    100%{background-position:0% 43%}
}
@-o-keyframes GradiantHome {
    0%{background-position:0% 43%}
    50%{background-position:100% 58%}
    100%{background-position:0% 43%}
}
@keyframes GradiantHome { 
    0%{background-position:0% 43%}
    50%{background-position:100% 58%}
    100%{background-position:0% 43%}
}


@-webkit-keyframes zoomin {
    0%{background-position:14% 0%}
    50%{background-position:87% 100%}
    100%{background-position:14% 0%}
}
@-moz-keyframes zoomin {
    0%{background-position:14% 0%}
    50%{background-position:87% 100%}
    100%{background-position:14% 0%}
}
@-o-keyframes zoomin {
    0%{background-position:14% 0%}
    50%{background-position:87% 100%}
    100%{background-position:14% 0%}
}
@keyframes zoomin { 
    0%{background-position:14% 0%}
    50%{background-position:87% 100%}
    100%{background-position:14% 0%}
}

.hero-section  .header-content img {
    width: 500px;
    position: absolute;
    top: 0;
}


.hero-section-logo {
    width: 37px;
    position: relative;
}

.hero-section h1 {
    /* font-size: 3.2rem; */
    margin-top: 0;
    margin-bottom: 10px;
    padding: 0;
    z-index: 200;
    color: #fff;
    text-align: left !important;
}

.hero-section h4 {
    margin-top: 0;
    margin-bottom: 0px;
    line-height: 40px;
    font-size: 1.5rem;
    padding: 0;
    color: #fff;
    text-transform: uppercase;
    text-align: left !important;
}

.header-text h2 {
    font-size: 1.4rem;
    line-height: 2rem;
    color: #fff;
    max-width: 50%;
}

.et_pb_section .et_pb_column .et_pb_module {
    margin-bottom: 5px !important;
}


.home--about-section h3 {
    font-size: 1.5em;
    line-height: 1em !important;
}

.et_pb_slide_description, .et_pb_slider_fullwidth_off .et_pb_slide_description {
    width: auto;
    margin: auto;
    padding: 10px 0;
}

h2.et_pb_slide_title a {
    color: #fff !important;
}

#references a:first-of-type {
    padding-left: 0;
}

#references a {
    text-decoration: none;
    padding-left: 22px;
    display: inline;
}

#references img {
    max-height: 45px;
    width: auto;
}

/* Actualité--------------------------------------*/

.actu .et_pb_post a img {
    max-width: 300px;
    vertical-align: bottom;
    float: left;
    padding-right: 1em !important;
}

.et_pb_image_container img, .et_pb_post a img {
    max-width: 300px;
    vertical-align: bottom;
    float: left;
    padding-right: 0 !important;
}
	
.apres_actu a {
    color: #a3b200 !important;
}

.et_pb_posts a.more-link {
    display: inline;
    clear: both;
    color: #2ea3f2 !important;
}

/* Grille blog--------------------------------------*/

.et_pb_blog_grid .et_pb_image_container img {
    min-width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 1em;
}


@media all and (max-width: 980px) {
	
h1, h2, h3, h4, h5 , h6, p {
		text-align: center !important;
    }

.slide-header .et_pb_slide {
    padding-bottom: 100px;
	background-size: inherit;
    background-position: center;
    -webkit-animation: none;
    -moz-animation: none;
    -o-animation: none;
    animation: none;
}




.et_pb_row, .et_pb_column .et_pb_row_inner {
    padding: 0 !important;
	width: 99%;
}


.et_pb_column {
    margin: 0 !important;
}



	
/*** wrap row in a flex box ***/
.custom_row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}
 
/*** custom classes that will designate the order of columns in the flex box row ***/
.first-on-mobile {
-webkit-order: 1;
order: 1;
}
 
.second-on-mobile {
-webkit-order: 2;
order: 2;
}
 
.third-on-mobile {
-webkit-order: 3;
order: 3;
}
 
.fourth-on-mobile {
-webkit-order: 4;
order: 4;
}
/*** add margin to last column ***/
.custom_row:last-child .et_pb_column:last-child {
margin-bottom: 30px;
}

.et_pb_text.et_pb_module {
    padding: 1em 0;
}

.et_header_style_left #logo, .et_header_style_split #logo {
    max-width: 100% !important;
    max-height: 500%;
}	

#footer-widgets .footer-widget:nth-child(n), #footer-widgets .footer-widget .fwidget {
    margin-bottom: 1em!important;
}

.et_pb_button_module_wrapper {
    text-align: center;
}

}




