/*
Theme Name: Red Cedar
Theme URI: https://gitlab.msu.edu/CAL/redcedar
Description: OceanWP WordPress child theme.
Author: Ben Tobey
Author URI: https://msu.edu/~tobeyben
Template: oceanwp
Version: 1.9
GitLab Theme URI: https://gitlab.msu.edu/CAL/redcedar
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

html body {
    font-family: Montserrat,sans-serif;
    font-size: 16px;
    color: #555;
}

iframe, object, embed {
    max-width: 1200px;
}

code, pre {
    color: #18453b;
}

.wp-block-button .wp-block-button__link {
    background-color: #18453b;
}

.site-content a, .elementor a {
    text-decoration: underline;
}

.menu-link span {
    text-transform: uppercase;
}

.msu-masthead-helmet+.msu-search {
    padding-top: 6px;
}

.so-widget-sow-contact-form input[type="checkbox"] {
    margin: 0.4em 0.5em 0 0 !important;
}

.elementor-button-wrapper .elementor-button {
    background-color: #18453b;
}

#top-bar-wrap.transparent-topbar {
    position: absolute;
    background-color: transparent;
    border-color: transparent;
    width: 100%;
}

#top-bar-wrap.transparent-topbar+#transparent-header-wrap #site-header {
    padding-top: 45px;
} 

#top-bar-wrap.transparent-topbar+#site-header {
    padding-top: 45px;
} 

@media (max-width:767px) {

    #top-bar-content {
        float: left;
    }

    #top-bar {
        padding: 8px 0;
    }

    #top-bar-wrap .msu-search {
        display: none;
    }

/*
    #top-bar-wrap.transparent-topbar+#transparent-header-wrap #site-header {
        padding-top: 0;
    } 
*/
    
    #top-bar-wrap.transparent-topbar+#site-header {
        padding-top: 0;
    } 

    body .oceanwp-mobile-menu-icon {
        position: absolute;
    }

}

#site-logo a.site-logo-text {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 32px;
    line-height: 1.2;
}

#site-navigation-wrap a {
    font-weight: 600;
}
.single-post.content-max-width #content .oceanwp-breadcrumb {
    margin: 1.5em auto;
    display: block;
    padding-left: 20px;
    max-width: 760px;
}

.single-post.content-max-width #content #related-posts {
    max-width: 760px;
}

.single-post.content-max-width .entry-content ul, .single-post.content-max-width .entry-content ol {
    padding-left: 45px;
}

/* Heading styles */

h1 {
    font-size: 37px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 19px;
}

/* Hide category name on thumbnail blog listings */

.blog-entry.thumbnail-entry .blog-entry-category {
    display: none;
}

/* Hide comments on thumbnail blog listings */

.blog-entry.thumbnail-entry .blog-entry-comments {
    display: none;
}

.blog-entry.thumbnail-entry .blog-entry-date {
    float: none;
}

/* Remove dash before cite tag */

blockquote cite::before {
    content: initial;
}

/* Quotes in MSU green */

body.elementor-page .elementor-element .elementor-testimonial-wrapper .elementor-testimonial-content {
    color: #18453b;
}

blockquote p {
    color: #18453b;
}

/* CAL Footer in white */

#standard-footer-MSU-wordmark {
    padding-top: 8px;
    padding-bottom: 8px;
}

.cal-wordmark {
    fill: #fff;
}

/* Thumbnail Post Style */

.blog-entry.post.thumbnail-entry .blog-entry-header {
    margin-bottom: 0;
}

.blog-entry.post.thumbnail-entry .blog-entry-header a {
    text-decoration: none;
}

.blog-entry.post.thumbnail-entry .blog-entry-date {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    line-height: 1.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.blog-entry.post.thumbnail-entry .blog-entry-readmore a {
    background: #18453b;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
}

.blog-entry.post.thumbnail-entry .blog-entry-readmore a:hover {
    color: #0db14b;
}

/* Accessibility changes */


*:focus {
    outline: solid !important;
}

#search-label {
    color: #FFFFFF;
    display: inline;
}

#search:focus {
    outline-color: #000 !important;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}



/* End of Accessibility */


/* MSU Masthead
================================================== */

.msu-masthead-sans-helmet {
    padding-top: 6px;
}

.msu-masthead-sans-helmet object {
    width: 300px;
}

/* MSU Search
================================================== */

.msu-search form input {
    background-color: #fff;
    min-height: 28px;
    color: #333;
    width: 300px;
    font-size: 12px;
    line-height: 1;
}

.msu-search form button i {
    color: #333;
}

/* #MSU Footer 
================================================== */

#MSUstandardFooter {
    height: 55px;
}

#MSUstandardFooter .fourMSUcolumns {
    width: 221px;
    float: left;
    position: relative;
    margin-right: 18px;
}

#MSUstandardFooter .fourMSUcolumns img {
    width: 100%;
    margin-top: 8px; 
}

#MSUstandardFooter .thirteenMSUcolumns {    /* V2.0 */ 
    width: 660px; 
    float: left;
    position: relative; 
    margin: 5px 0px 0px 0px;
}

#MSUstandardFooter .twelveMSUcolumns {
    padding-top: 4px;
}

/* Website information with Call Us/Telephone (Footer line 1) */

#MSUstandardFooter #standard-footer-site-links ul {
    margin: 0px;
    padding: 0px;
    height: 22px; 
    border-bottom: 1px dotted #808080;
    float: left;
    clear: right;
}

#MSUstandardFooter #standard-footer-site-links ul li {
    display: inline-block;
    padding-left: 4px;
    font-size: 12px;    /* V2.0 */
    margin-left: 0px;
    margin-right: 0px;
}

#MSUstandardFooter #standard-footer-site-links ul li:first-child {
    padding: 0px;
}

#MSUstandardFooter #standard-footer-site-links ul li:nth-child(2) a {
    padding: 0px 8px 0px 8px;
}

#MSUstandardFooter #standard-footer-site-links ul li:last-child a {
    border-right: none;
}

#MSUstandardFooter #standard-footer-site-links ul li a {
    text-decoration: none;
    padding-right: 8px;
    font-weight: 500;     /* V2.0 */ 
}

#MSUstandardFooter #standard-footer-site-links ul li a:hover {
    text-decoration: underline;
}

#MSUstandardFooter.light-background #standard-footer-site-links {
    color: #18453b;
}

#MSUstandardFooter.light-background #standard-footer-site-links a {
    color: #18453b;
    border-right: 1px solid #18453b;
}

#MSUstandardFooter.light-background #standard-footer-site-links ul li:nth-child(2) a {
    border-left: 1px solid #18354b;
}

#MSUstandardFooter.dark-background #standard-footer-site-links{
    color: #fff;
}

#MSUstandardFooter.dark-background #standard-footer-site-links ul li:nth-child(2) a {
    border-left: 1px solid #737373;
}

#MSUstandardFooter.dark-background #standard-footer-site-links a {
    color: #fff;
    border-right: 1px solid #737373;
}

/* Website information - no Call Us/Telephone (Footer line 1) */

#MSUstandardFooter #standard-footer-site-nocall-links ul {
    margin: 0px;
    padding: 0px;
    height: 22px; 
    border-bottom: 1px dotted #808080;
    float: left;
    clear: right;
}

#MSUstandardFooter #standard-footer-site-nocall-links ul li {
    display: inline-block;
    font-size: 12px;    /* V2.0 */
    padding-left: 4px;
}
#MSUstandardFooter #standard-footer-site-nocall-links ul li:first-child {
    display: inline-block;
    font-size: 12px;    /* V2.0 */
    padding-left: 0px;
}

#MSUstandardFooter #standard-footer-site-nocall-links ul li a {
    padding: 0px 8px 0px 8px;
}
#MSUstandardFooter #standard-footer-site-nocall-links ul li a:first-child {
    padding: 0px 8px 0px 0px;
}

#MSUstandardFooter #standard-footer-site-nocall-links ul li a {
    padding-right: 8px;
    text-decoration: none;
    font-weight: 500;     /* V2.0 */
}

#MSUstandardFooter #standard-footer-site-nocall-links ul li a:hover {
    text-decoration: underline;
}

#MSUstandardFooter.light-background #standard-footer-site-nocall-links {
    color: #18453b;
}

#MSUstandardFooter.light-background #standard-footer-site-nocall-links ul li a {
    color: #18453b;
    border-right: 1px solid #18354b;
}
#MSUstandardFooter.light-background #standard-footer-site-nocall-links ul li:last-child a {
    border-right: none;
}

#MSUstandardFooter.dark-background #standard-footer-site-nocall-links{
    color: #fff;
}

#MSUstandardFooter.dark-background #standard-footer-site-nocall-links ul li a {
    color: #fff;
    border-right: 1px solid #737373;
}
#MSUstandardFooter.dark-background #standard-footer-site-nocall-links ul li:last-child a {
    color: #fff;
    border-right: none;
}

/* MSU information (Footer lines 2-3) */ 

#MSUstandardFooter #standard-footer-MSU-info {
    font-size: 9px;          /* V2.0 */
    margin-top: 2px; 
    padding-top: 6px;
    float: left;
    clear: right;
}

#MSUstandardFooter #standard-footer-MSU-info ul {
    margin: 0px;
    padding: 0px;
    height: 16px;
    font-size: 9px;          /* V2.0 */
}

#MSUstandardFooter #standard-footer-MSU-info ul li {
    margin: 0px;
    line-height: 10px;
    display: inline;
    border-right: 1px solid #999;
    padding: 0px 8px 0px 4px;
}

#MSUstandardFooter #standard-footer-MSU-info ul li.spartans-will {
    text-transform: uppercase;
    font-weight: 600;    /* V2.0 */
}

#MSUstandardFooter #standard-footer-MSU-info ul li:first-child {
    padding-left: 0px;
}

#MSUstandardFooter #standard-footer-MSU-info ul li:last-child {
    border-right: 0px;
}    

#MSUstandardFooter #standard-footer-MSU-info ul li a {
    text-decoration: none;
}

#MSUstandardFooter #standard-footer-MSU-info ul li a:hover {
    text-decoration: underline;
}

#MSUstandardFooter.light-background #standard-footer-MSU-info{
    color: #18453b;
}

#MSUstandardFooter.light-background #standard-footer-MSU-info a, #MSUstandardFooter.light-background #standard-footer-MSU-info .msu-phone {
    color: #4c7e00;    /* V2.0 */
}

#MSUstandardFooter.dark-background #standard-footer-MSU-info {
    color: #fff;
}

#MSUstandardFooter.dark-background #standard-footer-MSU-info a, #MSUstandardFooter.dark-background #standard-footer-MSU-info .msu-phone {
    color: #81d300;     /* V2.0 */
}

#standard-footer-MSU-wordmark img.print-msuwordmark {
    display: none;
}

/* Mobile Break
================================================== */

@media only screen and (max-width: 600px) {
    #MSUstandardFooter div {
        clear: both;
    }

    #MSUstandardFooter ul {
        border: none !important;
    }

    #MSUstandardFooter ul li {
        display: list-item !important;
        border: none !important;
        list-style-type: none !important;
        padding-left: 0 !important;
    }

    #MSUstandardFooter ul li a {
        border: none !important;
    }

    #MSUstandardFooter #menu-footer {
        width: 100%;
    }

    #MSUstandardFooter #standard-footer-MSU-info {
        padding-bottom: 20px;
    }

    #MSUstandardFooter #standard-footer-site-nocall-links ul {
        padding-top: 1em;
        height: auto;
    }

    #MSUstandardFooter #standard-footer-site-nocall-links ul li {
        padding-bottom: 1em;
    }

}

/* #Print Styles
================================================== */
@media print {

    #MSUmasthead img.print-msugraphic, #standard-footer-MSU-wordmark img.print-msuwordmark {
        display: block;
    }

    #MSUmasthead img.msugraphic-green, #MSUmasthead img.msugraphic-white {
        display: none;
    }
    #standard-footer-MSU-wordmark img.msuwordmark-green, #standard-footer-MSU-wordmark img.msuwordmark-white {
        display: none;
    }

    #MSUSearchTool #search-tool-box{
        margin-right: 12px;
    }

}

/* End of Branding - MSU Masthead, Search Tool and Standard Footer */
/********************************************************************/
