html {
  scroll-behavior: smooth;
}

body{
    display: block;
    margin:0;
    background: #eee;  
    font-family: 'Satoshi-Variable';
    src: url('fonts/Satoshi-Variable.woff2') format('woff2'),
       url('fonts/Satoshi-Variable.woff') format('woff'),
       url('fonts/Satoshi-Variable.ttf') format('truetype');
       font-style: normal;
       
}

.hidden {
    display: none;
}

a:link {
  text-decoration: none;
  color:#2062AB;
}

a:visited {
  text-decoration: none;
  color:#2062AB;
}

a:hover {
  text-decoration: none;
  color:#4872B7;
}

a:active {
  text-decoration: none;
  color:#4872B7;
}

.error-msg{
    color:#ec6358;
}

@font-face {
  font-family: 'Satoshi-Variable';
  src: url('fonts/Satoshi-Variable.woff2') format('woff2'),
       url('fonts/Satoshi-Variable.woff') format('woff'),
       url('fonts/Satoshi-Variable.ttf') format('truetype');
}

header{ 
    z-index: 1000;
    background-color: rgba(137,171,218, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    height: 4em;
    width: 100%;
    padding: 0.5em 0;
    -webkit-box-align: center;
    align-items: center;
    display: inline-grid;
} 

title{
    display: block;
    font-weight: bold;
}

th {
    background-color: #ddd;
}

.header-container {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.header-left {
    float: left;
    text-align: left;
    margin-left:2em;
    z-index: 500;
}
.header-main {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 100;
}
.header-main .icon{
    display: none;
}
.header-main a{
    padding: 5px;
}
.header-right {
    float: right;
    text-align: center;
    margin-right:2em;
    z-index: 500;
}

.header-burger {
    text-align: center;
    display: none;
}

.header-right-in {

}

.title{
    display: block;
    -webkit-box-flex: 1;
    flex: 1 1 auto;
    padding: 0 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.2em;
/*    width: 70%;*/
    text-align: left;
}

h1, h2 {
    text-align:center;
}

button {
    padding: 10px 30px;
    background: #89ABDA;
    color: #2062AB;
    font-family: 'Satoshi-Variable';
    font-weight: bold;
    font-size:1.2em;
    border: 0 none;
    cursor: pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

button:disabled {
    background:#fceee3; 
    color: #95CDEA;
}

.surv-button {
    padding: 10px 30px;
    background: #89ABDA;
    color: #2062AB;
    font-family: 'Satoshi-Variable';
    font-weight: bold;
    font-size:1.2em;
    border: 0 none;
    cursor: pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.container{
    padding: 9px;
}

#frm{  
    border: solid gray 1px;  
    width:25%;  
    border-radius: 2px;  
    margin: 120px auto;  
    background: white;  
    padding: 50px;  
}  
#btn{  
    color: #fff;  
    background: #337ab7;  
    padding: 7px;  
    margin-left: 70%;  
}  
.main-container{
    position:relative;
}
.main-container:before{
    content:"";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background-image: url("img/Graphic_boy.jpg");
    opacity: 0.1;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.sec-container{
    position: relative; 
    z-index: 2;
}

.section {
    padding: 90px 90px 0 90px;
}
    

.wrapper{
    width: 360px;
    padding: 20px;
}
.center {
    margin: auto;
    width: 60%;
    border: 5px solid #ddd;
    padding: 10px;
    text-align:center;
}
.center-surv {
    
    border: none;
    width: 95%;
    margin-top:15vh;
}

.grid1-1{
    overflow: hidden;
    margin-top: 2em;
}

.img-left{
    float:left;
    width:35%;
}
.img-right{
    float:right;
    width:35%;
}
.txt-to-left{
    overflow: hidden;
}
.txt-to-right{
    overflow: hidden;
    text-align: right;
}
.txt-to-center{
    overflow: hidden;
    text-align: center;
}

.calendar {
    padding: 10px;
    display:inline;
    text-align: center;
}


.clearBoth {
    clear:both;
}

.survey{
    font-size:1.5em;
}

.img_index_center{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    margin-top:10px;
    margin-bottom:10px;
} 

.radio-button input[type="radio"] {
    display: none;
}  
.radio-button label {
    display: inline-block;
    background-color: #d1d1d1;
    padding: 4px 11px;
    font-family: Arial;
    font-size: 18px;
    cursor: pointer;
    width: 5%;
    margin: 1px;
}      

.radio-button label.wideButton {
    display: table-cell;
}

.radio-button input[type="radio"]:checked+label {
    background-color: #F2BCB8;
}

input[type=submit] {
    padding:5px 15px; 
    background:#89ABDA; 
    color: #2062AB;
    font-family:'Satoshi-Variable';
    font-weight: bold;
    font-size:1.1em;
    border:0 none;
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px; 
}

input[type=submit]:disabled {
    background:#fceee3; 
    color: #95CDEA;
}

.font-size{
    height: 1em;
    width: 1em;
}

.font1-2{
    font-size:1.2em;
}

.footer{
    text-align:center;
    background-color: rgba(137,171,218, 0.5);
}
#kontakt p {
    width:50%;
    margin:auto;
}

.center-table{
    margin:auto;
    display:block;
}

.table-row{
    display:block;
}

.table-cell{
    display:inline-block;
    margin: 0.1em;
}
.to-right{
    text-align:right;
    padding:0.2em;
    width:40%;
}

.to-left{
    text-align:left;
    padding:0.2em;
    width:40%;
}

.report-line:hover {
    background-color:#fff;
}

.sticky-table {
    border-collapse: collapse;
    width: 100%;
}

.sticky-table thead th {
    position: sticky;
    top: 0;
    background-color: #DDDDDD;
    z-index: 2;
    box-shadow: 0 2px 2px -1px rgba(0,0,0,0.4);
}

.wrapper {
    overflow-x: auto;
    max-height: 80vh;
}

.face-img{
    width: auto;
    max-height: 70vh;
    margin:auto;
}

.hidden-escape{
    margin-top:100vh;
}

.popup {
    top: 0;
    position: fixed;
    margin-top: 25%;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 1001;
    padding: 10px;
    width: 350px;
    text-align: center;
    display: inline;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    box-shadow: 0 5px 90px #888;
    -moz-box-shadow: 0 5px 90px #888;
    -webkit-box-shadow: 0 5px 90px #888;
    
     animation:popup_fading 1s 1;
    -webkit-animation:popup_fading 1s 1;
    animation-fill-mode: forwards;

    animation-delay:3s;
    -webkit-animation-delay:3s; /* Safari and Chrome */
    -webkit-animation-fill-mode: forwards;
}

@keyframes popup_fading{
    from {opacity :1;}
    to {opacity :0;}
}

@-webkit-keyframes popup_fading{
    from {opacity :1;}
    to {opacity :0;}
}

figcaption{
    text-align: center;
}

@media screen and (max-width: 1250px) {
    .radio-button label {
        width: 5%;
    }
}

@media screen and (max-width: 800px) {
    header .header-main {
        width: auto;
        position: inherit;
    }
    header .header-main-menu a {display: none;}
        /*header .header-burger{
        float: right;
        display: block;
    }*/
}

@media screen and (max-width: 800px) {
    header .responsive {position: relative;}
    header .responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    header .responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .section {
        padding: 5%;
    }
    .center {
        margin: auto;
        width: 95%;
        padding: 2em 0;
    }
    .img_index_center{
        width: 90%;
    } 
    .to-right{
        width:auto;
    }
    .to-left{
        width:auto;
    }
    #kontakt p {
    width:95%;
    }
    .radio-button label {
        width: 10%;
    }
    
}

@media screen and (max-width: 400px) {
    .to-right{
        width:100%;
        padding:1em 0 0 0;
        text-align:center;
    }
    .to-left{
        width:100%;
        padding:0 0 1em 0;
        text-align:center;
    }
    .radio-button label {
        width: 5%;
    }
}