@font-face {
    font-family: "League Gothic";
    src: url(/css/league-gothic.woff) format("woff");
}

@font-face {
    font-family: "Roboto";
    src: url(/css/roboto.woff) format("woff");
}

@font-face {
    font-family: "Lato";
    src: url(/css/lato.woff) format("woff");
}

body {
    max-width: 1150px;
    margin: auto;
    padding: 80px 20px 200px;
    font: 16px Roboto;
}

#logom {
    display: none;
}

/**/

#hlavicka {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    padding: 10px 0;
    background: #022E5D;
    z-index: 2;
}

#hlavickac {
    max-width: 1130px;
    margin: auto;
    padding: 0 20px;
}

#logo {
    height: 50px;
}

#menu {
    float: right;
    font: 20px Lato;
    color: white;
    margin-top: 15px;
}

.menu {
    margin: 0 8px;
    text-decoration: none;
    color: white;
}

.menu:hover, .menu.sel {
    text-decoration: underline;
}

#galerie {
    margin-top: 10px;
    text-align: center;
    overflow: hidden;
    height: 100px;
}

#galerie img {
    height: 100px;
    margin: 0 2px;
}

/**/

.sekce {
    padding: 0 15px;
    margin-top: 20px;
    margin-bottom: 40px;
    position: relative;
}

.sekce.vlevo {
    border-left: solid 15px #022E5D;
}

.sekce.vpravo {
    border-right: solid 15px #022E5D;
    text-align: right;
}

.sekce.vlevo.splov {
    padding-right: 40%;
}

.sekce.vpravo.splov {
    padding-left: 40%;
}

.sekce h2 {
    font: 48px "League Gothic";
    color: #022E5D;
    margin: 0;
}

.plov {
    width: 40%;
    position: absolute;
    top: 0;
    bottom: 0;
    text-align: center;
    padding: 20px 0;
}

.sekce.vlevo .plov {
    right: 0;
}

.sekce.vpravo .plov {
    left: 0;
}

.plov img {
    max-width: 100%;
    max-height: 100%;
}

/**/

#reference {
    line-height: 1.5;
}

#reference span {
    cursor: pointer;
}

#reference span.sel, #reference span:hover {
    text-decoration: underline;
}

#rvice {
    font: 26px "Lato";
    float: right;
    color: #022E5D;
    text-decoration: none;
}

#rvice:hover {
    text-decoration: underline;
}

.rfoto {
    display: none;
    overflow: hidden;
    position: relative;
}

.rfotoc {
    white-space: nowrap;
    position: relative;
}

.rfotol, .rfotor {
    position: absolute;
    top: 0;
    bottom: 4px;
    width: 40px;
    opacity: 0.5;
    cursor: pointer;
}

.rfotol {
    left: 0;
    background: white url(/img/prev.png) no-repeat center center;
    background-size: contain;
    display: none;
}
.rfotor {
    right: 0;
    background: white url(/img/next.png) no-repeat center center;
    background-size: contain;
}

.sekce .rfoto {
    display: block;
}

.rfoto img {
    height: 200px;
    cursor: pointer;
    margin: 0 2px;
}

.vice {
    width: 60px;
    height: 20px;
    padding: 20px 0;
    margin: auto;
    text-align: center;
    border-radius: 30px;
    border: solid 2px #d9d9d9;
    cursor: pointer;
}

.vice:hover {
    border: solid 2px #022e5d;
}

/**/

#certifikaty img {
    height: 200px;
    margin: 0 5px;
    border: solid 1px #e5e5e5;
    cursor: pointer;
}

#kontakty td {
    vertical-align: top;
    padding: 5px;
}

#mapa {
    width: 100%;
    height: 100%;
    border: 0;
}

/**/

#lmodal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 3;
    display: none;
}

#lbox {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
    background: #161616;
}

#lbox img {
    max-width: 100%;
    max-height: 100%;
}

#lbox object {
    width: 100%;
    height: 100%;
}

#lprev, #lnext {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20%;
    cursor: pointer;
    opacity: 0.5;
    display: none;
}

#lprev {
    left: 0;
}
#lprev:hover {
    background: url(/img/prev.png) no-repeat center center;
}

#lnext {
    right: 0;
}
#lnext:hover {
    background: url(/img/next.png) no-repeat center center;
}

#lclose {
    position: absolute;
    top: -20px;
    right: -100px;
    width: 80px;
    height: 80px;
    background: url(/img/lclose.png);
    background-size: contain;
    opacity: 0.5;
    cursor: pointer;
}

#lclose:hover {
    opacity: 0.7;
}

#loader {
    background: #161616;
    padding: 20px;
    opacity: 0.8;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: none;
}