/**
 * styles/common.css
 *
 * Copyright (c) 2003-2013 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * Site-wide shared stylesheet.
 *
 */

/**
 * Notifications
 * FIXME: (Re)move once OJS styles are consolidated with new styles and themes
 */
@import url("../lib/pkp/styles/themes/default/pnotify.css");
@import url("../lib/pkp/styles/themes/default/notificationIcons.css");

@font-face {
	font-family: Pfening;
	src: url(./285156_3_0.eot);
	src: local('☺'),
	url(./285156_3_0.ttf) format('truetype')
	url(./285156_3_0.woff) format('woff');
}

.ui-pnotify-title {
	font-size: 0.8em;
}

.ui-pnotify-text {
	font-size: 0.6em;
}

.ui-pnotify-history-container .ui-pnotify-history-header {
	font-size: 0.8em;
}

/**
 * Common HTML elements
 */

a:link {
	color: #00a3df;
}

a:active {
    color:#0b90a3;
}

a:visited {
	color: #00a3df;
}

a:hover {
    color:#0b90a3;
}

#sidebar li{
    color: #33687A;
}

/**
 * Main layout elements
 */

#header {
	background-color: #ABA;
}

#footer {
	background-color: #ABA;
}

#main {
	width: 80%;
	margin: 0 auto;
}


/**
 * Access icons and key
 */
#accessKey {
	margin-bottom: 2em;
}

#accessKey img {
	vertical-align: middle;
	margin: 0;
	padding: 0;
}

#content img.accessLogo {
	vertical-align: middle;
	margin: 0;
	padding: 0;
}


/**
 * Navigation bar
 */

#navbar a {
	font-size: 14px;
    letter-spacing:normal;
    font-weight:bold;
    text-transform:lowercase;
}


/**
 * Announcements
 */

#announcementsHome {
	width: 100%;
	margin: 2em 0 2em 0;
}

#announcementsHome h3 {
	text-align: center;
}

#announcements {
	width: 100%;
}

#navbar #announcements{width:auto;}

#announcements h3 {
	text-align: center;
}

table.announcements {
	width: 100%;
}

table.announcements td {
	padding: 0.25em 0.5em 0.25em 0.5em;
}

table.announcements td.nodata {
	text-align: center;
	font-style: italic;
}

table.announcements td.headseparator {
	border-top: 1px dotted #000;
	font-size: 0.1em;
	line-height: 1%;
}

table.announcements td.endseparator {
	border-top: 1px dotted #000;
	font-size: 0.25em;
	line-height: 10%;
}

table.announcements td.separator {
	border-top: 1px dotted #DDDDD0;
	font-size: 0.1em;
	line-height: 1%;
}

table.announcements tr.intro {
}

table.announcements td.intro {
}

table.announcements tr.title {
	vertical-align: top;
}

table.announcements td.title {
	width: 85%;
}

table.announcements td.title h4 {
}

table.announcements tr.description {
	vertical-align: top;
}

table.announcements td.description {
	width: 85%;
}

table.announcements tr.details {
	vertical-align: bottom;
}

table.announcements td.posted {
	padding-top: 1em;
	font-style: italic;
}

table.announcements td.more {
	width: 15%;
	text-align: right;
}

table.announcementsMore {
	width: 100%;
}

table.announcementsMore td {
	padding-top: 1.5em;
	text-align: right;
}


/**
 * Table of contents
 */

h4.tocSectionTitle {
}

table.tocArticle {
	width: 100%;
}

table.tocArticle td.tocTitle {
	width: 70%;
	height: 100%;
}

table.tocArticle td.tocGalleys {
	width: 30%;
	text-align: right;
}

table.tocArticle td.tocAuthors {
	padding-left: 30px;
	font-style: italic;
	vertical-align: top;
}

table.tocArticle td.tocPages {
	text-align: right;
	vertical-align: top;
}

.tocArticleCoverImage img {
	border: 0;
	float: left;
	width: 100px;
	margin: 0 1em 1em 0;
}


/**
 * Homepage image
 */

#homepageImage img {
	display: block;
	margin: 0 auto;
	border: 0;
	text-align: center;
}

.homepageImage img {
	margin: 0 auto;
	border: 0;
	float: left;
	width: 100px;
	margin: 1em 1em 1em 0;
	text-align: center;
}


/**
 * Issue cover image
 */

#issueCoverImage img {
	display: block;
	border: 0;
}

.issueCoverImage img {
	border: 0;
	float: left;
	width: 100px;
	margin: 1em 5px;
}

#issueCoverImage a:link, .issueCoverImage a:link {
}

#issueCoverImage a:active, .issueCoverImage a:active {
}

#issueCoverImage a:visited, .issueCoverImage a:visited {
}

#issueCoverImage a:hover, .issueCoverImage a:hover {
}


/**
 * Editorial Team Lists
 */

ol.editorialTeam {
}

ol.editorialTeam li {
	list-style: none;
}

ol.editorialTeam, ol.editorialTeam li {
	margin-left: 0;
	padding-left: 0;
}


/**
 * Additional text styles
 */

pre {
	background-color: #F0F0E8;
	color: #000;
	font-size: 1.25em;
}

/**
 * Table styles
 */

.highlightReviewerNotNotified, .highlightCopyediting {
	background: #EDEBC4;
}
.highlightNoDecision, .highlightLayoutEditing {
	background: #D8E9BD;
}
.highlightRevisedCopyUploaded, .higlightProofreading {
	background: #C6EBE4;
}
.highlightReviewerConfirmationOverdue {
	background: #9DD1E6;
}
.highlightReviewerCompletionOverdue {
	background: #74C5D8;
}

.fastTracked {
	background-color: #ABA;
}

table.listing tr.data td {
	border-top: 1px dotted #DDDDD0;
	border-bottom: 1px dotted #DDDDD0;
}

table.listing tr.data td.drag {
	cursor: move;
}


/**
 * Other organizational elements
 */

div.progressbar {
	background-image: url(../templates/images/progbg.gif);
	background-repeat: no-repeat;
	height: 27px;
	width: 505px;
	z-index:1;
}

td.notificationContent {
	padding-left: 5px;
	padding-right: 5px;
}

td.notificationFunction {
	padding-left: 5px;
	padding-right: 5px;
	text-align: right;
}

.throbber {
	display: none;
	background: url(../lib/pkp/templates/images/throbber.gif) no-repeat;
	width: 25px;
	height: 25px;
	margin-left: 50%;
	margin-top: 5%;
}

/* Font Sizer */
#sizer a {
	outline: none;
	text-indent: -9999px;
	display: block;
	float: left;
	width: 31px;
	height: 24px;
	margin-right: 4px;
	margin-left: 8px;
}

#journalListPageInfo {
	float: right;
}

#journalListPageLinks {
	float: left;
}


/* @group Tag-it */

ul.tagit {
	padding: 1px 5px;
	overflow: auto;
    margin-left: inherit; /* usually we don't want the regular ul margins. */
    margin-right: inherit;
}

.hidden {
	display: none;
}

ul.tagit li {
	display: block;
	float: left;
	margin: 2px 5px 2px 0;
}

ul.tagit li.tagit-choice {
	padding: .2em 18px .2em .5em;
    position: relative;
    line-height: inherit;
}
ul.tagit li.tagit-new {
	padding: .25em 4px .25em 0;
}

ul.tagit li.tagit-choice a.tagit-label {
	cursor: pointer;
	text-decoration: none;
}
ul.tagit li.tagit-choice .tagit-close {
	cursor: pointer;
    position: absolute;
    right: .1em;
    top: 50%;
    margin-top: -8px;
}

/* used for some custom themes that don't need image icons */
ul.tagit li.tagit-choice .tagit-close .text-icon {
    display: none;
}
.ui-autocomplete .ui-menu-item a {
	font-size: .6em;
}
ul.tagit li.tagit-choice input {
	display: block;
	float: left;
	margin: 2px 5px 2px 0;
}
ul.tagit input[type="text"] {
    -moz-box-sizing:    border-box;
    -webkit-box-sizing: border-box;
    box-sizing:         border-box;

    border: none;
	margin: 0;
	padding: 0;
	width: inherit;
	background-color: inherit;
    outline: none;
}

/* @end */


/*kill all the OJS developers' info on mainpage*/
#sidebarDevelopedBy, #sidebarHelp, #sidebarFontSize{display:none;}
/*custom header*/
#headerTitle{display:none;}
#header{
    display:block;
    width:980px;
    height:140px;
    background:url(/styles/ojs_header.jpg) 0 0 no-repeat;
}
.clear{clear:both;}
.footer{width:960px;height:104px;font-size:13px;background-image:url(/styles/ojs_footer.jpg);padding:10px;position:relative;bottom:0;}
.footer .left{float:left;margin-top:10px;margin-left:10px;color:#606060;}
.footer .right{float:right;margin-top:30px;margin-right: 20px;font-size:10px;width:200px;}
div.footer p{margin: 3px 0;}
#issues #issue{width:15%; display:inline-block;text-align:center}
#issues #issue h4{font-size:1.1em;}
#sectionPolicies table.plain{display:none;}
.triangle-closed:before{content:'\25B6';float: left;padding: 0 10px;display:inline-block;}
.triangle-opened:before{content:'\25BC';float: left;padding: 0 10px;display:inline-block;}
.triangle-closed,.triangle-opened{display:inline-block;font-size:1.5em; margin-top:20px;}
#sidebar div.block.plugins_generic_lucene_facets ul li a{font-size:10px;}
.manuscript{display:block;height:24px;width:100%;padding-left:32px;background:url(/styles/manus.png) 0 0 no-repeat;margin-left:-5px;
font-size: 12px;
line-height: 21px;}

.editorail-board-block div{
  display: inline-block;
  vertical-align: top;
}

.editorail-board-block div.editorail-board-block-image {
  width: 220px;
  border-radius: 4px;
  margin-right: 10px;
  text-align: center;
  padding: 8px 0;
}

.editorail-board-block div.editorail-board-block-text {
  width: 400px;
  padding-bottom: 8px;
}

.editorail-board-block {
  margin: 10px 0;
  border: 1px solid #aaaaaa;
  border-radius: 4px;
}

#main .text-decoration h2{
  font-size: 20px;
  font-weight:bold;
  line-height: 19px;
}

.editorail-board-block div.editorail-board-block-image img {
  vertical-align: middle;
  max-width: 200px;
}
