@media screen and (max-width: 1024px) {

    .refbox_container {
        width: 100%;
        padding: 0 50px;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .refbox_element {
        width: 49%;
        display: inline-block;
        margin-top: 30px;
    }

    .refbox_element_wide {
        width: 99%;
        height: 500px;
        display: inline-block;
    }

    .refbox_img {
        height: 250px;
        width: 100%;
        background: center / cover no-repeat;
        padding: 10px 0 0 10px;
    }

    .refbox_img_wide {
        height: 280px;
        width: 100%;
        background: center / cover no-repeat;
        padding: 10px 0 0 10px;
    }

    .refbox_cat {
        width: 50%;
        padding: 5px;
        background: #fff;
        color: #222;
        text-align: center;
        text-transform: uppercase;
        font: 600 16px Montserrat, sans-serif;
        border: 1px solid #ddd;
    }

    .refbox_text_container {
        width: 100%;
        min-height: 250px;
        padding: 0 20px;
        font-weight: 400;
        transition: all .5s ease;
    }

    .refbox_title {
        margin: 15px 0 25px !important;
        line-height: 1.75;
        text-transform: uppercase;
        font: 500 20px Montserrat, sans-serif;
    }

    .refbox_excerpt {
        margin-top: -20px;
        line-height: 1.75;
        font: 400 15px Montserrat, sans-serif;
    }

    .refbox_url {
        position: absolute;
        width: 43%;
        height: 526px;
        border: none;
        z-index: 1;
        transition: all .3s ease;
    }

    .refbox_url:hover {
        background-color: rgba(0, 0, 0, .08);
    }

    .refbox_url_wide {
        position: absolute;
        width: 97.8%;
        height: 500px;
        border: none;
        z-index: 1;
        transition: all .3s ease;
    }

    .refbox_url_wide:hover {
        background-color: rgba(0, 18, 107, .06);
    }

    .refbox_emptyres {
        font: 600 22px Montserrat, sans-serif;
        text-align: center;
    }

    .reflinks {
        display: inline-block;
        width: 25%;
        padding: 5px 20px;
        text-transform: uppercase;
        font: 600 14px Montserrat, sans-serif;
        color: #222;
        transition: all .5s ease;
    }

    .reflinks:hover {
        color: #fff;
        background: #222;
    }

    .ansatte_container {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: 25px;
    }

    .ansatte_element {
        width: 100%;
        min-height: 350px;
        display: inline-flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        font-family: Montserrat, sans-serif;
        margin: 12px;
        padding: 30px;
        background: #f9f9f9;
        color: #000;
    }

    .ansatt_image_container {
        width: 25%;
        background: center / cover no-repeat;
    }

    .ansatt_text_container {
        width: 75%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        padding-left: 2rem;
    }

    .ansatt_name {
        width: 100%;
        font-weight: 700;
    }

    .ansatt_stilling,
    .ansatt_mobil,
    .ansatt_telefon,
    .ansatt_email {
        width: 100%;
        font-weight: 400;
    }

    .ansatte_element a {
        color: #00126b;
    }

    .seperator {
        width: 25%;
        height: 1px;
        border: 1px solid #00126b;
        border-radius: 10px;
        background: #00126b;
        margin: 5px 0;
    }

    .tagbox {
        width: 100%;
        text-align: center;
        text-transform: uppercase;
        font-family: Montserrat, sans-serif;
    }

    .tag {
        font-weight: 400;
    }

    /* Teddy refs */
    .teddy_refbox_container {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .teddy_refbox_element {
        width: 47.5%;
        display: inline-block;
        margin-top: 30px;
        margin-left: 10px;
        height: 400px;
        background: #eee;
    }

    .teddy_refbox_img {
        height: 180px;
        width: 100%;
        background: center / cover no-repeat;
        padding: 10px 0 0 10px;
    }

    .teddy_refbox_cat {
        max-width: 75%;
        padding: 5px;
        background: #fff;
        color: #222;
        text-align: center;
        text-transform: uppercase;
        font: 600 16px Montserrat, sans-serif;
        border: 1px solid #ddd;
    }

    .teddy_refbox_text_container {
        width: 100%;
        min-height: 250px;
        padding: 15px 30px;
        font-weight: 400;
        transition: all .5s ease;
    }

    .teddy_refbox_title {
        margin: 5px 0 20px !important;
        line-height: 1.75;
        text-transform: uppercase;
        font: 600 18px Montserrat, sans-serif;
    }

    .teddy_refbox_excerpt {
        margin-top: -20px;
        line-height: 1.75;
        font: 400 12px Montserrat, sans-serif;
    }

    .teddy_refbox_url {
        position: absolute;
        width: 32%;
        height: 400px;
        border: none;
        z-index: 1;
        transition: all .3s ease;
    }

    .teddy_refbox_url:hover {
        background-color: rgba(0, 0, 0, .08);
    }

    .teddy_refbox_url_wide:hover {
        background-color: rgba(0, 18, 107, .06);
    }

    .teddy_refbox_url_referanse {
        position: absolute;
        width: 32%;
        height: 250px;
        border: none;
        z-index: 1;
        transition: all .3s ease;
    }

    .teddy_refbox_url_referanse:hover {
        background-color: rgba(0, 0, 0, .25);
    }

    .teddy_refbox_emptyres {
        font: 600 22px Montserrat, sans-serif;
        text-align: center;
    }

}