/* GENERAL */
.special_amp {
    font-family: 'Alice', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

.justify-me p {
    text-align: justify;
}

.aligne-toi-top.avia-section.av-minimum-height .container .content {
    vertical-align: top;
}

blockquote {
    border-left: none;
    font-family: 'Alice', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.4em;
}

html.html_av-framed-box .av-frame {
    background: #211f1d !important;
}

/*COOKIES*/
.avia-cookie-consent {
    background-color: rgba(166, 50, 50, 0.95);
}

p.avia_cookie_text {
    font-size: 15px;
    text-align: left;
}

.avia-cookie-consent .avia-cookie-consent-button {
    border-radius: 30px;
}

/* Mises en Forme */
/* retrait gauche et bordure*/
#top .mise-en-forme-01 {
    border-left: 4px solid #a63232 !important;
    padding: 0 0 0 20px;
}

/* bordures top et bottom */
#top .mise-en-forme-02 {
    border-bottom: 4px solid #fff !important;
    border-top: 4px solid #a63232 !important;
    padding: 40px;
}

#top .mise-en-forme-02 .btn-01 {
    position: absolute;
    bottom: -30px;
    left: calc(50% - 112px);
}

/* retrait gauche et bordure*/
#top .mise-en-forme-03 {
    border-left: 4px solid #deb254 !important;
    padding: 0 0 0 20px;
}

/*bordures top et bottom*/
#top .mise-en-forme-04 {
    border-bottom: 4px solid #deb254 !important;
    border-top: 4px solid #a63232 !important;
    padding: 40px;
}

/* BCK */
.bck-01 .av-section-color-overlay {
    background: linear-gradient(to right, #b48d3b, #deb254, 90%, #fff9eb);
}

.bck-02 .av-section-color-overlay {
    background-position: bottom left !important;
}

.bck-03 .av-section-color-overlay {
    background: linear-gradient(to top, #bf3232, 15%, rgba(191, 50, 50, 0));
}

/* BOUTONS */
.avia-button:hover,
.avia-button:active {
    opacity: 1;
}

/*btn 01 + voir associe avec mif 02*/
.btn-01 a.avia-button {
    border-radius: 30px;
    font-family: 'Alice', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.2em;
    border: 4px solid #fff !important;
    height: 54px;
    width: 220px;
    line-height: 0.9em;
    transition: all 300ms ease-out 0s;
}

.btn-01 .avia-button:hover,
.btn-01 .avia-button:active {
    background-color: #bf3232 !important;
}

/*btn02 celui des items portfolio*/
.btn-02 a.avia-button {
    border-radius: 30px;
    font-family: 'Alice', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.2em;
    border: 4px solid #211f1d !important;
    height: 54px;
    width: 220px;
    line-height: 0.9em;
    color: #211f1d !important;
    background-color: #fff !important;
    transition: all 300ms ease-out 0s;
}

.btn-02 .avia-button:hover,
.btn-02 .avia-button:active {
    border-color: #deb254 !important;
}

/* HEADER */
.av_seperator_small_border .av-main-nav>li>a>.avia-menu-text {
    border-left-width: 2px;
}

/* FOOTER */
#footer h3.widgettitle {
    text-align: center;
}

/* Home */
.yin {
    height: 50px;
    width: 50px;
    background: rgba(33, 31, 30, 1);

    border-radius: 100%;
    position: absolute;
    left: calc(50% - 25px);
    top: 75px;
    animation-name: zen;
    animation-duration: 3.5s;
    animation-timing-function: cubic-bezier(0.31, 0.36, 0.39, 1.4);
    animation-delay: 1s;
    animation-direction: normal;
    animation-iteration-count: 1;
    animation-fill-mode: none;
    animation-play-state: running;
    transform-origin: center 175px;
}

.yang {
    height: 50px;
    width: 50px;
    background: rgba(255, 255, 255, 1);

    border-radius: 100%;
    position: absolute;
    right: calc(50% - 25px);
    bottom: 75px;
    animation-name: zen;
    animation-duration: 3.5s;
    animation-timing-function: cubic-bezier(0.31, 0.36, 0.39, 1.4);
    animation-delay: 1s;
    animation-direction: normal;
    animation-iteration-count: 1;
    animation-fill-mode: none;
    animation-play-state: running;
    transform-origin: center -125px;
}

@keyframes zen {
    0% {
        transform: rotate(0deg);
        opacity: 0.8;
    }

    25% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.8;
        transform: rotate(180deg);
    }

    75% {
        opacity: 0.1;
    }

    100% {
        transform: rotate(360deg);
        opacity: 0.8;
    }
}

/* Portfolio */
/*breadcrumbs*/
.single-portfolio .stretch_full.container_wrap.alternate_color.light_bg_color.empty_title.title_container {
    background-color: #deb254;
}

div#custom_html-2 {
    padding-bottom: 0px !important;
}

.grille-item-01 article.main_color.inner-entry {
    margin: 4px;
}

.grille-item-01 .grid-content {
    min-height: 70px;
}

.grille-item-01 article.main_color.inner-entry {
    box-shadow: 0px 10px 10px 0px rgba(33, 31, 29, 0.4);
}

/* Blog */
.html_elegant-blog .more-link {
    border-radius: 30px;
    border-color: #deb253;
    color: #211f1e;
    border-width: 4px;
    transition: all 300ms ease-out 0s;
}

.html_elegant-blog .more-link:hover,
.html_elegant-blog .more-link:active {
    color: #deb253;
}

.main_color .post-entry .avia-content-slider .slide-image {
    background-color: transparent;
}

.avia-content-slider .slide-meta time {
    /*display:none;*/
}

time.av-magazine-time {
    display: none;
}

/* FORMULAIRE */
/* Formulaires */
/* - - - - - - PARTIE MISE EN FORME, optionnele si ok avec color du thème - - - - - - */
/* Pour modifier la couleur du placeholder - ajouter la bonne ID de formulaire */
#wpcf7-f7-p19-o1 ::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #211f1d;
}

#wpcf7-f7-p19-o1 ::-moz-placeholder {
    /* Firefox 19+ */
    color: #211f1d;
}

#wpcf7-f7-p19-o1 :-ms-input-placeholder {
    /* IE 10+ */
    color: #211f1d;
}

#wpcf7-f7-p19-o1 :-moz-placeholder {
    /* Firefox 18- */
    color: #211f1d;
}

/*Pour la mise en forme des btn submit - ajouter la bonne ID de formulaire */
#wpcf7-f7-p19-o1 input[type="submit"] {
    font-size: 1.2em !important;
    min-width: 160px;
    border: 2px solid #ffe5b0;
    border-radius: 30px;
    background-color: #bf3232;
    color: #ffe5b0;
}

#wpcf7-f7-p19-o1 input[type="submit"]:hover,
#wpcf7-f7-p19-o1 input[type="submit"]:active {
    color: #deb254;
    border-color: #deb254;
}

/*error*/
div.wpcf7-validation-errors {
    border: none;
}

span.wpcf7-not-valid-tip {
    color: #ffcc7a;
}

.wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors {
    display: inline-block !important;
    width: 100%;
}

.wpcf7-response-output.wpcf7-display-none.wpcf7-spam-blocked {
    border: none;
}

/* message envoye */
div.wpcf7-mail-sent-ok {
    border: none;
}

.wpcf7-response-output.wpcf7-display-none.wpcf7-mail-sent-ok {
    color: #fff;
}

/* - - - - - - FIN PARTIE MISE EN FORME, optionnele si ok avec color du thème - - - - - - */
#top .input-text,
#top input[type="text"],
#top input[type="input"],
#top input[type="password"],
#top input[type="email"],
#top input[type="number"],
#top input[type="url"],
#top input[type="tel"],
#top input[type="search"],
#top textarea,
#top select,
#top form {
    margin-bottom: 0px;

}

.full-form .input-text,
.full-form input[type="text"],
.full-form input[type="input"],
.full-form input[type="password"],
.full-form input[type="email"],
.full-form input[type="number"],
.full-form input[type="url"],
.full-form input[type="tel"],
.full-form input[type="search"],
.full-form textarea,
.full-form select,
.full-form input[type="date"] {
    font-size: 1em !important;
    font-family: Verdana, Arial, Helvetica, Geneva, sans-serif !important;
    font-weight: normal !important;
    padding: 8px 6px !important;
    background-color: #ffe5b0 !important;
    color: #211f1d !important;
}

.full-form input[type="date"] {
    padding: 6px !important;
}

.full-form {
    display: inline-block;
    margin-bottom: 90px;
}

/* Modif du padding right à 0 */
/* Ajouter class .plein .demi etc à la div du champ */
.plein,
.demi,
.tiers,
.quart,
.troisquart {
    position: relative;
    float: left;
    padding: 0 0% 2% 0;
}

.plein {
    width: 100%;
}

.demi {
    width: 50%;
}

.tiers {
    width: 33.33%;
    /* pour les navigateurs seniors */
    width: calc(100% / 3);
}

.quart {
    width: 25%;
}

.troisquart {
    width: 75%;
}

/*Responsive formulaire*/
@media only screen and (min-width: 961px) {

    .demi,
    .tiers,
    .quart,
    .troisquart {
        padding-right: 3%;
    }

    .demi.benjamin,
    .tiers.benjamin,
    .quart.benjamin {
        padding-right: 0 !important;
    }
}

@media only screen and (max-width: 960px) {

    .plein,
    .demi,
    .tiers,
    .quart,
    .troisquart {
        width: 100%;
        padding: 5px 10px;
    }
}

/* RESPONSIVE */
@media only screen and (min-width: 1000px) {

    li#menu-item-25 a span::before,
    li#menu-item-55 a span::before {
        font-family: 'entypo-fontello';
        font-size: 1.2em;
        padding-right: 5px;
        color: #deb254;
    }

    li#menu-item-25 a span::before {
        content: "\e805";
    }

    li#menu-item-55 a span::before {
        content: "\e854";
    }
}

@media only screen and (min-width: 768px) and (max-width: 1000px) {
    .grille-item-01 .grid-content {
        min-height: 100px;
    }

}

@media only screen and (max-width: 767px) {

    #footer .widget {
        margin: 0px;
    }

    #socket .container {
        padding-bottom: 30px;
    }

    #socket .copyright,
    #socket .sub_menu_socket li {
        padding: 0px;
        float: none;
        display: block;
        text-align: center !important;
    }

}

.avia-section.av-minimum-height.haut .container .content {
    vertical-align: top;
}

.avia-section.av-minimum-height.bas .container .content {
    vertical-align: bottom;
}

.pagination {
    width: fit-content;
    margin: 0 auto;
}

.main_color .pagination * {
    font-size: 18px !important;
}

span.pagination-meta,
.html_elegant-blog #top .avia-content-slider .blog-categories {
    display: none;
}


.main_color .pagination a {
    background: #fff;
}

#top .avia-content-slider header.entry-content-header {
    padding: 0 20px;
}

#top .avia-content-slider header.entry-content-header * {
    text-align: center;
    line-height: 1em !important;
    text-transform: unset !important;
    font-size: 16px;
    letter-spacing: 0;
}

article.slide-entry {
    background: #fff;
}

div article.slide-entry.av_one_fourth {
    margin-left: 2% !important;
    width: calc(94% / 4);
    min-height: 320px;
    box-shadow: 0 20px 28px -5px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    border-radius: 10px;
}

div article.slide-entry.av_one_fourth.first {
    margin-left: 0 !important;
}

.avia-content-slider .slide-image img {
    height: 175px;
    object-fit: cover;
}

.avia-content-slider .slide-image,
.avia-content-slider .slide-image img {
    border-radius: 0;
    width: 100%;
}

.avia-content-slider,
.avia-content-slider-inner {
    overflow: visible;
}

#top .avia-content-slider .avia-slideshow-arrows a {
    top: 175px;
}


.avia-slideshow-arrows a:before {
    background: #a63232;
    border-radius: 150px !important;
}

#top .avia-content-slider .avia-slideshow-arrows a.prev-slide {
    left: -30px;
}

#top .avia-content-slider .avia-slideshow-arrows a.next-slide {
    right: -30px;
}

.shadow * {
    font-weight: bold !important;
    text-shadow: 0 0px 10px #fff, 0 0px 5px #fff, 0 0px 20px #fff;
}


img.size-magazine {
    width: 100%;
    height: 300px;
    object-fit: contain;

}


span.news-time {
    display: none;
}

* Correction des galeries d'images */
#top .gallery {
    float: left;
}

#top .gallery.gallery-columns-1 {
    max-width: 45%;
}

#top .gallery .gallery-item {
    margin: 0 50px 50px 0;
    width: unset;
    height: unset;
}


#top .gallery.gallery-columns-2 .gallery-item {
    width: calc(50% - 50px);
}

#top .gallery.gallery-columns-3 .gallery-item {
    width: calc(33% - 50px);
}

#top .gallery.gallery-columns-4 .gallery-item {
    width: calc(25% - 50px);
}

#top .gallery.gallery-columns-5 .gallery-item {
    width: calc(20% - 50px);
}

#top .gallery.gallery-columns-6 .gallery-item {
    width: calc(16.6% - 50px);
}