@import '//fonts.googleapis.com/css?family=Open+Sans&subset=latin-ext';
@import url('../fancybox/jquery.fancybox.min.css');
@import url('../js/slick.css');
@import url('../js/slick-theme.css');
* {
    box-sizing: border-box;
}
@font-face {
    font-family: 'CenturyGothic';
    src: url('../fonty/CenturyGothic.eot');
    src: url('../fonty/CenturyGothic.eot') format('embedded-opentype'),
    url('../fonty/CenturyGothic.woff') format('woff'),
    url('../fonty/CenturyGothic.woff2') format('woff2'),
    url('../fonty/CenturyGothic.ttf') format('truetype'),
    url('../fonty/CenturyGothic.svg#CenturyGothic') format('svg');
    }
    
body,
html {
    width: 100%;
    height: 100%;
}

body {
    background: #fff;
    /*font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])));*/
    font-size: calc(15px + (20 - 15) * ((100vw - 300px) / (1600 - 300)));
    font-family: 'Open Sans', sans-serif;
    background: url("../images/bgobrazek.jpg") no-repeat bottom fixed;
    background-size: cover;
}

.bgabs{
    clip-path: polygon(0 0, 0 55%, 40% 0);
    background: #eee;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.alert {
    width: 100%;
    padding: 20px;
    text-align: center;
    font-size: 120%;
    text-transform: uppercase;
    -webkit-text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -moz-text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999
}

.alert-ok {
    background: #7eb62e;
    color: #fff;
}

.alert-err {
    background: #f64b2f;
    color: #fff;
}

#back-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 997;
}

#back-top a {
    width: 70px;
    display: block;
}

#back-top a:hover {
    color: #fff;
}


/* arrow icon (span tag) */

#back-top span {
    width: 70px;
    height: 70px;
    display: block;
    margin-bottom: 7px;
    background: rgba(0, 0, 0, 0.5) url("../images/up-arrow.png") no-repeat center center;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

#back-top a:hover span {
    background-color: #79b440;
}

.all {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

.nolcd {
    display: none;
}

.left {
    float: left;
}

.right {
    float: right;
}

.clear {
    clear: both;
    line-height: 0;
}

.fancybox-lock body {
    overflow: visible !important;
}

.preteceni {
    overflow: hidden;
}

.fancybox-thumbs {
	top: auto;
	width: auto;
	bottom: 0;
	left: 0;
	right : 0;
	height: 95px;
	padding: 10px 10px 5px 10px;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.3);
}
.fancybox-thumbs__list{
	margin: auto;
}
.fancybox-show-thumbs .fancybox-inner {
	right: 0;
	bottom: 95px;
}

@media only screen and (max-width:480px) {
    .bgabs{
        clip-path: polygon(0 0, 100% 0, 100% 110px, 0 110px);
        display: none;
    }

    iframe {
        width: 100%;
        padding: 0 !important;
        margin: 0 auto !important;
        float: none !important;
    }

    .all {
        padding: 10px !important;
        position: relative;
    }
}