﻿html{
    -webkit-tap-highlight-color: rgba(0, 135, 253,0.5);
}

html, body {
	font-family: -apple-system, SF UI Text, Helvetica Neue, Helvetica, Arial, sans-serif;
	margin: 0px;
	padding: 0px;
	color: #000;
	font-size: 14px;
	line-height: 1.4;
	width:100%;
    height:100%;
	-webkit-text-size-adjust: 100%;
	-webkit-overflow-scrolling: touch;
}

body {
    background-color: var(--serma_color_background_lightgrey);
}

.main {
    padding: 10px;
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    border-left: 2px solid var(--serma_color_radiocheck_grey);
    border-right: 2px solid var(--serma_color_radiocheck_grey);
    border-bottom: 2px solid var(--serma_color_radiocheck_grey);
}

h2 {
    position: relative;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 200;
    -webkit-transform: translate3d(0px,0px,0px);
    border-bottom: 2px solid #e6e6e6;
    font-size: 20px;
    font-weight: normal;
    color: #007aff;
    color: var(--serma_color_darkblue);
}
.blacktext {
    position: relative;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 200;
    -webkit-transform: translate3d(0px,0px,0px);
    font-size: 20px;
    font-weight: bold;
    color: #000000;
}
.bold {
    font-weight: bold;
}

.sermalogo {
    max-height: 60px;
    height: 60px;
}

.boxmargin {
    margin-left:25px;
}

.boxmargin > *{
    margin-bottom:10px;
}

.boxmax {
    max-width:calc(100% - 25px);
}
.subboxmax {
    width:calc(100% - 25px);
}
.subboxmax > *{
    margin-bottom:10px;
}

.KN1 {
width: 20px;
}
.KN2 {
width: 30px;
}
.KN3 {
width: 40px;
}

.textarea {
    width:100%;
}

h1, h2, label {
    max-width:100%;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

input[type="submit"].SendButton {
    width:100%;
    height:50px;
    font-size:30px;
    cursor: pointer;
}

.info {
    color: green;
    font-size:20px;
}
.error {
    color: red;
    font-size:20px;
}

.fb .fixed-200 {
    width: 200px;
    max-width: 200px;
}

.fb .fixed-220 {
    width: 220px;
}

.fb .fixed-300 {
    width: 300px;
}

input[type="button"],
input[type="submit"] {
    text-align: center;
    width: auto;
    min-width: 100px;
    outline: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #007aff;
    color: white;
    background-color: var(--serma_color_darkblue);
    -webkit-user-select: none;
}

input[type="date"],
input[type="text"][alt^="date"] {
    text-align: center;
    width: auto;
    min-width: 100px;
    outline: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    border: 1px solid #ddd;
    border: 1px solid var(--serma_color_border_darkgrey);
    background-color: #fff;
    -webkit-user-select: none;
}

.fb .fixed-200 {
    width: 200px;
    max-width: 200px;
}

input[type="text"] {
    width:300px;
}


.footerwrapper {
    margin: 0 auto;
    width: fit-content;
    padding-bottom: 20px;
    font-size: 16px;
    font-family: Titillium Web,sans-serif;
}
.footercontent {
    display: inline-block;
    padding: 20px 20px 0 20px;
}
.footercontent .nowrap {
    white-space: nowrap;
}
.footercontent a.link, 
.footercontent a.link-external {
    -webkit-text-size-adjust: 100%;
    font-family: Titillium Web,sans-serif;
    font-weight: 400;
    line-height: 1.5;
    font-size: 16px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    background: transparent;
    text-decoration: none;
    transition: color .3s;
    color: var(--serma_color_blue);
}
.footercontent .link:after {
    content: "\f101";
    font-family: "22_iconfont";
    display: inline;
    margin: 0 0.5rem;
}