/**
 * Theme Name:   Curtin Site 2016 - Central Homepage Child Theme
 * Theme URI:    http: //www.curtin.edu.au/
 * Author:       Curtin University
 * Author URI:   http: //www.curtin.edu.au
 * Description:  WordPress Theme for Curtin Sites
 * Template:     curtin-site-2016
 * Version:      1.14
 */


@media only screen and (min-width: 1024px) {

    .page--home .feature:not(.open-day) .box--overlay__panel {
        margin-top: 33vh;
    }

    .page--home .feature.open-day .box--overlay__panel {
        margin-top: 16rem;
    }

    .page--home .feature.open-day .open-day__logo {
        top: 40px;
    }

    .page--home .feature.box--overlay .box--overlay__blur {
        clip: rect(33vh, auto, auto, 0);
    }
}

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

    .page--home .hero-space:not(.open-day) {
        background: #000 !important;
        display: block;
        align-items: flex-start;
    }

    .page--home .hero-space:not(.open-day) .box--overlay__blur {
        display: none;
    }

    .page--home .hero-space:not(.open-day) .box--overlay__panel {
        background: none;
        margin-top: 0;
    }

    .page--home .hero-space:not(.open-day) .hero-space__mobile-banner-wrap {
        display: block !important;
        width: 100%;
        height: auto;
        padding-top: 35%;
        position: relative;
        overflow: hidden;
    }

    .page--home .hero-space:not(.open-day) .hero-space__mobile-banner {
        position: absolute;
        width: 100%;
        max-width: none;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

}

@media only screen and (max-width: 600px) {
    .page--home .hero-space:not(.open-day) .hero-space__mobile-banner-wrap {
        padding-top: 40%;
    }
}

@media only screen and (max-width: 500px) {
    .page--home .feature:not(.open-day) .box--overlay__footer {
        margin-top: 0.5rem;
    }

    .page--home .feature:not(.open-day) .box--overlay__panel .button {
        margin-top: 0;
        margin-bottom: 0;
    }

    .page--home .feature:not(.open-day) .hero-space__mobile-banner-wrap {
        padding-top: 35%;
    }
}
