/*
Theme Name: IEEA
Theme URI: https://oceanwp.org/
Description: Thème enfant d'OceanWP pour le site de l'IEEA.
Author: Echappée Web
Author URI: https://www.echappee-web.fr
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

@font-face {
    font-family: 'Lato';
    src: url('fonts/lato-bold-webfont.woff2') format('woff2'),
         url('fonts/lato-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Lato';
    src: url('fonts/lato-italic-webfont.woff2') format('woff2'),
         url('fonts/lato-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Lato';
    src: url('fonts/lato-regular-webfont.woff2') format('woff2'),
         url('fonts/lato-regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'pt_sans_narrow';
    src: url('fonts/ptsansnarrow-bold-webfont.woff2') format('woff2'),
         url('fonts/ptsansnarrow-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 400;
    src: local('Barlow Condensed Regular'), url('fonts/BarlowCondensed-Regular.woff') format('woff');
}

/* Header */
#site-logo {
	position: absolute;
	z-index: 999;
}
#site-logo #site-logo-inner a:hover img {
    opacity: 1 !important;
}
#site-header {
    min-height: 50px;
}

@media screen and (max-width: 480px) {
    #site-logo {
        width: 100px;
    }
}

/* Menu */
@media screen and (min-width: 1081px) {
    .center-menu #site-navigation-wrap {
        width: calc(100% - 142px);
        padding-left: 71px;
        display: flex;
        justify-content: center;
        text-transform: uppercase;
    }
    #site-navigation-wrap .dropdown-menu>li>a {
        position: relative;
    }
    #site-navigation-wrap .dropdown-menu>li.current-menu-item>a {
        font-weight: 700;
    }
    #site-navigation-wrap .dropdown-menu>li>a:after {
        content: "|";
        position: absolute;
        right: -3px;
        top: -1px;
    }
    #site-navigation-wrap .dropdown-menu>li:first-child>a {
        padding-left: 0;
    }
    #site-navigation-wrap .dropdown-menu>li:last-child {
        padding-right: 0;
    }
    #site-navigation-wrap .dropdown-menu>li:last-child>a:after {
        content: none;
    }
}
@media screen and (min-width: 1081px) and (max-width: 1280px) {
    #site-navigation-wrap .dropdown-menu >li >a {
        padding: 0 11px !important;
        font-size: 14px !important;
    }
}
.oceanwp-mobile-menu-icon a {
    font-size: 25px !important;
}

/* Menu social */
@media screen and (min-width: 960px) {
    .oceanwp-social-menu.simple-social {
    position: fixed;
    width: 54px;
    right: 0;
    top: 50%;
    }
}

/* Titrages */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed';
    font-weight: 400;
}
h1 span  {
    color: #f59600; /* main color */
    font-size: 26px;
}

/* Content */
.noMB p:last-child {
	margin-bottom: 0;
}
#main .elementor-button {
	background-color: #f59600; /* main color */
    border-radius: 15px;
    padding: 10px 40px;
}
#main .elementor-button:hover, #main .elementor-button:focus {
    background-color: #ffb933; /* hover color */
}
.home iframe {
    border-radius: 30px;
}
.charte strong {
    font-weight: 400;
    font-family: 'Barlow Condensed';
    font-size: 1.25em;
    color: #f59600; /* main color */
}
.wp-caption-text {
    padding: 8px;
}

/* Dernier article sur la home */
.home .eael-post-grid-container .eael-post-grid .eael-grid-post {
    padding: 0;
}
.home .eael-grid-post-holder {
    border: 0 !important;
}
.home .eael-entry-title {
    margin: 4px 0 0;
}
.home .eael-entry-thumbnail {
    display: flex;
    justify-content: center;
    align-items: center;
}
.home .eael-grid-post .eael-entry-thumbnail>img {
    height: auto;
}

/* Blog */
.blog .page-header {
    padding: 0;
    background-color: transparent;
    text-align: center;
}
.blog .page-header:before {
    content: " ";
    display: block;
    min-height: 50vh;
    background: url('images/header-actus.jpg') no-repeat center;
    background-size: cover;
}
.blog .page-header h1 {
    margin-top: 50px;
    font-size: 30px;
    color: #050500;
}
#blog-entries {
	margin-top: 50px;
}
body .oceanwp-row .col {
	margin: 0 0 80px;
}
.blog-entry.grid-entry .blog-entry-inner {
	border: 0;
	padding: 0;
	text-align: center;
}
.blog-entry.grid-entry .blog-entry-header .entry-title {
	font-size: 21px;
	text-transform: uppercase;
}
.blog-entry.grid-entry .blog-entry-header .entry-title a {
	color: #58595b;
}
.blog-entry.grid-entry .blog-entry-summary {
    max-width: 290px;
    margin: 0 auto;
}
.blog-entry.grid-entry .thumbnail {
    /*max-width: 455px;*/
    margin: 0 auto;
}

.blog-entry.post .thumbnail:hover .overlay {
    opacity: 0;
    -webkit-opacity: 0;
    -moz-opacity: 0;
}

.blog-entry.post .thumbnail img {
    width: auto;
    max-width: 100%;
}
.blog-entry.grid-entry .blog-entry-header {
    margin: 1.3em 0;
}
.blog-entry.grid-entry .blog-entry-header .entry-title {
    font-size: 26px;
    text-transform: none;
}
.blog-entry.post .blog-entry-header .entry-title a {
    font-weight: 400;
    letter-spacing: 0;
    color: #050500;
}
.blog-entry.grid-entry .blog-entry-readmore a {
    text-transform: none;
    text-decoration: none;
    background-color: #f59600; /* main color */
    border-radius: 15px;
    padding: 10px 40px;
    font-size: 16px;
    border-bottom: 0;
    color: white;
}
.blog-entry.grid-entry .blog-entry-readmore a:focus, .blog-entry.grid-entry .blog-entry-readmore a:hover {
    background-color: #ffb933; /* hover color */
    color: white !important;
}

@media screen and (min-width: 481px) and (max-width: 1080px) {
    .single-post #content {
        padding-top: 120px;
    }
}
@media screen and (max-width: 480px) {
    .single-post #content {
        padding-top: 60px;
    }  
}

/* Diaporamas */
body .swiper-container-horizontal>.swiper-pagination-bullets, body .swiper-pagination-custom, .swiper-pagination-fraction {
	bottom: 45px;
}    
body .swiper-pagination-bullet {
    opacity: 1;
    background: #fff;
    border: 1px solid #fff;
    margin: 0 17px !important;
    width: 10px;
    height: 10px;
}
body .swiper-pagination-bullet-active {
	background: transparent;
}
.swiper-container {
    position: relative;
}
.swiper-container .elementor-image-carousel-caption {
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    min-width: 65%;
    transform: translateX(-50%) translateY(-50%);
    font-size: 50px;
    font-family: 'pt_sans_narrow';
    text-transform: none;
    line-height: 1.1;
    background: rgba(255,255,255,0.53);
    padding: 7px 45px 7px 45px;
}
@media screen and (min-width: 768px) {    
    body .swiper-pagination-bullet {
        width: 20px;
        height: 20px;
        border: 2px solid #fff;
    }
}
@media screen and (min-width: 481px) and (max-width: 767px) {
    .swiper-container .elementor-image-carousel-caption {
        font-size: 35px;
        min-width: 75%;
        padding: 6px 35px;
    }
}
@media screen and (max-width: 480px) {
    .swiper-container .elementor-image-carousel-caption {
        font-size: 17px;
        width: 90%;
        top: 58%;
        padding: 4px 10px;
    }
}

/* Formulaire */
/* Clearfix */
.clearfix, .cf, .comment-respond {
  zoom: 1;
}
.clearfix:before, .clearfix:after, .cf:before, .comment-respond:before, .cf:after, .comment-respond:after {
  content: "";
  display: table;
}
.clearfix:after, .cf:after, .comment-respond:after {
  clear: both;
}
/* Grille */
.row {
  margin-right: -15px;
  margin-left: -15px;
}
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
  float: left;
}
.col-xs-12 {
  width: 100%;
}
.col-xs-6 {
  width: 50%;
}
@media screen and (min-width: 768px) {
  .col-sm-6 {
    width: 50%;
  }
  .col-sm-12 {
    width: 100%;
  }
}
/* Fin grille */
.text-center {
    text-align: center;
}
.wpcf7 {
    font-size: 15px;
}
.wpcf7 .wpcf7-form-control {
    margin-bottom: 15px;
}
.wpcf7 .ajax-loader {
  margin: 0 -36px 0 12px;
}
span.wpcf7-list-item {
    margin: 0 0 1em 0;
}
.mandatory {
  font-size: 13px;
  margin-top: 15px;
}

/* 404 */
.error404-content, .search #content {
    padding-top: 120px;
}

/* Footer */
#footer-widgets .footer-box .footer-widget ul li {
    border-bottom: 0;
    text-align: center;
}
@media screen and (min-width: 768px) {
    #footer-widgets {
        padding: 90px 0;
    }
    #footer-widgets .footer-box .footer-widget ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        text-align: left;
    }
}
@media only screen and (max-width: 959px) {
    #footer-widgets .col {
        margin-bottom: 0px;
    }
}

/* Tarte au citron */
body .tac_activate {
  min-height: 70px;
}
body #tarteaucitronRoot * {
  font-size: 14px;
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
#tarteaucitron button {
    border-radius: 0;
}
body #tarteaucitronRoot #tarteaucitronPercentage, body #tarteaucitronRoot .tarteaucitronAllow {
  background: #f59600 !important;
}
body #tarteaucitronRoot #tarteaucitronAlertBig {
  box-sizing: border-box;
}
body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronCloseAlert, body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPersonalize, body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPrivacyUrl {
  background-color: #f59600;
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  color: white;
  height: auto;
  font-size: 14px !important;
  margin: 5px;
  padding: 5px 10px !important;
  line-height: 1.2 !important;
  margin-bottom: 0;
}
body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPrivacyUrl, body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPrivacyUrlDialog, body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert, body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert strong {
  display: inline-block;
  text-align: center;
}
body #tarteaucitronRoot #tarteaucitron {
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
body #tarteaucitronRoot #tarteaucitron #tarteaucitronInfo, 
body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronDetails {
  position: relative;
}
body #tarteaucitronRoot #tarteaucitron #tarteaucitronInfo {
  margin: -10px auto 10px !important;
}
body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine > .tarteaucitronName {
  display: block;
  float: none;
}
body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine > .tarteaucitronName .tarteaucitronH2 {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-size: 15px !important;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 10px;
}
body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine > .tarteaucitronName .tarteaucitronAsk {
  display: block;
  float: none;
  text-align: center;
}
body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed {
  border-color: #f59600;
}
body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed .tarteaucitronAllow {
  background-color: #f59600;
}
body #tarteaucitronRoot #tarteaucitron #tarteaucitronServices #tarteaucitronAllAllowed.tarteaucitronIsSelected {
  background-color: #f59600;
}
body #tarteaucitronRoot #tarteaucitron #tarteaucitronPrivacyUrl {
  background: #f59600;
  color: white;
}
body #tarteaucitronRoot #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronClosePanelCookie, 
body #tarteaucitronRoot #tarteaucitron #tarteaucitronClosePanel, 
body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPersonalize, 
body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPrivacyUrl, 
body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronCloseAlert {
  min-height: auto;
}