/*
 Theme Name:   ISU Founder
 Template:     founder
 Author: 	   Illinois State WEB
 Version: 	   0.1
 Author URI:   https://illinoisstate.edu
 Description:  This is a child theme used to customize the Founder WordPress theme for ISU specific content.
 License: GNU  General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/* =Theme customization starts here
-------------------------------------------------------------- */
@font-face { font-family: "ISULogoSerif"; src: url(//cdn.illinoisstate.edu/fonts/latin-modern/sc-regular.eot); src: url(//cdn.illinoisstate.edu/fonts/latin-modern/sc-regular.eot?#iefix) format('eot'), url(//cdn.illinoisstate.edu/fonts/latin-modern/sc-regular.woff) format('woff'), url(//cdn.illinoisstate.edu/fonts/latin-modern/sc-regular.ttf) format('truetype'), url(//cdn.illinoisstate.edu/fonts/latin-modern/sc-regular.svg#LatinModern) format('svg'); font-weight: normal; font-style: normal; }

@font-face { font-family: "ISUSerifItalic"; src: url(//cdn.illinoisstate.edu/fonts/pt-serif/italic.eot); src: url(//cdn.illinoisstate.edu/fonts/pt-serif/italic.eot?#iefix) format('eot'), url(//cdn.illinoisstate.edu/fonts/pt-serif/italic.woff) format('woff'), url(//cdn.illinoisstate.edu/fonts/pt-serif/italic.ttf) format('truetype'), url(//cdn.illinoisstate.edu/fonts/pt-serif/italic.svg#PTSerif) format('svg'); font-weight: normal; font-style: normal; }

a {border: none;}

.main a {text-decoration: underline;}

/*.main a:link {color: #CC0000;}*/

a:link {color: #CC0000;}

a.sbe-follow-link {color: white;}
a.more-link:link {color: white;}

a.wp-block-button__link {
    text-decoration: none;
    color: #ffffff;
}

a.wp-block-button__link:hover {
    transition: all 500ms cubic-bezier(.445, .050, .550, .950) 0ms;
    background-color: #990000 !important;
    border-color: #990000;
    color: #ffffff !important;
}

a.wp-block-button__link:visited {
    background-color: #900 !important;
    color: #ffffff !important;
}

h1 {
  font-size: 2.7em; !important;
  margin: 0.3em 0em !important;
  line-height: 1.3em !important;
}

h2 {
  font-size: 2.15em !important;
  margin: 0.3em 0em !important;
  line-height: 1.3em !important;
}

h3 {
  font-size: 1.7em !important;
  margin: 0.3em 0em !important;
  line-height: 1.3em !important;
}

h4 {
  font-family: "ISUCondBold";
  font-size: 1.4em !important; 
  margin: 0.3em 0em !important;
  line-height: 1.3em !important;
}

h5 {
  font-family: "ISUCondBold";
  font-size: 1.3em !important;
  margin: 0.3em 0em !important;
  line-height: 1.3em !important;
}

p {
  padding: 0em !important;
  line-height: 1.5em !important;
}

.wp-block-group p {
  margin: 0em !important;
}

.card-img-staff {
  margin-bottom: 0 !important;
}

figcaption {
    color: #555;
    font-size: 13px;
    text-align: center;
}

.no-padding {
    padding: 0px !important;
}

.wp-block-column.staff-block {
    margin-left: 10px !important;
    padding: 5px;
}

.wp-block-button__link {
    color: #fff;
    background-color: #32373c;
    border: none;
    border-radius: 1.55em;
    box-shadow: none;
    cursor: pointer;
    display: inline-block;
    font-size: 1.125em;
    padding: .50em .75em;
    text-align: center;
    text-decoration: none;
    overflow-wrap: break-word;
}

figure.wp-block-image.size-large.no-margin {
    margin: 0px !important;
}

.menu-primary-items a, .menu-unset ul a {
  font-family: 'Open Sans',sans-serif;
  font-size: .9em;
  text-transform: unset;
}

summary.wp-block-coblocks-accordion-item__title {
    display: list-item !important;
}
  
@media screen and (min-width: 782) {
  .wp-block-column:not(:first-child) {
    margin-left: 20px !important;
  }
}

:before, :after, .fa-search:before {
  font-family: inherit !important;
  font-weight: inherit !important;
}

.border-line {
    border: 1px solid #e0e0e0;
    padding: 20px;
}

.o-footer__divider::before {font-family: "isu-icons-new" !important;}

.wp-block-cover .wp-block-cover__inner-container {
    width: calc(100% - 40px) !important;
}

.u-width-70 {
  margin-left: auto !important;
  margin-right: auto !important;
  width: 70%;
}

@media screen and (min-width: 600px) {
  .c-row-header {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(8.5%, 5rem) auto minmax(8.5%, 5rem);
    grid-gap: 0.5em;
    justify-content: center;
    text-align: center;
    max-width: 80%;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 40px !important;
    margin-top: 40px !important;
  }
 .c-row-header::before {
    border-bottom: 0.125rem solid black;
    content: '';
    display: inline-block;
    margin: 0 0.5em;
    max-width: 5rem;
    vertical-align: middle;
    width: 8.5%;
    margin: 0;
    max-width: none;
    width: auto;
  }
  .c-row-header__title {
    line-height: 1.2;
  }
  .c-row-header::after {
    border-bottom: 0.125rem solid black;
    content: '';
    display: inline-block;
    margin: 0 0.5em;
    max-width: 5rem;
    vertical-align: middle;
    width: 8.5%;
    margin: 0;
    max-width: none;
    width: auto;
  }
}

@media screen and (max-width: 991px) {
  .wp-block-cover .wp-block-cover__inner-container {
    width: calc(100% - 20px) !important;
  }
  .flex-basis-mobile{
    flex-basis: 100% !important;
  }
  .text-align-mobile{
    text-align: center;
  }
  .c-row-header {
    margin-bottom: 40px !important;
    max-width: 100%;
  }
}

@media screen and (max-width: 781px) {
  .wp-block-column{
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .wp-block-column is-vertically-aligned-top{
    margin-bottom: 15px;
    margin-right: 15px;
  }
  .flex-basis-mobile{
    flex-basis: 100% !important;
    margin-left: 0px !important;
  }
  .u-width-80 {
    width: 80% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .text-align-mobile{
    text-align: center;
  }
  .inline-space{
    margin-left: 10px;
    margin-right: 10px;
  }
  .c-row-header {
    margin-bottom: 20px !important;
  }
  .mobile-banner {
    min-height: 350px !important;
  }
 
}

@media screen and (max-width: 490px) {
  .u-width-80 {
    width: 100% !important;
  }
  .c-row-header {
    margin-bottom: 20px !important;
    margin-top: 20px !important;
    text-align: center;
  }
  .wp-block-media-text .wp-block-media-text__content{
    padding-top: 20px
  }
   .card-img-staff {
     margin-left: auto !important;
     margin-right: auto !important;
     width: 150px;
  }
}

@media (max-width: 781px) and (min-width: 600px) { 
   .inline-space {
        margin-left: 0px !important;
        margin-right: 15px;
     }
}

body {position:relative;}

/*
 Founder default color overwrite
*/
body {color: black;}

.site-title a:visited {color:inherit;}

a:hover, a:active, a:focus {
  border-color: #CC0000;
}

blockquote {
  border-left: solid 3px #CC0000;
}
.toggle-navigation:focus, .toggle-navigation.open {
  color: #CC0000;
}
.site-header .search-form-container button:focus i {
  color: #CC0000;
}

a:link.wp-block-button__link,
a:visited.wp-block-button__link {
  color: #fff !important;
  font-size: 1em !important;
}

a.wp-block-file__button:link {color: white;}

@media all and (min-width: 56.25em) {
  .social-media-icons a:hover, .social-media-icons a:active, .social-media-icons a:focus {
    color: #CC0000;
  }
}
.menu-primary-items li.current-menu-item:after, .menu-primary-items li.current_page_item:after,
.menu-unset ul li.current-menu-item:after,
.menu-unset ul li.current_page_item:after {
  background: #CC0000;
}
.toggle-dropdown:hover, .toggle-dropdown:active, .toggle-dropdown:focus {
  color: #CC0000;
  border-color: #CC0000;
}
@media all and (min-width: 56.25em) {
  .menu-primary-items li.current-menu-item > a, .menu-primary-items li.current_page_item > a,
  .menu-unset ul li.current-menu-item > a,
  .menu-unset ul li.current_page_item > a {
    border-color: #CC0000;
  }
}
.toggle-sidebar:focus i {
  color: #CC0000;
}
.sidebar-primary.open .toggle-sidebar {
  border-color: #CC0000;
}
.sidebar-primary.open .toggle-sidebar i {
  color: #CC0000;
}
@media all and (min-width: 56.25em) {
  .toggle-sidebar:hover, .toggle-sidebar:active, .toggle-sidebar:focus {
    border-color: #CC0000;
  }
  .toggle-sidebar:hover i, .toggle-sidebar:active i, .toggle-sidebar:focus i {
    color: #CC0000;
  }
}
.widget ul a:hover, .widget ul a:active, .widget ul a:focus {
  border-color: #CC0000;
}
.widget_recent_comments ul a:hover, .widget_recent_comments ul a:active, .widget_recent_comments ul a:focus {
  color: #1A1A1A;
  border-color: #CC0000;
}
.widget_rss .widget-title a:hover, .widget_rss .widget-title a:active, .widget_rss .widget-title a:focus {
  border-color: #CC0000;
}
.post-header a:hover, .post-header a:active, .post-header a:focus {
  border-color: #CC0000;
}
.further-reading a:hover, .further-reading a:active, .further-reading a:focus {
  border-color: #CC0000;
}
.comment-reply-link:hover, .comment-reply-link:active, .comment-reply-link:focus,
.comment-edit-link:hover,
.comment-edit-link:active,
.comment-edit-link:focus {
  border-color: #CC0000;
}

#iguide-float {
  z-index: 1000 !important;
}

figure.wp-container-2.wp-block-gallery-1.wp-block-gallery.has-nested-images.columns-6.is-cropped.no-space{
    gap: 0px;
}

/* New style for new blocks */
.wp-block-coblocks-hero__inner {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

.nav-button__prev, .nav-button__next {
    background-color: hsla(0, 0%, 100%, .65);
    width:36px;
    height:68px;
    border-radius: .25em;
}

.nav-button__prev svg.icon {
    background-color: #333 !important;
    margin-left: -12px;
    margin-top: 5px;
}

.nav-button__next svg.icon {
    background-color: #333 !important;
    margin-left: -12px;
    margin-top: 5px;
}

.coblocks-form__submit button.wp-block-button__link.is-style-fill {
    border-radius: 8px;
}

.wp-block-coblocks-accordion-item__title.has-background:not(.has-background), .wp-block-coblocks-accordion-item__title:not(.has-background) {
    background: #8c8c971a;
    font-size: x-large;
    font-weight: bold;
    padding: 15px 20px;
    border-radius: 0px;
}

.wp-block-coblocks-accordion-item {
    --border-width: calc(.35 * 1rem);
    --border-style: solid;
    --border-color: #e6e6e6;
    border-radius: 4px;
    border: var(--border-width) var(--border-style) var(--border-color);
    margin: 0;
}

.tablepress .sorting, .tablepress .sorting_asc, .tablepress .sorting_desc {
    background-color: #cc0000 !important;
    color: #ffff !important;
}

.tablepress .sorting:hover, .tablepress .sorting_asc, .tablepress .sorting_desc {
    background-color: #660000 !important;
    color: #ffff !important;
}

.tablepress .sorting:after, .tablepress .sorting_asc:after, .tablepress .sorting_desc:after {
    font-family: TablePress !important;
    color: #ffff !important;
}
