/*
Theme Name: MerTerre
Theme URI: https://github.com/elementor/hello-theme/
Description: A child theme of Hello Elementor, created by Elementor team
Author: Mikael Mockel
Author URI: https://www.infostrates.com
Template: hello-elementor
Version: 1.0.0
Text Domain: merterre
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

body {
    min-width: 320px;
}
.site-main {
    max-width: inherit !important;
}
.mt-container {
    max-width: 1140px !important;
    margin-left: auto;
    margin-right: auto;
}
section {
    padding-left: 10px;
    padding-right: 10px;
}
@media (max-width: 767px) {
    .mt-container {
        max-width: 767px;
    }
}
@media (max-width: 1024px) {
    .mt-container {
        max-width: 1024px;
    }
}

h1 {
    text-align: center;
}
.mt-titre-header {
    padding: 10px 10px 90px;
    margin-bottom: 70px;
}
@media (max-width: 1024px) {
    .mt-titre-header {
        padding: 45px 10px 45px;
        margin-bottom: 70px;
    }
}

.mt-titre-header h1 {
    padding: 0;
    margin: 0 0 70px;
}
.mt-titre-header .vagues {
    text-align: center;
}
@media (max-width: 768px) {
    .mt-titre-header h1 {
        margin-bottom: 35px;
    }
}

h1 span, h2 span, h3 span, h4 span, h5 span, h6 span {
    color: #4194D1;
}


/* Safari 4.0 - 8.0 */
@-webkit-keyframes infiniteRotate {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
/* Standard syntax */
@keyframes infinite-rotate {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
.rotate-element img {
    /*width: 55px;*/
    /*height: 55px;*/
    /*background-color: green;*/
    -webkit-animation: infiniteRotate 2s linear infinite; /* Safari */
    animation: infiniteRotate 10s linear infinite;
}
.rotate-element:after {
    content: '';
    width: 37px;
    height: 37px;
    background-image: url("assets/images/picto_arrow.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    top: calc( 50% - 18px );
    right: 93px;
}
@media (max-width: 1024px) {
    .rotate-element:after {
        width: 18px;
        height: 18px;
        top: calc( 50% - 9px );
        right: 58px;
    }
}

@media (max-width: 768px) {
    .rotate-element:after {
        width: 25px;
        height: 25px;
        top: calc( 50% - 12px );
        right: calc( 50% - 12px );
    }
}

/* breadcrumbs */
#breadcrumbs i {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 10px;
    background-color: currentColor;
    border-radius: 50%;
    vertical-align: middle;
}
#breadcrumbs > span > span:first-child {
    position: relative;
    padding-left: 20px;
}
#breadcrumbs > span > span:first-child:before {
    position: absolute;
    left: 0;
    bottom: 1px;
    content:"";
    width: 14px;
    height: 14px;
    background-image: url("assets/images/breadcrumbs-home.png");
    background-position: center;
    background-size: auto;
    background-repeat: no-repeat;
}
#breadcrumbs a {
    font-size: 12px;
    font-weight: 700;
}
/* FIN breadcrumbs */
/* animation boutons */
.elementor-button {
    position: relative;
    overflow: hidden;
    z-index: 0;
}
.elementor-button:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #D4B784;
    border-radius: 20px;
    z-index: -2;
}
.elementor-button:before {
    content: "";
    position: absolute;
    bottom: -145px;
    left: 0;
    width: 100%;
    height: 145px;
    background-color: #A88952;
    transition: all 0.7s;
    border-radius: 200px 200px 0 0;
    z-index: -1;
}
.elementor-button:hover:before {
    bottom: 0;
}


/* déclinaisons couleur */
.btn-negative .elementor-button:after {
    background-color: transparent;
    border: 2px solid #D4B784;
}
.btn-negative .elementor-button:before {
    background-color: #A88952;
}
.btn-negative .elementor-button:hover {
    color: white !important;
    border-color: #A88952;
}

.btn-blanc-negative .elementor-button:after {
    background-color: transparent;
    border: 2px solid white;
}
.btn-blanc-negative .elementor-button:before {
    background-color: white;
}
.btn-blanc-negative .elementor-button:hover {
    color: #1951A0 !important;
    border-color: white;
}

.btn-bleu .elementor-button:after {
    background-color: #1951A0;
    border: 2px solid #1951A0;
}
.btn-bleu .elementor-button:before {
    background-color: #092854;
}
.btn-bleu .elementor-button:hover {
    color: white !important;
    border-color: #092854;
}

.btn-bleu-negative .elementor-button:after {
    background-color: transparent;
    border: 2px solid #1951A0;
}
.btn-bleu-negative .elementor-button:before {
    background-color: #1951A0;
}
.btn-bleu-negative .elementor-button:hover {
    color: white !important;
    border-color: #1951A0;
}

.btn-bleu2-negative .elementor-button:after {
    background-color: transparent;
    border: 2px solid #4194D1;
}
.btn-bleu2-negative .elementor-button:before, .btn-bleu2-negative .elementor-button.active {
    background-color: #4194D1;
}
.btn-bleu2-negative .elementor-button:hover, .btn-bleu2-negative .elementor-button.active {
    color: white !important;
    border-color: #4194D1;
}
/* FIN animation boutons */


/* language switcher */
.trp-language-switcher {
    margin: 0;
    height: inherit;
    width: inherit;
    display: inline-block;
}
.trp-language-switcher > div {
    border: 2px solid white;
    background-color: transparent;
    border-radius: 14px;
    background-image: linear-gradient(45deg, transparent 50%, white 50%), linear-gradient(135deg, white 50%, transparent 50%);
    background-position: calc(100% - 13px) calc(1em + -7px), calc(100% - 8px) calc(1em + -7px);
    background-size: 5px 5px, 5px 5px;
    position: relative;
    top: -1px;
    width: 56px !important;
    padding: 4px 20px 3px 5px;
}
.trp-language-switcher > div:hover {
    background-image: linear-gradient(45deg, transparent 50%, white 50%), linear-gradient(135deg, white 50%, transparent 50%);
}
.trp-language-switcher:focus .trp-ls-shortcode-language, .trp-language-switcher:hover .trp-ls-shortcode-language {
    padding: 4px 20px 3px 5px;
}
.trp-language-switcher > div a {
    font-size: 10px;
    line-height: 16px;
    color: white;
    font-weight: 700;
    padding: 0 5px;
}
.trp-language-switcher > div > a:hover {
    background-color: transparent;
}

@media (max-width: 768px) {
    .trp_language_switcher_shortcode {
        text-align: center;
    }
    .trp-language-switcher > div {
        top: 0px;
    }
}
@media (max-width: 1024px) {
    .trp-language-switcher > div {
        top: 0px;
    }
}
/* FIN language switcher */

/*
body.sticked {
    margin-top: 110px;
}
header.sticked {
    display: block;
    position: fixed;
    width: 100% !important;
    background-color: #FFFFFF !important;
    margin-top: -110px;
    box-shadow: 0px -26px 96px rgba(0, 0, 0, 0.25);
}
header.sticked.scrolleddown {
    display: none;
}
*/
    /* boutons clonés pour menu mobile */
    .nav-btns-cloned, .nav-share-cloned {
        display: block !important;
    }

    .nav-btns-cloned a {
        padding: 10px 22px !important;
        color: white !important;
    }
    .nav-btns-cloned .btn-negative a {
        color: #D4B784 !important;
    }

    .nav-share-cloned {
        background-color: #1951A0;
        color: white;
        text-align: center;
    }
    /* FIN boutons clonés pour menu mobile */
}

