@font-face {
    font-family: "Glypha";
    src: url("GlyphaLTStd-Black.eot?#iefix");
    src: url("GlyphaLTStd-Black.eot?#iefix") format("eot"),
    url("GlyphaLTStd-Black.woff") format("woff"),
    url("GlyphaLTStd-Black.otf") format("otf"),
    url("GlyphaLTStd-Black.svg") format("svg");
}

body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 25px;
}

#wrapper {
    padding: 40px 0 50px 0;
    margin: 0 auto;
}
#content {
    margin: 0 auto;
    background-color: #F2F6F7;
}
#header {
    max-width: 979px;
    margin: 0 auto;
}
#logo-img {
    width: auto;
    height: 114px;
}
#bg-content {
    background-color: #fff;
    padding: 40px 80px 80px;
    max-width: 979px;
    margin: 0 auto;
}

.ui.grid.container, .ui.container {
    width: 100% !important;
}

#headerbild img{
    width: 100%;
    height: auto;
}

a {
    color: #3F848C;
}
a:hover {
    text-decoration: underline;
    color: #3F848C;
}

ul {
    list-style: none;
}
li {
    padding-bottom: 8px;
}
li:last-child {
    padding-bottom: 0;
}
li::before {
    content: "";
    height: 6px;
    width: 6px;
    background-color: #326e75;
    border-radius: 50%;
    display: inline-block;
    margin-left: -1em;
    margin-right: 10px;
    position: relative;
    top: -3px;
}

#top {
    margin-bottom: 40px;
}

#logo {
    padding: 0;
    width: calc(25% - 1px) !important;
}
#claim {
    text-align: right;
    padding-right: 0;
    padding-top: 94px;
    color: #3F848C;
    font-family: Glypha, Arial, Helvetica, sans-serif;
    font-size: 23px;
}

#title {
    font-size: 42px;
    font-weight: 600;
    margin: 12px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', Arial, sans-serif !important;
    font-weight: 600;
}

ul.parsley-errors-list {
    list-style: none;
    margin: 0;
}

.parsley-errors-list li {
    color: #a9265b;
    line-height: 1;
    font-size: 12px;
    margin: 5px 0 10px -40px;
}

#application-form-wrapper-sucess h1 {
    margin: 0 0 15px 0;
}

#intro {
    padding-top: 40px;
    font-size: 21px;
    line-height: 28px;
}

#content h2 {
    font-weight: 600;
    font-size: 26px;
    margin-bottom: 20px;
}

#content ul {
    margin-top: 0;
    padding-left: 17px;
}

.line-top {
    border-top: 2px solid #C5DADC;
    margin: 40px 0;
    clear: both;
}
#description {
    font-size: 21px;
    line-height: 28px;
}

/* Benefits */
.container.benefits, .container.benefits-lehre {
    padding-left: 0;
    padding-right: 0;
    display: inline-block;
    text-align: center;
}
.container.benefits {
    width: calc(100% / 7 - 4px);
}
.container.benefits-lehre {
    width: calc(100% / 5 - 4px);
}
.benefits img, .benefits-lehre img, .benefits-mobile img, .benefits-lehre-mobile img {
    max-width: 75px;
}
.benefits a, .benefits-lehre a {
    padding: 45px 0;
}
.popover.bottom>.arrow:after {
    border-bottom-color: #3F848C;
}
.popover.top>.arrow:after{
    border-top-color: #3F848C;
}
.popover.top>.arrow {
    bottom: -10px;
}
.popover.bottom>.arrow {
    top: -10px;
}
.popover.bottom, .popover.top {
    max-width: 180px;
}
.popover, .popover-title, .popover-content {
    background-color: #3F848C;
    color: #fff;
    border: none;
    border-radius: 0;
    text-align: center;
    font-size: 14px;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    z-index: 1;
}
.popover-title {
    padding-bottom: 0;
    font-weight: 600;
    display: none;
}
.popover-content {
    padding: 10px 5px;
}

/* Benefits Mobile */
.benefits-mobile, .benefits-lehre-mobile {
    width: 100%;
    float: left;
    padding-top: 20px;
}
.benefits-mobile:first-of-type, .benefits-lehre-mobile:first-of-type {
    padding-top: 0;
}
.benefits-mobile:last-of-type, .benefits-lehre-mobile:last-of-type {
    padding-bottom: 40px;
}
.benefits-mobile img, .benefits-lehre-mobile img {
    float: left;
    width: 90px;
}
.benefit-text-mobile {
    float: right;
    width: calc(100% - 90px);
}

/* Ende Benefits */

#google-maps {
    position: relative;
}
.iframe {
    width: 100%;
    border: none;
    height: 225px;
}
#video {
    position: relative;
    padding-bottom: 56.3%;
    padding-top: 0px;
    height: 0;
    overflow: hidden;
    margin-top:20px;
}
#video iframe {
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: all!important;
}

/* Footer und Social */
#footer {
    overflow: hidden;
    background: #3F848C;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-bottom: 15px;
    z-index: 1000 !important;
}

#footer .ui.container {
    max-width: 979px !important;
    padding: 0;
}

#footer .apply,
input.btn-submit {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 17px;
    background: #6CA1A7 !important;
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    border-radius: 0 !important;
    color: #fff !important;
    position: relative;
    top: 8px;
    padding: 12px 30px;
    font-weight: 400;
}

input.btn-submit {
    padding: 0.785714em 1.5em;
    font-weight: 600;
    margin: 10px 0;
}

#footer .apply:hover,
input.btn-submit:hover {
    color: #fff !important;
    background: #47949d !important;
}
@media screen and (max-width: 860px) {
    #footer .ui.container {
        margin: 0 !important;
    }
}

#social-icons {
    padding-top: 15px;
}

#social-icons a {
    margin-right: 11px;
}

#social-icons img:hover {
    opacity: 0.3;
}

@media screen and (max-width: 860px) {
    #social-icons a {
        margin-right: 4px;
    }
}

/* iPhone 5 & 5S in portrait */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px)
and (orientation: portrait) {
    #social-icons a {
        margin-right: 0;
    }
}

/* iPhone 2G-4S in portrait */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 480px)
and (orientation: portrait) {
    #social-icons a {
        margin-right: 0;
    }
}
.whatsapp {
    display: none;
}

@media screen and (max-width: 600px) {
    .print {
        display: none;
    }

    .whatsapp {
        display: inline-block;
    }
}

/* Application Form */

#application-form-wrapper,
#application-form-wrapper-sucess {
    border: 1px solid #000;
    box-sizing: border-box;
    margin: 10px;
    max-width: calc(100% - 20px);
    padding: 20px;
    width: 640px;
}

#posting-title {
    margin: 20px 0;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.25em;
}

.group {
    width: 100%;
    display: inline-block;
    margin-bottom: 5px;
}

.span_1_of_2 {
    padding-right: 10px;
    width: calc(35% - 10px);
    float: left;
}

.span_2_of_2 {
    padding-left: 10px;
    width: calc(65% - 10px);
    float: left;
}

#info {
    color: #666;
    font-size: 12px;
    width: 100%;
    display: inline-block;
    margin: 0 0 30px 0;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    border-radius: 0;
    font-size: 1em;
    width: 100%
}

select::-ms-expand {
    display: none;
}

.lt-ie10 select {
    background-image: none;
}

input,
select {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 17px;
    border: 1px solid #3b7c84;
    padding: 5px 10px;
    box-sizing: border-box;
    width: 100%;
    cursor: pointer;
}

select#dropdown-style {
    background: url("dropdown.png") no-repeat scroll right 5% center / 30px 16px;
}

input.btn-submit {
    border: none;
    width: auto;
}

input#zip {
    width: 100px;
    float: left;
    margin-right: 10px;
}

input#city {
    width: calc(100% - 110px);
}

input#notes {
    height: 70px;
}

input.attachments {
    padding: 0;
    border: none;
    font-size: 12px;
}

#copy-form label {
    font-weight: 400;
}

input#attachments {
    border: none;
}

input[type='checkbox']:checked,
input[type='checkbox']:not(:checked) {
    visibility: hidden;
    margin: 0;
}

input[type='checkbox'] + label,
.portal-search-checkbox input[type='checkbox'] + label {
    cursor: pointer;
}

input[type='checkbox']:checked + label::before,
input[type='checkbox']:not(:checked) + label::before {
    content: '\2714';
    color: #fff;
    padding: 0 6px 11px 6px;
    display: inline-block;
    width: 13px;
    height: 13px;
    position: relative;
    border: 1px solid #3b7c84;
    margin-right: 10px;
    vertical-align: text-bottom;
}

input[type='checkbox']:not(:checked) + label::before {
    content: '';
}

input[type='checkbox']:checked + label::before {
    box-shadow: inset;
    content: '\2714';
    color: #3b7c84;
}

/* Media Queries */

.mobile-only {
    display: none;
}

@media screen and (max-width: 990px) {
    #logo {
        padding-left:20px;
    }
    #claim {
        padding-right:20px;
    }
    #top .ui.grid {
        margin-left: 0 !important;
    }
    #bg-content {
        padding: 20px;
    }
    #footer .ui.container {
        padding: 0 20px !important;
    }
}
@media screen and (max-width: 767px) {
    #wrapper {
        padding-top: 10px;
    }
    #top {
        margin-bottom: 10px;
    }
    #logo img {
        width: 50px;
    }
    #title {
        font-size: 32px;
        line-height: 40px;
    }
    #intro {
        font-size: 17px;
    }
    #content h2 {
        font-size: 22px;
    }
    #claim {
        padding-top: 71px;
        font-size: 16px;
    }

    #content .ui.grid>[class*="eight wide"].column {
        width: 100% !important;
    }
    .popover.bottom, .popover.top {
        max-width: 210px;
        hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        -webkit-hyphens: auto;
    }
    .iframe {
        height: 325px;
    }

    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: block;
    }

}

@media screen and (max-width: 560px) {

    .container.benefits {
        width: calc(100% / 4 - 4px);
        margin-top: 10px;
    }
    .container.benefits-lehre {
        width: calc(100% / 3 - 4px);
    }
    .iframe {
        height: 220px;
    }

    label {
        margin-bottom: 5px;
    }

    .group {
        margin-bottom: 15px;
    }

    #application-form-wrapper h1 {
        font-size: 26px;
        line-height: 1.1em;
    }
    #copy-form {
        margin-top: -20px;
        margin-bottom: 0;
    }
    .ui.button {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media screen and (max-width: 420px) {
    .container.benefits {
        width: calc(100% / 3 - 4px);
    }
    #footer .apply {
        padding: 12px 20px;
    }
}

/**
 * Print.
 */
.printable-only {
    display: none;
}
