a:hover,
a:visited,
a:focus {
    text-decoration:none;
}

.borderdiv {
    border-top: 1px solid #eeeeee;
}
.akce {
    position: fixed;
    display:none;
    max-width: 400px;
    padding: 0!important;
    border: 1px solid #e2e2e2;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.15);
    top:45%;
    z-index: 9999999;
    background: #337ab7;
    background: linear-gradient(-90deg, rgba(2,0,36,1) 0%, rgb(0, 18, 139) 35%, rgb(51, 122, 183) 100%);
    color: white;
    left:0;
    right:0;
    margin:0 auto;
}
.akce .content {
    padding:2rem;
}

.akce .close_button {
    position: absolute;
    right: 0.5rem;
    font-size: 27px;
    top: -.5rem;
    cursor: pointer;
}

.modal-overlay {
    display:none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.27);
    z-index: 9999;
}

#loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background: url(../images/loader.gif) center no-repeat #fff;
}

.main-nav {
    position: fixed;
    top: 0;
    margin: 0;
    width: 100%;
    padding: 4px 0;
    z-index: 5;
    background: #fff;
    -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1140px;
    position: relative;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

#logo {
    vertical-align: middle;
    border: 0;
}
.main-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 30px 0 0 0;
    display: block;
}

.main-nav ul li {
    display:inline;
    text-align: -webkit-match-parent;
}

.main-nav ul li a {
     padding: 30px 10px;
     font-size: 16px;
     -webkit-transition: 0.5s;
     -o-transition: 0.5s;
     transition: 0.5s;
     text-decoration:none;
     font-weight: bold;
     color: #000;
 }
.main-nav ul li a:hover {
    color: rgba(21, 0, 238, 0.8);
    transition: all 0.5s ease;
}

.main-nav ul li.active > a {
    color: rgba(21, 0, 238, 0.8);
}
/* Slideshow container */
#main-slider {
    max-height: 700px;
    background: #fff url(../images/loader.gif) no-repeat center center;
}

.flexslider {
    margin: 0 0 60px;
    background: #ffffff;
    border: 4px solid #ffffff;
    position: relative;
    zoom: 1;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow:  0 1px 4px rgba(0, 0, 0, 0.2);
    -o-box-shadow:  0 1px 4px rgba(0, 0, 0, 0.2);
    box-shadow:  0 1px 4px rgba(0, 0, 0, 0.2);
}
#main-slider .flexslider .slides {
    position: relative;
    overflow: hidden;
    max-height: 700px;
}


.overlay{
    width: 100%;
    max-height:700px!important;
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    left:0;
    top: 0;
}

.flexslider .slides {
    zoom: 1;
}


#main-slider .flexslider .slides li {
    background: no-repeat center center;
    background-size: cover;
    max-height: 700px!important;
}

.slides, .slides > li, .flex-control-nav, .flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}
ul, ol {
    margin-top: 0;
    margin-bottom: 10px;
}

#main-slider .flexslider .slider-text {
    display: table;
    opacity: 0;
    min-height: 700px;
}

#main-slider .flexslider .slider-text > .slider-text-inner {
    display: table-cell;
    vertical-align: middle;
    min-height: 700px;
}

#main-slider .flexslider .flex-direction-nav a.flex-prev {
    opacity: 1 !important;
    left: 40px !important;
}

#main-slider .flexslider .flex-direction-nav a {
    position: absolute;
    cursor: pointer;
    width: 45px;
    height: 45px;
}

.flex-direction-nav .flex-prev {
    left: -50px;
}

#main-slider .flexslider .flex-direction-nav a.flex-next {
    right: 40px !important;
    opacity: 1 !important;
}

#main-slider .flexslider .flex-direction-nav a {
    position: absolute;
    cursor: pointer;
    width: 45px;
    height: 45px;
}

.flex-direction-nav .flex-next {
    right: -50px;
    text-align: right;
}

.flex-direction-nav a {
    text-decoration: none;
    display: block;
    width: 40px;
    height: 40px;
    margin: -20px 0 0;
    position: absolute;
    top: 50%;
    z-index: 10;
    overflow: hidden;
    opacity: 0;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#main-slider .flexslider .flex-control-nav li a.flex-active {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.7);
}

#main-slider .flexslider .flex-control-nav li a {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: none;
    width: 12px;
    height: 12px;
    cursor: pointer;
}

.flex-control-paging li a.flex-active {
    background: #000;
    background: rgba(0, 0, 0, 0.9);
    cursor: default;
}

.flex-control-paging li a {
    width: 11px;
    height: 11px;
    display: block;
    background: #666;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    text-indent: -9999px;
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

#main-slider .flexslider .flex-direction-nav a.flex-prev:before {
    text-indent: 0 !important;
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e929";
}

#main-slider .flexslider .flex-direction-nav a:before {
    left: 0;
    top: 0;
    color: #fff !important;
    text-shadow: none !important;
    font-size: 40px;
    position: relative;
    z-index: 10;
}

.flex-direction-nav a:before {
    font-family: "flexslider-icon";
    font-size: 40px;
    display: inline-block;
    content: '\f001';
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}


#main-slider .flexslider .flex-direction-nav a.flex-next:before {
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-indent: 0 !important;
    right: 0;
    content: "\e92a";
}

#main-slider .flexslider .flex-direction-nav a:before {
    left: 0;
    top: 0;
    color: #fff !important;
    text-shadow: none !important;
    font-size: 40px;
    position: relative;
    z-index: 10;
}

.flex-direction-nav a.flex-next:before {
    content: '\f002';
}

.flex-direction-nav a:before {
    font-family: "flexslider-icon";
    font-size: 40px;
    display: inline-block;
    content: '\f001';
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}

.flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: 40px;
    text-align: center;
    z-index: 11;
}

.flex-control-nav li {
    margin: 0 6px;
    display: inline-block;
    zoom: 1;
}

#main-slider .flexslider .slider-text > .slider-text-inner h2 {
    font-size: 60px;
    font-weight: 300;
    color: #fff;
}
/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 4.5s;
    animation-name: fade;
    animation-duration: 4.5s;
}

@-webkit-keyframes fade {
    from {opacity: .7}
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .7}
    to {opacity: 1}
}

section {
    /*margin:50px 0;*/
    text-align: center;
}
section > div > h2 {
    margin-bottom: .5em;
    font-size: 2em;
    border-bottom: 2px solid #13007e;
    display: inline-block;
}

.news-item {
    padding: 0 1rem 2rem 1rem;
    border: 1px solid #e2e2e2;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.15);
    text-align:left;
    margin-bottom: 2rem;
    font-size: 16px;
}

.news-item .heading {
    min-height: 120px;
    display:flex;
    align-items:center;
}

.news-item .text-wrapper {
    overflow: hidden;
    height: 200px;
    margin-top:10px;
    max-width: 100%;
}

.news-item .img-responsive {
    max-height: 266px;
    min-height: 266px;
}

.news-item h3 {
    background-color: #337ab7;
    color: white;
    padding: 5px;
    border-radius: 0 9px 9px 0;
}
#novinky > div,
#o-nas > div,
#servis > div{
    padding: 0;
}

.news-wrapper {
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

#o-nas > div > p,
#servis > div > p,
#cenik > div > p {
    text-align:center;
}

section > div > p
{
    font-family: "Arial", sans-serif;
    font-size: 1.2em;
    line-height: 1.7em;
    text-align:justify;
}

#faq,
#kontakt
{
   background-color: #ffffff;
   padding: 50px 0;
   box-shadow: #222222 3px 6px 20px;
}

#certifikace,
#servis,
#cenik
{
    background-color: #efefef;
    padding: 50px 0;
    box-shadow: #222222 3px 6px 20px;
}

#katalog
{
    margin-top:0;
    padding: 50px 0;
    text-align:center;
    background-color: #ffffff;
    box-shadow: #222222 3px 6px 20px;
}

#katalog-sloupec {
    display:none;
}

#prechod_2 {
    height:200px;
    background: url(../images/img_bg_2.jpg) fixed;
    background-size: cover;
}
#footer {
    margin-bottom: 0;
    padding:15px;
    background-color: #eeeeee;
    font-size: 16px;
    text-align:left;
}
.product-icon{
    float:left;
    margin-right: 3px;
    height: 80px;

}

.product-description > h4 {
    color: #11017c;
    font-size:1.6em;
}
.subcategory {
    margin-top:30px;
}

.row {
    text-align:justify;
}
.servis-produkty {
    max-height:300px;
    border-radius:4px;
    cursor:pointer;
    padding-bottom:10px;
}
.servis-produkty:hover {
opacity: 0.7;
transition: 0.3s;
}


#kontaktniFormular {
    display:none;
}

.formularWrap {
    margin-top:1em;
    margin-left:100px;
}

.contactWrap {
    margin-top:1em;
    border-left:1px solid #eeeeee;
    margin-left:25px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top:0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: 100px auto 0 auto;
    display: block;
    width: 80%;
    max-width: 700px;

}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.number-list {
    text-align:justify;
}

.number-list li {
    margin-bottom:10px;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

ul.panel-body {
    list-style-type: none;
}

#subpage {
     margin-top: 110px;
     max-width: 65%;
     margin-left:auto;
     margin-right: auto;
     font-size: 1.5em;
 }

#subpage >.jumbotron > h1 {
     display: inline-block;
     font-size:45px;
 }

#subpage >.jumbotron > h2 {
    display: block;
    font-size:35px;
    margin-top:55px;
    border:none;
}

.list1 {
    text-align:justify;
}

.list {
    text-align:justify;
    list-style-type: none;
    padding:0;
}
.list > li {
    margin-bottom:40px;
}
#uspech-ano,
#uspech-ne {
    text-align:center;
    display:none;
}
.grecaptcha-badge {
    display: none;
}
.cookies_notification {
    position:fixed;
    bottom: 0;
    left: 0;
    background-color: #eeeeee;
    color: black;
    width: 100%;
    height: auto;
    padding: 10px 0 10px 0;
    text-align:center;
    margin: 0 auto;
    display: none;
    z-index:11;
}

.pobockaNadpis {
    margin-top:10px;
    padding-top:10px;
    border-top: 1px solid #eeeeee;
    margin-bottom:0;
    font-size:16px;
    color:#120081;
}
.credentials {
    float:left
}
.social{
    text-align: right;
}

#servis > div.container > div {
    visibility: hidden;
    display:flex;
    flex-wrap:wrap;
    justify-content: center;
}

.faq-img {
    float:right;
    padding:5px;
}

/*Mobiles*/
#hamburger {
    position: fixed;
    right: 8%;
    top: 20px;
    padding:5px;
    z-index:6;
    display:none;
}

.hamburger-line {
    width: 35px;
    height: 5px;
    background-color: black;
    margin: 6px 0;
    z-index: 10000;
}

#mobilemenu-container {
    top: 87px;
    position: fixed;
    width: 100%;
    background-color: rgba(0,0,0,0.9);
    color: white;
    z-index: 99999;
    text-align: center;
    list-style-type: none;
    font-size:1.5em;
    padding:0;
}
#mobilemenu-container li {
    padding:10px;
}
.table-mobile,
.table-mobile-klika{
    margin-top:10px;
    display:none;
}

.table-klika {
    margin-top:25px;
}
.table>tbody>tr>td {
vertical-align: middle;
}

@media only screen and (max-width: 1750px) {
    .table-klika {
       display:none;
    }
    .table-mobile-klika {
        display:table;
        margin-left:auto;
        margin-right:auto;
    }

    .table-mobile-klika th{
        padding:5px;
    }

}

@media only screen and (max-width: 1300px) {
    .jumbotron {
        padding: 30px 50px 30px 50px
    }
    #subpage {
        max-width: 85%;
    }
}

@media only screen and (max-width: 1200px) {
    .news-item .text-wrapper {
        height: 360px;
    }
}

@media only screen and (max-width: 995px) {
    .col-md-12 {
        margin-top:30px;
    }
    #novinky > div,
    #o-nas > div,
    #servis > div {
        padding: 0 5px 0 5px;
    }
    .formularWrap {
        margin-top:1em;
        width:100% !important;
        margin-left:0;
    }
    .contactWrap {
        margin-top:1em;
        border-left:none;
        margin-left:0;
        text-align:center;
    }

    .borderdiv {
        border: none;
    }
    .table {
    display:none;
    }
    .table-mobile {
        display:table;
        margin-left:auto;
        margin-right:auto;
    }
    .table-mobile td {
        padding:5px;
    }

    #certifikace .container .row .col-md-6 {
        text-align:center!important;
    }
    .news-item .text-wrapper { height: 222px }

}

@media only screen and (max-width: 845px) {
    #main-slider .flexslider .slider-text > .slider-text-inner h2 {font-size:40px}
    #hamburger { display:block}
    .main-nav ul { display:none}
    #novinkz > div, #o-nas > div { padding: 10px }
    .news-item .text-wrapper { height: 222px }
}

@media only screen and (max-width: 640px) {
    #logo img {
        height:60px;
    }
    #hamburger {
        top: 10px;
    }
    #mobilemenu-container {
        top:60px;
    }
}

@media only screen and (max-width: 500px) {
    .flex-direction-nav{
        display:none;
    }
    .jumbotron {
        padding: 15px
    }
    #subpage {
        max-width: 100%;
    }
}
@media only screen and (max-width: 400px) {
    .jumbotron {
        padding: 2px
    }
}