/*  Layout
-------------------------------------------*/
body {
	height:100%;
	background-color:#000;
	background-repeat:no-repeat;
	background-position:top center;
	margin:0;
	padding:10px 0 20px 0;
}

/*  content
-------------------------------------------*/

#wrapper, #footer-wrapper {
	width:940px;
	margin:auto;
	padding:0;
}
#masthead #logo {
	float:left;
	width:694px;
	height:64px;
	padding:0;
	background-image:url(http://www.intralinea.org/images/imgs/logo/logo-content.png);
	background-repeat:no-repeat;
	background-position:bottom left;
}
#masthead #status {
	float:right;
	height:64px;
	margin:0;
	padding:0;
	display:inline-block;
}
#masthead #status p {
	margin:38px 2px 0 0;
 	text-align:right;
}
#content {
	width:100%;
	padding:0;
	margin:0 0 20px 0;
	border-radius:6px;
    -moz-border-radius:6px 6px 6px 6px;
	-webkit-border-radius:6px 6px 6px 6px;	
}

/* main nav layout
-----------------------------------------*/
#main-nav-background {
	width:100%;
	height:45px;
	margin-bottom:15px;
	background:rgba(255, 255, 255, 0.7);
}

ul#main-nav {
	width:940px;
	margin:auto;
	list-style:none;
	padding:0;
}
ul#main-nav li {
	float:left;
	position:relative;
}
ul#main-nav li a {
	display:block;
	padding:15px 13px 13px 13px;
}
ul#main-nav li ul {
	position: absolute;
	margin-left: -999em;
	box-shadow:3px 3px 3px 1px rgba(0,0,0,0.5); /*#444*/
	z-index:1;
}
#main-nav li:hover ul { /* reveals lists nested under hovered list items */
	margin-left: 0;
	padding:0;
}
ul#main-nav li ul li a {
	display:block;
	padding:7px 9px;
}
ul#main-nav-archive-cats { /* splits archive menu into columns */
	height:340px;
	width:550px;
	-moz-column-count:3;
	-moz-column-gap:0px;
	-webkit-column-count:3;
	-webkit-column-gap:0px;
	column-count:3;
	column-gap:0px;
}
ul#main-nav-specials { /* splits specials menu into columns */
	height:440px;
	width:750px;
	-moz-column-count:4;
	-moz-column-gap:0px;
	-webkit-column-count:4;
	-webkit-column-gap:0px;
	column-count:4;
	column-gap:0px;
}

ul#main-nav-specials li {
	-webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}

/*  content-head
-------------------------------------------*/
#content-head {
	margin:0;
}
#breadcrumb {
	width:100%;
	height:30px;
	background-image:url(http://www.intralinea.org/images/imgs/decorative/shading-upwards.png);
	background-position:bottom left;
	background-repeat:repeat-x;
	overflow:hidden;
	border-bottom:1px solid #b8b8ae;
	border-radius:6px 6px 0 0;
	-moz-border-radius:6px 6px 0 0;
	-webkit-border-radius:6px 6px 0 0;
}
#breadcrumb ul {
	list-style:none;
	margin:0;
	padding:0;
}
#breadcrumb ul li {
	float:left;
	height:30px;
	/*width:12%;*/
	padding:0;
	margin-right:6px;
	background-image:url(http://www.intralinea.org/images/imgs/decorative/arrow.png);
	background-position:center right;
	background-repeat:no-repeat;
	overflow:hidden;
}
#breadcrumb ul li a {
	display:block;
	padding:8px 24px 0 10px;
}
#quicksearch {
	float:right;
	margin:5px 10px 0 10px;
}
#slickbox {
	width:100%;
	height:34px;
	background-image:url(http://www.intralinea.org/images/imgs/decorative/shading-upwards.png);
	background-position:top left;
	background-repeat:repeat-x;
	overflow:hidden;
	border-bottom:1px solid #b8b8ae;
}
#slickbox form {
    float:right;
	padding: 0px;
    margin: 8px 10px 0px 0px;
}
ul.loginbox {
    margin: 0;
    list-style: none;
    list-style-image:none;
    list-style-position:outside;
}
#slickbox ul li {
	float:right;
	height:20px;
    margin: 0px 0px 0px 6px;
    display:inline;
}
#slickbox ul li.link {
	padding:3px 2px 0px 8px;
}
#slickbox ul li.button {
	height:18px;
	padding:2px 5px 0px 5px;
}
#content-head input.formfield {
	padding:2px;
}
#content-head input.button {
	padding:1px 3px;
	margin-left:6px;
}
#context-menu {
	width:100%;
	height:38px;
	background-image:url(http://www.intralinea.org/images/imgs/decorative/shading-downwards.png);
	background-position:top left;
	background-repeat:repeat-x;
	overflow:hidden;
	border-bottom:1px solid #b8b8ae;
}
#page-title {
	float:left;
	height:22px;
	margin:8px 0 0 20px;
	padding:0;
}
#account-menu {
	float:right;
	height:22px;
	padding:8px 10px 0 0;
}
#account-menu #links-logged-in, #account-menu #links-logged-out  {
	float:right;
	height:20px;
	margin:0;
}
#account-menu ul {
	list-style:none;
	margin:0;
	padding:0;
}
#account-menu ul li {
	float:right;
	height:20px;
	padding:0 6px;
	margin-right:5px;
	border-right:1px solid #b8b8ae;
}
#account-menu ul li:first-child { /*needs to be first because this list is floated right, so first element is shown further to the left*/
	border-right:none;
}
#account-menu ul li a {
	display:block;
	padding:3px 2px 2px 2px;
}

/*  content-main index and sow pages
-------------------------------------------*/
#content-main {
	padding:0 0px 15px 0px;
	margin:0;
}
#col-1 {
	width:290px;
	float:left;
	padding:0;
	margin:0;
	vertical-align:top;
}
#col-2 {
	width:605px;
	float:right;
	padding:12px 0 0 0;
	margin:0 0 20px 0;
}
#col-1.commemorative {
	width:0px;
	float:left;
	padding:0;
	margin:0;
	vertical-align:top;
}
#col-2.commemorative {
	width:880px;
	float:right;
	padding:12px 0 0 0;
	margin:0 0 20px 0;
}
#col-2.short {
	padding:12px 0 40px 0;
}

/*  cat-menu
-------------------------------------------*/
ul.cat-menu {
	width:290px;
	height:500px;
	margin:0;
	padding:0;
}
body.specials #cat-menu {
	height:2400px;
}
body.specials ul.cat-menu {
	width:290px;
	height:1800px;
	margin:0;
	padding:0;
}
ul.cat-menu li {
	width:290px;
	height:50px;
	padding:0;
	margin:0;
}
/* Adjust for Special Issue titles */
ul#cat-menu-specials.cat-menu li {
	height:70px;
}
ul.cat-menu li a {
	display:block;
	height:35px;
	padding:14px 0 0 20px;
	margin:0;
	vertical-align:middle;
}
/* Adjust for Special Issue titles */
ul#cat-menu-specials.cat-menu li a {
	height:55px;
}
div.high ul.cat-menu li {
	height:62px;
}
div.high ul.cat-menu li a {
	height:47px; 
/*	padding:12px 0 7px 20px;*/
}
/* col-2 content
-------------------------------------------*/
.colitem {
	width:550px;
	min-height:50px;
	margin:0 0 25px 0px;
	padding-bottom:6px;
}
.colitem-cats {
	width:550px;
	min-height:50px;
	margin:0;
	padding:0 0 20px 14px;
}
#col-2.commemorative .colitem-cats {
	width:800px;
	min-height:50px;
	margin:0;
	padding:0 0 20px 14px;
}
p.published-in {
	margin-bottom:-7px;
}
.readmore {
	margin-top:-10px;
}
#pagination {
	width: 550px;
	height:23px;
	margin:0 10px 20px 0;
	padding-top:2px;
/*	background-image:url(http://www.intralinea.org/images/imgs/decorative/shading-upwards.png);
	background-position:center left;
	background-repeat:repeat-x;
	overflow:hidden;
	border:1px solid #b8b8ae;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;*/
}
#prev-next {
	width:550px;
	margin:0 10px 3px 0;
	text-align:center;
}
#prev-next ul {
	display:inline-block;
	list-style:none;
	height:22px;
	padding:0;
	margin:0;
/*	background-image:url(http://www.intralinea.org/images/imgs/decorative/shading-buttons.png);
	background-position:bottom left;
	background-repeat:repeat-x;
	overflow:hidden;
	border:1px solid #b8b8ae;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;*/
}
#prev-next ul li {
	height:22px;
	display:inline-block;
	text-align:center;
/*	width:95px;*/
	padding:3px 3px 0 6px;
	margin:0;
/*	border-right:1px solid #b8b8ae;*/
}
/*#prev-next ul li:last-child {
	border-right:none;
}*/
#prev-next ul li a {
	margin:3px 0 0 0;
	padding:0;
}
#author-info {
	margin:12px 0 0 0;
	padding:2px 0 0 0;
	min-height:60px;
}
#entry-details {
	margin:12px 0 0 0;
	padding:2px 0 0 0;
	min-height:60px;
}
#entry-details.bottom {
	margin:12px 0 0 0;
	padding:0 0 12px 0;
	min-height:20px;
}
#entry-details.top {
	margin:-15px 0 20px 0;
	padding:0 0 5px 0;
	min-height:60px;
}
#posted-by {
	width:80%;
	float:left;
	margin:0;
	padding:0;
}
#share-links {
	width: 18%;
	float:right;
	margin:0;
	padding:0;
	text-align:right;
}
.share-icon {
	height:16px;
	line-height:16px;
	display:inline-block;
	white-space:nowrap;
	padding:16px 0 0 6px;
}
.share-icon:hover {
	opacity:0.75;
}
.addthis-icon {
	opacity:0.85;
}
.addthis-icon:hover {
	opacity:0.5;
	border:none;
}
#share-links .addthis_default_style .at300b, #share-links .addthis_default_style .at300bo, #share-links .addthis_default_style .at300m {
	float:right;
	padding-top: 16px;
	padding-right: 2px;
	padding-bottom: 0pt;
	padding-left: 2px;
	border-bottom:0px;
}
#share-links #pdf-button {
	float:right;
	padding-top: 16px;
	padding-right: 2px;
	padding-bottom: 0pt;
	padding-left: 0px;
	border-bottom:0px;
	margin-left:-2px;
	overflow:hidden;
}
#share-links #pdf-button a {
	border-bottom:0px;
	opacity:0.85;
}
#share-links #printready {
	width:16px;
	height:16px;
	float:right;
	padding-top: 16px;
	padding-right: 2px;
	padding-bottom: 0pt;
	padding-left: 2px;
	border-bottom:0px;
	margin-right:14px;
	overflow:visible;
}
#share-links #printready a, #share-links #printready img, #share-links .addthis_button_google_plusone a, #share-links .addthis_button_google_plusone img {
	border:0px;
	opacity:0.85;
}
#share-links #printready a:hover, #share-links #printready img:hover {
	opacity:0.5;
}
#share-links .addthis_button_google_plusone {
	margin-top:1px;
}

/* search results
---------------------------------------------*/
body.search .colitem { 
	width: 849px;
	min-height:50px;
	margin:0 0 20px 0px;
	padding-bottom:6px;
}

/* Go to top link
-------------------------------------------*/
#gototop {
	width:100%;
	text-align:right;
	margin-top:20px;
}

#content #article #gototop img, #article #gototop a {
	border:0px;
}


/*  content-main article pages
-------------------------------------------*/
#article,#search-page{
	width:850px;
	margin:auto;
	padding:15px 0 0px 0px;
}
.tabbed #page-one, .tabbed #page-two, .tabbed #page-three, .tabbed #page-four {
	padding:10px 0;
}
#article #prev-next {
	width:100%;
	margin-top:10px;
}

/*  translation item layout
-------------------------------------------*/
.translations #comment {
	margin:10px 0 15px 0;
}

/*  footer layout
-------------------------------------------*/
#footer {
	width:100%;
	height:32px;
	background:rgba(255, 255, 255, 0.7);
	margin-bottom:10px;
}
#footer-copyright {
	width:30%;
	float:left;
	text-align:left;
	padding-top:8px;
}
#footer-menu {
	width:60%;
	height:32px;
	float:right;
	text-align:right;
	padding-top:8px;
}

/*  useful styles
-------------------------------------------*/

.align-float-left {
	float:left;
	text-align:left;
}
.align-float-right {
	float:right;
	text-align:right;
}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

/* IE6 hack */
* html #main-nav-background {background-color:#e7e7e7;} 
* html #footer {background-color:#B4B4B4;}

/* IE7 hack */
*+html #main-nav-background {background-color:#e7e7e7;} 
*+html #footer {background-color:#B4B4B4;}

/* IE8 hack */
@media \0screen {
	#main-nav-background {background-color:#e7e7e7;} 
	#footer {background-color:#B4B4B4;}
}

