/* DFP */

.desktop_mixed_leaderboard {
  min-height: 90px;
  margin: 20px auto 0 auto;
  text-align: center;
}

/** Mobile adhesion **/
.mobile_leaderboard {
  margin: 5px auto 5px auto;
  text-align: center;
}

.mobile_mixed_rectangle {
  display: none;
}

.mobile_rectangle {
  display: none;
}

.single-galleries .mobile_leaderboard {
  margin: 45px auto 10px auto;
  padding: 0;
}

@media (max-width: 768px) {
  .desktop_mixed_leaderboard {
    display: none;
  }
  .mobile_mixed_rectangle {
    display: block;
  }
  .mobile_rectangle {
    display: block;
    width: 300px;
    margin: 0 auto;
  }
}

@media (min-width: 768px) {
  .desktop_mixed_leaderboard {
    display: block;
  }
  .mobile_leaderboard, .mobile_mixed_rectangle {
    display: none;
  }
}


/* iPad Retina, landscape */
@media only screen and (min-width:768px) and (max-width:1024px) and (orientation:landscape) {
/*  .desktop_mixed_leaderboard {
    display: block;
  }*/
}

/* iPad Retina, portrait */
@media only screen and (max-width:768px) and (orientation:portrait){
/*  .desktop_mixed_leaderboard {
    display: block;
  }*/
}

/** Mobile MedRec 300x250 ad **/
.mobile_mixed_rectangle {
  width: 100% !important;
  text-align: center !important;
}

/** Mixed rec 300x250, 300x600 **/
#div-gpt-ad-1453737959964-0, #div-gpt-ad-1453737959964-1 {
  text-align: center !important;
}

.ad-half-impact {
  text-align: center;
  width: 450px;
  height: 540px;
  margin: 0 auto 20px auto;
}

.ad-full-impact {
  text-align: center;
  width: 900px;
  height: 540px;
  margin: 0 auto;
}

#footerTop {
  width: 100%;
  float: left;
}

.galleries-leaderboard-wrapper {
  text-align: center;
  width: 728px;
  height: 90px;
  margin: 20px auto;
}

.footer-leaderboard-wrapper {
  text-align: center;
  width: 728px;
  margin: 0 auto;
  padding: 20px 0;
}

.footer-leaderboard {
  position: relative;
}

.close-interstitial {
  display: none !important;
}

/* Mobile */

@media only screen and (max-width: 728px) {
  .footer-leaderboard-wrapper {
    width: auto;
  }
  .galleries-leaderboard-wrapper {
    margin: 0 auto;
    width: 300px;
    height: 50px;
  }
  .galleries-leaderboard-wrapper > .leaderboard {
    height: 50px;
    width: 300px;
  }
}

@media only screen and (max-width: 900px) {
  .ad-full-impact {
    text-align: center;
    width: 300px;
    height: auto;
    margin: 0 auto;
  }
}

@media only screen and (min-width: 300px) and (max-width: 600px) {
  .closeButton {
    position: absolute;
    top: 0;
    right: 246px;
  }
  .single-article {
    margin-left: 20px;
  }
  .ad-half-impact {
    text-align: center;
    width: 300px;
    height: 360px;
    margin: 0 auto 3 0px auto;
    padding: 0;
  }
  /* Zurvu on the front page and NYC removed for mobile */
  #display-wide {
    display: none;
  }
  #display-mobile {
    display: inline;
  }

  .footer-leaderboard-wrapper {
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    padding: 0;
  }
  .all-rights-reserved {
    padding-bottom: 50px;
  }
  .footer-leaderboard {
    width: 300px;
    margin: 0 auto;
    text-align: center;
    z-index: 99999;
  }
  .close-interstitial {
    display: block !important;
    color: grey !important;
    top: -28px !important;
    right: -15px !important;
    position: absolute;
  }
  /* Zurvu on the front page and NYC removed for mobile */
  #display-wide {
    display: none;
  }
  #display-mobile {
    display: inline;
  }
  .single-article p {
    font-size: 18px;
    line-height: 22px;
    letter-spacing: .02em;
    padding: 5px 0 10px;
    font-family: "Times Regular";
  }
  .single-article {
    width: 100%;
    margin-left: -10px;
  }
  .galleryImgPrev span {
    width: 40%;
    text-align: center;
    margin-left: 33px;
  }
}

@media only screen and (max-width: 400px) {
  .footer-leaderboard-wrapper-hidden {
    display: none !important;
  }
  .title_top_wo_padding {
    padding-left: 10px;
  }
}
