/*
Theme Name: Service Passerat
Description: Theme enfant
Author: Com y Média
Author URI: https://comymedia.fr
Template: Divi 
Version: 1.0.0
*/

/* FONTS */

@font-face {
    font-family: 'Acrom';
    src: url('/wp-content/themes/child-theme/fonts/Acrom-Regular.eot');
    src: url('/wp-content/themes/child-theme/fonts/Acrom-Regular.eot?#iefix') format('embedded-opentype'),
    url('/wp-content/themes/child-theme/fonts/Acrom-Regular.woff') format('woff'),
    url('/wp-content/themes/child-theme/fonts/Acrom-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Acrom';
    src: url('/wp-content/themes/child-theme/fonts/Acrom-Bold.woff') format('woff'),
    url('/wp-content/themes/child-theme/fonts/Acrom-Bold.woff2') format('woff2'),
    url('/wp-content/themes/child-theme/fonts/Acrom-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body{
    font-family: "Acrom", sans-serif;
}

/* GLOBAL */


h2 hr {
    color: #3AAA35;
    border-width: 3px;
    border-style: solid;
    width: 100%;
    height: 0;
  }
  h2 {
    display: flex;
    justify-content: space-between;
  }
  h2 p {
    margin: 0 30px;
  }


.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
    width: 100%;
  }
  .et_pb_fullwidth_header_container.center {
    width: 100%;
  }
  .header-content-container.center {
    background: rgba(255,255,255,0.8);
  }

  .et_pb_slider .et-pb-arrow-next, .et_pb_slider .et-pb-arrow-prev {
    opacity: 1;
    background: #3AAA35;
    position: absolute;
}
.et_pb_slider .et-pb-arrow-next{
    right: -30px !important;
}
.et_pb_slider .et-pb-arrow-prev {
    left: -30px !important;
}

.et_pb_slider .et-pb-arrow-next:hover{
    right: -35px !important;
}
.et_pb_slider .et-pb-arrow-prev:hover {
    left: -35px !important;
}

.regies a {
	padding: 15px !important;
	background: #3AAA35;
}


.et_mobile_menu{
    border-top-color: 3px solid #3AAA35;
}

@media only screen and (max-width : 980px) {
    .reverse-column {
      display: flex;
      flex-direction: column-reverse;
    }
    .et_pb_row .reverse-column .et_pb_module:last-child{
        margin-bottom: 30px;
    }
    .et_pb_row .reverse-column .et_pb_module:first-child{
        margin-bottom: 0;
    }
}
@media only screen and (max-width : 480px) {
    h2 p {
        margin: 0 10px;
    }
    ul.et_pb_side_nav{
        top: 15%;
    }
    #main-header .container {
        width: 70%;
    }
}