/* cmsms stylesheet: Dostosowanie strony dla osób z niepełnosprawnością modified: 02/26/25 14:14:37 */
#mainNav .navContent .container{
    position: relative;
}
.setbox{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 0;
}
.setbox .box-name{
    font-size: 14px;
    margin-right: 8px;
}
.setbox .font-buttons{
    margin-right: 50px;
}
.setbox .font-buttons .font-btn{
    padding: 0 2px;
    cursor: pointer;
}
.setbox .font-buttons #font-btn-small{
    font-size: 16px;
}
.setbox .font-buttons #font-btn-medium{
    font-size: 18px;
}
.setbox .font-buttons #font-btn-large{
    font-size: 20px;
}
.setbox .contrast-buttons .contrast-btn{
    padding: 2px 4px;
    cursor: pointer;
    font-size: 18px;
    /*border: 1px solid #fff;*/
}
.setbox .contrast-buttons #contrast-btn-basic{
    background: #fff;
    color: #000;
    border: 1px solid #000;
}
.setbox .contrast-buttons #contrast-btn-by{
    background: #000;
    color: #ff0;
    border: 1px solid #ff0;
}

/* zmiana wielkości fonta */
html[data-font-size="large"]{
    font-size: 8px!important;
}
html[data-font-size="medium"]{
    font-size: 7px!important;
}
@media screen and (min-width: 992px){
    html[data-font-size="large"]{
        font-size: 16px!important;
    }
    html[data-font-size="medium"]{
        font-size: 14px!important;
    }
}
/*html[data-font-size="small"]{*/
/*    font-size: 10px!important;*/
/*}*/
html[data-font-size="large"] body{
    font-size: 20px!important;
}
html[data-font-size="medium"] body{
    font-size: 18px!important;
}
/*html[data-font-size="small"] body{*/
/*    font-size: 16px!important;*/
/*}*/
html[data-font-size="large"] h1, .h1 {
 font-size:40px
}
html[data-font-size="medium"] h1, .h1 {
 font-size:38px
}
html[data-font-size="large"] h2, .h2 {
 font-size:34px
}
html[data-font-size="medium"] h2, .h2 {
 font-size:32px
}
html[data-font-size="large"] h3, .h3 {
 font-size:28px
}
html[data-font-size="medium"] h3, .h3 {
 font-size:26px
}
html[data-font-size="large"] h4, .h4 {
 font-size:22px
}
html[data-font-size="medium"] h4, .h4 {
 font-size:20px
}
html[data-font-size="large"] h5, .h5 {
 font-size:18px
}
html[data-font-size="medium"] h5, .h5 {
 font-size:16px
}
html[data-font-size="large"] h6, .h6 {
 font-size:16px
}
html[data-font-size="medium"] h6, .h6 {
 font-size:14px
}
html[data-font-size="large"] p {
 font-size:20px
}
html[data-font-size="medium"] p {
 font-size:18px
}
html[data-font-size="large"] .text-boxes__title{
    font-size: 2.4em;
}
html[data-font-size="medium"] .text-boxes__title{
    font-size: 2.2em;
}
html[data-font-size="large"] .image-section__subtitle{
    font-size: 28px;
}
html[data-font-size="medium"] .image-section__subtitle{
    font-size: 26px;
}

/* zmiana kontrastu */
body[data-contrast="by"] #mainNav{
    background: #000;
}
body[data-contrast="by"] #mainNav ul li a{
    color: #ff0!important;
}
body[data-contrast="by"] .level > a::after{
    color: #ff0!important;
}
body[data-contrast="by"] #slider .overlay{
    background-color: rgba(34,34,34,0.8);
}
body[data-contrast="by"] #slider{
    color: #ff0!important;
}
header h2{
    color: inherit;
}
body[data-contrast="by"] .btn-white a, body[data-contrast="by"] .btn-white span, body[data-contrast="by"] .btn-white, body[data-contrast="by"] .btn-1{
    border-color: #ff0;
    color: #ff0;
}
body[data-contrast="by"] .btn-white::after{
    background: #000;
}
body[data-contrast="by"] .btn::after{
    background: #ff0!important;
    color: #000!important;
}
body[data-contrast="by"] .btn:hover a, body[data-contrast="by"] .btn:hover span{
    color: #000!important;
}
body[data-contrast="by"] h1, body[data-contrast="by"] h2, body[data-contrast="by"] h3, body[data-contrast="by"] h4{
    color: #ff0!important;
}
body[data-contrast="by"] main > section:nth-of-type(2n){
    background: #000;
}
body[data-contrast="by"] a{
    color: #ff0!important;
}
body[data-contrast="by"] footer{
    color: #ff0!important;
    background: #000;
}
body[data-contrast="by"] footer *{
    color: #ff0!important;
}
body[data-contrast="by"] .staff__item{
    background: #000;
}
body[data-contrast="by"] .staff--single{
    background: #000!important;
}
body[data-contrast="by"] .imgdesc-wrap{
    background: #000;
}
body[data-contrast="by"] .i-wrapper i{
    color: #ff0;
}
body[data-contrast="by"] .section-tiles__item{
    background-color: #000;
}

/* pozostałe zmiany */
@media screen and (min-width: 992px){
    header{
        overflow: unset;
    }
    body:not(.home) main{
        margin-top: 0;
    }
    #mainNav{
        position: relative;
    }
    #mainNav ul li ul{
        background: #000;
        z-index: 2;
    }
    #slider h1, #slider h2, #slider h3 {
        font-size: 4em;
    }
    .owl-carousel .owl-stage{
        display: flex;
    }
    .owl-carousel .owl-item{
        height: inherit;
    }
    header .owl-carousel .item{
        height: 100%;
    }
    #slider .overlay{
        height: 100%;
    }
}
#dl-menu{
    top: 56px;
}
footer *, footer a{
    word-wrap: anywhere;
}
@media only screen and (max-width: 571px) { #dl-menu { top: 80px; } }
@media only screen and (max-width: 447px) { #dl-menu { top: 104px; } }
@media only screen and (max-width: 374px) { #dl-menu { top: 108px; } }

header .setbox .setbox-item {
    display: flex;
    align-items: center;
}
@media only screen and (max-width: 571px) { 
    header .setbox {
        flex-direction: column;
        gap: .75rem;
        text-align: center;
    }
    header .setbox .font-buttons,
    header .setbox .box-name:last-child {
        margin: 0 !important;
    }
    header .setbox .setbox-item .setbox-item:first-child {
        margin-right: 1.5rem;
    }
}

.form.form-default {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    max-width: 40rem;
    margin: 0 auto;
    padding: clamp(1.2rem, 1rem + 1.875vw, 4.8rem);
    position: relative;
    background-color: white;
    accent-color: #B25C8D;
    border-radius: 8px;
    box-shadow: 4px 4px 16px -2px #00000022;
}

.form-default section[data-field] {
    display: flex;
    flex-direction: column-reverse;
    gap: .5rem;
    text-align: left;
}

#preloader {
  background: rgba(255,255,255,.6);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  transition: .2s all linear;
  z-index: 100;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#preloader.showed {
  opacity: 1;
  pointer-events: all;
}

#preloader img {
  pointer-events: none;
  max-width: 300px;
  margin: 0 auto;
}
.form-default section[data-field] input,
.form-default section[data-field] label {
    flex-shrink: 0;
    flex-grow: 0;
    margin: 0;
}

.form-default section[data-field="select"] select,
.form-default section[data-field="phone"] input,
.form-default section[data-field="email"] input,
.form-default section[data-field="text"] input {
    height: 3.6rem;
}

.form-default section.object_form_exhibit {
    width: 1px;
    height: 1px;
    position: absolute;
    inset: 0 auto auto 0;
    opacity: 0;
    overflow: hidden;
}

.form-default section[data-field="checkbox"] {
    display: flex;
    flex-direction: row;
    gap: .75rem;
}

.form-default section[data-field="checkbox"] input {
    flex-shrink: 0;
    flex-grow: 0;
    width: 2.4rem;
    height: 2.4rem;
}

.form-default section[data-field="checkbox"] label {
    flex-shrink: 1;
    flex-grow: 1;
}

.form-default button[type="submit"]:hover {
    color: white;
}

.object_form_alert {
    max-width: 40rem;
    margin: 0 auto 2.4rem;
    padding: 1.6rem;
    background-color: crimson;
    color: white;
    border-radius: 4px;
    list-style-type: none;
    position: relative;
    z-index: 1;
}

.object_form_alert li:not(:last-child) {
    margin: 0 0 .6rem;
}

.form-section {
    position: relative;
    background-image: url('https://www.rehanabiegunach.pl/uploads/images/tla-naglowka/tlo-naglowka.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.form-section::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    background-color: #B25C8DCC;
}

.home #mainNav, .home #mainNav ul li ul li {
  background: #1c6971;
}
#mainNav ul li ul li:hover {
  background: #207881;
}

footer .row.center-items + .row.center-items {
    padding-top: 18px;
}

footer .footer-nav {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2.4rem;
}

.form-section .object_form_succeed {
    max-width: 40rem;
    margin: 0 auto;
    margin-bottom: 0px;
    padding: 3rem;
    background-color: white;
    border-radius: .5rem;
    margin-bottom: 1.5rem;
    position: relative;
}
.form-section .object_form_succeed h2 {
    margin: 0;
    padding: 0;
    font-size: 2.5rem;
}
.setbox .to-form-btn {
    margin-left: 2rem;
}
.setbox .to-form-btn:after {
    z-index: -1 !important;
}
body.umow-wizyte .page-header {
    display: none;
}
#dl-menu {
    top: 98px;
}
#dl-menu button {
    margin-top: 8px;
}

@media only screen and (max-width: 571px) {
    #dl-menu {
        top: 152px;
    }
    #dl-menu button {
        margin-top: 10px;
    }
}
