body {
    margin: 0;
    padding: 0;
}

#i-temps {
    height: 95px;    
}

#widget_weather {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    text-transform: capitalize;
    text-align: center;
    margin: 0;
    display: flex;
    /* width: 142px; */
    /* padding: 12px 0px 6px 0px; */
    padding: 0;
    flex-direction: column;
    align-items: flex-end;
    min-height: 88px;
    position: relative;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.16);
}

#widget_weather .phase {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: absolute;
    top:12px;
    bottom:12px;
}

#widget_weather .phase#phase0.state1,
#widget_weather .phase#phase1.state2 {
    opacity: 1;
}

#widget_weather .phase#phase0.state2,
#widget_weather .phase#phase1.state1 {
    opacity: 0;
}

#widget_weather .phase .info {
    display: inline-block;
    width: 112px;
}

#widget_weather .phase#phase0 .info {
    vertical-align: middle;
}

#widget_weather .phase#phase0 .icon {
    margin-right: 0;
}

#widget_weather .phase .icon {
    /* width: 63px;
    margin: -25px 0px 0px 75px; */
    position: absolute;
    bottom: 0;
    right: 8px;
    display: inline-block;
    vertical-align: middle;
}


#widget_weather .phase .icon img {
    width: 100%;
}

#widget_weather .phase .time {
    font-size: 16px;
    font-weight: 600;
    line-height: 18px;
    text-align: left;
    margin: 0;
    padding: 0;
    color: #696973;
    float: left;
    min-width: 110px;
}

#widget_weather .phase .time strong {
    font-weight: 700;
}

#widget_weather .phase .temp {
    font-weight: bold;
    font-size: 25px;
    line-height: 26px;
    margin: 0;
    padding: 0;
    text-align: left;
    max-width: 80px;
    min-height: 1.74em;
}

#widget_weather .phase .temp span {
    font-size: 18px;
}

#widget_weather .phase .temp span:last-child {
    font-size: 20px;
}

#widget_weather .link,
#widget_weather .phase#phase0.state1 .link,
#widget_weather .phase#phase1.state2 .link {
    z-index: 10;
}

#widget_weather .phase#phase1.state1 .link,
#widget_weather .phase#phase0.state2 .link {
    z-index: -1;
}

#widget_weather .link,
#widget_weather .phase .link {
    position: absolute;
    bottom: auto;
    left: auto;
    right: 12px;
    top: 12px;
    width: 18px;
    height: 18px;
}

#widget_weather .link a,
#widget_weather .phase .link a {
    background-color: #00152D;
    border-radius: 4px;
    box-shadow: none;
    padding: 1px;
    position: absolute;
    right: 0px;
    top: 0px;
    width: 16px;
    height: 16px;
    display: block;
}

#widget_weather .link a > i,
#widget_weather .phase .link a > i {
    background-image: url(../img/icon_link.svg);
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    width: 14px !important;
    height: 14px !important;
    display: block;
    border: 1px solid #00152D;
    border-radius: 3px;
    top: 1px;
    left: 1px;
}
#widget_weather .link a:hover,
#widget_weather .phase .link a:hover{
    background-color: #003A7C;
}
#widget_weather .link a:hover > i,
#widget_weather .phase .link a:hover > i{
    border-color:  #003A7C;
}
#widget_weather .link a:focus,
#widget_weather .link a:focus-visible,
#widget_weather .phase .link a:focus,
#widget_weather .phase .link a:focus-visible{
    background-color: #003A7C;
    outline: none;
    outline-offset: 0px;
}
#widget_weather .link a:focus > i,
#widget_weather .link a:focus-visible > i,
#widget_weather .phase .link a:focus > i,
#widget_weather .phase .link a:focus-visible > i{
    border-color: #FFFFFF;
}




#widget_weather #current-temp {
    display: none;
}
/* @media only screen and (max-width: 767px) {
    #i-temps {
        height: 54px;
    }
} */

@media only screen and (max-device-width: 767px), only screen and (max-width: 767px) {
    #i-temps {
        height: 48px;
    }
    
    #widget_weather.mobile{
        display: flex;
        flex-direction: row;
        /* width: 333px; */
        padding: 0px 12px 0px 15px;
        position: relative;
        align-items: center;
        gap: 10px;
        min-height: 40px;
    }
    #widget_weather.mobile .phase {
        bottom: unset;
        position: relative;
        opacity: 1 !important;
        /* width: 160px; */
        top: 0px;
    }
   
    #widget_weather.mobile .phase .info{
        align-items: center;
        display: flex;
        justify-content: flex-start;
        gap: 0 10px;
        width: 100%;
    }
    #widget_weather.mobile .phase#phase1 .info{
        justify-content: left;
        gap: 0 4px;
    } 
    
    #widget_weather.mobile .phase .temp, #widget_weather.mobile .phase .time{
        line-height: normal;
        min-height: auto;
        max-width: 100%;
        min-width: auto;
        width: auto;
    }
    #widget_weather.mobile .phase .icon{
        margin: 0;
        width: 36px;
        height: 24px;
        flex-shrink: 0;
        position: relative;
	    right: auto;
    }    
    #widget_weather.mobile .link a > i, #widget_weather .phase .link a > i{
        width: 16px !important;
        height: 16px !important;
        top: 0px;
        left: 0px;
    }
}
/* @media only screen and (device-width: 768px) {
    #widget_weather * {
        transform: scale(.96);
    }
    #widget_weather .phase {
        bottom: 10px;
    }
    #widget_weather .phase .info {
        position: relative;
        left: 5px;
    }
    #widget_weather .phase .icon {
        transform: scale(.8);
        position: relative;
        right: 5px;
    }
    #widget_weather .link,
    #widget_weather .phase .link {
        right: 25px;
        top: 10px;
    }
} */


/* @media screen and (max-width: 991px) {
    #widget_weather.mobile {
        width: 280px;
        margin: 2px auto;
    }
    #widget_weather.mobile .phase {
        width: 45%;
        position: inherit;
    }
    #widget_weather.mobile .phase#phase1 .info {
        vertical-align: middle;
    }
    #widget_weather.mobile .phase .icon {
        width: 30px;
    }
    #widget_weather.mobile .phase .icon img {
        height: 25px;
        width: initial;
    }
    #widget_weather.mobile .phase .time {
        float: left;
        font-size: 14px;
        margin: 0 8px 5px 0;
    }
    #widget_weather.mobile .phase .temp {
        font-size: 17px;
        float: left;
        position: relative;
        bottom: 2px;
    }
    #widget_weather.mobile .phase#phase0 .time {
        line-height: 25px;
    }
    #widget_weather.mobile .phase .temp span {
        font-size: 12px;
    }
    #widget_weather.mobile .phase .temp span:last-child {
        font-size: 14px;
    }
    #widget_weather.mobile .link,
    #widget_weather.mobile .phase .link {
        right: 17px;
    }
    #widget_weather.mobile .link a,
    #widget_weather.mobile .phase#phase1 .link a {
        display: none;
    }
    #widget_weather.mobile #current-temp {
        display: block;
        position: relative;
        margin-top: 3px;
        margin-left: 20px;
    }
    #widget_weather.mobile #current-temp .temp {
        width: 33%;
        font-size: 17px;
        margin: 0;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
        color: #323946;
    }
    #widget_weather.mobile #current-temp .temp span {
        font-size: 14px;
    }
    #widget_weather.mobile #current-temp .link {
        display: inline-block;
        display: inline-block;
        position: absolute;
        top: 4px;
        left: 45px;
    }
    #widget_weather.mobile #current-temp .link a {
        text-decoration: none;
    }
    #widget_weather.mobile #current-temp .link a i {
        background-color: #323946;
        color: #fff;
        display: block;
        font-size: 11px;
    }
    .inline {
        float: left;
    }
} */