
/* DEFAULTS */

*  { margin: 0; padding: 0; box-sizing: border-box; }
HTML, BODY  { font-size: 18px; font-weight: 400; }
H1, H2  { font-weight: 300; color: #888888; }
INPUT, TEXTAREA  { font-size: 18px; font-weight: 400; }
A  { color: #347385; font-weight: bold; }
A:hover  { transition-property: color; color: #4c95aa; transition-duration: 0.4s; transition-timing-function: linear; }
FOOTER  { background-color: #454545; padding: 25px 30px; text-align: center; background-image: url("/images/usu_watermark2.svg"); background-repeat: no-repeat; background-size: auto 80%; background-position: right 10px bottom; }
FOOTER P  { color: #ffffff; padding: 5px 0px; }
FOOTER HR  { height: 0px; width: 80%; background-color: #454545; border-bottom: 1px solid #ffffff; margin: 10px 10%; opacity: 0.5; }
FOOTER P A  { color: #ffeebb; cursor: pointer; text-decoration: none; }
FOOTER P A:hover  { transition-property: color; color: #ffffdd; transition-duration: 0.3s; transition-timing-function: linear; }



#nav  { position: fixed; top: 0%; left: 0%; width: 100%; z-index: 10; background-color: #555555; }
#nav UL  { display: block; float: right; padding: 20px; }
#nav UL LI  { display: inline-block; padding: 0px 15px; margin: 0px 5px; }
#nav UL LI A  { color: #ffffff; text-decoration: none; font-weight: 700; cursor: pointer; }
#nav UL LI A:hover  { transition-property: color; color: #ffeebb; transition-duration: 0.4s; transition-timing-function: linear; }

#title  { color: #ffffff; font-size: 40px; line-height: 40px; padding: 10px 10px 0px 40px; font-weight: lighter; text-decoration: none; display: inline-block; float: left; }
#hamburger  { width: 40px; height: 40px; position: absolute; top: 50%; right: 10px; margin-top: -20px; display: none; cursor: pointer; }
#hamburger:hover  { width: 44px; height: 44px; right: 8px; margin-top: -22px; }

#content  { padding: 100px 10% 50px 10%; text-align: justify; }
#content P  { padding: 5px 0px; }


#table  { display: table; }
#table2  { display: table-cell; vertical-align: middle; }
#headshot  { background-image: url("/images/headshot.jpg"); background-size: 100% auto; width: 100px; height: 100px; border-radius: 50px; }
#contact  { text-align: left; padding-left: 30px; display: table-cell; vertical-align: middle; }
#pub  { margin-bottom: 10px; }


#animatorframe  { width: 100%; position: relative; height: 400px; margin-top: 0px; background: linear-gradient(120deg, #058085, #212c51); box-shadow: inset 0px 0px 80px rgba(0, 0, 0, 0.4); overflow: hidden; }
#animator  { position: absolute; width: 100%; height: 100%; top: 0%; right: -20%; }
#blurb  { position: absolute; top: 60%; transform: translateY(-50%); left: 10%; z-index: 1; opacity: 1; width: 35%; }
#blurb H1  { color: #ffffff; font-size: 270%; font-weight: 300; line-height: 100%; }
#blurb P  { color: #ffffff; font-size: 120%; line-height: 130%; margin-top: 10px; }
#blurb A  { color: #ffffff; border: 2px solid #ffffff; padding: 6px 20px; border-radius: 25px; text-decoration: none; display: inline-block; margin-top: 15px; cursor: pointer; }
#blurb A:hover  { color: #ffeebb; border: 2px solid #ffeebb; }
#nav  { background-color: rgba(0, 0, 0, 0.7); }

#explain  { width: 100%; padding: 20px 10%; background-color: #545454; display: table; }
#explain DIV:first-child  { display: table-cell; vertical-align: middle; width: 180px; padding-right: 30px; }
#explain DIV H2  { color: #ffffff; font-size: 28px; line-height: 30px; }
#explain DIV:last-child  { display: table-cell; vertical-align: middle; }
#explain P  { color: #ffffff; }
#videos  { width: 35%; padding: 25px 2% 20px 10%; display: block; float: left; }
#news  { width: 65%; padding: 25px 10% 20px 2%; display: block; float: left; }
#news H1  { padding-left: 10px; }
#newsitems  { width: 100%; display: flex; flex-wrap: wrap; }

#research1  { background-image: url("/images/research1.svg"); }
#research2  { background-image: url("/images/research2.svg"); }
#r1  { padding-right: 35px; }
#r2  { padding-left: 35px; }
#researchbg  { width: 100%; height: 270px; background-position: center center; background-repeat: no-repeat; background-size: cover; margin: 0px 0px -60px 0px; }

#principal  { border: 1px solid #cccccc; padding: 15px 20px; margin: 10px 1% 15px 1%; min-height: 235px; }
#ryanjackson  { width: 200px; height: 200px; border-radius: 125px; background-image: url("/images/headshot.jpg"); float: left; background-size: cover; margin: 0px 30px 10px 0px; }


.w50  { width: 50%; }
.w100  { width: 100%; }
.inputs  { display: block; float: left; padding: 8px 0px; }
.inputs LABEL  { display: block; cursor: pointer; }
.inputs INPUT  { border: 1px solid #cccccc; background-color: #eeeeee; padding: 5px 10px; font-size: 100%; display: block; width: 100%; }
.inputs TEXTAREA  { border: 1px solid #cccccc; background-color: #eeeeee; padding: 5px 10px; font-size: 100%; display: block; width: 100%; min-width: 100%; }
.inputs INPUT:hover, .inputs TEXTAREA:hover  { border: 1px solid #999999; background-color: #f4f4f4; }
.inputs INPUT::placeholder, .inputs TEXTAREA::placeholder  { color: #aaaaaa; }

.inputs INPUT.inputerror, .inputs TEXTAREA.inputerror  { border: 1px solid #880000; color: #880000; background-color: #f6d2cc; }
.inputs INPUT.inputerror:hover, .inputs TEXTAREA.inputerror:hover  { border: 1px solid #aa0000; background-color: #f9e2de; }
.inputs INPUT.inputerror::placeholder, .inputs TEXTAREA.inputerror::placeholder  { color: #cd7060; }
.error  { color: #880000; }
.pr  { padding-right: 2%; }
.pl  { padding-left: 2%; }
.clear  { clear: both; }

.btn  { border: none; background-color: #e67820; color: #ffffff; padding: 8px 20px; font-size: 100%; line-height: 100%; border-radius: 5px; text-decoration: none; display: inline-block; margin-top: 15px; margin-bottom: 3px; margin-left: 0px; cursor: pointer; box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3); }
.btn:hover  { background-color: #f68830; color: #ffffff; box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.3); padding: 10px 22px; margin-top: 13px; margin-left: -2px; margin-bottom: 1px; }
.btn:active  { background-color: #d66810; color: #ffffff; padding: 8px 20px; margin-top: 15px; margin-bottom: 3px; box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3); margin-left: 0px; }

.separator  { height: 1px; border: none; background-color: #cccccc; margin: 30px 0px; }
.flex  { width: 100%; display: flex; flex-direction: row; justify-content: space-between; }


.publication  { border-bottom: 1px solid #cccccc; padding: 10px 0px; width: 100%; display: table; }
.publication:last-child  { border-bottom: none; }
.publication:hover .pubimage IMG, .publication:active .pubimage IMG   { width: 150%; height: 150%; }
/*.publication:hover  { background-color: #eeeeee; }*/

.pubimg  { width: 120px; display: table-cell; vertical-align: middle; } 
.pubimage  { width: 120px; height: 120px; display: block; box-shadow: inset 0px 0px 15px rgba(0, 0, 0, 0.3); position: relative; overflow: hidden; }
.pubimage IMG  { position: absolute; width: 100%; height: 100%; top: 50%; left: 50%; transform: translateY(-50%) translateX(-50%); z-index: -1; transition-duration: 0.5s; }

.pubtext  { display: table-cell; padding-left: 20px; vertical-align: middle; }
#content .pubtext P  { margin: 0px; padding: 5px 0px; }
.pubtext A  { color: #4d609b; font-weight: bold; }
.pubtext A:hover  { color: #6d80bb; }
.pubtext H3  { font-weight: 400; color: #888888; }

.pubpdf  { display: table-cell; vertical-align: middle; width: 100px;  padding: 0px 0px 0px 10px; margin-left: 10px; }
.pubpdf IMG  { display: block; width: 70px; height: auto; margin-left: 15px; border-left: 1px solid #cccccc; padding-left: 15px; }

.newsitem  { padding: 10px 20px 15px 20px; display: flex-item; width: 48%; border: 1px solid #cccccc; margin: 5px 1%; }
.newsdate  { color: #999999; font-size: 120%; margin-bottom: 5px; }

.videotile  { width: 100%; border: 1px solid #cccccc; margin: 5px 0px 10px 0px; }
.videotile A  { display: block; text-align: center; padding: 10px 15px 5px 15px; }
.videotile IFRAME  { position: absolute; top: 50%; left: 0%; width: 100%; transform: translateY(-50%); }
.videotile H2  { text-align: center; font-size: 110%; margin-top: 10px; padding: 0px 15px; font-weight: bold; }
.videotile P  { padding: 3px 20px 15px 20px; }
.videotile .iframe  { position: relative; display: block; width: 94%; margin-left: 3%; padding-bottom: 50%; margin-bottom: 10px; background-color: #000000; }

.researchblurb  { display: block; width: 50%; float: left; border-top: 1px solid #cccccc; padding: 20px 0px; margin-top: 20px; }
.rimg  { width: 100%; height: 0px; padding-bottom: 80%; background-size: 100% auto; background-repeat: no-repeat; }
.rtxt  { width: 100%; text-align: left; }

.teamh2  { margin-left: 1%; margin-top: 15px; }
.teamflex  { width: 100%; display: flex; flex-wrap: wrap; }
.portrait  { width: 150px; height: 150px; border-radius: 75px; float: left; margin-right: 25px; margin-bottom: 10px; }
.teamname, .teamname2  { display: inline-block; color: #666666; font-size: 24px; }
.teamemail, .teamemail2  { display: block; margin-bottom: 10px; word-wrap: break-word; }
.teambio, .teamcontact  { text-align: left; }
.person  { display: flex-item; width: 48%; padding: 15px 20px; border: 1px solid #cccccc; margin: 10px 1%; }



@media only screen and (min-width: 1301px) {
    #researchbg  { background-image: url("/images/xlarge/protocol.jpg"); }
    #principal  { position: relative; }
    #principaltext  { column-count: 2; column-gap: 30px; position: absolute; left: 250px; top: 50%; transform: translateY(-50%); padding-right: 30px; }
}
@media only screen and (max-width: 1300px) {
    #animator  { height: 420px; min-width: 680px; }
    #animatorframe  { padding-bottom: 420px; }
    #researchbg  { background-image: url("/images/large/protocol.jpg"); height: 200px; }
}
@media only screen and (max-width: 1200px) {
    #videos, #news  { width: 100%; padding: 25px 10% 20px 10%; }
    #videos H1  { margin-left: 1%; margin-bottom: 5px; }
    .videotile  { width: 48%; float: left; margin: 0px 1% 10px 1%; }
}
@media only screen and (max-width: 1050px) {
    #animator  { width:  }
    #blurb  { width: 375px; }
    #research1, #research2  { width: 550px; margin: 0px auto; padding-bottom: 440px; }
    #r1  { padding-right: 0px; }
    #r2  { padding-left: 0px; }
    .researchblurb  { width: 100%; }
    .portrait  { margin: 0px auto 10px auto; float: none; display: block; }
    .teamname  { display: block; }
}
@media only screen and (max-width: 1050px) and (min-width: 800px) {
    .teamname, .teampos, .teamemail  { text-align: center; }
}
@media only screen and (max-width: 980px) {
    #nav UL LI  { padding: 0px 8px; }    
}
@media only screen and (max-width: 870px) {
    #nav  { background-color: #454545; height: 95px; }
    #title, #nav UL  { display: inline-block; position: absolute; left: 50%; transform: translateX(-50%); }
    #title  { padding: 10px 10px 0px 10px; top: 0px; } 
    #nav UL  { float: none; padding: 0px; top: 60px; display: block; width: 560px; }
    #content  { padding: 120px 10% 50px 10%; }
    #blurb  { background-color: rgba(0, 0, 0, 0.6); padding: 25px; }
    #blurb H1  { font-size: 36px; }
}
@media only screen and (max-width: 750px) {
    #explain  { display: block; }
    #explain DIV:first-child, #explain DIV:last-child  { width: 100%; display: block; }
    #explain H2  { margin-bottom: 10px; }
    #research1, #research2  { width: 100%; margin: 0px auto; padding-bottom: 80%; }
    #contact  { padding-left: 20px; }    
    #blurb  { background-color: rgba(0, 0, 0, 0.6); padding: 25px; width: 380px; max-width: 100%; top: 70%; }
    #blurb H1  { font-size: 34px; }
    #blurb P  { font-size: 18px; }
    #content  { padding-left: 5%; padding-right: 5%; }
    #principaltext  { display: block; text-align: center; margin-top: 10px; }
    #ryanjackson  { margin: 0 auto; float: none; }
    .videotile  { width: 98%; margin: 0px 1% 10px 1%; }
    .newsitem  { width: 98% }
    .w50  { width: 100%; }
    .pr  { padding-right: 0%; }
    .pl  { padding-left: 0%; }
    .pubimg  { display: block; margin-right: auto; margin-left: auto; }
    .pubtext  { display: block; padding-left: 0px; padding-top: 15px; }
    .pubimage  { width: 120px; height: 80px; margin-top: 5px; }
    .pubimage IMG  { height: 150%; }
    .publication:hover .pubimage IMG, .publication:active .pubimage IMG   { width: 150%; height: 225%; }
    .teamcontact  { text-align: center; }
}
@media only screen and (max-width: 620px) {
    .person  { width: 98%; }
    .teamname, .teamname2, .teampos, .teamemail, .teamemail2  { text-align: center; }
    #hamburger  { display: block; }
    #nav UL  { display: none; top: 50px; }
    #nav UL.open  { display: block; background-color: #454545; width: 180px; left: auto; right: 0px; transform: none; }
    #nav UL.open LI A  { display: block; width: 100%; }
    #nav UL.open LI  { display: block; padding: 7px 20px; margin: 0px; }
    #nav UL.open LI:hover  { background-color: #555555; }
    #nav  { height: 50px; }
    #title  { font-size: 34px; padding-top: 5px; width: 210px; }
    #researchbg  { margin-top: 10px; }
    #content  { padding-top: 100px; }
    #blurb  { width: 80%; }
}
