@font-face {
    font-family: 'sansationregular';
    src: url('../../fonts/Sansation-Regular-webfont.eot');
    src: url('../../fonts/Sansation-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../../fonts/Sansation-Regular-webfont.woff') format('woff'),
         url('../../fonts/Sansation-Regular-webfont.ttf') format('truetype'),
         url('../../fonts/Sansation-Regular-webfont.svg#sansationregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
:root {
    --background: #0D181C;
    --text: #fff;
    --accent: #FDC300;
    --gamme-toitures-inclinees: #FDC300;
    --gamme-toitures-terrasses: #991636;
    --gamme-ombrieres: #323366;
}
/* Selecteur de langue */
.wpml-ls {
    clear: both;
    padding: 30px 0;
}
.wpml-ls ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
}
/* BASE */
a, a:active {
   color: #fff;
   text-decoration: none;
}
a:hover {
    color: #fff;
    text-decoration: none;
}
h1, h2, .h2-like {
    font-family: "sansationregular", "Open Sans", sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}
/* Offline Banner */
#offline-banner {
    position: fixed;
    opacity: 0;
    display: none;
    bottom: 1em;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    font: normal 0.8em sans-serif;
    padding: 0.5em 1em;
    border-radius: 4px;
    overflow: hidden;
    color: #fff;
    background: var(--accent);
    text-transform: uppercase;
    transition: opacity 200ms ease-in-out;
    white-space: pre;
}
[data-connection="offline"] #offline-banner {
    display: inline-block;
    opacity: 1;
}

.domesolar-app {
    background: var(--background);
    color:var(--text);
    font-family: "sansationregular", "Open Sans", sans-serif;
}
/* Loader */
#app-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 3;
}
#app-loader span {
    display: block;
}
#app-loader-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 3;
}
/* Bloc Settings */
.app-settings {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
}
.app-settings-actions {
    text-align: center;
}
#app-information {
    margin-left: 20px;
}
#app-ios-homescreen-prompt {
    display: none;
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 560px;
    max-width: 95%;
    transform: translateX(-50%);
    color: #000;
    margin: 0 auto 15px;
}
#app-ios-homescreen-prompt > div {
    background-color: #fff;
    padding: 5px 10px;
}
#app-ios-homescreen-prompt.show {
    display: block;
}
div#app-ios-homescreen-prompt:before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: #fff transparent transparent transparent;
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
}
img.add-to-home-screen {
    margin-right: 5px;
    vertical-align: text-bottom;
}
img.navigation-action {
    margin: 0 5px;
    vertical-align: text-bottom;
}
/* GENERALS */
.container {
    padding: 2rem;
}
.roundedImage{
    overflow:hidden;
    -webkit-border-radius:50%;
    -moz-border-radius:50%;
    border-radius:50%;
    border: 2px solid #fff;
    background-color: #fff;
}
.box {
    padding: 4rem;
}
/* NAV */
.main-navigation {
    align-items: center;
}
.main-nav-button {
    position: relative;
}
.nav-button {
    position: relative;
    z-index: 11;
}
.main-nav-title {
    font-weight: bold;
}
.main-nav-content {
    position: absolute;
    display: none;
    min-width: 335px;
    top: -1rem;
    right: -1rem;
    background: #FDC300;
    color: #0D181C;
    padding: 5rem 1rem;
    border-radius: 1rem;
    z-index: 10;
}
.main-nav-content a {
    display: block;
    color: #0D181C;
    margin: 0.5rem 0;
    font-weight: bold;
}
.main-nav-content a:hover {
    color: #fff;
}
nav.is-opened .main-nav-content {
    display: inline-block;
}
/* HOME */
.app-home {
    position: relative;
    height: 90vh;
    width: 90vw;
    margin: auto;
}
.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* GAMMES */
.gamme-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    border-radius: 2rem;
    padding: 3rem;
    font-size: 4.5rem;
    text-transform: uppercase;
}
.gamme-button h2 {
    word-spacing: 100vw;
}
/* SINGLE GAMME */
.gamme-categories {
    max-width: 80%;
    margin: auto;
    margin-top: 5rem;
}
.gamme-category_sideDecoration {
    position: relative;
    border-left: 1px solid #fff;
    padding: 0 0 0rem 3rem;
    margin-bottom: 3rem;
    min-height: 9rem;
}
.gamme-category_sideDecoration:before,
.gamme-category_sideDecoration:after {
    position: absolute;
    top: 17px;
    left: 0;
    width: 0;
    height: 0;
    border: solid transparent;
    content: '';
    pointer-events: none;
}
.gamme-category_sideDecoration:before {
    margin-left: 0;
    border-width: 10px;
    border-left-color: #fff;
}
.gamme-category_sideDecoration:after {
    margin-left: -2px;
    border-width: 10px;
    border-left-color: #0D181C;
}
.gamme-category {
    margin-bottom: 5rem;
}
.gamme-category h2 {
    line-height: 1;
}
.gamme-product {
    display: flex;
    align-items: center;
}
.gamme-product:not(:last-child) {
    margin-bottom: 2rem;
}
.gamme-products .product-title {
    margin-left: 2rem;
}
.gamme-products .product-name {
    font-weight: bold;
}
.gamme-products .product-image,
.gamme-products .product-title {
    display: inline-block;
    vertical-align: middle;
}
.gamme-products .product-image {
    min-width:100px;
    width:100px;
    height:100px;
}
/* SINGLE PRODUCT */
.product {
    padding: 0 4rem;
}
nav.product-navigation h1 {
    display: inline-block;
    width: 40%;
    text-align: right;
    padding-right: 4rem;
    vertical-align: middle;
}
.tabs-menu-button {
    display: inline-block;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 1rem;
    padding: 1rem 2rem;
    font-size: 2.0rem;
    font-weight: normal;
    text-transform: initial;
    vertical-align: middle;
    margin-right: 1rem;
    cursor: pointer;
    white-space: normal;
}
.tabs-menu-button:hover,
.tabs-menu-button:focus,
.tabs-menu-button.active {
    background: #fff;
    color: #000;
    outline: none;
}
.tabs-content-item:not(:first-child) {
    display: none;
    animation: fadeEffect 1s;
}
/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}
.split-2-5 {
    float: left;
    width: 40%;
}
.split-3-5 {
    width: 60%;
    float: right;
}
#visuels.no-split {
    display: none;
}
#tabs-content.no-split {
    width: 100%;
}
#visuels {
    position: relative;
    margin-top: 1rem;
}
#tabs-content {
    margin-top: 1rem;
}
#tabs-content .tableDecorationBatman {
    border: none;
    border-collapse: separate;
    border-spacing: 0rem 1rem;
}
#tabs-content .tableDecorationBatman .table-td {
    border: none;
    border-left: 5px solid #fff;
    background: #313130;
}
.tableDecorationCatwoman thead {
    color: #fff;
    background: #313130;
}
.tableDecorationCatwoman td, .tableDecorationCatwoman th {
    border: 1px solid #313130;
}
.tableDecorationCatwoman th {
    padding: 0 1rem;
    text-transform: uppercase;
}
.tableDecorationCatwoman td {
    padding: 1rem;
    word-wrap: break-word;
}
.table span.title {
    text-transform: uppercase;
    font-weight: bold;
}
#certifications .table span.title {
    display: inline-block;
    padding: 1.5rem 0;
}
.certifications-list {
    margin-bottom: 2rem; 
}
.certification-badge {
    display: inline-block;
    background: #fff;
    color: #0D181C;
    border-radius: 1.5rem;
    width: 14rem;
    height: 13rem;
    text-align: center;
    vertical-align: top;
    margin-right: 2rem;
}
.certification-badge.periode-validite .badge-top,
.certification-badge.certif .badge-bottom {
    font-weight: bold;
    text-transform: uppercase;
}
.badge-top {
    padding: 1rem;
    border-bottom: 1px solid rgba(13,24,28,0.3);
}
.badge-bottom {
    padding: .4rem;
    line-height: 1.2em;
}
.certification-badge.certif .badge-top img {
    height: 5em;
}
.certification-badge.certif .badge-bottom {
    font-size: .7em;
}
/* Compatibilite */
#compatibilite .btn-tools {
    display: inline-block;
    width: 6%;
    vertical-align: top;
}
#compatibilite .col-table {
    display: inline-block;
    width: 93%;
}
#compatibilite tr.title {
    font-size: 17px;
    font-weight: 700;
}
/* Realisations */
#realisations {
    display: none;
    clear: both;
}
.product-realisations {
    background: #313130;
    text-align: left;
    height: 100%;
    overflow: auto;
}
.product-realisations h2 {
    color: #FDC300;
    padding: 5rem;
}
.realisations-items-list {
    padding: 0 2rem;
}
.realisations-items-list .item {
    display: inline-block;
    margin: 8px;
}
.realisations-items-list .item-content {
    position: relative;
    overflow: hidden;
    width: 202px;
    height: 202px;
    border: 2px solid #FDC300;
}
.realisations-items-list .thumbnail {
    position: relative;
    z-index: 1;
    display: block;
}
.realisations-items-list .bottom {
    position: absolute;
    bottom: 0px;
    left: 0;
    text-align: center;
    z-index: 2;
    display: block;
    height: 78px;
    background: rgba(253,195,0, 0.5);
    color: #0D181C;
    padding: .3em 1em;
}
/* Video */ 
#video {
    display: none;
}
.product-video iframe {
    width: 100vw;
    height: calc(780px * 0.56282051);
    max-width: 780px;
}
/* Visuels */
#visuels {
    position: relative;
    margin-top: 3rem;
}
.visuel-1 {
    position: relative;
    width: 300px;
    height: 300px;
    margin-left: 100px;
    z-index: 2;
}
.visuel-1 > div,
.visuel-1 img {
    height: 100%;
}
.visuel-2 {
    position: relative;
    margin-top: -200px;
    z-index: 1;
}
.visuel-btn-zoom {
    position: absolute;
    top: 0;
    right: 0;
    background: #FDC300;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    padding: 0;
}
.visuel-1 .visuel-btn-zoom {
    right: 10%;
}
.visuel-2 .visuel-btn-zoom {
    top: auto;
    bottom: 20%;
    right: 35%;
}
.visuel-btn-zoom:before {
    content: "+";
    font-family: sans-serif;
    position: absolute;
    font-size: 5rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* Btn Tools */
.btn-tools button {
    background: transparent;
}
.btn-tools button:focus {
    outline: none;
}
/* SINGLE REALISATION */
.realisation {
    padding: 0 4rem;
}
.realisation #projet, .realisation #photos {
    padding-top: 1em;
    padding-left: 2em;
}
.realisation #projet .text {
    background: #313130;
    border-left: 5px solid #FDC300;
    padding: .3rem .6rem;
}
.realisation .carousel > div {
    display: inline-block;
    margin: 12px;
}
.back-to-product {
    margin-bottom: 1em;
    white-space: normal;
}
/* Modal */
#modal {
    display: none;
    position: fixed;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    background: #0D181C;
    z-index: 12;
}
#modal.open {
    display: block;
}
#modal-container {
    position: relative;
    padding: 2em;
    text-align: center;
    width: 100%;
    height: 100%;
}
#modal-container > img {
    max-width: 100%;
    max-height: calc(100vh - 4em);
}
#modal-close {
    position: absolute;
    top: 3em;
    right: 3em;
}
/* Close Button */
.close {
  position: relative;
  background: none;
}
.close:hover {
  opacity: 1;
}
.close:before, .close:after {
  position: absolute;
  top: 0;
  left: 15px;
  content: ' ';
  height: 33px;
  width: 2px;
  background-color: #fff;
}
.close:before {
  transform: rotate(45deg);
}
.close:after {
  transform: rotate(-45deg);
}
/* Accordion styles */
.tabs input {
  position: absolute;
  opacity: 0;
  z-index: 1;
}
.tabs {
  overflow: hidden;
}
.tab {
  width: 100%;
  overflow: hidden;
}
.tab-label {
    position: relative;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    border-bottom: 1px solid #000;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.tab-content {
  max-height: 0;
  transition: all .35s;
  padding-top: 5px;
}
.tab-close {
  display: flex;
  justify-content: flex-end;
  cursor: pointer;
}
.tabs input:checked ~ .tab-content {
  max-height: 100vh;
}
.tab-label:before,
.tab-label:after {
    position: absolute;
    top: 100%;
    left: 30%;
    width: 0;
    height: 0;
    border: solid transparent;
    content: '';
    pointer-events: none;
}
.tab-label:before {
    margin-left: -11px;
    border-width: 11px;
    border-top-color: #000;
}
.tab-label:after {
    margin-left: -10px;
    border-width: 10px;
    border-top-color: #FDC300;
}

/* RESPONSIVE */
@media (max-width: 1500px) {
    /* Page produit */
    .visuel-1 {
        width: 200px;
        height: 200px;
    }
    .visuel-2 {
        margin-top: -100px;
    }
}
@media (max-width: 1200px) {
    /* Page produit */
    nav.product-navigation {
        text-align: center;
    }
    nav.product-navigation h1 {
        width: 100%;
        text-align: center;
        padding-right: 0;
    }
    .tabs-menu-button {
        margin-bottom: 1rem;
    }
    #compatibilite .btn-tools,
    #compatibilite .col-table {
        width: 100%;
    }
    #modal {
        width: 100%;
    }
}
@media (max-width: 992px) {
    .split-2-5 {
        float: none;
        width: 100%;
    }
    .split-3-5 {
        float: none;
        width: 100%;
    }
    #visuels {
        display: grid;
        -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2,1fr);
        grid-gap: 2rem;
    }
    .visuel-1 > div,
    .visuel-1 img {
        height: auto;
    }
    .visuel-1 {
        margin-left: 0;
        width: 100%;
        height: auto;
    }
    .visuel-1 .roundedImage {
        overflow: auto;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        border: none;
    }
    .visuel-1 .visuel-btn-zoom {
        right: 5%;
        top: 5%;
    }
    .visuel-2 {
        margin-top: 0;
    }
    .visuel-2 .visuel-btn-zoom {
        top: 5%;
        bottom: 0%;
        right: 5%;
    }
    .btn-tools {
        grid-column: auto/span 2;
    }
    .certification-badge {
        margin-right: 1rem;
        margin-bottom: 1rem;
    }
}
@media (max-width: 575px) {
    .gamme-button {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    /* PRODUCT */
    .realisations-items-list {
        padding: 0;
    }
}
@media (max-width: 480px) {
    /* HEADER */
    [class*=grid-][class*=-tiny-3] {
        -ms-grid-columns: (1fr)[3];
        grid-template-columns: repeat(3,1fr);
    }
    .main-navigation {
        display: grid;
    }
    .main-nav-logo {
        grid-column: auto/span 2;
    }
    .main-nav-button {
        order: 0;
    }
    .main-nav-content {
        min-width: 80vw;
    }
    .main-nav-title {
        margin-top: 20px;
        grid-column: auto/span 3;
    }
    .gamme-categories {
        margin-top: 0px;
    }
    /* Page produit */
    .product {
        padding: 0 2rem;
    }
    .tabs-menu-button {
        width: 100%;
    }
    #visuels {
        display: block;
    }
    .btn-tools button {
        padding: 1rem .5rem;
    }
    .realisations-items-list {
        text-align: center;
    }
    /* Page realisation */
    .realisation {
        padding: 0 2rem;
    }
    .realisation #projet, .realisation #photos {
        padding-top: 1em;
        padding-left: 0;
    }
    .realisation #photos {
        text-align: center;
    }
}

/* COLOR BY GAMME */
.gamme-toitures-inclinees.border-color,
.gamme-toitures-inclinees .border-color,
.gamme-toitures-inclinees #tabs-content .tableDecorationBatman .table-td,
.pitched-roof-range.border-color,
.pitched-roof-range .border-color,
pitched-roof-range #tabs-content .tableDecorationBatman .table-td {
    border-color: #FDC300;
}
.gamme-toitures-inclinees .tab-label:after,
.pitched-roof-range .tab-label:after {
    border-top-color: #FDC300;
}
.gamme-toitures-inclinees .text-color,
.gamme-toitures-inclinees a.hover-color:hover,
.pitched-roof-range .text-color,
.pitched-roof-range a.hover-color:hover {
    color: #FDC300;
}
.gamme-toitures-inclinees .tabs-menu-button:hover,
.gamme-toitures-inclinees .tabs-menu-button:focus,
.gamme-toitures-inclinees .tabs-menu-button.active,
.pitched-roof-range .tabs-menu-button:hover,
.pitched-roof-range .tabs-menu-button:focus,
.pitched-roof-range .tabs-menu-button.active {
    background: #FDC300;
}
.gamme-toitures-inclinees .bg-color,
.pitched-roof-range .bg-color {
    background: #FDC300;
}
.gamme-toitures-inclinees .bg-alpha-color,
.pitched-roof-range .bg-alpha-color {
    background: rgba(253,195,0, 0.5);
}
.gamme-toitures-terrasses.border-color,
.gamme-toitures-terrasses .border-color,
.gamme-toitures-terrasses #tabs-content .tableDecorationBatman .table-td,
.flat-roof-range.border-color,
.flat-roof-range .border-color,
.flat-roof-range #tabs-content .tableDecorationBatman .table-td {
    border-color: #991636;
}
.gamme-toitures-terrasses .tab-label:after,
.flat-roof-range .tab-label:after {
    border-top-color: #991636;
}
.gamme-toitures-terrasses .text-color,
.gamme-toitures-terrasses a.hover-color:hover,
.flat-roof-range .text-color,
.flat-roof-range a.hover-color:hover {
    color: #991636;
}
.gamme-toitures-terrasses .bg-color,
.flat-roof-range .bg-color {
    background: #991636;
}
.gamme-toitures-terrasses .bg-alpha-color,
.flat-roof-range .bg-alpha-color {
    background: rgba(153, 22, 54, 0.5);
    color: #fff;
}
.gamme-toitures-terrasses .tabs-menu-button:hover,
.gamme-toitures-terrasses .tabs-menu-button:focus,
.gamme-toitures-terrasses .tabs-menu-button.active,
.flat-roof-range .tabs-menu-button:hover,
.flat-roof-range .tabs-menu-button:focus,
.flat-roof-range .tabs-menu-button.active {
    background: #991636;
}
.gamme-ombrieres.border-color,
.gamme-ombrieres .border-color,
.gamme-ombrieres #tabs-content .tableDecorationBatman .table-td,
.canopies-range.border-color,
.canopies-range .border-color,
.canopies-range #tabs-content .tableDecorationBatman .table-td {
    border-color: #323366;
}
.gamme-ombrieres .tab-label:after,
.canopies-range .tab-label:after {
    border-top-color: #323366;
}
.gamme-ombrieres .text-color,
.gamme-ombrieres a.hover-color:hover,
.canopies-range .text-color,
.canopies-range a.hover-color:hover {
    color: #323366;
}
.gamme-ombrieres .tabs-menu-button:hover,
.gamme-ombrieres .tabs-menu-button:focus,
.gamme-ombrieres .tabs-menu-button.active,
.canopies-range .tabs-menu-button:hover,
.canopies-range .tabs-menu-button:focus,
.canopies-range .tabs-menu-button.active {
    background: #323366;
}
.gamme-ombrieres .bg-color,
.canopies-range .bg-color {
    background: #323366;
}
.gamme-ombrieres .bg-alpha-color,
.canopies-range .bg-alpha-color {
    background: rgba(50, 51, 102, 0.5);
    color: #fff;
}