/**
 * Wrapper.
 */
#wrapper {
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

@media screen and (max-width: 900px) {
    #wrapper {
        border: 0;
    }
}

/**
 * Logo.
 */
#logo {
    float: right;
    margin-top: 2em;
    margin-bottom: 2.5em;
    margin-right: 2em;
}

#logo img {
    transition: all .5s ease-in-out;
}

@media screen and (max-width: 600px) {
    #logo {
        margin-right: 1em;
    }

    #logo img {
        height: 70px;
    }
}

/**
 * Headline.
 */
#headline {
    clear: both;
    overflow: hidden;
    margin-bottom: 0;
}

/**
 * Square.
 */
#square {
    background: #be505a;
    border-radius: 10px;
    height: 80px;
    width: 80px;
    margin-left: 2em;
    transition: all 1s ease-in-out;
}

.yellow #square {
    background: #ffc800;
}

@media screen and (max-width: 850px) {
    #square {
        height: 40px;
        width: 40px;
    }
}

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

/**
 * Title.
 */
#title {
    background: #fff;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    width: 86%;
    float: right;
    padding: 12px 20px;
    margin: 0;
    min-height: 80px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    transition:all 0.3s ease-in;
}

@media screen and (max-width: 600px) {
    #headline {
        padding-left:1em;
    }
    #title {
        width: 100%;
        margin-left: .65em;
        padding-left: 12px;
        font-size: 16px;
        line-height: 23px;
    }
}

/**
 * Introduction.
 */
#introduction {
    clear: both;
    padding: 3.5em 2em 1em;
}

@media screen and (max-width: 600px) {
    #introduction {
        padding: 1.5em 1em 0.5em;
    }
}

/**
 * Additional.
 */
#additional,
#information,
#more,
#next-steps {
    overflow: hidden;
}

@media screen and (min-width: 601px) {
    #information {
        margin-bottom: 1em;
    }
}

/**
 * Column.
 */
.first {
    padding-left: 2em;
    padding-right: 1em;
    width: 50%;
    display: inline-block;
    float: left;
    clear: both;
}

.second {
    padding-left: 1em;
    padding-right: 2em;
    width: 50%;
    display: inline-block;
}

@media screen and (max-width: 600px) {
    .first,
    .second {
        padding-left: 1em;
        padding-right: 1em;
        width: 100%;
        float: none;
        display: block;
        margin-bottom: 1.5em;
    }
}

.first.full {
    width: 98%;
}

/**
 * Location.
 */
#location {
    margin-bottom: 2em;
    display: flex;
    flex-direction: column;
}

/**
 * About.
 */
#about {
    margin-top: 2em;
    padding: 2em 0 5em;
    background: #eaeaea;
}

#about-title {
    display: table;
    width: auto;
    text-align: right;
    padding-left: 2em;
}

@media screen and (max-width: 600px) {
    #about {
        margin-top: 0;
        padding-top: 1em;
        padding-bottom: .5em;
    }

    #about-title {
        padding: 0 1em;
        text-align: left;
    }
}

/**
 * Benefits.
 */
@media screen and (max-width: 600px) {
    #benefits h3 {
        margin-top: 0;
    }
}

/**
 * More information.
 */
#application,
#more-information,
#questions {
    margin-bottom: 2em;
}

#more-information p {
    margin: 20px 0 0;
}

#application {
    display: flex;
    justify-content: space-between;
    position: relative;
    min-height: 140px;
    gap: 20px;
}

@media screen and (max-width: 600px) {
    #application,
    #more-information,
    #questions {
        margin-bottom: 1em;
        min-height: auto;
    }

    #questions {
        margin-top: 30px;
    }

    #more-information p {
        margin: 10px 0 0;
    }
}

#questions p {
    margin-bottom: 0;
}

/**
 * Job image.
 */
#job-image {
    margin: 3em 2em 2em;
    overflow: hidden;
    clear: both;
}

#job-image .picture img {
    width: 100%;
    height: auto;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

@media screen and (max-width: 600px) {
    #job-image {
        margin: 1em;
    }
}

/**
 * Company.
 */
#company {
    padding: 0 2em 1em;
}

@media screen and (max-width: 600px) {
    #company {
        padding: 0 1em 1em;
    }
}

/**
 * Footer.
 */
#footer {
    border-top: 3px solid #be505a;
    background: #5c5c4c;
    color: #fff;
    height: 210px;
}

.yellow #footer {
    border-top: 3px solid #ffc800;
}

#footer a {
    color: #fff;
}

#footer #socials {
    position: relative; /* DO NOT REMOVE: important for popup */
    margin: 4em 0;
    text-align: center;
}

#footer #socials .print span {
    margin-right: 40px;
}

#footer #socials .svg {
    margin-right: 8px;
}

@media screen and (max-width: 600px) {
    #footer {
        height: 170px;
    }

    #footer #socials {
        margin: 2em 0 3em;
    }

    #footer #socials .print {
        display: none;
    }
}

#footer #to-the-top {
    text-align: center;
}

#footer #to-the-top .svg {
    display: block;
    margin: 0 auto;
}

/**
 * Button.
 */
@media screen and (max-width: 600px) {
    .button {
        width: 100%;
        display: block;
    }
}

/**
 * Desktop - Mobile.
 */
.img-mobile {
    display: none;
}
@media screen and (max-width: 600px) {
    .img-mobile {
        display: block;
    }
    .img-desktop {
        display: none;
    }
}