/*
Author: jankurtak.eu / Ján Kurták
Author URI: http://www.jankurtak.eu/
*/

:root {
  --black: #000000;
  --dark: #242424;
  --gray: #5B5C78;
  --red: #F01010;
  --light: #F4F6F8;
  --white: #ffffff;
  --border_light: #BDCFE0;
}
  

html, body {
  position:relative;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none !important; 
}

*:focus {
  outline: none !important;
  box-shadow:none !important; 
}


body{
  color: var(--dark);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
  font-family: 'Kanit', sans-serif;
}

a{
  transition: all 0.3s;
  color: var(--dark);
}


p{
  margin-bottom: 15px;
}

/* Title */
h1, h2, h3, h4, h5, h6{
  margin-top: 0;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1;
}

h1{font-size:54px; margin-bottom: 30px;}
h2{font-size:36px; margin-bottom: 20px;}
h3{font-size:32px; margin-bottom: 15px;}
h4{font-size:26px}
h5{font-size:22px}
h6{font-size:20px}

.container {
  max-width: 1230px;
}

/* Buttons */
.btn{
  transition: all 0.3s ease-in-out;
  border-radius: 0;
  padding: 16px 24px;
  font-weight: 600;
  border-radius: 2px;
  font-size: 18px;
}

.btn-primary {
  color: #fff;
  background-color: var(--red);
  border-color: var(--red);
}

.btn-primary:hover {
  color: #fff;
  background-color: var(--dark);
  border-color: var(--dark);
}

.btn-outline-primary {
  color: var(--red);
  border-color: var(--red);
}

.btn-outline-primary:hover {
  background-color: var(--dark);
  border-color: var(--dark);
}
/* Form control */

.form-control{
  border-radius: 0;
  height: 50px;
}

/* Slick Arrow*/
.s-arrows .btn {
  width: 64px;
  height: 64px;
  position: relative;
  font-size: 24px;
  color: var(--red);
}

.s-arrows .btn:hover {
  background-color: var(--white);
}

.title-h.with-border {
  margin-bottom: 30px;
  padding-bottom: 20px;
  position: relative;
}

.title-h.with-border::before {
  content: "";
  width: 100px;
  height: 3px;
  background-color: var(--red);
  position: absolute;
  left: 0;
  bottom: 0;
}

.title-h.with-border.text-center::before {
  left: 50%;
  transform: translate(-50%, 0);
}


.title-h > span {
  font-weight: 200;
}

ul.with-icon > li{
  list-style: none;
  position: relative;
  padding-left: 25px;
  margin-bottom: 5px;
}

ul.with-icon > li::before{
  content: "\f178";
  font-family: 'Font Awesome 5 Pro';
  position: absolute;
  color: var(--border_light);
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Section */
section {
  margin-bottom: 75px;
  position: relative;
}

section .intro{
  margin-bottom: 30px;
}
/* Center */

.center-x{
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
}

.center-y{
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0,-50%);
}

.center-both{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

/* Image Cover */
picture.cover {
  margin: 0;
  position: relative;
  display: block;
  padding-top: 56.25%;
}

a > picture.cover > img, a > picture.cover > source,
picture.cover > img, picture.cover > source {
  position: absolute;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  left: 0;
  top: 0;
}

/* Image Aspect Ratio */
picture.cover.fit-43{
  padding-top: 75%;
}

picture.cover.fit-169{
  padding-top: 75%;
}

picture.cover.fit-11{
  padding-top: 100%;
}

picture.cover.fit-45{
  padding-top: 125%;
}

picture.frame::before{
  content: "";
  position: absolute;
  background-color: var(--light);
  width: 100%;
  height: 100%;
}

picture.frame{
  margin-bottom: 50px;
}


picture.frame.frame-left-bottom::before{
  top: 50px;
  right: 50px;
}

picture.frame.frame-left-bottom::after{
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: var(--red);
  right: -15px;
  top: -15px;
}

picture.frame.frame-right-bottom::before{
  top: 50px;
  left: 50px;
}

picture.frame.frame-right-bottom::after{
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: var(--red);
  left: -15px;
  top: -15px;
}

/* HEADER */
header {
  padding: 20px 0 20px 0;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 9999;
}

header #logo img{
  height: 50px;
}

header #menu{
  float: right;
}

header #menu > ul{
  font-size: 0;
  margin: 0;  
}

header #menu > ul > li{
  display: inline-block;
  position: relative;
}

header #menu > ul > li > a{
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--black);
  padding: 20px 14px 20px 14px;
  text-decoration: none;
  transition: all 0.5s;
  line-height: 1;
  position: relative;
}

header #menu > ul > li > a:hover{
  color: var(--red);
}

header #menu > ul > li.current-menu-item > a,
header #menu > ul > li.current_page_parent > a,
header #menu > ul > li.current-page-ancestor > a{
  color: var(--black);
  background: transparent;
}

header #menu > ul > li > a:after{
  content: "";
  position: absolute;
  width: 0;
  transition: all 0.5s;
}

header #menu > ul > li > a:hover::after {
  height: 5px;
  width: calc(100% - 24px);
  display: block;
  background-color: var(--red);
  top: 0px;
  left: 12px;
}


header #menu > ul > li > a:hover {
  color: var(--red);
}

header #menu > ul > li > ul.sub-menu
{
    display: block;
    position: absolute;
    width: 230px;
    padding: 0 10px;
    list-style: none;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0.3s ease, opacity 0.3s ease;
    background: var(--white);
    box-shadow: 0px 5px 20px 0px rgba(21, 37, 61, 0.1);
}

header #menu > ul > li:hover > ul.sub-menu {
    visibility: visible;
    opacity: 1;
}

header #menu > ul > li > ul.sub-menu > li
{
    position: relative;
    z-index: 100;
}

header #menu > ul > li > ul.sub-menu > li > a {
  display: block;
  padding: 12px 20px;
  font-size: 16px;
  line-height: 25px;
  text-decoration: none;
  transition: color 0.3s ease;
  transition: all 0.3s ease-in-out;
  font-weight: 400;
}

header #menu > ul > li > ul.sub-menu > li > a:hover {
  color: var(--red);
}

header #menu > ul > li > ul.sub-menu > li:last-child > a {
    border-bottom: 0;
}


/* Slider */
section.module-slider{
  position: relative;
  max-width: 1920px;
  margin: 0 auto 0 auto;
}

section.module-slider::before{
  content: "";
  background-color: var(--light);
  width: 100vw;
  left: calc((-100vw + 1920px) / 2);
  height: 50%;
  bottom: 0;
  position: absolute;
  z-index: 0;
}

section.module-slider .slider-item{
  position: relative;
  height: 650px;
}

section.module-slider .slider-item > picture{
  padding-top: inherit;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

section.module-slider .slider-item > picture::before{
  content: "";
  background-color: rgba(0,0,0,.5);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  z-index: 1;
}

section.module-slider .slider-item > picture > img{
  object-position: center;
}

section.module-slider .slider-item .container{
  position: relative;
  z-index: 2;
  top: 50%;
  transform: translate(0, -50%);
}

section.module-slider .slider-item .text{
  max-width: 600px;
  color: var(--white);
  padding: 150px 0;
}

section.module-slider .slider-footer{
  background-color: var(--light);
  padding: 20px 30px 20px 0;
  position: absolute;
  right: 0;
  bottom: 0;
}

section.module-slider .slider-footer .s-arrows{
  border-right: 1px solid var(--border_light);
  margin-right: 15px;
  display: inline;
}

section.module-slider .slider-footer .s-arrows > .btn:hover{
  color: var(--dark);
  background-color: transparent;
}

section.module-slider .slider-footer .news{
  position: relative;
  color: var(--red);
}

section.module-slider .slider-footer .news > i{
  font-size: 36px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
}
section.module-slider .slider-footer .news > span{
  display: block;
  width: 160px;
  padding-left: 55px;
  font-size: 14px;
  line-height: 1.3;
}

/* Products home*/
section.products{
  padding-top: 75px;
}

section.products::before{
  content: "";
  background-color: var(--light);
  width: 100%;
  height: 450px;
  top: 0;
  left: 0;
  position: absolute;
  z-index: -1;
}

section.products .item .title-h{
  font-size: 24px;
  margin-bottom: 20px;
}

section.products .item .title-h > a{
  color: var(--dark);
}

section.products .item > a > picture{
  margin-bottom: 20px;
}

section.products .item > ul > li > a{
 display: block;
 text-decoration: underline;
 padding: 2px;
}

/* About */
section.about{
  padding: 75px 0;
  color: var(--white);
}
section.about > picture.bg{
  padding-top: inherit;
  display: block;
  position: absolute;
  top: 0;
  left: calc(((100vw - 1200px) / 2) + 200px);
  width: calc(((100vw + 1200px) / 2) - 200px);
  height: 100%;
  z-index: 0;
}

section.about > picture.bg::before{
  content: "";
  background-color: rgba(44, 45, 67, .8);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  z-index: 1;
}

section.about .text{
  padding-left: 50px;
}

section.about .text .btn-outline-primary{
  color: var(--white);
}

/* Services home*/
section.services {
  background-color: var(--light);
  padding: 75px 0;
}

section.services .intro{
  margin-bottom: 50px;
}

section.services .service-item{
  padding: 30px;
  background-color: var(--white);
  transition: box-shadow 0.3s;
}

section.services .service-item:hover{
  box-shadow: 0 0 30px rgba(0, 0, 0, .05);
}

section.services .service-item .icon{
  margin-bottom: 20px;
}

section.services .service-item .title-h{
  font-size: 24px;
}

section.services .service-item > p:last-child{
  margin-bottom: 0;
}

/* Gallery Grid Home */
section.gallery.grid picture{
  padding-top: inherit;
  margin-bottom: 30px;
  height: 235px;
}

section.gallery.grid picture.vertical{
  height: 500px;
}

/* CTA */
section.cta{
  padding: 150px 0 0px 0;
  color: var(--white);
  max-width: 1920px;
  margin: 0 auto 75px auto;
}

section.cta > picture.bg{
  padding-top: inherit;
  display: block;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  height: 100%;
  z-index: 0;
}

section.cta > picture.bg::before{
  content: "";
  background: linear-gradient(45deg, rgba(0,0,0,1) 0%, rgba(54,55,63,1) 100%);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
}

section.cta > picture.bg > img{
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  opacity:0.15;
}

section.cta::before{
  border-top: 100px solid #fff;
  border-left: 1920px solid transparent;
  width: 0;
  height: 0;
  top: 0;
  content: "";
  position: absolute;
  overflow: hidden;
  left: 0;
  margin: auto;
  z-index: 1;
}

section.cta::after{
  content: "";
  position: absolute;
  width: 100%;
  height: 80px;
  bottom: 0;
  left: 0;
  background-color: var(--white);
}

section.cta .contact-line{
  padding: 50px 0;
  background-color: var(--white);
  box-shadow: 0 0 30px rgba(0, 0, 0, .1);
  z-index: 9;
  position: relative;
  color: var(--dark);
  border-radius: 10px;
  margin-top: 30px;
}

section.cta .contact-line .contact-item .icon > i{
  font-size: 48px;
  color: var(--red);
}
section.cta .contact-line .contact-item > span{
  margin-top: 15px;
}

/* Footer */
section.footer{
  background-color: var(--light);
  color: var(--gray);
  margin: 0;
  padding: 65px 0 0px 0;
}

section.footer .head{
  display: block;
  font-size: 20px;
  margin-bottom: 20px;
}

section.footer ul{
  margin-bottom: 30px;
  padding-bottom: 20px;
}

section.footer ul > li > a{
  display: block;
  padding: 4px 0;
  color: var(--gray);
}

section.footer ul > li > a:hover{
  color: var(--red);
}

section.footer .sign{
  background-color: var(--white);
  padding: 15px 0;
}

section.footer .sign a{
  color: var(--gray);
}

section.footer .sign a:hover{
  color: var(--red);
}

/* Hlavicka podstránky */
section.page-head{
  position: relative;
  margin-bottom: 0;
}

section.page-head::before{
  position: absolute;
  content: "";
  background-color: var(--light);
  width: 100%;
  height: calc(100% - 75px);
  bottom: 0;
}

section.page-head .title-h{
  position: relative;
  background-color: var(--dark);
  padding: 75px 0 75px 75px;
  margin: 0;
  color: var(--white);
}

section.page-head .title-h::before{
  content: "";
  position: absolute;
  height: 100%;
  width: 51vw;
  top: 0;
  right: -50vw;
  background-color: var(--dark);
}

section.page-bread{
  background-color: var(--light);
}

section.page-bread .breadcrumb{
  background-color: transparent;
  border-radius: 0;
  padding: 15px 0;
  font-size: 14px;
}
/* Modules */

/* Modul obsahu*/
section.module-content picture > img{
  max-height: 400px;
}
section.module-content .text.left{
  padding: 75px 75px 75px 0;
}

section.module-content .text.right{
  padding: 75px 0 75px 75px;
}

section.module-content .text.left-frame{
  padding: 75px 125px 75px 0;
}

section.module-content .text.right-frame{
  padding: 75px 0 75px 125px;
}

section.content-blocks .row {
  margin-bottom: 125px;
}

section.content-blocks .row.left picture.cover {
  width: calc(100% - 65px);
  padding-top: calc(75% - 65px);
  left: 15px;
}

section.content-blocks .row.left picture.cover::before {
  top: 50px;
  left: 50px;
}

section.content-blocks .row.left picture.cover::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: var(--red);
  left: -15px;
  top: -15px;
}

section.content-blocks .row.right .text {
  padding: 50px 50px 50px 0;
}

section.content-blocks .row.right picture.cover {
  width: calc(100% - 65px);
  padding-top: calc(75% - 65px);
  left: 65px;
}

section.content-blocks .row.right picture.cover::before {
  top: 50px;
  right: 50px;
}

section.content-blocks .row.right picture.cover::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: var(--red);
  right: -15px;
  top: -15px;
}

section.content-blocks .row.left .text {
  padding: 50px 0 50px 50px;
}


/* Modul vlastnosti*/
section.module-features{
  padding: 75px 0 45px 0;
  background-color: var(--light);
}

section.module-features > .container > .title-h{
  margin-bottom: 50px;
}

section.module-features .text{
  margin-bottom: 50px;
}

section.module-features .features-item{
  margin-bottom: 30px;
}

section.module-features .features-item .number{
  display: block;
  width: 50px;
  height: 50px;
  border: 1px solid var(--gray);
  border-radius: 50px;
  position: relative;
  margin-right: 20px;
  margin-bottom: 10px;
}

section.module-features.red .features-item .number {
  border: 0;
  background-color: var(--red);
  color: var(--white);
}

section.module-features .features-item .number > span{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: 600;
}

section.module-features .features-item .title-h{
  font-size: 22px;
  margin-bottom: 10px;
}

section.module-features .features-item > p{
  font-size: 16px;
}

section.module-features .features-item.image {
  text-align: center;
}
section.module-features .features-item.image .title-h {
  font-size: 16px;
}
section.module-features .features-item.image img {
  width: 92px;
  margin-bottom: 10px;
}
/* Category items */

section.category-list{
  margin-bottom: 45px;
}

section.category-list > .title-h{
  margin-bottom: 50px;
}

section.category-list .category-item{
  transition: all 0.3s;
  position: relative;
  margin-bottom: 30px;
}

section.category-list .category-item > a > picture > img{
  border-radius: 3px;
  transition: all 0.5s ease-in-out;
}

section.category-list .category-item picture {
  overflow: hidden;
}

section.category-list .category-item:hover picture > img {
  transform: scale(1.10);
}

section.category-list .category-item > .title-h{
  background-color: var(--light);
  padding: 20px;
  font-size: 16px;
  width: calc(100% - 60px);
  position: relative;
  left: 30px;
  top: -50%;
  transform: translate(0, -50%);
  border-radius: 3px;
}

section.category-list .category-item > .with-arrow::before{
  content: "\f178";
  font-family: 'Font Awesome 5 Pro';
  right: 20px;
  position: absolute;
  top: 50%;
  font-size: 24px;
  font-weight: 300;
  transition: all 0.3s;
  transform: translate(0, -50%);
  margin-right: 10px;
}

section.category-list .category-item:hover > .with-arrow::before{
  margin-right: 0px;
}

/* Product list */
section.product-list .product-item{
  margin-bottom: 50px;
}
section.product-list .product-item a.stretched-link{
  display: block;
  position: relative;
  text-align: center;
}

section.product-list .product-item a.stretched-link::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(13, 38, 62, 0.03);
  width: 100%;
  height: 100%;
}

section.product-list .product-item picture > img{
  height: 400px;
}

section.product-list .product-item .text{
  padding: 50px 0 50px 50px;
}

section.product-list .product-item .text .title-h > a{
  color: var(--red);
}

.text > ul{
  font-size: 16px;
}

.text > ul > li {
  list-style: none;
  position: relative;
  padding-left: 25px;
  margin-bottom: 5px;
}

.text > ul > li::before {
  content: "\f178";
  font-family: 'Font Awesome 5 Pro';
  position: absolute;
  color: var(--red);
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Products variant */
section.products-variant .variant-item {
  border: 1px solid var(--border_light);
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
}

section.products-variant .variant-item picture{
  display: block;
  margin-bottom: 15px;
}

section.products-variant .variant-item .name{
  display: block;
  font-size: 14px;
  font-weight: 500;
}

/* Specification */
section.product-spec table{
  width: 100%;
}

section.product-spec table tr > td:first-child{
  width: 50%;
}

section.product-spec table tr{
  border-bottom: 1px solid var(--border_light);
}

section.product-spec table tr > td{
  padding: 10px 0;
  font-size: 15px;
}

section.product-spec .document{
  background-color: var(--light);
  padding: 30px;
  text-align: center;
  margin-bottom: 30px;
}

section.product-spec .document > i{
  display: block;
  font-size: 84px;
  margin-bottom: 15px;
}

/* Kontakt */
section.contact .fakturacne .title-h{
  font-size: 24px;
  margin-bottom: 30px;
}

section.contact .fakturacne{
  border: 1px solid var(--border_light);
  padding: 50px;
  margin-bottom: 75px;
  position: relative;
}

section.contact .fakturacne::before {
  content: "";
  background-color: var(--light);
  height: 100%;
  top: 0;
  right: 0;
  width: 50%;
  position: absolute;
}

section.contact .fakturacne .udaje{
  margin: 15px 0 0 0;
}

section.contact .fakturacne .udaje > span > strong {
  min-width: 100px;
  display: inline-block;
}

section.contact .fakturacne .text.right{
  padding-left: 35px;
}

section.contact .inner-contact {
  font-size: 24px;
}
section.contact .inner-contact > li{
  padding-left: 40px;
}

section.contact .inner-contact > li::before{
  content: "\f879";
}
section.contact .inner-contact > li:nth-child(2)::before{
  content: "\f0e0";
}

section.contact .fakturacne hr{
  margin: 30px 0;
}

section.contact .fakturacne .inner-socials > li {
  list-style: none;
  display: inline-block;
  padding: 0;
  margin-right: 10px;
}

section.contact .fakturacne .inner-socials > li > a > i{
  margin-right: 8px;
}

section.contact .fakturacne .inner-socials > li::before {
  display: none;
}
@media (max-width:1199px) {
  header{
    position: relative;
    z-index: 99;
  }

  header .row > div{
      position: static;
  }

  header #logo{
      position: relative;
  }

  header #toggleMenu{
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    margin-right: 0;
    padding: 0;
    line-height: 50px;
    font-size: 26px;
    text-align: center;
    color: var(--white);
    background-color: var(--red);
    z-index: 10;
    border: 0;
  }

  header #menu{
      position: absolute;
      padding: 15px;
      top: 90px;
      left: 0;
      width: 100%;
      padding: 5px 0 20px;
      background: var(--white);
      visibility: hidden;
      opacity: 0;
      transition: visibility 0.3s ease, top 0.3s ease, opacity 0.3s ease;
  }

  body.menuToggled #menu{
      top: 100%;
      visibility: visible;
      opacity: 1;
  }

  header #menu ul{
      padding: 0 15px;
      max-width: 960px;
      margin-left: auto;
      margin-right: auto;
  }

  header #menu ul > li
  {
      display: block;
      border-left: 0 !important;
      border-bottom: 1px solid var(--borderblue-c);
  }

  header #menu ul > li > a
  {
      display: block;
      width: 100%;
      padding: 15px 0;
      line-height: 18px;
      font-weight: 400;
      transition: padding 0.3s ease;
  }

  header #menu > ul > li > a:hover::after {
    display: none;
  }

    header #menu > ul > li.menu-item-has-children
  {
    position: relative;
  }

  header #menu > ul > li.menu-item-has-children > a + span
  {
    display: block;
    position: absolute;
    cursor: pointer;
    top: 2px;
    right: 0;
    width: 20px;
    height: 20px;
    color: var(--black);
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    padding: 20px;
    left: auto;
    font-weight: bold;
    z-index: 99;
  }

  header #menu > ul > li.menu-item-has-children > a + span::after
  {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-family: 'Font Awesome 5 Pro';
    content: "\f0fe";
    font-size: 24px;
    font-weight: 100;
  }

  header #menu > ul > li > ul.sub-menu
  {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    width: calc(100% + 30px);
    border-radius: 0;
    box-shadow: none;
    margin: 0 -15px 0 -15px;
    padding: 0;
  }
  
  header #menu > ul > li > ul.sub-menu > li > a {
    padding: 12px 15px 12px 25px;
    background-color: var(--light);
  }
}