/* cmsms stylesheet: style modified: 14.06.2024 16:33:26 */
/*-- NADPISANIE STYLI  -- */

input.is-error {border: 2px solid Red !important;}

.object_form_alert{
    background: #fff;
    border: 3px solid red;
    padding: 20px 40px;
    border-radius: 7px;
}
.object_form_succeed{
    background: #fff;
    border: 3px solid green;
    padding: 20px 40px;
    border-radius: 7px;
    margin-bottom: 40px;
}
.object_form_succeed h2{
    margin: 0;
}
.object_form_succeed + .form{
    pointer-events: none;
    opacity: 0.5;
}
.formularz-zapisu{
    min-height: 90vh;
}
.formularz-zapisu footer{
    margin-top: 0;
}
.formularz-zapisu .form{
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
}
.formularz-zapisu .form section{
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    position: relative;
    flex: 1 1 45%;
    margin: 0 20px 25px;
}
.formularz-zapisu .form section input, .formularz-zapisu .form section textarea{
    outline: 0;
    width: 100%;
    padding: 10px 20px;
    border: none;
    appearance: none;
    transition: all .4s linear;
    color: #000;
    border-radius: 7px;
}
.formularz-zapisu .form section label{
    color: #fff;
}
.formularz-zapisu .form section[data-field="checkbox"] {
    width: 60%;
    flex-direction: row;
    flex: unset;
    justify-content: flex-start;
    align-items: center;
}
.formularz-zapisu .form section[data-field="checkbox"] input {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    position: relative;
    padding: 10px;
    margin-right: 20px;
    cursor: pointer;
}
.formularz-zapisu .form section[data-field="checkbox"] input:checked::after {
    content: '\2714';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    color: #fff;
}
.formularz-zapisu .form section[data-field="checkbox"] label {
    position: relative;
    margin: 0;
}
.formularz-zapisu .form section[data-field="checkbox"] label a{
    text-decoration: underline;
}
.formularz-zapisu .form section[data-field="textarea"] {
    flex: 1 1 100%;
}
.formularz-zapisu .form section textarea{
    min-height: 120px
}
.formularz-zapisu .form  button {
    margin-right: 20px;
    margin-left: auto;
    background: #ffffff;
    color: #2d85b1;
    display: block;
    position: relative;
    font-family: 'Catamaran', sans-serif;
    font-size: 17px;
    padding: 12px 31px 9px 31px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: .3s all ease;
    border: none;
    border-radius: 4px;
}
.formularz-zapisu .form .object_form_exhibit{
    display: none;
}
.formularz-zapisu .form fieldset{
    width: 100%;
    border: 2px solid #eaeaea;
    border-radius: 5px;
    margin-bottom: 40px;
    padding-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
}
.formularz-zapisu .form fieldset legend{
    float: unset;
    margin: 0 20px 20px;
    color: #fff;
    padding: 0 20px;
    width: auto;
}

#preloader {
  background: transparentize(#fff, 0.4);
  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: 0.2s all linear;
  z-index: 100;
  user-select: none;
}
#preloader.showed {
    opacity: 1;
    pointer-events: all;
}
#preloader img {
    pointer-events: none;
    max-width: 300px;
    margin: 0 auto;
}

#toForm {
    display: none;
}


/*menu nav*/

#main-nav {
    justify-content: center;
}

#main-nav a,
.footerP .logo
{   width: 50%;
    max-width: 160px;
    margin: 0;
    padding: 5px;
}

#main-nav a img,
.footerP .logo img
{
    height: auto;
    width: 100%;
    display: block;
    margin: 0 auto;
}


/*opinie*/

#show_more {
    margin: 0 auto;
    background-color: #f5f5f5;
    font-size: 15px;
    color: #737373;
    padding: 15px 35px 15px 15px;
  line-height: 15px;
    position: relative;
}

#show_more:hover {
    background: #d2d2d2;
}


#show_more>span::after {
    position: absolute;
    top: 13px;
    right: 12px;
    font-family: "FontAwesome";
    content: "\f078";
    font-size: 1em;
    font-weight: 100;

}

#testimonials-carousel > .col-12 {
    display: block;
}

#testimonials-carousel > .collapsed {
    display: none;
    overflow: hidden;
}

#testimonials-carousel > .collapsed-1, #testimonials-carousel > .collapsed-2 {
    display: block;
}

.subpage #testimonials-carousel {
    margin-bottom: 30px
}

.webisoCommentContent {
    cursor: auto !important;
}

/*footer img */

.footerP {
    margin-bottom: 25px;
}

.footerP a.logo {
    margin: 0 auto;
     max-width: 240px;
}

.footerP .logo img {
    margin-bottom: 20px;
   
}

.main-footer.verticalPadding {
    padding: 20px 0;
}

.main-footer.verticalPadding  p {
    justify-content: space-around;
}



/*dodatkowe pole formularza - "skad sie o nas dowiedziales"*/
#webiso_form textarea.form-source {
    min-height: 50px;
    max-height: 200px;
}

/* ---- MEDIA ----*/

@media only screen and (max-width: 576px) {
    
/*CTA Button*/

.cta {
    bottom: 135px;
}

}


@media only screen and (min-width: 768px) {
   
/*nav*/
   
   #main-nav a {
    width: 35%;
    padding: 15px;
  }
  
/*footer*/
  
  .footerP {
      margin: 0 auto;
  }

 
}

@media only screen and (min-width: 990px) {
 
/*nav*/
 
  #main-nav a {
    width: 25%;
      }

/*footer*/

.main-footer.verticalPadding {
    padding: 50px 0;
}
 
}

/* ------ OBJECT FORM ------ */
body.video-slubne .person .withForm {
    color: white;
}

body.video-slubne .person .withForm .artHeader {
    text-align: center;
    margin-bottom: 2.5rem;
}

body.video-slubne .person .withForm .object_form_alert,
body.video-slubne .person .withForm .object_form_succeed {
    list-style-type: none;
    text-align: center;
    color: rgb(68, 68, 68);
}

body.video-slubne .person .withForm .form-homepage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

body.video-slubne .person .withForm .form-homepage .object_form_exhibit {
    display: none !important;
}

body.video-slubne .person .withForm .form-homepage [data-field] {
    display: flex;
    flex-direction: column-reverse;
    gap: .375rem;
}

body.video-slubne .person .withForm .form-homepage [data-field] label {
    margin: 0 !important;
}

body.video-slubne .person .withForm .form-homepage [data-field="text"] input,
body.video-slubne .person .withForm .form-homepage [data-field="email"] input,
body.video-slubne .person .withForm .form-homepage [data-field="tel"] input,
body.video-slubne .person .withForm .form-homepage [data-field="date"] input,
body.video-slubne .person .withForm .form-homepage [data-field="textarea"] textarea {
    width: 100%;
    height: 2.5rem;
    padding: 0 .75rem;
    background-color: white;
    border: none;
    border-radius: 4px;
    outline: none;
}

body.video-slubne .person .withForm .form-homepage [data-field="textarea"] textarea {
    height: 8rem !important;
    padding: .75rem;
}

body.video-slubne .person .withForm .form-homepage [type="submit"] {
    width: fit-content;
    margin: .5rem auto 0;
    padding: .75rem 1.5rem;
    background-color: white;
    border: none;
    border-radius: 4px;
    color: #2D85B1;
    font-weight: 600;
    font-family: 'Catamaran', sans-serif;
    font-size: 17px;
    cursor: pointer;
}

@media only screen and (min-width: 992px) {
    body.video-slubne .person .withForm .form-homepage {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(6, max-content);
        grid-template-areas: "name email" "date phone" "place time" "howfound howfound" "message message" "submit submit";
    }
    
    body.video-slubne .person .withForm .form-homepage [data-field]:nth-child(1) { grid-area: name; }
    body.video-slubne .person .withForm .form-homepage [data-field]:nth-child(2) { grid-area: date; }
    body.video-slubne .person .withForm .form-homepage [data-field]:nth-child(3) { grid-area: place; }
    body.video-slubne .person .withForm .form-homepage [data-field]:nth-child(4) { grid-area: email; }
    body.video-slubne .person .withForm .form-homepage [data-field]:nth-child(5) { grid-area: phone; }
    body.video-slubne .person .withForm .form-homepage [data-field]:nth-child(6) { grid-area: time; }
    body.video-slubne .person .withForm .form-homepage [data-field]:nth-child(7) { grid-area: howfound; }
    body.video-slubne .person .withForm .form-homepage [data-field]:nth-child(8) { grid-area: message; }
    body.video-slubne .person .withForm .form-homepage [type="submit"] { grid-area: submit; }
}
