/*
Theme Name:     Latour Martillac Theme
Theme URI:      http://www.saisondor.com/
Description:    Thème enfant Enfold pour Latour Martillac
Author:         Benoit Favrel pour ORIS Systems
Author URI:     http://www.saisondor.com
Template:       enfold
Version:        0.1.0
*/

/* Form inscription newsletter */
#footer .wpcf7 {
    display: block;
}

#footer .container > div:nth-child(3) {
    margin-left: 6%;
    width: 47%;
}

@media screen and (min-width: 500px) {
    #footer .wpcf7 .form-row.two-cols > p {
        display: flex;
        gap: 5px;
    }
}

#footer .wpcf7 input {
    margin-bottom: 0 !important;
}

#footer .container > div:nth-child(3) {
    display: none;
}
body.lang-fr #footer .container > div:nth-child(3) {
    display: block;
}

/* Move reCAPTCHA v3 badge to the left */
.grecaptcha-badge {
    width: 70px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    left: 4px !important;
}

.grecaptcha-badge:hover {
    width: 256px !important;
}

/* Link "Boutique en ligne" */

.boutique-link-wrapper {
    display: block;
    box-sizing: border-box;
    width: 360px;
    height: 115px;
    padding: 20px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 10000;
    background-color: #ffffff;
    animation: slideInFromRight 0.5s ease-out 1s 1 backwards;
    pointer-events: auto;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.25);
}
.boutique-link-wrapper .label-wrapper {
    margin-bottom: 15px;
    font-size: 2em;
    line-height: 1.1em;
    color: rgb(133, 115, 84);
    font-weight: bold;
    animation: slideInFromRight 0.5s ease-out 1s 1 backwards;
}
.boutique-link-wrapper a.boutique-link {
    display: inline-block;
    padding: 5px 8px;
    color: #ffffff;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    background-color: rgb(133, 115, 84);
    border-radius: 2px;
    transition: opacity 0.25s;
    animation: slideInFromRight 0.5s ease-out 1.1s 1 backwards;
}

.boutique-link-wrapper a.boutique-link:hover {
    opacity: 0.75;
}

.boutique-link-wrapper img.picto-boutique {
    width: auto;
    height: calc(100% - 50px) !important;
    position: absolute;
    right: 25px !important;
    top: 25px !important;
    animation: slideInFromRight 0.5s ease-out 1.25s 1 backwards;
}

.boutique-mobile-button {
    display: none;
    color: rgb(133, 115, 84);
    font-size: 40px;
    position: fixed;
    right: 20px;
    bottom: 14px;
    z-index: 100000;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 500px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.boutique-mobile-button a {
    display: inline-block;
    width: 0;
    overflow: hidden;
    color: rgb(133, 115, 84);
    font-size: 16px;
    font-weight: bold;
    text-align: right;
    vertical-align: 3px;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.25s;
    opacity: 0;
}

.boutique-mobile-button i::before {
    position: relative;
    left: -3px;
}

.boutique-mobile-button.active a {
    width: 204px;
    opacity: 1;
}

@media screen and (max-width: 468px) {
    .boutique-mobile-button {
        display: block;
    }

    .boutique-link-wrapper {
        display: none !important;
    }

    .boutique-link-wrapper .label-wrapper {
        font-size: 1.5em;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(1000px);
    }
    100% {
        transform: translateX(0);
    }
}

/*** SOCKET ***/

#socket .container {
    padding-top: 0;
    padding-bottom: 0;
    max-width: 100% !important;
    padding: 0 52px;
    height: 50px;
}
#socket .copyright {
    line-height: 50px;
    vertival-align: bottom;
}

#socket li {
    line-height: 50px;
    border: none;
}
#socket li a {
    vertical-align: top;
    line-height: 50px !important;
}

@media screen and (min-width: 800px) {
    #socket .language-selector {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-33%) !important;
    }
}

@media screen and (max-width: 800px) {
    #socket .language-selector {
        float: right;
    }
}

#socket .language-selector .wpml-ls-link {
    display: block;
    width: 18px;
    height: 12px;
    background-repeat: no-repeat;
    background-size: contain;
}

#socket .language-selector .icl-fr .wpml-ls-link {
    background-image: url('https://www.latourmartillac.com//wp-content/plugins/sitepress-multilingual-cms/res/flags/fr.png') !important;
}
#socket .language-selector .icl-en .wpml-ls-link {
    background-image: url('https://www.latourmartillac.com//wp-content/plugins/sitepress-multilingual-cms/res/flags/en.png') !important;
}
#socket .language-selector .icl-zh-hans .wpml-ls-link {
    background-image: url('https://www.latourmartillac.com//wp-content/plugins/sitepress-multilingual-cms/res/flags/zh.png') !important;
}

#socket .language-selector .wpml-ls-link span {
    display: none;
}
#socket .language-selector a {
    font-weight: bold;
    margin-right: 15px;
    float: left;
    background-color: #857354;
    background-image: none;
}

#socket .menu {
    margin-top: 1px;
}

@import url('../enfold/style.css');

/* --- so-vintages-browser --- */
.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
    height: 80px !important;
    top: 0 !important;
    background-image: url('images/bg_slider_prev.png') !important;
    background-size: 29px 80px !important;
}
.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
    height: 80px !important;
    top: 0 !important;
    background-image: url('images/bg_slider_next.png') !important;
    background-size: 29px 80px !important;
}

/*** suppression des borders 1px des sections ***/
.container_wrap .content {
    min-height: 0;
}

/*** POPUP LEGAL ***/
#snppopup-welcome * {
}

#disclaimer #disclaimer_logo {
    text-align: center;
}

#disclaimer img {
    margin: 0 0 20px 0;
}
#disclaimer p {
    color: #202020;
    text-align: center;
}
#disclaimer .label {
    color: #202020;
    font-family: 'OpenSans', sans-serif;
    font-weight: 100;
    font-size: 1.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}
#disclaimer input[type='submit'],
#disclaimer input[type='button'],
.countries select,
.countries .styled-select {
    height: 100%;
    color: #202020;
    font-family: 'OpenSans', sans-serif;
    font-weight: 100;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 1em;
    border: 1px solid #202020;
    background-color: transparent;
    cursor: pointer;
}
.countries .styled-select {
    z-index: 10;
    cursor: pointer;
}
#disclaimer .control-container {
    position: relative;
    height: 2.5em;
    margin: 0 auto 42px auto;
    line-height: 2.5em;
}
@media only screen and (min-width: 980px) {
    #disclaimer .question {
        width: 33%;
        float: left;
        box-sizing: border-box;
        padding: 0 1%;
    }
}
@media only screen and (max-width: 980px) {
    #disclaimer .question {
        width: 100%;
        box-sizing: border-box;
        padding: 0 3%;
    }
}

#disclaimer .submit .control-container {
    width: 33%;
}

.countries .ui-selectmenu-button {
    width: 100%;
    height: 100%;
}
.countries select,
.countries .styled-select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: inherit;
}
.countries select {
    opacity: 0;
    z-index: 11;
}
.countries .styled-select .ui-selectmenu-menu {
    position: absolute;
    border: 1px solid #202020;
    top: 100%;
    width: 100%;
    box-sizing: content-box;
    left: -1px !important;
    background-color: #ffffff;
    overflow: hidden;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    display: none;
}
.countries .styled-select .ui-selectmenu-open {
    display: block;
}
.ui-selectmenu-menu .ui-menu {
    overflow: auto;
    /* Support: IE7 */
    overflow-x: hidden;
    padding-bottom: 1px;
}

.ui-selectmenu-button {
    display: inline-block;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}
.ui-selectmenu-button span.ui-selectmenu-text {
    text-align: left;
    display: block;
    padding-left: 10px;
    line-height: 2.8em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ui-selectmenu-button span.ui-icon-triangle-1-s {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #202020;
    position: absolute;
    top: 12px;
    right: 10px;
}
.countries .styled-select .menu-overflow {
    height: 250px;
}
#disclaimer .styled-select .ui-selectmenu-menu ul li.ui-state-focus {
    background-color: #cccccc;
    color: #000;
}
#disclaimer .styled-select .ui-selectmenu-menu ul li.priority {
    font-family: 'OpenSans', sans-serif;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
#disclaimer .styled-select .ui-selectmenu-menu ul li,
.ui-selectmenu-button span.ui-selectmenu-text {
    font-family: 'OpenSans', sans-serif;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    cursor: pointer;
    font-size: 12px;
    line-height: 2em;
    padding-top: 0.25em;
    padding-left: 0.5em;
}
#disclaimer input.first {
    border-right: 0;
}
#disclaimer input[type='button'] {
    float: left;
    width: 50%;
    padding: 0;
    line-height: 100%;
    outline: 0;
}
#disclaimer .errors {
    clear: both;
    margin: 0 25px 25px;
    text-align: center;
    font-size: 0.8em;
}
#disclaimer input[type='submit'] {
    width: 100%;
    padding: 0;
}
#disclaimer input:disabled {
    background-color: #ffffff;
    color: #cccccc;
    border-color: #cccccc;
    cursor: none;
}
#disclaimer input.selected {
    background-color: #cccccc;
    color: #000;
}
/*** /POPUP LEGAL ***/

/*** ajout diagonale slideshow accueil ***/
#av_section_1.so-diagonal-section {
    background-color: transparent;
    margin-top: -100px;
    z-index: 99;
}

/*** Correction parallax mobile ***/

body.mobile_device div.av-parallax.avia-full-stretch.active-parallax {
    position: fixed !important;
}

/*** Théming images Actualités ***/
.page-id-146 .isotope-item .av-masonry-image-container img,
.page-id-1601 .isotope-item .av-masonry-image-container img,
.page-id-1603 .isotope-item .av-masonry-image-container img {
    height: 165px;
    width: auto;
}

/*** Correction widget Réseaux Sociaux ***/
#footer #text-7 span.av_font_icon {
    margin-right: 20px;
}

/*** David 15/01/2018 : layer arrêt provisoire visites ***/
/* @see martillac.js */
#message-visites-wrapper
    .container
    .entry-content-wrapper
    .av_textblock_section:first-child {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 100;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0);
    transition: all 0.5s;
}

#message-visites-wrapper
    .container
    .entry-content-wrapper
    .av_textblock_section:first-child.visible {
    background-color: rgba(246, 243, 236, 0.75);
}

#message-visites-wrapper
    .container
    .entry-content-wrapper
    .av_textblock_section:first-child
    .avia_textblock {
    display: none;
    position: fixed;
    top: 30%;
    left: 0;
    right: 0;
}

/* --- Correctif SO-DIAGONALS ---*/
.so-diagonal-section > .container {
    z-index: 1;
}

@media screen and (max-width: 680px) {
    body.page-id-20 .container_wrap .avia-builder-el-last {
        margin-bottom: 200px !important;
    }
}

/* --- Smash Balloon Instagram --- */
#sb_instagram .image-overlay {
    display: none !important;
}
