
/*   ENG */

.responsive {
    width: auto;
    height: 100%;
}

.legend {
    line-height: 18px;
    color: #555;
}

.legendProbabilita {
    line-height: 18px;
    color: #555;
}
.prob_information {
    padding-bottom: 5px;
}
.info {
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}

.mapcontrol{
   background-color:#f5f5f5;
   width: 100%;
   height:100px;
   background-color:#e4e4e4;
   position: relative;
}

.dayShifterLeft{
    position:absolute;
    left:0px;
    top:0px;
    width: 34px;
    height: 98px;
    background-color:#103a60;
    color: white;
    padding-top: 22px;
    padding-left: 10px;
    font-size:28px;
    line-height:50px;
    cursor: pointer;
    display:none;
}


.dayShifterRight{
    position:absolute;
    right:0px;
    top:0px;
    width: 34px;
    height: 100px;
    background-color:#103a60;
    color: white;
    padding-top: 22px;
    padding-left: 10px;
    font-size:28px;
    line-height:50px;
    cursor: pointer;
}


.controlDaysFirstRow, .controlDaysSecondRow{
    padding-left:1%;
    background-color:#e4e4e4;
}
.controlDaysFirstRow .day{
    display: block;
    float:left;
    width:33%;
    text-align:center;
    background-color:#e4e4e4;
    padding-top:35px;
}

.controlDaysSecondRow .day{
    width: 33%;
    display: block;
    float:left;
    text-align:center;
    font-size: 16px;
    font-weight: 700;
    color: #001436;
    background-color:#e4e4e4;
    line-height:30px;
    height:30px;
}


.dashtime , .dashtimeselected {
    border:solid 1px #bcbcbc;
    background-color:white;
    height: 10px;
    width: 36px;
    display:inline-block;
    margin-right: 4px;
    cursor:pointer;
}

.dashtimeselected{
    border:solid 1px #103a60;
    background-color:#103a60;
    position:relative;
}

.tooltip{
    display: none;
    font-size:14px;
    color:white;
    width:96px;
    height: 37px;
    line-height:30px;
    position:absolute;
    top: -40px;
    left: -30px;
    z-index:1000;
    background: url('../img/tooltip.png');
    background-repeat: no-repeat;
    background-position: center center;
}

.dashtimeselected .tooltip{
    display:block;
}

.controlLayersContainer{
    position: relative;
}

.controlLayersMenu {
    position: absolute;
    border: solid 1px #d5d9db;
    background-color: #e2f4f8;
    left: 22px;
    bottom: 22px;
    z-index: 1000;
    box-shadow: 0px 8px 32px #0B162C1A;
    opacity: 0.85;
}

.controlLayersList, .controlLayersMenuTop {
    display:none;
}

/* INIZIO PROVA */
@keyframes spinner {
  to {transform: rotate(360deg);}
}

.spinner:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  /* top: 50%;
  left: 50%; */
  top: 35px;
  right: 80px;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  margin-left: -15px;
  border-radius: 60%;
  border: 5px solid #cccccc;
  border-top-color: #103A60;
  animation: spinner .6s linear infinite;
}
.disabledbutton {
    pointer-events: none;
    opacity: 0.6;
}
/* FINE PROVA */

.layerItem, .layerItemSel{
    border-bottom: solid 1px #d5d9db;
}

.layerItem, .layerItemSel, .layerItemBot, .layerItemTop {
    width: 400px;
    padding-top: 20px;
    padding-bottom:20px;
    padding-left:10px;
    padding-right:10px;
    overflow:hidden;
    color: black;
    margin-left: 14px;
    margin-right: 4px;
    font-size: 16px;
    cursor:pointer;
}

.layerItem:hover {
   background-color: white;
}

.layerItemSel{
    background-color: white;
    font-weight: bold;
    cursor:pointer;
}

.layerItemTop span, .layerItemBot span{
    float:right;
    font-size: 14px;
    cursor:pointer;
}

.layerItemTop span:after {
    content: "\2304";
}

.layerItemBot span:after {
    content: "\2303";
}

.controlLayersMenuTop {
    background-color: #d5d9db;
    padding: 5px;
}

.controlLayersMenuBot {
    background-color: #e2f4f8;
    padding: 5px;
}


html,body{
    height: 100% !important;
    margin: 0;
}

.map{
    height: 600px;
}

@media all and (max-width: 767px) {
    .map{
        height: 348px;
    }
    .controlLayersMenu{
        left:0;
        right:0;
        bottom:-69px;
        background-color: #fff;
    }
    .layerItem, .layerItemSel{
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .controlLayersMenuTop{
        background-color: #fff;
    }
    .controlLayersMenuBot{
        background-color: #fff;
    }

    .layerItem, .layerItemSel, .layerItemBot, .layerItemTop {
        width: 100%;
        margin-left: 0px;
        margin-right: 0px;
        box-sizing: border-box;
    }
    .mapcontrol{
        height: 87px;
        margin-top: 69px;
    }
    .controlDaysFirstRow, .controlDaysSecondRow{
        padding-left: 0;
    }
    .controlDaysFirstRow .day{
        width:100%;
        padding-top: 40px;
    }
    .controlDaysFirstRow .second, .controlDaysSecondRow .second,
    .controlDaysFirstRow .third, .controlDaysSecondRow .third{
        display: none;
    }
    .dashtime, .dashtimeselected{
        width: 12.5%;
        height: 40px;
        display: inline-block;
        margin-right: 0px;
        cursor: pointer;
        background: #F4F4F4;
        position:relative;
        border:0;
        border-right:1px solid #EAEDF3;
        box-sizing: border-box;
    }
    .dashtime .tooltip, .dashtimeselected .tooltip{
        bottom:0;
        left:0;
        right:0;
        top:0;
        width: auto;
        height: auto;
        background: #F4F4F4;
        color: #656464;
        line-height: 20px;
        display: block;
        font-size: 10px;
        line-height: 12px;
        font-weight: 300;
        cursor:pointer;
    }
    .dashtimeselected .tooltip{
        top: -15px;
        padding-top: 10px;
        line-height: 13px;

        background: #103A60;
        color: #fff;
    }
    #firstDay{
        width:auto;
        position:absolute;
        top:0;
        height: 27px;
        left:34px;
        right:34px;
        text-align: center;
        color: #001436;

        font-size: 16px;
        line-height: 27px;
        font-weight: 600;
    }

    .dayShifterLeft{
        width: 34px;
        height: 27px;
        background-color:transparent;
        padding-top:0;
        line-height: 27px;
        left: 0;
        color: #001436;
    }


    .dayShifterRight{
        right:0;
        width: 34px;
        height: 26px;
        background-color:transparent;
        padding-top:0;
        line-height: 27px;
        color: #001436;
    }

    .legend {
        line-height: 18px;
        color: #555;
        height: 300px;
    }

    .legendProbabilita {
        line-height: 18px;
        color: #555;
        height: 170px;
    }
    .responsive {
        width: auto;
        height: 90%;
    }
    .prob_information {
        padding-bottom: 5px;
    }
}
