button {
	font-family: 'OsnovaLite', sans-serif;
}
.with-errors{
    color: #dc3545;
    padding-left: 10px;
    font-size: 12px;
    border-radius: 0 0 5px 5px;
}

::selection {
  color: #576d96;
  background-color: #eaeaff;
}
a.active, li.active,
a:active {
  color: #576d96!important;
  background-color: #eaeaff!important;
}

.row>* {
    flex-shrink: 1!important;
}

::placeholder {
    color: #d5d3d3 !important;
    opacity: 1;
}

#verify_email {
    font-size: 32px;
    margin-bottom: 20px;
    color: #576d96;
    font-weight: 600px;
}

.form-content input.is-valid ~ label {
    color: #28a745;
}
.form-content .select-group label {
	top: 18px;
	left: 0;
}
#datepicker img {
	width: 44px;
  cursor: pointer;
  margin-left: 4px;
}
.form-holder.wide {
	margin-left: 0px !important;
}
.form-holder.wide .form-content .form-items {
	max-width: 500px;
}
.form-content .select-group label,
.form-content div:not(.form-floating) label{
	color: #576d96;
	width: 100%;
}
.flag {
	margin: 0 10px 0 5px;
	border: 1px solid #d0cece;
}
.form-content .input-group .input-group-prepend ~ input ~ label {
	margin-left: 100px;
}
.form-content .input-group .input-group-prepend ~ input ~ .help-block {
	margin-left: 80px;
}

.select2-results .phone-code,
.form-content .select-group .phone-code {
	color: #a9a7a7;
	width: 50px;
	display: inline-block;
	font-weight: 600;
}
.select2-results .phone-code,
.form-content .select-group .phone-code {
	color: #a9a7a7;
	width: 50px;
	display: inline-block;
	font-weight: 600;
}
.select2-results .select2-results__option--highlighted .phone-code {
	color: white;
}
.input-group-text#dial_code {
	background-color: #f7f7f7;
	width: 90px;
	color: #dad4d4;
	border-right: none;
	font-size: 20px;
	border-color: white;
	cursor: pointer;
}
.input-group-text#dial_code.selected {
	font-family: 'Roboto', sans-serif;
	color: black;
	background-color: #e9ecef;
    border: 1px solid #ced4da;
}
img.authy {
	float: left;
    width: 100px;
    border-radius: 10px;
    margin: 0 10px;
}

.form-content .mesengers input[type=checkbox] {
    display:none;
}
.form-content .mesengers input[type=checkbox] + label:before,
.form-content .mesengers input[type=checkbox] + label:after,
.form-content .mesengers input[type=checkbox]:checked + label:before,
.form-content .mesengers input[type=checkbox]:checked + label:after {
	content: '';
	background: transparent;
	border: 0px solid #576d96;
}
.form-content .mesengers input[type=checkbox] + label {
    display:inline-block;
    padding: 0;
    height: 62px;
    width: 62px;
    border-radius: 31px;
    -webkit-transition: none; 
    transition: none;
    margin-right: 15px;
}

.form-content .mesengers input[type=checkbox]:checked + label {
    border: 5px solid #576d96;
}
.form-content .mesengers input[type=checkbox]#id_is_whatsapp + label,
.form-content .mesengers input[type=checkbox]:checked#id_is_whatsapp + label {
	background:url("../img/icons/whatsapp.svg") no-repeat;
}
.form-content .mesengers input[type=checkbox]#id_is_telegram + label,
.form-content .mesengers input[type=checkbox]:checked#id_is_telegram + label {
	background:url("../img/icons/telegram.svg") no-repeat;
}
.form-content .mesengers input[type=checkbox]#id_is_wechat + label,
.form-content .mesengers input[type=checkbox]:checked#id_is_wechat + label {
	background:url("../img/icons/wechat.svg") no-repeat;
}
.form-content .mesengers input[type=checkbox]#id_is_viber + label,
.form-content .mesengers input[type=checkbox]:checked#id_is_viber + label {
	background:url("../img/icons/viber.svg") no-repeat;
}

.modal-header.bg-danger .btn-close {
	background-color: #f9d2d2;
}
.modal-header.bg-primary {
  background-color: #576d96!important;
}
.modal-header.bg-primary .btn-close {
  background-color: #86a4db;
}
.form-group label,
.form-floating label {
  color: #576d96;
  margin-bottom: 5px;
  background-color: transparent!important;
}
.form-floating:has(input[required]) label,
.form-group:has(input[required]) label {
  font-weight: bold;
}
.form-floating:has(input[required]) label:after,
.form-group:has(input[required]) label:after {
  content: '*';
  margin-left: 3px;
  font-weight: 100;
}

.form-floating>.form-control-plaintext~label, 
.form-floating>.form-control:focus~label, 
.form-floating>.form-control:not(:placeholder-shown)~label, 
.form-floating>.form-select~label {
    transform: scale(.85) translateY(-1rem) translateX(.15rem);
}
.form-floating>.form-control-plaintext~label::after, 
.form-floating>.form-control:focus~label::after, 
.form-floating>.form-control:not(:placeholder-shown)~label::after, 
.form-floating>.form-select~label::after {
  background-color: transparent!important;
}

.form-check label, 
.dropdown-toggle.btn-default {
  color: #576d96;
}
.input-group.d-flex .dropdown:first-of-type .btn{
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}
.input-group.d-flex .dropdown .btn {
  border-radius: 0;
}
.input-group.d-flex .dropdown:last-of-type .btn {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}




/* LOADER */

#loader {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  background-color: #fff;
  z-index: 10000;

  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;

  /* display: none; */

}
#loader h1 {
  font-family: sans-serif !important;
}
#loader.fade-in {
  display: block;
}
#loader .logo {
  position: relative;
  width: 100px;
    height: 100px;
}
.lds-ripple {
  color: #69adff;
}
.lds-ripple,
.lds-ripple div {
  box-sizing: border-box;
}
.lds-ripple {
    display: inline-block;
    position: absolute;
    top: 11px;
    left: 11px;
    width: 80px;
    height: 80px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid currentColor;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }
  4.9% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }
  5% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 1;
  }
  100% {
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    opacity: 0;
  }
}



.ajax_load {
  background-image: repeating-linear-gradient(-45deg, #c9d5ea, #c9d5ea 15px, #d4f9b5 15px, #d4f9b5 25px)!important;
  -webkit-animation:progress 1s linear infinite;
  -moz-animation:progress 1s linear infinite;
  -ms-animation:progress 1s linear infinite;
  animation:progress 1s linear infinite;
  
  -webkit-background-size: 70px 70px;
     -moz-background-size: 70px 70px;
      -ms-background-size: 70px 70px;
          background-size: 70px 70px;
}
button.ajax_load, a.btn.ajax_load {
    cursor: progress;
    color: #6c757d;
}

@-webkit-keyframes progress{
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -70px 0px;
  }
}
@-moz-keyframes progress{
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -70px 0px;
  }
}    
@-ms-keyframes progress{
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -70px 0px;
  }
}    
@keyframes progress{
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -70px 0px;
  }
} 
}

.flash {
  position: relative;
}
.flash:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    z-index: 0;
    border-radius: 0.5rem;

    opacity: 0; 
    background-color: rgb(254 252 210 / 70%);
    border: 1px dashed #e5a873 !important;
    animation: opacityOn 3s normal forwards;
    /*animation-delay: 1s;*/
}

@keyframes opacityOn {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    /*50% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }*/
    100% {
        opacity: 0;
    }
}


.fade-in {
  opacity: 1;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 1s;
}

@keyframes fadeInOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}