 * { box-sizing: border-box; }

body {background-color:#FFFFFF;
        color:#666666;
        font-family:sans-serif;
    background-image:  linear-gradient(#eeeeee, #ffffff);
    background-attachment: fixed;
    margin: 0px;}


header {
    background-color:#BA1C21;
    color:#FFFFFF;
    font-family:serif;
    grid-column: 2 / -2;
    grid-row: 1 / 2;}


header h1 {
    padding-left: 0.5rem;
    margin: 0}


header a {color: #ffffff;
        text-decoration: none;}


main {padding-left: 2em;
    padding-right: 2em;
    font-weight: bold;
    background-color: #ffffff;
    padding-top: 1px;
    padding-bottom: 1px;
    grid-column: 2 / -2;
    grid-row: 5 / 6;}


h1 {line-height:240%; 
    background-image:url("images/dsu.jpg");
    background-repeat: no-repeat;
    background-position: right;
        padding-left: 1em;  
        height:72px;}


video {
    display: flex;
    float: right;
    margin-left: 2em;
}



h2 {color:#424242;
      font-family: serif}

h3 {color:#BA1C21}

nav {
    /* padding-top: 20px;
    padding-right: 5px;
    padding-bottom: 0;
    padding-left: 20px; */
    background-color: #424242;
    grid-column: 2 / -2;
    grid-row: 2 / 3;
}

nav a {
    column-rule: #ffffff;
    padding: 1rem 0rem;
    display: block;
    position: sticky;
    top: 0;
    text-decoration: none;
    padding-left: 95px;
    padding-right: 95px;
    display: flex;
    flex-flow: row nowrap;

    
    }

nav a:hover { background-color: #BA1C21;
    transition: background-color 0.5s}


nav ul { 
    list-style-type: none;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0x;
    display: flex;
    flex-flow: row nowrap;
    text-align: center;
}



nav ul il {
    width:100%;
    
}

table ,tr ,td {
    border: 1px solid #424242;
    
}


table {
    margin: 0 auto;
    width: 100%;
    border-collapse: collapse;
}

td {
    padding: 5px;
    border: 1px solid #424242;
}

td:nth-of-type(2) {
    text-align: center;
}


td:nth-of-type(3) {
    text-align: center;
}




form {
    display: grid;
    grid-template: auto;
    grid-template-columns: 200px 1fr;
    column-gap: 0.75rem;
    width: 100%;
    text-align: right;
    border: none;
    
    
    
    
}

imput, text {
    font-size: 1rem;
    padding: 10px;
    color: #666666;
    background-color: #fafafa;
    border: none;
    
}

imput, text:focus {
    outline: none;
    background-color: #f0f0f0
}


selecter {
    padding: 10px;
    text-align: right;
}



a {text-decoration: none;
    color: #ffffff}

tr:nth-of-type(2n) {
    background-color: #F3F3F3;
}

dt {color:#BA1C21;
      font-weight:bold}


.mySubmit {
    width: 10rem;
    grid-column: 2 / 3;
}

.dsu {color:#BA1C21;
    font-size:1.2em;}

.clear {clear: both;}


.text {text-align: left; !importent!
}



footer {font-size:small;
    padding: 1em;
        font-style:italic;
        text-align:center;
    background-color: #ffffff;
    margin-left: 170px;}

footer a {color:#BA1C21;
            text-decoration: underline;}


section {float: left;
        width: 33%;
        padding-right: 1rem;}

#redbar {
    background-color: #BA1C21;
    grid-column: 1 / -1;
    grid-row: 1 / 2;
}


#greybar {
    background-color: #424242;
    grid-column: 1 /-1;
    grid-row: 2 / 3;
}


#wrapper{
    display: grid;
    grid-auto-rows: minmax(0px, auto)  auto;
    grid-template-columns:minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
}




#homehero {height: 300px;
    background-size: cover;
    background-image:         url("images/homehero.jpg");
    background-position: center;
    grid-column: 1 / -1;
    grid-row: 3 / 4}


#studenthero{height: 300px;
    background-size: cover;
    background-image: url(images/studenthero.jpg);
    background-position: center;
    grid-column: 1 / -1;
    grid-row: 3 / 4}



#facultyhero {height: 300px;
    background-size: cover;
    background-image:         url("images/facultyhero.jpg");
    background-position: center;
    grid-column: 1 / -1;
    grid-row: 3 / 4}


#alumnihero{height: 300px;
    background-size: cover;
    background-image: url(images/alumnihero.jpg);
    background-position: center;
    grid-column: 1 / -1;
    grid-row: 3 / 4}







@media  (max-width: 1100px) {
    
    #wrapper { 
        grid-template-columns:minmax(0px, 1fr) repeat(6, minmax(0, 150px)) minmax(0px, 1fr);}
}





@media  (max-width: 900px) {
    
    nav {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    
    
    video {
        float: none;
        margin: 0;
        width: 100%;
        height: auto;
    }
    
    
    
    nav ul { 
    flex-flow: column nowrap;}
    
    
    #homehero {height: auto;
    background-size: cover;
    background-image:         url("images/homehero.jpg");
    background-position: center;
    grid-column: 5 / 8;
    grid-row: 2 / 3;}

    
#studenthero{height: auto;
    background-size: cover;
    background-image: url(images/studenthero.jpg);
    background-position: center;
    grid-column: 5 / 8;
    grid-row: 2 / 3;}

    
#facultyhero {height: auto;
    background-size: cover;
    background-image:         url("images/facultyhero.jpg");
    background-position: center;
    grid-column: 5 / 8;
    grid-row: 2 / 3;}
    
    #alumnihero{height: 300px;
    background-size: cover;
    background-image: url(images/alumnihero.jpg);
    background-position: center;
    grid-column: 1 / -1;
    grid-row: 3 / 4}

    
    
    
    
    
    section {
        float: none;
        width: 100%;
        padding-right: 0px;
    }
    
    
    
    #wrapper { 
        grid-template-columns:minmax(0px, 1fr) repeat(6, minmax(0, 150px)) minmax(0px, 1fr);}
}



@media  (max-width: 600px) {
    
    header h1 {
        background-image: none;
        text-align: center;
    }
    
    nav {
        grid-column: 1 / -1;
        grid-row: 2 / 3;
    }
    
    #homehero {display: none;}
    
    #studenthero {display: none;}
    
    #facultyhero {display: none;}
    
    #alumnihero {display: none;}
    
    
}




