.branding-wrapper {
  width: 1080px !important;
}

@media screen and (max-width: 1080px) {
  .branding-wrapper {
    width: 100% !important;
  }
}

/* ads */
.ads-in.adFull {
  position: relative;
  display: block;
  margin: 0 auto;
  text-align: center;
  max-width: 100%;
}

.ads {
  text-align: center;
}
.ads .ads-in {
  display: inline-block;
  margin: 0 auto;
}

#Mobile-rectangle-1 {
  margin-bottom: 24px;
}

#ssp-zone-104715-branding {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 auto;
}

#ssp-zone-104715-branding.adFull {
  width: 2000px;
  height: 1400px;
}

#ssp-zone-104715-branding.adFull ~ #page {
  position: relative;
  top: 226px;
}

#leaderboard-wrapper {
  text-align: center;
}
@media only screen and (max-width: 980px) {
  #leaderboard-wrapper {
    display: none;
  }
}

#Leaderboard-1 {
  text-align: center;
  margin: 0 auto;
  position: relative;
}
#Leaderboard-1 > div:first-child {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
@media only screen and (min-width: 980px) {
  #Leaderboard-1.ads-in {
    min-height: 231px;
    min-width: 970px;
  }
}
@media only screen and (max-width: 980px) {
  #Leaderboard-1.ads-in {
    display: none;
  }
}

#smr-article {
  margin-bottom: 24px;
  display: inline-block;
}

#Rectangle480-1.ads-in {
  margin-bottom: 24px;
  display: block;
  text-align: center;
}
@media only screen and (max-width: 680px) {
  #Rectangle480-1.ads-in {
    display: none;
  }
}
#Rectangle480-1.ads-in > div {
  margin: 0 auto;
  max-width: 480px;
  max-height: 300px;
  overflow: hidden;
}
#Rectangle480-1.ads-in > div > div {
  margin: 0 auto;
  max-width: 480px;
  max-height: 300px;
  overflow: hidden;
}

#Mobile-rectangle-2 {
  display: none;
}
@media only screen and (max-width: 980px) {
  #Mobile-rectangle-2 {
    display: inline-block;
    text-align: center;
    margin: 0 auto 24px;
  }
}

#Mobile-rectangle-3,
#Mobile-rectangle-4 {
  display: none;
}
@media only screen and (max-width: 980px) {
  #Mobile-rectangle-3,
  #Mobile-rectangle-4 {
    display: block;
    text-align: center;
    margin: 0 auto 24px;
  }
  #Mobile-rectangle-3 > div,
  #Mobile-rectangle-4 > div {
    margin: 0;
  }
}

#Mobile-Leaderboard-Seznam {
  display: none;
}

.seznam-wrapper #Billboard-bottom-1 {
  margin-bottom: 24px;
}

@media only screen and (max-width: 680px) {
  .seznam-wrapper #Mobile-Leaderboard-Seznam {
    display: block;
    height: auto;
    margin-bottom: 24px;
  }
}

.mobile-ads,
.cnc-ads-mobile {
  display: none !important;
}
@media only screen and (max-width: 1080px) {
  .mobile-ads,
  .cnc-ads-mobile {
    display: block !important;
    margin: 0 auto;
    text-align: center;
  }
  .mobile-ads div,
  .cnc-ads-mobile div {
    margin: 0;
  }
}

.desktop-ads,
.cnc-ads-desktop {
  display: block !important;
}
@media only screen and (max-width: 1080px) {
  .desktop-ads,
  .cnc-ads-desktop {
    display: none !important;
  }
}

.gallery.seznam-ads #Leaderboard-1 {
  min-height: 0;
}

#HalfPageAd-1 {
  min-height: 600px;
}

#brandingCreativeWrapper {
  margin-top: 0px !important;
  transition: all 120ms;
}
#brandingCreativeWrapper.specialClassMargin {
  margin-top: 42px !important;
}
@media only screen and (max-width: 980px) {
  #brandingCreativeWrapper.specialClassMargin {
    margin-top: 0 !important;
  }
  .branding-wrapper,
  #cnc_branding_creative_wrapper {
    width: 100%;
    max-width: 100%;
  }
}

.main-container.seznam-wrapper {
  max-width: 1060px;
}
.main-container.seznam-wrapper header .container {
  padding: 0 20px;
}
@media only screen and (max-width: 980px) {
  .main-container.seznam-wrapper header .container {
    padding: 0 16px;
  }
}

.main-container.seznam-wrapper .main-article {
  margin-left: 20px;
  margin-right: 20px;
  max-width: 1060px;
}
.main-container.seznam-wrapper .articles-feed-inline,
.main-container.seznam-wrapper .category-container,
.main-container.seznam-wrapper .articles-list {
  margin-left: 20px;
  margin-right: 20px;
}
.main-container.seznam-wrapper .article-detail {
  padding-left: 20px;
  padding-right: 20px;
}
.main-container.seznam-wrapper #tags {
  max-width: 1020px;
}
.main-container.seznam-wrapper footer .container {
  max-width: 1060px;
  padding: 54px 20px 52px;
}

#ssp-zone-69386-branding {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 auto;
}
/* definice vlastností třídy adFull, která se elementu s brandingem přiřadí v okamžiku, kdy je do něj úspěšně vykreslena reklama; určuje šířku (2000 px) a výšku (1400 px) elementu s brandingem */
#ssp-zone-69386-branding.adFull {
  width: 2000px;
  height: 1400px;
}
/* příklad definice odsazení těla stránky (předpokládáme umístění v elementu div#page) o 226 px od horního okraje po vykreslení brandingu */
#ssp-zone-69386-branding.adFull ~ #maincontainerlifee {
  position: relative;
  top: 0;
  margin-top: -10px;
}

.ads .ads-in,
.cnc-ads .ads-in {
  display: inline-block;
  margin: 0 auto;
}

@media screen and (max-width: 1060px) {
  .main-container.seznam-wrapper {
    max-width: 100%;
  }
}

.single-irongallery .cnc-ads__within:before,
.single-irongallery .cnc-ads:before {
  color: #ffffff !important;
  z-index: 1;
}

.single-irongallery .cnc-ads__within {
  background-color: #272727 !important;
}

.single-irongallery-desktop {
  max-width: 100%;
  overflow: hidden;
}

.single-irongallery .cnc-ads {
  background-color: #272727 !important;
}
