/* ======================
   BASE / RESET
====================== */
html {
    font-size: 62.5%;
    font-family: "verdena", sans-serif;
    color: #555;
    background-color: #535353;
}
body {
    font-size: 1.6rem;
    margin: 0;
    height: 100%;
    overflow-x: hidden;
    background-color: #fff;
}
section {
    margin-bottom: 2em;
}
img {
    border: 0;
}
iframe {
    border: 0;
}
span.cache {
    display: none;
}
.clear {
    clear: both;
}
a {
    color: #1c8c81;
    text-decoration: none;
}
a:hover {
    color: #10423f;
    text-decoration: none;
}
hr {
    border-top: #10423f 1px solid;
    margin: 20px 0;
}
em {
    color: #10423f;
}
h1, h2, h3, h4, h5, h6 {
    color: #555555;
    font-weight: bold;
    line-height: 1.2;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}
h1 { font-size: 1.8rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.3rem; }

/* ======================
   GLOBAL LAYOUT
====================== */
#container {
    z-index: 1;
    width: 100%;
    margin: auto;
}
main {
    background-color: #FFF;
}
.wrapper-main { width: 80%; margin: auto; }
.wrapper-larger { width: 90%; margin: auto; }
.wrapper-100 { width: 100%; margin: auto; border-radius: 6px; }
.wrapper-90 { display: block; width: 90%; margin: 0 auto; border-radius: 6px; }
.wrapper-50 { display: block; width: 50%; margin: 0 auto; border-radius: 6px; }

/* ======================
   HEADER
====================== */
header {
    position: relative;
    z-index: 4;
    width: 100%;
}

/* Contacts bar */
#contacts {
    box-sizing: border-box;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    padding: 5px 10px;
    font-size: 0.9em;
    background-color: #EDF6F1;
    color: #4a614c;
    border-bottom: 1px solid #5D7A60;
    z-index: 1000;
}
#contacts .fab {
    background-color: #1c8c81;
    height: 1em;
    width: 1em;
    display: inline-block;
    transition: 0.3s;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    transform: none;
}
#contacts a:hover .fab {
    background-color: #1c8c81;
    transform: scale(1.2);
}
/*.small-icon { width: 16px; }
.button { text-align: center; }
.btn-contact,
.btn-contact-small {
    display: inline-block;
    background: #1c8c81;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}
.btn-contact {
    padding: 10px 18px;
}
.btn-contact:hover,
.btn-contact-small:hover {
    background: #444;
}
.btn-contact-small {
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
}*/

/* ======================
   PHOTOS / IMAGES
====================== */
img.photo-l, img.photo-r {
    border-radius: 50%;
}
.photo-l {
    float: left;
    width: 250px;
    height: auto;
}
.photo-r {
    float: right;
    width: 250px;
    height: auto;
}

/* ======================
   TARIFS / TEXT LAYOUT
====================== */
.hrtarifs { border-top: #666 1px solid; margin: 2px 0; }
.h-tarifs { margin: 0; }
.tarifs {
    float: left;
    width: 50%;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 1.4rem;
}
.subtitle {
    margin: 0 0 20px 0;
    color: #555;
    padding-bottom: 5px;
    border-bottom: 1px solid #555;
}
.left { float: left; text-align: justify; }
.right { float: right; text-align: justify; }
.indexpx { width: calc(100% - 300px); }
.exemple {
    text-align: center;
    text-transform: none;
    font-weight: 600;
    color: #555;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 5px 0;
    margin-bottom: 10px;
}
.inbox { margin-left: 5px; }
.txtleft { width: 99%; margin-right: 1%; }
.txtcenter { width: 98%; margin: auto; }
.txtright { width: 99%; margin-left: 1%; }
.tcenter { text-align: center; }
.halfbox { width: 50%; margin: auto; text-align: center; }

/* ======================
   CLIENTS GRID
====================== */
.clients {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    gap: 15px;
    align-items: center;
}
.clients a {
    display: flex;
    justify-content: center;
    align-items: center;
}
.clients img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ======================
   LOGO / NAV WRAPPER
====================== */
#logo-nav {
    padding-top: 50px;
    background-image: linear-gradient(120deg, white 0%, white 40%, #EDF6F1 75%, #A8D5BA);
}
#logo {
    height: 130px;
    line-height: 130px;
    text-align: center;
    margin-bottom: 20px;
}
.mailtel {
    width: 80%;
    margin: auto;
    padding: 20px 0 0 0;
    text-align: center;
    font-size: 1.6rem;
    color: #10423f;
}
.reslogo { width: 298px; }

/* ======================
   SCROLL-TO-TOP
====================== */
#scroll_to_top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
#scroll_to_top i.fas {
    font-size: 2em;
    color: #1c8c81;
    line-height: 1;
}

/* ======================
   FOOTER
====================== */
footer {
    display: block;
    margin-top: 100px;
    padding: 25px 0 100px 0;
    width: 100%;
    background-color: #eeeeee;
    border-top: 1px solid #10423f;
    color: #555555;
}
footer a { color: #1c8c81; }
.foot {
    text-align: right;
    width: 90%;
    margin: auto;
}

/* ======================
   GENERIC CLASSES
====================== */
.box { box-shadow: 0 4px 5px #ccc; }
.spacer { padding-top: 2em; }
.spacer-plus { padding-top: 3em; }
.article-title {
    color: #10423f;
    width: 100%;
    padding: 5px 0;
    margin-bottom: 50px;
    text-align: center;
    text-transform: uppercase;
    background-image: linear-gradient(90deg, white 0%, white 5%, #1c8c81 95%);
}
.intro {
    text-align: center;
    font-size: 1.4rem;
    margin: 2em 0;
    color: #535353;
}
.light {
    margin-top: 1rem;
    font-size: 1.3rem;
    font-style: italic;
    color: #808080;
}
.titlecol { color: #10423f; text-align: center; }
.mid { width: 95%; margin: auto; }
.pad { padding: 2em; }
.softcolor { background: #1c8c81; }
figcaption.legend {
    margin-top: 0.8rem;
    font-size: 1.3rem;
    font-style: italic;
    color: #555555;
}

/* ======================
   COLUMN CLASSES
====================== */
.c11, .c12, .c13, .c23, .c33, .c14, .c34 { float: left; }
.c11 { width: 100%; }
.c12 { width: 50%; }
.c13 { width: 33.3%; }
.c23 { width: 66.4%; }
.c33 { width: 33.4%; }
.c14 { width: 25%; }
.c34 { width: 75%; }
.c11c { width: 50%; margin: 0 auto; float: none; }

/* ======================
   MOBILE / RESPONSIVE
====================== */
.mobileonly { display: none; }
.youtube-box {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 2%;
}
.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/* ======================
   MEDIA QUERIES
====================== */
@media only screen and (max-width: 999px) {

    /* HEADER */
    #contacts { display: none; }
    .mailtel { width: 100%; padding: 20px 0 0 0; }
    #logo-nav { padding: 20px 0 0 0; }
    #logo { height: auto; line-height: 0; width: 80%; margin: auto; text-align: center; padding-bottom: 10px; }
    .reslogo { width: 50%; }

    /* MAIN */
    .wrapper-main,
    .wrapper-larger { width: 90%; margin: 0 auto; }

    /* FOOTER */
    footer { padding: 20px 0 40px 0; margin-top: 20px; }
    .foot { font-size: 1.5rem; text-align: center; width: 80%; margin: auto; }

    /* HEADINGS */
    h1 { font-size: 1.6rem; }
    h2, h3, h4 { font-size: 1.6rem; }
    h5, h6 { font-size: 1.5rem; }

    /* COLUMNS / TEXT */
    .c11, .c12, .c13, .c23, .c33, .c14, .c34 { width: 100%; }
    .txtleft, .txtcenter, .txtright { width: 100%; }
    .txtleft, .txtright { padding-bottom: 10px; }
    .spacer-plus { padding-top: 20px; }
    .intro { font-size: 1.6rem; margin: 20px 0; }
    .left .right { float: left; text-align: justify; }
    .article-title { margin-bottom: 20px; }
    .indexpx { width: 100%; }
    .photo-l, .photo-r {
        display: block;
        float: none;
        margin: auto;
        width: 100%;
        max-width: 400px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .halfbox { width: 100%; }
    .tarifs { font-size: 1.3rem; }
    .mobileonly { display: block; padding-top: 50px; }
    .clients { grid-template-columns: repeat(3, 1fr); }
}