@import "helpers.css";

@font-face {
    font-family: "Open Sans";
    src: url(/fonts/OpenSans-Regular.woff);
    src: url(/fonts/OpenSans-Regular.ttf);
    font-weight: normal;
}

@font-face {
    font-family: "Roboto Slab";
    src: url(/fonts/robotoslab-regular.woff);
    src: url(/fonts/robotoslab-regular.ttf);
    font-weight: normal;
}

html,
body {
    height: 100%;
}

body {
    font-family: "Open Sans", sans-serif;
    color: #2e252a;
    background: url("/img/bg.jpg") no-repeat center center fixed;
    background-size: cover;
}

.container-fluid {
    padding: 0;
}

.hd {
    overflow: hidden;
    height: 93px;
    background-color: rgba(241, 232, 194, 0.878);
    box-shadow: 0 5px 5px 0 rgba(3, 4, 5, 0.09);
    line-height: 93px;
    text-align: center;
}

.lng-cz,
.lng-en {
    display: inline-block;
    width: 60px;
    height: 93px;
    overflow: hidden;
    background: url("/img/flags-spr.jpg") left top;
    line-height: 1000px;
    transition: all 150ms ease;
}

.lng-cz {
    background-position: -60px top;
}

.lng-cz:hover {
    background-position: 0 top;
}

.lng-en {
    background-position: 120px top;
}

.lng-en:hover {
    background-position: 60px top;
}

nav {
    height: 68px;
    background: url("/img/navbar-bg.png") repeat-x top;
    text-align: center;
}

.navbar-toggler {
    width: 100%;
    padding: 0;
    border-bottom: 0;
    color: rgb(255, 253, 248);
    line-height: 58px;
    box-shadow: 0 5px 5px 0 rgba(3, 4, 5, 0.09);
}

.nav {
    padding: 0;
    width: 100%;
    line-height: 58px;
    text-align: center;
}

.nav .nav-item {
    display: inline-block;
    float: none;
}

.nav .nav-link {
    padding: 0 10px;
    font-size: 16px;
    font-family: "Roboto Slab", serif;
    color: rgb(255, 253, 248);
    text-transform: uppercase;
}

.nav a:hover {
    border-bottom: 3px solid rgba(241, 232, 194, 0.878);
    color: #fff;
}

.menu-item:hover {
    background-color: rgba(241, 232, 194, 0.878);
    height: 3px;
}

.content {
    overflow: hidden;
    padding: 38px;
    margin-top: 28px;
    margin-bottom: 28px;
    background-color: rgba(241, 232, 194, 0.878);
    box-shadow: 0 5px 5px 0 rgba(3, 4, 5, 0.09);
}

.content a {
    color: #6c2a00;
}

.content a:hover {
    color: #9f002d;
}

h2 {
    clear: both;
    padding-left: 22px;
    font-size: 27px;
    font-family: "Roboto Slab", serif;
    color: rgb(4, 96, 60);
    line-height: 40px;
}

.bullet {
    display: inline-block;
    float: left;
    width: 36px;
    height: 36px;
    padding: 0 13px;
    border-radius: 50%;
    margin-right: 18px;
    background-color: rgb(208, 170, 80);
    box-shadow: 2px 2px 0 0 rgba(85, 71, 68, 0.58);
    color: #fff3ca;
    font-size: 22px;
    line-height: 34px;
}

.pdf {
    display: inline-block;
    margin: 10px 22px 30px 0;
    float: right;
}

.pdf div {
    float: left;
}

.pdf a,
.error a {
    color: #fff;
}

.pdf a:hover,
.error a:hover {
    color: #ffecdb;
    text-decoration: none;
    border-bottom: 1px dotted #f5c2b7;
}

.pdf-txt,
.error {
    padding: 6px 16px;
    border-radius: 10px;
    background-color: rgb(208, 80, 80);
    box-shadow: 4px 4px 0 0 rgba(85, 71, 68, 0.28);
    height: 37px;
    font-size: 16px;
    font-family: "Arial", sans-serif;
    color: rgb(255, 255, 255);
    line-height: 1.5;
    letter-spacing: 1px;
}

.pdf-icon {
    width: 65px;
    height: 65px;
    border-radius: 65px;
    margin: -14px;
    background-image: url("/img/pdf.png");
    box-shadow: 4px 4px 0 0 rgba(85, 71, 68, 0.28);
}

.pic {
    border: 1px solid rgb(89, 81, 55);
}

.error {
    width: 300px;
    margin: auto;
    background: #046949;
    text-align: center;
}

.error a:hover {
    color: #e7ffd6;
    text-decoration: none;
    border-bottom: 1px dotted #cbf5c9;
}

.ico {
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.mapa-legenda,
.pozadavky-legenda {
    list-style: none;
}

.mapa-legenda span {
    display: inline-block;
    width: 16px;
    height: 5px;
    margin-bottom: 2px;
    background-color: #9e0039;
    box-shadow: 2px 2px 0 0 rgba(85, 71, 68, 0.28);
}

.mapa-legenda span.manipulace {
    background-color: #2bb7da;
}

.mapa-legenda span.odjezd {
    background-color: #8dc63f;
}

.pozadavky-legenda caption {
    caption-side: top;
    padding-bottom: 0;
    padding-left: 12px;
    color: #2e252a;
    font-weight: bold;
}

.pozadavky-legenda td {
    border-top-color: #2e252a;
}
table.prijem-legenda tbody td {
    width: 50%;
    border: none;
    font-weight: bold;
}
table.prijem-legenda {
    border-top: solid 1px rgba(46, 37, 42, 0.06);
    border-bottom: solid 1px rgba(46, 37, 42, 0.06);
    background-color: rgba(46, 37, 42, 0.06);
}


.kontakt div {
    border-top: 1px solid rgba(46, 37, 42, 0.06);
}

ul.smlouvy {
    padding: 0;
}

ul.smlouvy li:first-child {
    border: 0;
}

ul.smlouvy li {
    border-top: 1px solid rgba(46, 37, 42, 0.06);
    margin-bottom: 100px;
    list-style: none;
}

.pozn,
td.pozn {
    font-style: italic;
    font-size: 80%;
}

tr.b-0 td,
td.pozn {
    padding-top: 0;
    border: 0;
}

#map {
    height: 300px;
    margin-bottom: 25px;
    border: 1px solid rgba(89, 81, 55, 0.6);
}

@media screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (orientation: landscape) {
    .logo {
        width: 400px;
        height: auto;
    }

    .pdf {
        margin-bottom: 10px;
    }
}

@media screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (orientation: portrait) {
    .logo {
        width: 200px;
        height: auto;
    }

    h2 {
        padding-left: 0;
    }

    ul,
    ol {
        padding-left: 10px;
    }

    .mapa-foto {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .pdf.big {
        float: inherit;
        margin-left: -10px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .pdf.big .pdf-txt {
        padding-left: 10px;
        padding-right: 16px;
    }
}

@media screen
and (max-device-width: 374px) {
    body {
        font-size: .9rem;
    }
    .logo {
        width: 180px;
        height: auto;
    }

    h2 {
        padding-left: 0;
        font-size: 26px;
    }

    ul,
    ol {
        padding-left: 10px;
    }

    .mapa-foto {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .pdf.big {
        float: inherit;
        margin-left: -10px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .pdf.big .pdf-txt {
        padding-left: 10px;
        padding-right: 16px;
    }
}

@media screen
and (max-device-width: 799px){
    .nav .nav-link {
        font-size: 14px;
    }
}
@media screen
and (max-device-width: 719px){
    .nav .nav-link {
        padding: 0;
        font-size: 13px;
    }
}
@media screen
and (max-device-width: 544px){
    .nav {
        box-shadow: 0 5px 5px 0 rgba(3, 4, 5, 0.09);
    }
    .nav .nav-item {
        display: block;
        background-color: rgba(4, 105, 73, 0.96);
    }
    .navbar-nav .nav-item + .nav-item {
        margin: 0;
    }
    .nav .nav-link {
        font-size: 15px;
        border-bottom: 1px solid #2b542c;
    }
    .nav a:hover {
        border-bottom: 1px solid #193b19;
        background-color: rgba(4, 105, 73, 0.7);
        color: #fff;
    }
}