body {
    font-family: 'Nunito Sans', sans-serif;
}

:root {
    --light_gray: #fafafa;
}

/*
 *
 * KSM :: Start
 *
 */
#popup {
	display: none;
}

#popup.active {
	display: block;
}

#popup.active .msg {
	width: 90%;
	max-width: 500px;
	margin: 200px auto;
	padding: 20px 30px;
	background-color: rgba(220, 50, 50, 0.2);
	border: 2px solid #dc3232;
	color: #841E1E;
	font-size: 18px;    
}

#popup.active .msg p:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
}

div.hidden {
	display: none;
}

#notices {
	padding: 20px;
	border: 1px solid #dc3232;
	background-color: rgba(220, 50, 50, 0.2);
	color: #841E1E;
	margin-bottom: 35px;
}

#form_logo,
#form_logo_stb {
    max-width: 100%;
}

.zi_form h1 {
    font-size: 1.6rem;
	color: #068cce;
	font-weight: bold;
	margin-bottom: 0;
	letter-spacing: 2px;
}

.zi_form h1 + p {
	margin-top: 20px;
}

.zi_form h2 {
    font-size: 1.5rem;
}

.zi_form h3 {
    font-size: 1.4rem;
}

.zi_form h4 {
    font-size: 1.3rem;
}

.zi_form h5 {
    font-size: 1.2rem;
}

.zi_form h6 {
    font-size: 1.1rem;
}

.zi_form h1:last-child,
.zi_form h2:last-child,
.zi_form h3:last-child,
.zi_form h4:last-child,
.zi_form h5:last-child,
.zi_form h6:last-child {
    margin-bottom: 0;
}

.zi_form textarea {
	resize: none;
}

input,
select,
label:not(.active) {
    cursor: pointer;
}

form input[readonly]:focus,
form select[readonly]:focus {
	border-color: #ced4da !important;
	color: #696969 !important;
}

form input[readonly]:focus-visible,
form select[readonly]:focus-visible {
	text-shadow: none !important;
}

/* Buttons */
.zi_form button#save:not([disabled]):hover,
.zi_form button#abbrechen:hover {
    opacity: 0.8;
}

.zi_form button#save:not([disabled]):hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

button#save:not([disabled]),
button#abbrechen {
    cursor: pointer;
}

button#save:not([disabled]),
button#abbrechen {
    transition: all 0.2s ease-in-out;
    opacity: 1;
}

button#save {
	margin-right: 15px;
}

button#save[disabled] {
	background-color: #777;
	border-color: #777;
}

.btn:not[disabled]:hover {
    color: #068cce;
    text-decoration: none;
}

.btn-primary  {
    color: #fff;
    background-color: #068cce;
    border-color: #068cce;
}

.btn-primary:not[disabled]:hover {
    color: #fff;
    background-color: #068cce;
    border-color: #068cce;
}

.btn-danger  {
    color: #fff;
    background-color: #fe2c2c;
    border-color: #fe2c2c;
}

.btn-danger:hover {
    color: #fff;
    background-color: #fe2c2c;
    border-color: #fe2c2c;
}

.btn-danger:not(:disabled):not(.disabled):focus {
    box-shadow: none;
}


.jAlert .ja_close_round {
    top: 12px;
}

.jAlert .ja_title div {
    text-align: center;
}

.jAlert .ja_body {
    padding: 20px 30px;
    text-align: center;
    line-height: 1.75em;
}

.jAlert .ja_btn_wrap.optBack {
    background: transparent;
    margin: 25px 0px 0px;
    padding: 0;
}

.jAlert .ja_btn_wrap.optBack .ja_btn {
    margin-top: 0;
    padding: 10px 35px;
}

.bootbox.bootbox-confirm .modal-footer {
    border-top: none;
}

/*
 *
 * KSM :: End
 *
 */

label:not(.checkbox_label) {
    position: absolute;
    top: 0;
    font-size: 13pt;
    color: #696969;
    margin: 8px 10px 0 10px;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    z-index: 9;
}
/*
label[for="telefon"] {
    left: 85px;
}
*/
label[for="telefon"] + .iti,
label[for="fax"] + .iti {
    display: block;
}

label[for="telefon"] + .iti .iti__flag-container,
label[for="fax"] + .iti .iti__flag-container {
    display: none;
}

label.active {
    color: #aaa;
    background: linear-gradient( 180deg, var(--light_gray) 59.9%, #fff 60.1% );
    padding:0 5px 0 5px;
    top: -20px;
    font-size: 11pt;
}

.tableThanx {
    width: 100%;
}

.tableThanx td{
    padding: 4px 20px 4px 4px;
    margin: 4px;
	vertical-align: top;
}

.card-body {
    padding: 0;
}

/*Accordion*/
.accordion {
    background-color: var(--light_gray);
}

.accordion > .card:not(:last-of-type) {
    border: 0;
}

.accordion > .card .btn {
	padding-left: 0;
}

.accordion .fa{
    margin-right: 0.5rem;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    top: 2px;
}

.card {
    border: 0;
}

.card-header {
    border: 0;
    padding: 0.75rem 0;
    background-color: var(--light_gray);
}

.collapse {
    background-color: var(--light_gray);
}

.headerWhite {
    background-color: #fff;
}

.footerGrey {
    background-color: #f7f9fa;
}

.footerTxt {
    margin-top: 1em;
    margin-left: 4em;
    color: #7d93b2;
    font-size: 12pt;
}

.footerTxt a {
    color: #7d93b2;
}

.p_font {
    font-size: 10pt;
    text-align: justify;
    color: #4c6280;
}

.p_font:last-child {
	margin-bottom: 0;
}

.p_font_head{
    font-size: 11pt;
    color: #4c6280;
}

.p_font_head.table {
	display: table;
	width: 100%;
	margin-bottom: 0;
}

.p_font_head.table div {
	display: table-cell;
}

ul.p_font {
	list-style-type: none;
}

ul.p_font > li {
	font-size: 10pt;
    text-align: justify;
    color: #4c6280;
}

ul.p_font > li:before {
	content: "-";
	position: absolute;
	margin-left: -20px;
}

ul.p_font > li:not(:last-child) {
	margin-bottom: 5px;
}

.psStyle {
    color: #068cce;
}

.box-form {
    border: 1px solid #eaeced;
    padding: 32px 35px 64px 35px;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 10em;
    background-color: var(--light_gray);
    /*height: 700px;*/
}

.timeout {
    margin-top:2em;
    margin-right: 5em;
    font-weight: bold;
    font-size: 16px;
    color: #4c6280;
    float: right;
}

.tableText {
    color: #4c6280;
}

.headlineForm {
    font-size: 20px;
    color: #068cce;
    font-weight: bold;
    border: none;
}

.headlineFormH5 {
    font-size: 16px;
    color: #068cce;
    /*margin-top: 1em;*/
    border: none;
}

.formText {
    color: #696969;
    font-size: 13pt;
    padding: 0.375rem 0.75rem 0.375rem 0.35rem;
}

.row {
    margin-bottom: 20px;
}

.section:not(:last-child) {
	margin-bottom: 35px;
}

.section:not(:last-child) .row.last,
.section .section:not(:last-child) .row.last {
	margin-bottom: 35px;
}

.section:last-child .row.last,
.section .section:last-child .row.last {
	margin-bottom: 0;
}

.alert {
	display: none;
}

.alert.active {
	display: block;
	padding: 0.375rem 0.75rem 0.375rem 0.35rem;
	margin: 0;
	color: red;
	font-size: 9pt;
	border-left: 5px solid transparent;
}

.note {
	font-size: 0.9rem;
	padding: .75rem .75rem 0;
	color: #6c757d;
	text-align: justify;
}

/*
 *
 * Checkbox
 *
 */
label.checkbox_label {
	padding-left: 40px;
	position: relative;
	cursor: pointer;
	user-select: none;
}

label.checkbox_label input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
    left: -9999px;
}

label.checkbox_label span:before {
	content: '';
	position: absolute;
	top: -2.5px;
	left: 0;
	height: 25px;
	width: 25px;
	background-color: #fff;
	border: 1px solid #068cce;
}

label.checkbox_label span:after {
	content: '';
	position: absolute;
	display: block;
}

label.checkbox_label input:checked ~ span:after {
	left: 8px;
	top: 3px;
	width: 9px;
	height: 13px;
	border: solid #068cce;
	border-width: 0 4px 4px 0;
	transform: rotate(45deg);
}

.tooltip.email .tooltip-inner {
    max-width: 658px !important;
}

@media (min-width:320px)  {
    /* smartphones, iPhone, portrait 480x320 phones */
    .img_logo {
        width: 150px;
        margin-top: 2em;
        margin-left: 12%;
    }

    .img_logo_zwei {
        width: 50%;
        margin-left: 25%;
    }

    .contentCon {
        margin-top: 60%;
    }
}

@media (min-width:481px)  {
    /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
    .img_logo {
        width: 175px;
        margin-top: 2em;
        margin-left: 12%;
    }
}

@media (min-width:641px)  {
    /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */

}

@media (min-width:961px)  {
    /* tablet, landscape iPad, lo-res laptops ands desktops */

}

@media (min-width:1025px) {
    /* big landscape tablets, laptops, and desktops */
    .img_logo {
        width: 200px;
        margin-top: 1em;
        margin-left: 5em;
    }

    .img_logo_zwei {
        width: 45%;
        margin: 0;
    }

    .contentCon {
        margin-top: 10%;
    }
}

@media (min-width:1281px) {
    /* hi-res laptops and desktops */
    .img_logo {
        width: 200px;
        margin-top: 1em;
        margin-left: 5em;
    }

    .img_logo_zwei {
        width: 45%;
        margin: 0;
    }

    .contentCon {
        margin-top: 10%;
    }
}

label.dp_dfac_readonly.active {
	background: linear-gradient( 180deg, var(--light_gray) 59.9%, #e9ecef 60.1% );
}

.dp_dfac_list {
	display: none;
	color: #696969;
	font-size: 11pt;
	padding: 0.375rem 0;
	background-color: #fff;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	position: absolute;
	top: 45px;
	left: 15px;
	z-index: 99;
	width: auto;
	box-sizing: border-box;
	white-space: nowrap;
}

.dp_dfac_list.active {
	display: block;
}

.dp_dfac_list .list_item {
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	padding: 0.375rem 0.75rem;
}

.dp_dfac_list .list_item:hover {
	background-color: #068cce;
	color: #fff;
}

.sd_error {
	padding: 10px 20px;
	margin-bottom: 35px;
	border: 1px solid #ff0000;
	color: #ff0000;
	background-color: rgba(255, 0, 0, 0.2);
}

.sd_success {
	padding: 10px 20px;
	margin-bottom: 35px;
	border: 1px solid #008000;
	color: #008000;
	background-color: rgba(0, 128, 0,0.2);
}

table#newsletters {
	width: 100%;
}

table#newsletters th,
table#newsletters td {
	padding: 10px;
}

table#newsletters #newsletter_test_tn_code {
	display: inline-block;
	width: 150px;
	height: 38px;
	vertical-align: middle;
}

table#newsletters .actions form {
	display: inline-block;
}

table#newsletters .actions form:not(:last-child) {
	margin-right: 10px;
}

form#newsletter .invalid {
	border-color: red;
}