@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  src: url(/fonts/OpenSans.ttf) format('truetype');
}

html, body {
    height: 100%;
}

body {
    display: flex;
    text-align: center;
    flex-direction: column;
}

h1,
h2,
h3 {
    margin-bottom: 24pt;
    text-shadow: none;
}

h1.wrap-top,
h2.wrap-top,
h3.wrap-top {
    margin-bottom: 0;
}

h1.wrap-bottom,
h2.wrap-bottom,
h3.wrap-bottom {
    margin-top: 0;
}

h4 {
    margin-top: 30pt;
}

.text-left h1 {
    margin-top: 0;
}

.asterisk {
    position: relative;
    color: #ed7004 !important;
    vertical-align: super;
    font-size: 12pt !important;
    top: 3px !important;
}

@media (max-width: 768px) {
  .lead {
    font-size: 21px;
  }
}

main {
    margin: auto;
    flex: 1 0 auto;
    width: 100%;
    /*padding-bottom: 25pt;*/
}

@media (min-width: 768px) {
    main {
        z-index: 1;
    }
}

.container {
    width: 100%;
    padding: 0pt 12% 0pt 12%;
}

.intro {
    position: absolute;
    bottom: 30px;
    left: 20pt;
    width: 60%;
}

.intro h1 {
    color: #ed7004;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .2);
}

.intro .lp-cta {
    margin-top: 10pt;
    margin-bottom: 10pt;
    width: 120pt;
}

@media(max-width: 768px) {
    .intro .lp-cta {
        background-color: #fbe08d !important;
        color: #ed7004 !important;
        font-weight: bold;
        padding: 15px;
        width: 200px;
        height: 50px;
        text-decoration: none;
        border: none;
        text-align: center;
    }
    
    .intro .lp-cta:hover {
        text-decoration: none;
        color: #fec800 !important;
    }
    
    .intro .lp-cta:active {
        background-color: #FFFFFF !important;
        color: #fbe08d !important;
        font-weight: bold;
        padding: 15px;
    }
}


/* @todo: implement in new button-class */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0pt 6% 0pt 6%;
    }
    main.main-landing {
        margin-top: 31%;
        min-height: 6%;
    }
    .landing {
        width: 100%;
        height: 40%;
        margin: 0pt;
    }
    main.main-landing .container {
        background-color: #ed7004;
        padding: 0pt 3% 0pt 3%;
    }
    .intro {
        background-color: #ed7004;
        left: 0 !important;
        bottom: auto !important;
        padding: 0% 3% 3% 3%;
    }
    .intro h1 {
        color: white !important;
    }
    .intro h1.wrap-top {
        margin-top: 20px;
    }
    .intro h1.wrap-bottom {
        margin-bottom: 0pt !important;
    }
}


@media (max-width: 1120px) {
    .intro {
        width: 100% !important;
    }
    .intro h1 {
        font-size: 24pt;
        line-height: 30pt;
    }
}

@media (max-width: 360px) {
    main.main-landing {
        margin-top: 30%;
    }
}

@media (max-width: 320px) {
    main.main-landing {
        margin-top: 27%;
    }
}

@media (min-width: 720px) {
    main.main-landing {
        margin-top: 32%;
    }
}

@media (min-width: 768px) {
    main.main-landing {
        margin-top: 0pt;
    }
}

main a {
    color: #ed7004 !important;
    text-decoration: underline;
}

main a:visited {
    color: #c8cacc;
}

main a.icon:hover {
    text-decoration: none;
}

main a:hover {
    color: #9ac7c3 !important;
}

.button {
    display: block;
    border: none !important;
    border-radius: 0 !important;
    background-color: #ed7004;
    color: #fbe08d !important;
    font-weight: bold;
    padding: 15px;
    width: 200px;
    height: 50px;
    text-decoration: none;
    border: none;
    text-align: center;
}

.button:hover {
    text-decoration: none;
    color: #fbe08d !important;
}

.button:active {
    background-color: #fbe08d;
    color: #ed7004 !important;
    font-weight: bold;
    padding: 15px;
}


/*paginator at bottom of list view*/

.pages {
    padding: 15px 0;
}

.pages-icon {
    padding: 0 15px;
}

/*list item for posts and projects*/

.item {
    padding: 10px 0;
}

.item-tag {
    background-color: var(--accent);
}

/*navigation bar icons*/
.navbar .container {
    padding: 0pt 14% 0pt 14%;
}

@media(max-width: 768px) {
    .navbar .container {
        padding: 0pt 6% 0pt 6%;
    }
}

.navbar-brand {
    background-image: url(../images/Avenir-Berlin-Logo.png);
    background-size: cover;
    width: 150px;
    height: 62px;
    transform: scale(0.7, 0.7);
    -ms-transform: scale(0.7, 0.7);
    -webkit-transform: scale(0.7, 0.7);
}

@media(max-width: 800px) {
    .navbar-brand {
        background-image: url(../images/Avenir-Berlin-Logo.png);
        background-size: cover;
        width: 100px;
        height: 43px;
        transform: scale(0.7, 0.7);
        -ms-transform: scale(0.7, 0.7);
        -webkit-transform: scale(0.7, 0.7);
    }
}

@media (max-width: 460px) {
    .navbar-brand {
        margin-left: -8pt !important;
    }
}

.navbar-nav {
    float: right;
    margin-top: 7px;
    background-color: white;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .2);
    font-weight: bold;
}

.navbar > .container .navbar-brand,
  .navbar > .container-fluid .navbar-brand {
    margin-left: -20px;
  }

.navbar-default {
    margin-top: 10px;
    margin-bottom: 0px;
    z-index: 2;
}

.navbar-default .navbar-collapse {
    border-color: none !important;
    box-shadow: none;
}

.navbar-icon {
    font-size: 125%;
    display: inline-block !important;
}

.content {
    margin: auto;
    width: 80%;
}

.narrower {
    margin: auto;
    width: 80%;
}

@media(max-width: 800px) {
    .narrower {
        width: 100%;
    }
}

.narrow {
    margin: auto;
    width: 50%;
}

.teaser-container {
    margin-top: 70pt;
}

.teaser {
    position: relative;
    width: 49%;
    height: 0;
    float: left;
    text-align: left;
    background-size: 100%;
    background-repeat: no-repeat;
    padding-top: 30%;
}

.teaser a {
    font-weight: bold;
    text-decoration: underline;
    display: inline-block;
}

.teaser h2,
.teaser h3 {
    margin-top: 30px;
    margin-bottom: 10px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .2);
    display: inline-block;
}

.teaser-newcomer {
    background-image: url(../images/fluechtlinge-jobs-berlin.jpg);
    margin: 0pt 1% 0pt 0pt;
}

.teaser-corporations {
    background-image: url(../images/zeitarbeit-personal-finden.jpg);
    margin: 0pt 0pt 0pt 1%;
}

.teaser div {
    position: absolute;
    top: 60%;
    margin: 0pt 30% 0% 2%;
    padding: 1pt 5% 10pt 5%;
}

@media (max-width: 1920px) {
    .teaser {
        position: relative;
        top: 0%;
        padding-top: 40%;
        margin-bottom: 40pt;
    }
    .teaser-corporations div,
    .teaser-newcomer div {
        margin: 0% 0 0 0;
    }
 }

@media (max-width: 800px) {
    .teaser {
        width: 100%;
        position: relative;
        top: 0%;
        padding-top: 85%;
    }
    .teaser-corporations,
    .teaser-newcomer {
        margin: 0pt 0pt 10pt 0pt;
    }
    .teaser-corporations div,
    .teaser-newcomer div {
        margin: 5% 0 0 0;
    }
 }

 @media (max-width: 580px) {
    .teaser {
        margin-bottom: 70pt;
    }
}

@media (max-width: 360px) {
    .teaser {
        margin-bottom: 80pt;
    }
}

@media (max-width: 1400px) {
    .teaser h2 {
        margin-top: 15pt;
        font-size: 150%;
    }
}

 @media (min-width: 768px) and (max-width: 1120px) {
    .teaser {
        font-size: 90%;
    }
    .teaser h2 {
        font-size: 150%;
    }
 }

.teaser-newcomer a {
    color: #9ac7c3;
}

.teaser-newcomer a:hover {
    color: #fec800;
}

.teaser-newcomer div,
.teaser-corporations div {
    min-height: 116pt;
}

@media (max-width: 768px) {
    .teaser-newcomer div,
    .teaser-corporations div {
        min-height: 0pt;
    }
}

.teaser-newcomer div {
    background-color: #ed7004;
}

.teaser-corporations a {
    color: #ed7004;
}

.teaser-corporations a:hover {
    color: #9ac7c3;
}

.teaser-corporations div {
    background-color: #fec800;
}

/*****************************************************************************/
/* Forms */
/*****************************************************************************/
.error {
    border-color: #ed7004 !important;
}

.form-error {
    display: block;
    color: #ed7004 !important;
    text-align: left;
    font-size: 10pt;
}


/*****************************************************************************/
/* FOOTER */
/*****************************************************************************/
footer {
    border-bottom: var(--border-width) solid var(--accent);
    background-color: #ed7004;
    z-index: 1;
    padding-top: 30pt;
    padding-bottom: 30pt;
    color: white !important;
}

footer a,
footer a:hover {
    color: white !important;
    text-decoration: none;
}

footer .avenir {
    float: left;
    width: 240px;
}

@media (max-width: 580px) {
    footer .avenir {
        margin-right: 100pt;
    }
}

footer .avenir .whatisit {
    float: left;
    margin-top: 3pt;
}

footer .avenir p {
    float: right;
    font-size: 10px;
    margin-bottom: 0pt;
    margin-right: 40pt;
    line-height: 14pt;
}

footer .logo {
    background-image: url(../images/logo_opaque.png);
    background-size: cover;
    float: right;
    width: 120pt;
    height: 45pt;
}

footer .legal-social {
    float: right;
    font-size: 12px;
}

@media (max-width: 580px) {
    footer .legal-social {
        width: 140pt;
        float: left;
        margin-left: 15pt;
        margin-top: 20pt;
    }
}

footer .legal {
    float: left;
}

footer .legal li.contact {
    font-weight: bold;
    margin-top: 2pt;
}

footer .legal li.street {
    margin-top: 11pt;
}

footer .legal li.phone {
    margin-top: 15pt;
}

footer .maps {
    font-family: "untitled-font-1";
    font-weight: normal;
    font-size: 24pt;
    text-align: center;
    display: block;
    width: 18pt;
    height: 28pt;
    float: left;
    margin-top: 30pt;
}

footer .links {
    float: right;
}

footer ul {
    list-style: none;
}

footer ul li {
    text-align: left;
    line-height: 22px;
}

footer  .links ul li > a {
    font-weight: bold;
}

footer .facebook {
    font-family: "untitled-font-1";
    font-weight: normal;
    font-size: 20pt;
    text-align: center;
    display: block;
    width: 18pt;
    height: 18pt;
    margin-left: 30pt;
    margin-top: 30pt;
}

@media (max-width: 580px) {
    footer .links {
        float: left;
        margin-top: 30pt;
    }
    footer ul {
        float: right;
    }
    footer .facebook {
        float: left;
        margin-left: 0pt;
        margin-top: 0pt;
    }
}

/*****************************************************************************/
/* Page specific styles */
/*****************************************************************************/
.team {
    padding: 40pt 12% 0pt 12%;
}
.team img {
    width: 100%;
}

.team a {
    font-size: 10pt;
}

.team ul {
    height: auto;
    padding-left: 0pt;
    margin-top: 28pt;
}

.team ul li {
    list-style-type: none;
    float: left;
    width: 25.3%;
    margin-bottom: 3%;
}

.team ul li:nth-child(1),
.team ul li:nth-child(4) {
    margin-right: 12%;
}

.team ul li:nth-child(2),
.team ul li:nth-child(5) {
    margin-right: 12%;
}

.team ul li:nth-child(3),
.team ul li:nth-child(6) {
    margin-right: 0%;
}

.team ul li.last-item {
    margin-right: 0% !important;
}

.team ul li img {
    width: 100%;
    margin-bottom: 15pt;
}

.team ul li p {
    margin-bottom: 1pt;
    font-weight: bold;
}

.team ul li small {
    font-weight: normal;
}

@media (max-width: 768px) {
    .team {
        padding: 40pt 0 0 0;
    }
    .team ul li {
        width: 80%;
        margin-left: 9%;
        margin-bottom: 10%;
    }
}

main .hero {
    position: relative;
    top: -45pt;
    width: 100%;
    z-index: 0;
}

@media(max-width: 800px) {
    main .hero {
        position: relative;
        left: -7%;
        top: -45pt;
        width: 114%;
        z-index: 0;
    }
}

.hero img {
    position: relative;
    width: 100%;
}


/*****************************************************************************/
/* CORPORATIONS: Call or mail
/*****************************************************************************/
.content .anruf {
    background-color: #9ac7c3;
    padding: 2%;
    width: 80%;
    margin: 5% 10% 5% 10%;
}

@media(max-width: 768px){
    .content .anruf {
        width: 100%;
        margin: 5% 0 5% 0;
        padding: 20pt 5% 10pt 5%;
    }
}

.content .anruf h3 {
    margin: 15pt 0 15pt 0;
}

.content .anruf h3,
.content .anruf h4 {
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .2);
}

.content .anruf h4 {
    margin-top: 0pt;
    text-shadow: none;
}

/*****************************************************************************/
/* NEWCOMER: Steps
/*****************************************************************************/
.ablauf ul {
    height: auto;
    padding-left: 0pt;
}

.ablauf ul li {
    list-style: none;
    float: left;
    width: 20%;
    margin-bottom: 2%;
    padding-right: 2%;
}

.ablauf ul li h1 {
    font-family: "untitled-font-1";
    font-weight: normal;
    font-size: 60pt;
    color: #9ac7c3;
    text-align: left;
    margin-bottom: 20pt;
    width: 75pt;
}

.ablauf ul li h4 {
    margin-top: 15pt;
    margin-bottom: 10pt;
}

.ablauf ul li p {
    font-size: 80%;
}

@media (max-width: 1120px) {
    .ablauf ul li {
        width: 100%
    }

    .ablauf ul li h1 {
        font-family: "untitled-font-1";
        font-weight: normal;
        font-size: 60pt;
        float: left;
        text-align: left;
        margin-top: 20pt;
    }
}
/*****************************************************************************/
/* CORP & SUPPORT: Tiles
/*****************************************************************************/
.leistungen ul {
    height: auto;
    padding-left: 0pt;
    margin-top: 28pt;
}

.leistungen ul li {
    list-style: none;
    float: left;
    width: 49%;
    min-height: 317pt;
    margin-bottom: 2%;
    padding: 2%;
    color: white;
}

.leistungen ul li h1 {
    font-family: "untitled-font-1";
    font-weight: normal;
    font-size: 100pt;
    text-align: center;
    margin: 50pt 0pt 50pt 0pt;
}

.leistungen ul li h3 {
    margin-bottom: 10pt;
}

.unterstuetzen ul li p,
.leistungen ul li p {
    color: #333;
}

.leistungen ul li:nth-child(1) {
    background-color: #ed7004;
    margin-right: 1%;
}

.leistungen ul li:nth-child(2) {
    background-color: #fec800;
    margin-left: 1%;
}

.leistungen ul li:nth-child(3) {
    background-color: #9ac7c3;
    margin-right: 1%;
}

.leistungen ul li:nth-child(4) {
    background-color: #c8cacc;
    margin-left: 1%;
}

.leistungen ul li:nth-child(1) a {
    color: #9ac7c3 !important;
}

.leistungen ul li:nth-child(2) a {
    color: #ed7004 !important;
}

.leistungen ul li:nth-child(3) a {
    color: #ed7004 !important;
}

.leistungen ul li:nth-child(4) a {
    color: #9ac7c3 !important;
}

/* PayPal Button */
.leistungen ul li:nth-child(4) a {
    color: #9ac7c3 !important;
}

@media (min-width: 768px) and (max-width: 800px) {
    .leistungen ul li {
        min-height: 350pt
    }
}

@media (max-width: 768px) {
    .leistungen ul li {
        width: 100%;
        padding: 20pt 5% 10pt 5%;
    }

    .leistungen ul li:nth-child(1),
    .leistungen ul li:nth-child(2),
    .leistungen ul li:nth-child(3),
    .leistungen ul li:nth-child(4) {
        margin-left: 0%;
    }
}


.newsletter h3,
.leistungen ul li h3 {
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .2);
}

/*****************************************************************************/
/* Newsletter */
/*****************************************************************************/
.newsletter {
    background-color: #9ac7c3;
    color: white;
    padding: 1pt 0pt;
    margin-top: 25pt;
}


@media (max-width: 768px) {
    .newsletter .form-container {
        padding: 0pt 9% 0pt 9%;
    }
}

.request .narrow,
.newsletter .narrow {
    padding-bottom: 25px;
}

.request .form-wrapper {
    background-color: #fec800;
    color: white;
    padding: 1pt 0pt;
    height: 100%;
    width: 100%;
    float: left;
}

.request p.text,
.newsletter p.text {
    text-align: left;
}

.request form {
    margin: auto;
    height: 100%;
    width: 100%;
}

.newsletter form {
    margin: auto;
}

.container .index h2 {
    margin-top: 0pt;
}

@media (max-width: 768px) {
    .narrow {
        width: 100%;
    }
    .container .index {
        margin-top: 130pt;
    }
}

@media (max-width: 460px) {
    .container .index {
        margin-top: 150pt;
    }
}

@media (max-width: 360px) {
    .container .index {
        margin-top: 170pt;
    }
}

.request form p.label,
.newsletter form p.label {
    font-size: 10pt;
    font-weight: normal;
    float: left;
    text-align: left;
    width: 100%;
    padding: 0pt;
    margin: 18pt 0pt 8pt 0pt;
}

.request .container {
    margin-top: 40pt;
    padding: 0pt 12% 0pt 12%;
}

@media(max-width: 800px) {
    .request .container {
        width: 100%;
    }
}

.request .narrow {
    width: 50%;
}

@media (max-width: 800px) {
    .request .container {
        padding: 0pt 6% 0pt 6%
    }

    .request .form-wrapper {
        padding: 0pt;
    }
    .request .narrow {
        width: 82%;
    }
}

.request .input,
.newsletter .input {
    float: left;
    width: 100%;
    background-color: #fec800;
    border: 1pt solid white;
    padding: 4pt;
    color: #333;
}

.request .inputarea {
    min-width: 100%;
    max-width: 100%;
    min-height: 210px;
    max-height: 210px;
}

.form-container input.button,
.form-container a.button {
    margin-top: 25pt;
    margin-bottom: 25pt;
    float: left;
}
#mc_embed_signup {
    background-color: #9ac7c3 !important;
    font-family: "Open Sans", sans-serif !important;
}

#mc_embed_signup .mc-field-group {
    width: 100% !important;
}

#mc-embedded-subscribe-form {
    padding: 0pt !important;
}

#mc-embedded-subscribe {
    display: block;
    margin-top: 25pt !important;
    margin-bottom: 25px !important;
    background-color: #ed7004 !important;
    color: #fbe08d !important;
    font-weight: bold  !important;
    padding: 15px !important;
    width: 200px !important;
    height: 50px !important;
    text-decoration: none;
    font-size: 14px !important;
    border: none !important;
    border-style: none !important;
}

#mc-embedded-subscribe-form input {
    float: left;
    width: 100%;
    background-color: #9ac7c3;
    padding: 4pt !important;
    color: #333;
    border-radius: 0pt !important;
    border-style: solid;
    text-indent: 0% !important;
    height: 24pt;

}

#mc-embedded-subscribe-form input.mce_inline_error {
    border-color: #ed7004 !important;
}

#mce-LNAME,
#mce-FNAME,
#mce-EMAIL {
    border: 1pt solid white !important;
}

div.mce_inline_error {
    background-color: #9ac7c3 !important;
    padding: 0pt !important;
    color: #ed7004 !important;
    margin-bottom: 0pt !important;
}

.newsletter form .label {
    float: left;
    text-align: left;
    width: 100%;
    padding: 0pt 0pt 4pt 0pt;
    margin: 18pt 0pt 8pt 0pt;
    font-size: 10pt;
    font-weight: normal;
}

#mc-embedded-subscribe:hover {
    text-decoration: none;
    color: #fbe08d !important;
}

#mc-embedded-subscribe:active {
    display: block;
    background-color: #fbe08d;
    color: #ed7004 !important;
    font-weight: bold;
    padding: 15px;
}

#mce-responses {
    padding: 0pt !important;
    margin: 0pt !important;
}

#mce-success-response {
    color: white !important;
    font-weight: normal !important;
}
