html,body{
    margin: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
}

:root{
    --homeWidth: 435px;
    --otherInfoWitdh: 320px;
    --logoFontSize: 35px;
}

.fullHeight{
    height: 92vh;
}

.centra{
    display: flex;
    align-items: center;
    justify-content: center;
}

.allineaVert{
    display: flex;
    flex-direction: column;
}

.tableWheather{
    border-collapse: collapse;
    width: 200px;
}

.rowNowTabel{
    border-bottom: 1pt solid #000;
    width: 200px;
    display: flex;
    justify-content: space-between;
}

.trNowTabel{
    display: flex;
    justify-content: space-around;
}

.imageNow{
    width: 25px;
    height: 25px;
    margin-right: 4px;
}

.cityNow{
    font-size: 20px;
    font-weight: 500;
    margin-top: 5px;
    margin-bottom: 5px;
}

.selezionato{
    background: linear-gradient(195.49deg, #FFE769 4.48%, #FFFFFF 103.88%);
}

.nascondi{
    display: none;
}

#map{
    width: 90vw;
    height: 100vh;
    transform: translateX(-10vw);
}

#boxMappa{
    width: 35px;
    height: 35px;
    background: #6B006D;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
}

#boxMappa img{
    width: 25px;
    height: 25px;
}

#nuovaRicerca{
    position: absolute;
    width: 35px;
    height: 35px;
    left: 64px;
    top: 20px;
    z-index: 3;
    background: #166C0F;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 7px;
    transition: width 0.5s ease-out 100ms;
    color: #FFF;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#nuovaRicerca:hover{
    width: 140px;
    transition: width 0.7s ease-out 100ms
}

#nuovaRicerca span {
  display: inline-block;
  white-space: nowrap;
  vertical-align: top;
  overflow: hidden;
  transition: all .5s;
}

#nuovaRicerca img{
    width: 20px;
    height: 20px;
    padding: 7px;
}

#loadScreen{
    display: flex;
    z-index: 5;
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: aliceblue;
}

#loadScreen .centra{
    width: 100vw;
    height: 100vh;
}

#loadScreen p{
    font-size: 25px;
    font-weight: 500;
    color: #FFC700;
}

#loadScreen svg{
    height: 200px;
    width: 200px;
    -webkit-animation:spin 3s linear infinite;
    -moz-animation:spin 3s linear infinite;
    animation:spin 3s linear infinite;
}

@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

#direzione{
    display: none;
}

#scrollDiv{
    /*background: linear-gradient(169.9deg, #FFFFFF -0.1%, #25CBFF 110.71%);*/
    background-color: #FFF;
    box-shadow: -7px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 25px 0px 0px 25px;
    width: 1300px;
    height: 100vh;
    position: absolute;
    right: 0;
    z-index: 3;
    cursor: default;
    display: flex;
    align-items: center;
    transform: translateX(835px);
}

.chiudiDiv{
    -webkit-animation:chiudi 1.2s ease-in-out forwards;
    -moz-animation:chiudi 1.2s ease-in-out forwards;
    animation:chiudi 1.2s ease-in-out forwards;
}

.estendiDiv{
    -webkit-animation:estendi 1.2s ease-in-out forwards;
    -moz-animation:estendi 1.2s ease-in-out forwards;
    animation:estendi 1.2s ease-in-out forwards;
}

@-moz-keyframes chiudi { 
    100% { -moz-transform: translateX(835px); } 
}
@-webkit-keyframes chiudi { 
    100% { -webkit-transform: translateX(835px); } 
}
@keyframes chiudi { 
    100% { 
        -webkit-transform: translateX(835px); 
        transform:translateX(835px); 
    } 
}

@-moz-keyframes estendi { 
    100% { -moz-transform: translateX(0px); } 
}
@-webkit-keyframes estendi { 
    100% { -webkit-transform: translateX(0px); } 
}
@keyframes estendi { 
    100% { 
        -webkit-transform: translateX(0px); 
        transform:translateX(0px); 
    } 
}

/*------------MANIGLIA------------*/

#maniglia{
    /*border-right: 2px solid #000;*/
    width: 30px;
}

#tira{
    height: 300px;
    width: 8px;
    border-radius: 5px;
    background-color: #d9d9d9;
}

/*------------HOME------------*/

#home{
    width: var(--homeWidth);
    border-right: 2px solid #000;
    justify-content: space-between;
}

    /*--LOGO--*/

    #logo{
        width: var(--homeWidth);
    }

    #imgLogo{
        width: 80px;
        height: 80px;
    }

    #textLogo{
        font-size: var(--logoFontSize);
        font-weight: bold;
        margin-left: 5px;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    /*----SEARCH-ZONE---*/

    #manuSearch p{
        font-weight: 600;
        font-size: 24px;
        margin: 0;
        margin-bottom: 3px;
    }

    #search{
        width: 305px;
        height: 43px;
        background-color: #F5F5F5;
        border: 1px solid rgba(0, 0, 0, 0.53);
        border-radius: 25px;
    }

    #search input
    {
        margin-left: 10px;
        width: 250px;
        height: 30px;
        background-color: rgba(0, 0, 0, 0);
        border: none;
        outline: none;
        font-size: 20px;
        font-weight: 300;
        font-family: 'IBM Plex Sans Thai Looped', sans-serif;
    }

    #search input:focus{border: 0;}

    #iconSearch{
        background-color: #4ABBFB;
        border-radius: 50%;
        width: 30px;
        height: 30px;
    }

    #autoSearch p{
        font-size: 14;
        font-weight: 400;
        margin-top: 3px;
        margin-bottom: 3px;
    }
    
    #gps{
        width: 305px;
        height: 43px;

        background: linear-gradient(268.87deg, #F5F5F5 -18.03%, #4ABBFB -18.02%, #A6DAF8 3.23%, #F5F5F5 106.66%);
        border: 1px solid rgba(0, 0, 0, 0.53);
        border-radius: 25px;
    }

    #gps p{
        font-size: 20px;
        font-weight: 600;
        margin-left: 3px;
    }

        /*----MENU SCELTA CITTÃ€----*/

        #menuCity{
            -ms-overflow-style: none;  /* IE and Edge */
            scrollbar-width: none;  /* Firefox */
        }

        #menuCity::-webkit-scrollbar {
            display: none;
        }

    /*----TABELLA TEMPO ORA---*/
    #wheatherNow{
        margin-top: 3.2vh;
    }

    #wheatherNow #title{
        margin-bottom: 5px;
        font-size: 16px;
        font-weight: 300;
    }

    #tableContainer{
        width: 420px;
        height: auto;
        display: flex;
        justify-content: space-around;
    }

    #wheatherNow p,
    #wheatherNow h1{
        margin: 0;
    }

    /*----DIV SCORRI---*/

    #scorri{
        font-size: 12;
        font-weight: 400;
        margin-top: 10px;
    }

    #scorri img{
        width: 8px;
        height: 8px;
        transform: rotate(-180deg);
        margin-right: 4px;
        margin-left: 4px;
    }

/*------------OTHER INFO------------*/

#otherInfo{
    width: 320px;
    border-right: 2px solid #000;
}

#OthInfoContainer{
    width: 80%;
    height: 95%;
    display: flex;
    justify-content: space-around;
}

#OthInfoContainer > div{
    width: 90%;
    display: flex;
}

#otherInfo img{
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

#otherInfo img + div{
    margin-left: 7px;
}

#otherInfo h1{
    font-size: 20px;
    font-weight: 400;
    margin: 5px;
}

#otherInfo .nomeInfo{
    font-size: 15px;
    font-weight: 300;
    margin:0;
    height: 14px;
}

#otherInfo .valInfo{
    font-size: 21px;
    font-weight: 400;
    margin: 0;
    height: 35px;
}

/*-----OTHER DAYS-----*/

#otherDays{
    width: 39%;
}

#otherDays h1{
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    margin-bottom: 10px;
    margin-top: 0px;
}

#containerSquares{
    width: 90%;
    display: flex;
    justify-content: space-between;
}

#containerSquares > div{
    width: 105px;
    height: 120px;
    box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
}

#containerSquares h1{
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    margin-bottom: 3px;
}

#containerSquares img{
    width: 50px;
    height: 50px;
}

#containerSquares h2{
    font-size: 14px;
    font-weight: 300;
    margin: 0;
    margin-top: 6px;
}

    /*-----DIV PREVISIONI PROX GIORNI-----*/

    #prevProxGG{
        width: 80%;
        height: 220px;
        box-shadow: inset 0px 1px 6px rgba(0, 0, 0, 0.25);
        display: flex;
        overflow-y: hidden;
        overflow-x: auto;
    }

    #prevProxGG::-webkit-scrollbar {
        display: none;
    }

    #prevProxGG div:last-child{
        border-right:none;
    }
    
    .prevOthGG{
        height: 220px;
        width: 120px;
        border-right:2px solid #000;
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
    }

    .prevOthGG .orario{
        margin-top: 5px;
        margin-bottom: 5px;
        font-weight: 500;
    }

    .prevOthGG .descrTemp{
        font-size: 15px;
        font-weight: 300;
    }

    .prevOthGG .gradi{
        font-size: 17px;
        font-weight: 400;
    }

    .prevOthGG p{
        margin: 0;
    }

    .prevOthGG > img{
        width: 40px;
        height: 40px;
    }

    .miniInfo{
        display: flex;
        width: 95px;
        justify-content: center;
    }

    .miniInfo > div{
        margin-left: 5px;
    }

    .miniInfo img{
        width: 20px;
        height: 20px;
    }

    /*-----DATI SOLE-----*/

    #datiSole{
        width: 60%;
        display: flex;
        justify-content: space-around;
        margin-top: 10px;
    }

    #datiSole img{
        width: 35px;
        height: 35px;
    }

    #datiSole p{
        font-size: 20px;
        font-weight: 400;
        margin: 0;
        margin-left: 5px;
        display: inline-block;
    }

    /*---ANDAMENTO TEMPERATURE----*/

    #myChart{
        width: 80% !important;
        height: 19vh !important;
    }


/*-----SCHERMATA HOME CITTÃ-------*/

    /*----NOME CITTÃ---*/
    #dove{
        margin-top: 8px;
    }

    #dove img{
        width: 40px;
        height: 40px;
        padding-bottom: 3px;
    }

    #dove p{
        font-size: 23px;
        font-weight: 600;
        margin: 0;
        margin-left: 4px;
    }

    /*-----INFO GENRALI-----*/
    #infoGeneral{
        border-bottom: 2px solid #767676;
        border-top: 2px solid #767676;
        margin-top: 4px;
        margin-left: 10px;
        width: 95%;
    }

    #infoGeneral{
        font-size: 20px;
        font-weight: 400;
    }

    #infoGeneral p {margin: 0;}

        /*----- ICONA E TESTO----*/
        #iconoTesto{
            margin-top: 2.5vh;
        }

        #iconoTesto img{
            width: 50px;
            height: 50px;
        }

        #iconoTesto p{
            font-size: 36px;
            font-weight: 500;
            margin-left: 5px;
        }

        /*---SOTTOINFO/MINI INFO----*/

        #miniInfo{
            display: flex;
            justify-content: space-around;
            width: 80%;
            float: right;
            margin-top: -12px;
            padding-bottom: 2.5vh;
        }

        #umidit img{
            width: 15px;
            height: 15px;
        }

        /*----TEMPERATURE MAX E MIN----*/
        
        #infoTemp{
            border-bottom: 2px solid #767676;
            width: 95%;
            margin-left: 10px;
        }

        #infoTemp p{
            font-size: 20px;
            font-weight: 300;
            color: #494949;
            margin: 5px;
            padding-top: 1vh;
        }

        #infoTemp > div{
            display: flex;
            justify-content: space-between;
            width: 65%;
            padding-bottom: 2vh;
        }

        #infoTemp > div p{
            font-size: 25px;
            font-weight: 300;
            color: #000;
            margin-left: 7px;
        }

        #infoTemp img{
            width: 50px;
            height: 50px;
        }

        /*---PROSSIME PREVISIONI---*/

        #containerProxPrev{
            width: 85%;
        }

        #containerProxPrev > p{
            margin-bottom: 7px;
        }

        #proxPrev{
            background: rgba(255, 255, 255, 0.01);
            box-shadow: inset 0px -1px 4px rgba(0, 0, 0, 0.25), inset 0px 2px 4px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
            width: 90%;
            height: 30vh;
            overflow-x:hidden;
            overflow-y: auto;
            -ms-overflow-style: none;  /* IE and Edge */
            scrollbar-width: none;  /* Firefox */
        }

        #proxPrev::-webkit-scrollbar {
            display: none;
        }

        #proxPrev img{
            width: 40px;
            height: 40px;
        }

        #proxPrev div:last-child{
            border-bottom: none;
        }

        .proxPrevisione{
            display: flex;
            justify-content: space-between;
            padding-left: 10px;
            padding-right: 10px;
            border-bottom: 2px solid #767676;
        }

        .proxPrevisione img{
            margin-left: 7px;
            margin-right: 5px;
        }

        .oraProxPrev{
            font-size: 14px;
            font-weight: 500;
        }

        .descrProxPrev{
            font-size: 17px;
            font-weight: 400;
            text-transform: capitalize;
        }

        .tempProxPrev{
            font-size: 14px;
            font-weight: 300;
            text-align: center;
            margin: 0;
        }

        #containerProxPrev .popProxPrev img{
            width: 20px;
            height: 20px;
            margin: 0;
            margin-right: 3px;
        }

        #containerProxPrev .popProxPrev p{
            font-size: 14px;
            font-weight: 300;
            margin: 0;
        }


/*------------ APPARI SCOMPARI -------------*/

.appari{
    -webkit-animation:appari 1.2s ease-in-out forwards;
    -moz-animation:appari 1.2s ease-in-out forwards;
    animation:appari 1.2s ease-in-out forwards;
}

.scompari{
    -webkit-animation:scompari 1.2s ease-in-out forwards;
    -moz-animation:scompari 1.2s ease-in-out forwards;
    animation:scompari 1.2s ease-in-out forwards;
}

@keyframes scompari { 
    100% { opacity: 0 } 
}

@keyframes appari{
    100% { opacity: 100}
}