/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/poppins/v21/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --dark-blue: rgb(17, 28, 41);
  --bright-grey: rgb(237, 239, 239);
  --original-blue: rgb(60, 76, 173);
  --electric-blue: rgb(132, 243, 255);
  --teal: rgb(97, 130, 148);
  --yellow: rgb(252, 252, 126);
  --white: rgb(255, 255, 255);

  --body-background-color: rgb(255, 255, 255);

  --text-box-color: rgb(149, 149, 149);
  --latest-box-color: rgb(245, 245, 245);

  --clicklayer-color: var(--bright-grey);
  --clicklayer-hover-color: rgb(201, 207, 207);
  --overlay-background: rgba(97, 130, 148, 0.3);
}

body,
html {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--teal);
  background-color: var(--body-background-color);
  font-size: 14px;
  margin: 0px;
  padding: 0px;
}

.adunit {
  position: relative;
  padding: 0px;
  margin: 0px;
  cursor: pointer;
  overflow: hidden;
  display: inline-block;
  background-color: transparent;
  position: relative;
  border: 0pt none;
}

#adunit-leaderboard {
  width: 100%;
  height: 180px;
}

#adunit-incontent {
  width: 100%;
  height: 600px;
}

#adunit-inline {
  width: 100%;
  height: 180px;
}

#adunit-out-of-page-top {
  position: fixed;
  width: 1px;
  height: 1px;
  margin: 0px;
  padding: 0px;
  z-index: 1000;
}

body.show-mobile #adunit-out-of-page-top {
  position: absolute;
}

.qrcode-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 120px;
  height: auto;
  padding: 10px 5px 5px 5px;
  margin: 10px;

  font-size: 12px;

  background-color: var(--white);
  border-radius: 10%;
  text-align: center;
  color: var(--dark-blue);
  border: 2px solid var(--dark-blue);
}

#mobile-view-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 120px;
  height: auto;
  padding: 7px;
  padding-bottom: 16px;
  margin: 10px;
  cursor: pointer;

  font-size: 12px;

  background-color: var(--white);
  border-radius: 10%;
  text-align: center;
  color: var(--dark-blue);
  border: 2px solid var(--dark-blue);
}

#mobile-view-toggle > div.image {
  width: 100%;
  height: 104px;
  margin: 0px;
  padding: 0px;
  margin-top: 5px;
  background-image: url('../assets/icon-mobile.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

#mobile-view-toggle span {
  display: block;
}

#mobile-view-toggle span.mobile {
  display: none;
}

body.show-mobile #mobile-view-toggle span.mobile {
  display: block;
}

body.show-mobile #mobile-view-toggle span.desktop {
  display: none;
}

.hidden {
  display: none;
}

#main-content {
  width: 970px;
  position: relative;
  margin: auto;
  background-color: transparent;
}

#adnm-iphone,
#adnm-iphone-viewport,
#adnm-iphone-scrollbar-handler {
  width: 100%;
  height: 100%;
}

#adnm-iphone,
#adnm-iphone-viewport,
#adnm-iphone-scrollbar-handler {
  position: absolute;
  top: 0px;
  left: 0px;
}

#adnm-iphone-viewport {
  visibility: hidden;
}
body:not(.show-mobile) #adnm-iphone-viewport {
  position: fixed;
}

.article_small {
  display: inline-block;
  box-sizing: border-box;
  margin-left: 10px;
  margin-top: 20px;
  width: 30.5%;
}

.article_medium {
  display: inline-block;
  box-sizing: border-box;
  margin-top: 20px;
  margin-left: 10px;
  width: calc(45.75% + 10px);
}

.article_big {
  display: inline-block;
  box-sizing: border-box;
  margin-top: 20px;
  margin-left: 10px;
  width: calc(91.5% + 30px);
}

.image_big {
  width: 100%;
  height: 290px;
  background-color: var(--text-box-color);
}

.image_medium {
  width: 100%;
  height: 138px;
  background-color: var(--text-box-color);
}

.image_small {
  width: 100%;
  height: 174px;
  background-color: var(--text-box-color);
}

.text_small1,
.text_medium1,
.text_big1,
.text_right1 {
  width: 85%;
  height: 10px;
  background-color: var(--text-box-color);
  margin-bottom: 10px;
  margin-top: 10px;
}

.text_small2,
.text_medium2,
.text_big2,
.text_right2 {
  width: 55%;
  height: 10px;
  background-color: var(--text-box-color);
  margin-bottom: 10px;
}

.text_small3,
.text_medium3,
.text_big3 {
  width: 65%;
  height: 10px;
  background-color: var(--text-box-color);
  margin-bottom: 10px;
}

.left-column,
.right-column {
  display: inline-block;
  vertical-align: top;
  margin-top: 20px;
  width: 70%;
}

.right-column {
  width: 29%;
}

#latest {
  width: 100%;
  margin-top: 20px;
  background-color: var(--latest-box-color);
}

.top {
  height: 45px;
  background-color: var(--text-box-color);
}

.short_article {
  padding: 17px 17px 5px 17px;
  border-bottom: 1px dotted var(--text-box-color);
}

.clicklayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--clicklayer-color);
  overflow: hidden;
  padding: 0px;
  margin: 0px;
  text-align: center;
  vertical-align: middle;
  box-sizing: border-box;
  border: 1px dashed #618294;
}

.clicklayer:hover {
  background-color: var(--clicklayer-hover-color);
}

.clicklayer .adunitid-footer {
  position: relative;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: left;
  font-size: 0.8em;
}

.clicklayer *,
.qrcode-container * {
  pointer-events: none;
}

.clicklayer h1 {
  margin-block-end: 0.1em;
}

body > .mobile-background {
  opacity: 0;
  transition: opacity 3s;
}

@keyframes zoom-mobile-background {
  0% {
    background-size: 100% 100%;
  }

  100% {
    background-size: 102% 102%;
  }
}

@media only screen and (max-width: 600px) {
  #main-content {
    width: 100%;
  }

  #adunit-leaderboard {
    width: 100%;
    height: 90px;
  }

  #adunit-incontent {
    width: 100%;
    height: 250px;
  }

  #adunit-inline {
    width: 100%;
    height: 320px;
  }

  #mobile-view-toggle,
  .qrcode-container {
    display: none;
  }

  .article_big,
  .article_small {
    display: none !important;
  }

  .image_medium {
    width: 100%;
    height: 138px;
    background-color: var(--text-box-color);
    margin: auto;
  }

  .article_medium {
    display: inline-block;
    width: 100%;
    margin: auto;
    margin-top: -6px;
    padding-top: 20px;
    padding-bottom: 15px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    background-color: white;
  }

  .left-column,
  .right-column {
    display: block;
    width: 100%;
    margin: auto;
    margin-bottom: 20px;
  }

  #latest {
    width: 90%;
    margin: auto;
    margin-top: 20px;
  }
}

body.show-mobile {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body.show-mobile > .mobile-background {
  display: block;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: fixed;
  margin: 0px;
  padding: 0px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: zoom-mobile-background 120s infinite alternate linear;
  opacity: 1;
  transition: opacity 3s;
}

body.show-mobile #main-content {
  width: 100%;
}

body.show-mobile #adunit-leaderboard {
  width: 100%;
  height: 90px;
}

body.show-mobile #adunit-incontent {
  width: 100%;
  height: 250px;
}

body.show-mobile #adunit-inline {
  width: 100%;
  height: 320px;
}

body.show-mobile #mobile-view-toggle > div.image {
  background-image: url('../assets/icon-desktop.png');
}

body.show-mobile .article_big,
body.show-mobile .article_small {
  display: none !important;
}

body.show-mobile .left-column,
body.show-mobile .right-column {
  display: block;
  width: 100%;
  margin: auto;
  margin-bottom: 20px;
}

body.show-mobile .image_medium {
  width: 100%;
  height: 138px;
  background-color: var(--text-box-color);
  margin: auto;
}

body.show-mobile .article_medium {
  display: inline-block;
  width: 100%;
  margin: auto;
  margin-top: -6px;
  padding-top: 20px;
  padding-bottom: 15px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  background-color: white;
}

body.show-mobile #latest {
  width: 90%;
  margin: auto;
  margin-top: 20px;
}

body.show-mobile #adnm-iphone {
  position: absolute;
  float: left;
  width: 442px;
  height: 890px;
  margin: 0 auto;
  background-image: url('../assets/iphone-frame.png');
  background-repeat: no-repeat;
  background-size: contain;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -45%);
  transform: translate(-50%, -50%);
}

body.show-mobile #adnm-iphone-top {
  background-image: url('../assets/iphone-browser-top.png');
  background-repeat: no-repeat;
  background-size: cover;
  width: 396px;
  height: 98px;
  left: 23px;
  top: 17px;
  position: absolute;
  border-top-right-radius: 53px;
  border-top-left-radius: 53px;
  z-index: 10;
}

body.show-mobile #adnm-iphone-bottom {
  background-image: url('../assets/iphone-browser-bottom.png');
  background-repeat: no-repeat;
  background-size: cover;
  width: 396px;
  height: 80px;
  left: 23px;
  bottom: 22px;
  position: absolute;
  border-bottom-right-radius: 53px;
  border-bottom-left-radius: 53px;
}

body.show-mobile #adnm-iphone::after {
  content: '';
  background-image: url('../assets/iphone-top.png');
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  width: 208px;
  height: 60px;
  left: 117px;
  z-index: 11;
}

body.show-mobile #adnm-iphone-viewport,
body.show-mobile #adnm-iphone-scrollbar-handler {
  position: absolute;
  top: 115px;
  left: 23px;
  width: 396px;
  height: 673px;
  overflow: hidden;
  clip: rect(auto, auto, auto, auto);
}

body.show-mobile #adnm-iphone-scrollbar-handler {
  overflow: unset;
  overflow-x: hidden;
  scrollbar-width: none;
}

#adnm-iphone-screen {
  background-color: var(--body-background-color);
}

body.show-mobile #adnm-iphone-screen {
  overflow-y: auto;
  overflow-x: hidden;
  /* Fix for safari transparent background. Makes it so the element is treated as a composite layer */
  will-change: opacity;
}

div.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-background);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
  pointer-events: none;
}

#notFoundOverlay .creative404-dialog {
  position: relative;
  width: 60%;
  height: 60%;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 20px;
  background: var(--body-background-color);
  padding: 20px;
  box-shadow: 0 0 10px var(--dark-blue);
  pointer-events: auto;
  border: 1px solid var(--dark-blue);
}

#notFoundOverlay .creative404-dialog .dialogTextBottom {
  margin-top: 20px;
  padding: 10px;
  color: var(--dark-blue);
  width: 80%;
  max-width: 350px;
  height: 2em;
  font-size: 1.5em;
  text-align: center;
}

#notFoundOverlay .creative404-dialog .dialogCloseButton {
  position: absolute;
  top: 40px;
  right: 40px;
  color: var(--dark-blue);
  background-color: var(--bright-grey);
  width: 40px;
  height: 40px;
  margin: 0px;
  padding: 0px;
  border: 1px solid var(--dark-blue);
  border-radius: 50%;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
}

#notFoundOverlay .creative404-dialog .dialogCloseButton:hover {
  background-color: var(--teal);
  color: var(--bright-grey);
}

#notFoundOverlay #not-found-creative {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: transparent;
  padding: 0px;
  border: 0px;
  pointer-events: auto;
}

@media only screen and (max-width: 600px) {
  #notFoundOverlay .creative404-dialog {
    box-sizing: border-box;
    width: 95%;
    height: 95%;
    display: none;
    margin: 0px;
    padding: 10px;
    pointer-events: auto;
  }

  #notFoundOverlay .creative404-dialog .dialogTextBottom {
    margin-top: 0px;
    padding: 10px;
    width: 80%;
    max-width: 350px;
    height: 1em;
    font-size: 1em;
  }

  #notFoundOverlay .creative404-dialog .dialogCloseButton {
    top: 40px;
    right: 40px;
    width: 40px;
    height: 40px;
  }

  #notFoundOverlay #not-found-creative {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 0px;
    border: 0px;
  }
}

#loadingOverlay .spinner-dialog {
  width: 350px;
  height: auto;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: var(--body-background-color);
  padding: 20px;
  box-shadow: 0 0 10px var(--dark-blue);
  pointer-events: auto;
  border: 1px solid var(--dark-blue);
}

@media only screen and (max-width: 600px) {
  #loadingOverlay .spinner-dialog {
    box-sizing: border-box;
    width: 95%;
    height: 60%;
  }
}

#loadingOverlay .dialogTextBottom {
  margin-top: 20px;
  padding: 10px;
  color: var(--dark-blue);
  width: 80%;
  max-width: 350px;
  height: 1em;
  text-align: center;
}

#loadingOverlay .dialogTextTop {
  margin-bottom: 20px;
  padding: 10px;
  color: var(--dark-blue);
  width: 80%;
  max-width: 350px;
  text-align: center;
}

#loadingOverlay .loader {
  position: relative;
  width: 164px;
  height: 164px;
}

#loadingOverlay .loader::before,
#loadingOverlay .loader::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: var(--original-blue);
  left: 50%;
  top: 50%;
  animation: rotate 2s ease-in infinite;
}

#loadingOverlay .loader::after {
  width: 20px;
  height: 20px;
  background-color: var(--electric-blue);
  animation:
    rotate 2s ease-in infinite,
    moveY 2s ease-in infinite;
}

#preRenderOverlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--body-background-color);
}

.size-dropdown-container {
  margin-bottom: 20px;
  padding: 10px;
  background-color: var(--light-gray);
  border-radius: 4px;
  border: 1px solid var(--medium-gray);
}

.size-dropdown-container label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: var(--dark-blue);
  font-size: 14px;
}

.size-dropdown-container select {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--medium-gray);
  border-radius: 4px;
  background-color: white;
  font-size: 14px;
  color: var(--dark-blue);
}

.size-dropdown-container select:focus {
  outline: none;
  border-color: var(--dark-blue);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

body.show-mobile .size-dropdown-container {
  display: none;
}

@keyframes moveY {
  0%,
  100% {
    top: 10%;
  }

  45%,
  55% {
    top: 59%;
  }

  60% {
    top: 40%;
  }
}

@keyframes rotate {
  0% {
    transform: translate(-50%, -100%) rotate(0deg) scale(1, 1);
  }

  25% {
    transform: translate(-50%, 0%) rotate(180deg) scale(1, 1);
  }

  45%,
  55% {
    transform: translate(-50%, 100%) rotate(180deg) scale(3, 0.5);
  }

  60% {
    transform: translate(-50%, 100%) rotate(180deg) scale(1, 1);
  }

  75% {
    transform: translate(-50%, 0%) rotate(270deg) scale(1, 1);
  }

  100% {
    transform: translate(-50%, -100%) rotate(360deg) scale(1, 1);
  }
}
