/*
Theme Name: IOA : Options
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

/***************************/

/*          FONTS          */

/***************************/

@import url('https://fonts.googleapis.com/css?family=Quicksand:300,400,500,700');


@font-face {
    font-family: 'Porter';
    src: url('fonts/Porter-BoldDEMO.eot');
    src: url('fonts/Porter-BoldDEMO.eot?#iefix') format('embedded-opentype'),
    url('fonts/Porter-BoldDEMO.woff2') format('woff2'),
    url('fonts/Porter-BoldDEMO.woff') format('woff'),
    url('fonts/Porter-BoldDEMO.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}


/***************************/

/*        SPECIAL          */

/***************************/

/* hide home wpadminbar */

.page-id-499 #wpadminbar {
    display: none;
}

html.html_entry_id_499 {
    margin-top: 0!important;
    background-color: #000;
}

/* test anim body appear */

html {
    background-color: #fff;
}

body {
    -webkit-animation: page-in 1.5s forwards ease;
    animation: page-in 1.5s forwards ease;
}

@-webkit-keyframes page-in {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes trans-19-out {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes trans-19-out {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/***************************/

/*        GENERAL          */

/***************************/

::-moz-selection {
    background: #fe100c;
    /* WebKit/Blink Browsers */
}

::selection {
    background: #fe100c;
    /* WebKit/Blink Browsers */
}

::-moz-selection {
    background: #fe100c;
    /* Gecko Browsers */
}

/*
#scroll-top-link {
    right: 21px;
    bottom: 85px;
}*/

body #scroll-top-link {
    background-color: transparent;
    color: #fa130b;
    border-radius: 0px;
    border: 2px solid #fa130b;
    font-size: 20px;
    height: 40px;
    width: 40px;
    line-height: 40px;
}

#scroll-top-link:before {
    position: relative;
    top: -3px;
}

#scroll-top-link:hover {
    background-color: #fa130b;
    color: #fff;
    border: 2px solid #fa130b;
}

a:hover,
a:focus,
a:visited {
    outline: 0;
    text-decoration: none;
}

#top .all_colors p {
    font-size: 21px;
    line-height: 1.4em;
    text-align: justify;
}

/* Cacher Badge Gg reCaptcha v3 */

.grecaptcha-badge {
    visibility: collapse !important;
    opacity: 0 !important;
}

/* boutons */

#top .main_color .avia-color-theme-color.avia-button,
input[type="submit"] {
    font-family: 'Porter', sans-serif;
    padding: 5px 12px;
    font-size: 23px;
    background-color: #fa130b;
}

/* boutons politique confidentialité */

#top .cookies-navigateurs .avia-button {
    font-size: 16px;
    padding: 5px 10px;
}

@media only screen and (max-width: 989px) {
    .avia-cookie-consent p {
        font-size: 13px;
        line-height: 1.7;
    }
}

.avia-cookie-consent {
    z-index: 10000;
}

#top .avia-cookie-consent-button {
  font-size: 12px !important;
}

/* TITRES */

#top .special-h1 {
    text-shadow: 0 0 20px #000;
}

#top .special-h1 h1 {
    font-weight: 400 !important;
}

#top .special-h1 .av-subheading {
    margin-top: 0;
    opacity: 1;
}

#top .special-h1 .av-subheading p {
    font-family: 'Porter', sans-serif;
    font-weight: bold;
    font-size: 50px !important;
    opacity: 1;
    text-align: center;
    line-height: 1;
}

#top .special-h2 {
    text-transform: uppercase;
}

#top .special-h2 h2 {
    font-weight: 400 !important;
    margin-left: 50px !important;
}

#top .special-h2 .av-subheading {
    font-weight: 700 !important;
    color: #fa130b;
    margin-top: 0;
    text-align: right;
    margin-right: 50px;
    opacity: 1;
}

#top .special-h2 .av-subheading p {
    opacity: 1;
    font-size: inherit;
    text-align: right;
    line-height: 1;
}

.main_color h3 {
    font-size: 50px;
    text-transform: uppercase;
    font-family: 'arial', sans-serif;
    position: relative;
    margin-right: auto;
    margin-left: auto;
    display: table;
}

.main_color h3::before {
    position: absolute;
    content: '';
    height: 8px;
    width: 8px;
    bottom: -5px;
    right: 0;
    background: #fa130b;
}

.main_color h3::after {
    position: absolute;
    content: '';
    height: 5px;
    width: calc(100% - 13px);
    bottom: -4px;
    left: 0;
    background: #fa130b;
}

.main_color h4 {
    font-size: 22px;
    margin-top: 30px;
}

/* titre des contenu txt */


#top .head-section h1 {
    text-shadow: 0 0 20px #000;
    color: #fff;
    font-weight: 400;
    font-size: 50px;
}

#top .head-section h1 strong {
    /*font-family: 'Porter', sans-serif;*/
    font-weight: bold;
    line-height: 1;
}

@media only screen and (max-width: 989px) {
    #top .head-section h1 {
        font-size: 30px;
    }
}


.main_color .txt-content-col h2 {
    font-size: 32px;
    text-transform: uppercase;
    font-weight: 400;
}
#top .main_color .txt-content-col h2 strong {
    color: #fa130b;
}

.main_color .txt-content-col h3 {
    font-size: 22px;
    margin-left: 0;
    font-family: 'quicksand','HelveticaNeue','Helvetica Neue','Helvetica-Neue',Helvetica,Arial,sans-serif;
}
.main_color .txt-content-col h3::before,
.main_color .txt-content-col h3::after {
    content: none;
}

#top .all_colors .txt-content-col p {
    font-size: 20px;
}
.txt-content-col a {
    text-decoration: underline;
}


/***************************/

/*        HOMEPAGE         */

/***************************/

#top .no_margin.av_one_third {
    width: 33.3333%;
}

#home-section {
    background-color: #000;
}

#home-section .flex_cell_inner {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

    background-color: rgba(0, 0, 0, 0.4);
    -webkit-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}

.head-section .container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 40px !important;
}

.js_active .av-minimum-height .container {
    -webkit-transition: opacity 0.1s ease-in;
    transition: opacity 0.1s ease-in;
}

/* petit carré */
#home-section .flex_cell_inner::before,
.head-section .container::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    top: 15px;
    left: 15px;
    background-color: #fff;
    opacity: 1;
    z-index: 10000;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

#home-section .flex_cell.av_one_third .flex_cell_inner h2 {
    text-transform: uppercase;
    font-size: 65px;
    font-weight: 400;
    margin: 20px;
    opacity: 1;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

#home-section .flex_cell.av_one_third {
    position: relative;
    padding: 0 !important;
}

.head-section {
    position: relative;
}

/* HOME PRELOADER */

.loader-inner #loader {
    padding: 0 20px;
}

.loader-inner {
    /* petit carré rouge */
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.loader-inner::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    top: 14px;
    left: 15px;
    background-color: #fa120b;
    opacity: 1;
    -webkit-animation: disappear2s 0.2s linear 2.8s forwards;
    animation: disappear2s 0.2s linear 2.8s forwards;
}

@-webkit-keyframes disappear2s {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

#loftloader-wrapper::before {
    /* bordure top&left */
    content: '';
    position: absolute;
    border-top: 8px solid #fa120b;
    top: 15px;
    left: 40px;
    border-right: 8px solid #fa120b;
    z-index: 10000;

    -webkit-animation: loader1 2.4s linear 0.5s forwards;
    animation: loader1 2.4s linear 0.5s forwards;

}

#loftloader-wrapper::after {
    /* bordure bottom&right */
    content: '';
    position: absolute;
    /* width: calc(100% - 35px);
    height: calc(100% - 60px);*/
    border-bottom: 0px solid #fa120b;
    bottom: 15px;
    right: 16px;
    border-left: 0px solid #fa120b;
    z-index: 10000;

    -webkit-animation: loader2 1.2s linear 1.7s forwards;
    animation: loader2 1.2s linear 1.7s forwards;

}

@-webkit-keyframes loader1 {
    0% {
        width: 0;
        height: 0;
        border-width: 4px;
    }
    25% {
        width: calc(100% - 60px);
        height: 0;
    }
    50% {
        width: calc(100% - 60px);
        height: calc(100% - 38px);
    }
    95% {
        width: calc(100% - 60px);
        height: calc(100% - 38px);
        border-width: 4px;
    }
    100% {
        border-width: 0px;
    }
}


@keyframes loader1 {
    0% {
        width: 0;
        height: 0;
        border-width: 4px;
    }
    25% {
        width: calc(100% - 60px);
        height: 0;
    }
    50% {
        width: calc(100% - 60px);
        height: calc(100% - 38px);
    }
    95% {
        width: calc(100% - 60px);
        height: calc(100% - 38px);
        border-width: 4px;
    }
    100% {
        border-width: 0px;
    }
}


@-webkit-keyframes loader2 {
    0% {
        width: 0;
        height: 0;
        border-width: 4px;
    }
    50% {
        width: calc(100% - 35px);
        height: 0;
    }
    95% {
        width: calc(100% - 35px);
        height: calc(100% - 60px);
        border-width: 4px;
    }
    100% {
        border-width: 0px;
    }
}


@keyframes loader2 {
    0% {
        width: 0;
        height: 0;
        border-width: 4px;
    }
    50% {
        width: calc(100% - 35px);
        height: 0;
    }
    95% {
        width: calc(100% - 35px);
        height: calc(100% - 60px);
        border-width: 4px;
    }
    100% {
        border-width: 0px;
    }
}

/* antihover HOME */

.page-id-499 #main::before {
    content: '';
    position: absolute;
    z-index: 1000;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-animation: antihover 0.2s linear 5.5s forwards;
    animation: antihover 0.2s linear 5.5s forwards;
}

@-webkit-keyframes antihover {
    0% {
        z-index: 1000;
    }
    100% {
        z-index: -1000;
    }
}

@keyframes antihover {
    0% {
        z-index: 1000;
    }
    100% {
        z-index: -1000;
    }
}

#top .envira-gallery-wrap .envira-gallery-description p {
    margin-top: 0.6em;
    margin-bottom: 0.6em;
}


/* envira survol */

.envira-gallery-item-inner :not(.noHover) + .envira-gallery-captioned-data {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 40px;
}

.envira-gallery-item-inner .noHover + .envira-gallery-captioned-data {
    /*  width: 100%;
    height: 100%;*/
    /*
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 40px;*/
    display: none;
}

#home-section .flex_cell.av_one_third::before,
.head-section::before {
    /* bordure top&right */
    content: '';
    position: absolute;
    /*  width: calc(100% - 60px);
    height: calc(100% - 38px);  */
    border-top: 0px solid white;
    top: 15px;
    left: 40px;
    border-right: 0px solid white;
    opacity: 1;
    z-index: 10;

    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

#home-section .flex_cell.av_one_third::before {
    -webkit-animation: animframe1 1s linear 3.5s forwards;
    animation: animframe1 1s linear 3.5s forwards;
}

.head-section::before {
    -webkit-animation: animframe1 1s linear 0.5s forwards;
    animation: animframe1 1s linear 0.5s forwards;
}

.envira-gallery-item-inner .envira-gallery-captioned-data:hover::before {
    -webkit-animation: animframe1 0.5s linear 0s forwards;
    animation: animframe1 0.5s linear 0s forwards;
}

#home-section .flex_cell.av_one_third::after,
.head-section::after {
    /* bordure bottom&left */
    content: '';
    position: absolute;
    /*   width: calc(100% - 35px);
    height: calc(100% - 60px);*/
    border-bottom: 0px solid #fff;
    bottom: 15px;
    right: 16px;
    border-left: 0px solid #fff;
    opacity: 1;
    z-index: 10;

    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

#home-section .flex_cell.av_one_third::after {
    -webkit-animation: animframe2 1s linear 4.5s forwards;
    animation: animframe2 1s linear 4.5s forwards;
}

.head-section::after {
    -webkit-animation: animframe2 1s linear 1.5s forwards;
    animation: animframe2 1s linear 1.5s forwards;
}

.envira-gallery-item-inner .envira-gallery-captioned-data:hover::after {
    -webkit-animation: animframe2 0.5s linear 0.5s forwards;
    animation: animframe2 0.5s linear 0.5s forwards;
}



.envira-album-public .envira-gallery-item-inner:hover a::before {
    -webkit-animation: animframe1 0.5s linear 0s forwards;
    animation: animframe1 0.5s linear 0s forwards;
}
.envira-album-public .envira-gallery-item-inner:hover a::after {
    -webkit-animation: animframe2 0.5s linear 0.5s forwards;
    animation: animframe2 0.5s linear 0.5s forwards;
}




@-webkit-keyframes animframe1 {
    0% {
        width: 0;
        height: 0;
        border-width: 4px;
    }
    50% {
        width: calc(100% - 60px);
        height: 0;
    }
    100% {
        width: calc(100% - 60px);
        height: calc(100% - 38px);
        border-width: 4px;
    }
}

@keyframes animframe1 {
    0% {
        width: 0;
        height: 0;
        border-width: 4px;
    }
    50% {
        width: calc(100% - 60px);
        height: 0;
    }
    100% {
        width: calc(100% - 60px);
        height: calc(100% - 38px);
        border-width: 4px;
    }
}

@-webkit-keyframes animframe2 {
    0% {
        width: 0;
        height: 0;
        border-width: 4px;
    }
    50% {
        width: calc(100% - 35px);
        height: 0;
    }
    100% {
        width: calc(100% - 35px);
        height: calc(100% - 60px);
        border-width: 4px;
    }
}

@keyframes animframe2 {
    0% {
        width: 0;
        height: 0;
        border-width: 4px;
    }
    50% {
        width: calc(100% - 35px);
        height: 0;
    }
    100% {
        width: calc(100% - 35px);
        height: calc(100% - 60px);
        border-width: 4px;
    }
}

/* survol */

#home-section .flex_cell.av_one_third:hover .flex_cell_inner {
    background-color: rgba(0, 0, 0, 0);
}

#home-section .flex_cell.av_one_third:hover .flex_cell_inner::before {
    opacity: 0;
}

#home-section .flex_cell.av_one_third:hover .flex_cell_inner h2 {
    opacity: 0;
}

#home-section .flex_cell.av_one_third:hover::after,
#home-section .flex_cell.av_one_third:hover::before {
    opacity: 0;
}

body#top .flex_cell.av_one_third.avia-link-column.avia-link-column-hover {
    opacity: 1;
    min-height: 300px;
}

body#top .flex_cell.av_one_third.avia-link-column.avia-link-column-hover:hover {
    opacity: 1;
}



/******************************/

/*          HEADER            */

/******************************/

/* MENU */

.menu-espacepro a .avia-menu-text {
    background-color: #000;
    color: #fff !important;
    font-size: 23px;
    line-height: 23px;
    padding: 6px 8px 8px;
    font-family: 'Porter';
    font-weight: bold;
}

.menu-contact .avia-menu-text {
    background: url(https://www.ioaproduction.fr/wp-content/uploads/2019/08/icon-enveloppe.png) 0 5px no-repeat;
    line-height: 50px;
    padding: 12px 20px;
    color: transparent !important;
}

body#top #header_main > .container .main_menu .av-main-nav > li > a {
    line-height: 170px;
}

/* survol */

.avia-menu-text {
    position: relative;
}

#header .menu-item:not(.nohover) .avia-menu-text::after {
    /* ligne rouge */
    content: '';
    position: absolute;
    width: 0;
    height: 5px;
    background-color: #fa130b;
    bottom: -7px;
    left: 0;
    -webkit-transition: width 0.3s ease;
    transition: width 0.3s ease;
}

#header .menu-item:not(.nohover) .avia-menu-text::before {
    /* petit carré */
    content: '';
    position: absolute;
    width: 0px;
    height: 7px;
    background-color: #fa130b;
    bottom: -8px;
    right: 0;
    -webkit-transition: width 0.1s ease 0.2s;
    transition: width 0.1s ease 0.2s;
}

#header .menu-item:hover .avia-menu-text::after {
    width: calc(100% - 10px);
}

#header .menu-item:hover .avia-menu-text::before {
    width: 7px;
}

/* burger manu */

.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul a {
    color: #000;
}

.html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner,
.html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner::before,
.html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner::after {
    background-color: #000;
}

.html_av-overlay-side #top #wrap_all .av-burger-overlay li a {
    padding: 8px 50px;
}

/******************************/

/*          FOOTER            */

/******************************/

#top #socket .container {
    padding-top: 5px;
    padding-bottom: 30px;
}

#socket .sub_menu_socket {
    float: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

#socket .sub_menu_socket li.menu-item {
    position: relative;
    padding: 0 12px;
    font-size: 14px;
    line-height: 20px;
}

#socket .sub_menu_socket li + li::before {
    position: absolute;
    content: '';
    width: 7px;
    height: 7px;
    background-color: red;
    top: 38%;
    left: -3px;
}

#top #footer {
    padding-bottom: 0;
}

#top #footer .widget {
    margin: 0;
}

#top #footer .widget_nav_menu ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

#top #footer .widget_nav_menu li {
    display: inline-block;
    text-transform: uppercase;
    font-size: 16px;
}

.widget_nav_menu ul:first-child > .current-menu-item > a,
.widget_nav_menu ul:first-child > .current_page_item > a,
#top #footer .widget_nav_menu li a {
    padding: 0 12px;
}

.current_page_item a span {
    font-weight: 600;
}

/* social */

#top .all_colors p#social {
    text-align: center;
    font-size: 30px;
    margin: 2px 0 8px 0;
}

#top .all_colors p#social a {
    margin: 0 3px;
}


/******************************/

/*           PAGE             */

/******************************/

#call-contact p {
    text-transform: uppercase;
    font-size: 28px !important;
    max-width: 940px;
    line-height: 1.2 !important;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-right: auto;
    margin-left: auto;
}

#top div .avia-gallery .avia-gallery-big {
    padding: 0;
    border-width: 0;
}

/* logo slider */

/*
.owl-item div {
    background-size: cover !important;
}
*/

/******************************/
/*       PAGE CONTACT         */
/******************************/

/* coordonnes */

.contact-coordonnees p + h2 {
    margin-top: 0;
}

.contact-coordonnees img {
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 30px;
}

.contact-coordonnees a {
    font-size: 26px;
}

/* formulaire */

#top .main_color .input-text,
#top .main_color input[type="text"],
#top .main_color input[type="input"],
#top .main_color input[type="password"],
#top .main_color input[type="email"],
#top .main_color input[type="number"],
#top .main_color input[type="url"],
#top .main_color input[type="tel"],
#top .main_color input[type="search"],
#top .main_color textarea,
#top .main_color select {
    border-color: #000;
    font-size: 20px;
    font-family: 'Quicksand';
    color: #000;
    margin-bottom: 0;
    margin-top: 18px;
}

#top .wpcf7-form-control.wpcf7-text::-webkit-input-placeholder,
#top .wpcf7-form-control.wpcf7-textarea::-webkit-input-placeholder {
    text-transform: uppercase;
}

#top .wpcf7-form-control.wpcf7-text:-ms-input-placeholder,
#top .wpcf7-form-control.wpcf7-textarea:-ms-input-placeholder {
    text-transform: uppercase;
}

#top .wpcf7-form-control.wpcf7-text::placeholder,
#top .wpcf7-form-control.wpcf7-textarea::placeholder {
    text-transform: uppercase;
}

input[name="nom"],
input[name="societe"],
input[name="telephone"] {
    max-width: 300px;
}

input[name="adresse-mail"],
input[name="objet"] {
    max-width: 400px;
}

span.wpcf7-not-valid-tip,
.wpcf7-validation-errors {
    color: #fa130b !important;
}

span.wpcf7-list-item {
    margin-left: 0;
}

.wpcf7-list-item-label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #000 !important;
}

#top input[type="checkbox"] {
    margin: 0px 3px 0px 0;
    -webkit-box-shadow: 0 0 1px #000;
    box-shadow: 0 0 1px #000;
}

.main_color .wpcf7-form input[type="submit"] {
    background-color: #fa130b;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-textarea:focus {
    border-color: #fa130b !important;
}

div.wpcf7-mail-sent-ok {
    border: 1px solid #398f14 !important;
    color: #398f14 !important;
}

.wpcf7 textarea {
    max-width: 100%;
}

/******************************/
/*         GALLERY            */
/******************************/

/* Bug Mac - img non fullwidth */
.envira-gallery-wrap .envira-album-public .envira-gallery-item img, .envira-gallery-wrap .envira-gallery-public .envira-gallery-item img {
    width: 100%;
}


/* bug enfold */

#top .all_colors .envira-gallery-wrap .image-overlay {
    display: none !important;
}


.envira-album-public .envira-album-title {
    position: absolute !important;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50%;
    color: #fff;
    width: 90%;
    font-size: 30px !important;
    line-height: 1.1 !important;
    margin: 0 5% !important;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.envira-album-public .envira-gallery-item-inner > a {
    background-color: #000;
}

@media only screen and (max-width: 989px) {
    .envira-album-public .envira-album-title {
        opacity: 1;
    }
    .page-id-540 .envira-album-public .envira-gallery-item-inner a img,
    .page-id-621 .envira-album-public .envira-gallery-item-inner a img {
        -webkit-filter: brightness(0.6);
        filter: brightness(0.6);
    }
}

@media only screen and (min-width: 990px) {

    .envira-album-public .envira-gallery-item-inner > a {
        background-color: #000;
    }
    .envira-album-public .envira-gallery-item-inner > a img {
        -webkit-transition: opacity 0.3s ease;
        transition: opacity 0.3s ease;
    }

    /* petit carré ! */
    .page-id-621 .envira-gallery-item-inner:hover::before,
    .page-id-540 .envira-gallery-item-inner:hover::before {
        content: '';
        position: absolute;
        width: 18px;
        height: 18px;
        top: 15px;
        left: 15px;
        background-color: #fff;
        opacity: 1;
        z-index: 10000;
        -webkit-transition: opacity 0.3s ease;
        transition: opacity 0.3s ease;
    }

    .envira-gallery-item-inner .envira-gallery-captioned-data:hover::before,
    .page-id-540 .envira-album-public .envira-gallery-item-inner:hover a::before,
    .page-id-621 .envira-album-public .envira-gallery-item-inner:hover a::before {
        /* bordure top&right */
        content: '';
        position: absolute;
        /*  width: calc(100% - 60px);
        height: calc(100% - 38px);  */
        border-top: 0px solid white;
        top: 15px;
        left: 40px;
        border-right: 0px solid white;
        opacity: 1;
        z-index: 10;

        -webkit-transition: opacity 0.3s ease;
        transition: opacity 0.3s ease;
    }

    .envira-gallery-item-inner .envira-gallery-captioned-data:hover::after,
    .page-id-540 .envira-album-public .envira-gallery-item-inner:hover a::after,
    .page-id-621 .envira-album-public .envira-gallery-item-inner:hover a::after {
        /* bordure bottom&left */
        content: '';
        position: absolute;
        /*   width: calc(100% - 35px);
        height: calc(100% - 60px);*/
        border-bottom: 0px solid #fff;
        bottom: 15px;
        right: 16px;
        border-left: 0px solid #fff;
        opacity: 1;
        z-index: 10;

        -webkit-transition: opacity 0.3s ease;
        transition: opacity 0.3s ease;
    }

    .page-id-540 .envira-album-public .envira-gallery-item-inner:hover a img,
    .page-id-621 .envira-album-public .envira-gallery-item-inner:hover a img {
        opacity: 0.55;
    }
    .envira-album-public .envira-gallery-item-inner:hover a+.envira-album-title {
        opacity: 1;
    }
}



.envira-gallery-wrap .envira-gallery-item-inner .envira-gallery-captioned-data {
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    -webkit-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
}

.envira-gallery-wrap .envira-gallery-item-inner:hover .envira-gallery-captioned-data {
    opacity: 1;
}


/* title and caption */

.envira-title {
    font-size: 32px !important;
    line-height: 32px !important;
    text-transform: uppercase !important;
    margin-bottom: 5px !important;
}

.envira-caption {
    font-size: 24px !important;
    line-height: 24px !important;
}

/* filtres */

#top .envira-tags-filter-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

#top .envira-tags-filter-list li.envira-tags-filter {
    margin: 10px;
    list-style: none !important;
}

.envira-tags-filter-list .envira-tags-filter::marker {
    list-style: none !important;
}

.envira-tags-filter-list .envira-tags-filter .envira-tags-filter-link,
.envira-pagination .envira-pagination-load-more {
    text-transform: uppercase;
    padding: 3px 10px;
    border: 1px solid #bbb;
}

.envira-tags-filter-list .envira-tags-filter .envira-tags-filter-active {
    font-weight: 700;
}

.envira-gallery-wrap .envira-pagination {
    text-align: center;
}

/******************************/

/*     PAGE CONSTRUCTION      */

/******************************/

#site-construction .container {
    padding-top: 0 !important;
}


/***********************************************************************************************/
/*                                            RWD                                              */
/***********************************************************************************************/

/******************************/
/*          HEADER            */
/******************************/

@media only screen and (max-width: 1220px) {

    /* MENU */
    #top #header .av-main-nav > li > a {
        font-size: 16px;
    }
    .menu-espacepro a .avia-menu-text {
        font-size: 18px;
    }
    .av-main-nav > li > a {
        padding: 0 8px;
    }
    .menu-contact .avia-menu-text {
        background-size: 100%;
    }
    .menu-contact .avia-menu-text {
        padding: 10px 17px;
    }

    /* home */
    #home-section .flex_cell.av_one_third .flex_cell_inner h2 {
        font-size: 52px;
    }

}

@media only screen
/*and (min-width: 990px)*/

and (max-width: 1040px) {
    /*
    .menu-contact {
        display: none;
    }
    */
    .menu-espacepro a .avia-menu-text {
        font-size: 17px;
        padding: 4px 6px 6px;
    }
    .menu-contact .avia-menu-text {
        padding: 7px 13px;
    }
}



@media only screen and (max-width: 989px) {

    /* burger position */
    #header .main_menu {
        margin-right: -3%;
        margin-top: -15px;
    }

    /* logo centré */
    .responsive #top .logo a {
        display: inline-block;
        vertical-align: middle;
    }

    .responsive #top .logo {
        position: relative;
        display: block;
        width: 100%;
        text-align: center;
        /* logo plus gros */
        height: 120px !important;
    }

    /* logo plus gros */
    .responsive #top .logo img {
        max-height: 120px;
    }

}



/******************************/
/*          GENERAL           */
/******************************/

@media only screen and (max-width: 989px) {
    .main_color h3 {
        font-size: 32px;
    }

    #top .all_colors p {
        font-size: 16px;
    }

    /* titres */
    #top .special-h1 h1,
    #top .special-h1 .av-subheading p {
        font-size: 30px !important;
    }

    #top .special-h2 h2,
    #top .special-h2 .av-subheading p {
        font-size: 25px !important;
        text-align: center;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    #top .special-h2 .av-subheading {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* contact */
    #call-contact p {
        font-size: 16px !important;
    }

    /* boutons */
    #top .avia-button {
        font-size: 18px;
        padding: 5px 8px;
    }

}

/******************************/
/*          FOOTER            */
/******************************/

@media only screen and (max-width: 989px) {
    /*
    #menu-pied-de-page-menu {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    #top #footer .widget_nav_menu li {
        line-height: 26px;
    }*/
    .responsive #socket .sub_menu_socket {
        margin: 0px;
    }
    #top #socket .container {
        padding: 5px;
    }
    #socket .sub_menu_socket {
        float: none;
    }
    #socket .sub_menu_socket ul {
        margin-left: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        /*max-width: 600px;*/
    }
}

@media only screen and (max-width: 844px) {

    #socket .sub_menu_socket li::before {
        position: absolute;
        content: '';
        width: 7px;
        height: 7px;
        background-color: red;
        top: 38%;
        left: -3px;
    }
}

@media only screen and (max-width: 600px) {
    #socket .avia-menu-text {
        font-size: 12px;
    }
}

@media only screen and (max-width: 400px) {
    #top #footer .widget_nav_menu ul {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    #top #footer .widget_nav_menu li {
        margin-bottom: 3px;
    }
}

/******************************/
/*           PAGE             */
/******************************/

@media only screen and (max-width: 989px) {

    /* colonnes inversées en mobile */
    .flex-inv-col {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }
    .flex-col {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

@media only screen and (max-width: 767px) {
    .responsive #top #wrap_all .head-section .flex_column {
        margin-bottom: 0;
    }
}


/* Homepage */

@media only screen and (max-width: 989px) {
    .responsive #top #wrap_all #home-section.av-flex-cells .no_margin {
        height: 600px !important;
    }
    html.responsive #top #wrap_all .av-break-at-tablet .flex_cell {
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 767px) {
    .responsive #top #wrap_all #home-section.av-flex-cells .no_margin {
        padding: 0 !important;
        height: 400px !important;
    }
}


/******************************/
/*       PAGE CONTACT         */
/******************************/

@media only screen and (max-width: 989px) {

    /* coordonnes */
    .contact-coordonnees a {
        font-size: 20px;
    }
}


/******************************/
/*         GALLERY            */
/******************************/

.envira-title,
.envira-album-title,
.single-envira .entry-title {
    text-transform: uppercase !important;
}

@media only screen and (max-width: 1500px) {

    /* title and caption */
    .envira-title,
    .envira-album-public .envira-album-title {
        font-size: 24px !important;
        line-height: 24px !important;
    }
    .envira-caption {
        font-size: 20px !important;
        line-height: 20px !important;
    }
}

@media only screen and (max-width: 989px) {

    /* title and caption */
    .envira-title,
    .envira-album-public .envira-album-title {
        font-size: 18px !important;
        line-height: 18px !important;
    }
    .envira-caption {
        font-size: 15px !important;
        line-height: 15px !important;
    }

    /* NO HOVER */
    .envira-gallery-wrap .envira-gallery-item-inner .envira-gallery-captioned-data {
        opacity: 1;
    }

}

@media only screen and (max-width: 720px) {

    /* filtres */
    #top .envira-tags-filter-list li.envira-tags-filter {
        margin: 6px;
    }

    .envira-tags-filter-list .envira-tags-filter .envira-tags-filter-link {
        padding: 2px 6px;
        font-size: 16px;
    }

    /* titre realisations */
    #top .fullsize .template-blog .post-title {
        font-size: 22px;
    }
}

@media only screen and (min-width: 481px) and (max-width: 720px) {
    /* colonnes galerie */
    .envira-gallery-wrap .envira-gallery-item {
        width: 50% !important;
    }
    .envira-gallery-wrap .envira-gallery-item:nth-child(odd):last-child:not(:only-child) {
        display: none;
    }

}

@media only screen and (max-width: 480px) {

    /* colonnes galerie */
    .envira-gallery-wrap .envira-gallery-item {
        width: 100% !important;
    }

}


/******************************/
/*     MODIF TEMPORAIRES      */
/******************************/
/*
#nav_menu-3 {
    display: none;
}
*/


/******************************/
/*          COOKIES           */
/******************************/
.avia-cookie-consent-button-3{
    color: white !important;
    background-color: transparent !important;
}


.avia-cookiemessage-bottom-left {
  top: 35% !important;
  bottom: auto !important;
  margin-left: -200px!important;
  left: 50% !important;
  width: 400px !important;
}
@media only screen and (max-width:480px) {
  .avia-cookiemessage-bottom-left {
    margin-left: auto !important;
  }
}

.avia-cookie-consent-wrap .avia-cookie-consent {
  background-color: #fa130b;
}


.avia-cookie-consent-wrap .avia_cookie_text {
  font-size: 15px;
  line-height: 18px;
  margin-bottom: 10px;
}

.cookie-overlay-mod {
  display: block;
  z-index: 999;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, .4);
  position: fixed;
  top: 0;
  left: 0;
}

.avia-privacy-reload-tooltip-link-container {
  display: none !important;
}

#top .avia-cookie-consent .avia-slideshow-button {
  font-size: 14px !important;
}

#top .avia-cookie-consent .avia-cookie-consent-button.avia-cookie-hide-notification {
    color: #fff;
    background-color: transparent;
}

.gerer-cookies {
  display: inline-block;
}

.gerer-cookies #gerer-cookies {
  background-color: transparent !important;
  border: none;
  font-size: 14px !important;
  padding: 0;
  text-align: center;
  text-transform: inherit !important;
  font-weight: 400 !important;
}


#top .av-toggle-switch input[type="checkbox"]:checked + .toggle-track {
  background-color: #000000;
}

#av-consent-extra-info p, #av-consent-extra-info .toggle-label-content, #av-consent-extra-info .tab_inner_content {
  font-size: 14px !important;
  line-height: 20px !important;
}



/*****************************/
/*      TARTE AU CITRON      */
/*****************************/

#top #tarteaucitronRoot * {
    color: #44475e;
}

#top #tarteaucitron {
    width: 800px;
}

/* Ecran intro */

#top div#tarteaucitronAlertBig::before {
    content: '';
    background: url("https://www.ioaproduction.fr/wp-content/uploads/2019/08/ioa-production-orleans-logotype.jpg") center center no-repeat;
    background-size: contain;
    width: 120px;
    height: 149px;
    display: inline-block;
}
#top #tarteaucitronRoot div#tarteaucitronAlertBig {
    background-color: #fff;
    color: #222;
    max-width: 650px;
}
#top #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
    color: #44475e;
}
#top #tarteaucitronRoot span#tarteaucitronDisclaimerAlert {
    font-size: 16px;
    line-height: 1.4;
}
.tarteaucitronCross {
    display: none;
}
#top #tarteaucitronAlertBig #tarteaucitronCloseAlert,
#top #tarteaucitronAlertBig #tarteaucitronPersonalize,
#top #tarteaucitronAlertBig #tarteaucitronPersonalize2,
#top .tarteaucitronCTAButton,
#top #tarteaucitron #tarteaucitronPrivacyUrl,
#top #tarteaucitron #tarteaucitronPrivacyUrlDialog,
#top #tarteaucitronRoot .tarteaucitronDeny,
#top #tarteaucitronRoot .tarteaucitronAllow {
    background: #fa130b;
    font-size: 15px !important;
    padding: 10px 18px;
    border-radius: 20px;
    border: 1px solid #fa130b;
}
#top #tarteaucitronRoot .tarteaucitronDeny,
#top #tarteaucitronAlertBig #tarteaucitronCloseAlert {
    background-color: transparent;
    color: #fa130b;
}

/* Ecran personnalisation */

#top #tarteaucitronServices {
    border-radius: 20px;
    background-color: #fff;
    margin-top: 28px !important;
}
#top #tarteaucitron .tarteaucitronBorder {
    border-width: 0;
    padding-bottom: 10px;
}
#top #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine {
    border-width: 0;
    background-color: #fff;
    padding: 20px;
}
#top #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine,
#top #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine:hover {
    background-color: #fff;
}
#top #tarteaucitronRoot .tarteaucitronH1 {
    margin: 30px 0 10px;
    color: #fa130b;
    font-weight: 600;
    font-size: 23px;
}
#top .tarteaucitronMainLine .tarteaucitronH2 {
    font-size: 1.3em !important;
    color: #fa130b;
    font-weight: 600;
}
#top #tarteaucitron #tarteaucitronServices_mandatory .tarteaucitronH3 {
    font-size: 13.5px;
    margin-top: 3px;
    line-height: 1.5;
}
#top #tarteaucitron #tarteaucitronInfo {
    background-color: #fff;
    color: #44475e;
    max-width: 90% !important;
    border-width: 0;
    padding: 0 !important;
    margin: 0 auto 25px auto !important;
    line-height: 1.5;
    font-size: 15px !important;
}
#top #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronAllow,
#top #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronDeny,
#top .tac_activate .tarteaucitronAllow {
    padding: 9px 15px;
    border-radius: 20px;
}
#top .tarteaucitronTitle {
    border-top: 1px solid #ddd;
}
#top #tarteaucitron #tarteaucitronServices .tarteaucitronTitle button {
    background-color: transparent;
    color: #fa130b;
    font-size: 15px;
    margin-top: 8px;
}
#top #tarteaucitronRoot .tarteaucitronPlus::before {
    color: #fa130b;
}
#top #tarteaucitron #tarteaucitronServices .tarteaucitronLine,
#top #tarteaucitron #tarteaucitronServices .tarteaucitronLine:hover {
    background-color: #fff;
}
#top #tarteaucitron #tarteaucitronServices .tarteaucitronLine {
    padding: 0px 12px 10px 12px;
}
#top #tarteaucitron #tarteaucitronServices .tarteaucitronHidden {
    background-color: #fff;
}
#top #tarteaucitron .tarteaucitronH3 {
    font-size: 15px;
    color: #44475e;
}
#top #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronName {
    line-height: 1.2;
}
#top #tarteaucitron #tarteaucitronClosePanel {
    background-color: transparent;
    color: #222;
    font-size: 14px;
    width: auto;
    padding: 5px;
}
#top #tarteaucitron #tarteaucitronServices #tarteaucitronAllAllowed.tarteaucitronIsSelected,
#top #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed .tarteaucitronAllow {
    background-color: #fa130b;
}
#top #tarteaucitron #tarteaucitronServices .tarteaucitronDetails {
    background-color: #eee;
    color: #222 !important;
    padding: 10px 20px !important;
}
#top #tarteaucitron #tarteaucitronServices li.tarteaucitronLine .tarteaucitronAsk .tarteaucitronAllow,
#top #tarteaucitron #tarteaucitronServices li.tarteaucitronLine .tarteaucitronAsk .tarteaucitronDeny {
    padding: 6px 12px;
}
#top #tarteaucitron #tarteaucitronServices #tarteaucitronServices_mandatory li.tarteaucitronLine .tarteaucitronAsk .tarteaucitronAllow {
    background-color: #fa130b;
}

@media screen and (max-width: 767px) {

    #top li.tarteaucitronLine .tarteaucitronName span {
        width: 80% !important;
        display: inline;
    }
}
