/*
@font-face {
font-family: 'lato-bold';
src: url('../font/lato-bold.woff2') format('woff2'),url('../font/lato-bold.woff') format('woff');
font-weight: normal;
font-style: normal; }

@font-face {
font-family: 'lato-light';
src: url('../font/lato-light.woff2') format('woff2'),url('../font/lato-light.woff') format('woff');
font-weight: normal;
font-style: normal; }

@font-face {
font-family: 'lato-regular';
src: url('../font/lato-regular.woff2') format('woff2'),url('../font/lato-regular.woff') format('woff');
font-weight: normal;
font-style: normal; }
*/

html {
scroll-behavior: smooth; }

body {
-webkit-text-size-adjust: 100%;
line-height: 1.8em;
font-family: 'arial';
background-color: #fff;
text-align: center;
color: black;
margin: 0;
padding: 0; }

.container {
text-align: left;
margin: 0 auto;
box-sizing: border-box;
padding: 0em 1em;
max-width: 1000px; }

.main {
border-top: 1px solid #fbfbfb;
background-image: url('../img/header-end.png'), url('../img/footer-start.png');
background-position: center top, center bottom;
background-repeat: no-repeat, no-repeat;
background-size: 100% auto, 100% auto;
padding: 3em 0 5em 0;
min-height: 600px; }

#header {
padding-bottom: 20em;
border-top: 1px solid black;
background-image: url('../img/header.jpg');
background-size: cover;
background-position: center 100%;
background-repeat: no-repeat; }

.header-end img {
max-width: 100%;
height: auto; }


#logo {
margin: 25px  0 0 10px; }

#logo img {
position: relative;
height: 35px; }

#menu {
color: white;
text-align: left;
min-height: 200px;
background-image: url('../img/menu.png');
background-size: auto 200px;
background-position: center 0%;
background-repeat: no-repeat; }

.toggle {
float: right;
font-weight: bold;
font-size: 2.0em;
margin: 10px 10px 0 0;
color: white; }

nav label, [id^=drop] {
display: none; }

[id^=drop]:checked + ul {
left: 0;
display: block; }

.toggle + a, nav > ul {
left: 110%;
transition-duration: 500ms; }

nav {
position: relative;
z-index: 600;
margin:0;
padding: 0; }

nav label {
display: block; }

nav > ul {
width: 100%;
position: absolute;
margin: 0;
display: none;
top: 60px;
z-index: 600; }

nav ul, nav li {
margin:0;
padding: 0;
list-style: none; }

nav ul li a  {
color: black !important;
overflow: hidden;
z-index: 600;
height: 3em;
line-height: 3em;
display: block;
padding: 0 1em;
text-decoration: none;
border-bottom: 1px solid #ddd;
background-color: #efefef; }

nav ul li a:hover {
background-color: #dedede; }

#menu a {
text-decoration: none;
color: white; }

#welcome {
padding: 0em 0 3em 0;
color: black;
border-top: 1px solid #fbfbfb;
background-color: #fbfbfb; }

#welcome .half p {
color: #414141; }

#about > div > div {
float: left;
text-align: center;
width: 50%;
box-sizing: border-box:
margin-bottom: 2em;
padding: 2em 0;}

#about > div > div b {
display: block;
height: 5em;
overflow: hidden;
max-width: 70%;
margin: 0 auto; }

#contact {
padding: 0em 0 0em 0;
color: black;
background-image: url('../img/contact-bg.jpg');
background-size: 100% auto;
background-position: center 0%;
background-repeat: no-repeat; }

#map {
margin: 1em 0;
position: relative; }

#map > img {
margin: 0 auto;
width: 100%;
height: auto; }

#map .mark {
position: absolute; }

#map .mark img {
width: auto;
height: 25px; }

#praha {
top: 25%;
left: 19.5%; }

#hluboka {
top: 53%;
left: 20%; }

#frydek {
top: 32%;
left: 56%; }

#bratislava {
top: 75%;
left: 46%; }

#contact .container {
padding: 2em 2em; }

#contacts {
text-align: center;
font-family: 'lato-bold';
color: #004b85;
font-size: 1.5em;
line-height: 2.0em; }

#contacts a {
font-family: 'lato-bold';
color: #004b85;
text-decoration: none; }

#footer img {
max-width: 100%;
height: auto; }

#copyright {
margin-top: -15px;
background-color: #004b85;
color: white;
font-size: 0.8em; }

#copyright .container {
padding: 1em 0; }

.contact {
align-items: center;
display: flex; }

.contact h2 {
margin-top: 0; }

.contact-photo {
width: 45%; }

.contact-photo img {
max-width: 90%;
height: auto; }

.contact-content {
width: 55%; }

.contact-content i {
display: inline-block;
color: #004b85;
margin-right: 0.7em; }

.contact-content a {
text-decoration: none;
color: #004b85;
font-weight: normal; }

.contact-content > div p {
margin-top: 0; }

.left {
text-align: left; }

.center {
text-align: center; }

.right {
text-align: right; }

.clear {
clear: both; }

.blue_bg {
padding: 3em 0;
color: white;
background-color: #084E91; }

h1,h2,h3 {
/* text-align: center; */
margin-bottom: 0.5em;
font-weight: normal; }

h2 {
font-weight: bold;
font-size: 1.5em; }

h3 {
color: #004b85;
font-weight: bold;
font-size: 1.1em; }

li.uvod {
list-style-image: url('../img/bull.png') !important; }

hr {
height: 1px;
border: none;
margin: 2em 0;
border-bottom: 1px dotted black; }

.button {
background-color: #004b85;
color: white;
text-align: center;
width: 195px;
display: inline-block;
border-radius: 4px;
text-decoration: none;
font-size: 0.8em;
font-weight:  bold;
padding: 0.5em 0;
margin: 1em 0.5em; }

.button:hover {
background-color: #003b65;
animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
transform: translate3d(0, 0, 0);
perspective: 1000px; }

.tooltip {
position: relative;
display: inline-block; }

.tooltip .tooltiptext {
font-size: 0.9em;
width: 130px;
white-space: nowrap;
bottom: 100%;
left: 50%;
margin-left: -60px;
color: #fff;
font-weight: bold;
  text-shadow:
   -1px -1px 3px #004a87,
    1px -1px 3px #004a87,
    -1px 1px 3px #004a87,
     1px 1px 3px #004a87;
text-align: center;
padding: 3px;
border-radius: 6px;
position: absolute;
z-index: 1; }

/* carousel */

#carousel {
min-height: 600px;
background-image: url('../img/carousel.png');
background-position: left top;
background-repeat: no-repeat;
background-size: 100% auto; }


.img {
max-width: 30%;
height: auto; }

.img_left {
float: left;
margin: 0 1em 1em; 0}

.img_right {
float: right;
margin: 0 0 1em 1em; }

.img_center {
margin: 0 0.5em; }

.images {
text-align: center; }

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
visibility: visible; }

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

@media (min-width: 740px) {
    .third {
    width: 30%;
    float: left; }

    .third2 {
    width: 70%;
    float: left; }

    .half {
    width: 50%;
    float: left; }

    .half-padding {
    box-sizing: border-box;
    padding: 0 2em; }

    #welcome .half p {
    text-align: left;
    max-width: 90%; }

    #about > div > div {
    width: 25%; }

    #map .mark img {
    height: 35px; }

    #map {
    margin-right: 40px;
    float: left; }

    #contacts {
    width: 40%;
    float: right; }

    .flex {
    align-items: center;
    display: flex; }

    #car1 {
    position: relative;
    left: -150px;
    overlay: hidden;
    height: 100%;
    width: 45%;
    float: left; }

    #car1 img {
    width: auto;
    max-height: 70%;
    margin-top: 8%; }

    #car2 {
    magin-left: 2%;
    width: 52%;
    color: white;
    font-size: 1.1em;
    float: left; }

    .arrow {
    background-color: white;
    border-radius: 5px;
    padding: 0.4em 0.7em;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    color: #004b85; }

    .arrow:hover {
    cursor: pointer; }        
}

@media (min-width: 860px) {
    #eshop2 {
    display: none; }
    
    #logo {
    margin-top: 3em; }

    .container {
    padding: 0.5em 1em; }

    #header .container {
    padding-top: 0; }

    #contact .container {
    padding-top: 7em; }

    #services {
    background-image: url('../img/services-1.jpg'), url('../img/services-2.jpg'), url('../img/services-3.jpg');
    background-position: left bottom, 92% 15%, 70% 99%;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: 15% auto, auto, auto; }

    .toggle {
    display: none; }

    .toggle + a, nav > ul {
    left: 0%; }

    nav > ul {
    display: initial;
    width: auto;
    top: 0px;
    margin: 0 auto;
    padding: 1em 0; }

    nav > ul li {
    display: inline-block;
    list-style-type: none;
    margin: 0;
    padding: 0; }

    nav > ul li a {
    background-color: #004b85;
    color: white !important;
    font-size: 0.9em;
    border: none;
    padding-bottom: 3px;
    margin: 0 0.5em;
    padding: 0;
    position: relative; }

    nav > ul li a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    border-radius: 0px;
    background-color: #fff;
    bottom: 6px;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .3s ease-in-out; }

    nav > ul li a:hover::before {
    transform-origin: left;
    transform: scaleX(1); }

    nav ul li a:hover {
    background-color: #004b85; }
}


#overlay {
  position: fixed;
  display: block;

  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
  cursor: pointer;
}

#overlay_data {
display: flex;
align-items: center;
text-align: center; }

#overlay_data #cukr {
 max-height: 90%;
  max-width: 90%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto; }

#close {
background-color: transparent;
position: absolute;
top: 20px;
right: 20px;
color: white;
text-decoration: none;
margin: 1em; }

.form {
margin-bottom: 1em;
background-color: #efefef;
padding: 0.5em  2em; }

input, textarea {
border-radius: 4px;
border: 1px solid white;
min-width: 250px;
margin-bottom: 2px;
padding: 5px; }

input[type=checkbox] {
min-width: 0;}


textarea {
width: 100%; }

label {
display: inline-block;
width: 135px; }

.error {
margin-top: 1em;
background-color: pink;
padding: 0.5em 1em; }

.success {
text-align: center;
margin-top: 1em;
background-color: lightgreen;
padding: 0.5em 1em; }

label.required {
font-weight: bold;
color: black; }

label {
color: #777; }

.grey {
color: #aaa; }

.black {
color: #000; }

.strong {
font-weight: bold; }

#pdff {
margin-bottom: 30px;
min-height: 750px !important; }


#data h2 {
font-size: 1.4em !important; }

#data {
background-color: rgba(255,255,255,1);
min-height: 100vh;
height: 100%;  }

#data .required label {
font-weight: bold; }

#data .form-switch.form-switch-lg .form-check-input {
height: 2.2rem;
width: calc(3rem + 0.75rem);
border-radius: 4rem;
margin-top: 8px; }

#data a {
color: black !important;
font-weight: bold; }
