/* OBECNE STYLY */

body, html {
 background-color: white;height: 100%;
}

body {
 position: relative;height: 100%;
}

* { margin: 0; padding: 0; outline: none;}

BODY, DIV, TABLE, CAPTION,ADRESS, IMG {
  border: 0;
  margin: 0;
  padding: 0;
}

* { margin: 0; padding: 0; outline: none; font-family: "Montserrat", sans-serif;}

h1{text-align:center;position: relative;color:#008da8;font-weight: 700;margin-bottom: 10px;font-size: 35px;line-height: 35px;padding-left: 0px;}
h1.center{text-align: center;padding: 0;background: none;}
h2{color:#008da8;font-size: 30px;line-height: 30px;font-weight: 700;margin-bottom: 10px;}
h3{color:#008da8;font-size: 25px;line-height: 25px;font-weight: 700;margin-bottom: 10px;}
h4{color:#008da8;font-size: 20px;font-weight: 700;margin-bottom: 10px;}
h5{color:#008da8;font-size: 18px;font-weight: 700;margin-bottom: 10px;}

p{font-size: 16px;font-weight: 400;color:#505050;letter-spacing: 0.3px;margin-bottom: 20px;}
b{font-size: 16px;font-weight: 600;color:#505050;letter-spacing: 0.3px;margin-bottom: 20px;}
strong{font-size: 16px;font-weight: 600;}

a{color: #ffaa01;font-size: 16px;font-weight: 600;text-decoration: none;}
a:hover{text-decoration: underline;}
a.phone{display: inline-block;background: transparent url('../img/phone.png') center left no-repeat;padding-left: 25px;}
a.mobil{display: inline-block;background: transparent url('../img/mobil.png') center left no-repeat;padding-left: 25px;}
a.fb{display: inline-block;background: transparent url('../img/fb.png') center left no-repeat;padding-left: 25px;}
a.ig{display: inline-block;background: transparent url('../img/ig.png') center left no-repeat;padding-left: 25px;}
a.wa{display: inline-block;background: transparent url('../img/wa.png') center left no-repeat;padding-left: 25px;}
a.yt{display: inline-block;background: transparent url('../img/yt.png') center left no-repeat;padding-left: 25px;}
a.email{display: inline-block;background: transparent url('../img/email.png') center left no-repeat;padding-left: 25px;}
a.web{display: inline-block;background: transparent url('../img/web.png') center left no-repeat;padding-left: 25px;}
a.place{display: inline-block;background: transparent url('../img/place.png') center left no-repeat;padding-left: 25px;}

@media print {
    a{color: red;}
}

@media only screen and ( max-width: 700px ){
    h1{font-size: 30px;}
    h2{font-size: 25px;}
    h3{font-size: 22px;}
    h4{font-size: 18px;}
    h5{font-size: 15px;}
}

form{text-align: left;}

.toLeft {
  float: left;
}

.toRight {
  float: right;
}

.hidden{display: none;}

.toCenter{display: block;text-align: center;margin: 0 auto;}
.halfwidth{width: 50%;}
.right{text-align: right;}
.cleaner{display: block;height: 0;clear: both;overflow: hidden;content: ' ';font-size: 0;}
.fb-like{top:-5px;}
.seznam{width: 100%; font-size: 12px; text-align: left;}
.seznam th{padding: 5px;color: #202020!important;}
.seznam td{padding: 5px;color: #202020!important;}
.hidden{display: none!important;}

/*ol,ul*/
ul{margin-left: 0;list-style-position: inside;margin-bottom: 20px;}
ul li{position: relative;color:#505050;font-size: 16px;line-height: 150%;letter-spacing: 0.3px;font-weight: 400;padding-left: 10px;margin-bottom: 10px;}
ul li::marker{color:#008da8;font-size: 16px;font-weight: 800;}

li ul{list-style-type:disc!important;margin-left: 20px;}
li ul li{padding: 0;margin: 0;}

ol{text-align: left;position: relative;list-style-position: inside;line-height: 150%;margin-bottom: 20px;}
ol li{position: relative;color:#505050;font-size: 16px;line-height: 150%;font-weight: 400;letter-spacing: 0.3px;padding-left: 10px;margin-bottom: 10px;}
ol li::marker{color:#008da8;font-size: 16px;font-weight: 800;}

/*table*/
#table{overflow-x: auto;}
table{width: 100%;border-collapse: collapse;border: none;margin-bottom: 10px;}
table p{margin: 0!important;}
th{border: 1px solid #9d9fa1;color:#9d9fa1;font-size: 16px;font-weight: 500;text-align: center;padding: 10px;}
td{border: 1px solid #9d9fa1;color:#9d9fa1;font-size: 16px;font-weight: 400;text-align: center;padding: 10px;}
tr{}

@media only screen and ( max-width: 800px ){
    table{width: 100%!important;}
}

hr{border: 0;height: 1px;background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0)); margin-bottom: 50px;margin-top: 50px;}

.seznam input{padding: 5px;border: none;color: #202020;font-size: 15px;}
.seznam select{padding: 5px;border: none;color: #202020;font-size: 15px;}

.seznam .save{display: inline-block;vertical-align: top;cursor: pointer;background: transparent url('../img/save.png') no-repeat; width:20px; height:20px; border: none;border-radius: 0;padding: 0;}
.seznam .copy{display: inline-block;vertical-align: top;cursor: pointer;background: transparent url('../img/copy.png') no-repeat; width:20px; height:20px; border: none;border-radius: 0;padding: 0;}
.seznam .del{display: inline-block;vertical-align: top;cursor: pointer;background: transparent url('../img/kos.png') no-repeat; width:20px; height:20px; border: none;border-radius: 0;padding: 0;}
.seznam .edit{display: inline-block;vertical-align: top;cursor: pointer;background: transparent url('../img/pencil.png') no-repeat; width:20px; height:20px; border: none;border-radius: 0;padding: 0;}

.msgOK{position: relative;z-index: 99;background-color: #438bc5;  font-weight: 900; font-size: 15px; color: white; text-align: center; padding: 10px;}
.msgError{position: relative;z-index: 99;background-color: #E21A1A;  font-weight: 900; font-size: 15px; color: white; text-align: center; padding: 10px;}

.grecaptcha-badge{z-index: 99;}

/* LAYOUT */
#panelMiddle{min-height: 100%;position: relative;overflow: hidden;margin: 0 auto;z-index: 94;}
.panelMiddleIn{max-width: 1200px;padding: 0 10px; margin:0 auto;}
#panelStred{padding: 45px 0 0 0;}
#panelStred.uvod{padding: 0 0 0 0;}

#panelTop{position: fixed;width: 100%;max-width: inherit;z-index: 99;box-sizing: border-box;transition: all 0.5s;background-color: #008da8;}

#panelTop.fixed{top:0;}

#panelTop.visible{top:0px!important;background-color: #008da8;}
#panelTop.invisible{top:-147px!important;}

.vice{text-align: center;position: relative;display: inline-block!important;width: auto!important;box-sizing: border-box;color:#008da8;font-size: 12px;font-weight: 900;line-height: 12px;letter-spacing: 0.3px;padding: 20px 40px;text-transform: uppercase;text-decoration: none;transition: all 0.9s;}
.vice:hover{text-decoration: none;color: #008da8;}

.vice:after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  background: #008da8;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}

.vice:hover:after {
  width: 100%;
  left: 0;
}

.button{
    cursor: pointer;
    position: relative;
    display: inline-block;
    margin: 0px;
    margin: 20px 0;
    padding: 15px 20px;
    color:white;
    font-size: 14px;
    font-weight: 900;
    line-height: 12px;
    letter-spacing: 0.3px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: #008da8;
    border: none;
    border-radius: 10px;
    background-color: transparent;
 }

 .button:before {
    content: '';
    position: absolute;
    border: #008da8 solid 2px;
    border-radius: 15px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: top, right, bottom, left;
    transition-property: top, right, bottom, left;
}

.button:hover {text-decoration: none;color: white;background-color: #008da8;}

.button:hover:before, .button:focus:before, .button:active:before {
    top: -8px;
    right: -8px;
    bottom: -8px;
    left: -8px;
}

#panelContent{text-align: center;background: none;margin: 0;position: relative;z-index: 98;overflow: hidden;max-width: 1920px;margin: 0 auto;}

#logo{float: left;text-align: left;}
#logo a{text-decoration: none;text-align: left;position: relative;display: block;color: #f8bc3a;font-size: 20px;line-height: 20px;font-weight: 400;background: transparent url('../img/logo.png') left center no-repeat;padding: 30px 0px 30px 80px;text-transform: uppercase;}
#logo a:hover{text-decoration: none;}
#logo strong{color: #01aae3;font-size: 30px;font-weight: 400;letter-spacing: 0;text-transform: uppercase;}

@media only screen and ( max-width: 500px ){
    #logo a{font-size: 16px;padding: 20px 0px 20px 60px;}
    #logo strong{font-size: 22px;}
}

#panelVideo{position: relative;width:100%; height:100vh; overflow: hidden;z-index: 97;margin: 0 auto;}
#panelVideo .utlumeni{position: absolute;top: 0;left: 0;z-index: 6;width:100%;height: 100%;background-color: rgba(0,0,0,0.1);}
#panelVideo video{position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 100%;height: 100%;object-fit: cover;}

#panelImage{position: relative;max-width: 1920px;margin: 0 auto;max-height: 100vh;overflow: hidden;min-height: 400px;}
#panelImage img{width: 100%;}

#slogan {
    text-align: left;
  position: absolute;
  left: 20%;
  top: 30%;  
  /*background-color: rgba(25,25,25,0.6);*/
  display: inline-block;
  padding: 0px;
  /*overflow: hidden;*/
  color: white;
  box-sizing: border-box;
  z-index: 99;  
  width:1200px;
  /*padding: 80px;*/
}

#slogan p{font-size: 20px;line-height: 30px;font-weight: 600;color: #ffaa01;letter-spacing: 0px; text-transform: uppercase;}
#slogan strong {font-size: 75px;line-height: 75px;font-weight: 700;color: white; text-transform: none;} 
#slogan strong span{color: #059dbb;} 

@media only screen and ( max-width: 1500px ){
    #slogan {width:100%;top: 20%;left: 0;transform: none;text-align: center; padding: 10px;}
}

@media only screen and ( max-width: 800px ){
    #slogan br {display: block;}
}


@media only screen and ( max-width: 600px ){    
    #slogan strong {font-size: 60px;line-height: 60px;}
}

@media only screen and ( max-width: 500px ){    
    #slogan {top: 10%;}
    #slogan strong {font-size: 38px;line-height: 39px;}
}

#panelAktivity {position: absolute; left: 0; bottom: 0; width: 100%;z-index: 99;text-align: center;}
#panelAktivity .aktivita{position: relative;display: inline-block;vertical-align: bottom; text-align: center;box-sizing: border-box; padding:30px; margin:0 10px; color: white;}
#panelAktivity .albrechticka{background-color: rgba(6,158,237,0.6);}
#panelAktivity .hrdinu{background-color: rgba(147,192,75,0.6);}
#panelAktivity .zizkova{background-color: rgba(248,188,58,0.6);}
#panelAktivity .aktivita a.full{position: absolute;z-index: 10;top: 0;left: 0;right: 0;bottom: 0;}
#panelAktivity img{max-width: 100%; margin-bottom: 10px;}
#panelAktivity a:hover{text-decoration: none;}
#panelAktivity h2{color: white; font-size: 18px; font-weight: 800;}
#panelAktivity p{color: white; font-size: 18px;font-weight: 500; margin: 0;}

@media only screen and ( max-width: 1000px ){
    #panelVideo{overflow: unset;}
    #panelAktivity {width: 100%;}
}

#panelBottom{position: relative;width:100%;background-color: #008da8;}

#panelFooter{width:100%;background-color: #12435e;}

#mapa{width: 100%;height: 500px;}

#bottom{position: relative; padding: 100px 0;text-align: center;z-index: 90;}
#bottom h3{color:white;font-size: 18px;font-weight: 900;text-transform: uppercase;}
#bottom hr{background-image: linear-gradient(to right, rgba(29, 31, 63, 0), rgba(29, 31, 63, 0.3), rgba(29, 31, 63, 0));}
#bottom p{color:white;font-size: 16px;line-height: 25px;font-weight: 400;margin-bottom: 10px;}
#bottom strong{color:white;font-weight: 700;}
#bottom a{color: #ffaa01;font-size: 16px;font-weight: 700;}
#bottom a.phone{background: transparent url('../img/phone.png') center left no-repeat;padding: 5px 0;padding-left: 25px;}
#bottom a.whatsapp{background: transparent url('../img/whatsapp.png') center left no-repeat;padding: 5px 0;padding-left: 25px;}
#bottom a.email{background: transparent url('../img/email.png') center left no-repeat;padding: 5px 0;padding-left: 25px;}
#bottom a.web{background: transparent url('../img/web.png') center left no-repeat;padding: 5px 0;padding-left: 25px;}
#bottom a.place{background: transparent url('../img/place.png') center left no-repeat;padding: 5px 0;padding-left: 25px;}
#bottom li{line-height: 130%;color: white;}

#footer{padding: 15px 0;}
#footer p{text-align: right;font-size: 14px;font-weight: 700;color: white;margin-bottom: 0;}
#footer a{color:#ffaa01;font-size: 14px;font-weight: 700;}

@media only screen and ( max-width: 1200px ){
    #bottom{text-align: center;margin: 0;}
    #bottom div{float: none!important;padding: 0; margin:20px 0!important;width: 100%!important;text-align: center!important;}
    #bottom h3{text-align: center!important;}
    #bottom p{text-align: center!important;}
    #bottom ul{margin:20px 0!important;line-height: 120%;text-align: center; list-style-type: none;}
    #bottom li{text-align: center!important;}
    #footer{text-align: center;}
    #footer p{float: none;margin: 0!important; text-align: center;}
}

#edit{float: right; margin: 5px; width: 130px;}

#upload{float: left; margin: 5px;}
#upload label{float: left; padding-top: 4px; font-size: 13px; color: white; margin-left: 10px;}
#upload b{cursor: pointer; float: left;margin: 0;}
#upload input{float: left; margin-left: 10px;}
#upload select{float: left;margin-left: 10px;height: 21px;}
#upload .popis{height: 21px;}
#upload div.img{display: none; float: left; padding: 5px; background-color: #546a76;color: white;}
#upload div.file{display: none; float: left; padding: 5px; background-color: #546a76;color: white;}

#podmenu{text-align: center;padding: 20px 0;}
#podmenu a{font-size: 15px; font-weight: 800;text-decoration: none!important;}
#podmenu a:hover{text-decoration: underline!important;}

/*Podskupiny*/
#panelPodskupiny{overflow-x: hidden;align-items: center;position: relative;max-width: 1920px;margin: 0 auto;border-bottom: 5px solid #13b1c4;}
#panelPodskupiny div.licha{display: flex;justify-content: center;align-items: center;text-align: left;position: relative;width: 100%;z-index: 98;overflow: hidden;border-top: 5px solid #13b1c4;}
#panelPodskupiny div.suda{display: flex;justify-content: center;align-items: center;text-align: left;position: relative;width: 100%;z-index: 97;overflow: hidden;border-top: 5px solid #13b1c4;}
#panelPodskupiny div.licha div.img{position: relative;width: 48%;order: 1;font-size: 0;text-align: center;border-right: 5px solid #13b1c4;padding:8px;box-sizing: border-box;}
#panelPodskupiny div.suda div.img{position: relative;width: 48%;order: 2;font-size: 0;text-align: center;border-left: 5px solid #13b1c4;padding:8px;box-sizing: border-box;}
#panelPodskupiny div.img img{max-width: 100%;transition: all 0.9s;}

#panelPodskupiny div.text{overflow: hidden;box-sizing: border-box;box-sizing: border-box;padding: 50px;}
#panelPodskupiny div.licha div.text{flex: 2;order: 2;}
#panelPodskupiny div.suda div.text{flex: 2;order: 1;}

@media only screen and ( max-width: 1200px ){
    #panelPodskupiny div.text{padding: 20px;}
}

@media only screen and ( max-width: 1000px ){
    #panelPodskupiny div.licha{flex-direction: column;align-items: normal;border: none;}
    #panelPodskupiny div.suda{flex-direction: column-reverse;align-items: normal;border: none;}
    #panelPodskupiny div.text{padding: 50px 10px;}
    #panelPodskupiny div.licha div.img{width: 100%;border:none;border-top: 5px solid #13b1c4;border-bottom: 5px solid #13b1c4;padding: 8px;}
    #panelPodskupiny div.suda div.img{width: 100%;border:none;border-top: 5px solid #13b1c4;border-bottom: 5px solid #13b1c4;padding: 8px;}
}

#panelCont{display: flex;justify-content: center;align-items: center;padding: 0;}

#panelRight{order: 2;position: relative;font-size: 0;width: 50%;text-align: center;box-sizing: border-box;margin: 50px 0;margin-left: 50px;}
#panelRight.narrow{width: 30%;}
#panelRight div.img{position: relative;}
#panelRight img{max-width:100%;}
#panelRight video{max-width:100%;}

#panelMainLeft{flex: 2;order: 1;overflow: hidden;box-sizing: border-box;text-align: left;padding: 50px 0 0 0;}
#panelMainLeft div.popis{text-align: left;box-sizing: border-box;overflow: hidden;}
#panelMainLeft div.perex p{text-align: left;font-size: 24px;font-weight: 400;color: rgba(0,0,0,0.65);line-height: 20px;margin-bottom: 20px;}
#panelMainLeft div.logo{display: inline-block;max-width: 280px;margin: 20px 0;}
#panelMainLeft div.logo img{max-width: 100%;}
#panelMainLeft img.logo{float: left;}

#panelMainRight{flex: 2;order: 1;overflow: hidden;box-sizing: border-box;text-align: left;padding: 50px 100px;}
#panelMainRight div.popis{text-align: left;box-sizing: border-box;overflow: hidden;}
#panelMainRight div.perex p{text-align: left;font-size: 24px;font-weight: 400;color: rgba(0,0,0,0.65);line-height: 20px;margin-bottom: 20px;}
#panelMainRight div.logo{display: inline-block;max-width: 280px;margin: 20px 0;}
#panelMainRight div.logo img{max-width: 100%;}
#panelMainRight img.logo{float: left;}

#panelMainCenter{overflow: hidden;box-sizing: border-box;text-align: left;padding: 60px 0 50px 0;}
#panelMainCenter div.popis{text-align: left;box-sizing: border-box;overflow: hidden;}
#panelMainCenter div.perex p{text-align: left;font-size: 24px;font-weight: 400;color: rgba(0,0,0,0.65);line-height: 20px;margin-bottom: 20px;}
#panelMainCenter div.logo{display: inline-block;max-width: 280px;margin: 20px 0;}
#panelMainCenter div.logo img{max-width: 100%;}
#panelMainCenter img.logo{float: left;}

#panelMainCenter hr{border: 0;height: 1px;background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0)); margin-bottom: 50px;margin-top: 50px;}

#panelMain{flex: 2;order: 2;width: auto;overflow: hidden;box-sizing: border-box;text-align: center;}
#panelMain.edit{overflow: unset;padding: 100px 0;}
#panelMain div.popis{text-align: left;box-sizing: border-box;overflow: hidden;}


@media only screen and ( max-width: 1000px ){
    #panelMain div.popis img{float: none!important;width: auto!important;max-width: 100%!important; height: auto!important;margin: 10px 0!important;}
    #panelMain h1{display: inline-block;}
    #panelCont{flex-direction:column-reverse;}
    #panelMain{width: 100%;}
    #panelMainLeft{padding: 50px;}
    #panelRight{width: 100%;margin: 0;border-left: none;}
}

@media only screen and ( max-width: 700px ){
    #panelMainLeft{padding: 20px;text-align: center;}
    #panelMainRight{padding: 20px;text-align: center;}
    #panelMain h1{display: inline-block;text-align: center;}
    #panelCont{margin: 0;}
}

#dokumenty{text-align: left;margin: 20px 0;}
#dokumenty .dokumenty{display: inline-block;background: transparent url('../img/doc.png') center left no-repeat;padding-left: 25px;}
#dokumenty a{font-size: 15px;}
#dokumenty div.editable{display: inline-block;font-size: 16px;font-weight: 400;color:#505050;letter-spacing: 0.3px;line-height: 16px;}
#dokumenty a.del{display: inline-block;background: transparent url('../img/kos_foto.png') no-repeat; width:15px; height:15px; border: none;}
#dokumenty b.drag{display: inline-block;background: transparent url('../img/drag_foto.png') no-repeat; width:15px; height:15px; border: none;margin: 0;}

#fotky{text-align: center;box-sizing: border-box;}
#fotky h2{position: relative;text-align: left;color:#52514c;font-size: 25px;font-weight: 400;margin-bottom: 30px;}
#fotky div.fotky{display: inline-block;width: 250px;height: 250px;overflow: hidden;box-sizing: border-box;position: relative;margin: 5px;font-size: 0;vertical-align: top;}
#fotky img{position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%) scale(1);transition: all 0.9s;}
#fotky div.fotky:hover img{transform: translate(-50%, -50%) scale(1.1);}
#fotky div.fotky:hover .editable{opacity: 1;text-decoration: none;}
#fotky div.fotky:hover .editable_content{opacity: 1;}
#fotky a.editable{display: table;text-align: center;z-index: 99;overflow: hidden;position: absolute;top: 0;left: 0;width: 100%;height: 100%;padding: 20px;transition: all 0.9s;box-sizing: border-box;}
#fotky div.editable{display: table;text-align: center;z-index: 99;overflow: hidden;position: absolute;top: 10%;left: 10%;width: 80%;height: 80%;padding: 0;transition: all 0.9s;box-sizing: border-box;}
#fotky .editable .editable_content{position: relative;opacity: 0;z-index: 99;font-size: 13px;font-weight: 500;letter-spacing: 0.3px;text-transform: uppercase;display: table-cell;vertical-align: middle;text-align: center;color: #505050;padding: 10px;border: 1px solid white;background: none repeat scroll 0 0 rgba(255, 255, 255, 0.6);transition: all 0.9s;}
#fotky a.del{position:absolute;top: 3px;right:3px;background: transparent url('../img/kos_foto.png') no-repeat; width:15px; height:15px; border: none;}
#fotky b.drag{position:absolute;top: 3px;left:3px;background: transparent url('../img/drag_foto.png') no-repeat; width:15px; height:15px; border: none;}

#personal{overflow: hidden;text-align: center;text-align: center;max-width: 1920px;margin: 50px auto;}
#personal div.personal{display: inline-block;vertical-align: top;text-align: center;position: relative;width: 250px;position: relative;z-index: 98;background-color: white;overflow: hidden;margin: 20px;}
#personal div.bottom{position: relative;bottom: 0;left:0;margin: 0px;width: 100%;text-align: center;}
#personal div.img{position:relative;display: inline-block;box-sizing: border-box;width: 200px;height: 200px;border-radius: 50%;margin-bottom: 20px;
  box-shadow: inset 10px 10px 10px rgba(0,0,0,0.05),
  15px 25px 10px rgba(0,0,0,0.05),
  15px 10px 10px rgba(0,0,0,0.05),
  inset 15px 20px 20px rgba(255,255,255,0.9);
  }
#personal div.img img{max-width: 100%;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);transition: all 0.9s;border-radius: 50%;}
#personal div.text{text-align: center;overflow: hidden;box-sizing: border-box;box-sizing: border-box;}
#personal h2{margin: 100px 0 0 0;}
#personal h5{position: relative;display: inline-block;text-align: left;margin-bottom: 10px;text-transform: uppercase;}
#personal p{font-size: 15px;font-weight: 400;letter-spacing: 0.3px;color: #323232;line-height: 20px;margin-bottom: 10px;}
#personal strong{font-size: 13px;font-weight: 600;text-transform: uppercase;}

#panelFirmy{margin: 0;}
#panelFirmy h2{position: relative;text-align: left;color:#008da8;font-weight: 600;margin-bottom: 40px;text-transform: uppercase;padding-top: 20px;}
#firmy_hp a, #firmy_hp span{padding: 20px;}

#firmy{text-align: center;}
#firmy a{position: relative;width: 250px;height: 250px;box-sizing: border-box;display: inline-block;font-size: 0;text-align: center;overflow: hidden;margin: 8px;}
#firmy a img{max-width: 100%;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);}
#firmy p{position: relative;width: 250px;height: 250px;box-sizing: border-box;display: inline-block;font-size: 0;text-align: center;overflow: hidden;margin: 8px;}
#firmy p img{max-width: 100%;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);opacity: 0.5;transition: all 0.5s;opacity: 0.8;}

#galerie{display: flex;flex-flow: row wrap;justify-content: center;text-align: center;}
#galerie .galerie{display: inline-block;text-align: left;box-sizing: border-box;width: 250px;position: relative;z-index: 98;margin: 10px;padding-bottom: 60px;}
#galerie div.img{position: relative;width: 250px;height: 250px;overflow: hidden;margin-bottom: 20px;}
#galerie div.img img{position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%) scale(1);transition: all 0.9s;}
#galerie .galerie:hover img{transform: translate(-50%, -50%) scale(1.1);}
#galerie div.text{text-align: center;overflow: hidden;box-sizing: border-box;box-sizing: border-box;}

#aktuality{overflow-x: hidden;margin-bottom: 50px;}
#aktuality div.aktuality{text-align: left;position: relative;width: 100%;z-index: 98;margin-bottom: 20px;padding-bottom: 75px;}
#aktuality div.img{float: left;overflow: hidden;margin-right: 20px;margin-bottom: 20px;position: relative;width: 200px;}
#aktuality div.text{overflow: hidden;}
#aktuality div.img img{max-width: 100%;}
#aktuality h3{position: relative;text-align: left;}
#aktuality p.datum{float: right;padding: 10px;color: #008da8;font-size: 15px;font-weight: 900;border: 4px solid #008da8;text-transform: uppercase;}

#aktuality hr{border: 0;height: 1px;background-image: linear-gradient(to right, rgba(64, 84, 101, 0), rgba(64, 84, 101, 0.3), rgba(64, 84, 101, 0)); margin-bottom: 50px;margin-top: 50px;}

@media only screen and ( max-width: 800px ){
    #aktuality div.aktuality{text-align: center;}
    #aktuality div.img{float: none;width: 100%;height: auto;margin-right: 0;margin-bottom: 20px;text-align: center;}
    #aktuality div.img img{max-width: 100%;position: relative;top: 0;left: 0;transform: none;}
    #aktuality h3{text-align: center;}
    #aktuality p{text-align: center;}
    #aktuality p.datum{float: none;display: inline-block;}
}

#videa{display: flex;flex-flow: row wrap;justify-content: center;text-align: center;}
#videa .video{display: inline-block;text-align: left;box-sizing: border-box;width: 250px;position: relative;z-index: 98;margin: 10px;padding-bottom: 60px;background-color: white;}
#videa video{width: 100%;}
#videa iframe{width: 100%;}
#videa div.img{position: relative;width: 100%;aspect-ratio:16/9;overflow: hidden;border-bottom: 20px solid white;}
#videa div.img img{max-width: 100%;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);transition: all 0.9s;}
#videa div.video:hover img{transform: translate(-50%, -50%) scale(1.1);}
#videa div.text{text-align: center;padding: 10px;}

/*Menu*/
#menu{text-align: center;position: relative;z-index: 99;}

#menu b.openbtn{border-bottom: 14px double white;border-top: 5px solid white;content:"";height: 4px;width:30px;cursor: pointer;display: none;margin: 0;}
#menu b.closebtn{position: absolute;top: 10px;left: 10px;font-size: 36px;line-height:10px;color: white; cursor: pointer;display: none;margin: 0;}
#menu b.closebtn:hover{color: #ffaa01;}
div.nav_bg{display: block;}

#menu ul{display: block;list-style:none;margin: 0;padding: 0;}
#menu ul li{position: relative;display:inline-block; text-align: center;transition: all 300ms ease 0s;margin: 0;padding: 0;}
#menu ul li:before{display: none;}
#menu ul li a,#menu ul li p{display: inline-block;color:white;position: relative;z-index: 99;font-size: 14px;font-weight:700;text-decoration: none;text-transform: uppercase;margin:0;padding: 10px;}
#menu ul li a.edit{width: 20px; height: 20px;padding: 0 10px;background: transparent url('../img/plus.png') center bottom no-repeat;}
#menu ul li.mark a:hover,#menu ul li.mark p:hover{text-decoration: none;color: #ffaa01;}

#menu ul li.unmark a:hover,#menu ul li.unmark p:hover{text-decoration: none;color: #ffaa01;}

#menu ul li.mark a,#menu ul li.mark p{text-decoration: none;color: #ffaa01;}

#menu li ul{list-style:none; position: absolute;visibility: hidden;overflow: hidden;max-height:0px;top:50px;left:50%;transform: translateX(-50%);background-color:rgba(0,141,168,0.9);width: 250px;transition: all 0.5s ease-in-out;padding: 10px 0;}

#menu li:hover ul{max-height: 450px;visibility: visible;}
#menu li ul li{text-align: center;margin: 0px 10px;padding: 0;display: block;vertical-align: top;}
#menu li ul li a{color:white;display: inline-block;padding: 0;font-size: 14px;font-weight: 700;text-transform: uppercase;}
#menu li.mark ul li a:hover{color: #ffaa01;background: none;}
#menu li.unmark ul li a:hover{color: #ffaa01;background: none;}
#menu li.unmark ul li a{color: white;background: none;}
#menu li.mark ul li a{color: white;background: none;}

@media only screen and ( max-width: 800px ){
    div.nav_bg{display: none;top: 0;left:0;right: 0;bottom: 0;position: fixed;z-index: 998;z-index: 888888888;width: 100%;height:100%;background-color: rgba(0,0,0,0);}
    #menu{margin: 10px 0 5px 0;margin-right: 0;}
    #menu ul{float: none;}
    #menu b{display: inline-block!important;}
    #menu ul li ul{background: none;}    
    #menu ul li ul li a{color:white;}
    #menu ul li{display:block;background: none;padding-right: 0;padding-left: 0;}
    #menu ul li a,#menu ul li p{color:white;background: none;padding: 10px;border: none;font-size: 14px;font-weight: 700;text-transform: uppercase;}
    #menu ul li.mark a:hover, #menu ul li.mark p:hover{color:#ffaa01;text-decoration: none;border:none;background: none;}    
    #menu ul li.unmark a:hover, #menu ul li.unmark p:hover{color:#ffaa01;text-decoration: none;border:none;background: none;}    
    #menu ul li.mark a,#menu ul li.mark p{color:#ffaa01;text-decoration: none;border:none;background: none;}    

    #menu ul li a.edit{display: none;}
    #menu ul li ul{position: relative;top:0px;padding: 0;width: 100%;margin: 0;}    
    #menu ul li ul li a{font-size: 13px;font-weight: 700;}
    #menu ul li.unmark ul li a:hover{color:#ffaa01;text-decoration: none;border:none;background: none;}    
    #menu ul li.unmark ul li p:hover{color:#ffaa01;text-decoration: none;border:none;background: none;}    
    #menu .nav{height: 100%;width: 200px;position: fixed;z-index: 1;top: 0;right: -200px;background-color: rgba(0,141,168,0.9);overflow-x: hidden;padding-top: 60px;transition: 0.5s;}    
}

/* LOGIN */
#login{width: 300px; margin: 0 auto;}
#login h3{text-align: left;font-size: 15px;color: #666666;font-weight: bold;}
#login input[type=submit]{background-color: #666666;border:1px solid #666666;}
#login input[type=submit]:hover{background-color: white; color: #546a76; transition: all 300ms ease 0s;}
#login label{width: 100px;color: #666666;}

/*Search form*/

/*Registrace*/

/*napoveda*/

/*sprava slideru*/
#slider_sprava{text-align: center;}
#slider_sprava div.fotky{position: relative;width: 280px;margin: 5px;display: inline-block;}
#slider_sprava div.fotky img{max-width: 100%;}
#slider_sprava a.del{position:absolute;top: 3px; left:21px;background: transparent url('../img/kos_foto.png') no-repeat; width:15px; height:15px; border: none;}
#slider_sprava b.drag{position:absolute;top: 3px; left:3px;background: transparent url('../img/drag_foto.png') no-repeat; width:20px; height:20px; border: none;}

/*sprava*/
#sprava label{float: left; width: 160px; padding: 5px; font-size: 15px;font-weight: 400;color: #505050;box-sizing: border-box;}
#sprava p{color: #505050;}
#sprava input{width: calc(100% - 160px);margin-bottom: 5px;font-size: 15px;font-weight: 400;padding: 5px;border-radius:5px;background-color: white;border:1px solid #546a76;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
#sprava select{width: auto;margin-bottom: 5px;padding: 5px;border-radius:5px;border:1px solid #546a76;}
#sprava .textarea{display: inline-block;width: calc(100% - 160px);margin-bottom: 5px;box-sizing: border-box;}
#sprava input[type=submit]{width:100%;padding: 5px;border-radius:5px;border:1px solid #546a76;background-color: #546a76;color: white;font-size:14px;font-weight: 600;cursor:pointer;}
#sprava input[type=submit]:hover{background-color: white; color: #546a76; transition: all 300ms ease 0s;}
#sprava span.napoveda{font-weight: 300; font-size: 15px; color: white;margin-left: 10px;}
.ck-editor__editable .ck-list-bogus-paragraph{display: unset!important;}

#sprava input.button_small{
    width: auto;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.ck-content p{color: black;}

.ck.ck-list {
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0!important;
}

.ck.ck-list li:before{
  display: none!important;
}

span.ck-widget.html-object-embed {
  display: inline-block;
  width: 100%;
}

/*Nevim heslo*/
#nevim-heslo {width: 350px;}
#nevim-heslo a{color: white;}
#nevim-heslo input.button{position: relative; top: -5px;}

/*loader*/
.loader {position: fixed;left: 0px;top: 0px;width: 100%;height: 100%;z-index: 9999;background: url('../img/page-loader.gif') 50% 50% no-repeat rgb(255,255,255);}

/* KALKULACKA */

/* FORMULAR */
#formular{max-width: 800px;background-color: rgba(52,186,236,0.7);}
#formular h3{color: white;text-align: center;font-size: 30px;font-weight: 400;margin-bottom: 20px;text-transform: uppercase;}
#formular p{color: white;}
#formular p.small{font-size: 13px;}
#formular p.small a{font-size: 13px;}
#formular p.left{text-align: left;}
#formular a{color: #393588;}
#formular label{text-align: left; font-weight: 400;font-size: 16px;color: #505050;letter-spacing: 0.3px;margin-right: 20px;}
#formular form input[type=text]{width:100%;padding: 5px;color: #505050;font-weight: 400;font-size: 16px;letter-spacing: 0.3px;background-color: white;border: 1px solid white;border-radius: 0;margin-bottom: 10px;}
#formular form select{width:100%;padding: 5px;color: #505050;background-color: white;border: 1px solid white;border-radius: 0;margin-bottom: 7px;}
#formular form textarea{width:100%;padding: 5px;color: #505050;font-size: 16px;font-weight: 400;letter-spacing: 0.3px;background-color: white;border: 1px solid white;border-radius: 0;}

#formular input[type=submit]{cursor: pointer;float: right;width: auto;position: relative;display: inline-block;background-color: white;color:#008da8;font-size: 12px;font-weight: 800;line-height: 12px;padding: 20px;text-transform: uppercase;text-decoration: none;transition: all 0.9s;}
#formular input[type=submit]:hover{text-decoration: none;background-color: #008da8;color: white;}

#formular input::placeholder {color: #505050;font-size: 16px;font-weight: 400;letter-spacing: 0.3px;opacity: 0.8;}
#formular textarea::placeholder {color: #505050;font-size: 16px;font-weight: 400;letter-spacing: 0.3px;opacity: 0.8;}

@keyframes popup {
    0% {
        transform: translateY(-50%) perspective(800px) rotateY(90deg);
        opacity: 0;
    }
    40% {
        transform: translateY(-50%) perspective(800px) rotateY(-10deg);
    }
    70% {
        transform: translateY(-50%) perspective(800px) rotateY(10deg);
    }
    100% {
        transform: translateY(-50%) perspective(800px) rotateY(0deg);
        opacity: 1;
    }
}

@media only screen and ( max-width: 800px ){
    div.popup_content{margin: 10px;}
}

#popup_trigger{box-sizing: border-box;text-align: center;margin-top: 20px;}


/*POPUP*/
div.popup{top: 0;left:0;right: 0;bottom: 0;position: fixed;z-index: 998;z-index: 888888888;width: 100%;height:100%;background-color: rgba(77,77,77,0.6);}
span.close{position: absolute;right: 10px;top:10px;height: 20px;width:20px;font-size: 0px;background: transparent url('../img/cross.png') no-repeat;border:none;cursor: pointer;}
div.popup_content{background-color: rgba(255,255,255,0.8);overflow: hidden;text-align: center;padding: 50px 100px;position: relative;z-index: 999;top:50%;transform: translateY(-50%);max-width: 800px;
    box-sizing: border-box;border-radius: 10px;-webkit-border-radius: 10px;-webkit-animation-duration: 1s;animation-duration: 1s;-webkit-backface-visibility: visible;-ms-backface-visibility: visible;
    backface-visibility: visible;-webkit-animation-name: popup;animation-name: popup;margin: 0 auto;}

@media only screen and ( max-width: 800px ){
    div.popup_content{margin: 10px;padding: 20px;}
    popup_left{float: none;width: 100%;}
}

/*facebook*/
#facebook_side{transition: right 0.5s;position:fixed;z-index:9999;top:50%;width: 300px;right:-300px;top:200px;}
#facebook_side img.flag{position: absolute;left: -50px;}

/*instagram*/
#instagram_side{background-color: white;transition: right 0.5s;position:fixed;z-index:9998;top:50%;width: 300px;right:-300px;top:260px;padding-bottom: 50px;}
#instagram_side img.flag{position: absolute;left: -50px;}

@media only screen and ( max-width: 600px ){
    #facebook_side{display: none;}
    #instagram_side{display: none;}
}

/*arrow*/
.arrow {
  position: absolute;
  bottom: 0;
  z-index: 99;
  left: 50%;
  width: 100px;
  color: white;
  margin-left: -50px;
  margin-bottom: 50px;
  height: 100px;
  border: solid #008da8;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 0;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

@media only screen and ( max-width: 1000px ){
  .arrow {display: none;}
}

/*cookies*/
.cookies_trigger{cursor: pointer;position: fixed;bottom: 0;left: 0;z-index: 99;height: 50px;width: 50px;background: #008da8 url('../img/cookies.png') center center no-repeat;border: none;}
#cookies_popup{display: none;top: 0;left:0;right: 0;bottom: 0;position: fixed;z-index: 998;z-index: 888888888;width: 100%;height:100%;background-color: rgba(0,0,0,0.6);}
#cookies_popup_consent{
    position: absolute;z-index: 999;bottom:0;left:0;
    max-width: 600px;
    background-color:#008da8;
    padding:20px;
    z-index:1000;
    box-sizing: border-box;
}

#cookies_extend{display: none;}

#cookies_popup_consent h1{
    text-align: center;
    color: white;
    font-size:1.2em;
    font-weight: 500;
    text-transform: uppercase;
}
#cookies_popup_consent h1:before{
    content:"";
    padding:0;
}

#cookies_popup_consent a{
    font-size:12px;
    color: #ffaa01;
    text-decoration: underline;
}

#cookies_popup_consent p{
    font-size:12px;
    color: white;
}

#cookies_popup_consent span.nadpis{
    font-size:0.8em;
    font-weight: 600;
    color: white;
}

#cookies_popup_consent form{
    /*text-align: center;*/
}

#cookies_popup_consent button[type="submit"] {
    float: right;cursor: pointer;border: none;background-color: #ffaa01;color: white;padding: 10px;margin: 5px;font-size: 12px;font-weight:900;text-transform: uppercase;
}

#cookies_popup_consent button[type="button"] {
    float: right;cursor: pointer;border: none;background: none;color: white;padding: 10px;margin: 5px;font-size: 12px;font-weight:600;text-decoration: underline;
}

.switch {
    float: right;
    font-size: 100%;
    height: 1.6em;
    position: relative;
}

.switch > input[type="checkbox"] {
    display: none;
}

.switch .switch-style {
    height: 1.6em;
    left: 0;
    background: #C0CCDA;
    -webkit-border-radius: 0.8em;
    border-radius: 0.8em;
    display: inline-block;
    position: relative;
    top: 0;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    width: 3em;
    cursor: pointer;
}

.switch > input[type="checkbox"]:checked + .switch-style {
    background-color: #ffaa01;
}

.switch .switch-style:before {
    display: block;
    content: '';
    height: 1.4em;
    position: absolute;
    width: 1.4em;
    background-color: #fff;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    left: 0.1em;
    top: 0.1em;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.switch > input[type="checkbox"]:checked + .switch-style:before {
    left: 50%;
}

.more > input[type="checkbox"] {
    display: none;
}

.more .more-more {
    position: relative;
}

.more .more-more p{
    display: inline-block;
    font-size:12px;
    height: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.more .more-more:before {
    display: block;
    content: '+';
    color: #ffaa01;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 0;
}

.more > input[type="checkbox"]:checked + .more-more:before {
    content: '-';
}

.more > input[type="checkbox"]:checked + .more-more p{
    height: auto;
    visibility: visible;
}