/**
 * common.css
 *
 * Copyright (c) 2000-2013 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * PKP-wide shared stylesheet.
 * DEPRECATED. Do not modify.
 */

/**
 * Common HTML elements
 */

body {
    margin: 0;
    padding: 0;
    background-color: white;
    color: #111;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    text-align: center;
}

div {
    text-align: left;
}

p {
    margin: 1em 0; /* Making default stylesheet explicit - fixes IE7 margin collapsing. */
}

table {
    border: 0;
    border-spacing: 0;
    font-size: 1.0em;
}

form {
    margin: 0;
}

a {
    text-decoration: underline;
}

a.plain {
    text-decoration: none;
}

ul {
    margin: 0.25em 0 0.75em 0;
    padding: 0 0 0 2.5em;
}

tt {
    font-size: 1.25em;
}

label {
}

label.error {
    color: #900;
}

input.textField, select.selectMenu, textarea.textArea, input.uploadField {
    background-color: #F0F0E8;
    color: #000;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    border-top: 2px solid #666;
    border-left: 2px solid #666;
    border-bottom: 2px solid #E8E8E1;
    border-right: 2px solid #E8E8E1;
    font-size: 1em;
}

input.button {
    padding-left: 0.5em;
    padding-right: 0.5em;
    background-color: #E8E8E1;
    font-size: 1em;
}

input.defaultButton {
    background-color: #375;
    color: #FBFBF3;
    font-weight: bold;
}


/**
 * Main layout elements
 */

#container {
    width: 100% !important;
    min-width: 730px !important;
    margin: 0px auto;
    text-align: center;
}

#header {
    width: 100%;
    text-align: center;
}

#headerTitle {
    text-align: left !important;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

#header h1 {
    margin: 0 auto;
    /*font-family: Georgia,'Times New Roman',Times,serif;*/
    font-family: SansSerif, sans-serif;
    font-weight: normal;
    padding: 0 0 0.25em 7%;
    text-align: center;
    height: 5em;
}

#footer {
    width: 100%;
    min-height: 50px;
    position: static;
    clear: both;
    text-align: center;
}

#footerContent {
    width: 100%;
    margin: 0 auto;
    padding-left: 10%;
}

#main {
    padding: 0.5em 0em 2em 0em;
    border-top: 1px solid #069;
}

#main h2 {
    margin: 0em 1em 0.5em 0em;
    padding-top: 0.5em;
    font-family: SansSerif, sans-serif;
    font-weight: normal;
}

#main h3 {
    margin: 0em 1em 0.5em 0em;
    padding-top: 0em;
    font-family: SansSerif, sans-serif;
    font-weight: normal;
}

#navbar {
    margin-right: 0;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #069;
}

#breadcrumb {
    padding-top: 1em;
    font-size: 0.7em;
    border-bottom: 1px solid #069;
}

#content {
    margin: 0;
    padding: 0;
    padding-top: 0.5em;
    font-size: 0.7em;
    border-top: 1px solid #069;
}

#content h3 {
    margin: 0em 1em 0.25em 0em;
    padding-top: 0.75em;
    font-family: SansSerif, sans-serif;
    font-weight: normal;
    font-size: 1.8em;
}

#content h4 {
    margin: .75em 1em 0.25em 0em;
    font-family: SansSerif, sans-serif;
    font-weight: normal;
    font-size: 1.5em;
}

#content h5 {
    margin: 0em 1em 0.25em 0em;
    padding-top: 0.75em;
    font-weight: bold;
    font-size: 1em;
}


/**
 * Breadcrumbs
 */

#breadcrumb a {
    text-decoration: none;
}

#breadcrumb a.current {
    font-weight: bold;
}


/**
 * Footer elements
 */

#footer div.debugStats {
    font-size: 0.6em;
}


/**
 * Additional text styles
 */

span.disabled, label.disabled {
    color: #666;
}

a.action, a.file {
    font-size: 0.85em;
    text-transform: uppercase;
}

a.icon {
    text-decoration: none;
}

a.icon img {
    border: 0;
}

a.icon:hover {
    background: none;
}

span.formRequired {
    color: #333;
    font-size: 0.9em;
}

span.heading {
    font-size: 0.85em;
    text-transform: uppercase;
}

span.highlight {
    border-bottom: 1px dotted #000;
}

div.warningMessage {
    background: url(../templates/images/icons/icon_alert.gif) no-repeat 3px 40%;
    margin: 5px;
    padding: 5px 5px 5px 25px;
}

.nowrap {
    white-space: nowrap;
}

/**
 * Table styles
 */

table.info td {
    padding: 0;
    padding-bottom: 0.5em;
    padding-right: 0.5em;
}

table.listing td {
    padding: 0.25em 1.5em 0.25em 0.5em;
}

table.listing tr.heading td, table.listing td.heading, table.info td.heading {
    font-size: 0.85em;
    text-transform: uppercase;
    font-weight: normal;
    padding: 0.75em 1.5em 1em 0.5em;
}

table.info td.heading {
    padding-left: 0;
}


table.listing td.nodata, table.info td.nodata {
    text-align: center;
    font-style: italic;
}

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

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

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

table.data tr {
}

table.data td {
    padding-bottom: 0.25em;
}

table.data td.label {
    padding-right: 1em;
}

table.data td.value {
}

table.data td.separator {
    padding: 0.5em;
    font-size: 0.1em;
    line-height: 1%;
}

table.data td.heading {
    padding-left: 0;
    padding-right: 0;
}

table.nested tr {
    padding: 0;
    margin: 0;
}

span.nested {
    padding: 0 4px 0 0;
    font-size: 1.2em;
}

/**
 * Form-specific elements
 */

span.pkp_form_error { /* Named for compatibility with new lessphp structure */
    color: #900;
    font-weight: bold;
    font-size: 1em;
}

span.pkp_form_success { /* Named for compatibility with new lessphp structure */
    color: #090;
    font-weight: bold;
    font-size: 1em;
}

ul.pkp_form_error_list { /* Named for compatibility with new lessphp structure */
    color: #900;
}


/**
 * Other organizational elements
 */

ul.menu {
    margin: 0;
    padding: 0;
}

ul.menu li {
    margin: 0;
    padding: 0;
    padding-right: 1.5em;
    display: inline;
}

ul.menu li.current {
    font-weight: bold;
}

ul.menu a {
    font-size: 0.85em;
    text-transform: uppercase;
    text-decoration: none;
}

ul.steplist {
    margin: 0;
    padding: 0;
    list-style-type: decimal;
}

ul.steplist li {
    margin: 0;
    padding: 0;
    font-size: 0.85em;
    padding-right: 0.5em;
    display: inline;
    text-transform: uppercase;
}

ul.steplist li.current {
    font-weight: bold;
}

ul.steplist a {
    text-decoration: none;
}

ul.plain {
    list-style-type: none;
    padding-left: 1.5em;
}

ul.filter {
    margin: 0;
    padding: 1.5em 0 1.5em 0;
    list-style-type: none;
}

ul.filter li {
    padding-right: 1.5em;
    display: inline;
}


/**
 * Other organizational elements
 */

div.separator {
    width: 100%;
    margin-top: 1em;
    margin-bottom: 0.25em;
    padding: 0;
    border-bottom: 1px dotted #000;
    font-size: 0.5em;
    line-height: 25%;
}

/**
* Header logo changes
*/

#headerTitle h1 img {
    float: left;
    /*padding-left: 20px;*/
    padding-right: 20px;
    width: 830px;
    height: 168px;
}


/**
* Font icon changes
*/
#sizer a.pkp_controllers_fontController_largeFont:hover {
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat-x: initial;
    background-repeat-y: initial;
    background-origin: initial;
    background-clip: initial;
    background-image: url('../../../lib/pkp/templates/images/icons/font-up.png');
}

#sizer a.pkp_controllers_fontController_smallFont:hover {
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat-x: initial;
    background-repeat-y: initial;
    background-origin: initial;
    background-clip: initial;
    background-image: url('../../../lib/pkp/templates/images/icons/font-down.png');
}

#sizer a.pkp_controllers_fontController_defaultFont:hover {
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat-x: initial;
    background-repeat-y: initial;
    background-origin: initial;
    background-clip: initial;
    background-image: url('../../../lib/pkp/templates/images/icons/font-default.png');
}