/*
 Theme Name:   Cornell Graphics and Vision Group
 Template:     cwd_cornell
 Theme URI:    http://www.cornell.edu
 Description:  Child of Cornell University Base Theme
 Author:       Cornell University Custom Web Development
 Author URI:   http://it.cornell.edu/custom-web
 Version:      1.0.0
 Text Domain:  cwd_cornell
*/

@import url(https://fonts.googleapis.com/css?family=Oswald:400,700);

html {
  -webkit-box-sizing: border-box!important;
  -moz-box-sizing: border-box!important;
  box-sizing: border-box!important;
}
*, *:before, *:after {
  -webkit-box-sizing: inherit!important;
  -moz-box-sizing: inherit!important;
  box-sizing: inherit!important;
  }

#skipnav a:focus {
	color: #000;
    background: #F39205 !important;
}
body {
	background-color: #F4F4F4 !important;
}
h1,h2,h3,h4,h5,h6,
.h1,.h2,.h3,.h4,.h5,.h6 {
	font-family: "aktiv-grotesk", sans-serif;
}
body, p, a {
	font-family: "aktiv-grotesk", sans-serif;
    font-size: 16px;
    line-height: 1.62;
    color: #333333;
}
body, p, a {
	color: #333;
}

body:not(.logged-in) #cu-header {
	margin-top: 0;
}
#skipnav {
    top: 10px;
    z-index: 9999;
}
#skipnav a {
    padding: 6px 10px;
}
.sidebar.sidebar-tint-edge main:before {
    width: 0;
}
.page-title-wrap {
	margin-bottom: 8px;
    border-bottom: 8px solid #F39205;
    padding: 24px 15px 11px;
    background-color: #fff;
}
.page-title-wrap h1 {
	font-weight: 300;
}
.breadcrumbs * {
    color: #474747;
    transition: color .4s;
    padding: 0 2px;
    font-size: 12px;
    text-transform: uppercase;
    border-bottom: none !important;
}
.breadcrumbs {
    text-align: center;
	float: left;
}
body:not(.post-type-archive-people) #main-content a {
    text-decoration: underline;
	color: #005b88;
	padding: 5px 2px;
}
body:not(.post-type-archive-people) #main-content a:focus,
body:not(.post-type-archive-people) #main-content a:hover {
	background: #f39205;
	color: #000;
	text-decoration: none;
}
body.post-type-archive-people #main-content a {
    border-bottom: 1px solid #F39205;
    text-decoration: none;
	color: #005b88;
}
body.post-type-archive-people #main-content a:focus,
body.post-type-archive-people #main-content a:hover {
	border-bottom: 1px solid #005b88;
}
body > footer a {
    display: block;
}
body > footer .sub-footer a {
	text-decoration: none;
}
body > footer .sub-footer a:focus,
body > footer .sub-footer a:hover {
	text-decoration: underline;
}


@media (min-width: 991px) {
	#main-navigation .menu-item:not(.current-menu-item) a:hover,
	#main-navigation .menu-item:not(.current-menu-item) a:focus,
	#main-content .menu-item:not(.current-menu-item) a:not(.archive-link):hover,
	#main-content .menu-item:not(.current-menu-item) a:not(.archive-link):focus {
		border-bottom: 3px solid #F39205;
	}
}

/* Header */
.cgvg #cu-header {
	height: 140px;
	background: #fff;
	border-bottom: 1px solid #ccc;
	position: fixed;
	z-index: 999;
}
.cgvg .cu-logo a {
    background: none;
	margin: 0 0 0 0 !important;
}
.cgvg .cu-logo a:last-child {
    background: url(images/Cornell-Bowers-CIS-Red.png) 0 0 no-repeat;
    background-size: cover;
    width: 540px;
    height: 70px;
}
.cu-seal #cu-header .cu-brand .cu-logo {
    margin-top: 20px;
	position: relative;
}

.cu-seal #cu-header .cu-brand .cu-logo .sitename {
    position: absolute;
    top: -1000em;
    left: -1000em;
}
#main-navigation {
    float: right;
    position: absolute;
    right: 45px;
    top: 55px;
	background: none;
    color: #fff;
}
#main-navigation ul li a {
    color: #333;
	font-family: Oswald, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}
#main-navigation li.current-menu-item > a, #main-navigation li.current-menu-ancestor > a, #main-navigation li.active-trail > a, #main-navigation a:hover, #main-navigation li.active > a, #main-navigation li:hover > a, .dropdown-menu li:hover > a {
    background: none;
}

#slider-container {

}
body > footer {
    background: url(images/footer_bg.jpg) 0 0 no-repeat;
	background-size: cover;
}
body > footer .tint {
    background: rgba(51, 51, 51, 0.75);
}
body > footer .columns > div {
    width: 50% !important;
	min-width: 432px;
	float: left !important;
}
body > footer .columns > .primary {
    width: 42% !important;
}
@media (max-width: 440px) {
	body > footer .columns > div {
		min-width: 96%;
	}
}

.copyright {
    color: #fff;
	float: left;
	text-align: left;
	width: 33.33%;
}
.loginout {
	text-align: center;
	float: left;
	width: 33.33%;
}
.a11y-help {
	text-align: right;
	float: left;
	width: 33.33%;
}
body > footer .main-footer .container-fluid:after {
    border-right: 0;
}
body > footer .main-footer {
    padding: 92px 0;
}
body > footer .tertiary a {
	float: right;
}
.sidebar .row > .primary, .sidebar-left .row > .primary, .sidebar-right .sidebar-left .row > .primary {
    width: 100%;
    float: none;
}
.sidebar-tint main:before {
    background: #fff;
    width: 0;
}
#main-content {
	background: #F4F4F4 !important;
}
#cu-header {
	top: 0;
}
.admin-bar #cu-header {
	top: 32px;
}
h1 {
	margin-bottom: 52px;
	color: #333;
}
.page-title-wrap h1 {
    margin-bottom: 8px;
	text-align: center;
}
.page-title-wrap h1 a {
    font-size: 36px;
	text-decoration: none;
}
body:not(.home) h1 {
    margin-bottom: 12px;
}
body:not(.home) #main > .breadcrumbs + .row {
    margin-top: 60px;
    clear: both;
}
body.author #main > .breadcrumbs + .row {
    margin-top: 80px;
}
main h2, #main h2,
main .h2, #main .h2 {
    color: #333;
}
article h1 {
	text-align: center;
}
h2,.h2,
.post-type-archive-title a {
	font-size: 27px;
}
h2,.h2,
.post-type-archive-title.h3 a {
	font-size: 23px;
}
p, blockquote, pre, figure, aside, ul, ol, dl, table, #main form {
    margin-bottom: 1em;
}
.row > .primary, .row > .secondary {
    margin-bottom: 0;
}
#main {
    padding-bottom: 0;
    padding-top: 30px;
	background-color: #F4F4F4 !important;
}
#slider_container {
    background: rgb(54, 63, 71);
    height: 66vh;
    max-height: 420px;
	max-width: 1920px;
	margin: 140px auto 0;
    clear: both;
}
#caption_container {
    position: absolute;
    padding-left: 15px;
    padding-right: 15px;
    max-width: none;
    margin: 0 auto;
	top: unset;
    bottom: 0;
    width: 100%;
    z-index: 5;
}
#slider_container .container-fluid {
    max-width: none;
	height: 100%;
    padding: 0;
}
#slider_container .slider-container .campaign-nav {
    position: absolute;
    left: 0;
    bottom: 60px;
    margin: 0 auto;
	padding-left: 15px;
    padding-right: 15px;
    max-width: 1049px;
}
#slider_container .slider-container .campaign-nav li a {
    color: #F39205 !important;
	padding: 6px 6px;
}
#slider_container .slider-container .campaign-nav .next-prev a {
    float: left;
    display: block;
    color: #fff;
    background: #F39205;
    width: 34px;
    height: 34px;
    text-align: center;
	border: 1px solid #fff;
}
#slider_container .slider-caption .caption-inner:not(.empty) {
    position: absolute;
	background: rgba(0, 0, 0, 0.5);
	padding: 16px 20px 16px 42px;
    left: 0;
    top: auto;
    bottom: 0;
    width: 100%;
}
#slider_container .slider-caption .the_caption {
    font-family: Avenir Next, Proxima Nova, 'proxima-nova', Segoe UI Semibold, Helvetica Neue, sans-serif;
	display: inline-block;
    font-size: 19px;
	margin: 0;
	line-height: 22px;
}
#slider_container .slider-container .campaign-nav.no-numbers .dot {
    width: 1em;
    height: 1em;
    border: 1px solid #ccc;
    background: #ffffff;
}
#slider_container .slider-container .campaign-nav a.active .dot {
    background: #F39205 !important;
}
#posts_slider .container .sliderButton.active {
	background-color: #F39205;
}
#posts_slider .container .sliderButton.inactive {
	background-color: #ccc;
}
#posts_slider .container .sliderButton.inactive:hover {
	cursor: default;
	outline: 0;
}
webkit-autofill, 
textarea:-webkit-autofill, 
select:-webkit-autofill {
    background-color: #fff !important;
}

.cu-logo #seal {
	display: block;
    position: absolute;
    min-width: 0;
    float: left;
    width: 70px;
    margin: 0 !important;
    height: 70px;
}
.cu-logo #dept {
	display: block;
    margin: 0 0 0 0 !important;
    right: 0;
    position: absolute;
    width: 290px;
    height: 70px;
}
#slider_container .slider-container {
    padding: 0 0 0%;
    position: relative;
    height: 100%;
}
#slider_container .slider-container .campaign-nav .next-prev a .fa {
    color: #fff;
    font-size: 23px;
    line-height: 31px;
}

.excerpt-wrap {
    width: calc(100% - 180px);
    float: right;
}
.excerpt-wrap .excerpt {
    margin: 12px 0;
}
.excerpt-wrap h3 {
    margin: -2px 0 10px 0;
    text-align: left;
}
.excerpt-wrap h3 a {
    line-height: 40px;
}
.excerpt-wrap .external-link {
    padding-right: 31px;
    background: url(images/external-link-icon.png) right 4px no-repeat;
    background-size: 24px;
}
#main-content .archive-thumb-wrap a {
    border-bottom: none;
}
.fa-angle-right:before {
    padding: 0 0 0 3px;
}
.moretag {
    float: right;
    margin-right: 6px;
	margin-top: 6px;
}
.post-meta {
    clear: both;
    padding-top: 8px;
    margin-top: 12px;
}
.post-meta ul {
    list-style: none;
    padding-left: 0;
}
.post-meta ul li {
    float: left;
    margin-right: 20px;
}
#main-navigation a {
    padding: 8px 16px;
}
.tax-paper_categories #main-navigation ul li:nth-child(2) a,
.tax-paper_tags  #main-navigation ul li:nth-child(2) a,
.tax-project_categories #main-navigation ul li:first-child a,
.tax-project_tags  #main-navigation ul li:first-child a,
#main-navigation li.current-menu-item > a {
    background: #F39205;
    color: #000;
	font-family: Oswald, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}
#main-navigation a:focus {
    background: none;
}
/*.tax-paper_tags .excerpt,
.tax-paper_categories .excerpt,
.post-type-archive-papers .excerpt {
    margin: 2px 0;
}*/
.tax-paper_tags .post-meta,
.tax-paper_categories .post-meta,
.post-type-archive-papers .post-meta {
    clear: both;
    padding-top: 6px;
    margin-top: 4px;
}
.tax-paper_tags .post-meta a,
.tax-paper_categories .post-meta a,
.post-type-archive-papers .post-meta a {
    clear: both;
    padding-top: 6px;
    margin-top: 10px;
}
.tax-paper_tags .post-type-archive-title a,
.tax-paper_categories .archive-thumb-wrap a,
.tax-paper_tags .archive-thumb-wrap a,
.tax-paper_categories .archive-thumb-wrap a,
.post-type-archive-papers .post-type-archive-title a,
.post-type-archive-papers .archive-thumb-wrap a {
	pointer-events: none;
	border-bottom: none !important;
}
.tax-paper_tags .excerpt-wrap h2,
.tax-paper_categories .excerpt-wrap h2,
.post-type-archive-papers .excerpt-wrap h3 {
    margin: -6px 0 3px 0;
}
.search-results .archive-thumb-wrap {
    float: left;
    clear: both;
    margin: 0 0 0 0;
}
.home article section {
    float: left;
    clear: both;
    width: 100%;
    padding: 0 0 1em;
    margin-bottom: 2.5em;
    border-bottom: 0px solid #ebebeb;
}
.home .post-type-archive-title a {
    font-size: 23px;
    line-height: 31px;
}
.home .excerpt-wrap .external-link {
    padding-right: 31px;
    background: url(images/external-link-icon.png) right 4px no-repeat;
    background-size: 20px;
}
.home .moretag {
    float: right;
    margin-right: 6px;
    margin-top: 31px;
}
.home .leftside h2 {
    font-size: 34px;
    line-height: 31px;
}
.home .leftside {
    width: 46%;
    float: left;
    height: 100%;
    padding: 110px 30px 157px 180px;
    border-right: 1px solid #ccc;
}
.home .excerpt-wrap {
    width: calc(100% - 172px);
    padding: 0 9px;
    float: right;
}
.home .rightside {
    width: 47%;
    float: right;
    overflow: hidden;
}
.home article section.page {
    margin-bottom: 0;
}
.home article > section:first-child {
    margin-top: 12px;
}
.home .leftside h2 a {
    font-size: 34px;
    line-height: 31px;
}
.home .post-type-archive-title a, .post-type-archive-papers .archive-thumb-wrap a {
    pointer-events: none;
    border-bottom: none !important;
}
.post-authors {
    margin-top: 12px;
}
.links-wrap {
    padding-right: 22px;
    background: url(images/external-link-icon.png) right 4px no-repeat;
    background-size: 14px;
    display: inline-block;
}

/* People */
.people .thumbnail {
	background: #323a47;
}
.people .thumbnail-wrap {
	margin-right: -1px;
}
.people .thumbnail-wrap:nth-child(4n+4) {

}
#main-article.papers > h2,
#main-content article.people h2 {
    text-align: center;
}
#main-article.papers > h2:not(:first-child) {
    clear: both;
    padding-top: 20px;
    margin: 20px 0 12px 0;
}
#main-content .people .thumbnail a {
	display: block;
	overflow: hidden;
	z-index: 99;
    position: relative;
    color: #fff;
    border-bottom: none;
    padding-bottom: 10px;
    border: 1px solid #ccc;
    text-align: center;
}

.people .thumbnail .the-name,
.people .thumbnail .the-title {
    display: block;
    text-align: center;
}
.people .thumbnail .the-name {
    padding-top: 10px;
}
.people .thumbnail .the-title {
    font-size: smaller;
	font-style: italic;
}
.people-container .four-col {
    margin-top: 2.5em;
}










.people .thumbnail {
	background: #323a47;
}
#main-content article.people h2 {
    text-align: center;
}
#main-content .people .thumbnail p.archive-link,
#main-content .people .thumbnail a {
	display: block;
	overflow: hidden;
	z-index: 99;
    position: relative;
    color: #fff;
    border-bottom: none;
    border: 1px solid #ccc;
    padding-bottom: 10px;
    text-align: center;
}
#main-content .people-container .people-overlay {
    height: 100%;
    width: 100%;
    top: 0;
    position: absolute;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.5+2,0.5+100 */
	background: -moz-linear-gradient(top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.45) 2%, rgba(0,0,0,0.45) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.45) 0%,rgba(0,0,0,0.45) 2%,rgba(0,0,0,0.45) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%,rgba(0,0,0,0.45) 2%,rgba(0,0,0,0.45) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80000000', endColorstr='#80000000',GradientType=0 ); /* IE6-9 */
    -webkit-transition: visibility 0s, opacity 0.4s linear;
    -moz-transition: visibility 0s, opacity 0.4s linear;
    -o-transition: visibility 0s, opacity 0.4s linear;
    transition: visibility 0s, opacity 0.4s linear;
	visibility: hidden;
	opacity: 0;
}
#main-content .people-container .people-overlay.fade-in {
	visibility: visible;
	opacity: 1;
	pointer-events: none;
	z-index: 999;

}

.people .thumbnail .the-name,
.people .thumbnail .the-title {
    display: block;
    text-align: center;
}
.people .thumbnail .the-name {
    padding-top: 10px;
	z-index: 9999;
    position: relative;
}
.people .thumbnail .the-title {
    font-size: smaller;
	font-style: italic;
	z-index: 9999;
    position: relative;
}
.people-container .four-col {
    margin-top: 2.5em;
}
.people-container .thumbnail-wrap {
    position: relative;
	float: left;
}












.fa-external-link-square {
	position: absolute;
    font-size: 27px;
    color: rgba(255, 255, 255, 0.8588235294117647);
    bottom: 0;
	left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}	
.fa-external-link-square:before {
    text-align: right;
    display: block;
    padding-top: 4%;
    padding-right: 8px;
    height: 100%;
}	
article .error-404.not-found {
	text-align: center;
}	
article section {
    border-bottom: none;
	padding: 15px;
    margin-bottom: 1.5em;
    background: #fff;
}
article section:last-child, 
article section.no-border:last-child {
    border-bottom: none;
    padding: 15px;
    margin-bottom: 1.5em;
}
.visually-hidden {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
    width: 1px;
    word-wrap: normal;
}
.home .thumbnail {
	background: none;
	margin: 0 auto;
    text-align: center;
}
.home .two-col.padded h3 {
	text-align: right;
}
.home .front-section-title {
    margin-bottom: 55px;
}
.home #main-article {
	padding: 0;
	background-color: #F4F4F4 !important;
}
.home #main > .row {
    margin: 0 auto;
}

.container-fluid {
	padding-left: 15px;
	padding-right: 15px;
	max-width: 1049px;
}

@media (max-width: 767px) {
	#slider_container .slider-caption .caption-inner:not(.empty) {
		position: absolute;
		background: rgba(0, 0, 0, 0.6);
		padding: 8px 15px;
		top: unset!important;
		bottom: 0;
		width: 100%;
		left: 0 !important;
	}
	#slider_container .slider-container .campaign-nav {
		bottom: 48px;
	}
	#slider_container .slider-caption .the_caption {
		font-family: "aktiv-grotesk", sans-serif;
		font-size: 15px;
	}
	#slider_container .slider-container .campaign-nav .next-prev a {
		width: 30px;
		height: 30px;
		margin-right: 8px;
	}
	#slider_container .slider-container .campaign-nav .next-prev a .fa {
		font-size: 19px;
		line-height: 29px;
	}
	.two-col > *, 
	.three-col > *, 
	.four-col > * {
		width: 33%;
	}
}

@media (max-width: 600px) {
	.two-col > *, 
	.three-col > *, 
	.four-col > * {
		width: 50%;
	}
}
@media (max-width: 420px) {
	.two-col > *, 
	.three-col > *, 
	.four-col > * {
		width: 92%;
	}
	.people-container .thumbnail-wrap {
		margin: 0 auto 20px;
		float: none;
	}
	#main-article.papers > h2:not(:first-child) {
    	padding-top: 30px;
	}
}
