@font-face {
    font-family: FrutigerLight;
    src: url('fonts/amag_text-light-webfont.ttf') format('truetype');
    src: url('fonts/amag_text-light-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: FrutigerBold;
    src: url('fonts/amag_text-bold-webfont.ttf') format('truetype');
    src: url('fonts/amag_text-bold-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal
}

html {
    height: 100%;
    margin:0;
}
body {
    margin: 0 auto;
    padding: 0;
    overflow-x: hidden;
    font-family: FrutigerLight, sans-serif;
    font-size: 100%;
    line-height: 27px;
    height: 100%;
    overflow: initial;
}
p {
    margin-bottom: 0.5rem;
}
header, main, footer{
    margin: 0;
    padding: 0;
}
header {
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
}
header img {
    height: 38px;
    /*margin-bottom: -12px;*/
    margin: 8px 0 5px 0;
}
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 35px 35px 35px 25px;
    background: #f1f1f1;
    min-height: 100%;
}
footer {
    padding: 25px;
    padding-top: 0;
}
a, a:hover {
    color: #000;
}
h1, h2, h3, h4, h5, h6{
    font-family: FrutigerBold, sans-serif;
}
.font-weight-bold {
    font-weight: normal !important;
}
textarea {
    width: 100%;
    border-color: #d0d0d0;
    border-radius: 5px;
    padding: 5px 8px;
}
button:focus {
    outline: none !important;
    box-shadow: none !important;
}
.reqText {

}
.formCheck {
    margin-left: 1.25rem !important;
    margin-right: -1.25rem !important;
}
#lang_navWrapper>ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
}

#lang_navWrapper>ul li {
    padding-right: 0;
    padding-left: 0;
    /*color: #5d5d5d;*/
    color: #8e8e8e;
}
#lang_navWrapper>ul li>a {
    color: #8e8e8e;
}
#lang_navWrapper>ul li:not(:first-child):before {
    content: '\00a0|\00a0';
    font-weight: normal !important;
    color: #8e8e8e;
}
#pendingAnswer {
    background: url(../imgs/spinner.gif) transparent center 0 no-repeat !important;
    height: 100px;
    width: 100%;
    margin: 20% 0;
    background-size: 85px !important;
}
#bottomFooterLinks {
    font-size: 0.8em;
    white-space: nowrap;
}
#bottomFooterLinks>ul {
    display: flex;
    justify-content: center;
    list-style: none;
}
#bottomFooterLinks>ul li:not(:first-child):before {
    content: '\00a0|\00a0';
}
#footerLine {
    font-size: 0.8em;
}
#footerLine>ul {
    margin-left: -33px;
    line-height: 1.3em;
}
.successMsg {
    text-align: center;
    font-weight: bold;
    padding-top: 30%;
    display: block;
}
.errorMsg {
    color: red;
    font-weight: bold;
    padding-top: 30%;
    display: block;
}
#uploadBtnWrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

#uploadBtnWrapper input[type=file] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}
#errorWrapper {
    font-weight: bold;
    margin-top: 10%;
}
#formSubmit {
    padding: 20px 25px;
    color: white;
    margin-top: 20px;
    margin-bottom: 30px;
    background-color: #4a8938;
    border: 2px solid #4a8938;
    transition: background-color 0.5s, color 0.5s;
    font-size: 1rem;
    white-space: nowrap;
    font-family: inherit;
    border-radius: 0;
    text-transform: none;
}
#formSubmit:hover, #formSubmit:focus, #formSubmit:active, #formSubmit:visited {
    background-color: #fff;
    color: #4a8938;
}
/*#anrede{
    height: 35px;
    background: #fff;
    border-radius: 4px !important;
    border: 1px solid #d2d2d2;
    width: 100%;
    padding: 2px 0 0 6px;
    color: #495057;
}*/
#rabattCheckWrapper {
    line-height: 1.3em;
}
input[type="checkbox"]{
    width: 19px;
    height: 19px;
    float: left;
    margin-right: 8px;
    margin-top: 1px;
}
input[type="checkbox"].serviceCheckbox {
    margin-top: 2px;
}
#rabattCheckLabel {
    display: table-cell;
}
#lastFormLine {
    margin-top: -1em;
}
#rabattCheckSubLabel {
    font-size: 0.9em;
}

.infoCircle {
    margin-top: -4px;
}
a.infoCircleLink:hover {
    text-decoration: none;
}
#selectedPartnerBox {
    padding-left: 2px;
}
#terminAbDatum{
    width: 180px;
    display: inline;
}
.datepicker {
    margin-top: 34px;
}
#datepickerContainer {
    margin-left: -30px
}
#datepickerContainer .datepicker table tr td.old,
#datepickerContainer .datepicker table tr td.new {
    color: #000;
}
#datepickerContainer .datepicker table tr td.disabled {
    color: #999;
}
#partnerSubText, #markeSubText {
    font-size: 0.89em;
    line-height: 1.3em;
}
/*@media screen and (min-width : 800px) {
    #leistungSonstige {
        margin-top: -8px;
    }
}*/
/*@media screen and (min-width : 293px) {
    #terminAbDatum{
        margin-left: 14px;
    }
}*/
/*@media screen and (max-width : 799px) {
    #serviceFieldset_start {
        margin-bottom: 0 !important;
    }
    #serviceFieldset_end {
        margin-top: 0 !important;
    }
}*/
.no-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}
.arrowRight {
    float: left;
    display: inline-block;
    background: transparent url(../imgs/sprite_stopandgo.png) no-repeat left -1498px;
    border: none;
    width: 20px;
    height: 20px;
    margin: 5px 0 0 0;
    cursor: pointer;
}
/*Textarea*/
.mitteilung_produktanfrage {
    background: #ff0000;
    color: #fff;
}

/*Datepicker*/
#datepickerContainer {
    margin-left: -10px;
}
.datepicker {
    font-size: 0.9em !important;
}
.datepicker th, .datepicker td {
    padding: 9px !important;
}

@media screen and (max-width : 350px) {
    #datepickerContainer {
        margin-left: -70px;
        margin-top: -35px;
        margin-bottom: 35px;
    }
}
/*Checkbox*/
.custom-control-label {
    padding-left: 5px;
    padding-top: 3px;
}
.custom-control-label::after,
.custom-control-label::before {
    height: 30px;
    width: 30px;
}
.custom-control.custom-checkbox label {
    padding: 7px 14px;
}
.custom-control-label::before {
    background-color: #fff;
    border-radius: 50%;
}

.custom-control-label::after {

}
#anmeldeForm h1:first-of-type {

}
#anmeldeForm .angebotLink{
    float: right;
    margin-top: -58px;
    /*text-decoration: underline;*/
    color: #000;
    font-family: FrutigerBold, sans-serif;
}

html[lang="fr"] #anmeldeForm .angebotLink,
html[lang="it"] #anmeldeForm .angebotLink{
    float: initial;
    height: 60px;
    width: 100%;
    white-space: nowrap;
    font-size: 14px;
}
@media screen and (max-width : 524px) {
    #terminAbDatum {
        float: right;
    }
    #anmeldeForm .angebotLink {
        float: initial;
        margin-top: 10px;
        width: 100%;
        margin-bottom: 40px;
    }
}