:root {
    --sirka-stranky: 1100px; /* Nastaví proměnnou pro šířku stránky */
    --barva-btn: #ED7038;
    --barva-btn-hover: #CA6D40;
}



* {
    /*box-sizing: border-box;*/
    font-family: "Helvetica";
    color: black;
}


a, a:link, a:visited, a:active{
    color: var(--barva-btn);
}

a:hover{
    color: var(--barva-btn-hover)
}

body{
    background-color:white;
    font-size: 16px;
    -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: var(--sirka-stranky);
    box-sizing: border-box;
}

div.header-clean{
    width:100%;
    height:85px;
}

.header-text{
    color: var(--barva-btn);
    /*position: absolute;*/
    bottom: 10px;
    font-size: 25px;
    font-weight: bold;
}

.nabidka_skoleni{
    color: black;
    /*position: absolute;*/
    bottom: 10px;
    font-size: 19px;
    font-weight: bold;
}

.header-logo{
    width: auto;
    height: 35px;
    float: right;
}


h1{
    color: var(--barva-btn);
    font-size: 26px;
}


h2{
    color: var(--barva-btn);
    font-size: 22px;
}


.title{
    color: var(--barva-btn);
    font-size: 22px;
    display: inline-block;
    margin-bottom: 10px;
}


div.master{
    margin: auto;
    width:100%;
    max-width: var(--sirka-stranky);
}

div.hlavni_stranka_text{
    width: 100%;
    box-sizing: border-box;
    display: inline-block;
}

.hlavni_stranka_youtube{
    float:left;
    box-sizing: border-box;
    display: block;
    width: 500px;
    height: 300px;
    margin-right: 50px;
    margin-bottom: 10px;
}

div.hr{
    border-top: 4px solid black;
    width:100%;
    margin-top: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
    display: block;
}


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; 
}

div.rezervace-video img{
    width: 500px;
    height: 300px;
    object-fit: cover;
}

div.rezervace-text{
    width: 550px;
    height: 245px;
    float: right;
    margin-bottom: 20px;
}

div.rezervace-buttons{
    width: 150px;
    float: right; 
}

.editor {
    width: 100%px;
    max-width:var(--sirka-stranky);
    height: 600px;
    display: inline-block;
}
.tox-toolbar{
    color: black;
}


input[type=submit], .button{
    background-color: var(--barva-btn);
    border: none;
    color: white !important;
    padding: 7px 24px;
    text-align: center;
    text-decoration: none !important;
    font-weight: bold;
    display: inline-block;
    font-size: 16px;
    cursor:pointer;
    margin-top: 4px;
    margin-right: 4px;
}

input[type=submit]:hover, .button:hover{
    background-color: var(--barva-btn-hover)
}


.button_ares{
    background-color: var(--barva-btn);
    border: none;
    color: white !important;
    padding: 7px 4px;
    text-align: center;
    text-decoration: none !important;
    font-weight: bold;
    display: inline-block;
    font-size: 12px;
    cursor:pointer;
    margin-top: 4px;
    display: inline-block;
}

.button_ares:hover{
    background-color: var(--barva-btn-hover)
}


.closebutton{
    background-color: rgb(80, 80, 80) !important;
}

.closebutton:hover{
    background-color: rgb(118, 117, 117) !important;
}

.checkbox-rules{
    width: 25px;
    height: 25px;
}


.login-form{
    margin: 0 auto;
    display: block;
    text-align: center;
}


.footer{
    width:100%;
    font-size: 10px !important;
    text-align:center;
}


input[type=text], input[type=number], input[type=email], input[type=password], input[type=file], select, textarea {
    width:100%;
    max-width:250px;
    font-size: 16px;
    padding: 5px 5px;
    border: 1px solid black;
    box-sizing: border-box;
}

input[required=required], select[required=required], textarea[required=required]{
    border-color: red !important;
}


textarea{
    width:90%;
    max-width:400px;
    height: 100px;
    font-size: 16px;
    padding:5px;
}

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.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(--barva-btn);
}



.cookiebarbutton{
    border: 1px solid white;
    cursor:pointer;
    border-radius: 5px;
    padding:2px !important;
}

div.cookiebarcontent{
    vertical-align: middle;
    color: white;
}


label{
    font-size: 10px;
}


img.imgTool{
    height:20px;
    width: auto;
}



.menuIcon{
    display:none;
}


img.training_form_training_image_mini{
    height: 40px;
    width:40px;
    object-fit: cover;
}




/* 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;
   
    }
    div.rezervace-video img{
        width: 100%;
        height: 220px;
    }

    .hlavni_stranka_youtube{
        width: 100%;
        height: 220px;
    }

    div.rezervace-text{
        width: 100%;
        height: auto;
  
    }
    
    input[type=submit], .button{
        padding: 15px 32px;
    }

    img.imgTool{
        height:25px;
        width: auto;
    }

}

/* mobily */
@media screen and (max-width: 600px) {


    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;
    }

    .menuIcon{
        display: block;
        height: 40px;
        width: auto;
        cursor: pointer;
        float:right;
    }

    .menu{
        display:none;
    }

}