/*
Theme Name: Information Trust Institute
Description: A designed by the Engineering IT web team for the ITI.
Author URI: mailto:ddkees@illinois.edu
Author: David Dashifen Kees 
Version: 1.0
*/


* {
     	 box-sizing: border-box;
    -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
}
html { 
	height: 100%;
	font-size: 62.5%; 
}
body { 
	min-height: 100%;
	background: #ffffff url('images/bodybg.gif') repeat-x scroll 0 196px;
	font-size: 1.4rem; 
	line-height: 1.8rem;
	font-family: Helvetica, Arial, sans-serif;
}
#container {
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	margin-top: -8px;
	background: #ffffff;
	box-shadow: 0 0 10px black;
    -moz-box-shadow: 0 0 10px black;
	color: #000000;
}
#bar {  }

#header { padding: 20px 20px 0px 20px; }
/*#header #iti-mark {
	width: 325px;
	height: 51px;
	background: url('images/iti-element.gif') top right no-repeat;
	margin-bottom: 40px;
}
#header #iti-mark a {
	display: block;
	width: 263px;
	height: 51px;
	background: url('images/iti.png') top left no-repeat;
	text-indent: -9999px;
}
#csl-mark { float: right; margin-top: 0px; }
#csl-mark a.csl {
	display: block;
	float: right;
	width: 126px;
	height: 27px;
	background: url('images/CSL-mark-grey-sm.jpg') top left no-repeat;
	text-indent: -9999px;
	position: relative;
	top: 3px;
}
#csl-mark a.imark { 
	display: block;
	float: right;
	width: 25px;
	height: 33px;
	margin-right: 15px;
	background: url('//ws.engr.illinois.edu/images/block.i.color.png" alt="University of Illinois') top left no-repeat;
	text-indent: -9999px;
}*/

#brand {
    float: left;
    font-size: 30px;
    line-height: 30px;
    font-family: "Gotham", 'Helvetica Neue', Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

#brand a {
    color: #13294b;
    text-decoration: none;
}

#brand .imark {
    order: 1;
    margin-bottom: 10px;
}

#brand .imark a {
    display: block;
    height: 30px;
    background-image: url(https://ws.engr.illinois.edu/images/block.i.color.png);
    background-size: contain;
    background-repeat: no-repeat;
    font-size: 30px;
    line-height: 1.0em;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 0 0 36px;
}

#brand .dept_name {
    width: 100%;
    display: block;
    order: 2;
    letter-spacing: -0.2px;
    margin-bottom: 10px;
}

#brand .dept_name a {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.0em;
}

#brand .coll_name {
    width: 100%;
    width: auto;
    order: 3;
    font-size: 14px;
    line-height: 1.0em;
    font-weight: 700;
    text-transform: uppercase;
}

h1.site-name {
	width: 70%;
	font-size: 2.6rem;
	line-height: 2.6rem;
	font-family: Helvetica, Arial, sans-serif;
	color: #C1C91F;
}
h1.site-name a { text-decoration: none; color: #C1C91F; }
#navigation {
	width: 100%;
	background: #C1C91F;
	float: left;
	margin: 0;
	padding: 0;
	list-style: none;
	margin-bottom: 3.0rem;
}
#navigation ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#navigation ul ul { display: none; }
#navigation li { float: left; position: relative; }
#navigation li a { 
	display: block;
	padding: 14px 20px;
	text-decoration: none;
	font-weight: bold;
	text-transform: uppercase;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1.4rem;
	line-height: 1.4rem;
	color: #43677B;
	background: #C1C91F;
	border-right: 2px dotted #43677B;
}
#navigation li a:hover { background: #43677B; color: #ffffff; }

#navigation li:hover ul {
	background-color: #AD4721;
	display: block;
	position: absolute;
	top: 100%;
}

#navigation ul ul li {
	float: none;
	display: block;
	white-space: nowrap;
	width: auto;
}

#navigation ul ul a {
	border-right-style: none;
	width: 100%;
}

#content {
	width: 70%;
	padding: 20px;
	float: left;
	font-size: 1.3rem;
	line-height: 1.9rem; 
}
#content h2 { 
	font-size: 2.8rem;
	line-height: 3.2rem; 
	margin: 0;
	padding: 0;
}
#content h3 { 
	font-size: 2.2rem;
	line-height: 2.8rem;
	margin: 0;
	padding: 0;
}

#sidebar-right { 
	width: 30%;	
	float: right;
	color: #ffffff;
 }
.widget-wrapper { 
	background: #43677b;
	padding: 20px;
	margin-bottom: 30px; 
}
.widget-title {
	font-size: 1.4rem;
	line-height: 1.8rem;
	margin: 0;
	padding: 0;
	padding-bottom: 0.7rem;
	border-bottom: 1px dotted #ffffff;
}
.textwidget {
	font-size: 1.1rem;
	line-height: 1.7rem;
}
.textwidget ul
{
	margin: 0;
	padding: 0;
	margin-left: 1.5rem;
}

#footer {
	padding: 20px;
	background: #58595B;
	color: #ffffff;
	font-size: 1.2rem;
	width: 100%;
	float: left;
}

#footer .address {
    width: 50%;
    float: left;
}

#csl-brand {
    width: 50%;
    font-size: 30px;
    line-height: 30px;
    font-family: "Gotham", 'Helvetica Neue', Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

#csl-brand a {
    color: #ffffff;
    text-decoration: none;
}

#csl-brand .imark {
    order: 1;
    margin-bottom: 10px;
}

#csl-brand .imark a {
    display: block;
    height: 25px;
    background-image: url(https://ws.engr.illinois.edu/images/block.i.orange.png);
    background-size: contain;
    background-repeat: no-repeat;
    font-size: 25px;
    line-height: 1.0em;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 0 0 32px;
    text-indent: -9999px;
}

#csl-brand .dept_name {
    order: 2;
    letter-spacing: -0.2px;
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 25px;
}

#csl-brand .dept_name a {
    font-weight: 400;
}

#csl-brand .coll_name {
    width: 100%;
    width: auto;
    order: 3;
    font-size: 14px;
    line-height: 1.0em;
    font-weight: 700;
    text-transform: uppercase;
}


/* responsive */
@media only screen and (max-width: 900px) {
    #footer .address {
        width: 40%;
    }
    
    csl-brand {
        width: 60%;
    }
    
    #csl-brand .imark a {
        padding: 0 0 0 30px;
    }
    
    #csl-brand .dept_name {
        font-size: 20px;
    }
    
    #csl-brand .coll_name {
        font-size: 13px;
    }
}

@media only screen and (max-width: 767px) {
    #csl-brand {
        width: 70%;
    }
}

@media only screen and (max-width: 300px) {
	h1.site-name {
		font-size: 1.6rem;
		line-height: 1.6rem;
	}
	#csl-mark { float: none; }
}

/**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
 
.clearfix:before,
.clearfix:after {
    content: " ";		/* 1 */
    display: table; 	/* 2 */
}

.clearfix:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
 
.cf {
    *zoom: 1;
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* DIRECTORY STYLES ---------------------------------------------
--------------------------------------------------------- */

div.extDirectoryPerson {
	float: left;
	height: 160px;
	margin-right: 10px;
	width: 295px;
}

div.extDirectoryPerson:nth-child(even) {
	clear: right;
}

div.extDirectoryPerson > div {
    font-size: 12px;
    line-height: 17px;
}

div.extDirectoryPhoto {
	float: left;
	margin-right: 10px;	
	overflow: hidden;
}

div.extDirectoryPhoto img {
	max-width: 100px;
}

.extDirectoryBio {
	display:none;
}

.extDirectoryName {
	font-weight: bold;
}

#extDirectoryTabs {
	display: none;
}

.extDirectoryListTitle {
	font-size: 150%;
	font-weight: bold;
	margin-top: 25px; 
}

.extDirectoryList {
	display: inline-block;
	margin-top: 10px; 
}

body.post-type-archive-csl_directory #content h2 {
	padding: 40px 0 20px;
}

body.post-type-archive-csl_directory #content h2:first-child {
	padding-top: 0;
}

/* PROFILE STYLES ---------------------------------------------
--------------------------------------------------------- */

/** MICRO CLEARFIX
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.extProfileHeader:before,
.extProfileHeader:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.extProfileHeader:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.extProfileHeader {
    *zoom: 1;
}

div.extProfilePhoto {
	float: left;
	margin-right: 22px;
	overflow: hidden;
}

div.extProfilePhoto img {
	max-width: 200px;
}

div.extProfileRoles {
	margin-top: 22px;
}

div.extProfileRoles * {
	font-size:   13px;
	line-height: 22px;
}

div.extProfileRoles + div {
	clear: left;
	margin-top: 22px;
}

#extProfileTabs,
div.extProfilePhotoCaption {
	display: none;
	visibility: hidden;
}
