@font-face {
  font-family: 'sf-pro-regular';
  src: url('fonts/SanFranciscoFont-master/sf-pro-regular.woff');
}

@font-face {
  font-family: 'sf-pro-semibold';
  src: url('fonts/SanFranciscoFont-master/sf-pro-semibold.woff');
}

html {
  background: url(../images/login-sso.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

body {
  margin: 0;
  font-family: sf-pro-regular;
  background-color: transparent;
}

.card {
  background-color: #ffffffD9;
}

.ebc-red-color {
  color: #EB2528 !important;
}

a:hover {
  color: #dd090d !important;
  text-decoration: none;
}

.ebc-red-background {
  background-color: #EB2528 !important;
}

.ebc-red-background:hover {
  background-color: #dd090d !important;
}

.ebc-black-background {
  background-color: #272525 !important;
}

.ebc-black-background:hover {
  background-color: #000000 !important;
}

.sign-up:hover {
  color: #ffffff !important;
  text-decoration: none;
}

.sso-heading {
  font-family: sf-pro-semibold;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 21px;
  width: 22px;
  left: 1px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: #34C759;
}

input:focus+.slider {
  box-shadow: 0 0 1px #34C759;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.separator {
  display: flex;
  align-items: center;
  text-align: center;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #808080;
}

.separator:not(:empty)::before {
  margin-right: .25em;
}

.separator:not(:empty)::after {
  margin-left: .25em;
}

.otp-option>input[type="radio"] {
  display: none;
}

.option-label {
  cursor: pointer;
}

.otp-option>input[type="radio"]+*::before {
  content: "";
  display: inline-block;
  vertical-align: bottom;
  width: 1rem;
  height: 1rem;
  margin-right: 3px;
  margin-bottom: 3px;
  border-radius: 50%;
  border-style: solid;
  border-width: 0.1rem;
  border-color: gray;
  cursor: pointer;
}

.otp-option>input[type="radio"]:checked+* {
  color: #000;
}

.otp-option>input[type="radio"]:checked+*::before {
  background: radial-gradient(#000 0%, #000 40%, transparent 50%, transparent);
  border-color: #000;
}

.line-height-1 {
  line-height: 1;
}

/* Create a custom checkbox for WhatsApp*/
.whatsapp-checkbox .form-check-input {
  display: none;
}

.whatsapp-checkbox .form-check-label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
}

.whatsapp-checkbox .form-check-label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #EB2528;
  background-color: white;
  border-radius: 4px;
  transform: translateY(-50%);
  transition: all 0.2s;
}

.whatsapp-checkbox .form-check-input:checked+.form-check-label::before {
  border: 2px solid green;
  background-color: green;
}

.whatsapp-checkbox .form-check-input:checked+.form-check-label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 7px;
  width: 5px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: translateY(-50%) rotate(45deg);
}


/* If the screen size is 480px wide or less, set the font-size of <div> to 30px */
@media screen and (max-width: 480px) {
  .logo {
    width: 120px;
  }

  .icon {
    width: 30px;
  }

  .sso-heading {
    font-size: 20px;
  }

  .font-size-xm {
    font-size: 0.7em;
  }

  .otp-option>input[type="radio"]+*::before {
    width: 15px;
    height: 15px;
  }
}