/*
 *Page One CSS
 */

p{
 line-height: 25px;
}

#article-header{
position: relative;
height: 750px;
width: 100%;
overflow: hidden;
}
#article-header img{
position: relative;
width: 100%;
}

.article-main{
width: 75%;
margin: 0 auto;
}

a .img-caption{
 color: #002fa7;
}
.caption {
    position: relative;
    overflow: hidden;

    /* Only the -webkit- prefix is required these days */
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
}

.caption::before {
    content: ' ';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: transparent;
    transition: background .35s ease-out;
}

.caption:hover::before {
    background: rgba(0, 0, 0, .5);
}

.caption__media {
    display: block;
    min-width: 100%;
    max-width: 100%;
    height: auto;
}

.caption__overlay {
    /*position: absolute;
    top: 0;
    right: 0;
    bottom: 50%;	
    left: 0;
    padding: 35px;
    color: white;

    -webkit-transform: translateY(200%);
            transform: translateY(200%); 

    transition: -webkit-transform .35s ease-out;
    transition:         transform .35s ease-out; */
}

.caption__overlay{
    position: absolute;
    /* top: 0; */
    right: 0;
    bottom: 50%;
    left: 0;
    padding: 0 35px;
    color: white;
    -webkit-transform: translateY(50%);
            transform: translateY(50%);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.35s linear;

}

.caption:hover .caption__overlay {
    visibility: visible;
    opacity: 1;
}

.caption__overlay__content{
    text-align: center;
    font-size: 24px;
    line-height: 30px;
}

.text-block{
    padding: 20px 38px;
    background-color: #e0e0e0;
    margin: 25px 0;
}

.text-block h3{
  font-size: 18px;
}

.text-block ul{
  margin: 0;
}
.text-block li, .text-block h3{
  color: #3e3e3e;
}

.text-block li{
  display: block;
  line-height: 25px;
  list-style-type: none;
}

.text-block li i{
 /* color: #002fa7;*/
}

.text-block li p{
 display: inline-block;
}

.text-block li i {}

.learn-more {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
}

.learn-more-item {
  margin-right: 3.5%;
  margin-top: 20px;
  width: 31%;
}

.learn-more-item:nth-child(3n+3) {
  margin-right: 0px;
}
.learn-more-item .thumbnail{
  width: 100%;
  overflow: hidden;
}
.learn-more-item .thumbnail img {
  width: 100%;
}

.tap-photo{
display: none;
}
.thumb-caption{
margin-top: 5px;
font-size: 14px;
}

.article-section{
  margin-top: 35px;
}

/*---Media Queries---*/

@media (max-width: 1145px) {
  #article-header{
  height: 100%;
  }
}

@media only screen and (max-width: 767px){
  .main {
     margin: 0;
  }


.learn-more-item {
  margin-right: 4%;
  margin-top: 20px;
  width: 48%;
  
}

.learn-more-item:nth-child(3n+3) {
  margin-right: 4%;
}
.learn-more-item:nth-child(2n+2) {
  margin-right: 0px;
}
.caption__overlay__content {
    text-align: center;
    font-size: 16px;
    line-height: 23px;
}

.text-block li p{
 font-size: 14px;
}

.tap-photo{
    display: block;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 0;
    color: grey;
 }
}