/* Copyright (c) 2018 Matěj Eliáš */

/* fonty */

@import url('https://fonts.googleapis.com/css?family=Montserrat:100,200,200i,300,400,400i,700,800,900');

/*proměnné*/

:root {
    --main-color: #ce2323;
    --scnd-color:#f5f5f5;
    --bg-color: #fff;
    --text-color: #313638;
    --alert-color: #a15e49;
}
* {
    box-sizing: border-box;
}

/*základní značky */

html,body{
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    height: 100%;
    margin: 0px;
    background-color: var(--bg-color);
}
h1,h2,h3,h4{
    font-family: 'Montserrat', sans-serif;
}
/*Navigace */

nav {
      overflow: hidden;
      background-color: var(--bg-color);
    z-index: 999;
    text-align: left;
    transition: 0.2s ease-in-out;
    width: 100%;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
}
nav a {
  display: inline-block;
  color: var(--text-color);
  text-align: center;
  padding: 20px 20px;
  text-decoration: none;
  
  -size: 17px;
    font-weight: 400;
    text-transform: uppercase;
    transition: 0.2s ease-in-out;
    border-top: 1px solid var(--bg-color);
}
nav a:hover , nav .active{
  color: var(--main-color);
    transition: 0.2s ease-in-out;
    text-decoration: none;
    border-top: 1px solid var(--main-color);
}
nav .active{
    font-weight: 700;
}
nav .icon {
  display: none;
}
nav .icon:focus{
    color: var(--main-color);
}
@media screen and (max-width: 768px) {
  nav a:not(:first-child) {display: none;}
  nav a.icon {
    float: right;
    display: block;
  }
}
@media screen and (max-width: 768px) {
  nav.responsive {position: relative;}
  nav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  nav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}
.infosekce{
    width: 100%;
    padding: 30px;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--bg-color);
}
.infosekce .logo{
    text-align: left;
    float: left;
    font-weight: 700;
    color: var(--main-color);
    font-size: 20px;
    text-transform: uppercase;
    text-decoration: none;
}
.infosekce p{
    text-align: right;
    display: inline-block;
    float: right;
    color: var(--main-color);
    font-weight: 700;
    font-size: 17px;
}
.infosekce i{
    color: var(--main-color);
    padding-right: 1px;
    font-size: 17px;
}
@media(max-width:800px){
    .infosekce p{
        float: left;
        text-align: left;
    }
}
@media(min-width:800px){
    .sticky {
  position: fixed;
  top: 0;
    }
    .sticky + .hero{
    margin-top: 70px;
    }
    .sticky + header{
        margin-top: 70px;
    }
}

/* Uvodní sekce */

.hero{
    width: 100%;
    height: 70%;
    background-image: url(img/hero.jpg);
    background-size: cover;
    background-position: center;
    -webkit-clip-path: polygon(100% 0, 100% 90%, 55% 90%, 50% 100%, 45% 90%, 0 90%, 0 0);
clip-path: polygon(100% 0, 100% 90%, 55% 90%, 50% 100%, 45% 90%, 0 90%, 0 0);
}
.hero .obal{
    position: relative;
    height: 100%;
}
.hero .obal .hero-text{
    position: absolute;
    transform: translate(0%,-50%);
    left: 0px;
    top: 50%;
    width: 60%;
    padding: 15px;
}
.hero .obal .hero-text h1{
    font-weight: 500;
    color: var(--bg-color);
    font-size: 50px;
}
.hero .obal .hero-text p{
    color: var(--bg-color);
    font-size: 18px;
}
@media(max-width:768px){
    .hero .obal .hero-text h1{
        font-size: 30px;
    }
    .hero .obal .hero-text p{
        font-size: 15px;
    }
    .hero .obal .hero-text{
        width: 100%;
        padding: 15px;
    }
    .hero{
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}
.center{
    text-align: center;
}
/* Responzivita */

.row::after {
    content: "";
    clear: both;
    display: block;
}
[class*="col-"] {
    float: left;
    padding: 15px;
}
/* Počítače: */
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}
.obal{
    width: 1200px;
    margin: auto;
}
@media only screen and (max-width: 768px) {
    /* telefony: */
    [class*="col-"] {
        width: 100%;
    }
}
@media (max-width:1200px){
    .obal{
        width:100%;
    }
}
section,footer{
    float: left;
    width: 100%;
}
footer{
    background-color: var(--text-color);
    color: var(--bg-color);
}
footer i{
    padding-right: 15px;
    color: var(--main-color);
    font-size: 17px;
}
footer p{
    font-size: 13px;
}
footer a{
    color: var(--bg-color);
    text-decoration: none;
}
footer a:hover{
    text-decoration: underline;
    color: var(--bg-color);
}
footer li{
    padding: 5px 0px;
}
section{
    padding: 30px 0px;
}

/*tlacitka */
.button-main{
    display: inline-block;
    border: 2px solid var(--main-color);
    color: var(--text-color);
    padding: 14px 16px;
    text-decoration: none;
    text-transform: uppercase;
    background-color: rgba(0,0,0,0);
    font-weight: bold;
    margin: 10px 0px;
    transition: 0.2s ease-in-out;
    border-radius: 28px;
}
.button-main:hover{
    color: var(--text-color);
    background-color: var(--main-color);
    text-decoration: none;
}
.button-scnd{
    display: inline-block;
    border: 2px solid var(--main-color);
    color: var(--text-color);
    padding: 14px 16px;
    text-decoration: none;
    text-transform: uppercase;
    background-color: rgba(0,0,0,0);
    font-weight: bold;
    margin: 10px 0px;
    transition: 0.2s ease-in-out;
    border-radius: 28px;
}
.button-scnd:hover{
    color: var(--bg-color);
    background-color: var(--main-color);
    text-decoration: none;
}
.button-thrd{
    display: inline-block;
    border: 2px solid var(--main-color);
    color: var(--bg-color);
    padding: 14px 16px;
    text-decoration: none;
    text-transform: uppercase;
    background-color: rgba(0,0,0,0);
    font-weight: bold;
    margin: 10px 0px;
    transition: 0.2s ease-in-out;
    border-radius: 28px;
}
.button-thrd:hover{
    color: var(--bg-color);
    background-color: var(--main-color);
    text-decoration: none;
}
/* prvky */
.podnadpis{
    color: var(--text-color);
    opacity: 0.8;
    margin-top: -10px;
    font-size: 20px;
}
.cara{
    width: 40px;
    height: 1px;
    margin: auto;
    background-color: var(--text-color);
    opacity: 0.8;
    margin-top: -5px;
}
.sluzby img{
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    width: 30%;
    border-radius: 50%;
    border: 2px solid var(--main-color);
}
.sluzby .col-12{
    padding: 0px;
}
.sluzby .karta h2{
    font-size: 20px;
    font-weight: 700;
}
.sluzby .karta:hover h2{
    color: var(--main-color);
}
.sluzby .karta p{
    font-weight: 400;
    font-size: 13px;
}
.sluzby .pravy{
    padding: 0px;
    padding-right: 19%;
}
.sluzby .pravy .karta{
    text-align: right;
}
.sluzby .levy{
    padding: 0px;
    padding-left: 19%;
}
.sluzby .levy .karta{
    text-align: left;
}
.sluzby .col-12{
    padding: 0px;
}
.sluzby a{
    color: var(--text-color);
    text-decoration: none;
}
.highlight{
  font-weight: bold;
  text-decoration: underline;
}
.red-text{
  color: #ce2323;
}
@media(max-width:768px){
    .sluzby .levy .karta, .sluzby .pravy .karta{
        text-align: justify;
    }
    .sluzby .levy, .sluzby .pravy{
        padding: 15px;
    }
    .sluzby img{
        display: none;
    }
}
.cisla{
    background-image: url(img/audi.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    -webkit-clip-path: polygon(100% 0, 100% 80%, 55% 80%, 50% 100%, 45% 80%, 0 80%, 0 0);
clip-path: polygon(100% 0, 100% 80%, 55% 80%, 50% 100%, 45% 80%, 0 80%, 0 0);
}
.cislo p{
    font-size: 60px;
    font-weight: 700;
    color: var(--bg-color);
}
.cislo-popis p{
    font-weight: 700;
    font-size: 15px;
    color: var(--bg-color);
    text-transform: uppercase;
    margin-top: -15px;
}
@media(max-width:768px){
    .cisla{
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}
.vyhody h2{
    text-transform:capitalize;
    font-size: 22px;
    font-weight: 400;
}
.vyhody p{
    font-size: 13px;
    font-weight: 400;
}
.vyhody i{
    color: var(--main-color);
    font-size: 60px;
    margin-bottom: 20px;
}
.overlay{
    position: absolute;
    background-color: var(--main-color);
    opacity: 0.1;
    width: 100%;
    height: 305px;
}
.sluzby-sekce .col-12{
    margin-bottom: 30px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 0px;
}
.sluzby-box{
    width: 100%;
    -webkit-clip-path: polygon(100% 0, 100% 80%, 55% 80%, 50% 100%, 45% 80%, 0 80%, 0 0);
clip-path: polygon(100% 0, 100% 80%, 55% 80%, 50% 100%, 45% 80%, 0 80%, 0 0);
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 25px 0px 50px 0px;
    color: var(--bg-color);
}
.sluzby-text{
    padding: 15px;
}
i{
    font-size: 30px;
    margin-right: 20px;
    padding: 3px;
    color: var(--main-color);
}
span{
    font-size: 20px;
}
table{
    font-size: 20px;
}
th{
    text-align: left;
    padding: 3px 10px;
}
td{
    text-align: center;
    padding: 3px 10px;
}
/* galerie */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 25px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}
.close {
  color: red;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 50px;
  font-weight: bold;
    z-index: 1001;
}
.close:hover,
.close:focus {
  color: red;
  text-decoration: none;
  cursor: pointer;
}
.mySlides {
  display: none;
}
.cursor {
  cursor: pointer;
}
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}
.galerie img {
  margin-bottom: -4px;
}
.caption-container {
  text-align: center;
  background-color: var(--text-color);
  padding: 2px 16px;
  color: white;
}
.demo {
  opacity: 0.8;
}
.active,
.demo:hover {
  opacity: 1;
}
img.hover-shadow {
  transition: 0.3s;
}
.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.galerie .col-3{
    padding: 0px;
}
@media(min-width:768px){
    .gallery img:hover{
        transform: scale(1.1);
    }
}
/*formular */
input[type=text],input[type=email]{
    width: 100%;
    border: 1px solid var(--text-color);
    padding: 12px 20px;
    background-color: var(--bg-color);
    font-family: 'Montserrat', sans-serif;
    border-radius: 24px;
}
textarea{
    width: 100%;
    border: 1px solid var(--text-color);
    padding: 12px 20px;
    background-color: var(--bg-color);
    min-height: 250px;
    resize: vertical;
    font-family: 'Montserrat', sans-serif;
    border-radius: 24px 24px 8px 24px;
}
label{
    margin: 5px 0px;
}
input[type=submit]{
    border: 2px solid var(--main-color);
    background-color: rgba(0,0,0,0);
    color: var(--main-color);
    padding: 14px 16px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    margin: 15px 0px;
    font-weight: bold;
    transition: 0.2s ease-in-out;
    border-radius: 28px;
}
input[type=submit]:hover{
    background-color: var(--main-color);
    color: var(--bg-color);
}

 a{
    color: var(--text-color)
}