/**
  1.Fonts
  2.General
  3.Bootstrap Customization
  4.Loading
  5.Preloader
  6.Notification
  7.Lazyload
*/

/* Fonts */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("poppins/regular.woff2") format("woff2"),
    url("poppins/regular.woff") format("woff");
}

@font-face {
  font-family: "Poppins Thin";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url("poppins/thin.woff") format("woff"),
    url("poppins/thin.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins Light";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("poppins/light.woff") format("woff"),
    url("poppins/light.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins Medium";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("poppins/medium.woff") format("woff"),
    url("poppins/medium.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins Semibold";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("poppins/semibold.woff") format("woff"),
    url("poppins/semibold.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins Bold";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("poppins/bold.woff") format("woff"),
    url("poppins/bold.woff2") format("woff2");
}

[class^="flaticon-"]:before,
[class*=" flaticon-"]:before,
[class^="flaticon-"]:after,
[class*=" flaticon-"]:after {
  font-size: inherit;
  margin-left: 0px;
}

/* General */

html,
body {
  overflow-x: hidden;
  /* Prevent scroll on narrow devices */
  width: 100%;
  height: 100%;
}
::-webkit-scrollbar {
  width: 4px;
  -webkit-appearance: none;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/** Bootstrap Customization */
a.link {
  text-decoration: none;
}
.form-control {
  font-size: 0.815rem;
  letter-spacing: 0.5px;
  height: 44px;
  border-radius: 0px;
  border: 0;
  border-bottom: 1px solid;
}
.form-control:focus,
.custom-select:focus {
  box-shadow: none;
}
.help-block.invalid-feedback {
  display: block;
}
.rounded-pill {
  padding: 0.35rem 1.5rem;
}
.modal-sm {
  max-width: 420px;
  margin: 1.75rem auto;
}
.alert {
  z-index: 1051;
}

/** Loading */

#loadingModal .modal-dialog {
  position: relative;
}
#loadingModal .modal-content {
  background-color: transparent;
  border: 0px;
}
.loader {
  border: 2px solid;
  border-radius: 50%;
  border-top: 2px solid;
  width: 25px;
  height: 25px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  margin: 0 auto;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Preloader */

.preloader {
  width: 100%;
  height: 100%;
  position: fixed;
  text-align: center;
  z-index: 99999;
}

.ripple-loader {
  display: inline-block;
  position: relative;
  width: 70px;
  height: 70px;
  top: 45%;
}

.ripple-loader div {
  position: absolute;
  border: 4px solid;
  opacity: 1;
  border-radius: 50%;
  animation: ripple-loader 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.ripple-loader div:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes ripple-loader {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}

.preload * {
  -webkit-animation-play-state: paused !important;
  -moz-animation-play-state: paused !important;
  -ms-animation-play-state: paused !important;
  -o-animation-play-state: paused !important;
  animation-play-state: paused !important;
}

/* Notification */

.ns-box {
  z-index: 9999999999;
  padding: 15px 20px !important;
}
.ns-close::before,
.ns-close::after {
  width: 1px !important;
  height: 75% !important;
}
.ns-box span.flaticon-exclamation::before {
  font-size: 1.125rem;
}
.ns-box p {
  display: inline-block;
  vertical-align: bottom;
  padding: 0.25em 2em 0.25em 1em !important;
}

/* Lazyload */

.lazyload {
  opacity: 0;
}

div.embed-responsive.lazyloading,
iframe.lazyloading {
  opacity: 1;
  transition: opacity 300ms;
  background: url("../images/loading.gif") no-repeat center;
  background-size: 25px 25px;
}
img.lazyload:not([src]),
img.lazyloaded:not([src]) {
  visibility: hidden;
}