@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
  scroll-behavior: initial;
  --shadowSize: 10px;
  --shadowColor: grey;
}

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
}
a:hover,
a:focus,
a:active {
  text-decoration: none;
}
ol,
ul {
  margin: 0;
  padding: 0;
}
img {
  display: block;
}
a {
  transition: 0.4s linear;
  -webkit-transition: 0.4s linear;
  text-decoration: none;
}

.border_1_silver {
  border: 1px solid #f7f7f8;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.txt_dark {
  color: #323743 !important;
}

.txt_silver {
  color: #777c89 !important;
}

.txt_blue {
  color: #1e64dd !important;
}

.fs_18 {
  font-size: 18px !important;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  padding-bottom: 120px;
}

.main-wrpper {
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.menumodal {
  padding-right: 0 !important;
}
.menumodal .modal-dialog {
  transform: inherit !important;
  width: 288px !important;
  margin-left: auto !important;
}
.menumodal .modal-dialog .modal-content {
  background: #ffffffff;
  border-radius: 0px;
  box-shadow:
    0px 0px 1px #171a1f5c,
    0px 0px 2px #171a1f47;
  border: none;
}
.menumodal .modal-dialog .modal-content .modal-body {
  padding: 0;
}
.modal_logo {
  padding: 25px 20px;
}
.modal_logo a img {
  width: 96px;
}
.menu-list {
  margin: 0;
  padding: 0 0 150px 0;
  border-bottom: 1px solid #dee1e6ff;
}
.menu-list li {
  list-style: none;
}
.menu-list li a {
  display: flex;
  align-items: center;
  position: relative;
  padding: 15px 0 15px 20px;
  font-size: 16px;
  font-weight: 400;
  color: #3a3a3a;
}
.menu-list li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #1e64dd;
  opacity: 0;
  transition: all 0.2s ease-out;
}
.menu-list li a:hover::before,
.menu-list li a.active::before {
  opacity: 1;
}
.menu-list li a:hover {
  color: #1e64dd;
}
.menu-list li a.active {
  color: #1e64dd;
  font-weight: 600;
}
.menu-list li a i {
  font-size: 20px;
  margin-right: 10px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.asmodal-footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  border-top: 1px solid #bdc1caff;
  font-size: 16px;
  color: #000;
  padding: 10px 15px;
}

/* sticky_form */
.sticky_form {
  background: #fff;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  padding-top: 5px;
  padding-bottom: 5px;
  z-index: 999;
}

.sticky_form .advise-form {
  background-color: #fff;
}

.sticky_form form {
  box-shadow: none !important;
  display: flex;
  align-items: center;
}

.sticky_form form a {
  display: block;
  padding: 9px 14px !important;
  min-width: 135px !important;
}

.sticky_form form a img {
  margin-left: 0 !important;
}

.main_wrap {
  padding-bottom: 100px;
}

@media (max-width: 480px) {
  .sticky_form form a {
    font-size: 12px !important;
    min-width: 120px !important;
    padding: 8px 12px !important;
  }
  .sticky_form .advise-form form a img {
    width: 18px;
    margin-left: 6px;
  }
}

/* Toast CSS */

#toast {
  visibility: hidden;
  background-color: #333;
  color: white;
  border-radius: 5px;
  padding: 16px;
  position: fixed;
  width: inherit;
  z-index: 1000;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 16px;
  bottom: 30px;
  font-size: 14px;
  display: grid;
  grid-template-columns: auto 38px;
  align-items: center;
  gap: 16px;
}

#toast.show {
  visibility: visible;
}
#toast.show #toast-close {
  height: 38px;
  width: 38px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
#toast.success {
  color: var(--Light-Text-Tertiary, #fff);
  background: var(--Light-States-Green, #06a976);
}
#toast.error {
  color: var(--Light-Support-Red, #f64a4a);
  background: linear-gradient(90deg, #fff3f3 0%, #ffe8e8 100%);
}
#toast.success #toast-close {
  background-color: rgba(28, 132, 100, 0.6);
}
#toast.error #toast-close {
  border: 1px solid var(--Light-Support-Divider, #ebecef);
  background: rgba(255, 255, 255, 0.4);
}
@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

/* End Toast CSS */

/* CSS For Logged In User in header */
header ul li a .profile-pic {
  width: 40px;
  height: 40px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.main-wrpper header ul li .google-auth-button {
  padding: 10px;
  background: #fff6f1;
  color: #eb7623;
  border-radius: 5px;
  font-size: 16px;
}

/* CSS for tooltip box */
#tooltip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #777c89;
  margin-top: 30px;
  margin-bottom: 15px;
  background: #f3f4f6;
  position: relative;
  width: 100%;
  padding: 10px;
  box-shadow: 0 3px var(--shadowSize) var(--shadowColor);
  border-radius: 10px;
}

#tooltip:before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  width: 10px;
  height: 10px;
  background: #f3f4f6;
  box-shadow: 0px 0px var(--shadowSize) var(--shadowColor);
  transform: translate(50%, -50%) rotate(-45deg);
  clip-path: polygon(
    calc(var(--shadowSize) * -1) calc(var(--shadowSize) * -1),
    calc(100% + var(--shadowSize)) calc(var(--shadowSize) * -1),
    calc(100% + var(--shadowSize)) calc(100% + var(--shadowSize))
  );
}
#tooltip img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
}
