/* CSS Document */

body#home #hpboxes {
    position: relative;
    display: block;
    width: 100%;
    height: 280px !important;
    margin: 0;
}

body#home #hpboxes .hprow1,
body#home #hpboxes .hprow2 {
    position: relative;
    display: block;
    width: 25%;
    height: 280px !important;
    min-height: 280px;
    max-height: 280px;
    overflow: hidden;
    float: left;
    background: #222;
    font-family: "Source Sans Pro", "SourceSans", Helvetica, Arial, sans-serif;
    font-size: 1.0em;
    line-height: 1.1em;
    color: #FFF;
    margin: 0;
}

body#home #hpboxes .hprow1 h3,
body#home #hpboxes .hprow2 h3 {
    font-family: "Source Sans Pro", "SourceSans", Helvetica, Arial, sans-serif;
    position: relative;
    top: 0px;
    height: 10px;
    margin: 0px;
    padding: 10px 0px 60px 0px;
    z-index: 31;
    font-size: 1.5em;
    line-height: 1.5em;
    color: #FFFFFF;
}

body#home #hpboxes .hprow1 a,
body#home #hpboxes .hprow2 a {
    margin: 0px;
    padding: 10px;
    font-family: "Source Sans Pro", "SourceSans", Helvetica, Arial, sans-serif;
    font-size: 1.0em;
    line-height: 1.1em;
    color: #fff;
    display: block;
    background-image: url(https://www.bard.edu/images/tints/80black.png);
    background-repeat: repeat;
    background-position: 0 0;
    height: 330px;
}

body#home #hpboxes .hprow2 a:hover,
body#home #hpboxes .hprow2 a:active {
    text-decoration: none;
}

body#home #hpboxes .hprow1 img,
body#home #hpboxes .hprow2 img {
    width: 100%;
    height: auto !important;
    z-index: 30;
    object-fit: cover;
    min-height: 280px;
}

body#home #hpboxes .hprow1 #embedshell {
    width: 100%;
    height: 280px !important;
    overflow: hidden;
}

body#home #hpboxes .hprow1 iframe {
    width: 100%;
    height: 210px;
    z-index: 5;
}

/* animated text box on HP Boxes */
body#home #hpboxes .hprow1 .hprowtext {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: -270px;
    border-radius: 0px;
}

body#home #hpboxes .hprow1:hover .hprowtext {
    margin-bottom: -150px;
    text-decoration: none;
}

body#home #hpboxes .hprow1 .hprowtext a:link,
body#home #hpboxes .hprow1 .hprowtext a:visited,
body#home #hpboxes .hprow1 .hprowtext a:hover,
body#home #hpboxes .hprow1 .hprowtext a:active {
    text-decoration: none;
}

body#home #hpboxes .hprow1 .hprowvideo {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: -300px;
    border-radius: 0px;
    overflow: hidden;
}

body#home #hpboxes .hprow1:hover .hprowvideo {
    margin-bottom: -300px;
    overflow: hidden;
}

body#home #hpboxes .hprow1 .hprowvideo h3 {
    display: none;
}

body#home #hpboxes .hprow1:hover .hprowvideo h3 {
    display: none;
}

body#home #hpboxes .hprowtext {
    -webkit-transition: all 0.7s ease;
    transition: all 0.7s ease;
}


/* ---------------------------- Desktop ONLY  STYLES ------------------------ */

@media only screen and (min-width: 901px) and (max-width: 1000px) {}


/* ---------------------------- TABLET  STYLES ------------------------ */

@media only screen and (min-width: 601px) and (max-width: 900px) {


    body#home #hpboxes .hprow1,
    body#home #hpboxes .hprow2 {
        position: relative;
        display: block;
        width: 50%;
        height: 280px !important;
        min-height: 280px;
        max-height: 280px;
        overflow: hidden;
        float: left;
        background: #FFF;
        font-family: "Source Sans Pro", "SourceSans", Helvetica, Arial, sans-serif;
        font-size: 1.0em;
        line-height: 1.1em;
        color: #FFF;
        margin: 0;
    }

    body#home #hpboxes .hprow1 h3,
    body#home #hpboxes .hprow2 h3 {
        font-family: "Source Sans Pro", "SourceSans", Helvetica, Arial, sans-serif;
        position: relative;
        top: 0px;
        height: 10px;
        margin: 0px;
        padding: 10px 0px 60px 0px;
        z-index: 31;
        font-size: 1.3em;
        line-height: 1.3em;
        color: #FFFFFF;
    }

    body#home #hpboxes .hprow1 a,
    body#home #hpboxes .hprow2 a {
        margin: 0px;
        padding: 10px;
        font-family: "Source Sans Pro", "SourceSans", Helvetica, Arial, sans-serif;
        font-size: 1.3em;
        line-height: 1.5em;
        color: #fff;
        display: block;
        background-image: url(https://www.bard.edu/images/tints/80black.png);
        background-repeat: repeat;
        background-position: 0 0;
        height: 400px;
    }

    body#home #hpboxes .hprow2 a:hover,
    body#home #hpboxes .hprow2 a:active {
        text-decoration: none;
    }

    body#home #hpboxes .hprow1 img,
    body#home #hpboxes .hprow2 img {
        width: 100%;
        height: 280px !important;
        z-index: 30;
    }

    body#home #hpboxes .hprow1 #embedshell {
        width: 100%;
        height: 280px !important;
        overflow: hidden;
    }

    body#home #hpboxes .hprow1 iframe {
        width: 100%;
        height: 210px;
        z-index: 5;
    }

    /* animated text box on HP Boxes */
    body#home #hpboxes .hprow1 .hprowtext {
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        margin-bottom: -360px;
        border-radius: 0px;
    }

    body#home #hpboxes .hprow1:hover .hprowtext {
        margin-bottom: -200px;
        text-decoration: none;
    }

    body#home #hpboxes .hprow1 .hprowtext a:link,
    body#home #hpboxes .hprow1 .hprowtext a:visited,
    body#home #hpboxes .hprow1 .hprowtext a:hover,
    body#home #hpboxes .hprow1 .hprowtext a:active {
        text-decoration: none;
    }

}

/* ---------------------------- MOBILE ONLY  STYLES ------------------------ */

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

    body#home #hpboxes {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
        height: auto !important;
    }

    body#home #hpboxes .hprow1,
    body#home #hpboxes .hprow2 {
        position: relative;
        display: block;
        width: 90%;
        height: 280px !important;
        min-height: 240px;
        max-height: 240px;
        overflow: hidden;
        float: left;
        background: #FFF;
        font-family: "Source Sans Pro", "SourceSans", Helvetica, Arial, sans-serif;
        font-size: 1.0em;
        line-height: 1.3em;
        color: #FFF;
        margin: 0;
    }

    body#home #hpboxes .hprow1 h3,
    body#home #hpboxes .hprow2 h3 {
        font-family: "Source Sans Pro", "SourceSans", Helvetica, Arial, sans-serif;
        position: relative;
        top: 0px;
        height: 10px;
        margin: 0px;
        padding: 0px 0px 60px 0px;
        z-index: 31;
        font-size: 1.3em;
        line-height: 1.3em;
        color: #FFFFFF;
    }

    body#home #hpboxes .hprow1 a,
    body#home #hpboxes .hprow2 a {
        margin: 0px;
        padding: 10px;
        font-family: "Source Sans Pro", "SourceSans", Helvetica, Arial, sans-serif;
        font-size: 1.0em;
        line-height: 1.1em;
        color: #fff;
        display: block;
        background-image: url(https://www.bard.edu/images/tints/80black.png);
        background-repeat: repeat;
        background-position: 0 0;
        height: 260px;
    }

    body#home #hpboxes .hprow2 a:hover,
    body#home #hpboxes .hprow2 a:active {
        text-decoration: none;
    }

    body#home #hpboxes .hprow1 img,
    body#home #hpboxes .hprow2 img {
        width: 100%;
        height: 280px !important;
        z-index: 30;
    }

    body#home #hpboxes .hprow1 #embedshell {
        width: 100%;
        height: 280px !important;
        overflow: hidden;
    }

    body#home #hpboxes .hprow1 iframe {
        width: 100%;
        height: 210px;
        z-index: 5;
    }

    /* animated text box on HP Boxes */
    body#home #hpboxes .hprow1 .hprowtext {
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        margin-bottom: -200px;
        border-radius: 0px;
    }

    body#home #hpboxes .hprow1:hover .hprowtext {
        margin-bottom: -90px;
        text-decoration: none;
    }

    body#home #hpboxes .hprow1 .hprowtext a:link,
    body#home #hpboxes .hprow1 .hprowtext a:visited,
    body#home #hpboxes .hprow1 .hprowtext a:hover,
    body#home #hpboxes .hprow1 .hprowtext a:active {
        text-decoration: none;
    }

}