.ut {
    color: #BA1C21;
    font-weight: bold;
}
#wrapper{
    display: grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
}

#bluebar{
    background-color: #003058;
    grid-row: 1 / 2;
    grid-column: 1 / -1;
}

#greybar{
    background-color: #424242;
    grid-row: 2 / 3;
    grid-column: 1 / -1;
}


#homehero{
    background-image: url("homehero.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 300px;
    grid-column: 1 / -1;
    grid-row: 3 / 4;

}
#studenthero{
    background-image: url("studenthero.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 300px;
    grid-column: 1 / -1;
    grid-row: 3 / 4;
    
}
#facultyhero{
    background-image: url("facultyhero.jpg");
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-column: 1 / -1;
    grid-row: 3 / 4;
}

#alumnihero{
    background-image: url("alumnihero.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 300px;
    grid-column: 1 / -1;
    grid-row: 3 / 4;
}


footer{
    font-size: .70rem;
    font-style: italic;
    text-align: center;
    padding: 1rem;
    grid-column: 2 / -2;
    grid-row: 5 / 6;
}

h2{
    color: #424242;
    font-family: Georgia;
}

video{
    float: right;
    margin-left: 2em;
}

h3{
    color: #003058;
}

main{
    padding-left: 2rem;
    padding-right: 2rem;
    grid-column: 2 / -2;
    grid-row: 4 / 5;
    background-color: #FFFFFF;
}

nav{
    font-weight: bold;
    background-color: #424242;
    position: sticky;
    top: 0;
    grid-column: 2 / -2;
    grid-row: 2 / 3;
}
nav ul{
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-flow: nowrap;
    list-style-type: none; 

}
nav ul li{
    width: 100%;

}

nav a{ 
    text-decoration: none; 
    color: #FFFFFF;
    padding: 1rem 0rem;
    display: block;
    text-align: center;
    transition: background-color 0.5s ease-out;

}

nav a:hover{
    background-color: #BA1C21;
}

header h1{
    background-image: url("utahtechlogo.svg");
    background-position: right;
    background-repeat: no-repeat;
    line-height: 140%;
    padding: .5rem;
    padding-left: 1rem;
    background-origin: content-box;
    margin: 0;
    
}

header a{
    text-decoration: none;
    color: #ffffff;
}
main img{
    padding-left: 2rem;
    float: right;
}

header{
    background-color: #003058;
    color: #FFFFFF;
    font-family: Georgia;
    grid-column: 2 / -2;
    grid-row: 1 / 2;
    text-decoration: none;
}
body{
    background-color: #FFFFFF;
    color: #666666;
    margin: 0px;
    font-family: Verdana;
    background-attachment: fixed;
    background-image: linear-gradient(to bottom,#eeeeee ,#ffffff);
}
dt{
    color: #003058;
    font-weight: bold;
}

form{
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 200px 1fr;
    grid-gap: .75rem;
    width: 100%;
    
}
input, textarea{
    font-size: 1rem;
    padding: 10px;
    color: #666666;
    background-color: #fafafa;
    border: none;
}

input:focus, textarea:focus{
    outline: none;
    background-color: #f0f0f0;
}

label{
    padding: 10px;
    text-align: right;
}
#mySubmit{
    width: 10rem;
    grid-column: 2 / 3;
    
}

table{
    margin: 0 auto;
    border: 1px solid #424242;
    width: 100%;
    border-collapse: collapse;
}
td, th{
    padding: 5px;
    border: 1px solid #424242;
    
}

td{
    text-align: center;
}

.tdleft{
    text-align: left;
}

tr:nth-of-type(even) {
    background-color: #F3F3F3;
  }

* {
    box-sizing: border-box;
}

@media only screen and (max-width: 1100px){
    #wrapper {
        display: grid;
        grid-template-columns: 1fr repeat(6, minmax(0, 150px)) 1fr;
        
    }
}

@media only screen and (max-width: 900px){
    nav {
        grid-row: 2 / 3; 
        grid-column: 1 / 5;
        position: static;
    }
    
    nav ul {
        flex-flow: column nowrap;
    }

    #homehero {
        grid-row: 2 / 3;
        grid-column: 5 / 8; 
        height: auto; 
    }

    #studenthero {
        grid-row: 2 / 3;
        grid-column: 5 / 8; 
        height: auto; 
    }

    #facultyhero {
        grid-row: 2 / 3;
        grid-column: 5 / 8; 
        height: auto; 
    }

    #alumnihero {
        grid-row: 2 / 3;
        grid-column: 5 / 8; 
        height: auto; 
    }

    main img{
        float: none;
        width: 100%;
        height: auto;
        padding-left: 0px;
    }

    video{
        float: none;
        margin: 0;
        width: 100%;
        height: auto;
    }

   
}



@media only screen and (max-width: 600px){
    header h1{
        background-image: none;
        text-align: center;
    }

    nav {
        grid-row: 2 / 3; 
        grid-column: 1 / -1;
        position: static;
    }
    #homehero {
        display: none; 
    }

    #studenthero {
        display: none;
    }

    #facultyhero {
        display: none;
    }
    #alumnihero {
        display: none;
    }
}