/********** BIG PARTS **********/
html {
     position: relative;
     min-height: 100%;
}

body {
   font-family: var(--il-font-source-sans);
   -moz-osx-font-smoothing: grayscale;
   margin-bottom: 60px; /* Margin bottom by footer height */
}

a {
     text-decoration: none !important;
     white-space: nowrap !important;
}

.homebox{
     font-size: 1em;
     padding: 1.5em;
     margin-bottom: 1em;
}



/********** SPINNER **********/
/********** https://codepen.io/yic666kr/pen/mxmvbV **********/
#spin_overlay{
     position: fixed;
     top: 0;
     z-index: 100;
     width: 100%;
     height:100%;
     display: none;
     background: rgba(0,0,0,0.6);
}
.spin_wrap {
     height: 100%;
     display: flex;
     justify-content: center;
     align-items: center;  
}
.spin_span {
     width: 7rem;
     height: 7rem;
     border: .3rem #ddd solid;
     border-top: .3em var(--il-blue) solid;
     border-radius: 50%;
     animation: sp-anime 0.8s infinite linear;
}
@keyframes sp-anime {
     100% {
          transform: rotate(360deg);
     }
}
/********** SPINNER **********/


/********** UIUC Oranges **********/
.il-orange           {background-color: var(--il-orange);}
.il-altgeld          {background-color: var(--il-altgeld);}
.il-altgeld-dark1    {background-color: var(--il-altgeld-darker-1);}

.il-orange-btn       {background-color: var(--il-orange);         color:#FFFFFF;}
.il-orange-btn:hover {background-color: var(--il-altgeld);        color:#FFFFFF;}

.il-orange-link      {color: var(--il-orange);}
.il-orange-link:hover{color: var(--il-altgeld);}


/********** UIUC Blues **********/
.il-blue             {fill: var(--il-blue);           background-color: var(--il-blue)!important;}
.il-blue-lite1       {fill: var(--il-blue-lighter-1); background-color: var(--il-blue-lighter-1)!important;}
.il-blue-lite2       {fill: var(--il-blue-lighter-2); background-color: var(--il-blue-lighter-2)!important;}
.il-blue-lite3       {fill: var(--il-blue-lighter-3); background-color: var(--il-blue-lighter-3)!important;}
.il-blue-lite4       {fill: var(--il-blue-lighter-4); background-color: var(--il-blue-lighter-4)!important;}
.il-blue-dark1       {fill: var(--il-blue-darker-1); background-color: var(--il-blue-darker-1)!important;}
.il-blue-dark2       {fill: var(--il-blue-darker-1); background-color: var(--il-blue-darker-2)!important;}

.il-blue-btn         {background-color: var(--il-blue);           color:#FFFFFF;}
.il-blue-btn:hover   {background-color: var(--il-blue-lighter-1); color:#FFFFFF;}
.il-blue-btn-active  {background-color: var(--il-blue-lighter-1); border: 5px solid var(--il-blue-lighter-2)!important;}

.il-blue-txt         {color: var(--il-blue);}
.il-blue-link        {color: var(--il-blue);}
.il-blue-link:hover  {color: var(--il-blue-lighter-1);}


/********** UIUC Grays ("Storms") **********/
.il-storm           {background-color: var(--il-storm);}
.il-storm-lite1     {background-color: var(--il-storm-lighter-1);}
.il-storm-lite2     {background-color: var(--il-storm-lighter-2);}
.il-storm-lite3     {background-color: var(--il-storm-lighter-3);}
.il-storm-lite4     {background-color: var(--il-storm-lighter-4);}
.il-storm-dark1     {background-color: var(--il-darker-1);}
.il-storm-dark2     {background-color: var(--il-darker-2);}

.il-storm-btn       {background-color: var(--il-storm);           color:#FFFFFF;}
.il-storm-btn:hover {background-color: var(--il-storm-lighter-1); color:#FFFFFF;}
.il-storm-btn-active{background-color: var(--il-storm-lighter-1); border: 5px solid var(--il-storm-lighter-2);}



/* orange links within publication summaries and citations */
.summarytext > a,       .citationtext > a       {color: var(--il-orange);}
.summarytext > a:hover, .citationtext > a:hover {color: var(--il-altgeld);}

/* agency logo sizes depending on where it shows up */
.aglogo_land{height: 30px;}
.aglogo_tbl{height: 20px;}
.aglogo_cht{height: 15px;}


/* custom sizing for publication badge-links (e.g. WEB, PDF) */
.badge-publist{
     font-size: .7rem !important;
     vertical-align: middle !important;
     margin-top: -0.175rem;
     /* color handled by other style */
}



/********** OTHER **********/
.lit{
     background: #ffff99;
}
#trained_pic{
   width: 450px;
}
/********** OTHER **********/



/********** PEOPLE PAGES **********/
.team_text {
   font-family: var(--il-font-monserrat);
}
.bio_text > p {
   font-family: var(--il-font-monserrat);
   font-size: 1.1rem;
   margin: 0;
   padding: 0;
}
.bio_pronouns {
    font-size: .7rem !important;
    line-height: .7rem !important;
    font-style: italic !important;
}
/********** PEOPLE PAGES **********/




/********** MAIN NAV **********/

#head_dev_strip {
     font-size: 12px;
     line-height: 12px ;
     height: 15px;
}

#head_title_strip {
     font-size: 23px;
     height: 34px;
}

#striptitle_wrap{
   height: 34px;
}



/* Head menu items and their drop-downs have scaling fonts... */
.nav-link {font-size: calc(10px + 5 * ((100vw - 320px) / 680));}
.menud {font-size: calc(9px + 4 * ((100vw - 320px) / 680));}

/* ...except we want to set a maximum at a certain window size */ 
@media screen and (min-width: 1200px) {
     .nav-link {font-size: 16px;}
     .menud {font-size: 15px;}
}

/* ...except we want to set a minimum at a certain window size */ 
@media screen and (max-width: 800px) {
     .nav-link {font-size: 14px;}
     .menud {font-size: 13px;}
}



.menud > li > a{
     color:var(--il-blue) !important;
}
.menud > li > a:hover,
.menud > li > a:focus {
     background-image: none;
	color:#FFFFFF !important;
	background-color:  var(--il-orange);
}

/* When menu is just a "hamburger" - over-ride some default Bootstrap colors */
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline-color: var(--il-blue) !important;
}




.nav_unitext{        /* 'UIUC' stripe at top */
     font-family: var(--il-font-montserrat);
     font-weight: bold;
     font-size: .8em;
     letter-spacing: .1em;
}


.nav_wordmark{
     align-items: center;
     display: flex;
     flex-direction: row;
     flex-grow: 1;
     position: relative;
     line-height: 1.5rem;
}

.nav_wordmark a,
.nav_wordmark a:hover,
.nav_wordmark a:focus{
     text-decoration: none;
     color:var(--il-blue) !important;
}

.nav_logowrap{
     flex: 0 0 65px;
     position: relative;
}

.nav_logo{
     display: block;
     height: 43px;
     width: 30px;
     border-right: solid;
     border-width: 1px;
     padding-right:3.4rem;
}

.nav_schname{
     font-size: 1rem;
     font-weight: 400;
}

.nav_cfrcname{
     font-size: calc(16px + 6 * ((100vw - 320px) / 680));
     font-weight: 600;
}

.nav_cfrcname_smaller{
     font-size: .9rem;
     font-weight: 600;
}





/********** FOOTER **********/

/********* sticky footer from: https://getbootstrap.com/docs/4.0/examples/sticky-footer/ **********/
footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px; /* Set the fixed height of the footer here */
  display:flex;
}
.wmark-foot{
     line-height: 1rem;
}
.wmark-foot a,
.wmark-foot a:hover,
.wmark-foot a:focus{
     text-decoration: none;
     color:var(--il-blue) !important;
}
.cfrc-name-foot{
     font-size: 1rem;
     font-weight: 600;
}
.cfrc-addy-foot{
     font-size: .9rem;
     font-weight: 400;
}
.cfrc-links-foot{
     font-size: .8rem;
     font-weight: 400;
}

/********** FOOTER **********/



/********** GDPR BANNER AND BUTTON (OVER-RIDES) **********/

/* disabling a menu that pops up when user hovers over cookie button.
/* they're shown this same menu when they click on the button to show the pop-up
/* so i figured what's the point, especially when it's ugly */
#optanon-show-settings-popup{
     /*display:none !important;*/
}
/* the cookie button appears to be built in sections -- just hiding the left and right */
.optanon-show-settings-left, .optanon-show-settings-right{
     /*display:none !important;*/
}
/* the wrapper around the whole button */
.optanon-show-settings-button{
     background: repeat !important;
     background-image:url("img/bg-tile.png") !important;

}
/* the wrapper / box around the link within the button */
.optanon-show-settings-middle{
     padding: 0 !important;
     margin: 0 !important;
     float: none !important;
     border: none !important;
     height: 100px !important;
     text-align: center !important;
     width: 50px !important;
}
/* the link in the button */
a.optanon-show-settings{
     color: #666 !important;
     font-weight: normal !important;
     font-size: 1em !important;
     margin-bottom: -20px !important;
     padding:0 !important;
}

/********** GDPR BANNER AND BUTTON (OVER-RIDES) **********/
