.weather {
    font-size: 11pt;
}

.weather .image {
    background: transparent;
    font-size: 0.85em;
    position: relative;
    margin-bottom: 20px;
}

.weather .image {
    color: #fff;
}

.weather .hidden {
    display: none;
}

.weather .background {
/*    height: 100vh;*/
    height:  100%;
    left: 0;
/*    position: fixed;*/
    position: absolute;
    top: 0;
    width: 100%;
/*    z-index: -2;*/
}



.weather .background .image {
    background-size: cover;
    height: 100%;
}

.weather .sunny .image {
    background-image: url(../images/weather/images/sunny_2.jpg);
}
.weather .sunny .correction {
    background-color: #0364c8;
}
.weather .sunny.night .image {
    background-image: url(../images/weather/images/sunny_night_2.jpg);
}
.weather .sunny.night .correction {
    background-color: #1a1d2d;
}
.weather .sunny.dawn .image, .sunny.dusk .image {
    background-image: url(../images/weather/images/sunny_dusk.jpg);
}
.weather .sunny.dawn .correction, .sunny.dusk .correction {
    background-color: #8e3e0f;
}
.weather .fair-weather .image {
    background-image: url(../images/weather/images/fair_weather_4.jpg);
}
.weather .fair-weather .correction {
    background-color: #107eb3;
}
.weather .fair-weather.night .image {
    background-image: url(../images/weather/images/fair_weather_night_2.jpg);
}
.weather .fair-weather.night .correction {
    background-color: #263857;
}
.weather .fair-weather.dusk .image {
    background-image: url(../images/weather/images/fair_weather_dusk_2.jpg);
}
.weather .fair-weather.dusk .correction {
    background-color: #bd8952;
}
.weather .fair-weather.dawn .image {
    background-image: url(../images/weather/images/fair_weather_dawn.jpg);
}
.weather .fair-weather.dawn .correction {
    background-color: #b18e4c;
}
.weather .cloudy .image {
    background-image: url(../images/weather/images/cloudy_4.jpg);
}
.weather .cloudy .correction {
    background-color: #779fc9;
}
.weather .cloudy.night .image {
    background-image: url(../images/weather/images/cloudy_night.jpg);
}
.weather .cloudy.night .correction {
    background-color: #13223e;
}
.weather .cloudy.dusk .image {
    background-image: url(../images/weather/images/cloudy_dusk.jpg);
}
.weather .cloudy.dusk .correction {
    background-color: #425071;
}
.weather .cloudy.dawn .image {
    background-image: url(../images/weather/images/cloudy_dawn.jpg);
}
.weather .cloudy.dawn .correction {
    background-color: #ab7059;
}
.weather .overcast .image {
    background-image: url(../images/weather/images/overcast_2.jpg);
}
.weather .overcast .correction {
    background-color: #48545a;
}
.weather .overcast.night .image {
    background-image: url(../images/weather/images/overcast_night_2.jpg);
}
.weather .overcast.night .correction {
    background-color: #303845;
}
.weather .rain .image {
    background-image: url(../images/weather/images/rain_2.jpg);
}
.weather .rain .correction {
    background-color: #1a2c4b;
}
.weather .rain.night .image {
    background-image: url(../images/weather/images/rain_night_2.jpg);
}
.weather .rain.night .correction {
    background-color: #312c41;
}
.weather .rain.dawn .image, .rain.dusk .image {
    background-image: url(../images/weather/images/rain_dawn.jpg);
}
.weather .rain.dawn .correction, .rain.dusk .correction {
    background-color: #847558;
}
.weather .thunderstorm .image {
    background-image: url(../images/weather/images/thunderstorm_2.jpg);
}
.weather .thunderstorm .correction {
    background-color: #4d5a79;
}
.weather .thunderstorm.night .image {
    background-image: url(../images/weather/images/thunderstorm_night_2.jpg);
}
.weather .thunderstorm.night .correction {
    background-color: #293152;
}
.weather .snow .image {
    background-image: url(../images/weather/images/snow_2.jpg);
}
.weather .snow .correction {
    background-color: #435b6f;
}
.weather .snow.night .image {
    background-image: url(../images/weather/images/snow_night_2.jpg);
}
.weather .snow.night .correction {
    background-color: #213646;
}
.weather .snow.dawn .image, .snow.dusk .image {
    background-image: url(../images/weather/images/snow_dawn.jpg);
}
.weather .snow.dawn .correction, .snow.dusk .correction {
    background-color: #6f6e77;
}
.weather .rainy-snow .image {
    background-image: url(../images/weather/images/rainy_snow_2.jpg);
}
.weather .rainy-snow .correction {
    background-color: #48648b;
}
.weather .fog .image {
    background-image: url(../images/weather/images/fog.jpg);
}
.weather .fog .correction {
    background-color: #555e6b;
}
.weather .fog.night .image {
    background-image: url(../images/weather/images/fog_night.jpg);
}
.weather .fog.night .correction {
    background-color: #474d62;
}
.weather .dust .image {
    background-image: url(../images/weather/images/dust.jpg);
}
.weather .dust .correction {
    background-color: #eba965;
}
.weather .dust.night .image {
    background-image: url(../images/weather/images/dust_night.jpg);
}
.weather .dust.night .correction {
    background-color: #3d271a;
}
.weather .darude .image {
    background-image: url(../images/weather/images/darude.jpg);
}
.weather .darude .correction {
    background-color: #b77a4a;
}
.weather .darude.night .image {
    background-image: url(../images/weather/images/darude_night.jpg);
}
.weather .darude.night .correction {
    background-color: #42321b;
}
.weather .syngenta .image {
    background-image: url(../images/weather/images/background_syngenta.jpg);
}
.weather .syngenta .correction {
    background-color: #000;
}

.weather .background .correction {
    background: #3b3d5a;
    height: 100%;
    left: 0;
    opacity: 0.55;
    position: absolute;
    top: 0;
    width: 100%;
}

.weather .wrapper {
    font-weight: 300;
    margin: 0 auto;
    padding: 2%;
    position: relative;
}

.weather .wrapper.count-6 {
    max-width: 780px;
    min-width: 660px;
}

.weather .header {
    font-size: 1.2em;
    height: 1.6em;
    margin-bottom: 1em;
    position: relative;
}

.weather .header .logo {
    color: #fff;
    font-size: 1.6em;
    position: absolute;
    right: 0;
    text-decoration: none;
    top: 0;
}

.weather .location {
    background: none;
    border: none;
    border-bottom: 1px solid transparent;
    color: #fff;
    display: block;
    font-size: 1.2em;
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
    outline: none;
    padding-bottom: 0.2em;
    padding-left: 1.2em;
    transition: all 0.6s;
    width: calc(100% - 90px - 1.2em);
    z-index: 20;
}

.weather .current-weather {
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    white-space: nowrap;
}
.weather .current-weather-wrapper {
    display: flex;
    flex-direction: column;
    align-items: baseline;
}
.weather .current-weather-wrapper .temp-and-icon {
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
}
.weather .current-icon {
    width: 70px;
}
.weather .current-icon img {
    width: 100%;
}
.weather .current-temp {
    direction: ltr;
    display: inline-block;
}

.weather .current-temp .temp-value {
    font-size: 7em;
}

.weather .current-temp .temp-unit {
    font-size: 2em;
    line-height: 1.8em;
    vertical-align: top;
}

.weather .current-misc {
    display: inline-block;
    margin-left: 2em;
}

.weather .current-misc .current-description,
.weather .current-misc .current-location,
.weather .current-misc .current-feelslike {
    font-size: 1.6em;
    line-height: 1.4;
}

.weather .daily {
    margin-top: 1.4em;
}

.weather .tabs {
    cursor: pointer;
    font-size: 0;
    list-style: none;
    white-space: nowrap;
    padding-left: 0;
}

.weather .tabs .tab {
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    box-sizing: border-box;
    display: inline-block;
    font-size: 1rem;
    margin: 0;
    min-width: 75px;
    padding: 0.6em 0;
    text-align: center;
    user-select: none;
}

.weather .tabs .tab.count-6 {
    width: 16.66666667%;
}

.weather .tabs .tab.active {
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom-color: transparent;
}

.weather .pictoicon {
    display: flex;
    justify-content: center;
    margin: 2px 0;
    padding: 56px 0 0;
    position: relative;
}

.weather .picon {
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-size: 64px 56px;
    left: 0;
    margin: -24px 0 0;
    padding: 0;
    position: absolute;
    top: 50%;
    width: 100%;
}

.weather .picon-daily {
    left: 25%;
    width: 50%;
}

.weather .hourly {
    border-top: none;
    font-size: 0;
    overflow: hidden;
    white-space: nowrap;
    padding-left: 0;
}

.weather .day-hourly {
    box-sizing: border-box;
    display: inline-block;
    font-size: 1rem;
    list-style: none;
    overflow: hidden;
    padding: 1em 0 0;
    transition: margin 0.4s;
    width: 100%;
}

.weather .picto {
    line-height: 1.4em;
    vertical-align: middle;
    white-space: nowrap;
    width: 100%;
}

.weather .picto td {
    direction: ltr;
    padding: 0 4px;
    text-align: center;
    width: 35px;
}

.weather .picto th {
    font-weight: 300;
    text-align: left;
}

.weather .cell {
    margin: 6px 4%;
    max-width: 69px;
}

/*.glyph.winddir:before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}*/

/*.glyph.winddir.N:before { background-image: url('../images/weather/icons/wind/wind-n.svg'); }
.glyph.winddir.NNE:before { background-image: url('../images/weather/icons/wind/wind-nne.svg'); }
.glyph.winddir.NE:before { background-image: url('../images/weather/icons/wind/wind-ne.svg'); }
.glyph.winddir.ENE:before { background-image: url('../images/weather/icons/wind/wind-ene.svg'); }
.glyph.winddir.E:before { background-image: url('../images/weather/icons/wind/wind-e.svg'); } 
.glyph.winddir.ESE:before { background-image: url('../images/weather/icons/wind/wind-ese.svg'); }  
.glyph.winddir.SE:before { background-image: url('../images/weather/icons/wind/wind-se.svg'); }
.glyph.winddir.SSE:before { background-image: url('../images/weather/icons/wind/wind-sse.svg'); }
.glyph.winddir.S:before { background-image: url('../images/weather/icons/wind/wind-s.svg'); }  
.glyph.winddir.SSW:before { background-image: url('../images/weather/icons/wind/wind-ssw.svg'); } 
.glyph.winddir.SW:before { background-image: url('../images/weather/icons/wind/wind-sw.svg'); }
.glyph.winddir.WSW:before { background-image: url('../images/weather/icons/wind/wind-wsw.svg'); }
.glyph.winddir.W:before { background-image: url('../images/weather/icons/wind/wind-w.svg'); }  
.glyph.winddir.WNW:before { background-image: url('../images/weather/icons/wind/wind-wnw.svg'); }  
.glyph.winddir.NW:before { background-image: url('../images/weather/icons/wind/wind-nw.svg'); }
.glyph.winddir.NNW:before { background-image: url('../images/weather/icons/wind/wind-nnw.svg'); }*/

.weather .glyph.winddir:before {
    content: '';
/*    position: absolute;*/
    display: inline-block;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    margin-right: 3px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M26.71,10.29l-10-10a1,1,0,0,0-1.41,0l-10,10,1.41,1.41L15,3.41V32h2V3.41l8.29,8.29Z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

/* Стили для каждого направления ветра */
.weather .glyph.winddir.N:before { transform: rotate(0deg); }
.weather .glyph.winddir.NNE:before { transform: rotate(22.5deg); }
.weather .glyph.winddir.NE:before { transform: rotate(45deg); }
.weather .glyph.winddir.ENE:before { transform: rotate(67.5deg); }
.weather .glyph.winddir.E:before { transform: rotate(90deg); }
.weather .glyph.winddir.ESE:before { transform: rotate(112.5deg); }
.weather .glyph.winddir.SE:before { transform: rotate(135deg); }
.weather .glyph.winddir.SSE:before { transform: rotate(157.5deg); }
.weather .glyph.winddir.S:before { transform: rotate(180deg); }
.weather .glyph.winddir.SSW:before { transform: rotate(202.5deg); }
.weather .glyph.winddir.SW:before { transform: rotate(225deg); }
.weather .glyph.winddir.WSW:before { transform: rotate(247.5deg); }
.weather .glyph.winddir.W:before { transform: rotate(270deg); }
.weather .glyph.winddir.WNW:before { transform: rotate(292.5deg); }
.weather .glyph.winddir.NW:before { transform: rotate(315deg); }
.weather .glyph.winddir.NNW:before { transform: rotate(337.5deg); }

/* Для изменения цвета стрелки */
.weather .glyph.winddir:before {
    filter: brightness(0) invert(1); /* Делает стрелку белой */
}

.weather .overlay {
    background: rgba(0, 0, 0, 0.92);
    cursor: zoom-out;
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    transition: opacity 0.6s;
    width: 100%;
    z-index: 10;
}
.weather .current-weather-additional {
    padding: 15px;
    font-size: 18px;
}
.weather .current-weather-additional div {
    margin: 5px 0 15px;
    border-bottom: 1px solid;
}
.weather .search-form {
    margin-bottom: 20px;
}
.weather #cityInput {
    padding: 5px;
    font-size: 16px;
    border: 1px solid;
    border-radius: 0px;
}
.weather #searchButton {
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid #fff;
    background: #fff;
    color: #000;
}
.weather #locationform {
    display: flex;
    max-width: 400px;
    margin-left: 15px;
}
.weather #weatherInfo {
    margin-top: 20px;
}

.weather .search-container {
    position: relative;
    width: 300px;
}

.weather #cityList {
    position: absolute;
    top: 50px;
    width: 100%;
    max-height: 200px;
    background:rgba(59, 61, 90, 1);
    overflow-y: auto;
    display: none;
}
.weather #cityList div {
    padding: 10px;
    cursor: pointer;
}
.weather #cityList div:hover {
    cursor: pointer;
}

@media screen and (max-width: 500px) {
    .weather .cell {
        max-width: 200px;
    }
    .weather .current-weather {
        flex-direction: column;
    }
    .weather .current-weather-wrapper {
        padding: 15px;
        align-items: flex-start;
    }
    .weather .current-misc {
        margin-left: 0;
    }
   
    .weather .wrapper.count-6 {
        min-width: 100%;
    }
    .weather .tabs {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }
    .weather .tabs .tab.count-6 {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .weather .tabs .tab.count-6 .weather {
        width: 60px;
    }
    .weather .picon-daily {
        /* left: 50%; */
        width: 100%;
        margin: -15px 0 0;
    }
    .weather .tabs .tab.active {
        border: none;
        border-bottom-color: rgba(255, 255, 255, 0.8);
    }
    .weather .tabs .tab + li.day-hourly {
        display: none;
    }
    .weather .tabs .tab.active + li.day-hourly {
        display: inline-block;
        overflow: scroll;
        background: rgba(59, 61, 90, .5);
    }
    .weather .tabs .tab.count-6 .day, .weather .tabs .tab.count-6 .tab-day-data {
        width: 33%;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        height: 50px;
        font-size: 18px;
    }
    .weather .tabs .tab.count-6 .tab-day-data {
        text-align: right;
    }
}