a:hover > .media-widget, a:not(:hover) > .media-widget-hovered {
    display: none;
}

.margin-left-13 {
    margin-left: 13px;
}

.contact-us-link {
    vertical-align: sub;
    margin-left: 10px;
    color: #fcd575;
}

.footer[role="contentinfo"] .footer-info a.contact-us-link:hover {
    color: #ff7f27;
}

#pil-subscribe-form .modal-dialog {
    width: 500px;
}

/*#pil-subscribe-form.modal .modal-content .modal-body {
    font-size: 14px;
}*/

#pil-subscribe-form legend {
    font-size: 16px;
}

#pil-subscribe-form label {
    display: block;
}

#pil-subscribe-form .fsSubmitButton {
    background-color: #e5ba54;
    text-align: center;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0;
    font-style: normal;
    font-weight: 500;
    margin: 0 20px;
    padding: 10px 10px;
    border: 1px solid transparent;
    font-size: 11px;
}

#pil-subscribe-form .fsSubmitButton:hover, #pil-subscribe-form button.close:hover {
    background-color: #fdd574;
}


#pil-subscribe-form div.fsSubmit.fsPagination .button {
    padding: 0 22px;
    /*margin-top: 40px;
    padding: 20px 0;
    text-align: center;*/
}

#pil-subscribe-form :focus {
    outline: none;
}

#pil-subscribe-form input[type=email] {
    border: 1px solid #d4b261;
    width: 100%;
}

/*#pil-subscribe-form input[type=checkbox] {
    cursor: pointer;
    margin-right: 10px;
    line-height: 13px;
    font-size: 11px;
}

#pil-subscribe-form input[type=checkbox]:checked:after {
    content: "\2713";
    background-color: #e5ba54;
    font-size: 8px;

}

#pil-subscribe-form input[type=checkbox]:after {
    content: " ";
    background-color: #fff;
    display: inline-block;
    visibility: visible;
    color: white;
    width: 13px;
    height: 13px;
    padding: 1px 3px;
    outline: 1px solid #e5ba54;	
}*/

#pil-subscribe-form div.fsError {
    border: 1px solid #ce5f6d;
    color: #ce5f6d;
    background-color: #fae9e9;
    margin: 0 0 20px 0;
    padding: 10px;
    font-size: 11px;
    text-align: center;
    clear: both; 
}

#pil-subscribe-form .fsValidationError {
    background-color: #fae9e9;
    -moz-box-shadow: 0 0 0 calc(5px - 1px) #fae9e9, 0 0 0 5px #ce5f6d;
    -webkit-box-shadow: 0 0 0 calc(5px - 1px) #fae9e9, 0 0 0 5px #ce5f6d;
    box-shadow: 0 0 0 calc(5px - 1px) #fae9e9, 0 0 0 5px #ce5f6d;
}

#pil-subscribe-form .fsValidationError .fsLabel,#pil-subscribe-form .fsValidationError .fsRequiredLabel,#pil-subscribe-form .fsValidationError .fsRequiredMarker {
    color: #ce5f6d;
}

#pil-subscribe-form button.close {
    opacity: 1;
    background-color: #e5ba54;
    color: white;
    font-weight: 100;
    width: 20px;
    height: 20px;
    line-height: 20px;
}

#pil-subscribe-form fildset {
    margin-bottom: 20px;
}

.footer ul#main-navigation {
    width: 648px;
    display: flex;
}

.footer #main-navigation > li {
    width: 100%;
    padding-right: 20px;
}

.footer #main-navigation > li:nth-child(1), .footer #main-navigation > li:nth-child(6), .footer #main-navigation > li:nth-child(7) {
    padding-right: 0;
}

.footer #main-navigation > li > a {
    padding: 0;
}

.footer #main-navigation > li.dropdown > a {
    float: right;
}

.footer #main-navigation > li.dropdown {
    margin-left: -15px;
}

.float-right {
    float: right;
} 

.back-to-top {
    position: fixed;
    right: 100px;
    bottom: 20px;
    z-index: 11;
    background: #610814;
    padding: 2px 10px;
    display: none;
}

.back-to-top:hover, .back-to-top:focus {
    color: #fff;
}

.media-heading a {
    line-height: 1.5;
}

#main-content .issue-toc .issue-details .section .media-list .article-summary .media-body-summary .media-heading {
    margin-bottom: 5px;
}

#references {
    word-break: break-word;
}

.pkp_structure_page .page_article img {
    /* width: 206px; */
    margin-right: 10px;
    /* float: left; */
    margin-top: 10px;
}

@media screen and (min-width: 1200px) {
    section.sidebar.article-sidebar.col-sm-3 > div.cover-image {
        height: 390px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    section.sidebar.article-sidebar.col-sm-3 > div.cover-image {
        height: 320px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    section.sidebar.article-sidebar.col-sm-3 > div.cover-image {
        height: 230px;
    }
}

section.sidebar.article-sidebar.col-sm-3 > div.cover-image img.img-responsive {
    width: 255px;
}

@media screen and (max-width: 767px) {
    section.sidebar.article-sidebar.col-sm-3 > div.cover-image img.img-responsive {
        width: 100vw;
    }
    section.sidebar.article-sidebar.col-sm-3 > div.cover-image {
        height: calc(1.4 * 100vw);
    }
}

/* Possibly migrate this to the theme CSS at some point? */
.pkp_page_article table, .pkp_page_article th, .pkp_page_article td {
    border: 1px solid black;
}

.pkp_page_article th {
    font-weight: bold;
    text-align: center;
}

.pkp_page_article td {
    vertical-align:top;
    text-align:initial;
}

tr:nth-child(even){
    background-color: #f2f2f2;
}

a.galley-link.btn.btn-primary.file{
    display: none;
}
img.masthead {
    max-width: 100%;
}
