/* Card component modeled on webeco theme */

.card {
    box-shadow: 0 0 3rem #0000000f;
    text-decoration: none;
    transition: box-shadow 0.12s ease-in;
    margin: 0 .5rem 2rem .5rem;
    background: white;
  }
  
  .card:hover {
    box-shadow: 0 0 3.5rem #0000004d;
    transition: box-shadow .12s ease-in;
  }
  
  .card h2.card__title {
    align-items: center;
    background-color: white;
    border-left: 8px solid white;
    display: flex;
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.5rem;
    min-height: 5.5rem;
    padding: 1rem;
    position: relative;
    width: 100%;
    z-index: 1;
    color: #881c1c;
  }
  
  .card a, 
  .card .text-content a { color: black; text-decoration: none; }
  
  .card a:hover, 
  .card .text-content a:hover { color: #881c1c; }
  .card a:hover, 
  .card .text-content a:hover, 
  .card a:visited, 
  .card .text-content a:visited { border: none; }
  
  .card li, 
  .card .text-content li { line-height: 1.5; margin-bottom: .3rem; }
  
  
  /*.card__title:after {
    border-bottom: 0.313rem solid #0000;
    border-left: 0.438rem solid black;
    border-top: 0.313rem solid #0000;
    content: "";
    display: inline-block;
    height: 0;
    position: absolute;
    right: 0;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
  } */
  
  .card:hover .card__title, .card:hover .card__title::after { border-left-color: #881c1c; }
  
  .card .contextual-region .contextual .contextual-links { display: block; border: none; background: transparent; }
  
  
  
  .topic ul {
      list-style: none;
      display: grid;
      grid-gap: 10px;
      grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
      margin-left: 0;
      padding: 0 1.5rem;
  }
  
  .topic a:link,
  .topic a:visited {
      border: 1px solid #E0E0E0;
      border-radius: 6px;
      box-shadow: 0px 5px 8px 0px rgba(0,0,0,0.04);
      color: #881c1c;
      font-size: 1rem;
      text-decoration: none !important;	
      display: flex;
      justify-content: center;
      padding: .5rem;
  }
  
  .topic__node a:link,
  .topic__node a:visited  {
    background: white;
    border: 1px solid #881c1c;
    border-radius: 0;
    color: black;
    display: inline-block;
    font-size: .75rem;
    font-weight: 500;
    font-weight: 700;
    line-height: 1rem;
    padding: .25rem .5rem;
    text-decoration: none;
    transition: color .12s ease-in, text-decoration-color .12s ease-in, -webkit-text-decoration-color .12s ease-in;
  }
  
  .topic.topic__node .field__items {
  display: flex;
  }
  
  .topic.topic__node .field__item {
  padding-right: 4px;
  }
  
  .topic.topic__node .field__item a:hover,
  .topic.topic__node .field__item a:active  {
      background: black;
      color: white;
  }
  
  .view-content .topic ul li a:hover { background: black; color: white; text-decoration: none; }
  
  
  /* Olivero Button class overrides */
  
  .button .field__item a:link,
  .button .field__item a:visited {
      font-size: 1.25rem;
      font-weight: normal;
      text-decoration: none !important;
      border: none;
      box-shadow: none;	
      height: inherit;
  }
  
  .button .field__item:hover, .button:hover a  { background: black; color: white !important; text-decoration: none; border-color: black; }
  .button .field__item a:hover { background: transparent; color: white !important; } 
  
  
  /* Olivero form overrides */
  
  [type="color"]:focus, 
  [type="date"]:focus, 
  [type="datetime-local"]:focus, 
  [type="email"]:focus, 
  [type="file"]:focus, 
  [type="month"]:focus, 
  [type="number"]:focus, 
  [type="password"]:focus, 
  [type="search"]:focus, 
  [type="tel"]:focus, 
  [type="text"]:focus, 
  [type="time"]:focus, 
  [type="url"]:focus, 
  [type="week"]:focus, 
  textarea:focus {
      outline-width: 3px;
      outline-style: solid;
      outline-color: #881c1c; 
      border-color: #881c1c;
  }
  
  @media screen and (max-width:750px) {
      
      .topic ul { display: block; }
      
  }
      
  