/* Rebrand Notes

* added a tablet only media query to the bottom
* added a fixed width for tablet's only styles for 'tablet' snap zone.

*/

@media only screen and (max-width:767px) {
  .header-a,
  #body-c,
  .page-wrap {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-a #searchform {
    top: -17px !important;
    float: left!important;
    left: 166px!important;
    position: absolute;
  }
  .header-a #searchform input {
    padding: 4px 5px!important;
    font-size: 12px!important;
    width: 100px!important;
  }
  .header-a #searchform input.submit {
    width: 22px!important;
  }

  header nav#main > ul > li > a {
    font-size: 14px!important;
    padding-left: 6px!important;
    padding-right: 6px!important;
  }

  .header-a {
    margin-top: 10px!important;
  }

  .header .title,
  .cfct-mod-title,
  .section-title,
  h2.title,
  #ifc-blog-header h3 {
    font-size: 20px;
    font-weight: normal;
    margin: 0 0 20px 0;
  }

  .cfct-module-front-page-carousel {
    margin-bottom: 10px;
  }
  .cfct-module-front-page-carousel .homepage_slider {
    padding: 0;
    height: auto;
  }
  .cfct-module-front-page-carousel ul.slides li {
    padding: 0;
    height: auto;
  }
  .cfct-module-front-page-carousel ul.slides li .frame-image {
    overflow: hidden;
  }
  .cfct-module-front-page-carousel ul.slides li .promo_text {
    position: relative;
    right: auto!important;
    bottom: auto!important;
    max-height: auto!important;
    max-width: 100%!important;
    padding: 10px 0 0 0;
    background: #fff;
  }
  .cfct-module-front-page-carousel ul.slides li .promo_text h1 {
    font-size: 18px;
  }
  .cfct-module-front-page-carousel ul.slides li .promo_text p {
    font-size: 14px!important;
  }
  .cfct-module-front-page-carousel .thumbnail_container {
    bottom: auto;
    right: 10px;
    left: auto;
    top: 10px;
  }
  .cfct-module-front-page-carousel .flex-direction-nav {
    top: 0;
    margin-top: 33%;
  }

  .rb-post-tout img {
    width: 100%;
    margin: 0 0 10px 0;
    padding: 0;
  }

  .cfct-block-ab img {
    width: 100%!important;
    height: auto!important;
  }

  .cfct-stack-right .cfct-block,
  .cfct-block-bc,
  .cfct-block-c,
  .cfct-block-e,
  .cfct-row-a-b-c .cfct-block-b {
    padding-left: 0;
  }

  .cfct-module-col-a,
  .cfct-module-col-b,
  .cfct-module-col-c,
  .cfct-module-col-d,
  .cfct-module-col-e,
  .cfct-module-col-f {
    width: 100%!important;
    float: none!important;
    padding: 0!important;
    margin: 0 0 10px 0!important;
  }

  .cfct-block {
    margin: 0 0 0px 0;
  }

  .cfct-group-a-b > .cfct-block {
    width: 100%!important;
  }
  .cfct-group-a-b .cfct-block-b {
    margin-left: 0;
  }

  .cfct-group-a-b .cfct-block-a {
    padding-right: 0;
  }
  .cfct-group-a-b .cfct-block-b {
    padding-left: 0;
  }

  .cfct-build, .cfct-block {
    overflow: hidden;
  }

  .cfct-module {
    margin-right: 0;
    margin-left: 0;
  }

  .str-col-ab,
  .cfct-block-ab,
  #schedule-column1 {
    display: block!important;
    float: none!important;
    width: 100%!important;
    padding-left: 0!important;
  }

  .str-col-c,
  .cfct-block-c,
  #schedule-column2 {
    display: block!important;
    float: none!important;
    width: 100%!important;
    padding-left: 0!important;
  }

  .cfct-stack-left,
  .cfct-stack-right {
    display: block!important;
    float: none!important;
    width: 100%!important;
    padding-left: 0!important;
  }

  .cfct-row-a-b-c{
    margin-top: 15px;
  }

  .cfct-row-a-b-c .cfct-block-a, .cfct-row-a-b-c .cfct-block-b {
    width: 50%;
  }

  .cfct-row-a-b-c .cfct-block-b {
    padding-left: 10px;
  }

  .cfct-row-a-b-c .cfct-block-a {
    padding-right: 10px;
  }

  .cfct-row-a-b-c .rb-tout .post-title {
    margin-bottom: 15px;
    font-size: 12px;
  }

  .cfct-row-a-b-c .cfct-block-c {
    padding-top: 20px;
  }

  .cfct-row-a-b-c .rb-tout{
    min-height: 100px;
  }


  #main-body, .page-template-page-schedule-php #main {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
  }

  body.single-shows .show-tablet-header {
    display: block;
    position: relative;
    z-index: 100;
  }

  body.single-shows div#body-b {
    background-image: none!important;
  }

  body.single-shows hgroup#subheader-title {
    display: none;
  }

  body.single-shows div#subheader div.additional-info {
    position: relative;
    z-index: 300;
    left: 5px;
    padding-bottom: 0px;
    padding-top: 0px;
    font-size: 22px;
    top: 0;
    margin-left: 5px;
  }

  body.single-shows .show-title-header-tablet {
    display: block;
  }
  body.single-shows .show-title-header-tablet p {
    color: #0d6382;
    font-size: 42px;
    padding: 5px 10px 0;
    text-align: left;
    margin: 0;
  }

  body.single-shows .show-title-header-mobile {
    display: none;
  }

  body.single-shows .show-sponsors-wrapper {
    z-index: 500;
    top: -80px;
    right: 10px;
  }




/* override default series theme if an asset bundle is detected */

   body.single-shows.has-asset-bundle .show-title-header-tablet p {
    color: #fff;
    font-size: 30px;
    padding: 5px 0 15px 0;
  }


  body.single-shows.has-asset-bundle div#subheader div.additional-info {
    position: absolute;
    top: -35px;
    z-index: 300;
    left: 5px;
    padding-bottom: 0px;
    padding-top: 0px;
    font-size: 22px;
  }
  /* */










  #amc_logotrain {
    text-align: center;
    padding: 30px 20px;
    overflow: hidden;
  }
  #amc_logotrain img {
    float: none;
    width: auto;
    max-width: 100%;
    margin: 0;
  }
  #amc_logotrain .logotrain-text {
    float: none;
    text-align: center;
    width: 100%;
    margin: 0 auto 20px auto;
    border: 0;
    padding: 0;
    color: #555;
    font-size: 14px;
  }
  #amc_logotrain .logotrain-text span {
    display: block;
    text-transform: uppercase;
    margin: 0;
  }
  #amc_logotrain .logotrain-text a {
    color: #ed6400;
  }

  .rb-header-touts-carousel-ifc .slides li {
    
  }

  .rb-header-touts-carousel-ifc .slides li > div {
    overflow: visible;
  }

  .rb-header-touts-carousel-ifc .slides li .caption {

  }

  #content .amcn-module-video-hub .count_6 li {
    width: 32.6667%;
  }

  #content .amcn-module-video-hub .count_6 li:nth-child(4) {
    clear: left;
    margin-left: 0;
  }

  #content .amcn-module-sponsored-video-loop .count_6 li {
    width: 30%;
  }

  #content .amcn-module-sponsored-video-loop .count_6 li:nth-child(4) {
    clear: left;
    margin-left: 0;
  }

  body.single-videos .show-mobile-header {
    display: none;
  }

  body.single-videos .show-tablet-header {
    display: block;
  }

  body.single-videos div#body-b {
    background-image: none!important;
  }

  body.single-videos hgroup#subheader-title {
    display: none;
  }

  body.single-galleries .show-mobile-header {
    display: none;
  }

  body.single-galleries .show-tablet-header {
    display: block;
  }

  body.single-galleries div#body-b {
    background-image: none!important;
  }

  body.single-galleries hgroup#subheader-title {
    display: none;
  }

  body.single-articles .show-mobile-header {
    display: none;
  }

  body.single-articles .show-tablet-header {
    display: block;
  }

  body.single-articles div#body-b {
    background-image: none!important;
  }

  body.single-articles hgroup#subheader-title {
    display: none;
  }


  #fancybox-overlay,
  #fancybox-wrap{
    display: none !important;
  }


}




/*TABLET ONLY */
@media only screen and (min-width:768px) and (max-width:979px) {

    .home #header-promo, .page-series #header-promo{
      width: auto;
    }

    .page-wrap, #body-c{
      width:730px;
    }

    .home #body-c,
    .showtype-show #body-c{
      width: 100%;
      padding: 0;

    }

/*    header nav#main{
      display: inline-block!important;
    }*/

    .sc_quiz .img_background img{
      max-width: 300px;
    }

    #content .sc_where_to_watch #col_1 {
        width:100%;
        float:left;
        clear: left;
    }

    #content .sc_where_to_watch #col_2 {
        float:left;
        width:100%;
        text-align:right;
        margin-right: 0%;
        margin-left: 0%;
        clear: left;
    }

    #content .sc_where_to_watch #col_3 {
        float:left;
        width:100%;
        text-align:right;
        clear: left;
    }

    #content .sc_where_to_watch #col_1 h2,
    #content .sc_where_to_watch #col_2 h2,
    #content .sc_where_to_watch #col_3 h2{
      margin: 0px !important;
    }

    body.page-template-pagespage-festival-php #body-b{
      padding-top: 0px;
      background: transparent;
    }

    .page-template-pagespage-festival-php .sub-header{
      display: block;
    }

    .page-template-pagespage-festival-php .sub-header .year{
      display: none;
    }

    .page-template-pagespage-festival-php .sub-header h1{
      margin: 20px 0;
      font-size: 35px;
      line-height: 1em;
      font-weight: normal;
      text-transform: lowercase;
      color: #fff;
      font-family: 'BentonSans', Helvetica!important;
      font-weight: 300!important;
    }

    .mobile-footer-lockup{
      display: none;
    }

}



/* Phablet Only */


@media only screen and (min-width:450px) and (max-width:767px) {

    .module-group-has-3-cols .rb-tout .post-title {
    min-height: 20px;
    margin-top: 15px;
    }

    .rb-tout .post-title {
    margin-bottom: 15px;
    font-size: 26px;
    line-height: 1em;
    }

    .rb-tout {
    margin-bottom: 25px;
    }

    .str-col-ab, .cfct-block-ab, #schedule-column1 {
    display: block!important;
    float: none!important;
    width: 100%!important;
    padding-left: 0!important;
    margin-top: 20px;
    }

    #amc_logotrain{
      display: none;
    }

    .mobile-footer-lockup{
      display: block;
    }


}

@media only screen and (max-width:980px) {
  
  .row-c6-1234-56 .c6-1234{
      display: block!important;
      float: none!important;
      width: 100%!important;
      padding-left: 0!important;
  }

  .row-c6-1234-56 .c6-56{
      display: block!important;
      float: none!important;
      width: 100%!important;
      padding-left: 0!important;
  }
}