/* site header styling */
.site-identity {
    background: #5b0013;
    color: #fff;
}

.site-identity, .site-identity .two-lines, .site-identity a:link, .site-identity a:hover, .site-identity a:visited { color: #fff !important;}

@media (min-width: 40em){
.site-identity .prefix-name .two-lines, .site-identity .prefix-name a .two-lines, .site-identity .subhead .two-lines {
    color: #fff !important;
}}

@media (min-width: 60em) {
h2, .style-h2 {
    font-size: 1.5em;
}}

h2:first-child, .style-h2:first-child {
    margin: 0 0 1em 0;
}

h2 a:link, h3 a:link, h4 a:link {
    border-bottom: 1px solid #7a0019;
}

/* styling for layouts  */

body.no-sidebars main section#content {width: 100%; float: left; margin-left: 0;}

.region-content {padding-left: 10%; padding-right: 10%;}

.region-content .layout--onecol { }
.region-content .layout--onecol .layout__region--content {padding-top: 2em 0;}
.layout--twocol-section, .layout--threecol-section, .layout--fourcol-section {}

@media screen and (min-width: 40em) {
.layout--threecol-section--33-34-33 > .layout__region--first, .layout--threecol-section--33-34-33 > .layout__region--second,  .layout--threecol-section--33-34-33 > .layout__region--third {
    flex: 0 1 32%; }}
    
.layout--threecol-section--33-34-33 .layout__region--first, .layout--threecol-section--33-34-33 .layout__region--second {margin-right: .5em;}
.layout--threecol-section--33-34-33 .layout__region--first, .layout--threecol-section--33-34-33 .layout__region--second, .layout--threecol-section--33-34-33 .layout__region--third {padding: 0;}
.page-node-type-person-profile .layout--threecol-section--33-34-33 .layout__region--first, .page-node-type-person-profile .layout--threecol-section--33-34-33 .layout__region--second {padding: 0 .5em 0 0;}


@media screen and (min-width: 40em) {
.layout--twocol-section.layout--twocol-section--50-50 > .layout__region--first, .layout--twocol-section.layout--twocol-section--50-50 > .layout__region--second {
    flex: 0 1 49%; 
}}

@media screen and (min-width: 40em) {
.layout--twocol-section.layout--twocol-section--33-67 > .layout__region--second, .layout--twocol-section.layout--twocol-section--67-33 > .layout__region--first {
   padding-right: 1.5em;
}}


@media screen and (min-width: 40em) {
.layout--twocol-section.layout--twocol-section--50-50 > .layout__region--first {
    margin-right: .5em;
}}


/* styling for callouts */
.callout:first-child {margin-top: 0;}
.callout .txt-intro {color: #7a0019; font-style: italic; font-weight: 400;}


/* hide title on landing pages */
.page-node-type-landing-page h1.page-title {display: none;}

/* add padding above homepage title */
h2.page-title.style-h1 { padding-top: 1em;}

/* homepage news and events styling */

#views_block:news-block_2 h2 {color: #ffffff; text-align: center;}
#views_block:news-block_2 a:link, #views_block:news-block_2 a:visited {color: #ffffff;}
#views_block:news-block_2 h3, #views_block:news-block_2 h3 a:link, #views_block:news-block_2 h3 a:visited  {font-size: 1em !important; color: #ffde7a; font-weight: bold; border-bottom: none;}
#views_block:news-block_2 h3 a:hover {background-color: #7a0019;}
#views_block:news-block_2 article {
    margin: 0 0 1em 0;
}

.block-views-blocknews-block-3, .block-views-blockevents-block-3 {margin-bottom: 2em;}
/* .block-views-blocknews-block-3 h3, .block-views-blocknews-block-3 h3 a:link, .block-views-blocknews-block-3 h3 a:visited, .block-views-blockevents-block-3 h3, .block-views-blockevents-block-3 h3 a:link, .block-views-blockevents-block-3 h3 a:visited  {font-size: 1em !important; border-bottom: none;} */

/* course page styling */
.page-node-type-course .layout--twocol-section--67-33 .layout__region--second {background-color: #f0efee; padding: 1em;}
.block-field-blocknodecoursefield-course-id, .block-field-blocknodecoursefield-credits, .block-field-blocknodecoursefield-semester-offered, .block-field-blocknodecoursefield-course-fre {margin-bottom: 1em;}

/* fix image size problem */
.media--view-mode-folwell-third, .caption.media--view-mode-folwell-third {
    width: 368px !important;
}
/* profile page styling */
.field--name-field-position-title {font-weight: bold; margin-bottom: 1em;}
.field--name-field-website {margin-bottom: 1em;}



/* CFANS footer tweaks */
div.folwell-unitfooter {
    line-height: 1.45;
    /* margin-left: auto; */
    /* margin-right: auto; */
    max-width: 1200px;
    padding-left: 10%;
    padding-right: 10%;
}

.folwell-unitfooter .unitfooter-3columns > div.field {
    width: 32%;
    padding: 0 20px;
}


/* ConsSci Grad Student styling */
.block-field-blocknodegrad-studentfield-degree, .block-field-blocknodegrad-studentfield-track, .block-field-blocknodegrad-studentfield-advisor {clear: both; content: ""; display: block;}
.field.field--name-field-research-.field--type-entity-reference.field--label-hidden.field__items {
    margin-bottom: 1em;
}

/* WRS event style */
.field--name-field-event-speaker {margin-top: 1em;}

/* 11-28-23 fix image alignment */
figure.caption.caption-drupal-media.align-right.thumbnail, figure.caption.caption-drupal-media.align-left.thumbnail {width: 220px;}n

figure.caption.caption-drupal-media.align-right.circle_175px, figure.caption.caption-drupal-media.align-left.circle_175px {
    width: 175px;
}

/* 9-17-24 fix image alignment for 300px circle */
figure.caption.caption-drupal-media.align-right.circle_300px, figure.caption.caption-drupal-media.align-left.circle_300px {
    width: 300px !important;
}

/* 10-21-24 fix maroon bar behind site name for 1200px width layouts */
.fixed-width .site-identity {
max-width: 100% !important;}

.fixed-width .site-identity .region-identity {
    max-width: 1200px !important;
    margin-left: auto;
    margin-right: auto;
}

/* 6-20-25 fix curator.io color contrast errors */
.crt-widget .crt-post-date a, .crt-widget .crt-post-text a, .crt-widget .crt-post-fullname a, .crt-widget .crt-post-username a  {color: #717171 !important;}
.crt-post-date .crt-post-date-link {opacity: 1.0  !important;}