.tpo_ad {
  text-align: center;
  margin: 20px auto;
  overflow: hidden;
}
.tpo_ad:empty {
  display: none;
}


.tpo_ad[data-size="leaderboard"] {
  width: 100%;
  height: auto;
}
@media only screen and (min-width: 758px) {
  .tpo_ad[data-size="leaderboard"] {
    width: 728px;
    height: 90px;
  }
}

.tpo_ad[data-size="banner"] {
  width: 100%;
  height: auto;
}
@media only screen and (min-width: 498px) {
  .tpo_ad[data-size="banner"] {
    width: 468px;
    height: 60px;
  }
}

.tpo_ad[data-size="halfpage"] {
  width: 100%;
  height: auto;
}
@media only screen and (min-width: 330px) {
  .tpo_ad[data-size="halfpage"] {
    width: 300px;
    height: 600px;
  }
}

.tpo_ad[data-size="rectangle"] {
  width: 100%;
  height: auto;
}
@media only screen and (min-width: 330px) {
  .tpo_ad[data-size="rectangle"] {
    width: 300px;
    height: 250px;
  }
}

.tpo_ad[data-size="billboard"] {
  width: 100%;
  height: auto;
  margin: -30px auto 20px auto;
}
@media only screen and (min-width: 1000px) {
  .tpo_ad[data-size="billboard"] {
    width: 970px;
    height: 250px;
    margin: 20px auto 20px auto;
  }
}

.tpo_ad video,
.tpo_ad img {
    width: 100%;
}

/* Normal Ad Size */ 
.tpo_ad .tpo-ad-image {
  display:none;
}
@media only screen and (min-width: 446px) {
  .tpo_ad .tpo-ad-image { 
    display: block; 
  }
}
/* Mobile Ad Size */ 
.tpo_ad .tpo-ad-image-mobile {
  display:none;
}
@media only screen and (max-width: 445px) {
  .tpo_ad .tpo-ad-image-mobile { 
    display: block; 
  }
}
@media only screen and (max-width: 991px){
  .tpo_ad[data-position="super"]{
    margin-top: 40px;
  }
}

.tpo_ad[data-position="side"]
{
  width:100%;
}
