@font-face {
  font-family: "malir";
  src: url("font/Malir-Unknow.woff2") format("woff2"),
       url("font/Malir-Unknow.woff") format("woff");
}

:root {
  --color: #DF2A3E;
  --dashed-line: 1px dashed var(--color);
  --dashed-line-img: url("img/border.png") 1 repeat;
}

html{
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body{
  font-family: "malir";
  font-size: 21px;
  color: #1D1D1B;
  position: relative;
  scroll-padding-top: 61px;
  overflow-x: hidden;
}

a{
  text-decoration: none;
  color: var(--color);
  transition: color .2s;
}

a:hover, a:focus{
  color: #1D1D1B;
}

.container{
  padding-left: 40px;
  padding-right: 40px;
}

#hero{
  min-height: 100vh;
  background-image: url("img/hero.jpg");
  background-size: cover;
  background-position: center;
  padding-bottom: 80px;
}

header.top-nav{
  padding: 3px 0;
  border-image: var(--dashed-line-img);
  border-width: 0;
  border-bottom: var(--dashed-line); 
}

header.top-nav.bg-white{
  background-color: #fff;
  mix-blend-mode: normal;
}

header.top-nav, header.top-nav a{
  color: var(--color);
  text-decoration: none;
  font-size: 12px;
  line-height: 30px;
}

header.top-nav img{
  width: 24px;
  margin-right: 5px;
  vertical-align: middle;
}

#hero .content{
  vertical-align: middle;
  padding-top: 20vh;
}

#hero .content img{
  max-width: 100%;
  mix-blend-mode: multiply;
}

#hero .content .row > div:first-child{
  display: inline-flex;
}

#hero .content .row > div:last-child{
  display: table;
}

#hero .content p{
  margin: 0;
  height: 100%;
  display: table-cell;
  vertical-align: middle;
  font-size: 16px;
}

#hero .main-phone-link{
  margin-top: 20px;
  font-size: 30px;
  display: inline-block;
  mix-blend-mode: multiply;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: transparent;
}

#hero .main-phone-link:hover, #hero .main-phone-link:focus{
  color: transparent;
  -webkit-text-stroke-color: var(--color);

}

#header{
  position: sticky;
  top: 0;
  margin-top: -60px;
  height: 61px;
  border-bottom: 1px solid var(--color);
  background-color: #fff;
  padding: 5px 0;
  z-index: 20;
}

#header .navbar{
  padding: 0;
}

#header .navbar-toggler{
  padding: 0;
  height: 50px;
  width: 50px;
  border: 0 none;
}

#header .navbar-toggler:focus{
  box-shadow: none;
}

#header .navbar-toggler img{
  width: 37px;
  height: 50px;
  padding: 13px 0 13px 13px;
  vertical-align: top;
}

#header h1{
  font-weight: normal;
  font-size: 14px;
  margin: 0;
}

#header h1 img{
  height: 50px;
}

#header h1 span{
  display: inline-block;
  height: 50px;
  padding: 10px 0 10px 5px;
  line-height: 15px;
  vertical-align: top;
}

#header .navbar-nav{
  background-color: #fff;
  border-bottom: 1px solid var(--color);
  margin-top: 5px;
  padding: 10px 0;
}

#header .navbar-nav .nav-link{
  color: var(--color);
  padding: 10px 0 10px 30px;
  font-size: 18px;
}

#header .navbar-nav .nav-link:before{
  width: 24px;
  height: 24px;
  content: '';
  display: inline-block;
  background-image: url("img/icons/arrow.svg");
  background-position: center;
  background-size: cover;
  margin-bottom: 3px;
  vertical-align: middle;
  margin-right: 5px;
  opacity: 0;
  transition: opacity .2s;
}

#header .navbar-nav .nav-link:hover:before, #header .navbar-nav .nav-link:focus:before, #header .navbar-nav .nav-link.active:before{
  opacity: 1;
}

@media(min-width: 576px){
  #hero .content{
    padding-top: 60px;
  }

  #hero .main-phone-link{
    font-size: 54px;
  }
}

@media(min-width: 768px){
  .top-nav .socials{
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    padding: 0 35px 0 0;
  }

  #hero .content img{
    margin-right: 20px;
  }

  #hero .content p{
    font-size: 28px;
  }

  #hero .main-phone-link{
    font-size: 74px;
  }
}

@media(min-width: 992px){
  #header .navbar-nav{
    padding: 0 0 0 100px;
    margin-top: 0;
    border-bottom: 0;
  }

  header.top-nav header, header.top-nav header a{
    font-size: 14px;
  }

  #hero .content img{
    margin-right: 30px;
  }

  #hero .content p{
    font-size: 36px;
  }

  #hero .main-phone-link{
    font-size: 80px;
  }

  #header{
    top: 37px;
  }

  header.top-nav{
    position: fixed;
    width: 100%;
    top: 0;
    mix-blend-mode: multiply;
    z-index: 20;
  }
}

@media(min-width: 1200px){
  #hero .main-phone-link{
    font-size: 100px;
  }

  #hero .content{
    padding-top: 100px;
  }

  #header .navbar-nav .nav-link{
    font-size: 21px;
  }
}

@media(min-width: 1400px){
  #hero .main-phone-link{
    font-size: 120px;
  }

  #hero .content{
    padding-top: 100px;
  }

  #hero .content p{
    font-size: 42px;
  }
}


/* Content */

section{
  border-image: var(--dashed-line-img);
  border-width: 0;
  border-bottom: var(--dashed-line);
}

section::before {
  content: '';
  display: block;
  height: 61px;
  margin-top: -61px;
  visibility: hidden;
}

section h2{
  color: var(--color);
  font-size: 21px;
  font-weight: normal;
  margin: 20px 0 0;
}

section h3{
  font-size: 32px;
  font-weight: normal;
  margin: 40px 0 20px;
}

section#about{
  border-top: var(--dashed-line);
  margin-top: 40px
}

section#about p{
  margin: 0;
}

.about-carousel{
  margin: 40px 0;
}

.about-carousel .carousel-cell{
  width: 300px;
  height: 300px;
  margin: 0 10px;
  overflow: hidden;
}

.about-carousel .carousel-cell img{
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.flickity-button, .flickity-button:hover, .flickity-button:focus{
  background: transparent;
}

.flickity-button:focus{
  box-shadow: none;
}

.about-carousel .flickity-button svg{
  fill: var(--color);
}

.lightbox{
  height: 90vh;
  display: flex;
  align-items: center;
}

.lb-dataContainer{
  display: none !important;
}

.lightboxOverlay{
  background-color: #fff !important;
  opacity: .9 !important;
}

.lightbox .lb-image, .lb-outerContainer{
  border-radius: 0 !important;
  border: 0 !important;
  
}

.lb-nav a.lb-prev, .lb-nav a.lb-next{
  display: none !important;
}

section#about .bonus{
  border: 1px solid var(--color);
  border-radius: 50px;
  padding: 20px;
  margin: 0 auto 40px;
  color: var(--color);
  font-size: 14px;
  line-height: 18px;
  max-width: 300px;
}

section#about .bonus em{
  text-transform: uppercase;
  font-size: 14px;
  line-height: 14px;
  font-style: normal;
  display: block;
}

section#services h3 button{
  text-align: left;
  width: 100%;
  background-color: transparent;
  border: 0;
}

section#services h3 small{
  text-transform: uppercase;
  display: block;
  font-size: 21px;
}

section#services .service{
  position: relative;
}

section#services .service img{
  width: 40px;
  position: absolute;
  top: 0;
  left: -55px;
  display: none;
}

#image-cursor{
  display: none !important;
}

section#services .service img.hidden-img{
  display: block;
  width: 50%;
  margin: 0 auto 30px;
  position: static;
}

#image-cursor-controls{
  position: relative;
  padding-bottom: 40px;
}

#image-cursor{
  width: 360px;
  height: 410px;
  padding: 0;
  position: absolute;
  display: block;
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
  pointer-events: none;
}

#image-cursor img{
  object-fit: cover;
  object-position: center;
  height: 100%;
  width: 100%;
}

@media(min-width: 576px){
  section#about .bonus{
    font-size: 32px;
    line-height: 32px;
    padding: 40px 20px;
    margin: 0 auto 80px;
  }

  section#about .bonus em{
    font-size: 20px;
    line-height: 20px;
  }

  .about-carousel{
    margin: 80px 0;
  }
}

@media(min-width: 768px){
  section#services .service .collapse, section#services .service .collapsing{
    display: block !important;
    height: auto !important;
  }

  section#services .service img.hidden-img{
    display: none;
  }

  section#services .service h3 button{
    cursor: default;
  }

  #image-cursor{
    display: block !important;
  }
}

@media(min-width: 992px){
  section h3{
    margin: 100px 0 20px;
    font-size: 32px;
  }

  section#about p{
    width: 80%;
  }

  section#services p{
    width: 80%;
  }

  section#services{
    padding-bottom: 60px;
  }

  section#about{
    margin-top: 100px;
  }

  section#about .bonus{
    font-size: 45px;
    line-height: 45px;
    margin: 0 auto 100px;
  }

  section#about .bonus em{
    font-size: 27px;
    line-height: 27px;
  }

  .about-carousel .carousel-cell{
    width: 450px;
    height: 450px;
  }

  .about-carousel{
    margin: 100px 0;
  }

  .flickity-button{
    height: 80px;
    width: 80px;
  }

  section#services h3 small{
    margin-bottom: 35px;
  }

  section#services .service img{
    display: block;
  }

  section:before{
    margin-top: -98px;
    height: 98px;
  }
}

@media(min-width: 1200px){
  section h3{
    font-size: 38px;
  }

  section#services h3 small{
    margin-bottom: 40px;
  }

  .about-carousel{
    margin: 140px 0;
  }
}

@media(min-width: 1400px){
  .about-carousel .carousel-cell{
    width: 600px;
    height: 600px;
  }
}


/* Works */

.works-carousel{
  margin: 40px 0;
}

.works-carousel .carousel-cell{
  width: 90%;
  max-width: 400px;
  margin: 0 3%;
  padding: 1px 0;
}

.works-carousel .review{
  width: 100%;
  border: 1px solid #1D1D1B;
  border-radius: 50px;
  padding: 30px 30px 60px;
  font-size: 18px;
  height: 420px;
  position: relative;
}

.works-carousel .review span{
  display: inline-block;
  text-align: right;
  width: 100%;
  position: absolute;
  bottom: 30px;
  right: 30px;
}

.works-carousel .review span:before{
  content: "—";
  margin-right: 5px;
}

.works-carousel .review span:after{
  content: "—";
  margin-left: 5px;
}

.works-carousel .review .images{
  display: none;
}

.works-carousel .review:hover{
  border-color: var(--color);
}

.works-carousel .is-selected .review{
  color: var(--color);
  border-color: var(--color);
}

.btn{
  color: var(--color);
  border: 1px solid var(--color);
  border-radius: 25px;
  padding: 15px 25px;
  transition: color .2s, border-color .2s;
}

.btn:hover, .btn:focus{
  color: #1D1D1B;
  border-color: #1D1D1B;
  box-shadow: none;
}

section#works .btn{
  margin-bottom: 40px;
}

section#works #before-after{
  margin-top: 40px;
}

section#works #before-after img{
  max-width: 100%;
}

@media(min-width: 380px){
  .works-carousel .review{
    height: 340px;
  }
}

@media(min-width: 768px){

  .works-carousel{
    margin: 80px 0;
  }

  .works-carousel .review{
    font-size: 21px;
    padding: 40px;
    height: 420px;
  }

  .works-carousel .review span{
    bottom: 40px;
    right: 40px;
  }

  section#works .btn{
    margin-bottom: 80px;
  }

  section#works #before-after{
    margin-top: 80px;
  }

}


/* Pricing */

#accordionPricing{
  margin: 40px 0;
}

.accordion-item{
  border: 0;
}

.accordion-item h3{
  margin: 0;
}

.accordion-item h3 button{
  padding-left: 0;
  padding-right: 0;
  font-size: 18px;
}

.accordion-button:after, .accordion-button:not(.collapsed):after{
  background-image: url("img/icons/plus.svg");
}

.accordion-button:not(.collapsed):after {
  transform: rotate(225deg);
}

.accordion-button:focus{
  box-shadow: none;
  outline: none;
}

.accordion-button:not(.collapsed){
  color: #1D1D1B;
  background-color: transparent;
  box-shadow: none;
}

.accordion-body{
  padding: 20px 0;
}

#accordionPricing table{
  margin-bottom: 40px;
  width: 100%;
}

#accordionPricing td{
  font-size: 18px;
  line-height: 20px;
  padding: 5px 0;
}

#accordionPricing td:last-child{
  text-align: right;
}

#accordionPricing th h4{
  color: var(--color);
  text-transform: uppercase;
  padding: 10px 0;
  margin: 0 0 10px;
  border-image: var(--dashed-line-img);
  border-width: 0;
  border-bottom: var(--dashed-line);
}

@media(min-width: 576px){
  .accordion-item h3 button{
    font-size: 36px;
  }
}

@media(min-width: 768px){
  #accordionPricing{
    margin: 80px 0;
  }
}

@media(min-width: 992px){
  .accordion-item h3 button{
    font-size: 54px;
  }

  .accordion-button{
    padding: 25px 0;
  }

  .accordion-button:after, .accordion-button:not(.collapsed):after{
    background-size: 50px;
    width: 50px;
    height: 50px;
  }

  .accordion-body{
    margin: 0 -40px;
    padding: 60px 0 0;
  }

  .accordion-body > div{
    padding: 0 40px;
  }

  #accordionPricing table{
    margin-bottom: 80px;
  }
}

@media(min-width: 1200px){
  #accordionPricing td{
    font-size: 21px;
    line-height: 24px;
  }
}


/* Kontakt */

section#contact{
  border: 0 none;
}

section#contact .contact-text{
  margin-top: 40px;
  margin-bottom: 30px;
}

section#contact input, section#contact textarea{
  border-radius: 5px;
  border: 1px solid #A2A2A2;
  padding: 5px 15px;
  width: 100%;
  margin-bottom: 15px;
}

section#contact textarea{
  height: 160px;
}

section#contact input:focus, section#contact textarea:focus{
  border-color: #1D1D1B;
  box-shadow: none;
  outline: none;
}

section#contact input[type="checkbox"]{
  width: auto;
  margin: 0;
  display: none;
}

section#contact label[for="gdpr"]{
  position: relative;
  padding-left: 36px;
  font-size: 12px;
  margin-bottom: 15px;
  line-height: 24px;
  vertical-align: top;
}

section#contact label[for="gdpr"]:after{
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  border: 1px solid #A2A2A2;
  position: absolute;
  left: 0;
  top: 0;
}

section#contact input:checked + label[for="gdpr"]:before{
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--color);
  position: absolute;
  top: 6px;
  left: 6px;
}

section#contact input.btn{
  font-size: 21px;
  text-transform: uppercase;
  width: auto;
  border-color: var(--color);
  margin: 0 auto 40px;
  display: block;
}

section#contact .notice{
  display: inline-block;
  background-color: var(--color);
  color: #fff;
  padding: 20px;
  margin: 0 -20px;
}

@media(min-width: 768px){
  section#contact .contact-text{
    margin-top: 80px;
    margin-bottom: 60px;
  }

  section#contact input.btn{
    margin-bottom: 80px;
  }
}

@media(min-width: 992px){
  section#contact{
    background-image: url("img/contact-bg.png");
    background-position: top 120px right;
    background-size: 50% auto;
    background-repeat: no-repeat;
  }

  section#contact p{
    font-size: 27px;
  }

  section#contact label[for="gdpr"]{
    padding-left: 60px;
    font-size: 18px;
    line-height: 44px;
  }

  section#contact label[for="gdpr"]:after{
    width: 44px;
    height: 44px;
  }

  section#contact input:checked + label[for="gdpr"]:before{
    width: 20px;
    height: 20px;
    top: 12px;
    left: 12px;
  }
}

@media(min-width: 1400px){
   section#contact{
    background-position: top 100px right;
    background-size: 900px auto;
   }
}


/* Footer */

#footer{
  background-color: var(--color);
  color: #fff;
}

.top-footer, .bottom-footer{
  padding: 25px 40px 10px;
  font-size: 12px;
  line-height: 18px;
  max-width: 1800px;
  margin: 0 auto;
}

.top-footer .company-info{
  position: relative;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 21px;
}

.top-footer .company-info img{
  width: 50px;
  position: absolute;
  top: 0;
  left: 0;
}

.top-footer .company-info p{
  padding-left: 55px;
  width: 100%;
  max-width: 500px;
}

.two-columns{
  columns: 2;
}

#footer a{
  color: #fff;
}

.top-footer a img{
  width: 18px;
  height: 18px;
  margin-right: 5px;
  vertical-align: middle;
}

.bottom-footer{
  padding: 5px 40px;
  line-height: 24px;
  font-size: 12px;
}

.bottom-footer a img{
  height: 24px;
  margin-top: -2px;
}

.bottom-footer-line{
  border-width: 0;
  border-top: 1px dashed #fff;
  border-image: url("img/border-white.png") 1 repeat;
}

@media(min-width: 576px){
  .top-footer .company-info img{
    width: 72px;
  }

  .top-footer .company-info p{
    padding-left: 80px;
  }
}

@media(min-width: 992px){
  .top-footer{
    font-size: 15px;
    line-height: 24px;
    padding: 40px 40px 25px;
  }

  .top-footer .company-info{
    font-size: 18px;
    line-height: 23px;
  }

  .top-footer .company-info img{
    width: 140px;
  }

  .top-footer .company-info p{
    padding-left: 160px;
    max-width: 400px;
  }
}

@media(min-width: 1400px){
  .top-footer{
    font-size: 18px;
    line-height: 26px;
  }

  .top-footer a img{
    width: 21px;
    height: 21px;
    vertical-align: top;
    margin-top: 1px;
  }

  .top-footer .company-info{
    font-size: 21px;
    line-height: 27px;
  }

  .top-footer .company-info p{
    max-width: 480px;
  }
}


/* IG feed */

.crt-widget{
  padding: 40px 0 !important;
  overflow-x: hidden;
}

.crt-controls-outside{
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.crt-widget.crt-widget-branded .crt-logo{
  bottom: 20px !important;
  font-size: 12px !important;
  color: #fff !important;
  right: 10px !important;
}

.crt-carousel-pane{
  height: 300px !important;
}

.crt-widget .crt-post, .crt-widget-carousel .crt-carousel-slider .crt-post-c, .crt-post .crt-post-content-image, .crt-post-content, .crt-image-c{
  height: 100% !important;
}

.crt-post .crt-post-content-image img{
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.crt-widget-carousel{
  min-height: 0 !important;
}

.crt-widget-carousel .crt-post .crt-post-c{
  border: 0 none !important;
}

.crt-panel-prev{
  background-image: url("img/icons/arrow-carousel-left.svg");
  border-radius: 0 !important;
  background-color: transparent !important;
}

.crt-panel-prev svg, .crt-panel-next svg{
  display: none;
}

.crt-panel-next{
  background-image: url("img/icons/arrow-carousel-right.svg");
  border-radius: 0 !important;
  background-color: transparent !important;
}

@media(min-width: 576px){
  .crt-widget{
    padding: 160px 0 !important;
  }

  .crt-widget.crt-widget-branded .crt-logo{
    bottom: 60px !important;
  }
}


/* Before/after */

#before-after-container{
  position: relative;
}

#before-after{
  overflow: hidden;
  aspect-ratio: 4/3;
  margin: 0 auto;
  max-width: 800px;
  position: relative;
}

#before-after-img-foreground{
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  width: 50%;
  overflow: hidden;
}

#before-after-img-foreground img{
  vertical-align: top;
  height: 100%;
  width: auto;
  max-width: none !important;
}

#before-after-slider{
  position: absolute;
  top: 0;
  left: -40px;
  width: calc(100% + 80px);
  height: 100%;
  outline: none;
  margin: 0;
  transition: all .2s;
  background-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

#before-after-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 2000px;
  width: 80px;
  background: transparent;
  background-image: url("img/before-after/slider.png");
  background-size: contain;
  background-position: center;
  cursor: pointer;
  border-radius: 0;
  border: 0 none;
}

/* All the same stuff for Firefox */
#before-after-slider::-moz-range-thumb {
  appearance: none;
  height: 100%;
  width: 80px;
  background: transparent;
  background-image: url("img/before-after/slider.png");
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border-radius: 0;
  border: 0 none;
}

/* All the same stuff for IE */
#before-after-slider::-ms-thumb {
  height: 2000px;
  width: 80px;
  background: transparent;
  background-image: url("img/before-after/slider.png");
  background-size: contain;
  background-position: center;
  cursor: pointer;
  border-radius: 0;
  border: 0 none;
}

#before-after-container.onlyOne #before-after-slider, #before-after-container.onlyOne:before, #before-after-container.onlyOne:after{
  display: none;
}

@media(min-width: 768px){
  #before-after-container:before, #before-after-container:after{
    position: absolute;
    height: 20px;
    width: 100px;
    line-height: 20px;
    top: 50%;
    margin-top: -10px;
    z-index: 2;
    text-align: center;
  }

  #before-after-container:before{
    content: "Předtím";
    left: -40px;
  }

  #before-after-container:after{
    content: "Potom";
    right: -40px;
  }
}


@media(min-width: 1400px){
  #before-after-container:before, #before-after-container:after{
    width: 160px;
  }
}

#gdpr{
  font-size: 16px;
  counter-reset: h3;
}

#gdpr > .container{
  padding-top: 40px;
  padding-bottom: 40px;
}

#gdpr header.top-nav{
  background-color: #fff;
  mix-blend-mode: normal;
}

#gdpr #header{
  margin-top: 0;
}

#gdpr p{
  margin-bottom: 20px;
}

#gdpr ol{
  list-style-type: lower-alpha;
}

#gdpr h3::before{
  counter-increment: h3;
  content: counter(h3) " ";
}

@media(min-width: 992px){
  #gdpr h2{
    margin-top: 40px;
  }
}


.crt-widget.crt-widget-carousel .crt-carousel-stage{
  height: auto !important;
}
