/*------------------------------------*\
  #1. Styling Reset 
\*------------------------------------*/


.grid,
.pod,
.pod__right,
.pod__left,
.pod__left__image {
  display:block;
  margin:0;
  padding:0;
  list-style: none;
}


.grid {
  width:100%;
  overflow:auto;
  max-width: 100%;
}

.pod__left,
.pod__right {
  min-height:1px;
}

.pod {
  overflow:auto;
  min-height:1px;
}

/*------------------------------------*\
  #2. Image, Text Overlay
\*------------------------------------*/

.pod--imageoverlay {
  background-size:cover;
  background-position: center center;
  background-repeat: no-repeat;
}

  .pod--imageoverlay .pod__info {
    padding:20px;
    position:relative;
  }

  .pod--imageoverlay .pod__info::before {
    content:'';
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background-color:rgba(37, 57, 124, 0.8);
  }

    .pod--imageoverlay .pod__title,
    .pod--imageoverlay .pod__content,
    .pod--imageoverlay .pod__link {
      position:relative;
    }

    .pod--imageoverlay .pod__content,
    .pod--imageoverlay .pod__title {
      color:#fff;
    }

    .pod--imageoverlay .pod__title {
      text-transform: uppercase;
    }

.pod--imageoverlay.pod--right,
.pod--twitter.pod--right {
  border-right-width:10px;
  border-right-style:solid;
  border-color:#f0d348;
}

.pod--imageoverlay.pod--left,
.pod--twitter.pod--left {
  border-left-width:10px;
  border-left-style:solid;
  border-color:#f0d348;
}

@media screen and (max-width:961px){
  .pod--imageoverlay{
    background-position: center bottom;
  }
}

/*------------------------------------*\
  #3. Image, Text Aligned
\*------------------------------------*/

.pod--imagealigned {
  overflow:auto;
}

  .pod--imagealigned .pod-wrapper__image{
    background-size:cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

    .pod--imagealigned .pod__image {
      visibility: hidden;
      display:block;
    }

  .pod--imagealigned.pod--left .pod-wrapper__content {
    border-left-width:10px;
    border-left-style:solid;
    border-color:#fff;
  }

  .pod--imagealigned.pod--right .pod-wrapper__content {
    border-right-width:10px;
    border-right-style:solid;
    border-color:#fff;
  }

/*------------------------------------*\
  #4. Twitter
\*------------------------------------*/

.pod--twitter .pod__info {
  background-color:#f0d348;
  padding:20px;
}

.pod--twitter .pod__info,
.pod--twitter .pod__info .tweet a {
    color:#25397c;
}

.pod--twitter .pod__info {
  min-height:100%;
}

.pod--twitter .pod__text {
  overflow:hidden;
  -ms-word-break: break-all;
  word-break: break-all;

  /* Non standard for WebKit */
  word-break: break-word;

  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
}

/*------------------------------------*\
  #5. Video
\*------------------------------------*/

.pod--video {
  background:#000;
  overflow:hidden;
}

.pod--video .pod__info {
  width: 100%;
  height: 100%;
  position:relative;
}

.pod--video.pod--setup .pod__iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border:none;  
}

/*------------------------------------*\
  #6. Image Only
\*------------------------------------*/

.pod--image {
  
}

.pod--image .pod-wrapper__image {
  background-image:none!important;
  padding:20px;
}

.pod--image .pod__image {
  margin:0 auto;
}



/*------------------------------------*\
  #7. Image w/ Title
\*------------------------------------*/

.pod--buttonlink .widget__image,
.pod--imagetitle .widget__image{
  display: block;
  width:100%;
}

.pod--buttonlink .widget__overlay,
.pod--imagetitle .widget__overlay{
  padding:12px 10px;
}


/*------------------------------------*\
  #7.5. Concertina
\*------------------------------------*/

.pod--concertina{
  padding: 10px 10px;
  width:100% !important;
}


/*------------------------------------*\
  #8. Video
\*------------------------------------*/

.pod--video{
  position:relative;
  background: transparent;
  min-height: 200px;
}

.pod--video iframe{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:100%;
  min-height:100%;
}




/*------------------------------------*\
  #8. Text
\*------------------------------------*/


.lo-course .pod__title{
  margin-bottom:0;
}

.lo-course .course--section .subtitle{
  padding:20px 0;
  margin-bottom:0;
}

.lo-course .course--section{
  margin-bottom:40px;
}

.pod--text .pod__text{
  word-break:break-word;
}

/*------------------------------------*\
  #9. Responsive
\*------------------------------------*/



@media screen and (max-width:720px){
  .pod{
    margin:0 0 20px 0;
  }

  .pod--buttonlink .widget__wrap,
  .pod--imagetitle .widget__wrap{
    max-width:400px;
    width:100%;
    margin:0 auto;
  }
  
  .pod--video{
    min-height: 400px;
  }
  
}

@media screen and (max-width:500px){
  .pod--video{
    min-height: 200px;
    
  }
}

@media screen and (min-width:721px) and (max-width:960px){
  .pod{
    margin:0 0 20px 0;
  }
  
  .pod--buttonlink .widget__wrap,
  .pod--imagetitle .widget__wrap{
    max-width:400px;
    width:100%;
    margin:0 auto;
  }
  
  .pod--video{
    min-height: 400px;
  }
  
  
}

@media screen and (min-width:961px) and (max-width:1280px){
  .pod {
    float:left;
    margin:0 40px 20px 0;
    width:100%;
  }
  
  /* Grid Rules */
  
  .pod.pod--col--1 { width: calc(100% - 40px / 6); }
  .pod.pod--col--2 { width: calc((((100% - 40px) / 6) * 2) - 0.1px); }
  .pod.pod--col--3 { width: calc(50% - 40px); }
  .pod.pod--col--4 { width: calc((((100% - 40px) / 6) * 4) - 0.1px); }
  .pod.pod--col--5 { width: calc((((100% - 40px) / 6) * 5) - 0.1px); }
  .pod.pod--col--6 { width: calc(100% - 40px); margin-bottom: 10px;}

}


@media screen and (min-width:1281px), print{
  

  .pod {
    float:left;
    margin:0 40px 20px 0;
    width:100%;
  }
  
  /* Grid Rules */
  
  .pod.pod--col--1 { width: calc(100% - 40px / 6); }
  .pod.pod--col--2 { width: calc((((100% - 40px) / 6) * 2) - 0.1px); }
  .pod.pod--col--3 { width: calc(50% - 40px); }
  .pod.pod--col--4 { width: calc((((100% - 40px) / 6) * 4) - 0.1px); }
  .pod.pod--col--5 { width: calc((((100% - 40px) / 6) * 5) - 0.1px); }
  .pod.pod--col--6 { width: calc(100% - 40px); }

}








@supports(display:grid){



  .pod{
      display: block;
      width: 100%;
  }
  

  @media screen and (min-width:721px){

    .grid {
      margin: 0 0 2rem 0;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(6, 1fr); 
      grid-column-gap: 1.5rem;
      grid-row-gap: 1.5rem; 
    }
  
    .pod {
      width: auto !important;;
      height: auto !important;
      margin: 0 !important;
    }    

      .pod--col--1 {
          grid-column: span 2;
      } 

      .pod--col--2 {
        grid-column: span 3; 
      }

      .pod--col--3 {
          grid-column: span 6;
      }

      .pod--col--4 {
          grid-column: span 6;
      } 

      .pod--col--5 {
          grid-column: span 6;
      }

      .pod--col--6 {
          grid-column: span 6;
      }     

  }

  @media screen and (min-width:961px){

    .grid {
      grid-column-gap: 1.5rem;
      grid-row-gap: 1.5rem; 
    }    

    .pod--col--1 {
        grid-column: span 2;
    }

    .pod--col--2 {
      grid-column: span 2; 
    }

    .pod--col--3 {
        grid-column: span 3;
    }

    .pod--col--4 {
        grid-column: span 6;
    }

    .pod--col--5 {
        grid-column: span 6;
    }

    .pod--col--6 {
        grid-column: span 6;
    }  

  }

  @media screen and (min-width:1281px), print{

    .grid {
      grid-column-gap: 2rem;
      grid-row-gap: 2rem;
    }        

    .pod--col--1 {
      grid-column: span 1;
    }

    .pod--col--2 {
      grid-column: span 2; 
    }

    .pod--col--3 {
      grid-column: span 3;
    }

    .pod--col--4 {
      grid-column: span 4;
    }

    .pod--col--5 {
      grid-column: span 5;
    }

    .pod--col--6 {
      grid-column: span 6;
    }


  }







}


