﻿html,*{
    box-sizing: border-box;
}
*,*:before, *:after{
    box-sizing: inherit;
}
body {
   color: black;
   -webkit-font-smoothing:antialiased;
   font-family:sans-serif;
   padding: 0;
   margin: 0;
   background: rgb(245, 245, 245);
}
h1{
    color: rgb(30, 30, 30);
    font-size: 1.45em;
}
h2{
    color: rgb(30, 30, 30);
    font-size: 1.15em;
}
h3{
    color: #3889C7;
    font-size: 0.95em;
    padding-top: 0;
    margin-top: 6px;
    margin-bottom: 4px;
}
h4{
    color: rgb(245,245,245);
    font-size: 0.85em;
    padding-top: 0;
    margin-top: 6px;
    margin-bottom: 4px;
}
h5{
    color: rgb(30, 80, 72);
    font-size: 0.75em;
    padding-top: 1px;
    padding-bottom: 1px;
    margin-bottom: 2px;
    margin-top: 2px;
}
/*Clear fix*/
.container:before,
.container:after,
.menu:before,
.Menu:after,
.group:before,
.group:after {
    content: " ";
    display: table;
}

.Menu:after,
.container:after,
.group:after {
    clear: both;
}
.menu,
.container,
.group {
    *zoom: 1;
}
a{
    text-decoration:none;
}
li{list-style: none;}
/*Layout*/
h1{
    text-align: center;
    font-weight: 800;
}

footer{
    text-align: center;
    color: rgb(245, 245, 245);
    background: rgb(30, 80, 72);
    vertical-align: middle;
    padding-right: 1.8em;
    padding-bottom: 0.1em;
    margin-bottom: 0;
    margin-top: 0.4em;
}
    main{
        max-width: 1000px;
        margin: auto;
        padding: 0.5em;
    }
    .container{
        max-width: 1000px;
        margin:auto;
    }
    section{
        margin: 0 1%;
    }
    .head{
        padding: 0.5em;
        padding-top: 1em;
    }
    .main-header{
        background: rgb(56, 137, 199);
        padding-bottom: 1em;
    }
    .log{
        float:right;
        margin-top: 5px;
    }
    .logx{
        float:right;
        margin-top: 9px;
    }
    .logo{
        font-family: Helvetica, Sans-Serif;
        font-size: 1.25em;
        color: rgb(245, 245, 245);
        float:left;
        padding:0;
    }
    .logo:hover{
        color: rgb(30,30,30);
    }
    
    .btn-a{
        font-size: 16px;
        padding:3px 3px;
        color: rgb(30, 30, 30);
        cursor: pointer;
        font-weight: 500;
        transition: all 200ms;
        border-radius: 0.5em;
        border: 1px #D7DCE1 solid;
        background: #D7DCE1;
        text-align: center;
        /*margin-right: 0.5%;*/
        /*margin-top: 20px;*/
        /*margin-bottom: 20px;*/
    }
    .btn-a:hover{
        background: #AAB0B5;
        color: rgb(30, 30, 30);
    }
    .pages{
        padding-top: 1.2em;
        padding: 0.5em;
    }
    .btn-b:nth-child(4n){
        margin-right: 0;
    }
    .obsah{
        width: 100%;
        color:rgb(184, 184, 184);
    }

.btn-m{
    font-size: 0.75em;
    position: relative;
    float: left;
    width: max-content;
    text-align: center;
    border-radius: 0.5em;
    padding: 3px 3px;
    margin-right: 0.75%;
    margin-top: 0.5%;
    color: rgb(245, 245, 245);
    transition: all 200ms;
    border: 1px rgb(245, 245, 245) solid;
}
.btn-m:hover{
    background: rgb(245, 245, 245);
    color: rgb(30, 30, 30);
}
.container-m {
    display: grid;
    grid-template-columns: repeat(auto-fit, 1fr);
    gap: 0px;
    grid-auto-rows: minmax(65px, auto);
    padding-top: 0em;
    margin-top: 0px
}
.btn-os{
    font-size: 0.85em;
    position: relative;
    float: left;
    width: max-content;
    text-align: center;
    border-radius: 0.25em;
    padding: 5px 5px;
    margin-right: 0.5%;
    margin-top: 0.5%;
    color: rgb(30, 30, 30);
    transition: all 200ms;
    border: 1px #D7DCE1 solid;
    background: #D7DCE1;
}
.btn-os:hover{
    background: #AAB0B5;
    color: rgb(30, 30, 30);
}

.container-x {
    display: grid;
    grid-template-columns:  1fr 1fr ;
    justify-items: center;
    gap: 0px;
    grid-auto-rows: minmax(50px, auto);
    padding-top: 0em;
    margin-top: 0px
}

div.center {
    text-align: center;
}

a.dowlink {
    font-size: 0.65em;
    position: center;
    text-align: center;
    width: max-content;
    border-radius: 0.25em;
    padding: 1px 1px;
    margin-right: 0.5%;
    margin-top: 0.5%;
    color: rgb(30, 30, 30);
    transition: all 200ms;
    border: 1px #D7DCE1 solid;
    background: #D7DCE1;
}

a.odkaz_1 {
    font-size: 0.85em;
    position: center;
    width: max-content;
    text-align: center;
    border-radius: 0.25em;
    padding: 3px 3px;
    margin-right: 0.5%;
    margin-top: 10px;
    margin-bottom: 10px;
    color: rgb(30, 30, 30);
    transition: all 200ms;
    border: 1px #D7DCE1 solid;
    background: #D7DCE1;
}

a.footer_1 {
    font-size: 0.85em;
    position: center;
    width: max-content;
    text-align: center;
    padding: 3px 3px;
    margin-right: 0.5%;
    margin-top: 10px;
    margin-bottom: 10px;
    color: rgb(245, 245, 245);
    transition: all 200ms;
}

.container-footer {
    display: grid;
    grid-template-columns:  1fr 1fr;
    justify-items: center;
    gap: 0px;
    grid-auto-rows: minmax(50px, auto);
    padding-top: 0em;
    margin-top: 0px;
}

.input_zadan {
    width: 165px;
    height: 25px;
    border: 1px solid #3889C7;
    border-radius: 4px;
    margin-top: 3px;
    margin-bottom: 3px;
}

.input_vysled {
    width: 165px;
    height: 25px;
    border: 1px solid #3889C7;
    border-radius: 4px;
    margin-top: 3px;
    margin-bottom: 3px;
    background: #D7DCE1;
}

.tlacitko_1 {
    width: 165px;
    height: 25px;
    border: 1px solid #3889C7;
    border-radius: 4px;
    margin-top: 3px;
    margin-bottom: 3px;
    background: #D7DCE1;
    text-wrap: revert;
}

select{
    border-radius:3px;
    text-align:center;
    border:#000 solid 2px;
    cursor:pointer;
    width: 300px;
}


.btn-lss{
    font-size: 30px;
    padding:3px 10px;
    color: rgb(30, 30, 30);
    cursor: pointer;
    font-weight: 500;
    transition: all 200ms;
    border-radius: 0.5em;
    border: 1px #D7DCE1 solid;
    background: #D7DCE1;
    text-align: center;
    display:none;
}
@media screen and (max-width: 600px) {
    .btn-a{
        display:none;
    }
    .btn-lss{
        display: inline;
            }
}

.formdeg{
    place-items: center;
    align-content: center;
    max-width: 35em;
    padding: 1em;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.formSubmit{
    border: none;
    border-radius: 5px;
    padding: 10px 10px;
    color: rgb(245,245,245);
    text-decoration: none;
    text-transform: uppercase;
    background-color: rgb(56, 137, 199);
    font-size: .875rem;
    font-weight: 400;
    vertical-align: middle;
}
.formSubmit:hover
{
    color: rgb(245,245,245);
    background-color: #8c66b6;
}

.formInput{
    appearance: none;
    background-color: rgb(245,245,245);
    width: 100%;
    border-radius: .25rem;
    margin-bottom: .25rem;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    display: block;
    border-width: 1px;
    border-color:  rgb(192 192 192);
    border-style: solid;
}
.formInputRo{
    appearance: none;
    background-color: rgb(205,205,205);
    width: 100%;
    border-radius: .25rem;
    margin-bottom: .25rem;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    display: block;
    border-width: 1px;
    border-color:  rgb(192 192 192);
    border-style: solid;
}
.formInput:focus{
    outline-color : rgb(56, 137, 199)!important;
}

.formInvalid{
    color: red;
    text-align: left;
}

.formOdkaz{
    font-size: .875rem;
    line-height: 1.25rem;
    --tw-text-opacity: 1;
    color: rgba(2,132,199,var(--tw-text-opacity));
    padding:3px 3px;
    cursor: pointer;
    text-align: center;
    float: right;
}

.formOdkaz:hover{
    color: rgb(30, 80, 72);
    text-decoration: underline;
}

.form-group {
    /*display: grid;*/
    /*place-items: center;*/
    /*align-content: center;*/
}

.formsearch{
    place-items: center;
    align-content: center;
    max-width: 35em;
    padding: 1em;
    margin-left: auto;
    margin-right: auto;
    display: grid;
}

.formOdkazText{
    font-size: 1.15em;
    line-height: 1.25rem;
    --tw-text-opacity: 1;
    color: rgba(2,132,199,var(--tw-text-opacity));
    cursor: pointer;
    text-align: center;
}
.formOdkazText:hover{
    color: rgb(30, 80, 72);
    text-decoration: underline;
}

.formOdkazCentr{
    font-size: .875rem;
    line-height: 1.25rem;
    --tw-text-opacity: 1;
    color: rgba(2,132,199,var(--tw-text-opacity));
    padding:3px 3px;
    cursor: pointer;
    text-align: center;
}
.formOdkazCentr:hover{
    color: rgb(30, 80, 72);
    text-decoration: underline;
}

input[type='checkbox'] {
    position: relative;
    cursor: pointer;
    margin: 6px;
}
input[type='checkbox']:before {
    content: '';
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    background-color: rgba(2,132,199);
    outline: 1px rgba(30, 80, 72, 0.2) solid;
    transform: translate(-50%, -50%);
}
input[type='checkbox']:checked:before {
    content: '';
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    background-color: rgba(2,132,199);
    outline: 1px rgba(255, 255, 255, 0.2) solid;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 4px 1px #fff;
}
input[type='checkbox']:checked:after {
    content: '';
    display: block;
    width: 6px;
    height: 10px;
    border: solid;
    border-width: 0 2px 2px 0;
    border-color: black;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

table.paleBlueRows {
    font-family: "Times New Roman", Times, serif;
    border: 1px solid rgba(2,132,199);
    width: 1000px;
    height: 40px;
    text-align: center;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
}
table.paleBlueRows td, table.paleBlueRows th {
    border: 1px solid rgba(2,132,199);
    padding: 3px 2px;
}
table.paleBlueRows tbody td {
    font-size: 16px;
}
table.paleBlueRows tr:nth-child(even) {
    background: #D0E4F5;
}
table.paleBlueRows thead {
    background: #0B6FA4;
    border-bottom: 5px solid rgba(2,132,199);
}
table.paleBlueRows thead th {
    font-size: 17px;
    font-weight: bold;
    color: #FFFFFF;
    text-align: center;
    border-left: 2px solid rgba(2,132,199);
}
table.paleBlueRows thead th:first-child {
    border-left: none;
    background-color: DodgerBlue
}

#platno{
    float: none;
    width:1000px;
    height:262px;
    -moz-border-radius-topright: 3px;
    border-top-right-radius: 3px;
    -moz-border-radius-bottomright: 3px;
    border-bottom-right-radius: 3px;
    background-color:white;
    background-image:url('../img/pec.png');
    border:3px black solid;
    cursor: default;
}