/* proměnné */
:root{
    --hlavni_barva: #05377B;
    --hlavni_barva_hover: #062b5f;

    /*var(--hlavni_barva)*/
    /*var(--hlavni_barva_hover)*/
  }

  

* {
    /*box-sizing: border-box;*/
    color: black;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
}


a, a:link, a:visited, a:active{
    color: var(--hlavni_barva);
}

a:hover{
    color: var(--hlavni_barva_hover);
}

body{
    background-color:white;
    -webkit-text-size-adjust: none; /* blokuje zmenu velikosti textu v iOS pri zmene z vysky na sirku */
}

div.header{
    width:100%;
    /*height:35px;*/
    position: fixed;
    background-color:white;
    z-index: 999;
    line-height: 5px;
    margin: 0 auto;
    top: 0;
    left: 0;
    right: 0;
    padding: 5px;
    max-width: 1100px;
    box-sizing: border-box;
}

div.header-clean{
    width:100%;
    height:85px;
}

.header-text{
    /*position: absolute;*/
 /* bottom: 10px;*/
  font-size: 16px;
  font-weight: bold;

}

.header-logo{
    width: auto;
    height: 35px;
}

.header-logo2{
    width: auto;
    height: 35px;
    float: right;
}


h1{
    color: var(--hlavni_barva);
    font-size: 26px;
}


h2{
    color: black;
    font-size: 22px;
}


.link{
    position: relative;
    display: flex;
    align-items: center; /* Vertikální zarovnání na střed */
    width: 100%;
    max-width: 600px;
    margin: 5px;
    box-sizing: border-box;
    padding-left: 5px;
    padding-right: 5px;
}

div.mini{
    height: 40px;
}

img.mini{
    position: absolute;
    right: 0;
    height: 40px;
    width: auto;
    cursor: pointer;
    border: 1px solid rgb(226, 226, 226);
    box-sizing: border-box;
    margin-right: 15px;
}

.fileinfo{
    font-size: 10px;
    font-style: italic;
    margin-left: 10px;
}

.hover:hover{
    background-color: beige;
}



img.qr_full{
    display:none;
    position: absolute;
    right: 80px;
    height: 150px;
    width: 150px;
    z-index: 10; /* Zajistí, že popup bude nad ostatními elementy */
    border: 1px solid rgb(226, 226, 226);
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.5); /* Přidá stín */
}

img.qr{
    position: absolute;
    right: 35px;
    height: 20px;
    width: auto;
    cursor: pointer;
    border: 1px solid rgb(226, 226, 226);
    box-sizing: border-box;
    margin-right: 15px;
}

img.qr:hover + img.qr_full{
    display: block;
}


.title{
    color: var(--hlavni_barva);
    font-size: 22px;
    display: inline-block;
    margin-bottom: 10px;
}


div.master{
    margin: auto;
    width:90%;
    max-width: 1100px;
}


div.rezervace{
    width: 100%;
    display: inline-block;
    margin-bottom: 40px;
    border-bottom: 1px solid gray;
    padding-bottom: 20px;     
}


div.rezervace-video{
    width: 500px;
    height: 300px;
    float: left; 
}

img.rezervace-obrazek{
    width: 500px;
    height: 300px; 
    float: left;
    object-fit: cover;
}

div.rezervace-text{
    width: 550px;
    height: 245px;
    float: right;
    margin-bottom: 20px;
}

div.rezervace-buttons{
    width: 150px;
    float: right; 
}




button, input[type=submit], .button{
    background-color: var(--hlavni_barva);
    border: none;
    color: white !important;
    padding: 7px 32px;
    text-align: center;
    text-decoration: none !important;
    font-weight: bold;
    display: inline-block;
    font-size: 16px;
    cursor:pointer;
    margin-top: 4px;
}

button:hover, input[type=submit]:hover, .button:hover{
    background-color: var(--hlavni_barva_hover);
}

.closebutton{
    background-color: silver !important;
}

.closebutton:hover{
    background-color: gray !important;
}

.checkbox-rules{
    width: 25px;
    height: 25px;
}


input[type=checkbox]{
    cursor: pointer;
}


.footer, .footer a{
    width:100%;
    font-size: 10px !important;
    text-align:center;
}


input[type=text], input[type=number], input[type=email], input[type=password], select, .file_div {
    width:100%;
    max-width: 400px;
    font-size: 16px;
    padding: 5px 5px;
    border: 1px solid gray;
}

textarea{
    width:90%;
    max-width:400px;
    height: 100px;
    font-size: 16px;
    padding:5px;
    border: 1px solid gray;
}

th{
    font-weight: bold;
    text-align: left;
    cursor: pointer;
}




table.masterformtable td{
    /*vertical-align:top;*/
    vertical-align:middle;
}


table.masterformtable input[type=radio]{
    height:40px;
    width:40px;
}

table.masterformtable input[type=radio].exkurze{
    height:unset;
    width:unset;
}


table.sortable {
    border-collapse: collapse;
    width:100%;
  }
  table.sortable td {
    border: 1px solid silver;
    vertical-align:top;
  }
  table.sortable tr:first-child td {
    border-top: 0;
  }
  table.sortable tr td:first-child {
    border-left: 0;
  }
  table.sortable tr:last-child td {
    border-bottom: 0;
  }
  table.sortable tr td:last-child {
    border-right: 0;
  }


table.sortable tr:hover {
    background-color: #FFCFB6 !important;
}



.rights{
    background-color: #E0E0E0;
    padding:5px;
}



.footerbuttonsbar {
    text-align:center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.footerbutton{
    background-color:silver;
    border: none;
    color: white !important;
    padding: 7px 32px;
    text-align: center;
    text-decoration: none !important;
    font-weight: none;
    display: inline-block;
    font-size: 16px;
    cursor:pointer;
    margin-top: 4px;
}

.footerbutton:hover{
    background-color:gray;
}



div.cookiebar {
    /*height:35px;*/
	position:fixed;
	bottom:0;
    left:0;
	width:100%;
	text-align:center;
	background-color:var(--hlavni_barva);
    padding: 4px;
}



.cookiebarbutton{
    border: 1px solid white;
    cursor:pointer;
    border-radius: 5px;
    padding: 2px;
}

div.cookiebarcontent{
    vertical-align: middle;
    color: white;
}


label{
    font-size: 14px;
}


img.imgTool:hover, img.imgToolFoto:hover{
    scale:1.1;
    webkit-filter: drop-shadow(3px 3px 3px #222222);
    filter: drop-shadow(3px 3px 3px #222222);
}



img.imgTool{
    height:20px;
    width: auto;
    cursor: pointer;
    display: inline;
    margin-right: 4px;
}


img.imgToolFoto{
    height:20px;
    width: 25px;
    object-fit: cover;
    margin-right: 4px;
}

img.imgToolFoto2{
    height:60px;
    width: 75px;
    object-fit: cover;
    margin-right: 4px;
}


.menuIcon{
    display:none;
}




div.rocko_jazyk{
    float:right
}

.rocko_cislo_sarze{
    float: right;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    padding: 5px;
    margin: 5px;
    border: 1px solid black;
}




/* POPUP */
div.popupdiv{
    display: none;
    width:360px;
    position:fixed;
    top:120px;
    left:50%;
    text-align:center;
    margin-left:-180px;
    z-index:9999;
    background-color: white;
    border: 2px solid rgb(195, 16, 16);
    border-radius: 4px;
    padding: 10px;
    webkit-filter: drop-shadow(3px 3px 3px #222222);
    filter: drop-shadow(3px 3px 3px #222222);
}



/* tablety */
@media screen and (max-width: 1235px) {



    h1{
        font-size: 16px;
    }

    div.master{
        width: 100%;
    }

    div.rezervace{
        border-bottom: 1px solid gray;
        padding-bottom: 20px;   
    }

    div.rezervace-video{
        width: 100%;
        height: 220px;   
    }

    img.rezervace-obrazek{
        width: 100%;
        height: 220px; 
    }

    div.rezervace-text{
        width: 100%;
        height: auto;
  
    }
    
    button, input[type=submit], .button{
        padding: 15px 32px;
    }

    img.imgTool{
        height:25px;
        width: auto;
    }

    img.imgToolFoto{
        height:25px;
        width: 30px;
    }

}

/* mobily */
@media screen and (max-width: 600px) {

    .header-logo{
        height: 29px;
    }
    
    .header-logo2{
        height: 29px;
    }

    h1{
        font-size: 12px;
    }

    h2{
        font-size: 16px;
    }


    .hideOnMobile{
        display:none;
    }

    .sortable{
        word-break:break-all;
        font-size: 10px;
    }

    img.imgTool{
        height:30px;
        width: auto;
        display: block;
    }

    img.imgToolFoto{
        height:30px;
        width: 35px;
        display: block;
    }

    .menuIcon{
        display: block;
        height: 40px;
        width: auto;
        cursor: pointer;
        float:right;
    }

    .menu{
        display:none;
    }

    .rocko_cislo_sarze{
        max-width: none;
    }

    img.qr{
        display: none;
    }
}