@font-face {
    font-family:'ClimaconsRegular';
    src: url('fonts/climacons-webfont.eot');
    src: url('fonts/climacons-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/climacons-webfont.woff') format('woff'), url('fonts/climacons-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family:'Ubuntu Condensed';
    font-style: normal;
    font-weight: 400;
    src: local('Ubuntu Condensed'), local('UbuntuCondensed-Regular'), url('fonts/ubuntu.woff') format('woff');
}
body {
    color: #fff;
    margin: 0;
    padding: 0;
    font-family:"Ubuntu Condensed";
    overflow-y:hidden;
    overflow-x:hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}
p, span, div {
    cursor: default;
}
.border .sync {
    position: absolute;
    top: 8px;
    right: -5px;
    display: inline-block;
    opacity: 0;
    -webkit-transition: 500ms ease opacity;
}
@-webkit-keyframes busy-spinning {
    from {
        -webkit-transform: rotate(0deg);
        -webkit-transform-origin: 8px 8px;
    }
    to {
        -webkit-transform: rotate(360deg);
        -webkit-transform-origin: 8px 8px;
    }
}
.border .sync.busy {
    -webkit-animation: busy-spinning 0.3s infinite linear;
}
.border {
    position: absolute;
    width: 100%;
}
.border .settings {
    position: absolute;
    right: 21px;
    top: 8px;
    opacity: 0;
    -webkit-transition: 200ms ease opacity;
}
.border .sync:hover, .border .settings:hover {
    opacity: 1 !important;
}
.border .sync img, .border .settings img {
    width: 32px;
    height: 32px;
    -webkit-user-drag: none;
    /* Retina Fix */
    -webkit-transform: scale(0.5);
    -webkit-transform-origin: 0 0;
}
#humidityIcon {
    opacity: 0;
}
.close {
    font-family: monospace;
    font-size: 18px;
    width: 30px;
    height: 30px;
    display: inline-block;
    text-align: center;
    line-height: 34px;
    background: rgba(0, 0, 0, 0.05);
    cursor: default;
    -webkit-transition: 200ms ease background;
}
.close:hover {
    background: rgba(0, 0, 0, 0.2);
}
.minimize {
    font-family: monospace;
    font-size: 18px;
    width: 30px;
    height: 30px;
    left: 30px;
    font-weight: bold;
    position:absolute;
    display: inline-block;
    text-align: center;
    line-height: 38px;
    background: rgba(0, 0, 0, 0.05);
    cursor: default;
    -webkit-transition: 200ms ease background;
}
.minimize:hover {
    background: rgba(0, 0, 0, 0.2);
}
#container {
    height: 500px;
    width: 300px;
    position: relative;
    background: #575591;
    overflow: hidden;
    -webkit-transition: 500ms background ease;
    -webkit-transform-origin: 0 0;
}
#actualWeather {
    display: none;
}
#code {
    font-family:"ClimaconsRegular";
    font-size: 200px;
    position: absolute;
    top: 75px;
    text-align: center;
    width: 100%;
    left: 22px;
}
/* Sunny, Tornado, Moon, Mostly Cloudy*/
 #code.w0, #code.w31, #code.w32, #code.w34, #code.w33, #code.w36 {
    left: 12px;
}
#code.w0 {
    top: 70px;
}
#code.w0.moon-large {
    top: 30px;
    font-size: 300px;
}
#code.w1 {
    top: 90px;
}
#code.w2 {
    top: 80px;
    left: 20px;
}
#code.w31, #code.w33 {
    font-size: 300px;
    top: 30px;
}
#code.w28, #code.w30 {
    top: 100px;
}
#code.w45 {
    top: 90px;
}
#code.w55 {
    top: 60px;
}
#code.w80 {
    top: 55px;
}
#code.w95, #code.w96, #code.w99 {
    top: 60px;
}
#city {
    text-align: center;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: -2px;
    position: relative;
    height: 275px;
    top: 45px;
    width: 100%;
    display: inline-block;
}
#city span a {
    color: #fff;
    text-decoration: none;
    -webkit-user-drag: none;
    outline: none;
}
#city span a:hover::after {
    position: absolute;
    color: rgba(255, 255, 255, 0.5);
    content: "\00A0\221E";
}
.details {
    font-size: 0;
    margin-top: -14px;
}
.details .left {
    font-size: 65px;
    width: 50%;
    letter-spacing: -7px;
    text-align: right;
    display: inline-block;
    box-sizing: border-box;
    padding-right: 10px;
}
.details .right {
    font-size: 25px;
    box-sizing: border-box;
    padding-left: 30px;
    display: inline-block;
    width: 50%;
    text-align: left;
    word-spacing: 0;
    letter-spacing: -2px;
}
.week {
    height: 20%;
    width: 100%;
    position: absolute;
    bottom: 15px;
    font-size: 0;
}
.week div {
    display: inline-block;
    width: 25%;
    text-align: center;
    font-size: 18px;
    height: 110px;
    text-transform: uppercase;
    background-position: 50% -2px;
    background-repeat: no-repeat;
    background-size: 78px;
}
.week .temp {
    display: block;
    position: relative;
    top: 10px;
}
.week .temp span {
    padding-left: 5px;
    color: white;
}
.week .codeweek {
    display: block;
    font-family:"ClimaconsRegular";
    font-size: 48px;
    text-align: center;
    text-transform: lowercase;
    position: relative;
    left: 3px;
    top: 6px;
}
/* Modals */
 #locationModal {
    display: none;
    background: #444;
    position: absolute;
    width: 250px;
    top: 60px;
    padding: 25px;
    padding-bottom: 5px;
    -webkit-transform-origin: 0 0;
}
#errorMessage {
    display: none;
    background: #444;
    position: absolute;
    width: 250px;
    top: 60px;
    padding: 25px;
    -webkit-transform-origin: 0 0;
}
#locationModal input[type=text] {
    width: 216px;
    border: 2px solid #333;
    padding: 5px 10px;
    margin-bottom: 10px;
    font-family:"Ubuntu Condensed";
    font-size: 15px;
    outline: none;
}
#locationModal input[type=checkbox] {
    border: 2px solid #222;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin: 0;
    background: #333;
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: 50%;
    outline: none;
}
#locationModal .measurement {
    font-family:"ClimaconsRegular";
    font-size: 32px;
}
#locationModal .measurement span {
    padding: 0 7px 5px 10px;
}
#locationModal .speed span {
    line-height: 35px;
    padding: 0 2px;
    width: 42px;
    box-sizing: border-box;
    height: 41px;
    text-align: center;
    font-size: 16px;
}
.toggleswitch {
    margin-top: 10px;
}
.toggleswitch span {
    display: inline-block;
    line-height: 1;
    -webkit-transition: 150ms ease background-color;
    border: 2px solid #222;
    border-right: 0;
    background-color: #333;
    cursor: default;
}
.toggleswitch span.selected, #locationModal .toggleswitch span:hover {
    background-color: #555;
}
.toggleswitch span:last-child {
    border-right: 2px solid #222;
}
#locationModal .measurement span[data-type=k] {
    font-family:"Ubuntu Condensed";
    font-size: 18px;
    line-height: 36px;
    height: 37px;
    padding: 0px 14px 0px;
    vertical-align: top;
}
#locationModal .launcher {
    margin-top: 10px;
}
#locationModal label {
    margin-left: 5px;
    vertical-align: top;
}
#locationModal input[type=checkbox]:checked {
    background-image: url(tick.svg);
}
#locationModal .loader {
    font-size: 27px;
    font-family: FreeSans;
    display: inline-block;
    vertical-align: top;
    line-height: 30px;
    height: 28px;
    padding: 0 2px 0 5px;
    margin-top: 4px;
}
#locationModal .loader.loading {
    font-family:"ClimaconsRegular";
    padding-right: 0;
}
#locationModal .loader.tick {
    outline: 2px solid #333;
    background: #222;
    -webkit-transition: 150ms ease background;
    cursor: pointer;
}
#locationModal .loader.tick:hover {
    background: #333;
}
#locationModal a {
    text-decoration: none;
    color: #ffffff;
    -webkit-user-drag: none;
    outline: none;
}
#locationModal a:not([class*="btn"]):hover {
    text-decoration: underline;
}
.color {
    font-size: 0;
    margin-top: 10px;
    display: inline-block;
    border: 2px solid #333;
}
.color span {
    height: 11px;
    width: 11.5px;
    display: inline-block;
    border: 4px solid rgba(0, 0, 0, 0.4);
    vertical-align: middle;
}
#customColorPicker {
    width: 16px;
    height: 16px;
    border: 0px solid rgba(0, 0, 0, 0.4);
    background: linear-gradient(90deg, #ff0000 0%, #ff9900 16%, #ffff00 33%, #00ff00 50%, #00ffff 66%, #0000ff 83%, #791779 100%);
    vertical-align: middle;
    cursor: pointer;
    display: inline-block;
}
span[data-color=gradient] {
    background: -webkit-linear-gradient(#0081d3, #e44211);
    border: 0;
    height: 17px;
    width: 16px;
    /* border-right: 2px solid #333; */
}
span[data-color="chameleonic"] {
    display: inline-block;
    width: 16px;
    height: 16px;
    /* border-radius: 50%; */
    border: 1px solid #333;
    overflow: hidden; /* Ensures the icon fits within the circle */
}
/* Credits Button */
 .btn {
    border: 2px solid #222;
    background: #333;
    color: white;
    -webkit-transition: 150ms ease background;
    font-family:"Ubuntu Condensed";
    font-size: 17px;
    padding: 3px 10px;
    letter-spacing: -1px;
    margin-top: 10px;
    display: inline-block;
    cursor: pointer;
    -webkit-user-drag: none;
    outline: none;
}
.btn:hover {
    background: #555;
}
input[type=range] {
    -webkit-appearance: none;
    width: 250px;
    height: 5px;
    margin: 0;
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.3);
    -webkit-border-radius: 15px;
    border-radius: 15px;
    cursor: default;
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 30px;
    height: 20px;
    background: -webkit-radial-gradient(#f9f9f9, #fff);
    -webkit-border-radius: 15px;
    position: relative;
}
input[type="range"]::-webkit-slider-thumb:hover {
    background: -webkit-radial-gradient(#ddd, #eee);
}
input[type="range"]::-webkit-slider-thumb:active {
    background: -webkit-radial-gradient(#999, #ddd);
}
.credits  {
    color: #333;
    font-size: 15px;
    font-family: 'Ubuntu Condensed';
 }
.credits img {
    cursor: pointer;
    -webkit-user-drag: none;
}
.credits h1, .credits h3 {
    margin-top: 0.3em;
    margin-bottom: 0.2em;
    color: #fff;
    letter-spacing: 0;
 }
.credits p {
    margin-top: 0;
    color: #fff;
}
.credits li {
    color: #fff;
    padding-left: 1.2em;
    text-indent: -1.2em;
}
/* Ensure the loader uses a sans-serif font */
.loader {
    font-family: sans-serif;
    font-size: 16px; /* Adjust size as needed */
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
}
#humidityIcon {
    margin-right: 1px; /* Add spacing between the icon and the text */
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5)); /* Optional shadow for better visibility */
}
.additional-info {
    display: flex;
    justify-content: center; /* Center the content */
    margin-top: -2px;
    font-size: 22px;
    color: #ffffff;
    text-align: center;
}

.additional-info .info-left {
    text-align: right;
    margin-left: -45px; /* Move only the left section further to the left */
    margin-right: 0; /* Keep it in its current position */
}

.additional-info .info-right {
    text-align: left;
    margin-left: 30px; /* Move only the right section further to the right */
}
.hidden {
    display: none;
}
@keyframes shake-umbrella {
  0% { transform: rotate(0deg); }
  2% { transform: rotate(-30deg); }
  4% { transform: rotate(30deg); }
  6% { transform: rotate(-28deg); }
  8% { transform: rotate(28deg); }
  10% { transform: rotate(-25deg); }
  12% { transform: rotate(25deg); }
  14% { transform: rotate(-22deg); }
  16% { transform: rotate(22deg); }
  18% { transform: rotate(-18deg); }
  20% { transform: rotate(18deg); }
  22% { transform: rotate(-15deg); }
  24% { transform: rotate(15deg); }
  26% { transform: rotate(-12deg); }
  28% { transform: rotate(12deg); }
  30% { transform: rotate(-9deg); }
  32% { transform: rotate(9deg); }
  34% { transform: rotate(-6deg); }
  36% { transform: rotate(6deg); }
  38% { transform: rotate(-3deg); }
  40% { transform: rotate(3deg); }
  42% { transform: rotate(-1deg); }
  44% { transform: rotate(1deg); }
  46% { transform: rotate(-0.5deg); }
  48% { transform: rotate(0.5deg); }
  50% { transform: rotate(0deg); }
  52% { transform: rotate(-30deg); }
  54% { transform: rotate(30deg); }
  56% { transform: rotate(-28deg); }
  58% { transform: rotate(28deg); }
  60% { transform: rotate(-25deg); }
  62% { transform: rotate(25deg); }
  64% { transform: rotate(-22deg); }
  66% { transform: rotate(22deg); }
  68% { transform: rotate(-18deg); }
  70% { transform: rotate(18deg); }
  72% { transform: rotate(-15deg); }
  74% { transform: rotate(15deg); }
  76% { transform: rotate(-12deg); }
  78% { transform: rotate(12deg); }
  80% { transform: rotate(-9deg); }
  82% { transform: rotate(9deg); }
  84% { transform: rotate(-6deg); }
  86% { transform: rotate(6deg); }
  88% { transform: rotate(-3deg); }
  90% { transform: rotate(3deg); }
  92% { transform: rotate(-1deg); }
  94% { transform: rotate(1deg); }
  96% { transform: rotate(-0.5deg); }
  98% { transform: rotate(0.5deg); }
  100% { transform: rotate(0deg); }
}
.shake-umbrella {
  animation: shake-umbrella 8s;
  animation-iteration-count: 1;
  display: inline-block;
  will-change: transform;
}