/*
 * This file is subject to the terms and conditions defined in
 * file 'LICENSE.txt', which is part of this source code package.
 *//* 
    Created on : 22.11.2018, 03:17:35
    Author     : Oliver
*/

body{
    margin:0px;
    background-color:#eee;
}

body, p, input, select, textarea{
    font-family: 'Yantramanav', sans-serif;
    font-size:11pt;
    color:#666;
}

table{
    border-collapse:collapse;
}

td{
    padding:0.1cm 0cm;
}

h1{
    margin-top:0;
    color:#2c6bb0;
    font-weight: 500;
}

h1 a{
    position:relative;
    top:0.15em;
    text-decoration:none;
    color:#555;
    margin-right:0.2em;
}
h1 a:hover{
    opacity:0.8;
    cursor:pointer;
}
h1 a:active{
    opacity:0.6;
}

h3{
    margin-top:1cm;
}

table{
    table-layout:fixed;
    width:100%;
}

.content table .firstrow{
    font-weight:bold;
    background:transparent;
}

.content table{
    border-collapse:separate; 
    border-spacing: 0 0.5em;
}

.content table tr{
    background-color:#f2f2f4;
}

.content table td:first-child{
    padding-left:0.5em;
}

.content table td:last-child{
    padding-right:0.5em;
}

.content tr[onclick]{
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none;
}

.content tr[onclick]:hover{
    background-color:#eaeaea;
    cursor:pointer;
}

.content tr[onclick]:active{
    background-color:#dfdfdf;
}

ol,ul{
    margin-left:0.4cm;
    padding-left:0cm;
    margin-bottom:1cm;
}

ul ul, ol ul, ul ol, ol ol{
    margin-bottom:0cm;
}

a{
    color:black;
}

input{
    border:none;
}

footer:not(:first-child){
    margin-top:2cm;
    margin-left:0.4cm;
}
form tr td:first-child{
    width:33%;
}
form tr td:last-child{
    width:67%;
}

form[data-disabled="true"]{
    pointer-events:none;
}

form[data-disabled="true"] input,
form[data-disabled="true"] select,
form[data-disabled="true"] textarea,
form[data-disabled="true"] button{
    opacity: 0.7;
}

.content{
    padding:2cm 0cm;
    box-sizing:border-box;
    width:21cm;
    display:block;
    margin-left:auto;
    margin-right:auto;
}

.logo{
    width:8cm;
    height:2.5cm;
    background-image:url('/img/logo/logo_snh_farbe_opaque.png');
    background-size:100%;
    background-repeat:no-repeat;
    box-sizing:border-box;
}
.top{
    position:absolute;
    top:2cm;
}
.right{
    position:absolute;
    right:2cm;
}
.attachnotice{
    margin-top:1cm;
}
.main{
    display:block;
    margin-left:auto;
    margin-right:auto;
    background-color:white;
    padding:5em;
    box-shadow: rgba(0,0,0,0.5) 0px 0px 0.5cm;
}
.content .form{
    max-width:300px;
}
.form .logo{
    position:relative;
    display:block;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:4em;
}
.form form{
    margin-top:2em;
    display:block;
    position:relative;
}
.form input[type="submit"]{
    background-color:#2c6bb0;
    color:white;
    margin-top:1em;
    border-radius:0;
}
.form input{
    padding:0.3em;
    border-bottom:1px solid #ccc;
    box-sizing:border-box;
    display:block;
    -webkit-appearance: none;
}
.form input:hover{
    opacity:0.8;
}
.form input[type="submit"]:hover{
    cursor:pointer;
}
.form input, .form select{
    width:100%;
    max-width:200px;
    color:#555;
}

.form select{
    border:none;
    border-bottom:1px solid #ccc;
    padding:0.3em;
    padding-left:0.1em;
}

.form h1, .search_result{
    margin-top:0em;
    margin-bottom:1em;
}
.form p{
    font-size:0.8em;
}
.form input::disabled{
    filter:grayscale(50%);
    pointer-events:none;
}
.fr-view p:first-child{
    margin-top:0;
}
.search_result{
    margin-top:4em;
}
.document_types{
    margin-top:4em;
}
.document_type{
    display:inline-block;
    width:12em;
    height:18em;
    box-shadow: 0em 0em 0.5em rgba(0,0,0,0.4);
    box-sizing:border-box;
    position:relative;
    background-color:#eee;
    margin-right:2em;
    margin-bottom:2em;
}
.document_type:hover{
    box-shadow: 0em 0em 0.8em rgba(0,0,0,0.3);
    cursor:pointer;
    opacity:0.8;
}
.document_type:active{
    box-shadow: 0em 0em 0.4em rgba(0,0,0,0.6);
}
.document_type .preview{
    display:block;
    height:100%;
    background-size:100%;
    background-repeat:no-repeat;
    background-color:white;
}
.document_type .label{
    font-size:11pt;
    background-color:rgba(36,166,224,0.6);
    position:absolute;
    left:0px;
    bottom:0px;
    width:100%;
    padding:1em;
    box-sizing:border-box;
    color:white;
    font-weight:bold;
}

.message{
    background-color:#EEE;
    padding:1em;
    display:block;
}

.message[data-hidden="true"]{
    display:none;
}
@media screen and (min-width:2000px), screen and (min-device-width:2000px){
    .content{
        max-width:29.7cm;
    }
}

@media screen and (max-width:800px), screen and (max-device-width:800px){
    .content{
        padding:0;
    }
    .main{
        width:100%;
        margin:0;
        padding:2em;
        box-sizing:border-box;
    }
    .content .form{
        max-width:100%;
    }
    .form{
        box-shadow:none;
        max-width:100%;
        width:100%;
    }
}