html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

body {
  background-color: #f1f3f6;
  font-family: 'Open Sans', sans-serif;
  overflow-x: hidden;
}

body.thkmessage:before {
  animation: shake 2s ease-in-out infinite;
  animation-iteration-count: infinite;
  width: 420px;
}

@media screen and (min-width: 768px) {
  body:before {
    background-image: url(/img/formas.svg);
    background-repeat: no-repeat;
    background-position: right;
    transition: 0.2s all;
    content: '';
    width: 100%;
    height: 420px;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translateX(20px);
  }
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

button {
  cursor: pointer;
}

:focus {
  outline: unset !important;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

textarea {
  resize: vertical;
}

.log-btn {
  background-color: #fff;
  color: #c7b9b9;
  font-size: 16px;
  position: relative;
  width: 100%;
  border: none;
  height: 42px;
  cursor: pointer;
  border: 1px solid #d9dce4;
  border-radius: 10px;
  text-align-last: center;
}

.multisel-btn {
  background-color: #fff !important;
  color: #c7b9b9 !important;
  font-size: 16px !important;
  /* position: relative !important; */
  width: 100% !important;
  border: none !important;
  min-height: 42px !important;
  cursor: text !important;
  border: 1px solid #d9dce4 !important;
  border-radius: 10px !important;
}

.dropbtn:hover,
.dropbtn:focus {
  background-color: #2980b9;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {
  background-color: #ddd;
}

.show {
  display: block !important;
}

.home-login {
  margin: 0 auto;
  max-width: 370px;
  position: relative;
}

.h-100vh {
  height: 100vh;
}

.p-relative {
  position: relative;
}

.home-login img {
  width: 133px;
  margin: 0 auto;
  display: block;
}

.home-login button {
  font-weight: 500;
}

.home-login h1,
div#successful-message h1 {
  max-width: 370px;
  text-align: center;
  margin: 0 auto 20px;
  width: 100%;
  font-weight: 600;
}

.login-account {
  width: 100%;
  margin: 0 auto 15px;
}

button.sign-up {
  width: 100%;
  border: unset;
  background: #34a753;
  height: 42px;
  color: #fff;
  border-radius: 10px;
}

button.sign-in {
  width: 100%;
  border: unset;
  background: #4e85ed;
  height: 42px;
  color: #fff;
  border-radius: 10px;
}

button.go-back {
  margin: 20px auto 0;
  display: block;
  border: unset;
  color: #4e85ed;
}

.log-btn:before {
  content: '';
  background-image: url(/img/down-arrow.svg);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  background-repeat: no-repeat;
  background-position: 340px center;
  left: 0;
}

#login-options a:hover {
  background-color: #4e85ed;
  color: #fff;
}

div#login-options {
  width: 100%;
  max-width: 370px;
}

div#successful-message {
  position: absolute;
  width: 100%;
  display: none;
  text-align: center;
  margin: auto;
  padding: 10px;
}

div#successful-message.show {
  position: relative;
  max-width: 380px;
  height: 237px;
}

.logos:before {
  content: '';
  height: 2px;
  width: 48px;
  background-color: #d4d8e1;
  position: relative;
  display: block;
  margin: 0 auto;
  top: 50px;
}

.logos {
  position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-top: 30vh;
}

.row.h-100vh {
  position: relative;
}

.home-login:before,
#successful-message:before {
  content: '';
  width: 100%;
  height: 40px;
  /*background-image: url(/img/public-front/MediamGroup-bl-v3.png);*/
  display: block;
  background-size: contain;
  position: absolute;
  background-repeat: no-repeat;
  text-align: center;
  background-position: center center;
  top: -52px;
}

.home-login h1:before {
  content: '';
  height: 2px;
  width: 60px;
  background-color: #d4d8e1;
  position: relative;
  display: block;
  margin: 0 auto;
  top: -10px;
}

#successful-message h1:before {
  content: '';
  height: 2px;
  width: 48px;
  background-color: #d4d8e1;
  position: relative;
  display: block;
  margin: 0 auto;
  top: -25px;
}

.form-signup {
  width: 100%;
  height: auto;
}

.form-signup form input:not([type='checkbox']),
.form-signup form select {
  width: 100%;
  margin: 15px auto 0;
  padding: 10px 10px 10px 40px;
  border: 1px solid #d9dce4;
  border-radius: 10px;
  color: #767676;
  background-color: white;
}

#signup-container.home-login:after {
  top: -356px !important;
}

div#signup-container {
  max-width: 440px;
}

#signup-form {
  display: none;
}

button.signin-form-toggle {
  --button-color: 88, 164, 92;
  --button-hover-opacity: 0.8;
  /*--button-color:rgb(66, 133, 244);*/
  background-color: transparent;
  border: 2px solid rgba(var(--button-color), 1);
  color: rgba(var(--button-color), 1);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
button.signin-form-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--button-color), 0.1);
}
button.signin-form-toggle:hover {
  background-color: rgba(var(--button-color), 0.1);
}
button.signin-form-toggle.active {
  background-color: rgba(var(--button-color), 1);
  color: #fff;
}
button.signin-form-toggle.active:hover {
  background-color: rgba(var(--button-color), var(--button-hover-opacity));
}

.form-signup form input,
.form-signup form select {
  background-position: 10px;
  background-repeat: no-repeat;
  background-size: 18px;
}

.form-signup form input#name,
.form-signup form input#lastname {
  background-image: url(/img/user.svg);
}

.form-signup form input#agencyname,
.form-signup form input#companyname {
  background-image: url(/img/building.svg);
}

.form-signup form select#market {
    background-image: url(/img/globe-icon.svg);
    padding: 8px 10px 8px 40px;
}

.form-signup form input#website {
  background-image: url(/img/link.svg);
}

.form-signup form input#tel {
  background-image: url(/img/phone.svg);
}

.form-signup form input#email {
  background-image: url(/img/email.svg);
}

.form-signup form input#challenge {
  background-image: url(/img/crosshair.svg);
}

.form-signup form input#referral {
  background-image: url(/img/message-square.svg);
}

.form-signup form select#type {
  background-image: url(/img/user.svg);
  background-position: 10px;
  background-repeat: no-repeat;
  background-size: 18px;
}

.form-signup form select#paymenttype {
  background-image: url(/img/payment.svg);
  background-position: 10px;
  background-repeat: no-repeat;
  background-size: 18px;
}

.form-signup form select#country {
  background-image: url(/img/world.svg);
  background-position: 10px;
  background-repeat: no-repeat;
  background-size: 18px;
}

.hidden,
[hidden] {
  display: none !important;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@keyframes shake {
  0% {
    transform: translateX(20px) rotate(0deg);
  }
  10% {
    transform: translateX(20px) rotate(1deg);
  }
  15% {
    transform: translateX(20px) rotate(2deg);
  }
  20% {
    transform: translateX(20px) rotate(1deg);
  }
  25% {
    transform: translateX(20px) rotate(0deg);
  }
  30% {
    transform: translateX(20px) rotate(-1deg);
  }
  35% {
    transform: translateX(20px) rotate(-2deg);
  }
  40% {
    transform: translateX(20px) rotate(-1deg);
  }
  45% {
    transform: translateX(20px) rotate(0deg);
  }
  100% {
    transform: translateX(20px) rotate(0deg);
  }
}

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix::before,
.clearfix::after {
  content: ' ';
  display: table;
}

.clearfix::after {
  clear: both;
}

@media only screen and (min-width: 35em) {
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
}

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
  }

  abbr[title]::after {
    content: ' (' attr(title) ')';
  }

  a[href^='#']::after,
  a[href^='javascript:']::after {
    content: '';
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

.is-invalid {
  border-color: red !important;
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #dc3545;
}

.selector-item,
.selector-item-mcc,
.selector-type,
.selector-item-init {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.selector-parent {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-weight: bold;
}

.hide {
  display: none;
}

.errorslabel {
  font-size: smaller;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
.spinner-loader {
  height: 80px;
  width: 80px;
  margin: 0px auto;
  -webkit-animation: rotation 0.9s infinite linear;
  -moz-animation: rotation 0.9s infinite linear;
  -o-animation: rotation 0.9s infinite linear;
  animation: rotation 0.9s infinite linear;
  border-left: 6px solid rgba(52, 168, 83, 1);
  border-right: 6px solid rgba(251, 188, 5, 1);
  border-bottom: 6px solid rgba(234, 67, 53, 1);
  border-top: 6px solid rgba(66, 133, 244, 1);
  border-radius: 100%;
}
.modalespere {
  text-align: center;
  padding: 0 !important;
}

.modalespere:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}

.modal-dialog-espere {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}
.textospinner {
  color: whitesmoke;
  font-size: 21px;
}
.clearborders {
  border-top: initial;
  border-bottom: initial;
}
.contentespere {
  box-shadow: initial;
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, 0);
}

.form-check {
  position: relative;
  display: block;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  width: auto;
  height: auto;
}

.form-check-input {
    margin-right: -1.25rem;
}

.form-check-label {
  margin-bottom: 0;
}

.text-info {
  color: #010f35 !important;
}

.text-terms {
  color: cadetblue;
}

.home-login .text-button {
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  font-size: 1.25rem;
}
.in-middle-of-line-wrapper {
  margin: 0.75em -2rem 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.in-middle-of-line {
  display: inline-block;
  position: relative;
  width: auto;
  font-size: 1rem;
}
.in-middle-of-line:before,
.in-middle-of-line:after {
  content: '';
  display: block;
  width: 100vw;
  top: 50%;
  position: absolute;
  height: 1px;
  background-color: currentColor;
}

.in-middle-of-line:before {
  right: calc(100% + 1.5em);
}
.in-middle-of-line:after {
  left: calc(100% + 1.5em);
}

.terms-container {
  font-size: small;
}

#contact-form .terms-container {
  font-size: medium;
}

.text-center {
  text-align: center !important;
}

@media only screen and (max-width: 992px) {
  body:before {
    background-size: contain;
    background-position: bottom right;
    transform: unset;
    max-height: 30vh;
  }
  #successful-message,
  #home-login,
  .row > div {
    padding: 0 30px;
  }
  .home-login:before,
  #successful-message:before {
    left: 0;
    /*top: calc(-80px - 4vh);*/
  }

  .home-login:after,
  #successful-message:after {
    top: calc(-260px - 4vh);
  }
  #signup-container.home-login:before {
    top: -50px !important;
  }
  div#signup-container {
    /*margin-top: 10vh;*/
    margin-bottom: 0;
    max-height: 580px;
  }
  .home-login h1:before {
    top: -25px;
  }
  #signup-container.home-login h1:before {
    top: -10px;
  }
}

@media only screen and (max-width: 600px) {
  h1 {
    font-size: 28px;
  }

  body:before {
    background-size: contain;
    background-position: bottom right;
    max-height: 30vh;
  }

  .home-login:before,
  #successful-message:before {
    left: 0;
    /*top: calc(-80px - 13vh);*/
  }

  .home-login:after,
  #successful-message:after {
    top: calc(-260px - 13vh);
  }
}

@media only screen and (max-height: 600px) {
  .home-login:before,
  #successful-message:before {
    left: 0;
    top: -80px;
  }

  .home-login:after,
  #successful-message:after {
    top: -260px;
  }
}

@media only screen and (max-height: 375px) {
  .home-login:before,
  #successful-message:before {
    left: 0;
    top: -45px;
  }

  .home-login:after,
  #successful-message:after {
    top: -240px;
  }
}

.google-button {
  box-sizing: content-box;
  --button-color: #4285f4;
  --button-logo-background-color: #fff;
  --font-color: rgba(255, 255, 255, 1);
  width: 100%;
  border: 1px solid var(--button-color);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  background-color: var(--button-color);
  padding: 0;
  border-radius: 2px;
}
.google-button .button-logo {
  /*background-color: var(--button-logo-background-color);*/
  box-sizing: content-box;
  display: inline-block;
  /*width: 18px;
  height: 18px;
  padding: 8px 12px 8px 8px;*/
}
.google-button .button-logo img {
  width: 110%;
  height: 110%;
  object-fit: contain;
  margin-top: -4px;
  margin-left: -3px;
  margin-bottom: -3px;
}
.google-button .button-text {
  display: inline-block;
  flex-grow: 1;
  padding: 8px 8px 8px 10px;
  margin: 0;
  text-align: left;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: var(--font-color);
  font-weight: 500;
  line-height: 1;
}

#cookie-consent {
    position:fixed;
    bottom: 0;
    left:0;
    right:0;
    padding: 3rem 0;
    border-top: 1px solid #636467cc;
    transition: opacity 0.8s ease-in transform 0.8s ease-in;
    z-index:1000;
    background-color: #f4f5f8;
}
#cookie-consent a {
    color: #4e85edff
}
#cookie-consent a:hover {
    text-decoration: underline;
}

select#language {
    width: 100%;
    padding: 10px;
    border: 1px solid #d9dce4;
    border-radius: 10px;
    color: #767676;
    background-color: white;
}

.form-logo {
    max-height: 40px;
    width: initial!important;
    margin-top: 20px!important;
    margin-bottom: 22px!important;
}
