﻿.contactintro__row button, .whyjobseekers__row button, .modal-content button {
    background-color: var(--atp-blue);
    border-radius: 25px;
    margin-top: 0.5em;
    padding: 0.5em 0.75em;
    color: #fff;
    text-transform: uppercase;
    font-family: 'LemonMilk Light', serif;
    font-weight: 600;
    font-size: var(--blue-subtext-font-size);
    letter-spacing: 4px;
}

    .contactintro__row button:hover, .whyjobseekers__row button:hover, .modal-content button:hover {
        background-color: var(--atp-black);
        color: #fff;
    }

.whyjobseekers__row button {
    position: absolute;
    right: 3em;
    bottom: 2em;
}

.modal-dialog {
    width: 75%;
    max-width: 75%;
}

.modal-title {
    padding-left: 0.25em;
}

.modal-content {
    padding: 1.25em;
}

    .modal-content > form > div {
        display: flex;
        -webkit-justify-content: space-evenly;
        justify-content: space-evenly;
    }

        .modal-content > form > div > div {
            flex-grow: 1;
            padding: 0.25em;
        }

    .modal-content label, .modal-content input, .modal-content span {
        display: block;
        font-family: AvenirNext-Regular,serif;
        font-style: normal;
        font-weight: 400;
        font-size: var(--paragragh-font-size);
        color: var(--atp-black);
        margin-bottom: 0.5em;
    }

    .modal-content input {
        margin-bottom: 0;
        width: 100%;
    }

    .modal-content span {
        display: inline;
        vertical-align: middle;
    }

    .modal-content input[type='checkbox'] {
        height: 1em;
        width: 1em;
        display: inline;
    }

    .modal-content button {
        float: right;
    }

@media only screen and (max-width: 718px) {
    .contactopening__row {
        background-image: url("../../static/image/ContactOpening@M.jpg");
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        padding: var(--section-padding);
        margin-left: -15px;
        margin-right: -15px;
        text-align: center;
        position: relative;
        z-index: -1;
    }

        .contactopening__row::after, .whyjobseekers__row::after {
            background-color: rgba(255,255,255,0.75);
            top: 0;
            left: 0;
            content: "";
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 0;
        }

        .contactopening__row h1{
            font-size:2em;
        }

        .contactopening__row h1, .whyjobseekers__row h1, .whyjobseekers__row h2, .whyjobseekers__row p, .whyjobseekers__row button {
            position: relative;
            z-index: 1;
        }

    .contactintro__row {
        background-color: #fff;
        text-align: center;
        padding: var(--section-padding);
    }

        .contactintro__row .col-md-1 {
            margin: 2em 0;
            border-bottom: 1px solid var(--atp-black);
        }

            .contactintro__row .col-md-1 svg {
                display: none;
            }

    .whyjobseekers__row {
        background-image: url("../../static/image/WhyJobSeekers@M.jpg");
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        padding: var(--section-padding);
        margin-left: -15px;
        margin-right: -15px;
        text-align: center;
        position: relative;
        z-index: -1;
    }

        .whyjobseekers__row button{
            right:unset;
            bottom:unset;
        }

    .modal-dialog {
        width: unset;
        max-width: unset;
    }

    .modal-content > form > div {
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        flex-direction: column;
    }

    .modal-title{
        text-align:center;
    }

    .modal-content button{
        float:unset;
        display:block;
        margin-left:auto;
        margin-right:auto;
    }
}

@media only screen and (min-width: 719px) {
    .contactopening__row {
        background-image: url("../../static/image/ContactOpening@0.75x.jpg");
        height: 16em;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        background-position-y: bottom;
        display: block;
        position: relative;
        margin-left: -15px;
        margin-right: -15px;
        z-index: -1;
    }

        .contactopening__row div {
            text-align: right;
            z-index: 1;
            position: absolute;
            right: 2em;
            top: 5em;
        }

        .contactopening__row h1 {
            margin-bottom: 0;
            font-size: 2em;
        }

    .contactintro__row {
        background-color: #fff;
        height: 16em;
        text-align: center;
        padding: var(--section-padding);
        -webkit-align-items: center;
        align-items: center;
    }

        .contactintro__row .col-md-1 {
            height: 100%;
            text-align: center;
        }

            .contactintro__row .col-md-1 svg {
                height: 100%;
            }

    .whyjobseekers__row {
        background-image: url("../../static/image/WhyJobSeekers@0.75x.jpg");
        height: 20em;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        background-position-y: bottom;
        display: block;
        position: relative;
        margin-left: -15px;
        margin-right: -15px;
        z-index: 0;
        padding: 1em 3em 3em 55%;
    }

        .whyjobseekers__row::after {
            background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300'%3E%3Cpolygon fill='%23fff' points='600,0 200,0 225,150 125,225 50,300 600,300'%3E%3C/polygon%3E%3C/svg%3E");
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;
            height: 20em;
            width: 100%;
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
            content: "";
            display: block;
        }

        .whyjobseekers__row p:last-of-type {
            margin-bottom: 0;
        }
}

@media only screen and (min-width: 2560px) {
    .contactopening__row {
        background-image: url("../../static/image/ContactOpening.jpg");
    }

    .whyjobseekers__row {
        background-image: url("../../static/image/WhyJobSeekers.jpg");
    }
}
