body, tr, td, input, textarea, button {
    font-display: optional;
}
.nowrap {
    white-space: nowrap;
}
.wrap {
    white-space: normal;
    height: auto;
}

.modal-background {
    background-color: rgba(10,10,10,.4);
}

.modal .box {
    box-shadow: 0 0.5em 1em -0.125em rgba(10,10,10,.1), 0 0 0 1px rgba(10,10,10,.02), 0 0 150px 0 rgba(10,10,10,.5);
    border-radius: 27px;
}

.modal-card, .modal-content {
    overflow: visible;
}
.modal-inputs {
    width: 65%;
    min-width: 400px;
    max-width: 100%;
    margin: 0 auto 0.75rem;
}
.modal-logo {
    width: 2.8rem;
    margin-right: 0.5rem;
    vertical-align: middle;
    margin-bottom: 0.5rem;
}

.weather-image {
    position: relative;
    width: 100%;
    background-image: url("/img/powietrze-pogoda-m.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 1rem;
}
.weather-image.lazy {
    background-image: none;
    background-color: #d1d816;
}
.weather-area {
    padding: 5%;
    box-sizing: border-box;
    min-height: 400px;
}
.weather__h1 {
    font-weight: 200;
    text-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
    line-height: 1em;
}
.weather__temp {
    font-weight: 100;
    font-size: 10rem;
    line-height: 0.9em;
    text-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
}
.weather__temp sup {
    line-height: 0.2em;
    font-size: 55%;
}
.weather__icon {
    max-width: 25%;
    height: auto;
    margin-top: 2rem;
}
.weather__icon-info {
    font-weight: 200;
    text-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
}
.weather__date {
    line-height: 1.2em;
}
.weather__details {
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);
    line-height: 1.2em;
}
.sun {
    position: relative;
    overflow: hidden;
}
.sun img {
    vertical-align: top;
}
.sun__position-area {
    position: absolute;
    z-index: 1;
    width: 91%;
    margin: 0 4.5%;
    height: 100%;
    left: 0;
    top: 0;
}
.sun__position {
    position: absolute;
    width: 10%;
    height: auto;
    z-index: 1;
    right: 200%;
    bottom: 200%;
    margin-right: -5%;
    margin-bottom: -5%;
}
.sun__home {
    position: absolute;
    width: 100%;
    height: auto;
    z-index: 1;
    left: 0;
    bottom: 0;
}
.sun-info-bottom {
    background-color: #e6fed5;
    margin-bottom: 2rem;
    padding: 0 1em;
}
.sun-info-top {
    margin-top: 2rem;
}

.sun-angle {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.sun-angle img {
    vertical-align: top;
}
.sun-angle__position-area {
    position: absolute;
    width: 50%;
    height: 70%;
    right: 50%;
    bottom: 30%;
}


.sun-circle__position-area {
    position: absolute;
    width: 50%;
    height: 70%;
    right: 50%;
    bottom: 30%;
}
.sun-circle__position {
    position: absolute;
    width: 10%;
    height: auto;
    z-index: 1;
    right: 200%;
    bottom: 200%;
    margin-right: -5%;
    margin-bottom: -5%;
}


.sun-angle__info {
    position: absolute;
    width: 90%;
    height: 90%;
    right: 5%;
    top: 5%;
}
.promien-slonca {
    width: 200%;
    height: 1px;
    position: absolute;
    right: 0;
    bottom: 0;
    transform-origin: bottom right;
    transform: rotate(45deg);
}
.promien-slonca__aktualny {
    background: rgba(248,235,1,.5);
}
.promien-slonca__min {
    background: rgba(10,206,255,.5);
}
.promien-slonca__max {
    background: rgba(255,174,0,.5);
}
.promien-slonca__rownonoc {
    background: rgba(144,236,0,.5);
}
.promien-slonca-linka__aktualny {
    border-bottom: solid 1px rgba(248,235,1,1);
}
.promien-slonca-linka__min {
    border-bottom: solid 1px rgba(10,206,255,1);
}
.promien-slonca-linka__max {
    border-bottom: solid 1px rgba(255,174,0,1);
}
.promien-slonca-linka__rownonoc {
    border-bottom: solid 1px rgba(144,236,0,1);
}


.row-gallery-list {
    padding: 0 10px;
}
.col-gallery-list {
    padding: 5px;
}
.gallery-list-a {
    display: block;
}

.crop-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* KADROWANIE */
.js_kadr {
    overflow: hidden;
    position: relative;
    padding: 0;
}
.js_kadr img {
    position: absolute;
    height: auto;
    width: auto;
    margin: 0;
    max-width: none;
}
.image-container {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-1-1 {
    display: block;
    position: relative;
    padding-bottom: 100%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
}
.image-4-3 {
    display: block;
    position: relative;
    padding-bottom: 75%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
}


.is-size-65 {
    font-size: .87rem!important;
}
.is-size-55 {
    font-size: 1.125rem!important
}

.modal-box {
    padding: 2.5rem;
}
.modal .modal-content .box {
    padding: 1.5rem;
}
.modal .modal-content .box .modal-card-body {
    width: 100%;
    max-width: 100% !important;
    max-height: calc(100vh - 120px);
    margin: 0 auto;
    overflow: auto;
    padding: 1rem;
}

@media (min-width: 769px) {
    .weather-image {
        background-image: url("/img/powietrze-pogoda.jpg");
    }
}
@media (max-width: 959px) {
    .sun-angle__info .is-size-7 {
        font-size: .55rem!important;
    }
    .sun-angle__info .is-size-7, .sun-info-bottom .is-size-7 {
        font-size: .55rem!important;
    }
    .modal-box {
        padding: 1rem;
    }

}
@media (max-width: 768px) {

    .sun-info-bottom .field.has-addons {
        justify-content: center;
    }

    .modal-inputs {
        width: 95%;
        min-width: auto;
    }
    .modal-box {
        padding: 0.5rem;
    }
}