/****************************************
 * Cornell Collection of Antiquities
 * Cornell University Library
 * Ithaca, NY 14853
 ****************************************/

/*
Title:		Main styles for Cornell Collection of Antiquities
Author:		mhk33@cornell.edu
*/

/* COLORS
dark green		#013e32
*/

/* FONT SIZES
9px = 0.5625em
10px = 0.625em
11px = 0.6875em
12px = 0.75em
14px = 0.875em
16px = 1em
18px = 1.125em
20px = 1.25em
24px = 1.5em
26px = 1.625em
30px = 1.875em
36px = 2.25em
40px = 2.5em
*/





/* #Reset & Basics (Inspired by E. Meyers)
================================================== */
	html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 100%;
		font: inherit;
		vertical-align: baseline; }
	article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
		display: block; }
	body {
		line-height: 1; }
	ol, ul {
		list-style: none; }
	blockquote, q {
		quotes: none; }
	blockquote:before, blockquote:after,
	q:before, q:after {
		content: '';
		content: none; }
	table {
		border-collapse: collapse;
		border-spacing: 0; }


/* #Layout
================================================== */
body {font-size: 100%; color: #000; font-family: 'crimson_textroman', serif; background: #013e32;}


.main-image {background: #fff;}
.main-content {padding: 60px 0; background: #fff;}

.front .main-content {margin: -20px 0 0 0; background: #013d31; padding: 60px 0 30px;
	background-image: linear-gradient(bottom, rgb(1,74,59) 40%, rgb(1,61,49) 70%);
	background-image: -o-linear-gradient(bottom, rgb(1,74,59) 40%, rgb(1,61,49) 70%);
	background-image: -moz-linear-gradient(bottom, rgb(1,74,59) 40%, rgb(1,61,49) 70%);
	background-image: -webkit-linear-gradient(bottom, rgb(1,74,59) 40%, rgb(1,61,49) 70%);
	background-image: -ms-linear-gradient(bottom, rgb(1,74,59) 40%, rgb(1,61,49) 70%);
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0.4, rgb(1,74,59)),
		color-stop(0.7, rgb(1,61,49))
	);
}

a,
a:visited {color: #026f59;}
/*a:hover,
a:active {text-decoration: underline;}*/


/* #Cornell identity
================================================== */

.cu-identity {background: #4d4e53; border-bottom: 10px solid #4d4e53;}
#cu-identity-wrap {font-family: verdana, arial, helvetica, sans-serif; height: 75px;}
#cu-identity-content {position: relative;margin: 0 auto;width: 940px;height: 75px;background: url("../images/layout/lib.gif") no-repeat;}
#cu-identity-content a {position: absolute;display: block;border: none;text-indent: -1000em;text-decoration: none;}
#cu-identity-content a:hover {background: transparent;}
#cu-identity-content img {display: none;}
#insignia-link {width: 80px;height: 88px;}
#unit-signature-links a {left: 80px;width: 185px;}
#cornell-link {height: 35px;}	
#unit-link1 {top: 35px;height: 20px;}	
#unit-link2 {top: 55px;height: 33px;}
#search-navigation {position: absolute;top: 37px;right: 0;}	
#search-navigation ul {list-style: none;margin: 0;padding: 0;font-size: 0.6875em;}	
#search-navigation li {float: left;margin: 0;padding: 0;background: none;}	
#search-navigation a {display: inline;float: left;padding: 5px 15px;color: #ffffff;text-indent: 0;position: relative;}
#search-navigation a:hover {background: #990f26;}


/* #Header
================================================== */

header {padding: 30px 0 10px; background: #fff;}
header .row {margin-bottom: 0;}
h1 {margin: 0;}
h1 a,
h1 a:visited,
h1 a:hover {font-size: 2.5em; text-decoration: none; color: #000;}
header h2 {color: #4d4e53; font-family: 'crimson_textitalic', serif; font-size: 1.5em; text-align: right; padding-top: 12px;}


/* #Navigation
================================================== */

nav ul {margin: 0; list-style: none; float: left;}
/*.sf-menu.menu a {display: inline;}
.sf-menu.menu li {margin: 0 60px 0 0; float: left; font-size: 1.125em;}*/
nav a {display: inline; text-decoration: none;}
nav a:hover {text-decoration: underline;}
nav li {margin: 0 60px 0 0; float: left; font-size: 1.125em;}
nav a.active,
nav a.active:hover {color: #000; text-decoration: none;}

/* drop-down list */
a.menuparent {background: url("../images/layout/arrow-dropdown.png") no-repeat right; padding-right: 12px;}
a.menuparent:hover {background: url("../images/layout/arrow-dropdown.png") no-repeat right; padding-right: 12px;}
nav .active-trail a.menuparent,
nav .active-trail a.menuparent:hover {color: #000; background: url("../images/layout/arrow-dropdown-active.png") no-repeat right; text-decoration: none;}

/* superfish dropdown */
.sf-menu.sf-horizontal.sf-shadow ul,
.sf-menu.sf-vertical.sf-shadow ul,
.sf-menu.sf-navbar.sf-shadow ul ul {background-image: none; background-color: #013e32; padding: 10px 20px !important;
    -moz-box-shadow: 0px 7px 20px rgba(0, 0, 0, 0.30);
    -webkit-box-shadow: 0px 7px 20px rgba(0, 0, 0, 0.30);
    /*-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;*/
	opacity:0.95;
	filter:alpha(opacity=95);
}
.sf-menu.sf-style-default li li {background: inherit;}
.sf-menu.menu li li {font-size: 0.875em; line-height: 1.2em; margin: 5px 0;}
.sf-menu.menu li li a,
.sf-menu.menu li li a:visited {color: #fff;}
.sf-menu.sf-horizontal.sf-shadow ul, .sf-menu.sf-vertical.sf-shadow ul, .sf-menu.sf-navbar.sf-shadow ul ul {
	border-top-right-radius: 0;
	border-bottom-left-radius: 0;
}
/* 12.3.13 - hide parent link in dropdown - need to figure out how to turn this off in superfish module or memu */
.sf-clone-parent {display: none;}

/* browse collection external link */
/*li.menuparent li.first {border-bottom: 1px dotted #E0F4F0; padding-bottom: 10px;}*/
li.menuparent li.first a {background: url("../images/layout/icon-external.png") no-repeat right .25em; padding-right: 15px; font-family: 'crimson_textbold', serif;}


/* #Sidebar navigation
================================================== */

.sidebar h2 {font-size: 1em; text-transform: uppercase; font-family: 'crimson_textroman', serif;}
.sidebar ul {list-style: none; margin: 0;}
.sidebar li {margin: 0 0 .75em 0; font-size: 1em;}
.sidebar a {text-decoration: none;}
.sidebar a:hover {text-decoration: underline;}
.sidebar a.active,
.sidebar a.active:hover,
.sidebar a.active-trail,
.sidebar a.active-trail:hover {color: #000; text-decoration: none;}
.browse-link {margin-bottom: 1em; border-top: 1px dotted #013e32; padding-top: .75em; }
.browse-link a {background: url("../images/layout/icon-external.png") no-repeat right .25em; padding-right: 15px; font-family: 'crimson_textbold', serif;}
p.browse-link {border: 0; font-size: 16px; padding-top: 0;}
.sidebar li li {font-size: 0.875em;}
.sidebar ul ul {margin-left: 20px; margin-top: 10px;}

.menu-block-wrapper {padding: 0 0 5px; margin-bottom: 20px; b/*order-bottom: 1px dotted #013e32;*/}
/* remove bottom border on coins sidenav because there are no additional child pages */
.page-node-3 .menu-block-wrapper {border-bottom: 0;}

/* #Footer
================================================== */
footer {padding: 30px 0;}
footer p {color: #a0c2bb; font-size: 1em;}
footer .block p {margin-bottom: 0;}
footer a,
footer a:visited {color: #fff;}


/* #Images
================================================== */

img {max-width: 100%;}

.banner {
	box-shadow: 0px 7px 20px rgba(0, 0, 0, 0.30);
    -moz-box-shadow: 0px 7px 20px rgba(0, 0, 0, 0.30);
    -webkit-box-shadow: 0px 7px 20px rgba(0, 0, 0, 0.30);
    width: 940px;
    height: 380px;
}
.banner img,
.main-content img {border: 5px solid #E1E8E7;}

/* external link icon */
a.external-link {background: url("../images/layout/icon-external.png") no-repeat right .25em; padding-right: 15px;}

.image-right {float: right; margin: 0 0 30px 30px;}
.image-left {float: left; margin: 0 30px 30px 0;}
.image-center {text-align: center;}


/* #Typography
================================================== */

h2 {font-size: 2em; margin: 0 0 1em; clear: both; font-family: 'crimson_textitalic', serif;}
h3 {font-size: 1.625em; margin: 2em 0 1em;}
	h3:first-child { margin-top: 0; }
h4 {font-size: 1.25em; margin: 1.5em 0 .25em; line-height: 1.4em;}

h5 {font-size: 1.1em; margin: 0 0 1em; color: #333; line-height: 1.6em;}

h3.first,
h4.first {margin-top: 0;}

/* Hide welcome message on home page */
.front .main-content h2 {
	display: none;
}
.front .main-content .block h2 {
	display: block;
}


p {line-height: 1.5em; margin: 0 0 1em; font-size: 1.125em;}
li {line-height: 1.2em; margin: 0 0 1em; font-size: 1.125em;}

ul {list-style: disc; margin: 0 0 1em;}
li {margin-left: 20px;}
li li {font-size: 1em;}

em {font-family: 'crimson_textitalic', serif;}
strong {font-family: 'crimson_textbold', serif;}

/* top link */
p.toplink {float: right; font-size: 1em;}
p.toplink a {text-transform: uppercase; padding: 0 15px 0 0; background: url("../images/layout/top-bg.png") no-repeat right .1em;}
p.no-bottom-margin {margin-bottom: 0;}


/* #Miscellaneous
================================================== */

.box {padding: 20px; background: #f1f1f1; margin-bottom: 1.5em;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;}
	.box-alert {background: #f7dede;}

.float-right {float: right;}
.clear-none {clear: none;}
.center {text-align: center;}
p.caption {font-size: 1em; color: #666; line-height: 1.2em; margin-bottom: 1.5em; text-align: center;}
.divider {color: #999; padding: 0 5px;}
a.button {background: #e0f4f0; padding: 10px; display: block;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
a.button:hover {}

/* home page text */
.front .main-content h2 {color: #fff; padding: 0 60px;}
.intro-text {padding: 0 60px; color: white;}
.intro-text p {color: #fff; font-size: 1.1em; line-height: 1.75em;}
.intro-text a {color: white;}
.intro-text h3 {font-size: 1.5em; margin-top: 0;}

/* Footnotes */
.footnotes {
	font-size: 90%;
	margin-top: 3em;
	border-top: 1px solid #ccc;
	padding-top: 1em;
}

/* #Drupal admin stuff
================================================== */

/* view/edit tabs */
.main-content ul.tabs {float: right; list-style: none;}
.main-content ul.tabs li {float: left; font-size: 0.75em; margin: 0 5px 0 0;}
.main-content ul.tabs li a {display: block; padding: 5px 10px; /*background: #e1e1e1;*/ border: 1px solid #d1d1d1;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background-image: linear-gradient(bottom, rgb(241,241,241) 43%, rgb(225,225,225) 81%);
	background-image: -o-linear-gradient(bottom, rgb(241,241,241) 43%, rgb(225,225,225) 81%);
	background-image: -moz-linear-gradient(bottom, rgb(241,241,241) 43%, rgb(225,225,225) 81%);
	background-image: -webkit-linear-gradient(bottom, rgb(241,241,241) 43%, rgb(225,225,225) 81%);
	background-image: -ms-linear-gradient(bottom, rgb(241,241,241) 43%, rgb(225,225,225) 81%);
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0.43, rgb(241,241,241)),
		color-stop(0.81, rgb(225,225,225))
	);
}
.main-content ul.tabs li a:hover {text-decoration: none; background: #f1f1f1; color: #e75b1e;}
.main-content ul.tabs li.active a,
.main-content ul.tabs li.active a:hover {/*background: #e75b1e;*/ color: #fff; text-decoration: none; border: 1px solid #c04008;
	background-image: linear-gradient(bottom, rgb(252,121,64) 43%, rgb(231,90,30) 81%);
	background-image: -o-linear-gradient(bottom, rgb(252,121,64) 43%, rgb(231,90,30) 81%);
	background-image: -moz-linear-gradient(bottom, rgb(252,121,64) 43%, rgb(231,90,30) 81%);
	background-image: -webkit-linear-gradient(bottom, rgb(252,121,64) 43%, rgb(231,90,30) 81%);
	background-image: -ms-linear-gradient(bottom, rgb(252,121,64) 43%, rgb(231,90,30) 81%);
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0.43, rgb(252,121,64)),
		color-stop(0.81, rgb(231,90,30))
	);
}
