/*
 Theme Name:     Skřivánek DTP
 Theme URI:      https://skrivanekdtp.com
 Description:    –
 Author:         Ales Loziak, Libor Svoboda
 Author URI:     https://apollo1.cz/, https://tajpej.cz
 Template:       skrivanek
 Version:        1.0
*/


/* ------------- menu ------------- */

@media only screen and (min-width: 1200px) {
  #main-nav .sub-menu-level-1 > li {
    border-left: none;
    border-right: none;
  }
}

body.home .panel-layout .panel-grid:first-of-type > div {
  padding: 20px 0 0 0;
}

header.site-header .site-title {
  background-image: url('images/skrivanekdtp-logo-en.svg');
  width: 164px;
  height: 65px;
}

  header.site-header .navbar-container .navbar-main .container-xl {
    align-items: flex-end;
  }

  .cs header.site-header .site-title {
    background-image: url('images/skrivanekdtp-logo-cs.svg');
  }

.footer-socket .brand .site-title {
  background-image: url('images/skrivanekdtp-logo-en-white.svg');
  width: 164px;
  height: 65px;
  margin-bottom: 20px;
}

  .cs .footer-socket .brand .site-title {
    background-image: url('images/skrivanekdtp-logo-cs-white.svg');
  }

.entry-content {
  position: relative;
}

footer h5 {
    font-size: 1.25em;
}

form {
  z-index: 1;
  position: relative;
}

.inquiry-link {
  margin-right: 5px;
  margin-left: 10px;
}

  .navbar-top .inquiry-link {
    margin-right: 10px;
    margin-left: 10px;
  }

.size-full {
  width: 100%;
  height: 100%;
}

.meta-up {
  right: calc(50% - 33px);
}

  .meta-up.icon {
    background-color: rgba(255,255,255,1);
  }

/* ------------- error 404 ------------- */
.page-404 {}

  .page-404 .page-header .entry-title {
    font-size: 2.5em;
  }

  .page-404 .member {}

    .page-404 .member-content {}

      .page-404 .member-content h3 {
        margin-bottom: calc(1 * var(--spacer) );
      }

    .page-404 .member-image {
      width: 400px;
    }

      .page-404 .member-image img {
        width: 100%;
        max-width: 380px;
      }

      .page-404 .icon-magnifier {
        width: 26px;
        height: 26px;
        margin: 2px 4px 0;
      }

      @media only screen and (min-width: 992px) {

        .page-404 .member-image img {
          margin-top: -300px;
          margin-left: 50px;
        }

      }

/* ------------- archive ------------- */

.loop-posts .post .thumbnail {
  position: relative;
}

  .loop-posts .post .post-category {
    display: inline-block;
    font-size: .875rem;
    font-weight: 400;
    background-color: var(--c-main);
    padding: 4px 7px 1px;
    color: #fff;
    position: absolute;
    right: 0;
    bottom: 0;
  }

  .post-link-wrapper {
    margin: 0 0 40px 0;
  }


/* ------------- tooltip ------------- */
.tooltip-wrapper {
  position: absolute;
  z-index: 2;
  display: none;

  padding: 20px;
  color: var(--c-black);
  background: #fff;
  min-width: 220px;

  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

  .tooltip-wrapper .tooltip-close {
    position: absolute;
    z-index: 1;
    min-width: auto;
    right: 10px;
    top: 10px;
    padding: 10px;
    border: none;
    background-color: transparent;
  }

  .tooltip-wrapper .tooltip-content {
    position: relative;
    top: 0px;
  }

    .tooltip-wrapper .tooltip-content h3 {
      margin-bottom: 20px;
    }

    .tooltip-wrapper .tooltip-content .icon {
      margin-left: -3px;
      margin-right: 8px;
      position: relative;
      top: 8px;
    }

    .tooltip-wrapper .tooltip-content address {
      margin-bottom: 0;
    }


/* ------------- wpml ------------- */
/* .lng-wrapper {
  text-transform: none;
  padding: 0;
  /* width: 180px !important;
}*/

  /* .lng-wrapper ul li {
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
  }

  .lng-wrapper ul li:first-child {
    margin-left: 0;
  }

    .lng-wrapper ul li a {
      display: block;
      text-decoration: none;
      padding: 8px 8px 6px !important;
    }

    .lng-wrapper ul li.active a,
    .lng-wrapper ul li a:hover {
      text-decoration: none;
      background-color: #171c20;
    }

    .lng-wrapper .icon-globe {
      top: 4px;
    }

    .lng-wrapper ul.sub-menu {}

      .lng-wrapper ul.sub-menu .nav-link > .icon {
        visibility: hidden;
        display: none;
      }

      .lng-wrapper .sub-menu .menu-item .nav-link {
        padding: 4px 15px 5px 18px !important;
      }

      .lng-wrapper .menu-item .nav-link .icon-globe {
        top: 2px !important;
        margin-right: 12px;
      }

      .lng-wrapper .menu-item .nav-link .icon-slide-down {
        display: none;
      }

      .wpml-ls-native[lang='bg'] {
        font-size: 0.9375em;
      }


  .navbar-socket .navbar-nav .wpml-ls-current-language > .nav-link .wpml-ls-native {
    top: -2px;
  } */ */


/* ------------- wpa9-carousel-hp ------------- */
.wpa9-carousel.wpa9-carousel-hp {}

  .wpa9-carousel.wpa9-carousel-hp .carousel {
    /* max-height: 604px; */
    /* max-height: auto; */
  }


  .wpa9-carousel.wpa9-carousel-hp .carousel-indicators {
    /* margin: 0 0 20px; */
  }

  .wpa9-carousel.wpa9-carousel-hp .carousel-inner {
    position: relative;
    min-height: 400px;
  }

  .wpa9-carousel.wpa9-carousel-hp .carousel-item-content {
    padding-bottom: 20px;
  }

    .wpa9-carousel.wpa9-carousel-hp .carousel-item-content .slide-headline-wrapper {
      margin-bottom: calc(1.5 * var(--spacer));
    }

    .wpa9-carousel.wpa9-carousel-hp .carousel-item-content .meta-buttons {
      padding: calc(1.5 * var(--spacer)) 0;
    }

      .wpa9-carousel.wpa9-carousel-hp .wpa9-carousel-item-content .meta-buttons .btn {
        margin-left: 6.5px;
        margin-right: 6.5px;
      }




/* ------------- .de .navbar-main ------------- */
.de .navbar-main ul.navbar-nav li:not(.fab) a {
  font-size: 1.125em;
}

.de .wpa9-card-m-ext-panel .wpa9-card-content {
  font-size: 1.025em;
}


/* ------------- skrv-testimonials ------------- */
.skrv-testimonials .carousel {
  z-index: 1;
}

.skrv-testimonials .widget-title .title_bg_character {
  top: -7px;
}


/* ------------- Gravity Form ------------- */


/* Gravity Survey Rating */

.gsurvey-rating {
  float: none !important;
}

  body .gsurvey-rating:not(:checked)>label {
    background-image: url('images/star0.svg');

    background-size: 30px 30px;
    width: 36px;
    font-size: 30px !important;
    line-height: 30px;
    color: #fff;
  }

    body .gsurvey-rating:not(:checked)>label:hover,
    body .gsurvey-rating:not(:checked)>label:hover~label,
    body .gsurvey-rating>input:checked~label {
      cursor: pointer;
      background-color: #fff;
      background-image: url('images/star1.svg');

      background-size: 30px 30px;
      width: 36px;
      font-size: 30px !important;
      line-height: 30px;
      color: #fff;
    }

    body .gsurvey-rating>input:checked+label:hover,
    body .gsurvey-rating>input:checked+label:hover~label,
    body .gsurvey-rating>input:checked~label:hover,
    body .gsurvey-rating>input:checked~label:hover~label,
    body .gsurvey-rating>label:hover~input:checked~label {
      color: #fff;
    }


    .gsurvey-survey-field {
      margin-bottom: calc(.5 * var(--spacer));
    }

    .gsurvey-survey-field .gfield_label,
    .gsurvey-survey-field .gsurvey-rating-wrapper {
      display: inline-block;
      width: 66%;
    }

    .gsurvey-survey-field .gsurvey-rating-wrapper {
      position: relative;
      display: inline-block;
      width: 33%;
      top: 8px;
    }


.feedback {
  margin-top: -40px;
}

.feedback_wrapper {}

  .feedback_wrapper label.gfield_label {
    font-weight: 500;
  }

  .feedback_wrapper textarea,
  .feedback_wrapper input[type="text"],
  .feedback_wrapper input[type="email"] {
    background-color: #f9f9f9;
    border-color: var(--c-main);
  }


.satisfaction-questionnaire_wrapper {
  padding-top: 0;
  margin-top: -40px;
}

.satisfaction-questionnaire {}

  .satisfaction-questionnaire .gsurvey-likert {
    border-collapse: inherit;
    border: none;
  }

    .satisfaction-questionnaire .gsurvey-likert td,
    .satisfaction-questionnaire .gsurvey-likert th,
    .satisfaction-questionnaire .gsurvey-likert tr {
      border: none;
      background-color: #fff;
    }

    .satisfaction-questionnaire .gsurvey-likert .gsurvey-likert-row-label {
      text-align: left;
      padding: 15px 20px;
      font-size: 1.125em;
      font-weight: 300;
      background-color: #fff;
      border: none;
    }

    .satisfaction-questionnaire .gsurvey-likert .gsurvey-likert-choice-label {
      width: 12%;
      padding: 10px 10px 7px !important;
      font-size: 1.125em;
      font-weight: 300;
      background-color: #fff;
      border: none;
      /* border-bottom: 1px solid var(--c-grey-m) !important; */
    }

    .satisfaction-questionnaire table.gsurvey-likert .gsurvey-likert-choice,
    .satisfaction-questionnaire table.gsurvey-likert .gsurvey-likert-row-label {
      background-color: #fff;
      border: none !important;
    }

    .satisfaction-questionnaire table.gsurvey-likert td.gsurvey-likert-choice {
      background-image: url('images/active0.svg');
    }

      .satisfaction-questionnaire table.gsurvey-likert td.gsurvey-likert-choice:hover {
        cursor: pointer;
        background-color: #fff;
        background-image: url('images/active0_hover.svg');
      }

    .satisfaction-questionnaire table.gsurvey-likert tr:nth-child(odd) .gsurvey-likert-row-label,
    .satisfaction-questionnaire table.gsurvey-likert tr:nth-child(odd) .gsurvey-likert-choice {
      background-color: var(--c-grey-l);
    }

    .satisfaction-questionnaire table.gsurvey-likert th.gsurvey-likert-row-label:first-child {
      background-color: #fff;
      /* border-bottom: 1px solid var(--c-grey-m) !important; */
    }

    .satisfaction-questionnaire textarea {
      background-color: var(--c-grey-l);
    }



    /* ------------------ cookie-consent ------------------ */
    .cc_div {}

      .cc_div button {
        border-radius: 0 !important;
        min-width: inherit;
      }

      .cc_div .font-weight-normal {
        display: none;
      }

      .cc_div .cc-link {
        background-color: #fff !important;
        border-bottom: none !important;
      }

      .cc_div .cc-link:active,
      .cc_div .cc-link:hover {
        border: none;
      }

      .cc_div .c-bn:hover,
      .cc_div .b-tl:hover {
        border: none;
      }

      #c-bns button:first-child, #s-bns button:first-child {

      }

      .cc_div .b-tl:hover {
        color: var(--cc-btn-primary-bg);
      }



@media only screen and (min-width: 1200px) {

  .fr #main-nav ul.navbar-nav > li > a {
      padding: 32px 9px 20px;
  }

  .de #main-nav ul.navbar-nav > li > a {
    padding: 32px 10px 20px;
  }

  .lng-wrapper {
    /* padding: 0; */
    /* min-width: 140px; */
  }

  .lng-wrapper ul li {
    display: inline-block;
  }

      .lng-wrapper .menu-item .nav-link .icon-globe {
        top: 3px;
        margin-right: 10px;
      }

    .lng-wrapper .menu-item .nav-link .wpml-ls-native {
      top: -2px;
    }



}

/* -------------form-appointments ------------- */
#form-appointments h2 {
  /* margin: 80px auto 20px;
  padding-bottom: 22.5px;
  max-width: 800px;
  width: 100%;
  text-align: left;
  color: var(--c-main);
  font-family: 'Noto Serif',serif;
  font-style: italic;
  font-weight: 700;
  border-bottom: 6px solid var(--c-main);
  font-size: 2.625em; */
}

  .appointment-link {
    margin-right: 10px;
  }

  .navbar-socket .appointment-link {
    padding: 4px 15px 1px;
    margin: 1px 10px 0 5px;
    font-size: 1.0625em;
    border-radius: 2px;
  }

    .navbar-socket .appointment-link:hover {
      text-decoration: none;
    }



/* ------------- skrivanek loga ------------- */
.skrivanek-logo-wrapper {
  /* display: flex;
  flex-flow: row;
  justify-content: center !important; */
  padding: 32px 0 0px !important;
  background: #31363c;
}

  .skrivanek-logo-wrapper .skrivanek-logo {
    background-repeat: no-repeat;
    width: 120px; height: 54px;
    background-size: contain;
    display: inline-block;
    margin: 6px 0px !important;
  }

    .skrivanek-logo-wrapper .skrivanek-logo.skrivanek-dtp {
      background-image: url('images/skrivanek-dtp-w.png');
    }

    .skrivanek-logo-wrapper .skrivanek-logo.skrivanek-com {
      background-image: url('../skrivanek/images/skrivanek-en-w-30.svg');
      width: 160px;
      height: 45px;
    }

    .skrivanek-logo-wrapper .skrivanek-logo.skrivanek-ai {
      background-image: url('images/skrivanek-ai-w.png')
    }

    .skrivanek-logo-wrapper .skrivanek-logo span {
      display: none;
    }

  @media only screen and (min-width: 576px) {
    .skrivanek-logo-wrapper .skrivanek-logo {
      width: 160px; height: 70px;
      margin: 24px 36px !important;
    }

    .skrivanek-logo-wrapper .skrivanek-logo.skrivanek-com {
      width: 216px;
      height: 45px;
    }

  }



/* ------------- mascot ------------- */
.mascot {
  position: relative;
  z-index: 2;
  background-repeat: no-repeat;
}

  .mascot .wpa9-card,
  .mascot .widget {
    background-repeat: no-repeat;
  }

  .mascot .panel-widget-style {
    position: relative;
    z-index: 1;
  }

    .mascot-3-1c::before {
      content: '';
      position: absolute;
      z-index: 2;
      background-image: url('images/mascot-3-1.svg');
      background-repeat: no-repeat;
      top: 50%;
      right: 6%;
      width: 150px;
      height: 164px;
    }

      .mascot-3-1c.mascot-loop-archive::before {
        top: -120px;
        right: 11%;
      }

      .mascot-3-1c.mascot-subscribe::before {
        top: auto;
        bottom: 10px;
        left: 35%;
      }

  .mascot-4c::after {
    content: '';
    position: absolute;
    z-index: 3;
    background-image: url('images/mascot-4.svg');
    background-repeat: no-repeat;
    top: 35%;
    right: calc(50% - 525px);
    width: 140px;
    height: 185px;
  }

    .mascot-4c-news::after {
      background-position: right 14% top 20px;
    }

  .mascot-5::after {
    content: '';
    position: absolute;
    background-image: url('images/mascot-5.svg');
    background-position: right 5% top;
    background-repeat: no-repeat;
    background-size: 130px 143px;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }

    .mascot-5c::after {
      content: '';
      z-index: 0;
      position: absolute;
      background-image: url('images/mascot-5.svg');
      background-repeat: no-repeat;
      top: 0;
      right: 0;
      width: 130px;
      height: 143px;
    }

    .mascot-career::after {
      left: 200px;
      bottom: 0;
      top: auto;
      right: auto;
    }

  .mascot-9 {
    position: relative;
    z-index: 2;
    margin: -30px auto -7px;
    background-image: url('images/mascot-9.svg');
    background-position: left 14% bottom;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    max-width: 1055px;
    height: 90px;
  }

  .mascot-9c::before  {
    content: '';
    position: absolute;
    z-index: 3;
    background-image: url('images/mascot-9.svg');
    background-repeat: no-repeat;
    top: 0;
    right: 0;
    width: 150px;
    height: 110px;
  }

    .mascot-9c.mascot-bottom::before {
      top: auto;
      bottom: -34px;
      right: calc(50% - 525px);
    }

  .mascot-9c.mascot-9c-archive::before {
    top: 85px;
    right: 10%;
  }

    .mascot-satisfied-clients::before  {
      right: 10%;
    }

  .wpa9-card-s.mascot-10,
  .mascot-10 .wpa9-card-s {
    background-image: url('images/mascot-10.svg');
    background-position: right -1px center;
    background-size: 13%; /*160px 208px;*/
    background-repeat: no-repeat;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }

  .inquiry-form_wrapper::before  {
    content: '';
    position: absolute;
    z-index: 2;
    background-image: url('images/mascot-3-1.svg');
    /* background-position: right 8% top 25px; */
    background-repeat: no-repeat;
    background-size: 100%;
    top: -48px;
    right: 2%;
    width: 150px;
    height: 164px;
  }

  .en .inquiry-form_wrapper::before  {
    top: 12px;
  }

  .form-appointments_wrapper::before  {
    content: '';
    position: absolute;
    z-index: 0;
    background-image: url('images/mascot-9.svg');
    background-position: right 17% top 42px;
    background-repeat: no-repeat;
    background-size: 150px 164px;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }

  .entry-header.mascot-4::before {
    content: '';
    position: absolute;
    z-index: 0;
    background-image: url('images/mascot-4.svg');
    background-position: right 8% top 55px;
    background-repeat: no-repeat;
    background-size: 150px 164px;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }


  .underconstruction-wrapper {
    position: fixed;
    z-index: 100;
    background-color: rgba(255,255,255,.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    top: 0; bottom: 0;
    left: 0; right: 0;
    width: 100vw;
    height: 100vh;
  }

    .underconstruction {
      position: relative;
      margin: 0 auto;
      width: 60%;
      min-width: 300px;
      max-width: 576px;
      top: 20%;
      background-color: #fff;
      padding: 40px;

      font-size: 1.5em;
      font-weight: 300;
      text-align: center;
      border-radius: 4px;
    }

      .underconstruction p {
        margin: 0;
      }

      .underconstruction .site-title {
        margin: 40px auto 0;
        background-image: url('images/skrivanekdtp-logo-en.svg');
        width: 164px;
        height: 65px;
      }



  @media only screen and (max-width: 1439px) {

    .mascot-4c.mascot-contact::after {
      right: 2%;
    }

    .mascot-satisfied-clients::before  {
      right: 10%;
    }

  }

  @media only screen and (max-width: 1279px) {

    .mascot-9c.mascot-bottom::before {
      right: 2%;
    }

  }

  @media only screen and (max-width: 991px) {

    .inquiry-form_wrapper::before {
      background-position: right 8% top 85px;
    }

    .form-appointments_wrapper::before  {
      background-position: right 4% top 71px;
    }

    .mascot-3-1c.mascot-subscribe::before {
      top: auto;
      bottom: 10px;
      left: 50%;
    }

    .entry-header.mascot-4::before {
      background-position: right 8% top 45px;
      background-size: 130px 140px;
    }

    .mascot-5::after {
      background-position: right top;
      top: 50px;
    }



  }

  @media only screen and (max-width: 767px) {

    .inquiry-form_wrapper::before {
      background-position: right 2% top 60px;
    }

    .form-appointments_wrapper::before  {
      background-position: right -1% top 87px;
      background-size: 130px 144px;
    }

    .mascot-3-1c.mascot-loop-archive::before {
      top: -120px;
      right: 0;
      width: 130px;
      height: 150px
    }

    .mascot-3-1c.mascot-subscribe::before {
      top: auto;
      bottom: 10px;
      left: 70%;
    }

    .entry-header.mascot-4::before {
      background-position: right 2% top 60px;
    }

    .mascot-5::after {
      background-position: right top;
      background-size: 120px 132px;
      right: -30px;
      top: 50px;
    }

    /* mascot-9-steps */
    body .panel-layout .panel-grid .mascot-9c {
      padding-bottom: 110px !important;
    }

    .mascot-9c.mascot-9c-archive::before {
      top: 80px;
      right: 10%;
      width: 160px;
    }

    .mascot-10,
    .mascot-10 .wpa9-card-s {
      background-size: 120px 156px;
      background-position: right bottom 25%;
    }

  }

  @media only screen and (max-width: 575px) {

    .mascot-10,
    .mascot-10 .wpa9-card-s {
      background-size: 80px 104px;
      background-position: right bottom 25%;
    }

    .mascot-3-1 {
      background-position: right 12% top 62%;
      background-size: 110px 130px;
    }

    .mascot-3-1c.mascot-subscribe::before {
      top: auto;
      bottom: -80px;
      left: 40%;
    }

    .mascot-4c.mascot-contact::after {
      position: relative;
      height: 160px;
      top: auto;
      bottom: -40px;
      left: calc(50% - 70px);
    }

    .inquiry-form_wrapper::before {
      background-position: right 5% top 60px;
      background-size: 120px 123px;
    }

    .entry-header.mascot-4::before {
      background-position: right 5% top 60px;
      background-size: 120px 123px;
    }

    .mascot-5::after {
      background-position: right top;
      background-size: 100px 108px;
      right: 0px;
      top: 50px;
    }

  }

  @media only screen and (max-width: 479px) {

    .inquiry-form_wrapper::before {
      background-position: right 3% top 77px;
      background-size: 100px 123px;
    }

    .form-appointments_wrapper::before  {
      background-position: right -1% top 65px;
      background-size: 110px 144px;
    }

    .entry-header.mascot-4::before {
      background-position: right 3% top 68px;
      background-size: 100px 123px;
    }

    /* .mascot-3-1c {
      background-size: 100px 150px;
      background-position: right top 140%;
    } */

    .mascot-3-1c.mascot-loop-archive::before {
      top: -70px;
      right: 0;
      width: 100px;
      height: 150px
    }

    .mascot-9c.mascot-9c-archive::before {
      right: 1%;
      width: 106px;
      top: 109px;
    }

  }




@media only screen and (max-width: 575px) {



}


@media only screen and (max-width: 767px) {

  .inquiry-link {
    margin-right: 5px;
    margin-left: 0px;
  }

}

@media only screen and (max-width: 1199px) {

  #main-nav .sub-menu h5 {
    display:none;
  }

}

@media only screen and (min-width: 1200px) {

  .lng-wrapper .menu-item .nav-link .icon-slide-down {
    display: inline-block;
  }

}
