.group-title { 
  margin-top: 1em;
  margin-bottom: 0;
}

.news-cards .card { 
  border: none;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.news-cards .card {position: relative}

/*card link*/

.news-cards .card .block-link {
    display: block;
    position: absolute;
    z-index:1;
    width: 100%;
    height: 100%;
    text-indent: -9999px;
}

.news-cards .card .block-link:hover + .card-body{
  background: #eff1f2;
  transition: 0.25s;
  transition-timing-function: ease-in;
  color: #002a5c;
}

.news-cards .card .block-link:hover { 
  background: #eff1f2; 
  opacity:0.15; 
}

.news-cards .card-body {
  padding:0;
  background: #002a5c;
  border-bottom: 1px solid #002a5c;
  color: #fff;
}

.news-cards .card-body {
  transition: 0.25s; transition-timing-function: ease-out;
}
.news-cards .news-cards .p-5 {font-weight: bold;}

/*featured banner*/
.featured-top {position: relative;}

/*transparent layover with link and gradient*/
.featured-banner .desc {
  position: absolute;
  width: 100%;
  height: 100%;
  top:0;
  left:0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 54%, black 92%, black 100%);
}

.featured-banner .title {
  position: absolute; 
  bottom: 25px;
  color: #fff; 
  z-index: 1000;
  width: 100%; /*so that title aligns the container child with the rest of the content to the left*/
  margin-left: -15px; /*so that title aligns the container child with the rest of the content to the left*/
}

/*hero banner mobile view*/
@media only screen and (max-width: 576px) {
  .featured-banner .title {
  position: inherit;
  margin-left: 0px;
  text-decoration:none;
  color: #fff;
  background: black;
  padding-bottom:.1em;
  }
  .featured-banner .title .container {
    font-size: 1.25em;
    padding-top: .5em;
  }
  .featured-banner .desc { 
    background: none;
  }
  /*.featured-banner .view-display-id-block_1 {
    background: #000;
  }*/
  .featured-banner a { text-decoration: none; }
}

/*image article*/
.node--type-article .node--view-mode-full .image-style-cta-wide {
-webkit-animation-duration: 2s;
animation-duration: 2s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}

@-webkit-keyframes fadeIn {
            0% {opacity: 0;}
            100% {opacity: 1;}
         }
         
         @keyframes fadeIn {
            0% {opacity: 0;}
            100% {opacity: 1;}
         }
         
         .image-style-cta-wide {
            -webkit-animation-name: fadeIn;
            animation-name: fadeIn;
         }



/*image article caption*/
.image_caption_wrapper, figcaption {
  padding: .75em;
  font-style: italic;
}
.image_caption_wrapper {
  padding: 1.5em 1em;
  background: #002a5c;
  color: #fff;
}
/*article date display*/
.datetime {
    margin: 1.5em 0 .5em 0;
    display: block;
    font-size: 1.25rem;
}
.datetime, .author-name {
  color: #002a5c;
}
.author-name {  
  font-size: 1.75rem;
  margin-top: 0em;
  font-weight: bold;
}

/*social media caption*/
.a2a_kit { line-height: 48px !important;}

/*related news links*/
.sidebar_second aside { background: #002a5c; }

.sidebar h2 {
    margin: 0 0 0.5em;
    border-bottom: none;
    padding-bottom: 5px;
    text-shadow: none;
    font-size: 1.071em;
    line-height: 1.2;
    font-weight: bold;
  color: #fff;
}

.related-news-link {
  border-left: 4px solid #31708f;
  border-bottom: 1px solid #eff1f2;
  margin-bottom: 0;
  background: #fff;
  transition-timing-function: ease-in;
  transition: 0.1s;
}

.related-news-link:hover { 
  border-left: 4px solid #eec150;
  background: #eef1f1;
  border-bottom: 1px solid #ccc;
  transition-timing-function: ease-in;
  transition: 0.1s;
}
.related-news-link a {
    font-size: 1.4rem;
    text-decoration: none;
    display: block;
    line-height: normal;
    padding: .75em 1em;
    color: #002a5c;
}
.related-block .view-footer {
   /* margin: 0 -15px;*/
   /*margin-bottom: -15px;*/
    text-align: center;
    padding: 1em;
    background: #eef1f1;
}

.related-block .view-footer a {
    display: block;
    padding: 1em;
    border: 1px solid #ccc;
    text-decoration: none;
    background: #fff;
    transition-timing-function: ease-in;
  transition: 0.1s;
  text-transform: uppercase;
}

.related-block .view-footer:hover a {
background: #265A87;
color: #fff;
transition-timing-function: ease-in;
  transition: 0.1s;
}
/*fill the row*/
.related-wrapper { width: 100%;}

/*exposed filters form for the news page*/
.view-filters {
    border: 3px solid #f2f4f8;
    margin-bottom: 2em;
    margin-top: 1em;
    padding: .5em;
}

.views-exposed-form .btn {
    color: #fff;
    background-color: #265A87;
    border-color: #46b8da;
    padding: .3em 1em;
    border-radius: 4px;
    border: 1px solid transparent;
    transition-timing-function: ease-in;
    transition: 0.1s;
    margin-left: .75em;
}
.views-exposed-form .btn:hover {
  background-color: #5bc0de;
  transition-timing-function: ease-in;
  transition: 0.1s;
}

.form-row {
  align-items: center;
}

.form-row label {
  display: block;
  text-transform: uppercase;
  color: #002a5c;
}

.form-row>fieldset {
    padding-right: 1em;
    padding-left: 1em;
}

#edit-topic {
  display: block;
  width: 100%;
  padding: .52rem .75rem;
  font-size: 1.5rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
}
/*News listing*/

.news-listing .views-row {
    background-color: #eff1f2;
    margin-bottom: 1.25em;
    padding: 1.25em;
}
.news-listing .row {
  margin-left:0;
  margin-right: 0;
  display: block;
}
.news-row {
    padding: 1.25em;
    margin-bottom: 1em;
    background-color: #eff1f2;
}

.news-row h2 { margin-bottom: 0;}
.news-row .datetime { 
  margin-top: 0;
  font-size: 1.5rem;
}

.inline-image-left {
  float: left;
  margin-right: 1em;
  width: 37.03704%;
  margin-top: 0.4096em;
  margin-bottom: 0.32768em;
  transition: 0.25s;
  transition-timing-function: ease-out;
}

.inline-image-left:hover {
  transition: 0.25s;
  transition-timing-function: ease-in;
  opacity:0.85;
}
/* Latest News Link*/
.latest-news {
  display: block;
  text-align: right;
  text-transform: uppercase;
  text-decoration: none;
  color: #282828;
  font-weight: 700;
  -webkit-transition: background-color 0.3s ease-in;
  -o-transition: background-color 0.3s ease-in;
  transition: background-color 0.3s ease-in;
}

.latest-news:before {
  content: "\f1ea";
  font-family: 'fontAwesome';
  padding-right: .5em;
}
.latest-news:hover {
  text-decoration: none;
}

/*Add to any social media*/
.a2a_svg { 
  background: none !important;
  margin-left: -10px;
  margin-right: 10px;
}

@media only screen and (min-width: 992px) {
iframe {max-width: 795px !important;}
}
@media only screen and (max-width: 991px) and (min-width: 768px) {
iframe {max-width: 660px !important;}
}

span > img.align-left { float:left; margin-right: 1em;}
span > img.align-right { float:right; margin-left: 1em;}

/*default display for figure*/
.field--name-body figure {
  /* text-align: center;*/
   /* margin: 1em auto;*/
    padding: 1em;
    background: #eff1f2;
}
.field--name-body figure img {margin: auto} /*center image by default*/
.field--name-body figcaption {
 /* display: block;*//*theme override so the default caption displays nice*/ /*salvi commmented this out,preventing from text wrapping when aligned left or right*/
  background: #eff1f2;
  padding: 1.5rem;
}

/*Overrides for figure for news*/
.node--type-article .caption>figcaption {
  background: #eff1f2;
  color:#111;
}

/*hide the br to reduce spacing between image and caption*/
.caption-img > img+br {display:none;}


/* figure right and left */
.field--name-body .right figure img { margin-right: 0;}
.field--name-body .left figure img { margin-left: 0;}

.right, .left {max-width: 50%;} /* display the caption under the picture and don't take the whole row */
.right figcaption, .left figcaption {
  max-width: fit-content; 
  padding:.5em;
}
.field--name-body figure > figure {margin:0; padding:0;}

div.thumbnail {max-width: 20%}

/*in-article photo gallery*/
.gallery-title {
  margin-top: 1.95312em;
  
}