/* OBECNE STYLY */

html,body { 
 background-color: #241a42;
}

* { margin: 0; padding: 0; outline: none;font-family: "Roboto", sans-serif;}
h1, h1 span,h2, #menu ul li a,#menu ul li p{font-family: "Roboto Condensed", sans-serif;}

BODY, DIV, TABLE, CAPTION,ADRESS, IMG {
  border: 0;
  font-family: Arial;
  margin: 0;
  padding: 0;
}

h1{position: relative; text-align: left;color:white;font-size: 35px;font-weight: 400;margin-bottom: 20px;}
h1 span{background: linear-gradient(to right, #956051, #f4beac, #956051);-webkit-background-clip: text;-webkit-text-fill-color: transparent;}
h1.center{text-align: center;}
h2{position: relative; text-align: left;color:white;font-size: 30px;font-weight: 400;margin-bottom: 20px;}
h3{position: relative; text-align: left;color:white;font-size: 25px;font-weight: 400;margin-bottom: 20px;}
h4{position: relative; text-align: left;color:white;font-size: 20px;font-weight: 400;margin-bottom: 20px;}
h5{position: relative; text-align: left;color:white;font-size: 18px;font-weight: 400;margin-bottom: 20px;}

@media only screen and ( max-width: 800px ){
    h1{font-size: 25px;}
    h2{font-size: 23px;}
    h3{font-size: 22px;}
}

p{color:white;font-size: 16px;line-height: 30px;letter-spacing: 0.3px;margin-bottom: 20px;font-weight: 400;}
b{color:white;font-size: 16px;letter-spacing: 0.3px;margin-bottom: 20px;font-weight: 600;}
strong{background: linear-gradient(to right, #956051, #f4beac, #956051);-webkit-background-clip: text;-webkit-text-fill-color: transparent;font-weight: 600;}

a{color: #956051; background: linear-gradient(to right, #956051, #f4beac, #956051);-webkit-background-clip: text;-webkit-text-fill-color: transparent;text-decoration: none;}
a:hover{text-decoration: underline;}
a.phone{display: inline-block;background: transparent url('../img/phone_dark.png') center left no-repeat;padding-left: 20px;}
a.mobil{display: inline-block;background: transparent url('../img/phone_dark.png') center left no-repeat;padding-left: 20px;}
a.email{display: inline-block;background: transparent url('../img/email_dark.png') center left no-repeat;padding-left: 20px;}
a.mail{display: inline-block;background: transparent url('../img/email_dark.png') center left no-repeat;padding-left: 20px;}
a.web{display: inline-block;background: transparent url('../img/web_dark.png') center left no-repeat;padding-left: 20px;}

/*ol,ul*/
ul{display: inline-block;text-align: left;position: relative;list-style-position: inside;line-height: 200%;list-style: none!important;margin-left: 20px;margin-bottom: 20px;}
li{position: relative;color:white;font-size: 16px;line-height: 200%;letter-spacing: 0.3px;font-weight: 400;}
li:before {
    content: '';    
    margin-right: 5px;    
    width: 15px;
    height: 15px;    
    background: transparent url('../img/list_bg.png') center left no-repeat;
    display: inline-block;
    vertical-align: middle;
}
li strong{font-weight: 600;}
ul li span{display: inline-block!important;}

#horizontalTab ul{display: block;}
#horizontalTab li.r-tabs-tab{padding: 0!important;margin: 0!important;}
#horizontalTab li.r-tabs-tab:before {content: none!important;padding: 0!important;margin: 0!important;}
#horizontalTab li.r-tabs-tab a{-webkit-text-fill-color: initial;}

/*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;}

.toLeft {
  float: left;
}

.toRight {
  float: right;
}

.hidden{display: none;}

.grecaptcha-badge{z-index: 99;}

.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: black!important;}
.seznam td{padding: 5px;color: black!important;}

.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;}

#dokumenty{text-align: left;margin: 20px 0;}
#dokumenty .dokumenty{display: inline-block;background: transparent url('../img/list_bg.png') center left no-repeat;padding-left: 25px;color:white;}
#dokumenty a{font-size: 15px;}
#dokumenty div.editable{display: inline-block;font-size: 16px;font-weight: 400;color:white;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;}

.button {    
  display: inline-block;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(to right, #956051, #f4beac, #956051);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200%;
  background-position: left;
  transition: background-position 0.4s ease;
  text-transform: uppercase;
}

.button:hover {
    text-decoration: none;
    background-position: right;
}

/* LAYOUT */
#panelMiddle{min-height: 100%;position: relative;width: 100%;z-index: 94;}
.panelMiddleIn{max-width: 1600px;padding: 0 10px; margin:0 auto;}
#panelStred{padding-top: 150px;}

#panelKontakt{text-align: right;font-size: 0;position: relative;background: linear-gradient(to right,rgba(255, 255, 255, 0.8) 50%, #f4beac 50%);z-index: 98;}

#panelTop{position: fixed;width:100%;z-index: 99;box-sizing: border-box;transition: all 0.5s;background-color: #241a42;}

.fixed{top:0;}

.visible{top:0px!important;}
.invisible{top:-147px!important;}

#panelContent{text-align: center;background: none;}

#kontakt{float: right;text-align: right;position: relative;padding: 10px 0;}
#kontakt p{display: inline-block;font-size: 20px;font-weight: 600;margin:0;}
#kontakt a{color:#434343;font-size: 20px;font-weight: 600;margin-left: 20px;}
#kontakt a:hover{color:white;text-decoration: none;}
#kontakt a.phone{background: transparent url('../img/phone_dark.png') no-repeat center left; padding-left:30px;text-decoration: none;}
#kontakt a.email{background: transparent url('../img/email_dark.png') no-repeat center left; padding-left:30px;text-decoration: none;}
#kontakt a.adress{background: transparent url('../img/adress_dark.png') no-repeat center left; padding-left:30px;text-decoration: none;}
#kontakt a.fb{background: transparent url('../img/fb_dark.png') no-repeat center left; padding-left:30px;text-decoration: none;}
#kontakt a.instagram{background: transparent url('../img/facebook_dark.png') no-repeat center left; padding-left:30px;text-decoration: none;}

#logo{float: left;padding:20px 0;text-align: left;}
#logo a{display: inline-block;text-decoration: none;color: white;font-size: 16px;letter-spacing: 0.3px;font-weight: 400;}
#logo a img{max-width:100% !important;height:auto !important;}

#jazyky{margin-left:10px;text-align: right;padding: 5px 0 0 0;font-size: 0;}
#jazyky a{font-size: 0;margin: 0 2px;padding: 0;}
#jazyky a img{width:30px;height: 20px;transition: all 0.5s;}
#jazyky a:hover img{transform: scale(1.3);}

@media only screen and ( max-width:1500px ){    
    #kontakt{background-color: #f4beac;}    
}

@media only screen and ( max-width:900px ){    
    #kontakt a{font-size: 15px; margin-left: 0px;}
}

@media only screen and ( max-width: 700px ){
    #panelKontakt{background: none;}
    #kontakt{display: none;}    
    #jazyky{background-color: #f4beac;padding: 5px;}
}

#panelMenu{position: fixed;width:100%;z-index: 98;background-color: #3974ac;}

#panelVideo{position: relative;overflow: hidden;z-index: 97;margin: 0 auto;overflow: hidden;  
  background-color: #241a42; /* stejné jako body */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mask-overlay {
  position: relative;
  z-index: 2;
  width:100%;
  max-width: 2560px; /* velikost PNG */
  height: auto;
  pointer-events: none;
}

#panelVideo video{position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 100%;max-width: 2560px;height: 100%;object-fit: cover;}

#panelMapa{padding: 0;}
#panelMapa h2{color:#5a5a5a;font-size: 35px;font-weight: 400;margin-bottom: 20px;text-align: center;}

#mapa{width: 100%;height: 500px;margin-top: 50px;}

#panelBottom{width:100%;background-color: #1e1638;margin-top: 50px;}
#panelFooter{width:100%;background-color: #181230;}

#bottom{position: relative; padding: 100px;color:white;font-size: 18px;line-height: 25px;font-weight: 400;margin-bottom: 10px;}
#bottom h3{color:white;font-size: 30px;font-weight: 400;text-transform: uppercase;}
#bottom p{color:white;font-size: 18px;line-height: 25px;font-weight: 400;margin-bottom: 10px;}
#bottom p.toLeft{margin: 20px;}
#bottom strong{color:white;}
#bottom a{color:#956051;font-size: 18px;font-weight: 400;background: linear-gradient(to right, #956051, #f4beac, #956051);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;text-decoration: none;}
#bottom a:hover{text-decoration: underline;}
#bottom a.phone{font-size: 17px;font-weight: 600;display: inline-block;background: transparent url('../img/phone_dark.png') center left no-repeat;background-color: #f4beac;padding: 5px;padding-left: 30px;color:#434343;}
#bottom a.email{font-size: 17px;font-weight: 600;display: inline-block;background: transparent url('../img/email_dark.png') center left no-repeat;background-color: #f4beac;padding: 5px;padding-left: 30px;color:#434343;}

#footer{padding: 20px;}
#footer p{text-align: right;font-size: 15px;font-weight: 600;color: white;margin-bottom: 0;}
#footer a{font-size: 15px;font-weight: 600;background: linear-gradient(to right, #956051, #f4beac, #956051);-webkit-background-clip: text;-webkit-text-fill-color: transparent;}

@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 p{width: 100%!important;text-align: center!important;margin:20px 0!important;padding:20px 0!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;}
}

@media only screen and ( max-width: 500px ){    
    #bottom{text-align: center;margin: 0; padding: 50px 0;}    
}

#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;}
#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;}
#podmenu a{font-size: 15px; font-weight: 800;text-decoration: none!important; margin-bottom: 20px;}
#podmenu a:hover{text-decoration: underline!important;}

#panelCont{display: flex;justify-content: center;align-items: center;overflow: hidden;}

#panelRight{position: relative;overflow: hidden;width: 500px;order: 2;font-size: 0;text-align: left;padding: 50px 0;}
#panelRight img{max-width:89%; position: relative; right: -2px;top: 0px;border-radius: 50%;}
#panelRight .overlay {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: transparent url('../img/aktivity_bg2.png') center center no-repeat;background-size: cover; z-index: 2;}

#panelLeft{order: 1;position: relative;font-size: 0;width: 50%;overflow: hidden;text-align: center;box-sizing: border-box;}
#panelLeft img{max-width:100%;}
#panelLeft video{max-width: 100%;}

#panelMainLeft{flex: 2;order: 1;overflow: hidden;box-sizing: border-box;text-align: center;padding: 50px;}
#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: center;padding: 20px 100px 20px 20px;}
#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: center;padding: 50px 0;}
#panelMainCenter div.popis{text-align: left;box-sizing: border-box;overflow: hidden;}
#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;}
#panelMain div.popis{text-align: left;box-sizing: border-box;overflow: hidden;padding: 20px;}
#panelMain div.logo{display: inline-block;max-width: 280px;margin: 20px 0;}
#panelMain div.logo img{max-width: 100%;}
#panelMain img.logo{float: left;}

@media only screen and ( max-width: 900px ){        
    #panelMain div.popis{text-align: center;}    
    #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%;}
    #panelRight{width: 100%;margin: 0; padding: 0;}    
}

@media only screen and ( max-width: 500px ){                
    #panelMain h1{display: inline-block;text-align: center;}    
    #panelCont{margin: 0;}
    #panelMainLeft{padding: 50px 10px;}
    #panelRight{width: 100%;margin: 0; padding: 0;aspect-ratio: 1/1;}    
    #panelRight img{position: relative; left: 0px; top: 19px; max-width: 89%;transition: all 0.9s;border-radius: 50%;}
}

#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: relative;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;}

#fotky{text-align: center;box-sizing: border-box;margin-top: 50px;margin-bottom: 50px;}
#fotky h2{display: inline-block;position: relative;text-align: center;color:#434343;font-weight: 600;border-top: 2px solid #f4beac;border-bottom: 2px solid #f4beac;margin-bottom: 40px;text-transform: uppercase;padding: 10px;}
#fotky div.fotky{display: inline-block;position: relative;width: 250px;height: 250px; font-size: 0;margin: 10px;vertical-align: top;background-color: #434343;}
#fotky .fotky a{display: block;position: relative;width: 100%;height:100%;font-size: 0;text-align: center;overflow: hidden;}
#fotky .fotky a:hover{text-decoration: none;}
#fotky .fotky div.img{overflow: hidden;}
#fotky a img{position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);opacity: 1;transition: all 0.9s;}
#fotky a:hover img{transform: translate(-50%, -50%) scale(1.1);opacity: 0.5;}
#fotky a span{position: absolute;left: 50%;top: 50%;transform: translate(-50%, -50%);text-align: center;color:white;font-size: 17px;font-weight: 600;opacity: 0;transition: opacity 1s;}
#fotky a:hover span{opacity: 1;}
#fotky a.del{position:absolute;top: 3px; left:21px;background: transparent url('../img/kos_foto.png') no-repeat; width:15px; height:15px; border: none;}
#fotky div.edit{cursor: pointer; z-index: 90;position:absolute; top: 3px; left:3px;background: transparent url('../img/pencil_foto.png') no-repeat; width:15px; height:15px; border: none;}
#fotky form{display: none; width:180px; float: left; position: relative; top:15px; padding: 5px; background-color: #546a76;color: white;}
#fotky form label{float: left; margin-right: 5px;font-size: 12px; color: white;}
#fotky input{padding: 2px; margin-bottom: 5px;}
#fotky form input.button{text-align: center; color: black; background-color: white; border: none;}

#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.bottom{position: absolute;bottom: 0;left:0;margin: 0px;width: 100%;text-align: center;}
#aktuality div.left_side{position: relative; float: left;overflow: hidden;margin-right: 20px;margin-bottom: 20px;width: 250px;height: 250px;}
#aktuality div.img{position: relative; top: 24px; left: 24px; overflow: hidden;width: 202px;height: 202px;border-radius: 50%;}
#aktuality div.left_side .overlay {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: transparent url('../img/aktuality_bg.png') center center no-repeat; background-size: cover; z-index: 2;}
#aktuality div.img img{width: 100%;height: 100%;object-fit: cover;object-position: center;}
#aktuality p.datum{float: right;padding: 10px 20px;color: #956051;font-size: 13px;font-weight: 800;background-color: transparent;border: 1px solid #f4beac;border-radius: 100px; text-transform: uppercase;}
#aktuality h3{margin-bottom: 40px;}

#aktuality hr{border: 0;height: 1px;background-image: linear-gradient(to right, rgba(149, 96, 81, 0), rgba(244, 190, 172, 0.3), rgba(149, 96, 81, 0)); margin-bottom: 50px;margin-top: 50px;}

@media only screen and ( max-width: 800px ){
    #aktuality div.aktuality{text-align: center;}
    #aktuality div.left_side{display: inline-block; float: none;margin-right: 0;margin-bottom: 20px;text-align: center;}    
    #aktuality h3{text-align: center;}
    #aktuality p{text-align: center;}
    #aktuality p.datum{float: none;display: inline-block;}
}

#certifikaty{text-align: center;box-sizing: border-box;margin-top: 0px;margin-bottom: 50px;}
#certifikaty div.fotky{display: inline-block;position: relative;width: 200px;font-size: 0;margin: 10px;vertical-align: top;}
#certifikaty .fotky a{display: block;position: relative;width: 100%;height:100%;font-size: 0;text-align: center;}
#certifikaty .fotky a:hover{text-decoration: none;}
#certifikaty .fotky div.img{width: 100%;overflow: hidden;box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;margin-bottom: 10px;}
#certifikaty a img{max-width: 100%;opacity: 1;transition: all 0.9s;}
#certifikaty a:hover img{transform: scale(1.1);}
#certifikaty a span{text-align: center;color:#434343;font-size: 17px;font-weight: 600;}
#certifikaty a.del{position:absolute;top: 3px; left:21px;background: transparent url('../img/kos_foto.png') no-repeat; width:15px; height:15px; border: none;}
#certifikaty div.edit{cursor: pointer; z-index: 90;position:absolute; top: 3px; left:3px;background: transparent url('../img/pencil_foto.png') no-repeat; width:15px; height:15px; border: none;}
#certifikaty form{display: none; width:180px; float: left; position: relative; top:15px; padding: 5px; background-color: #546a76;color: white;}
#certifikaty form label{float: left; margin-right: 5px;font-size: 12px; color: white;}
#certifikaty input{padding: 2px; margin-bottom: 5px;}
#certifikaty form input.button{text-align: center; color: black; background-color: white; border: none;}

#odkazy{text-align: center;display: flex;flex-flow: row wrap;justify-content: center;/*background: transparent url('../img/background2.jpg') center center no-repeat;*/background-size: cover;background-attachment: fixed;}
#odkazy .odkaz{position: relative;display: inline-block;vertical-align: top; width: 200px;box-sizing: border-box;margin: 20px;}
#odkazy .odkaz:hover .img .overlay{
  animation: rotateDiv 1s linear 1;

}
#odkazy .full{position: absolute;top: 0;left: 0;width: 100%;height: 100%;z-index: 98;}
#odkazy .img{position: relative;display: inline-block;z-index: 2;text-align: center;width: 100%;margin-bottom: 50px; aspect-ratio:1/1;overflow: hidden;box-sizing: border-box;transition: transform 0.5s ease-in-out;}
#odkazy .overlay {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: transparent url('../img/odkaz_bg.png') center center no-repeat;z-index: 2;}

#odkazy .img img{max-width: 100%;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 90%;height: 90%;object-fit: cover;border-radius: 50%;}
#odkazy h2{text-align: left;}
#odkazy h5{font-size: 18px;font-weight: 500;color: white;text-align: center;}

@media only screen and ( max-width: 800px ){
    #odkazy h2{text-align: center;}
}

#reference{text-align: center;}
#reference .reference{position: relative;float: left;width: 25%;text-align: center;font-size: 0;vertical-align: top;cursor: pointer;}
#reference div.img{width: 100%;overflow: hidden;padding-top: 74%;}
#reference div.img img{position: absolute;top: 50%;left: 50%;max-width: 100%;transform: translate(-50%, -50%);transition: all 0.9s;}
#reference div.text{display: table;opacity:0;position: absolute;left: 0;top: 0;width: 100%;height: 100%;text-align: center;padding: 20px;box-sizing: border-box;background-color: rgba(254,204,0,0.8);}
#reference div.text p{text-align: left;}
#reference h3{display: table-cell;vertical-align: middle;position: relative;line-height: 150%;font-size: 20px;font-weight: 900;text-transform: uppercase;color: white;text-align: center;}
#reference .reference:hover div.text{opacity: 1;}
#reference a:hover{text-decoration: none;}

@media only screen and ( max-width: 1200px ){
    #reference .reference{width: 33.333333%;}
}

@media only screen and ( max-width: 900px ){
    #reference .reference{width: 50%;}
}

@media only screen and ( max-width: 600px ){
    #reference .reference{width: 100%;}
}

#personal{text-align: center;display: flex;flex-flow: row wrap;justify-content: center;}
#personal .personal{position: relative;display: inline-block;width: 250px;text-align: center;font-size: 0;margin: 20px;vertical-align: top;}
#personal .personal:hover .img .overlay{
  animation: rotateDiv 1s linear 1;

}
#personal .full{position: absolute;top: 0;left: 0;width: 100%;height: 100%;z-index: 98;}
#personal .img{position: relative;display: inline-block;z-index: 2;text-align: center;width: 100%;margin-bottom: 50px; aspect-ratio:1/1;overflow: hidden;box-sizing: border-box;transition: transform 0.5s ease-in-out;}
#personal .overlay {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: transparent url('../img/odkaz_bg.png') center center no-repeat;z-index: 2;}

#personal .img img{max-width: 100%;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 90%;height: 90%;object-fit: cover;border-radius: 50%;}

#personal h2{color:#f4beac;font-size: 35px;font-weight: 400;margin-bottom: 20px;text-align: center;}
#personal h5{font-size: 15px;font-weight: 600;color: #f4beac;text-transform: uppercase;text-align: center;}
#personal div.perex{margin-bottom: 10px;}

@keyframes rotateDiv {
  0% {    
    transform: rotate(0deg);

  }
  100% {
    transform: rotate(360deg);
  }
}

/*Menu*/
#menu {float: right;text-align: right;position: relative;z-index: 99;padding-top: 65px;}

#menu b.openbtn{border-bottom: 14px double #956051;border-top: 5px solid #956051;content:"";height: 4px;width:30px;cursor: pointer;display: none;}
#menu b.closebtn{font-family: arial;position: absolute;top: 5px;left: 5px;font-size: 36px;line-height: 25px; color: white; cursor: pointer;display: none; margin-bottom: 0;}
#menu b.closebtn:hover{color: #f4beac;}
div.nav_bg{display: block;}

#menu ul{list-style:none;margin: 0;padding: 0;line-height: 100%;}
#menu ul li{position: relative;display:inline-block; text-align: center;transition: all 300ms ease 0s;margin: 0;padding: 0;line-height: 100%;}
#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: 11px;font-weight:500;letter-spacing: 2px;margin: 0;padding: 0 15px;text-decoration: none;text-transform: uppercase;transition: 0.5s;}
#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;background: linear-gradient(to right, #956051, #f4beac, #956051);background-size: 140%;-webkit-background-clip: text;-webkit-text-fill-color: transparent;}
#menu ul li.unmark a:hover,#menu ul li.unmark p:hover{text-decoration: none;background: linear-gradient(to right, #956051, #f4beac, #956051);background-size: 140%;-webkit-background-clip: text;-webkit-text-fill-color: transparent;}
#menu ul li.mark a,#menu ul li.mark p{text-decoration: none;background: linear-gradient(to right, #956051, #f4beac, #956051);-webkit-background-clip: text;-webkit-text-fill-color: transparent;}

#menu li ul{list-style:none; position: absolute;visibility: hidden;overflow: hidden;padding-top: 20px;padding-bottom: 20px;max-height:0px;top:50px;left:50%;transform: translateX(-50%);background-color:rgba(40,40,40,0.8);width: 250px;transition: all 0.5s ease-in-out;}

#menu li:hover ul{max-height: 450px;visibility: visible;}
#menu li ul li{text-align: center;margin: 0px;padding: 0;display: block;vertical-align: top;}
#menu li ul li a{color:white;display: inline-block;padding: 10px;font-size: 16px;font-weight: 600;letter-spacing: 0.3px;text-transform: uppercase;}
#menu li.mark ul li a:hover{color: #f4beac;}
#menu li.unmark ul li a:hover{color: #f4beac;}
#menu li.unmark ul li a{color: white;}
#menu li.mark ul li a{color: white;}

@media only screen and ( max-width: 1200px ){
    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-right: 0;text-align: center;padding-top:50px;}
    #menu ul{float: none;display: block;}
    #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;padding-right: 0;padding-left: 0;}
    #menu ul li a,#menu ul li p{color:white;padding: 10px;border: none;font-size: 13px;font-weight: 700;letter-spacing: 0.3px;margin: 0;}        
    #menu ul li.mark a:hover{color:#f4beac;text-decoration: none;}
    #menu ul li.mark p:hover{color:#f4beac;text-decoration: none;}
    #menu ul li.unmark a:hover{color:#f4beac;text-decoration: none;}
    #menu ul li.unmark p:hover{color:#f4beac;text-decoration: none;}
    #menu ul li.mark a,#menu ul li.mark p{color:#f4beac;text-decoration: 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;letter-spacing: 0.3px;}
    #menu ul li.unmark ul li a:hover{color:#f4beac;text-decoration: none;}
    #menu ul li.unmark ul li p:hover{color:#f4beac;text-decoration: none;}    
    #menu .nav{height: 100%;width: 200px;position: fixed;z-index: 1;top: 0;right: -200px;background-color: rgba(0,0,0,0.8);overflow-x: hidden;padding-top: 60px;transition: 0.5s;}    
}

/*Podskupiny*/
#panelAktivity{position: relative;text-align: center;}
#panelAktivity div.licha{display: flex;justify-content: center;align-items: center;text-align: left;position: relative;width: 100%;z-index: 78;overflow: hidden;}
#panelAktivity div.suda{display: flex;justify-content: center;align-items: center;text-align: left;position: relative;width: 100%;z-index: 79;overflow: hidden;}
#panelAktivity div.licha div.img{position: relative;overflow: hidden;width: 500px;order: 2;font-size: 0;text-align: left;padding: 50px 0;}
#panelAktivity div.licha div.img .overlay {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: transparent url('../img/aktivity_bg2.png') center center no-repeat;background-size: cover; z-index: 2;}
#panelAktivity div.suda div.img{position: relative;overflow: hidden;width: 500px;order: 1;font-size: 0;text-align: right;padding: 50px 0;}
#panelAktivity div.suda div.img .overlay {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: transparent url('../img/aktivity_bg.png') center center no-repeat; background-size: cover; z-index: 2;}
#panelAktivity div.licha img{position: relative; right: -2px; top: 0px; max-width: 89%;transition: all 0.9s;border-radius: 50%;}
#panelAktivity div.suda img{position: relative; left: 0px; top: 2px; max-width: 90%;transition: all 0.9s;border-radius: 50%;}
#panelAktivity video{max-width: 80%;transition: all 0.9s;}
#panelAktivity div.text{overflow: hidden;box-sizing: border-box;box-sizing: border-box;padding: 50px;}
#panelAktivity div.nadpis{text-align: center;}
#panelAktivity div.licha div.text{flex: 2;order: 1;}
#panelAktivity div.suda div.text{flex: 2;order: 2;}

@media only screen and ( max-width: 1000px ){    
    #panelAktivity div.licha{flex-direction: column-reverse;padding: 0;}
    #panelAktivity div.suda{flex-direction: column;padding: 0;}    
    #panelAktivity div.text{text-align: center;padding: 50px;}
    #panelAktivity h2{display: inline-block;}
}

@media only screen and ( max-width: 500px ){
    #panelAktivity div.licha div.img{width: 100%; padding: 0; aspect-ratio: 1/1;}
    #panelAktivity div.suda div.img{width: 100%; padding: 0; aspect-ratio: 1/1;}
    #panelAktivity div.licha img{position: relative; left: 2px; top: 20px; max-width: 89%;transition: all 0.9s;border-radius: 50%;}
    #panelAktivity div.suda img{position: relative; left: 0px; top: 20px; max-width: 89%;transition: all 0.9s;border-radius: 50%;}
    #panelAktivity div.text{text-align: center;padding: 50px 0;}    
}

/* 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{text-align: center;}
#slider div.fotky{position: relative;width: 280px;margin: 5px;display: inline-block;}
#slider div.fotky img{max-width: 100%;}
#slider a.del{position:absolute;top: 3px; left:21px;background: transparent url('../img/kos_foto.png') no-repeat; width:15px; height:15px; border: none;}
#slider 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{text-align: left;}
#sprava label{float: left; width: 160px; padding: 5px; font-size: 15px;font-weight: 400;color: white;box-sizing: border-box;}
#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;}

#sprava .ck-content h1, #sprava .ck-content h2, #sprava .ck-content h3, #sprava .ck-content h4, #sprava .ck-content h5, #sprava .ck-content h6 {color: #505050;}
#sprava .ck-content p, #sprava .ck-content li{color: #505050;}

#sprava input.button_small{
    width: auto;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;    
}

#sprava_top{float: left;text-align: left;z-index: 100;background-color: #f4beac;padding: 5px;}
#sprava_top a{font-size: 15px;font-weight: 600;color: #434343;padding-right: 5px;border-right: 1px solid white;}
#sprava_top a:last-child{padding-right: 0px;margin-right: 0px;border-right: none;}

/*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-color:white;}
.loader span{width: 100%;height: 100%;-webkit-animation-duration: 2s;animation-duration: 2s;-webkit-animation-name: rotation;animation-name: rotation;position: fixed;left: 0px;top: 0px;z-index: 9999;background: transparent url('../img/page-loader.png') 50% 50% no-repeat;}

/*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(0,0,0,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: white;overflow: hidden;text-align: center;padding: 50px;position: relative;z-index: 999;top:50%;transform: translateY(-50%);max-width: 1200px;
    box-sizing: border-box;border-radius: 10px;-webkit-border-radius: 20px;-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;}
}

@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;
    }
}

/* FORMULAR */
#formular{max-width: 800px; text-align: left;background-color: rgba(45,146,175,0.8);padding: 50px 100px;box-sizing: border-box;}
#formular form{}
#formular fieldset{padding: 50px;}
#formular h3{text-align: left;display: inline-block;color:white;padding: 0 20px 20px 20px;font-size: 20px;font-weight: 900;text-transform: uppercase;}
#formular p{color:white;font-size: 16px;font-weight: 400;}
#formular p.small{color:white;font-size: 13px;font-weight: 600;}
#formular fieldset{border:none;padding: 20px 50px;}
#formular label{font-size: 12px;font-weight: 900;color: white;text-transform: uppercase;}
#formular input{width: 100%;font-size: 14px;font-weight: 600;color: white;background:none;border: none;border-radius: 0;border-bottom: 1px solid white;padding: 5px;box-sizing: border-box;margin-bottom: 7px;}
#formular textarea{width: 100%;font-size: 14px;font-weight: 600;color: white;background:none;border: none;border-radius: 0;border-bottom: 1px solid white;padding: 5px;box-sizing: border-box;margin-bottom: 7px;}
#formular input[type=submit]{cursor: pointer;text-align: right;font-size: 14px;font-weight: 900;background: none;border: none;color: white;margin-bottom: 0px;text-transform: uppercase;}
#formular input[type=submit]:hover{color: white;}

#formular input::placeholder {font-size: 14px;font-weight: 600;color:white;opacity: 0.8;}
#formular textarea::placeholder {font-size: 14px;font-weight: 600;color:white;opacity: 0.8;}

@media only screen and ( max-width: 1000px ){
    #formular label{float: none;}
}

@media only screen and ( max-width: 450px ){
    #formular{padding: 20px;}
}

@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;}


/*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;position: relative;z-index: 999;top:50%;transform: translateY(-50%);max-width: 1200px;
    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;}
div.popup_content h3{float: none!important;text-align: center!important;}
div.popup_content p{color: #66cc33; font-size: 30px;}

@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:180px;}
#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*/


/*cookies*/
.cookies_trigger{cursor: pointer;position: fixed;bottom: 0;left: 0;z-index: 99;height: 50px;width: 50px;background: #f4beac 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:#f4beac;
    padding:20px;
    z-index:1000;
    box-sizing: border-box;    
}

#cookies_extend{display: none;}

#cookies_popup_consent h1{
    color: #333333;
    font-size:1.2em;
    font-weight: 500;
    text-transform: uppercase;
}
#cookies_popup_consent h1:before{
    content:"";
    padding:0;
}

#cookies_popup_consent a{
    color: #333333;
    text-decoration: underline;
}

#cookies_popup_consent p{
    font-size:12px;
    color: #333333;
}

#cookies_popup_consent span.nadpis{    
    font-size:0.8em;
    font-weight: 600;
    color: #333333;    
}

#cookies_popup_consent form{
    /*text-align: center;*/
}

#cookies_popup_consent button[type="submit"] {
    float: right;cursor: pointer;border: none;background-color: white;color: #333333;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: #333333;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: #333333;
}

.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: #333333;
    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;
}