/**
 * semprag-ojs3-2022.css
 * Semantics and Pragmatics-specific journal stylesheeet.
 *
 * 2022-06-04: Rewritten to work with OJS 3 by Kyle Rawlins
 *
 * This is designed to layer on top of the bootstrap3 base them with the
 * "Bootstrap Default Theme" sub-theme. Upload via "Website Settings" >
 * "Appearance" > "Advanced" > "Journal style sheet", using a Journal Manager
 * account.
 *
 * N.b. this does a whole bunch of stuff via css that could be better done by
 * creating a new bootstrap3 sub-theme.
 *
 * 2019-08-23 notes:
 * switched the logo to https connection (KvF)
 * added logo and direct link to it in #headerTitle (KvF)
 * corrected link to logo after new rewrite rules from admins (KvF)
 * minor tweaks as I work through the submissions process (KvF)
 * align navigation with sidebar (LDH)
 * arrange navigation on one line (LDH)
 * modified menu position (LDH)
 * modified h2 bottom-padding (Kvf)
 * modified a.file to not use uppercase (KvF)
 * tried to adjust to the new OJS code (KvF)
 *
 * Copyright (c) 2000-2012 John Willinsky
 * Modified for S&P by Kodiak Web Design and Kai von Fintel
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. 
 */

/**
 * Common HTML elements
 */

body {
    background-color: #C0AC85;
    color: #000;
    font-family: Verdana,Arial,Helvetica,sans-serif;
}

a {
    text-decoration: underline;
}

a:link {
    color: #c50;
    font-weight: bold;
}

a:active {
    color: #933;
}

a:visited {
    color: #666;
    font-weight: bold;
}

a:hover {
    color: #933;
}

a.plain {
    text-decoration: none;
}

h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small {
    color: #000;
}

/* tone down some excessive font sizes */
h1, .h1 {
    font-size: 32px;
}

h2, .h2 {
    font-size: 28px;
}

.media-heading h1, .media-heading h2, .media-heading h3, .media-heading h4, .media-heading h5, .media-heading h6, h1.media-heading, h2.media-heading, h3.media-heading, h4.media-heading, h5.media-heading, h6.media-heading {
    font-size: 14px;
}

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

tt {
    font-size: 1.25em;
}

/* OJS3-specific modifications */

.pkp_page_index .journal-description {
    margin-bottom: 1em;
    margin-top: 0.5em;
}

@media (min-width: 992px)
{
.journal-description p {
    font-size: 18px;
}
}

.btn-primary {
    background-color: #fff;
    border-color: #933;
    color: #933;
}

.btn-primary:hover {
  color: #fff;
  background-color: #C0AC85;
  border-color: #204d74;
}

.issue-toc .pdf {
    border: 0px;
    padding: 6px 10px;
}

.navbar {
    padding: 0;
    margin: 1em 10px; 
    text-align: center;
    background-color: #C0AC85;
    background: #fff url(https://semprag.org/public/journals/5/sp1.gif) 20px 20px no-repeat;
    border: 3px solid #933;
}

.navbar-header {
    padding-top: 35px;
}

.navbar-brand {
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-weight: normal;
    color: #933;
    padding-left: 100px;
    font-size: 32px;
}

/* hacky responsivity -- would be better to properly use bootstrap, but that
 * needs actual theme customization...
 */
@media (min-width: 768px)
{
.navbar-brand {
    padding-left: 100px;
    font-size: 18px;
}
#main-navigation {
    padding-top: 35px;
    padding-left: 10px;
}
}

@media (min-width: 992px) {
.navbar-brand {
    font-size: 32px;
}
#main-navigation {
    padding-top: 40px;
}
}

@media (max-width: 767px)
{
.navbar-brand {
    padding-left: 10px;
    font-size: 18px;
}
.navbar-header {
    padding-top: 80px;
}
}

#main-navigation a {
  text-decoration: none;
  font-weight: normal;
}

.pull-md-right {
    margin-top: 35px;
}

/* TODO: positioning of the search box is still pretty bad */
@media (max-width: 767px){
.pull-md-right {
    margin-top: 0px;
}    
}

.navbar-header a {
  text-decoration: none;
  font-weight: normal;
}

.footer[role="contentinfo"] {
    min-height: 50px;
    position: static;
    clear: both;
    background-color: #fff;
}

#main {
    padding: 0em 0em 2em 0em;
    background: #C0AC85;
}

#main-content {
    padding: 0.5em 10px;
    border: 3px solid #933;
    background: #fff;
}

.page_information, .page_privacy, .page_contact, .page_article {
    padding: 1em 10px;
    border: 3px solid #933;
    background: #fff;    
}

.editorial-group {
    margin: 1em 0;
}

.editorial-group h4 {
    margin-top: 20px;
}

#main h2 {
    margin-bottom: 0.6em;
    padding: 0 0 0 10px;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-weight: normal;
    color: #933;
    text-align: right;
}

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

/* work around what seems to be a bug in the theme: the sidebar/main ratio is
 * off in this width range.
 * See https://github.com/NateWr/bootstrap3/issues/180
 */
@media (min-width: 768px) and (max-width: 991px) {
#sidebar.col-sm-2 {
    width: 33.333333%; /* col-sm-4 */
}
.pkp_structure_main.col-sm-10 {
    width: 66.666666%; /* col-sm-8 */
}
}

.pkp_block {
    margin-right: 0;
    background: #d9ceb7;
    border: 0px solid #C0AC85;
    box-shadow: none;
    -webkit-box-shadow: none;
}

#customblock-lsalogo p {
    text-align: center;
}

/* ensure a margin when very narrow */
.pkp_structure_main {
    margin-bottom: 10px;
}

@media (min-width: 768px) {
.pkp_structure_main {
    padding-left: 0px;
}
}

.pkp_structure_sidebar {
    margin-right: 0;
    background: #d9ceb7;
    padding: 0.5em 10px;
    border: 3px solid #933;    
}

.pkp_block .title {
    background: #d9ceb7;
    border: 0px;
    font-size: 24px;
}

.pkp_block ul li {
    background: #d9ceb7;
    border: 1px solid #C0AC85;
    border-width: 1px 0;
}

.block_web_feed ul li
{
    border-width: 0px 0;
    padding: 0px 0px;
}

.pkp_block .content
{
    padding: 0px 15px;
}

.page-header {
    border-bottom: 1px solid #933;
    margin: 20px 0 10px;
}

.current_issue > .page-header {
    border-bottom: 0px;
    margin: 0px;
    padding-bottom: 0px;
}

.current_issue_title {
    margin-bottom: 10px;
}

.pages {
    float: right;
    padding: 6px 0px;
}

.authors {
    padding-left: 10px;
}

.article-summary {
    margin: 5px 0px 15px 0px;
}

.article-summary h3 {
    line-height: 1.42857143;
}

.published {
    display: none;
}

/* suppress a bunch of stuff via css, would be better done via theming */
article .date-published {
    display: none;
}
/* `affilitation` here is sic...keeping the correct spelling in case this gets
   fixed. */
article .article-author-affiliation, article .article-author-affilitation {
    display: none;
}
article .orcid {
    display: none;
}
.article-more-details .panel.section {
    display: none;
}
.article-more-details .panel.author-bios {
    display: none;
}

.breadcrumb > li + li::before {
    color: #933;
}

.breadcrumb {
    color: #933;
    padding-top: 1em;
    padding-left: 1em;
    font-size: 0.8em;
    margin-top: 0.5em;
    margin-bottom: 1em;
    background-color: transparent;
}

.panel-default > .panel-heading {
    background-color: #d9ceb7;
}

.panel-default {
    border-color: #d9ceb7;
}

.alert
{
    background-color: #d9ceb7;
    border-color: #933;    
}

/* backwards compatibility for hardcoded homepage stuff, to make the transition
 * easier. I think these are all the key OJS2 classes that our issue list
 * uses... */
.tocArticle {
    width: 100%;
    margin: 5px 0;
}

.tocArticleGalleysPages {
    width: 20%;
}

.tocPages {
    text-align: right;
}

.tocGalleys {
    text-align: right;
}

.tocAuthors {
    padding-left: 10px;
}

.tocArticleCoverImage {
    display: none;
}
