/* --- CUSTOM COLORS
:root {
  --uscred: #990000;
  --uscgold: #ffcc00;
  --uscdarkgray: #777777;
  --usclightgray: #cccccc;
  --darkgray: #404040;
}
Then use with: color: var(--uscred)
*/


/* --- BODY ---{{{1 */
body {
   font-family: Verdana,Tahoma,Arial,sans-serif;
   margin: 0 auto;
   background-color: #ffffff;
   text-align: left;   /* text-align: center; */
   padding-left: 1%;
   padding-right: 1%;
   padding-top: 20px;
}

/* --- MAIN CONTENT ---{{{1 */
#mainContent {
   margin-right: 1%;
   margin-left:  1%;
}

/* --- HEADINGS ---{{{1 */
h1 {
   font-size: 1.4em;
   font-weight: normal;
   letter-spacing: -0.2px;
   margin: 30px 0 15px 0;
}
h2 {
   font-size:1.2em;
   font-weight: normal;
   font-style: italic;
   margin: 20px 0 10px 0;
}
h3 {
   font-size:1.1em;
   font-weight: normal;
   margin: 0;
   padding: 0;
}
/* same margins as h1 */
.marginTopH1 {
   margin-top: 30px !important;
}
.marginBotH1 {
   margin-bottom: 15px !important;
}
.marginLeftH1, .marginSidesH1 {
   margin-left:  0 !important;
}
.marginRightH1, .marginSidesH1  {
   margin-right: 0 !important;
}



/* --- LINKS ---{{{1 */
a:link, a:visited, a:hover {
   color: #990000;
   text-decoration : none;
   font-weight: bold;
}
a:hover {
   text-decoration : underline;
}



/* --- HEADER ---{{{1 */
#header { /* header row */
   margin-top: 2%;
   margin-bottom: 0;
   padding-bottom: 2px;
}
#headerName { /* name in header */
   color: #404040;
   font-size: 2.2em;
   font-weight: bold;
   letter-spacing: -0.2px;
   margin: 0;
}
#headerTitle { /* title in header */
   color: #777777;
   font-size:1.2em;
   font-weight: normal;
   font-style: italic;
   letter-spacing: -0.2px;
   margin: 10px 0 0px 0;
   padding: 0;
}
#headerDept { /* dept in header */
   color: #777777;
   font-size:1.2em;
   font-weight: bold;
   letter-spacing: -0.2px;
   margin: 4px 0 0 0;
   padding: 0;
}
#headerEmail { /* email in header */
   color: #404040;
   font-size:1.2em;
   font-weight: normal;
   letter-spacing: 0.6px;
   margin: 22px 0px -20px 0px;
   padding: 0;
}



/* --- TOP MENU ---{{{1 */
#topNavCont { /* top nav bar container  */
   margin-left: 0;
   margin-right: 0;
}
#topNavButton { /* button for collapsed top nav bar (manu) */
   border-color: white;
   margin-left: 10px;
}


/* --- FOOTER ---{{{1 */
/* things inside gray region ---{{{2 */
#footer { /* footer region */
   color: #ffffff;
   background-color: #404040;
   text-align: center;
   font-size: 0.9em;
   margin-top: 40px;
   padding-top: 0px;
   padding-bottom: 60px;
   padding-left: 0;
   padding-right: 0;
}
#footerCont { /* footer nav bar container */
   font-size: 0.9em;
   margin-left: 0;
   margin-right: 0;
}
#footerNav { /* footer nav bar */
   border-width: 5px 0 0 0;
}

/* footer info: name, title, email, last updated ---{{{2 */
#footerName { /* name in footer */
   font-weight: bold;
   /*letter-spacing: -0.2px;*/
   margin-top: 20px;
}
#footerTitle { font-style: italic; }
#footerEmail { letter-spacing: 0.8px;}
#footerCopyright { margin-top: 45px; letter-spacing: 0.8px; }
#footerUpdated   { margin-top: 25px; }
#footerLogos { /* logos in footer */
   margin-right: -1%;
   margin-bottom: 15px;
}

/* back to top button ---{{{2*/
#toTop { /* Back to Top button */
   text-align: right;
   margin-top: 20px;
   margin-bottom: -35px;
}
#toTop a { /* Back to Top button: link */
   color: #900;
   font-weight: bold;
   font-size: 1.1em;
   font-variant: small-caps;
}



/* --- TABLES ---{{{1 */
table {
  margin: 0px;
}
th, td {
  color : #000000;
  /* font-size: 9pt; */
  text-align: justify;
  padding: 0;
  border: #000000;
  border-style : solid;
  border-top-width : 2px;
  border-right-width : 0px;
  border-bottom-width : 0px;
  border-left-width : 0px;
  background-color: #ffffff;
  border: #000000;
}
th {
  text-align: left;
  font-weight: bold;
  vertical-align: top;
}



/* --- LISTS AND SUB-LISTS ---{{{1 */
/* general */
ul {list-style-type: square; padding-left: 0; margin-left: 4%; }
/* with bullets and increased separation */
ul.sep li    { margin: 0 0 15px 0; }
ul.sepBig li { margin: 0 0 20px 0; }
/* lists without bullets */
ul.nobul { list-style: none; margin-left: 2%;}
/* without bullets and increase separation between items */
ul.nobulSep  { list-style: none; }
ul.nobulSep li { margin: 0 0 15px 0; }
/* hangging on paragraphs to align with bulleted lists */
p.indented  { padding-left: 30px; }
li.indented { padding-left: 30px; }
/* divisions with indent */
.tab { margin-left: 2%; }




/* --- CONTACT INFO FOR HOME PAGE ---{{{1 */
#contact { /* contact info row */
   margin: 10px 0;
}
#contactPic { /* contact picture */
   width: 157px;
   height: 157px;
   margin-right: 15px;
   border-style : solid;
   border-color: #000000;
   border-width: 1px;
}
#contactName { /* contact name */
   font-size:1.4em;
   font-weight: bold;
   letter-spacing: -0.2px;
   margin: -2px 0 0 0;
   padding: 0;
}
#contactTitle { /* contact title  */
   font-size:1.2em;
   font-weight: bold;
   font-style: italic;
   letter-spacing: -0.2px;
   margin: 0px 0 0 0;
   padding: 0;
}
#contactDept, #contactSchool { /* contact dept and school */
   margin: 6px 0;
   padding: 0;
}
#contactDept a, #contactSchool a { /* contact dept and school: link */
   letter-spacing: -0.2px;
}
#contactInst { /* contact institution */
   margin: 6px 0 0 0;
   padding: 0;
}
#contactInst a { /* contact institution: link */
   font-size: 1.4em;
   letter-spacing: -0.2px;
}
/* elements for contact info table */
#contactTable tr { font-size: 0.9em; }
.tableVSPACE { height: 12px; }
.tdWidth60 { width: 60px; }



/* --- MISCELLANEOUS ---{{{1 */

/* margins */
.marginTop0   { margin-top:      0   !important; }
.marginTopP20 { margin-top:     20px !important; }
.marginTopM20 { margin-top:    -20px !important; }
.marginBot0   { margin-bottom:   0   !important; }
.marginBotP20 { margin-bottom:  20px !important; }
.marginBotM20 { margin-bottom: -20px !important; }


/* alignments */
.containerRelative { position: relative; }
.flushNW { position: absolute; top: 0; left: 0; }
.flushNE { position: absolute; top: 0; right: 0; }
.flushSW { position: absolute; bottom:   0; left: 0; }
.flushSE { position: absolute; bottom:   0; right: 0;}


/* horizontal lines */
hr {
   color: #993333;
   display: block;
   margin-top: 0.5em;
   margin-bottom: 0.5em;
   margin-left: auto;
   margin-right: auto;
   border-style: inset;
   border-width: 1px;
}


/* text color: black */
.myBlack {color: #404040;}
/* dates for students */
.myDate {font-weight: bold; margin-left: 0px;}


/* links to external profiles ---{{{2*/
.profileLinksDiv { /* division for links to google scholar, etc */
   margin-top: 0px;
   /*margin-bottom: 35px;*/
}
.profileLinksDiv a {
   display:block;
   width:250px;
}
.profileLinksBut { /* buttons for links to google scholar, etc */
   text-align: left;
   background-color: white !important;
   border-radius: 4px;
   border-width: 2pt;
   padding-top:  3px;
   padding-bottom: 3px;
   padding-left:   3px;
   margin-bottom: -5px;
}





/* --- SUBSECTIONS FOR RESEARCH PAGE ---{{{1 */
/* left-hand-side menu */
ul.subMenu {
   float: left;
   list-style: none;
   list-style-position: inside;

   width: 20%;
   overflow: auto;
   margin: 25px 0 0 0;

   background-color: #ccc;
   border-style: solid;
   border-width: 0 2px 2px 2px;
   border-color: #777;
}
li.subMenu {
   color: #000;
   padding: 10px 16px;
   margin: 0;
   border-style: solid;
   border-width: 2px 0 0 0;
   border-color: #777;
}
/* block for contents */
#subsectionBlock {
   margin-left: 21%;
   margin-top: 25px;
   padding: 0 20px;
}
/* sub-titles */
.subsectionTitle {
   font-size:1.2em;
   font-style: italic;
   margin: 0 -20px;
   padding: 0;
   border-style: solid;
   border-width: 2px;
   border-top-width: 0;
   border-color: #990000;
}
.subsectionSubTitle {
   font-style: italic;
   margin: 0;
   padding: 10px 35px;
}
.subsectionLink {
   color: #ffcc00;
   font-weight: bold;
   background-color: #990000;
   margin-top: 25px;
   margin-bottom: 0px;
   padding: 4px 6px;
   line-height: 1.3em;
}
a.subsectionLink:link, a.subsectionLink:visited, a.subsectionLink:hover {
   color: #ffcc00;
   text-decoration : none;
}
/* Mini-toc */
.minitoc {
   margin: -5px 0 30px;
}



/* ===== BOOTSTRAP RELATED ===={{{1 */

/* --- Change some defaults --- */
/* title */
.panel-title a {
   color: #000000;
   font-weight: normal;
}
/* general area */
.panel-default {
   border-width: 2px;
}
/* heading */
.panel-default > .panel-heading {
    color: #333;
    background-color: #f0f0f0;
    border-color: #ddd;
}

/* --- navigation bar --- */
.nav > li:hover {
    background-color: #dcdcdc; /*hover background color*/
    color: #900;
}
.nav > li:hover > a {
    color: #900; /*hover text color*/
}
.navbar {
   text-transform: uppercase;
   font-size: 1.0em;
   letter-spacing: 0.2px;
   background-color: #404040;
   border-style : solid;
   border-color: #999999;
   border-width: 3px 0px;
   /*border-radius: 10px;*/
   margin: 0px 0 0px;
}
#navbar li > a:hover {
   background-color: #900;
   color: white;
}
/* flush nav bar to the left */
.navbar-header {
   float: left;
}

/* change nav bar height */
.navbar-nav > li > a {
   padding-top:    10px !important;
   padding-bottom: 10px !important;
}
.navbar {min-height:32px !important}


.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover
{
    color: #ffcc00;
    background-color: #777;
}

.navbar-default .navbar-nav > .active > a:hover {
   text-decoration : underline;
}

/* collapsed nav bar (menu) */
.menubox {
   border-color: white;
   margin-left: 10px;
}

/* navbar dropdown menu */
.dropdown-link {
   display:inline-block !important;
   padding-right:4px !important;
}
.dropdown-caret {
   display:inline-block !important;
   padding-left:8px !important;
}
.dropdown-menu {
   background-color: #404040;
}
.dropdown-menu li > a {
   background-color: #404040;
   color: white;
}
.dropdown-header {
   color: white;
   font-weight: bold;
   font-size: 1.1em;
   margin-left: 10px;
}



/* --- buttons --- */
.btn-info {
   border-color: #999;
   background-color: #dcdcdc;
}
.btn-info:hover {
   border-color: #999;
   background-color: #999;
   color: black;
}
.btn-info:active:hover {
   border-color: #999;
   background-color: #999;
}


/* --- other --- */
.banner {
   margin-left: 1%;
   margin-right: 1%;
}
