@import url('https://fonts.googleapis.com/css?family=Montserrat:500,700,900&display=swap&subset=latin-ext');

body {
  padding: 0px;
  margin: 0px;
}

/* WPCF7 LIST FIX */
#itmedia_newsletter-modal .wpcf7-list-item label {
  display: flex;
}

#itmedia_newsletter-modal input[type="checkbox"] { 
  min-width: 1.6em;
  min-height: 1.6em;
}

/* WPCF7 LIST FIX - END */

#itmedia-newsletter-container {
  font-size: 14px;
  width: 100%;
  padding: 0px;
  margin: 0px;
  margin-top: 3em; 
  margin-bottom: 3em;
  /* height: 600px; */
  display: flex;
  justify-content: center;
  background-color: #fff;
}

#itmedia-newsletter {
  margin: 0px;
  width: 900px;
  max-width: 900px;

  font-family: "Montserrat",sans-serif !important;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  color: black;
  padding: 2.5em;
  border: 0.4em solid #f39400;
}

#itmedia-newsletter h1 {
  color: black;
  font-size: 1.9em;
  font-weight: 900;
  margin: 0 0 0.6em !important;
}

#itmedia-newsletter h2 {
  color: black;
  font-size: 1.6em;
  font-weight: 900;
}

#itmedia-newsletter li {
  margin: 14px 0;
}

#itmedia-newsletter li::before {
  content: unset;
}

#itmedia-newsletter__content li {
  color: #f39604;
  line-height: 1.6;
  font-weight: bold;
}

#itmedia-newsletter__content li span {
  color: black;
  font-weight: 500;
}

#itmedia-newsletter__content {
  position: relative;
  width: 100%;
}

#itmedia-newsletter__image-desktop {
  visibility: hidden;
  display: none;
}

#itmedia-newsletter__image-mobile {
  text-align: center;
}

#itmedia-newsletter__image-mobile > img {
  position: relative;
  max-width: 75%;
  height: auto;
}

input[type="text"].itmedia-newsletter-input,
input[type="email"].itmedia-newsletter-input {
  width: 100%;
  padding: 8px 14px;
  font-size: 1em;
  margin: 6px 0;
  box-sizing: border-box;
  border: 1px solid #ccc;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  outline: none;
}

input[type="text"]:focus.newsletter-input {
  border: 1px solid #444;
}

#itmedia-newsletter-container input[type="submit"],
#itmedia-newsletter-container button {
  width: 100%;
  border: 0px;
  background: #f39400;
  color: #fff;
  font-weight: 700;
  font-size: 1em;
  margin: 0;
  line-height: 1;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  height: 3em;
  padding: 12px 18px;

  font-family: "Montserrat", sans-serif;
}

#itmedia_newsletter_close {
  background: #f39400 !important;
  margin-top: 2em !important;
  height: 3em !important ;
  width: 18em !important ;
  padding: 4px 12px !important;
}

#itmedia_newsletter-modal .wpcf7-list-item {
  display: block;
}

#itmedia_newsletter-modal input[type="checkbox"] {
  width: 100%;
  position: relative !important;
  top: 0.1em;
  height: 1.6em;
  width: 1.6em;
  margin-right: 1em;
  margin-left: 1em;
  border-radius: 0px !important;
}

.itmedia_newsletter_interests {
  text-align: left !important;
  position: relative !important;
}

#itmedia_newsletter_proceed {
  max-width: 18.5em;
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 2em !important;
}

#itmedia_newsletter-modal .wpcf7-not-valid-tip {
  text-align: center;
  align-self: center;
}

#itmedia-newsletter__content > p .ajax-loader {
  display: none !important;
  visibility: none !important;
}

#itmedia-newsletter__content > p .is-active {
  display: none !important;
  visibility: none !important;
}

#itmedia_newsletter-modal {
  display: none;
  position: absolute;
  background-color: #fff;
  box-shadow: 0em 0.3em 2em rgba(0, 0, 0, 0.3) !important;
  z-index: 5;
  left: 50%;
  width: 100%;
  font-size: 1em !important;
  text-align: center;
  font-weight: 600;
  transform: translateX(-50%);
  padding: 2em;
}

#itmedia_newsletter-modal h3 {
  color: black;
}

#itmedia-newsletter__footer {
  font-size: 0.9em;
}

#itmedia-newsletter__footer a {
  color: #f39400;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #f39604;
}

.wpcf7-response-output,
.wpcf7-display-none,
.wpcf7-validation-errors,
.wpcf7-spam-blocked,
.wpcf7-mail-sent-ok,
.wpcf7-mail-sent-ng {
  visibility: hidden !important;
  display: none !important;
}

#itmedia_newsletter-modal .ajax-loader {
  display: none;
}

.itmedia_newsletter_interests .wpcf7-not-valid-tip {
  display: none !important;
}

@media screen and (min-width: 768px) {
  #itmedia-newsletter {
    background-color: #fff;
    max-width: 930px;
    display: block;
    padding: 3em 2em 3em 2em;
  }

  #itmedia-newsletter__image-mobile {
    visibility: hidden;
    display: none;
  }

  #itmedia-newsletter__image-desktop {
    visibility: visible;
    display: block;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #itmedia-newsletter__image-desktop > img {
    max-width: 90%;
    position: relative;
    top: -3em;
    height: auto;
  }

  #itmedia-newsletter__title {
    position: relative;
  }

  #itmedia-newsletter__content {
    display: inline-block;
    width: 350px;
    min-width: 350px;
  }

  #itmedia-newsletter__content-wrap {
    display: flex;
  }

  #itmedia-newsletter h1 {
    font-size: 2em;
  }

  #itmedia-newsletter h2 {
    font-size: 1.7em;
  }

  #itmedia_newsletter-modal {
    max-width: 35em !important;
  }

  #itmedia_newsletter-modal input[type="checkbox"] {
    margin-left: 6em;
  }
}
