@charset "utf-8";

.h-full {
    height: calc(100vh - calc(100vh - 100%));
}

body {
    font-size: 0.8rem;
    line-height: 1.3;
}

/* introJs fix for step numbering layers centering */

.introjs-helperNumberLayer {
    box-sizing: initial;
}

/* introJs fix for skip/end button color */

.introjs-skipbutton {
    color: #333;
}

.no-border {
    border: none;
}

#footer a {
    font-size: 0.75rem;
}

#banner-settings {
    /*4rem per icon*/
    flex: 0 0 100%;
    max-height: 3rem;
}

div[data-swem-map] [data-id="infos"] {
    position: absolute;
    display: none;
    top: 3rem;
    z-index: 10;
}

div[data-swem-map] [data-id="infos"] p {
    margin-bottom: 0rem;
}

.dropdown label {
    margin-bottom: 0.2rem;
}

.dropdown button span {
    font-size: 0.8rem;
}

.dropdown-menu {
    max-height: 50vh;
    max-width: 95%;
    min-width: 45%;
    overflow: auto;
}

.ol-control.map-ctrl-locateMe {
    position: absolute;
    top: 100px;
}

#searchItemsDropdownMenu>span {
    display: inline-block;
    vertical-align: middle;
}

#searchItemsDropdownMenu>span:first-child {
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.swemVisible {
    visibility: visible;
}

.swemInVisible {
    visibility: hidden;
}

div[data-database-infos] {
    font-size: 0.8rem
}

div[data-swem-weather] {
    height: 230px;
    font-size: 0.8rem;
}

div[data-swem-weather] tr td:first-of-type {
    width: 25%;
}

div[data-swem-weather] td {
    overflow-wrap: anywhere;
}

div[data-swem-weather] img {
    max-width: 100%;
}

div[data-products-tabular] {
    height: 50vh;
}

div[data-products-tabular] .productHeader {
    height: 1.8rem;
    line-height: 0.8rem;
}

div[data-products-tabular] .expertMode .productList {
    max-height: calc(100% - 1.8rem);
}

div[data-products-tabular] .expertMode .productHeader {
    height: 1.8rem;
}

div[data-products-tabular] .productList {
    max-height: calc(100% - 1.8rem);
}

div[data-products-tabular] .expertMode {
    font-size: 0.8rem
}

div[data-products-tabular] .row.selectable {
    cursor: pointer;
}

div[data-products-tabular] .row.selectable:hover {
    background-color: #e2e6ea;
    color: inherit;
}

div[data-products-tabular] .row.selected, div[data-products-tabular] .row.selected:hover {
    background-color: #007bff;
    color: white;
    cursor: inherit;
}

div[data-product-infos-view]>.row:first-child {
    height: 2rem;
}

div[data-product-infos-view]>.row {
    height: calc(100% - 2rem);
}

div[data-product] img.picto {
    width: 4rem;
}

#banner {
    height: 3rem;
}

#main {
    height: calc(100% - 3rem - 3rem - 2.3rem);
    overflow: auto;
    position: relative;
    top: 3rem;
}

#footer {
    height: 2.3rem;
    overflow: hidden;
}

@media (min-height :480px) {

    #banner {
        height: 10vh;
    }

    #main {
        height: calc(100% - 10vh - 3rem - 2.3rem);
        overflow: auto;
    }

    #footer {
        height: 2.3rem;
        overflow: hidden;
    }
}



.search-control {
    padding: 5px 10px;
}

div[data-swem-map] .lux-search {
    margin: inherit;
    left: inherit;
    right: 0;
    width: min(max(20rem, 90%), 520px);
    max-width: 85%;
}

div[data-weather-advice] {
    font-size: min(calc(0.6vw + 0.4rem), 0.8rem);
}

div[data-weather-advice] div[data-days-date] {
    line-height: 1.3;
}

div[data-weather-advice] .noAdvice .bubble {
    background-color: rgba(240, 240, 240, 1);
    /* border-top: 8px solid rgb(240, 240, 240) !important; */
}

div[data-weather-advice] .good .bubble {
    background-color: rgba(69, 117, 180, 1);
    color: white;
    /* border-top: 8px solid rgb(69, 117, 180) !important; */
}

div[data-weather-advice] .moderate .bubble {
    background-color: rgba(254, 227, 145, 1);
    /* border-top: 8px solid rgb(254, 227, 145) !important; */
}

div[data-weather-advice] .bad .bubble {
    background-color: rgba(215, 48, 39, 1);
    color: white;
    /* border-top: 8px solid rgb(215, 48, 39) !important; */
}

div[data-weather-advice] .summary {
    border: 1px solid #dee2e6 !important;
}

div[data-weather-advice] .summary.noAdvice {
    background-color: rgb(240, 240, 240);
}

div[data-weather-advice] .summary.good {
    background-color: rgb(69, 117, 180);
}

div[data-weather-advice] .summary.moderate {
    background-color: rgb(254, 227, 145);
}

div[data-weather-advice] .summary.bad {
    background-color: rgb(215, 48, 39);
}

div[data-weather-advice] .legend-item {
    width: 1rem;
}

div[data-weather-advice] .vcenter {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

div[data-weather-advice] .vcenter {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

div[data-weather-advice] .data-source {
    font-size: 0.6rem;
}

div[data-weather-advice] .data-source .btn {
    font-size: 0.6rem;
}

div[data-weather-advice] .bubble {
    border-radius: 100%;
    width: min(calc(1.2vw + 0.8rem), 1.6rem);
    height: min(calc(1.2vw + 0.8rem), 1.6rem);
    padding: 2.5px 0;
    margin: 0 auto;
}

div[data-tabs] {
    height: 1.9rem;
}

div[data-tabs-content] {
    height: calc(100% - 1.9rem);
}

div.col.d-md-none div[data-tabs-content] {
    height: 70vh;
}

.btn-xs {
    font-size: 0.750rem;
}

#banner-settings .btn {
    line-height: 1.3;
}

#banner-settings select {
    appearance: none;
    -webkit-appearance: none;
    font-size: 1.1rem;
    height: 1.75rem;
    width: 2.3rem;
    padding: 0rem 0rem 0rem 0.3rem;
    text-align: left;
}

[data-id="consentModal"] {
    z-index: 10000001;
}

/* .row.border {
    border-width: 1px 0 0 1px !important;
}
.col.border, [class^="col-"].border {
    border-width: 0 1px 1px 0 !important;
} */

/* bootstrap breakpoint sm */

@media (min-width :576px) {}

/* bootstrap breakpoint md */

@media (min-width :768px) {
    body {
        line-height: 1.5;
    }

    #banner-settings {
        /*4rem per icon*/
        flex: 0 0 12rem;
    }

    #main {
        height: calc(100% - 10vh - 2.3rem);
        position: inherit;
    }

    div[data-products-tabular] {
        height: 20vh;
    }

    .cc-revoke.cc-bottom {
        left: 3rem;
    }
}

/* bootstrap breakpoint lg */

@media (min-width :992px) {
    body {
        font-size: 0.9rem;
    }
}

/* bootstrap breakpoint xl */

@media (min-width :1200px) {}

/* bootstrap breakpoint xxl */

@media (min-width :1400px) {}