* {
  box-sizing: border-box;
}

@font-face {
  font-family: Monda;
  src: url(/fonts/Monda-Regular.ttf);
}

@font-face {
  font-family: MondaBold;
  src: url(/fonts/Monda-Bold.ttf);
  font-weight: 700;
  font-style: normal;
}

html {
  font-family: Monda, Verdana, Geneva, Tahoma, sans-serif;
  font-size: 16px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  margin: 0;
}

body {
  margin: 0;
}

b {
  font-family: MondaBold;
}

#moses-logo {
  content:url(/img/moses-security-black.svg);
}

#logo-container {
  display: flex;
}

#moses-logo-top-left {
  max-height: 50px;
  margin-top: 10px;
  margin-left: 10px;
  content:url(/img/moses-security-black.svg);
  z-index: 2;
}

.bottom-left-image {
  position: fixed;
  display: flex;
  bottom: 20px;
  left: 0;
  margin: 10px;
  margin-left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  border-top-right-radius: 5px;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.bottom-left-image img:first-child {
  margin-right: 10px;
}

.bottom-left-image img {
  width: 130px;
  height: auto;
}

.popup-container {
  position: relative;
  display: inline-block;
}

.popup-content {
  position: absolute; 
  top: 100%;
  /*left: -140px;*/
  text-align: left;
  line-height: 2rem;
  font-size: 0.8rem;
  font-weight: normal;
  display: none;
  width: 300px;
  max-width: 500px;
  padding: 10px;
  background-color: rgba(46, 48, 52, 1);
  color: #fff;
  border: 2px solid #5e6266;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);

  overflow: auto;
  right: 0;
  z-index: 1;
}

.popup-content a {
  color: #84d0ff;
  display: block;
  transition-duration: .3s;
  border-radius: 5px;
  padding-left: 5px;
  padding-right: 5px;
  text-align: center;
}

.popup-content a:hover {
  background-color: #52555e;
}

.popup-content a:visited {
  color: #84d0ff;
}

.popup-container:hover .popup-content {
  display: block;
}

#wrapper {
  width: 80%;
  max-width: 800px;
  margin: auto;
  margin-top: 60px;
  margin-bottom: 100px;
}

#wrapper-large {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  margin-top: 60px;
  margin-bottom: 100px;
}

.flex-wrap {
  flex-wrap: wrap;
}

.text-bold {
  font-weight: bold;
}

.text-default-size {
  font-size: 1rem;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.align-left {
  text-align: left;
}

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

.text-right {
  text-align: right;
}

.text-upper {
  text-transform: uppercase;
}

.w-50-pct {
  width: 50%;
}

.w-80-pct {
  width: 80%;
}

.ma-auto {
  margin: auto;
}

.ma-right {
  margin-right: 1rem;
}

.ma-top-sm {
  margin-top: 10px;
}

.ma-top-m {
  margin-top: 20px;
}

.ma-top-xl {
  margin-top: 50px;
}

.ma-top-sm {
  margin-bottom: 10px;
}

.ma-bottom-xl {
  margin-bottom: 50px;
}

.larger-text {
  font-size: 1.25rem;
}

.content-center {
  justify-content: center;
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out forwards;
}

.collapse {
  cursor: pointer;
}

.collapsible {
  font-family: inherit;
  font-size: inherit;
  background-color: #03285b;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  color: white;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  transition-duration: .5s;
}

.collapse:not(:first-of-type) {
  margin-top: 1rem;
}

.active, .collapsible:hover {
  background-color: #555;
}

.collapse-guide {
  cursor: pointer;
}

.collaps-guide-active {
  content: "test";
}

.content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  transition: max-height 0.2s ease-out;
  background-color: #eff6ff;
}

.tip-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  text-align: left;
  font-size: 0.85rem;
}

#moses-logo {
  display: block;
  margin: auto;
  max-width: 100%;
  height: 100px;
  margin-top: 20px;
  margin-bottom: 20px;
}

#intro-text {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

#intro-text-big {
  font-size: 1.4rem;
  margin-top: 70px;
  text-align: center;
}

#reg-success {
  font-size: 1.7rem;
  margin-top: 100px;
  text-align: center;
}

#matches {
  width: 100%;
}

#match-flex {
  display: flex;
  margin: auto;
  margin-top: 20px;
}

.match {
  background:linear-gradient(to bottom, #ededed 5%, #dfdfdf 100%);
  background-color:#ededed;
  display: inline-flex;
  padding: 10px;
  border-radius: 10px;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.match:not(:last-of-type) {
  margin-right: 5px;
}

/*
.match ~ .match {
  margin-top: 10px;
}*/

.pw-info {
  color: #7f7f7f;
  font-size: 0.8rem;
}

.pw-info-good {
  font-weight: bold;
  color: #419f27;
}

.pw-info-bad {
  font-weight: bold;
  color: #ff7274;
}

#legal-text li {
  margin-top: 1rem;
}

#top-control-bar {
  color: #000;
  background-color: #fff;
  font-weight: bold;
  padding: 5px;
  position: fixed;
  font-size: 1.1em;
  top: 0;
  width: 100%;
  justify-content: right;
  display: flex;
  align-items: center;
  flex-direction: row;
  text-align: right;
  z-index: 1;
}

#top-control-bar #is-team {
  color: #03285b;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

#top-control-bar #is-team > img {
  max-height: 14px;
  margin-right: 5px;
}

#top-control-bar #name {
  cursor: pointer;
}

#top-control-bar #email {
  margin-right: 0.5rem;
}

#summary {
  flex-direction: row;
  width: 30%;
  margin-right: 15px;
  max-width: 100px;
}

#leaks-top {
  font-weight: bold;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 10px;
  color: #616161;
}

#button-box {
  border-radius: 10px;
  margin-top: 30px;
  padding: 25px;
  background-color: #222222;
  border: 1px solid #4e4e4e;
  animation: fadeIn 0.5s ease-in-out forwards;
}

#leak-extra-info {
  margin-top: 2rem;
  width: 90%;
}

.bordered-box {
  background-color: #ededed;
  padding: 1rem;
  border: 1px solid #4e4e4e;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

a.button {
  display: flex;
  color: white;
  font-size: 1.1em;
  height: 40px;
  font-weight: bold;
  transition-duration: .5s;
  align-items: center;
  justify-content: center;

  box-shadow:inset 0px 1px 0px 0px #97c4fe;
  background:linear-gradient(to bottom, #194474 5%, #0b2650 100%);
  background-color: #194474;
  border-radius:6px;
  border:1px solid #3a5477;
  padding:6px 24px;
  text-decoration:none;
  text-shadow:0px 1px 0px #1570cd;
}

a.button:visited {
  color: white;
}

a.button:hover {
  background:linear-gradient(to bottom, #0f2947 5%, #051124 100%);
	background-color:#1e62d0;
}

a {
  color: #03285b;
  text-decoration: none;
}

.leak-summary-top {
  font-weight: bold;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 10px;
  color: #616161;
}

.leak-summary-top:not(:first-of-type) {
  margin-top: 10px;
}

.leak-summary {
  display: flex;
  box-shadow:inset 0px 1px 0px 0px #f5978e;
  background:linear-gradient(to bottom, #f24537 5%, #c62d1f 100%);
  background-color:#f24537;
  color: #fefefe;
  border-radius: 10px;
  padding: 5px;
  width: 100%;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  height: 60px;
  align-items: center;
  justify-content: center;
}

.leak-counter {
  color: #7f7f7f;
  font-size: 0.8rem;
  vertical-align: middle;
}

.info-message {
  padding: 15px;
  background-color: #f8f1cf;
  border-radius: 10px;
  margin-top: 10px;
  animation: fadeIn 0.5s ease-in-out forwards;
}

.info-message.query {
  width: 70%;
  max-width: 1000px;
  margin: 10px auto;
}

#current-domain {
  font-size: 1.5rem;
  text-align: center;
  margin-top: 20px;
}

form {
  margin: auto;
  width: 100%;
}

input[type="text"].lookup {
  font-family: MondaBold;
  border: 4px solid #02285B;
  text-align: center;
  font-size: 1.3rem;
  color: #02285B;
  padding: 3px;
  margin: auto;
  margin-top: 20px;
  border-radius: 20px;
  font-weight: bold;
  display: block;
  text-transform: lowercase;
}

input[type="file"].csv-upload {
  display: block;
  margin: auto;
  font-size: inherit;
  font-family: inherit;
}

input[type="file"].csv-upload::file-selector-button {
  color: white;
  font-size: 1.1em;
  height: 40px;
  font-weight: bold;
  transition-duration: .5s;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:inset 0px 1px 0px 0px #97c4fe;
  background:linear-gradient(to bottom, #194474 5%, #0b2650 100%);
  background-color: #194474;
  border-radius:6px;
  border:1px solid #3a5477;
  padding:6px 24px;
  text-decoration:none;
  text-shadow:0px 1px 0px #1570cd;
}

select,input[type="text"],input[type="email"],input[type="tel"],input[type="password"] {
  font-family: inherit;
  height: 50px;
  width: 100%;
  border-radius: 10px;
  outline: 0;
  border: 2px solid #7f7f7f;
  padding: 10px;
  font-size: 1.1em;
}

::-webkit-input-placeholder {
  text-transform: none;
}
:-moz-placeholder {
  text-transform: none;
}
::-moz-placeholder {
  text-transform: none;
}
:-ms-input-placeholder {
  text-transform: none;
}
::placeholder {
  text-transform: none;
}

form#query {
  width: 70%;
  max-width: 1000px;
  margin-top: 2rem;
}

form#query input[type="submit"] {
  width: 200px;
}

input[type="submit"] {
  width: 100%;
  font-family: inherit;
  font-weight: bold;
  height: 40px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  color: white;
  font-size: inherit;
  transition-duration: .5s;

  box-shadow:inset 0px 1px 0px 0px #97c4fe;
  background:linear-gradient(to bottom, #194474 5%, #0b2650 100%);
  background-color: #194474;
  border-radius:6px;
  border:1px solid #3a5477;
  padding:6px 24px;
  text-decoration:none;
  text-shadow:0px 1px 0px #1570cd;
}

input[type="submit"]:hover {
  background:linear-gradient(to bottom, #0f2947 5%, #051124 100%);
	background-color:#1e62d0;
}

footer {
  background-color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 5px;
  position: fixed;
  bottom: 0;
  width: 100%;
  align-items: center;
  text-transform: uppercase;
}

footer img {
  height: 30px;
  max-width: 100%;
  margin: 0 auto;
  margin-left: 10px;
  margin-right: 10px;
}

footer a {
  color:black;
}

footer a:visited {
  color: black;
}

footer a:not(:last-of-type) {
  margin-right: 1rem;
}

.footer-img-container {
  display: flex;
  float: left;
  align-items: center;
  margin-left: 10px;
}

.footer-img-container a {
  color: #000;
  padding-right: 5px;
}

.ma-bottom {
  margin-bottom: 20px;
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

/* Checkbox */
.checkbox-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

.checkbox-container:hover input ~ .checkmark {
  background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: #2196F3;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

#red-ball {
  border-radius: 50%;
  background-color: #E3000F;
  color: #fff;
  padding: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  max-width: 150px;
  max-height: 150px;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: -140px;
}

a.pseudo-text-field {
  cursor: pointer;
  font-family: MondaBold;
  border: 4px solid #02285B;
  width: 80%;
  text-align: center;
  font-size: 1.3rem;
  color: #02285B;
  padding: 3px;
  padding-left: 35px;
  margin: auto;
  margin-top: 20px;
  border-radius: 20px;
  font-weight: bold;
  position: relative;
  display: block;
}

a.pseudo-text-field > img {
  display: block;
  position: absolute;
  top: 50%;
  left: 10px;
  max-height: 30px;
  max-width: 30px;
  transform: translateY(-50%);
}

#intro-wrapper {
  text-align: center;
}

#intro-text-new {
  position: relative;
  display: block;
}

.first-step-tip {
  background-color: #EFF6FF;
  border-radius: 20px;
  padding: 20px;
  min-height: 120px;
  max-width: 200px;
  min-width: 200px;
  position: relative;
  align-self: flex-start;
}

.first-step-tip.big {
  max-width: 100%;
}

.first-step-tip:not(:last-of-type) {
  margin-right: 10px;
}

.first-step-ballon {
  font-family: MondaBold;
  border-radius: 50%;
  color: #fff;
  font-size: 1.4rem;
  height: 50px;
  width: 50px;
  max-width: 50px;
  max-height: 50px;
  justify-content: center;
  align-items: center;
  background-color: #02285B;
  position: absolute;
  display: flex;
  flex-direction: column;
  text-align: center;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
}

.first-step-collapse {
  font-size: 1.2rem;
  color: #fff;
  height: 25px;
  width: 25px;
  max-width: 25px;
  max-height: 25px;
  padding: 0;
  outline: 0;
  border: none;
  border-radius: 50%;
  background-color: #02285B;
  position: absolute;
  bottom: 5px;
  right: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-box-pack: center;
  display: -webkit-box;
}

.breach-sum-body {
  background-color: #FEDDDD;
  padding: 10px;
  padding-top: 40px;
  border-radius: 25px;
  position: relative;
  max-width: 200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.breach-sum-body:not(:last-of-type) {
  margin-right: 1rem;
}

.breach-sum-counter {
  font-family: MondaBold;
  font-size: 1.8rem;
  position: absolute;
  background-color: #E3000F;
  color: #fff;
  top: -30px;
  left: 50%;
  min-width: 100px;
  padding: 10px;
  border-radius: 25px;
  transform: translateX(-50%);
}

#account-flex {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  margin-right: 0.5rem;
}

#acc-indicator {
  margin-right: 5px;
  max-width: 16px;
  max-height: 16px;
}

#start-text-mobile {
  display: none;
  background-color: #273d8a;
  color: #fff;
  padding: 10px;
  margin-top: 2rem;
}

.mobile-element {
  display: none;
}

.light-blue-background-title {
  font-family: MondaBold;
  display: inline-block;
  background-color: #eff6ff;
  color: #03285b;
  font-weight: bold;
  padding: 0.3rem;
  border-radius: 10px;
  font-size: 1.1rem;
}

.dark-blue-text {
  color: #03285b;
}

.bg-white {
  background-color: #fff;
}

.margin-bottom-xl {
  margin-bottom: 1rem;
}

/*
@media screen and (prefers-color-scheme: dark) {
  html {
    background-color: #222222;
    color: #fefefe;
  }

  #moses-logo {
    content:url(/img/moses-security-white.svg)
  }

  a {
    color: #84d0ff;
    text-decoration: none;
  }
  
  a:visited {
    color: #84d0ff;
  }

  .bordered-box {
    background-color: #222222;
  }

  .leak-summary-top {
    color: #fefefe;
  }

  .leak-summary {
    background-color: #3a1314;
    color: #fefefe;
  }

  .match {
    color:#202124;
    background-color: #2e3034;
  }

  #leaks-top {
    color: #fefefe;
  }

  .leak-counter {
    color: #cccccc;
  }

  .pw-info {
    color: #cccccc;
  }

  .info-message {
    background-color: #473e1e;
  }

  .pw-info-good {
    color: #29c81e;
  }

  html {
    background-color: #202124;
    color: #fefefe;
  }

  input[type="text"],input[type="email"],input[type="password"] {
    background-color: #2e3034;
    color: #fefefe;
    border: 1px solid #5f6368;
  }
}*/

@media only screen and (hover: none) and (pointer: coarse){
  #wrapper {
    width: 95%;
    margin-top: 10px;
  }

  #moses-logo-top-left {
    margin-top: 2rem;
  }

  #red-ball {
    display: none;
  }

  .desktop-element {
    display: none;
  }

  .mobile-element {
    display: block;
  }

  #start-text-desktop {
    display: none;
  }

  #start-text-mobile {
    display: block;
  }

  a.pseudo-text-field {
    width: 100%;
    font-size: 1.2rem;
  }

  input[type="text"]#pseudo {
    width: 100%;
  }

  #moses-logo {
    max-width: 250px;
  }

  html {
    font-size: 14px;
  }

  #intro-text-big {
    font-size: 1.1rem;
    margin-top: 30px;
    text-align: center;
  }

  #wrapper-large {
    margin-top: 10px;
    width: 95%;
  }

  .w-80-pct {
    width: 100%;
  }

  form#query {
    max-width: 100%;
    width: 100%;
  }

  .info-message.query {
    max-width: 100%;
    width: 100%;
  }

  footer a:not(:last-of-type) {
    margin-right: 0;
  }
}