/*
Theme Name: I²CNER Theme
Description: A theme by David Kees (ddkees@illinois.edu) based on the Karma theme purchased for the Center
Author: David Dashifen Kees (ddkees@illinois.edu)
Version: 1.0
*/

* {
	        box-sizing: border-box;
   	   -moz-box-sizing: border-box;
	-webkit-box-sizing: border-bot;
}

html,
body {
	height: 100%;
}

body {
	background: #8C8C8C;
	color: #222;
	font: 14px/1.5 'Open Sans',Helvetica,Arial;;
}

a,
a:link,
a:visited {
	border-bottom: 1px solid #B22222;
	color: #B22222;
	outline: none;
	text-decoration: none;
}

a:hover,
a:focus {
}

.centered {
	margin: 0 auto;
	position: relative;
	width: 980px;
}

sup, sub {
	font-size: 65%;
}

sup {
	top: -0.65em;
}

/********************************************************************************* HEADER */

header.main {
	background: url("images/backgrounds/page-header.jpg") left top repeat-x #BFBFBF;
	height: 138px;
	position: relative;
}

header.main a {
	border-bottom-style: none;
}

header.main .header_wrapper {
	background: url("images/backgrounds/rays.png") center top no-repeat;
	height: 138px;
}

.template-front-page header.main {
	background: url("images/backgrounds/front-page-header.png") center top repeat-x #BFBFBF;
	height: 389px;
}

.template-front-page header.main .header_wrapper {
	background: url("images/backgrounds/rays-big.png") center top no-repeat;
	height: 389px;
}

h1 a,
h1 a:link,
h1 a:hover,
h1 a:focus,
h1 a:visited {
	background: url("images/i2cner.jpg") left bottom no-repeat;
	color: #FFF;
	display: inline-block;
	font: normal 1.5rem/50px 'Cuprum', Arial, sans-serif;
	padding: 40px 0 0 110px;	
	text-decoration: none;
}

.ie h1 a {
	font-size: 1.4rem;
	padding-top: 46px;
}

h1 a:hover,
h1 a:focus {
	text-decoration: underline;
}
	
header.main #partners a {
	display: inline-block;
	position: absolute;
	right: 111px;
	top: -50px;
}

header.main #partners a + a {
	right: 50px;
}

header.main #partners a + a + a{
	right: 0px;
}
	
header.main nav ul {
	margin: 0;
	padding-left: 0;
	position: relative;
	top: 17px;
}

.ie header.main nav ul {
	top: 25px;
}

header.main nav ul ul {
	display: none;
}

header.main nav li.hover ul {
	display: block;
}

header.main nav li {
	display: inline-block;
	position: relative;
}

header.main nav a,
header.main nav ul.sub-menu a {
	color: #FFF;
	display: inline-block;
	padding: 5px 30px 5px 10px;
	text-decoration: none;
	text-transform: uppercase;
}

header.main nav li:hover,
header.main nav li.hover {
	background: #515151;
	border-bottom-style: none;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

header.main nav li.current-menu-item a,
header.main nav li.current-menu-ancestor a,
header.main nav li.current-menu-item a:hover,
header.main nav li.current-menu-item a:focus ,
header.main nav li.current-menu-ancestor a:hover,
header.main nav li.current-menu-ancestor a:focus {
	background: #FFF;
	border-bottom-style: none;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	color: #515151;
	cursor: default;
	font-weight: bold;
}

header.main nav ul.sub-menu {
	background: #515151;
	border-radius: 5px;
	border-top-left-radius: 0px;
	left: 0px;
	position: absolute;
	top: 31px;							/* eyeballed */
	z-index: 100;	
}

header.main nav ul.sub-menu li,
header.main nav ul.sub-menu li a,
header.main nav ul.sub-menu li:hover,
header.main nav li.current-menu-item ul.sub-menu a,
header.main nav li.current-menu-ancestor ul.sub-menu a,
header.main nav li.current-menu-item ul.sub-menu a:hover,
header.main nav li.current-menu-item ul.sub-menu a:focus ,
header.main nav li.current-menu-ancestor ul.sub-menu a:hover,
header.main nav li.current-menu-ancestor ul.sub-menu a:focus {
	background-color: transparent;
	color: #FFF;
	display: block;
	font-weight: normal;
	white-space: nowrap;
	width: auto;
}

header.main nav ul.sub-menu li a:hover,
header.main nav ul.sub-menu li a:focus {
	text-decoration: underline;
}

#main {
	background: url("images/backgrounds/main.jpg") left top repeat-x #FFF;
	overflow: hidden;
	padding-top: 35px;
}

/********************************************************************************* HOMEPAGE */

.template-front-page #main {
	min-height: 175px;
	overflow: visible;
	padding-top: 0;
}

#front_page {
	background: url("images/backgrounds/front-page-banner.png") left top no-repeat;	
	height: 419px;
	padding: 65px;
	position: absolute;
	top: -251px;
	width: 980px;
}

#lofslidecontent45 .lof-main-outer .lof-next,
#lofslidecontent45 .lof-main-outer .lof-previous {
	display: none;
}

#lofslidecontent45 .lof-main-outer:hover .lof-next,
#lofslidecontent45 .lof-main-outer:hover .lof-previous {
	display: block;
}

.slider-wrapper.theme-default {
	width: 300px;
}

.theme-default .nivoSlider {
	height: 200px;
	width:  300px;
}

/********************************************************************************* INNER PAGES */

h2 {
	background: url("images/backgrounds/visible-h2.png") left top repeat-y;
	border-radius: 5px;
	color: #FFF;
	font: normal 1.25rem/50px 'Cuprum', Arial, sans-serif;
	padding: 0 10px;
}

h3 {
	font-weight: normal;
	text-transform: uppercase;
}

body.contact p {
	clear: right;
	float: right;
	text-align: left;
	width: 45%;
}

div#contact-form-179 {
	width: 60%;
}

article + article {
	margin-top: 50px;
}

/********************************************************************************* DIRECTORY */

#directory {
	width: 100%;
}

#directory tbody tr {
	border-top: 1px solid #CCC;
}

#directory thead th {
	text-align: left;
	vertical-align: bottom;
}

#directory tbody th,
#directory tbody td {
	padding: 5px 0;
	vertical-align: middle;
}

#directory td.photo {
	width: 40px;
}

/********************************************************************************* MEMBER PROFILES */

.single-i2cner-directory section {
	display: inline-block;
	vertical-align: top;
	width: 25%;
}

.single-i2cner-directory section.photo {
	width: 125px;
}

.single-i2cner-directory section + section {
	margin-left: 16px;
}

.single-i2cner-directory section ul {
	list-style-type: none;
	padding-left: 0;
}

.single-i2cner-directory section ul ul {
	display: inline;
	margin: 0;
}
	
.single-i2cner-directory section ul ul li {
	display: inline;
}

.single-i2cner-directory section ul ul li + li:before {
	content: ", ";
	left: -4px;
	margin-right: -4px;
	position: relative;
}

.single-i2cner-directory #dashtabs {
	list-style-type: none;
	padding: 0;
}

.single-i2cner-directory #dashtabs li {
	display: inline-block;
}

.single-i2cner-directory #dashtabs a {
	border-bottom-style: none;
	color: #AAA;
	padding: 0 5px 1px;
	text-decoration: none;
	text-transform: uppercase;
}

.single-i2cner-directory #dashtabs a.on {
	color: #222;
	text-decoration: underline;
}

.single-i2cner-directory #dashtabs li:first-child a {
	padding-left: 0;
}


.single-i2cner-directory .dashpane {
}


/********************************************************************************* FOOTER */

footer.main {
	background: url("images/backgrounds/footer.jpg") left bottom repeat-x #FFF;
	clear: both;
	height: 170px;
	padding-top: 60px;
}

footer.main p {
	color: #FFF;
	float: left;
	font-size: .8rem;
	margin: 0 2% 0 0;
	width: 48%;	
}

footer.main p + p {
	text-align: right;
}

footer.main a,
footer.main a:link,
footer.main a:visited {
	border-bottom-color: #FFF;
	color: #FFF;
}

footer.main a:hover,
footer.main a:focus {
	border-bottom-color: #900;
}
	
	
	
	
	
	
/************** NIVO FIXES */

.nivo-caption {
    background: #000 none repeat scroll 0 0;
    bottom: 0;
    box-sizing: border-box;
    color: #fff;
    display: none;
    left: 0;
    opacity: 0.8;
    overflow: hidden;
    padding: 5px 10px;
    position: absolute;
    width: 100%;
    z-index: 8;
}

.nivo-html-caption {
	display: none;
}

.theme-default a.nivo-prevNav {
    left: 15px;
}
.theme-default .nivo-directionNav a {
    background: rgba(0, 0, 0, 0) url("arrows.png") no-repeat scroll 0 0;
    border: 0 none;
    display: block;
    height: 30px;
    opacity: 0;
    text-indent: -9999px;
    transition: all 200ms ease-in-out 0s;
    width: 30px;
}
.theme-default .nivoSlider a {
    border: 0 none;
    display: block;
}
.nivo-directionNav a {
    cursor: pointer;
    position: absolute;
    top: 45%;
    z-index: 9;
}
.nivo-prevNav {
    left: 0;
}

.theme-default a.nivo-nextNav {
    background-position: -30px 0;
    right: 15px;
}
.theme-default .nivo-directionNav a {
    background: rgba(0, 0, 0, 0) url("arrows.png") no-repeat scroll 0 0;
    border: 0 none;
    display: block;
    height: 30px;
    opacity: 0;
    text-indent: -9999px;
    transition: all 200ms ease-in-out 0s;
    width: 30px;
}
.theme-default .nivoSlider a {
    border: 0 none;
    display: block;
}
.nivo-directionNav a {
    cursor: pointer;
    position: absolute;
    top: 45%;
    z-index: 9;
}
.nivo-nextNav {
    right: 0;
}

.slider-wrapper.theme-default {
	float: left;
	margin-right: 50px;
}

#recaptcha_widget {
	width: 445px !important;
}