/*
VARIABLES

$base-font: Main font family.
$base-font-size: Main font size
$fontsize-f3-cta: CTA (button font size)
$fontsize-f3-mid: End frame (non button) base font size
$fontsize-f3-mid: End frame (non button) base font size
$logo-width: Width of the logo.
$content-pad: The base padding for all content.
$full-width: The size of the layout coordinate plane.  Derived from the actual ad width.
$full-height: The size of the layout coordinate plane.  Derived from the actual ad height.
$base-color: Primary foreground color.

$endframe-layout: Flex direction of end frame.
 * 'row' : Generally used for horizontal ads.
 * 'column': Standard system to slot content into a column.
 $logo-pos: Logo position.
 * 'centered': vertically centered
 * '*': top ($content-pad), left ($content-pad)

 */
/*  
MIXINS
 */
/*
AD CONTAINER STUFF
 */
#background_exit_ad {
  background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7") 0 0 repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  cursor: pointer;
  z-index: 400;
  border: none;
}

#reloader {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 15px;
  height: 15px;
  z-index: 500;
  opacity: 0;
}
#reloader .restarter {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 15px;
  height: 15px;
}

/*
General helpers
 */
sup {
  vertical-align: text-top;
  font-size: 0.5em;
  line-height: 1em;
}

.textbox-price {
  display: inline-block;
  position: relative;
}

*,
*:after,
*:before {
  box-sizing: border-box;
}

.showing {
  opacity: 1 !important;
}

.ad-container {
  margin: 0px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.1em;
}
.ad-container,
.ad-container button,
.ad-container td {
  font-family: wf_gdsage-bold;
  font-weight: 400;
  font-size: 10px;
  color: #111111;
}

.logo {
  transform: scale(1.2);
  position: absolute !important;
  left: 10px;
  top: 10px;
  right: auto;
  bottom: auto;
  width: 60px;
  height: 13.2px;
  opacity: 1;
  z-index: 100;
  top: 25px;
  margin-top: -6.6px;
}
.logo #gd_logo {
  fill: #111111;
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
}
.logo #gd_logo path {
  opacity: 0;
}

/* Attempt at putting a border for white background using a flag   */
.ad-container {
  border: none;
}

/*
  FRAME SETUP
   */
.ad-container {
  width: 300px;
  height: 50px;
  overflow: hidden;
  position: absolute;
  top: 0px;
  left: 0px;
  opacity: 0;
}

.ad-content {
  opacity: 0;
}
.ad-content.showing {
  opacity: 1;
}

/*
SETUP
 */
.frame-container {
  top: 0px;
  left: 0px;
  width: 300px;
  height: 50px;
}
.frame-container .frame {
  top: 0px;
  left: 0px;
  width: 300px;
  height: 50px;
  overflow: hidden;
  opacity: 1;
  font-kerning: none;
}
.frame-container .frame .textholder {
  display: flex;
  align-items: center;
}
.frame-container .frame .v5frame {
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 300px;
  height: 50px;
  opacity: 0;
  background: #111111;
  color: #FFFFFF;
}
.frame-container .frame .v5frame.reversed {
  background: #D3D3D3;
  color: #111111;
}
.frame-container .frame .imgframe {
  position: absolute;
  background-repeat: no-repeat;
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 300px;
  height: 50px;
}
.frame-container .frame .imgframe.svg {
  padding: 5px;
  display: flex;
}
.frame-container .frame .imgframe.svg svg {
  width: 100%;
  max-height: 100%;
}
.frame-container.background {
  top: 0px;
  left: 0px;
  width: 300px;
  height: 50px;
}
.frame-container.foreground {
  top: 0px;
  left: 0px;
  width: 300px;
  height: 50px;
}
.frame-container.foreground .textholder {
  width: 280px;
  line-height: 1.1em;
}
.frame-container.foreground .textholder .text span {
  position: relative;
  white-space: nowrap;
}
.frame-container.foreground .textholder .text span:last-child {
  margin-right: 0;
}
.frame-container.foreground .textholder .text span.supered {
  padding-right: 0.26em;
}
.frame-container.foreground .frame {
  position: absolute;
}
.frame-container.foreground .frame-1 {
  display: flex;
  flex: 1;
  z-index: 50;
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 300px;
  height: 50px;
  line-height: 1.1em;
  font-size: 13px;
  flex-direction: row;
  justify-content: center;
}
.frame-container.foreground .frame-2 {
  font-size: 24px;
}
.frame-container.foreground .frame-end {
  position: absolute;
  z-index: 50;
  color: #FFFFFF;
}
.frame-container.foreground .frame-end .content {
  /*  Absolutely positioned since some of the layouts need to go edge to edge. */
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 300px;
  height: 50px;
  display: flex;
  line-height: 1.1em;
  font-size: 10px;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px;
  padding-top: 0px;
  padding-bottom: 0px;
}
.frame-container.foreground .frame-end .content .textbox-headline {
  font-size: 1.35em;
  line-height: 1.1em;
}
.frame-container.foreground .frame-end .content .cta-block {
  align-self: center;
}
.frame-container.foreground .frame-end .text-block {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}
.frame-container.foreground .frame-end .cta-block {
  align-items: center;
}
.frame-container.foreground .frame-end .cta-block .button-wrapper button {
  padding: 0.5em 1em;
  width: auto;
  max-width: 100%;
  background: #FFFFFF;
  color: #111111;
  border: none;
  font-size: 9px;
  border-radius: 0.4em;
  background: #111111;
  color: #D3D3D3;
}

.frame-container .frame .v5frame {
  /*
  z-index: 20;
   */
}

.frame-container.foreground .frame-1 .textholder .text {
  font-family: wf_gdsage-bold;
}

.frame-container.foreground .frame-2 .textholder .text {
  font-family: wf_gd_sherpa_semibold;
}

.frame-container.foreground .frame-end .content .textbox-headline {
  font-family: wf_gd_sherpa_medium;
}

.frame-container.foreground .frame-end .content .textbox-headline {
  font-family: wf_gd_sherpa_medium;
}

.frame-container.foreground .frame-end .content .textbox-subtext {
  font-family: wf_gd_sherpa_semibold;
}

.frame-container.foreground .frame-end .content .textbox-price {
  font-family: wf_gdsage-bold;
}

.frame-container.foreground .frame-end .content .textbox-descriptor {
  font-family: wf_gd_sherpa_semibold;
}

.frame-container.foreground .frame-end .cta-block .button-wrapper button {
  font-family: wf_gd_sherpa_semibold;
}

.frame-container.foreground .frame-end .content .price-block {
  display: none;
}

.textbox-subtext {
  display: none;
}

.textbox-headline span span {
  font-size: 0.5em;
  line-height: 0.5em;
  position: relative;
  top: -0.8em;
}

.ad-content .frame-container.foreground .frame-end .content .textbox-headline {
  font-size: 13px;
  line-height: 1.1em;
}
.frame-container.foreground .frame-end .disclaimer {
  margin-top: 6px;
  font-size: 12px;
  font-family: wf_gdsage-bold;
  line-height: 14px;
}
.frame-container.foreground .frame-end .priceoffer {
  display: initial !important;
}

.frame-2 {
  display: initial;
}

.frame-container.foreground .frame-end .has-domain-search .text-block {
  justify-content: space-between;
}
.frame-container.foreground .frame-end .has-domain-search .domain-search-input {
  margin-top: 6px;
  display: flex;
}
.frame-container.foreground .frame-end .has-domain-search .domain-search-input input[type=text] {
  border: 1px solid black(0.5);
  height: 36px;
  width: 63%;
  margin: 0px;
  padding: 6px 6px;
  font-size: 12px;
}
.frame-container.foreground .frame-end .has-domain-search .domain-search-input button {
  margin: 0px;
  height: 36px;
  color: #111111;
  background: #FFFFFF;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  width: 33%;
  margin-left: 4%;
  font-family: wf_gdsage-bold;
  font-size: 14px;
}
.frame-container.foreground .frame-end .has-domain-search .disclaimer {
  font-size: 12px;
  font-family: wf_gdsage-bold;
  line-height: 14px;
  margin-top: 0;
  margin-bottom: 0;
}
.frame-container.foreground .frame-end .has-domain-search h5 {
  margin-top: 13px;
  margin-bottom: 7px;
  font-family: wf_gdsage-bold;
  font-size: 16px;
  line-height: 18px;
  font-weight: normal !important;
}
.frame-container.foreground .frame-end .has-domain-search .domainshort {
  display: flex;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  align-items: center;
  margin-left: 13px;
}
.frame-container.foreground .frame-end .has-domain-search .domain {
  display: flex;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  align-items: center;
}
.frame-container.foreground .frame-end .has-domain-search .domain a {
  margin-left: auto;
}
.frame-container.foreground .frame-end .has-domain-search .domain button {
  height: 28px;
  color: #111111;
  background: #FFFFFF;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  width: 25%;
  font-family: wf_gdsage-bold;
  font-size: 12px;
  margin-left: auto;
  padding-top: 6px;
  padding-bottom: 6px;
  width: 80px;
}
.frame-container.foreground .frame-end .has-domain-search .domain h3 {
  font-family: wf_gdsage-bold;
  color: #FFFFFF;
  font-size: 18px;
  line-height: 20px;
  margin: 0px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#searchMore {
  display: none;
}

.p_logo-wrapper {
  display: none;
}

.frame-container.foreground .frame-2 {
  display: initial;
}

.frame-container.foreground .textholder {
  margin-top: 7px;
  margin-left: 110px;
}

.frame-container.foreground .textholder {
  left: 36px;
  width: 178px;
  line-height: 1.1em;
}

.frame-container.foreground .frame-end .content {
  display: flex;
  position: absolute;
  top: 0px;
  left: 100px;
  width: 201px;
  height: 50px;
}

.frame-container.foreground .textholder {
  margin-top: 10px;
}

.frame-container.foreground .frame-end .content .price-block {
  margin-top: 0.3em;
  display: none;
}

.frame-container.foreground .frame-end .content .textbox-subtext {
  display: none;
}

.frame-container.foreground .frame-1 .textholder .text {
  font-family: wf_gd_sherpa_semibold;
}

.frame-container.foreground .frame-end .content .textbox-headline {
  display: initial;
}

.frame-container.foreground .frame-end .content .text-block .textbox-headline {
  font-family: wf_gd_sherpa_semibold;
}

.frame-container.foreground .frame-end .content .cta-block {
  margin-top: 8px;
}

.frame-container.foreground .frame-end .disclaimer {
  font-size: 6.5px;
  text-align: right;
  margin-top: 2px;
  font-family: wf_gd_sherpa_semibold;
  line-height: 8px;
}

.frame-container.foreground .frame-2 .textholder .text {
  display: none;
}

.logo {
  right: 28px;
  bottom: 26px;
  width: 70px;
  height: 18px;
  opacity: 1;
  z-index: 100;
  top: 22px;
  left: 14px;
}

.frame-container.foreground .textholder {
  margin-top: 7px;
  margin-left: 110px;
}

.frame-container.foreground .textholder {
  left: 36px;
  width: 178px;
  line-height: 1.1em;
}

.frame-container.foreground .frame-end .content {
  display: flex;
  position: absolute;
  top: 0px;
  left: 100px;
  width: 200px;
  height: 50px;
}

.frame-container.foreground .textholder {
  margin-top: 10px;
}

.frame-container.foreground .frame-1 .textholder .text {
  font-family: wf_gd_sherpa_semibold;
}

.frame-container.foreground .frame-end .content .price-block {
  margin-top: 0.3em;
  display: none;
}

.frame-container.foreground .frame-end .content .textbox-subtext {
  display: none;
}

.frame-container.foreground .frame-end .content .textbox-headline {
  display: initial;
}

.frame-container.foreground .frame-end .content .text-block .textbox-headline {
  font-family: wf_gd_sherpa_semibold;
}

.frame-container.foreground .frame-end .content .cta-block {
  margin-top: 2px;
}

.frame-container.foreground .frame-end .disclaimer {
  font-size: 6.5px;
  text-align: center;
  margin-top: 2px;
  font-family: wf_gd_sherpa_semibold;
  line-height: 8px;
}

.frame-container.foreground .frame-2 .textholder .text {
  display: none;
}

.logo {
  right: 28px;
  bottom: 26px;
  width: 70px;
  height: 18px;
  opacity: 1;
  z-index: 100;
  top: 23px;
  left: 17px;
}

.frame-container .imgframe.imgframe-1 {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.texture-1 {
  background-repeat: no-repeat;
}

.frame-container.foreground .frame-end.frame .cta-block .button-wrapper button {
  color: #FFFFFF;
  background-color: #111111;
}

.texture-1 {
  margin-left: -7px;
  position: absolute;
  left: 150px;
  width: 33px;
  height: 39px;
  transform: rotate(-18deg);
}

.frame-container.foreground .frame-1 .textholder {
  height: 100%;
  margin: 0;
  color: #ffffff;
}
.frame-container.foreground .frame-1 .textholder .text {
  position: relative;
  margin-left: 10px;
  margin-top: 4px;
}
.frame-container.foreground .frame-1 .textholder .text > span:nth-child(3)::after {
  content: " ";
  display: block;
}
.frame-container.foreground .frame-1 .logo {
  left: unset;
  right: 17px;
  top: 28px;
  height: 19px;
  width: 65px;
}

.frame-container.foreground .frame-1.frame .textholder .line1.text > span > div {
  font-size: 5px;
  font-family: wf_gd_sherpa_semibold;
  line-height: 1;
  position: absolute;
}

.frame-container.foreground .frame-end.frame .content {
  left: 0;
}
.frame-container.foreground .frame-end.frame .content .text-block .textbox-headline {
  margin-top: 4px;
}
.frame-container.foreground .frame-end.frame .content .cta-block .button-wrapper button {
  font-size: 10px;
  background-color: #ffffff;
  color: #111111;
}
.frame-container.foreground .frame-end.frame .content .button-wrapper {
  position: relative;
}
.frame-container.foreground .frame-end.frame .content .cta-block {
  margin: 0 0px 0 0;
  height: 100%;
  display: flex;
  align-items: center;
}
.frame-container.foreground .frame-end.frame .disclaimer {
  position: absolute;
  width: 100%;
}
.frame-container.foreground .frame-end.frame .content .textbox-headline span:nth-child(5) span {
  top: auto;
  font-size: inherit;
  line-height: inherit;
  position: static;
}
.frame-container.foreground .frame-end.frame .content .textbox-headline span:nth-child(6) span {
  top: auto;
  font-size: inherit;
  line-height: inherit;
  position: static;
}