@font-face {
    font-family: fasfontbold;
    src: url(/static/twr.otf);
}

@font-face {
    font-family: fasfontlight;
    src: url(/static/twl.otf);
}

@font-face {
    font-family: FontAwesome;
    src: url(/static/far.ttf);
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
	background: #EEEEEE;
    background-repeat: repeat;
    padding: 0px;
    margin: 0px;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    font-size: 1em;
    font-family: fasfontlight;
    min-width: 400px;
}

.logoportal {
	background-image: url(/static/portallogo.png);
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: 250px 37.5px;
	height: 37.5px;
	width: 250px;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
    z-index: 999;
}

.selecttype {
	position: absolute;
	width: 100%;
	height: 50%;
	padding: 5px;
    -webkit-appearance: none;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    opacity: 1;
    -webkit-transition: margin 0.5s ease, opacity 0.5s ease;
	-moz-transition: margin 0.5s ease, opacity 0.5s ease;
	-ms-transition: margin 0.5s ease, opacity 0.5s ease;
	-o-transition: margin 0.5s ease, opacity 0.5s ease;
	transition: margin 0.5s ease, opacity 0.5s ease;
	max-width: 500px;
}

.selecttype p {
	font-weight: lighter;
	font-size: 1em;
}

.selecttype h2 {
	font-weight: lighter;
	font-size: 1.2em;
	text-align: center;
	margin-bottom: 2em;
}

.selecttype input[type=text], .selecttype input[type=password] {
	padding: 5px 5px 5px 5px;
    margin: 0px auto;
    width: 100%;
    max-width: 90%;
    border: 0;
    outline: 0;
    border-bottom: 1px solid #A5A5A5;
    box-sizing: border-box;
    margin-top: 5px;
    margin-left: 5%;
    margin-right: 5%;
    font-family: fasfontlight;
    font-size: 1em;
    resize: none;
    background: #fcfcfe;
    border-radius: 0px;
    box-shadow: inset 0 -5px 45px rgba(253,253,254,0.2), 0 1px  1px rgba(255,255,255,0.2);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    -webkit-transition: border 0.4s ease, box-shadow 0.4s ease;
	-moz-transition: border 0.4s ease, box-shadow 0.4s ease;
	-ms-transition: border 0.4s ease, box-shadow 0.4s ease;
	-o-transition: border 0.4s ease, box-shadow 0.4s ease;
	transition: border 0.4s ease, box-shadow 0.4s ease;
	height: 3em;
    line-height: 3em;
    min-height: 3em;
}

.selecttype input[type=number] {
    appearance: textfield;
    -webkit-appearance: textfield;
    height: 2em;
    width: 2em;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    -webkit-transition: border 0.4s ease, box-shadow 0.4s ease;
    -moz-transition: border 0.4s ease, box-shadow 0.4s ease;
    -ms-transition: border 0.4s ease, box-shadow 0.4s ease;
    -o-transition: border 0.4s ease, box-shadow 0.4s ease;
    transition: border 0.4s ease, box-shadow 0.4s ease;
    outline: 0;
    box-sizing: border-box;
    font-family: fasfontlight;
    font-size: 1em;
}

input[type=number]::-webkit-inner-spin-button,
      input[type=number]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
      }

.selecttype input[type=text]:focus, .selecttype input[type=password]:focus, input[type=number]:focus {
    border: 1px solid #E69600;
}

.selecttype button[type=submit] {
	margin-top: 20px;
    background-size: 20px 20px;
    background-position: 5px 50%;
    background-repeat: no-repeat;
    font-family: fasfontlight;
    -webkit-box-shadow: 0px 0px 10px 3px rgb(70 70 70 / 50%);
    -moz-box-shadow: 0px 0px 10px 3px rgba(70,70,70,0.5);
    box-shadow: 0px 0px 10px 3px rgb(70 70 70 / 50%);
    border-radius: 5px;
    border: 2px solid #E69600;
    text-decoration: none;
    cursor: pointer;
    background-color: #E69600;
    color: #e8e8e8;
    height: 2.5em;
    font-size: 1em;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}

.selecttype input[type=submit]:focus {
 	-webkit-box-shadow: inset 0px 0px 10px 3px rgb(70 70 70 / 50%);
    -moz-box-shadow: inset 0px 0px 10px 3px rgba(70,70,70,0.5);
    box-shadow: inset 0px 0px 10px 3px rgb(70 70 70 / 50%);
}

.selecttype .login::before {
	font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    content: "\F2F6";
    margin-right: 0.5em;
}

.selecttype .reset::before {
	font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    content: "\F2F9";
    margin-right: 0.5em;
}

.selecttype .save::before {
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    content: "\F0C7";
    margin-right: 0.5em;
}


.selecttype button {
	margin-top: 40px;
    background-size: 15px 15px;
    background-position: 5px 50%;
    background-repeat: no-repeat;
    font-family: fasfontlight;
    border-radius: 5px;
    border: 0px solid #E69600;
    text-decoration: none;
    cursor: pointer;
    background-color: transparent;
    color: #000000;
    height: 1.5em;
    font-size: 0.9em;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}

.selecttype button:focus {
	border: 1px solid #E69600;
}

.selecttype  label {
	margin-left: 5%;
	margin-right: 5%;
}

.loginerror, .logoutinfo {
	text-align: center;
	color: red;
}

.stm {
    margin: 1em;
    padding: 0.5em;
    border-radius: 5px;
    border-style: solid;
    border-width: 2px;
    font-family: fasfontlight;
    font-size: 1em;
    max-width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}

.stm > .content {
   display: table-cell;
}

.stm ul {
    padding: 0;
    margin: 0;
}

.stm ul > li {
    margin-left: 1em;
}

.stm > .icon {
   font-family: FontAwesome;
   font-style: normal;
   font-weight: normal;
   border-color: green;
   display: table-cell;
   padding-right: 0.5em;
}

.stm > .icon.info::before {
   content: "\F05A";
}

.stm.green > .icon::before {
   color: green;
}

.stm.hinweis > .icon::before {
   color: #E69600;
}

.stm.hinweis {
   border-color: #E69600;
   background-color: rgba(48, 126, 186,0.1);
}

@media screen and (min-height: 500px){
	.logoportal {
	    top: 5%;
	}
	.selecttype {

	}
}

@media screen and (min-height: 700px){
	.logoportal {
	    top: 10%;
	    background-size: 332px 50px;
	    height: 50px;
		width: 332px;
	}

	.selecttype {
		top: 50%;
	}

}

@media (prefers-color-scheme: dark) {
    body {
        background: #313131;
        color: #e8e8e8;
    }
    .logoportal {
        background-image: url(/static/portallogo_d.png);
    }
    .selecttype input[type=text], .selecttype input[type=password] {
        -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.06);
        box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.06);
        color: #e8e8e8;
        background: rgba(0, 0, 0, 0.16);
        border: 1px solid rgba(0,0,0,0.1);
    }
    .selecttype input[type=text]:focus, .selecttype input[type=password]:focus {

    }
    .selecttype button[type=submit] {
        -webkit-box-shadow: 0px 0px 10px 3px rgb(0 0 0 / 30%);
        -moz-box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.3);
        box-shadow: 0px 0px 10px 3px rgb(0 0 0 / 30%);
    }
    .selecttype button {
        color: #e8e8e8;
    }
}