/* This is the main css module which covers all sizes of the banners */

/* NOTE: Make all your rules, at least, children of your parent element to avoid CSS rules cross-contamination */

/* TODO: Consider using a CSS pre-compiler even if it is only to have variables for shared values: e.g. colours */

banner-ad {
  font-family: 'market-sans-regular', Helvetica, Arial, sans-serif;
}

banner-ad section {
  height: 100%;
  width: 100%;
}

banner-ad #click-tag {
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 3;
}

/* ---- Logo ---- */
banner-ad #logo-click {
  position: absolute;
  z-index: 4;
}

/* ---- CTA ---- */
banner-ad #cta {
  font-size: 12px;
  line-height: 14px;
  cursor: pointer;
  font-family: "market-sans-regular", arial, helvetica, sans-serif;
  font-weight: 200;
  position: absolute;
  text-align: left;
  z-index: 4;
  -webkit-transition: all 500ms cubic-bezier(0.39, 0.5, 0.15, 1.36);
  transition: all 500ms cubic-bezier(0.39, 0.5, 0.15, 1.36)
}

banner-ad #cta-container {
  z-index: 4;
  position: absolute;
}

banner-ad #cta-body {
  display: table;
  padding: 7px 8px;
  position: relative;
}

banner-ad #cta-text {
  white-space: nowrap;
  display: table-cell;
  vertical-align: middle;
  width: auto;
  min-width: 40px;
}

banner-ad #cta svg {
  display: inline-block;
  height: 8px;
  width: 12px;
  position: relative;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  stroke-width: 1;
  margin-left: 5px;
  fill: none;
  stroke-miterlimit: 0;
  stroke-width: 2px;
}

banner-ad #cta-arrow-v-align {
  display: table-cell;
  vertical-align: middle;
  width: auto;
}

banner-ad #cta:hover {
  -webkit-transition: all 500ms cubic-bezier(0.39, 0.5, 0.15, 1.36);
  transition: all 500ms cubic-bezier(0.39, 0.5, 0.15, 1.36)
}

/* ---- Global Copy Style ---- */
banner-ad .title,
banner-ad .subline {
  font-family: 'market-sans-bold', Helvetica, Arial, sans-serif;
}

/* ---- Frame 1 ---- */
banner-ad #frame-1 {
  position: absolute;
  top: 0;
}

banner-ad #fr1-headline-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

banner-ad #headline-1,
banner-ad #headline-2,
banner-ad #headline-3,
banner-ad #headline-4,
banner-ad #headline-5 {
  text-align: left;
  position: absolute;
}

/* ---- Images ---- */
banner-ad #img-1,
banner-ad #img-2,
banner-ad #img-3,
banner-ad #img-4,
banner-ad #img-5 {
  position: absolute;
  z-index: 1;
}
