body, html {
	font-family: Open Sans,sans-serif;
}

html {
    font-size: 100%; /* 16px */
}

body {
    font-size: 1.25rem; /* 16px */
    line-height: 1.5; /* Improves readability */
}

h1 {
    font-size: 2.5rem; /* 40px */
}

h2 {
    font-size: 2rem; /* 32px */
}

h3 {
    font-size: 1.75rem; /* 28px */
}

p {
    font-size: 1.25rem; /* 16px */
}

@media (max-width: 768px) {
    body {
        font-size: 0.875rem; /* 14px for smaller screens */
    }
}


.logo {max-width: 150px;}

main li {padding-top:.7em;}

header h1 {font-family: proxima-nova, sans-serif;
    font-weight: 900;
    font-style: normal;
    
    max-width: 800px;
  }
  a {color: #1F4E8E;}
.ici_blue {color:#1F4E8E;}
.ici_red {color:#A12535;}
.header-text {}
header {border-bottom:.4em solid #1F4E8E;}
.allcaps {text-transform: uppercase;}
.spaced {letter-spacing: .5rem; }

header {  border-bottom: 5px solid;
  border-image: linear-gradient(45deg,#A12535, #1F4E8E) 1;
margin-bottom: 1em;
}
header a {text-decoration: none;}

.card img {max-width: 150px;}

.intro {border-right: #A12535 1px solid;}

.intro img {max-width: 250px;}

/* stuff brought over from mwt */
main h2 {
	color: #1F4E8E;
	border-bottom: .2px solid #1F4E8E;
}
main h1 {color: #1F4E8E; font-style: italic;}
main h3 {color: #A12535; border-bottom: 1px solid #1F4E8E;}
.readable {max-width: 63rem;}

.card {border-color: #A12535;}
.emp1MO img {max-width:15px;}


.btn {background-color: #1F4E8E;}

footer { background-color: #0075ad;  border-top: 5px solid;
    border-image: linear-gradient(45deg,#1F4E8E, #A12535) 1;
margin-top: 5em;
color: white ;
}
footer a {color: white;}

.subfooter {font-size:small; padding: 10px 0; border-top: #333 1px solid;}

footer h3 {border-bottom: 1px solid #333;}
footer a {font-weight: bold;}


.boxer {border: 5px solid;
    border-image: linear-gradient(45deg,#A12535, #1F4E8E) 1;
margin-bottom: 3em;}

.row-striped:nth-of-type(odd){
    background-color: #F8F9FA;
    border-left: 4px #1F4E8E solid;
  }
  
  .row-striped:nth-of-type(even){
    background-color: #ffffff;
    border-left: 4px #A12535 solid;
  }
  
  .row-striped {
      padding: 5px 5px;
      padding-bottom: 10px;
      margin-bottom: 5px;
  }
  .row-striped details{
    border:none;
  }
  .row-striped summary {padding: 0px; margin: 0px;}

  .navbar-toggler {background-color:#ccc}
 
  hr {
    display: block;
    margin: 5px 0 15px;
    width: 100%;
    height: 1px;
    border: 0;
    background-color: rgba(0, 0, 0, 0.35);
  }
  hr + h2 {
    display: inline-block;
    position: relative;
    left: 50%;
    margin: 0;
    padding: 5px 5px;
    border: 1px solid #A12535;
    transform: translateX(-50%);
    color: #1F4E8E;
    font-size: 1.3em;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-align: center;
  
    background-color: #fff;
  }
  hr + h2::first-letter {
    margin-left: 0.32em;
  }
  
  /* Alternative transform: translate */
  hr + h2 {
    border-width: 1px 0;
    margin-bottom: 1em;
  }
  hr + h2::before, hr + h2::after {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #1F4E8E;
    content: "";
  }
  hr + h2::before {
    left: 0;
  }
  hr + h2::after {
    right: 0;
  }
  
  /**/
  * {
    box-sizing: border-box;
  }

  .nav-link {color:#1F4E8E; }

  .blue {color: #1F4E8E;}

  /* the details stuff for the cool little dropdown */
  details {
    border: 1px solid #aaa;
    border-radius: 4px;
    padding: .5em .5em 0;
}

summary {
  font-size: large;
    font-weight: bold;
    margin: -.5em -.5em 0;
    padding: .5em;
    color: #616161;
}

details[open] {
    padding: .5em;
}

details[open] summary {
    border-bottom: 1px solid #aaa;
    margin-bottom: .5em;
}
details[open] summary ~ * {
  animation: sweep .5s ease-in-out;
}

details .btn {margin-left: 3em; margin-bottom: 1em;}

@keyframes sweep {
  0%    {opacity: 0; transform: translateX(-10px)}
  100%  {opacity: 1; transform: translateX(0)}
}

summary {padding:1em;}
.lil_summary {font-size: small; color:#1F4E8E; border-right:#A12535 1px solid; padding-right: .5em;}
.lil_summary .fa {color:#A12535;}
.no-right-border { border-right: 0px;}

@media (min-width: 992px) { 
  .mobi50 {max-width: 50%; float:right;}
  nav {padding-bottom: 0px; margin-bottom: 0px;}
}
.mwt img {max-width:15px;}
.mwt-green {color:#A12535;}
.mwt-blue {color:#1F4E8E;}

.instruct {
  text-align: right;
}


/* Datatable.js styles */
.page-link {
  padding: 0.375rem 0.5rem!important;
}

.dtsp-titleRow {display: none;}
.clearButton {display: none;}

.dataTables_scrollBody 
{overflow:none;}
 
.sources {background-color: #F7F7F8;
padding: .5em;}

article {background-color: white;
  border: 2px solid;
  border-image: linear-gradient(45deg,#A12535, #1F4E8E) 1;
  margin:1em;
  padding: 1em;
}

section {
margin-bottom: 2em;;
margin-bottom: 2em;}


/* crazy reveal thing */
.block {
  padding: .1em .4em;
}
.reveal {
  position: relative;

}
.reveal-inner {
  animation: lr-content 360ms;
  animation-delay: 890ms;
  animation-fill-mode: forwards;
  opacity: 0;
}
.reveal::before {
  content: '';
  background: #1F4E8E;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  animation: lr-bar 750ms;
  animation-fill-mode: both;
  animation-delay: 500ms;
  animation-timing-function: cubic-bezier(0.500, 0.250, 0.500, 0.750);
}

.reveal2 {
  position: relative;
}
.reveal-inner2 {
  animation: lr-content 360ms;
  animation-delay: 890ms;
  animation-fill-mode: forwards;
  opacity: 0;
}
.reveal2::before {
  content: '';
  background: #A12535;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  animation: lr-bar 750ms;
  animation-fill-mode: both;
  animation-delay: 500ms;
  animation-timing-function: cubic-bezier(0.500, 0.250, 0.500, 0.750);
}


@keyframes lr-bar {
  0% { transform-origin: center left 0px; transform: scaleX(0); }
  36% { transform: scaleX(1); transform-origin: center left 0px; }
  54% { transform: scaleX(1); transform-origin: center right 0px; }
  90% { transform: scaleX(0);  transform-origin: center right 0px; }
  100% { transform: scaleX(0);  transform-origin: center right 0px; }
}

@keyframes lr-content {
  0% { opacity: 1; }
  100% { opacity: 1; }
}

/* Hide headings in resource grid when it has not children */


.results_container:not(.results_container:has(.result)) {
  display: none;
}

/*heydon pickerings responsive grid method */ 
.grid-30 {
  --min: 30ch;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min)), 1fr));
  
  gap: 1rem;
}

.results_container .card ul {max-width: 540px;}

.results_container .card {max-width: 540px;}