/* Add Hero Background Image */

.pg_Index .header-row {
    background: url('/data/SiteBuilderAssetsOriginals/Live/Images/cia/size.png');
}

/* Add transparent background to section title/text/submit article button */

div[class$="home-self-serve-content-about-this-journal"] {
    background-color: rgba(0, 0, 0, .5);
    padding: 2rem !important;
    border-radius: 4px;
}

/* Widen the About This Journal section to provide more space */

@media (min-width: 900px) {
    .theme-homepage-layout.layout-organization .header-row>.widget-dynamic-inner-wrap>div:first-of-type, .theme-homepage-layout.layout-organization .header-row>.widget-dynamic-inner-wrap>div, .theme-homepage-layout.layout-organization .header-row [class*=home-self-serve-content-about-this-journal] {
        max-width: unset;
    }
}

/* Deals with turning buttons pink or white - on hover switch - borders needed in certain cases - button in :focus follows suit 
Lot's of !important due to SC having a "million" calls targeting buttons - This forces the issue without having to bring in the "call blob" */

/* All Buttons - Below is more specific button overwrites*/

.button {
    background-color: #AB2186 !important;
    border: 2px solid #AB2186 !important;
    line-height: 1.5;
}

/* Get's rid of :focus border/color/outline 0 outline is forced by the browser */

.button:focus {
    border-color: #AB2186 !important;
    color: #AB2186 !important;
    background-color: #fff!important;
    outline: #AB2186 !important;
}

.button:hover {
    border-color: #fff !important;
    color: #AB2186 !important;
    background-color: #fff!important;
}

/* Submit an Article button */

.pg_Index .content-main_content .header-row .button {
    background-color: #fff!important;
    color: #AB2186 !important;
    border: 2px solid #fff !important;
}

.pg_Index .content-main_content .header-row .button:hover {
    border-color: #AB2186 !important;
    color: #fff !important;
    background-color: #AB2186 !important;
}

/* Add a button border on Issue page as button is white on hover... Needs border as BG is white */

.widget-instance-Issue_RightRailB0B0 .button {
    border: 2px solid #AB2186 !important;
}

.button:not(.toggle-left-col__close) {
    background-color: #AB2186;
    border: 2px solid #fff;
}

.button:not(.toggle-left-col__close):hover {
    color: #AB2186;
}

/* End Buttons */

/* Remove the Bold h1 - About this Journal */

[class$="about-this-journal"] h1 {
    font-weight: 100;
}

.home-row2 {
    background-color: #690E20 !important;
}

/* Alter SC top/bottom padding to provide a bit more balance */

.theme-homepage-layout .widget-dynamic[class*=home-row]:not(.header-row):not(.home-columns)[data-count="2"] {
    padding: 5rem 1.5rem 3rem 1.5rem;
}

/* Force Most Recent Issue Image height to 196px. This gives continuity page to page.*/

.article-issue-img img {
    height: 196px;
}

/* Bottom Margin for ISSN Info - Push button(s) down */

.issn-wrap {
    margin: 0 0 .75rem 0;
}

/* Force Teaching Notes & Online Early to same width */

.issn-wrap a {
    width: 115px;
    margin: 0 0 .5rem 0;
}

/* Make all this text white */

.issn, .article-issue-info, .co-editors-info h3, .co-editors-info p, :not(.header-row) .current-issue-title {
    color: #fff;
}

/* Remove padding from issn # self serve widget */

div[class$="home-self-serve-content-issn-info"] {
    padding: 0!important;
}

/* Pad the View this Issue button down */

.view-current-issue {
    padding: 1rem 0 0 0;
}

/* Fix SC CSS for Mobile Editors Section - SC value has !important */

.widget-SelfServeContent.widget-instance-ciatn_home-self-serve-content-publisher-info {
    padding: 1rem !important;
}

/* A slight centering for the Issue/Ed Sections */

@media (min-width: 1080px) {
    [class*=home-row]:not(.header-row):not(.home-columns)[data-count="2"]>.widget-dynamic-inner-wrap>div {
        width: calc(46% - 1rem);
    }
    .theme-homepage-layout .widget-dynamic[class*=home-row]:not(.header-row):not(.home-columns)[data-count="2"] .widget-dynamic-inner-wrap {
        justify-content: center;
    }
}

/* Top/Bottom padding for Co-Editors/h3 */

.co-editors-info h3 {
    padding: 1rem 0 .25rem 0;
}

/* Changes the color of the email address in the publisher-info widge */

.co-editors-info p a {
    color: #C18EB4;
}

/*  Move the Co-Editor button row down */

.co-editor-buttons {
    padding: 1rem 0 0 0;
}

/* Margin on the right of the Co-Editors buttons */

.co-editor-buttons a {
    margin: 0 .5rem 0 0;
}

/* 
Most Read/Most Cited
There were 3 tabs, now there are 2. This corrects width: 33.33%; 
*/

.widget-ArticleListNewAndPopular .articleListNewAndPopularCombinedView li {
    width: 50% !important;
}

/* Features & Information */

/* This cheats the image height of About AAA SS Widget - In turn the other two widget follow suit*/

.pg_index .theme-homepage-layout .homepage-panel-image {
    height: 180px;
    overflow: hidden;
}

/* Removes SC padding top keeping SC right/bottom/left - Lines Journal Info Packet header with Online Early header */

.layout-organization [class*=feature-one] .homepage-panel-text {
    padding: 0 1rem 1rem 1rem;
}

/* Corrects Journal Info Packet header/h3 line height to match Online early header */

.layout-organization [class*=feature-one] .homepage-panel-text h2 {
    line-height: 1;
}

/* Bump Crossref image up  - Pad it down*/

div[class*="feature-two"] img {
    width: 250px;
    padding: 1.5rem 1rem 0 0;
}

/* Pad Altmetric image down */

div[class*="feature-three"] img {
    padding: 1.5rem 0 0 0;
    max-width: 340px;
}

/* Change F&I SS Widget h3 Green */

.homepage-panel-text h3 a {
    color: #003502;
}

/* Flip Flop the eISSN & ISSN in the footer*/

/* Make the ul a flex container */

.journal-footer-colophon ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

/* Flex Items can be ordered - The below is to be specific just in case - 
To flip the two the first call is all that's needed (could even be order: 1... Just giving and order to one and not the other sends non-order to the back of the list*/

.journal-footer-colophon ul li:first-child {
    order: 2;
}

.journal-footer-colophon ul li:last-child {
    order: 1;
}