html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-size: smaller;
    color: #575757;
}

#app {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

#viewDiv {
    /* height: 600px; */
    /* height: calc(100%-300px);
    height: -moz-calc(100%-300px);
    height: -webkit-calc(100%-300px); */
    width: 100%;
    padding: 0;
    margin: 0;
}

p {
    line-height: normal !important;
    margin-bottom: 0.5rem !important;
}

#grafico {
    height: 300px;
}

.esri-widget--button {
    background-color: darkgray !important;
    color: white !important;
}

.esri-component.esri-attribution.esri-widget {
    display: none;
}

button#hide-seen {
    border: 0;
    background: white;
    padding: .375rem .75rem .375rem .75rem;
    color: #495057;
}

.intestazione_c {
    /* font-variant: small-caps; */
    font-weight: 400;
    font-size: 16px;
    color: gray;
    /* color: #333; */
    margin-bottom: 5px;
    /* margin-bottom: 0px; */
}

.esri-input.esri-search__input::placeholder {
    color: red;
}

.col-2 {
    text-align: right;
}

button.esri-search__sources-button.esri-widget--button {
    display: none;
}

input.esri-input.esri-search__input {
    /* border: 1px solid lightgray; */
    border: 1px solid #245399;
    /* border: 1px solid darkred; */
    border-radius: .25rem;
}

select#__BVID__4 {
    border: 2px solid #245399;
    /* border: 1px solid #245399; */
    /* border: 1px solid darkred; */
    border-radius: .25rem;
    padding: 6px;
    width: 100%;
    /* larghezza tendina laghi */
    background: #bee8ff;
    color: #245399;
    font-weight: bold;
}

select#__BVID__5 {
    border: 2px solid #245399;
    /* border: 1px solid #245399; */
    /* border: 1px solid darkred; */
    border-radius: .25rem;
    padding: 6px;
    width: 100%;
    /* larghezza tendina spiagge */
    background: #bee8ff;
    color: #245399;
    font-weight: bold;
}

/* fieldset#__BVID__3 {
    padding: 0 0 5px 0px;
} */

button.esri-search__submit-button.esri-widget--button {
    display: none;
}

.esri-search {
    display: inline !important;
}

img#pallino {
    width: 1%;
    vertical-align: text-top;
}

@media only screen and (max-width: 767px) {

    htlm,
    body {
        font-size: small;
        line-height: 1 !important;
    }

    button#example-datepicker {
        display: none;
    }

    button.btn.btn-outline-primary {
        display: none;
    }

    /* #viewDiv {
        height: 300px;
    } */

    img#pallino {
        width: 2%;
    }

    p.p-3 {
        padding: 0px !important;
    }

    h1 {
        text-align: center;
    }

    div#app {
        background-image: url(img/SfondoHome.png);
        /* background-image: url(https://webgis.arpa.piemonte.it/agportal/sharing/rest/content/items/d1720a8e645047b298b9350516c45da5/resources/images/widget_4/1652955329513.JPG?token=eVAZ56pmZuEN2X4rqUJaVPCcW4FCYMyjYiprNkvgNrOzjy-dsLRCOfkHp8X-j5NGwERgUaek8unqggXgcFNytsVXb-AIq8tbBFzf-SwMGmD4qcTvOly7gWcHFqZcij2e5QK_W9CWxfw1gsPTUSxQyIbDaVZhIjTL2vTFq4-sHTTsnWjtiT8W_WPFJcPi-V3Yqfe_5HvrvO-OSRtfLGjpvqUZ1TI_yZf4SwYKnnZxLuc.);                           */
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }

    select#__BVID__4 {
        margin-top: 5px;
    }

    /* img {
        height: 25px;
    } */

    i.fas.fa-umbrella-beach {
        font-size: large;
    }

    i.fas.fa-map {
        font-size: large;
    }

    .nav-link {
        color: #818387 !important;
    }

    .nav-tabs .nav-item.show .nav-link,
    .nav-tabs .nav-link.active {
        color: rgb(36, 83, 153) !important;
        border-color: #ffffff gray #ffffff #ffffff !important;
        /* border-color: #6c757d #6c757d #ffffff !important;  */
        border-radius: 0 !important;
    }

    .btn-outline-primary {
        width: 100%;
        color: white !important;
        /* color: #625d5d !important; */
        border-color: rgb(36, 83, 153) !important;
        background-color: #f06f22 !important;
        /* background-color: #f06f22 !important; */
        font-weight: bold !important;
        /* font-weight: 800 !important; */
    }

    /* .btn-outline-primary {
        color: rgb(36, 83, 153) !important;
        border-color: rgb(36, 83, 153) !important;
        font-weight: 800 !important;
    }     */

    div#card {
        margin-top: 5px;
    }

    div#intestazione {
        /* background: #ebe8e8; */
        /* background: #cbcaca; */
        /* background: lightgray; */
        background: white;
        padding-top: 2px !important;
    }

    .row {
        /* background: #ebe8e8; */
        /* background: #cbcaca; */
        /* background: lightgray; */
        background: white;
    }

    div#tabs {
        color: white;
        /* color: #e7f7d6; */
        font-weight: bold;
    }

    ul#tabs__BV_tab_controls_ {
        text-align: center;
        background: white;
    }

    iframe {
        height: 600px;
    }

    img.esri-component {
        width: 40%;
    }

    label {
        /* font-size: small !important; */
        font-size: 1.6em !important;
    }

    select#__BVID__3,
    select#__BVID__4,
    select#__BVID__5 {
        font-size: larger;
        margin-bottom: 0.2rem !important;
        width: 100%;
        text-align: center;
        background: white;
        line-height: 20px;
    }

    /* .btn-outline-primary { */
    /* width: 100%; */
    /* background-color: lightgray !important; */
    /* background-color: #ebe8e8 !important; */
    /* }   */

    p {
        font-size: medium !important;
        /* font-size: small !important; */
    }

    .col-12 {
        /* font-size: larger; */
        font-size: smaller;
        padding: 0 !important;
    }

    select#__BVID__4, select#__BVID__5 {
        appearance: none;
    }

    .intestazione_c.col-12 {
        font-size: larger;
        /* margin: 5px; */
    }

    /* .col-4 {
        padding-right: 1px !important;
        padding-left: 1px !important; 
    }*/

    div#header {
        padding: 0;
        margin: 0;
    }

    img#logoarpacolori_trasparente {
        height: 30px !important;
        /* height: 25px !important; */
        float: right !important;
    }

    img#logo_snpa_transp {
        height: 30px !important;
        /* height: 25px !important; */
        float: right !important;
    }

    .col-3 {
        padding: 0 5px 0 5px !important;
    }

    .mt-3 {
        margin-top: 0.5rem !important;
    }

    .esri-view-width-xsmall .esri-expand--auto .esri-expand__container--expanded .esri-expand__panel {
        padding: 1rem 3rem 1.023rem 1.023rem !important;
        /* padding: 1rem 1.023rem 1.023rem 1.023rem !important; */
    }

    .esri-ui-bottom-right .esri-menu,
    .esri-ui-bottom-left .esri-menu {
        top: 100% !important;
        bottom: auto !important;
    }

    button#hide-seen {
        font-size: smaller;
    }

    .btn {
        font-size: smaller !important;
        padding: 0 !important;
    }

    .intestazione_c {
        font-size: smaller;
        /* font-size: x-small; */
    }

    .esri-input.esri-search__input {
        font-size: smaller !important;
    }

    img#logoGeoportale {
        display: none;
    }
}