/*
 * University of Houston
 * UH Home Page Style Sheet
 * Created Summer 2014 by the UH Marketing Web Team
 * Contact Rainer Schuhsler for more information.
 *
 * Table of Contents:
 * ------------------
 * Base
 * Jumbotron
 * Audience gateway links
 * Features
 * Events
 * Spiff bank
 * Emergency
 * Media queries
 *
 */

/*
 * Base
 */

main {
    font-size: 0.8888888889em;
}

#main header h1 {
    border: none;
    font-weight: 200;
    margin: 0 0 5px -3px;
    padding: 0;
}

main h3 {
    font-size: 21px;
    font-weight: normal;
    letter-spacing: 0;
    line-height: 27px;
    margin: 12px 0 3px;
    text-transform: none;
}

main h1 a,
main h3 a {
    /*border-bottom: 1px solid transparent;*/
    /*-webkit-transition: border .1s;*/
            /*transition: border .1s;*/
}

main h1 a,
main h3 a {
    /*border-bottom: 1px solid transparent;*/
    /*-webkit-transition: border .1s;*/
            /*transition: border .1s;*/
}

main h1 a:hover,
main h3 a:hover {
    /*border-bottom: 1px solid #c8102e;*/
    text-decoration: underline;
}

main h1 a:hover {
    /*border-bottom: 1px solid #c8102e;*/
    text-decoration: none;
}

main h1 + h4 {
    color: #54585A;
    font-size: 16px;
    /*letter-spacing: 0.125em;*/
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
}

main ul {
    list-style: none;
    padding: 0;
}

main li {
    margin-bottom: 18px;
}

section header {
    border-bottom: 1px dotted #CBCBCB;
    border-bottom: 1px dotted rgba(0,0,0,.2);
    margin: 30px 0 20px;
    padding: 0 0 20px;
}

/*
 * Jumbotron
 */

.jumbotron {
    background: #1a1a1a url('/powerhouse/_img/powerhouse-banner-microscope.jpg') no-repeat right center;
    background-size: cover;
    /*height: 0;*/
    /*padding-bottom: 31.25%;*/
    padding: 0;
}

.jumbotron:hover {
    cursor: pointer;
}

.jumbotron .container {
    height: 440px;
    max-width: 1200px;
    position: relative;
}

.jumbotron *:hover,
.jumbotron *:active,
.jumbotron *:focus,
.jumbotron *:visited {
    text-decoration: none !important;
}

.jumbotron h2 {
    color: white;
    font-family: 'League Gothic', sans-serif;
    font-size: 96px;
    font-weight: normal;
    line-height: 0.95833333333333;
    letter-spacing: 0;
    margin: 40px 0 0 0;
    padding: 0;
    /*text-shadow: -0.05em 0.05em rgba(0,0,0,.75);*/
    text-transform: uppercase;
    width: 585px;
}

.jumbotron h2 span {
    /*position: relative;*/
    /*left: 0.5em;*/
}

.jumbotron p {
    color: white;
    font-family: 'Crimson', serif;
    font-size: 1.125em;
    line-height: 1.4em;
    margin: 1em 0;
    position: relative;
    text-shadow: 0 0 18px rgba(0,0,0,.125), 0 0 6px rgba(0,0,0,.5);
}

.jumbotron h3 {
    background: #c8102e;
    bottom: 95px;
    color: white;
    display: inline-block;
    font-size: 1.6875em;
    font-weight: normal;
    letter-spacing: 0;
    left: 30px;
    line-height: 50px;
    margin: 0 0 0 -50%;
    padding: 0 2px 0 50%;
    position: absolute;
    text-align: right;
    text-transform: none;
    width: 90%;
    -webkit-transition: left .5s ease;
    transition: left .5s ease;
}

.jumbotron .container:hover h3 {
    left: 55px !important;
}

.arrow {
    border-top: 45px solid transparent;
    border-bottom: 45px solid transparent;
    border-left: 45px solid #c8102e;
    height: 0;
    position: absolute;
    right: -44px;
    top: -20px;
    width: 0;
}

.jumbotron img {
    bottom: 100px;
    padding: 0 15px;
    position: absolute;
    right: 0;
    width: 50%;
}

.btn-powerhouse {
    background: rgba(0,0,0,.25);
    border: 1px solid white;
    border-radius: 5px;
    bottom: 30px;
    color: white;
    display: inline-block;
    font-weight: normal;
    font-size: 18px;
    line-height: 1;
    margin: 0 15px;
    opacity: 1;
    position: absolute;
    padding: 10px 15px;
    right: 0;
    text-shadow: 0 0 5px rgba(0,0,0,.25);
    -webkit-transition: background .1s, color .1s, border-color .1s, opacity .1s;
    transition: background .1s, color .1s, border-color .1s, opacity .1s;
}

.btn-powerhouse:hover,
.btn-powerhouse:focus,
.btn-powerhouse:active {
    background: rgba(0,0,0,.5);
    border-color: #FFF9D9;
    color: #FFF9D9;
    text-decoration: none;
}

@media screen and (min-width: 1280px) {
    .jumbotron {
        /*background-position: center top;*/
        /*background-size: auto 440px;*/
        max-height: none;
        max-width: 1920px;
        overflow-x: hidden;
        /*box-shadow: -1280px 0 0 #101010, 1280px 0 0 #101010;*/
    }
}

@media screen and (max-width: 1229px) {
    .jumbotron .container {
        max-width: 970px;
    }
}

@media screen and (max-width: 991px) {
    .jumbotron .container {
        max-width: 750px;
    }
    .jumbotron h3 {
        font-size: 1.3125em;
    }
    .jumbotron img {
        bottom: 108px;
    }
    .jumbotron .container:hover h3 {
        left: 30px !important;
    }
}

@media screen and (max-width: 767px) {
    .jumbotron {
        background-position: 75% bottom;
    }
    .jumbotron .container {
        height: auto;
        padding-bottom: 70px;
    }
    .jumbotron h2 {
        margin-top: 30px;
        text-shadow: -0.05em 0.05em rgba(0,0,0,.75);
        width: auto;
    }
    .jumbotron h3 {
        bottom: 0;
        font-size: 1.25em;
        left: 0;
        line-height: 40px;
        margin: .5em 0 1.5em -15px;
        padding-left: 15px;
        position: relative;
        width: 75%;
    }
    .jumbotron .container:hover h3 {
        left: 0 !important;
    }
    .arrow {
        border-width: 35px 0 35px 35px;
        right: -35px;
        top: -15px;
    }
    /*.jumbotron img {
        bottom: 0;
        padding: 0;
        position: relative;
        width: auto;
    }*/
    .jumbotron img {
        display: none;
    }
    .jumbotron p {
        margin-left: 0;
        padding: 0;
        top: 0;
        width: 100%;
    }
    .btn-powerhouse {
        left: 0;
        right: auto;
    }
}

@media screen and (max-width: 600px) {
    .btn-powerhouse {
        left: 0;
        right: 0;
        text-align: center;
    }
    .jumbotron h2 span {
        left: 0;
    }
}

@media screen and (max-width: 400px) {
    .jumbotron h2 {
        font-size: 72px;
    }
    .jumbotron h3 {
        width: auto;
    }
}

/*
 * Audience gateway links
 */

.gateways {
    background-color: #E5E5E5;
    background-color: rgba(0,0,0,.1);
    padding: 10px 0;
}

.gateways h2,
.gateways li {
    font-size: 16px;
    line-height: 30px;
}

.gateways h2 {
    color: #54585A;
    float: left;
    font-weight: bold;
    letter-spacing: 0.125em;
    margin: 0 20px 0 0;
    text-transform: uppercase;
}

.gateways ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gateways li {
    display: inline-block;
    margin: 0 20px 0 0;
    padding: 0;
}

/*
 * Features
 */

.uh-features header {
    border-bottom: none;
    margin-bottom: 0;
}

.uh-features h3 {
}

.uh-features p {
}

.uh-features ul {
    margin: 0 -15px;
    padding: 0;

}

.uh-features ul:before,
.uh-features ul:after {
    content: '';
    display: table;
}

.uh-features ul:after {
    clear: both;
}

.uh-features ul li {
    float: left;
    padding: 0 15px;

    width: 50%;
}

.uh-features ul li:first-child {
    float: none;
    width: 100%;
}

.uh-features ul li:nth-child(n+2) h3 {
    font-size: 1.125em;
    line-height: 21px;
}

.uh-features ul li:nth-child(n+2) p {
    line-height: 21px;
    margin: 0;
}

.uh-features ul li:nth-child(even) {
    clear: left;
}

/*
 * Events
 */

.uh-events dt {
    background: #eee;
    border-radius: 4px;
    clear: left;
    display: block;
    float: left;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    padding: 6px;
    text-align: center;
    width: 75px;
}

.uh-events dt,
.uh-events dt:first-child {
    margin: 2px 0 0;
}

.uh-events dd {
    display: block;
    padding: 0 0 0 90px;
    margin: 0 0 20px;
    min-height: 78px;
}

.uh-events dt span {
    display: block;
}

.uh-events dd h3 {
    margin-top: 0;
}

.uh-events dd p {
    margin-bottom: 0;
}

.uh-events .month {
}

.uh-events .day {
    font-size: 30px;
    padding: 1px;
}

/*
 * Spiff bank
 */

.spiff-bank {
    background-color: #FFF9D9;
    color: #333;
    font-size: 16px;
    line-height: 30px;
    margin: 0;
    padding: 30px 0 0;
}

.spiff-bank .links-list,
.spiff-bank .spiff {
    margin-bottom: 30px;
}

.spiff-bank .links-list h2 {
    border-bottom: 1px dotted #CBC6AC;
    border-bottom: 1px dotted rgba(0,0,0,.2);
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.125em;
    line-height: 21px;
    padding-bottom: 12px;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.spiff-bank .links-list ul {
    list-style: none;
    margin: 0 ;
    padding: 0;
}

.spiff-bank p {
    line-height: 21px;
    margin: 0;
}

.spiff h3 {
    font-size: 1.125em;
    line-height: 21px;
}

/*
 * Emergency
 */

.emergency {
    background: #F6BE00;
    color: #000;
    padding: 45px 0 30px;
}

.emergency h1 {
    color: #c8102e;
    font-weight: bold;
    margin-top: 0;
}

.emergency p {

}

/*
 * Media queries
 */


@media screen and (max-width: 991px) {
    .gateways h2 {
        float: none;
    }
}

@media screen and (max-width: 767px) {
    .uh-features ul {
        padding-left: 15px;
    }
    .uh-features ul li {
        padding: 0 15px 0 0;
    }
}


@media screen and (min-width: 480px) {
    .spiff-bank .links-list,
    .spiff-bank .spiff {
        float: left;
        width: 50%;
    }
    .spiff-bank .spiff {
        clear: left;
    }
    .spiff-bank .spiff + .spiff {
        clear: none;
    }
}

@media screen and (min-width: 768px) {
    .spiff-bank {
        padding: 30px 0;
    }
    .spiff-bank .links-list,
    .spiff-bank .spiff {
        margin-bottom: 0;
        width: 25%;
    }
    .spiff-bank .spiff {
        clear: none;
    }
}
