﻿@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');



.weathercontainer {
    background: #abd0f5d9;
    color: #000;
    padding: 10px;
    width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 1px 1px 3px 1px #b9abab;
}

.weather-carousel .weather__header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}



.weather-carousel .weather__units {
    font-size: 1rem;
}

    .weather-carousel .weather__units span {
        cursor: pointer;
    }

        .weather-carousel .weather__units span:first-child {
            margin-right: 0.5rem;
        }

.weather-carousel .weather__body {
    text-align: center;
    margin-top: 0rem;
}
    .weather-carousel .weather__body h5 {
        color: #000;
        font-size:16px;
    }
.weather-carousel .weather__datetime {
    margin-bottom: 1px;
    font-size: 10px;
}
.weather-carousel .temp_icon_cld {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0.1rem;
    vertical-align: middle;
    text-align: justify;
    align-items: center;
}
.weather-carousel .weather__forecast {
    /* background: #e1e1e1;
    display: inline-block;
    padding: 1px 9px;
    border-radius: 30px;*/
    line-height: 14px;
    font-size: 12px;
}
    .weather-carousel .weather__forecast p {
        font-size: 14px;
    }
.weather-carousel .weather__icon img {
    width: 85px;
    height: 55px;
    /*display: inline;*/
}

.weather-carousel .weather__temperature {
    font-size: 1.75rem;
}

.weather-carousel .weather__minmax {
    display: flex;
    justify-content: center;
}

    .weather-carousel .weather__minmax p {
        font-size: 14px;
        margin-left: 0.5rem;
    }

.weather-carousel .weather__info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0.5rem;
    margin-top: 5px;
}

.weather-carousel .weather__card {
    display: inline;
    align-items: center;
    background: #99c0f3;
    padding: 5px;
    border-radius: 10px;
    text-align:center;
}

    .weather-carousel .weather__card i {
        font-size: 17px;
        /*margin-right: 0.5rem;*/
    }

    .weather-carousel .weather__card p {
        font-size: 10px;
        padding: 0;
        line-height: 15px;
    }

/*@media(max-width: 936px) {
    

    .weather__header {
        flex-direction: column;
    }

    .weather__units {
        margin-top: 1rem;
    }
}


@media(max-width: 400px) {
    .weather__info {
        grid-template-columns: none;
    }
}
*/

    .current-weather__icon {
    position: absolute;
    width: 75px;
    left: 0;
}

.current-weather__temp {
    color: #212529;
    font-size: 40px;
    font-weight: 700;
}

.weather-forecast-container {
}

.weather-forecast {
    display: flex;
}

.weather-forecast__date {
    font-size: 12px;
    font-weight: 400;
}

.weather-forecast__icon {
    width: 45px;
}

.weather-forecast__date {
    font-size: 12px;
    font-weight: 700;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    line-height: 17px;
    text-align: center;
}

.weather-forecast__temp {
    font-size: 10px;
    font-weight: 700;
    display: flex;
    
    align-items: center;
    flex-direction: column;
    line-height: 17px;
    text-align: center;
   
}
.weather-forecast__temp span {
    font-size: 10px;
    font-weight: 700;
    color:#000;
    
}
    .weather-forecast__temp i {
        font-size: 17px;
        font-weight: 700;
    }
.weather-forecast--show {
    display: block;
    animation: show-element 1s;
}

.weather-forecast__column {
    margin: 5px 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2px;
    background-color: #5ca0ec;
    color: #000;
    width: 55px;
    height: 300px;
}
.fortitle {
    font-size : 15px;
    padding: 5px;
    border-bottom: 1px solid #000;
}

.unit-block,
.min-max-block {
    display: inline-block;
}
.unit-block {
  margin-left: -9px;
  vertical-align: top;
}
/* Switch button */
.onoffswitch {
    position: relative;
    width: 80px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #ccc;
    border-radius: 20px;
}

.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

    .onoffswitch-inner:before,
    .onoffswitch-inner:after {
        display: block;
        float: left;
        width: 50%;
        height: 28px;
        padding: 0;
        line-height: 28px;
        font-size: 21px;
        color: white;
        font-family: Trebuchet, Arial, sans-serif;
        font-weight: bold;
        box-sizing: border-box;
    }

    .onoffswitch-inner:before {
        content: "°C";
        padding-left: 10px;
        background-color: #333;
        color: #b2ff59;
    }

    .onoffswitch-inner:after {
        content: "°F";
        padding-right: 10px;
        background-color: #333;
        color: #b2ff59;
        text-align: right;
    }

.onoffswitch-switch {
    display: block;
    width: 32px;
    margin: 0px;
    background: orange;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 48px;
    border: 2px solid #ccc;
    border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}


.temp-slider-main {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 160px;
}

.temp-other-main {
    height: 174px;
}
.temp-label {
    font-size: 10px;
    font-weight: bold;
}

.slider-vertical {
    -webkit-appearance: none;
    writing-mode: bt-lr; /* vertical orientation */
    width: 8px;
    height: 80px;
    /*background: linear-gradient(to top, #ffffff, #fb0e0e); /* initial */
    background: linear-gradient(to top, #fb0e0e 0%, #ffffff 0%) ;
    border-radius: 5px;
    outline: none;
    padding: 0;
    margin: 0px;
}

    /* Hide the thumb */
    .slider-vertical::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 0;
        height: 0;
        background: transparent;
        border: none;
    }

    /* Firefox */
    .slider-vertical::-moz-range-thumb {
        width: 0;
        height: 0;
        background: transparent;
        border: none;
    }