@import url('components.css');
/********** Template CSS **********/
:root {
  --primary: #4caf50;
  --secondary: #61ba6d;
  --tertiary:#83c331 ;
  --light: #F7FAFF;
  --dark: #1D1D27;
  --dark-purple: #302a39;
  
}

body{
  font-size: 1.1rem;
  background: #fff;
  line-height: 26px;
  font-family: work sans,Roboto,sans-serif;
}

*::-webkit-scrollbar {
  width: 10px;
}

*::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover {
  background: #555;
}

*::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.bg-primary-custom {
    background-color: var(--primary) !important;
    
}
.bg-secondary-custom {
  background-color: var(--secondary) !important;
  
}

.bg-secondary-custom-gradient {
  background: linear-gradient(to right, var(--secondary), var(--tertiary)) !important;
 
}

.bg-tertiary{
  background-color: var(--tertiary) !important;

}

.bg-tertiary-gradient{
  background: linear-gradient(to left, var(--secondary), var(--tertiary)) !important;
 
}

.navbar-brand{font-size: xx-large;}
/************* Links ***************/
a{
  text-decoration: none;
}
/**********Buttons*****/
.btn-primary-custom{
  background: var(--primary) !important;
}
.btn-secondary-custom {
  background: linear-gradient(to right, var(--secondary), var(--tertiary)) !important;
  transition: 0.5s;
  border-color: transparent;
}
.btn-secondary-custom:hover {
  background: linear-gradient(to left, var(--secondary), var(--tertiary)) !important;
  
}

.btn-dark-purple {
  background: var(--dark-purple) !important;
}


/********************************** AJAX LOADER *********************/
.ajax-loader-container {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0%;
  background: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
  z-index: 1000;
}
.ajax-loader {
  display: inline-block;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 45%;
  left: 47%;
  z-index: 1000;
}
.ajax-loader-body {
  content: "";
  position: absolute;
  height: 100%;
  background: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
  z-index: 1000;
}
.ajax-loader div {
  display: inline-block;
  position: absolute;
  left: 8px;
  width: 16px;
  background: #fff;
  animation: ajax-loader 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;

  height: 20px;
}
/* web safe colors: https://www.w3schools.com/colors/colors_shades.asp**/
.ajax-loader div:nth-child(1) {
  left: 8px;
  animation-delay: -0.24s;
  background-color: var(--primary);
  border-radius: 3px;
}
.ajax-loader div:nth-child(2) {
  left: 32px;
  animation-delay: -0.12s;
  background-color: var(--secondary);
  border-radius: 3px;
}
.ajax-loader div:nth-child(3) {
  left: 56px;
  background-color: var(--tertiary);
  border-radius: 3px;
}
@keyframes ajax-loader {
  0% {
    top: 6px;
    height: 51px;
  }
  50%,
  100% {
    top: 19px;
    height: 26px;
  }
}


/***********Separator ***********/
.separator {
  height: 1px;
  margin: 20px 0px;
  background: #e8d5d5;
  position: relative;
}
.separator:after {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 40%;
  background: var(--primary);
  content: "";
}
/***********Form Fields *********/
.form-label{
  font-weight: bold;
}

/****Pagination Links *****/
.active>.page-link, .page-link.active {
  z-index: 3;
  color: var(--bs-pagination-active-color);
  background-color: var(--primary);
  border-color: var(--primary);
}



/*FOOTER WIDGET SECTION */

.footer_widget {
  background: #1a1a1a;
  color: var(--light);
  background-size: cover;
  margin-top: 1px;
}
.footer_widget .main_widget {
  padding: 55px 15px 10px 15px;
  overflow: hidden;
}
.main_widget a {
  text-decoration: none;
  color: var(--light);
}

.single_widget {
  margin-bottom: 30px;
}

.single_widget li.single_latest_news {
  margin-bottom: 20px;
}

/*footer section*/
.footer {
  background: #000000;
}
.footer .main_footer {
  overflow: hidden;
  padding: 40px 0px;
  margin-bottom: 50px;
}
.footer .flowus {
  text-align: right;
}
.footer .flowus a i {
  color:var(--light);
  font-size: 1.3rem;
  padding: 5px;
  border-radius: 0;
  width: 33px;
  height: 30px;
  text-align: center;
  line-height: 18px;
  margin-right: 5px;
  margin-top: 10px;
}
.footer .flowus a i:hover {
  border: 1px solid var(--primary);
}

.copyright_text {
  text-align: left;
}
.copyright_text p {
  color: #fff;
  line-height: 25px;
  max-width: 100%;
  padding-top: 15px;
}

.copyright_text p a {
  padding: 0px 10px;
  color: var(--primary);
}


.facebook-bg {
  background-color: #3b5998;
}
.twitter-bg {
  background-color: #55acee;
}
.google-plus-bg {
  background-color: #dd4b39;
}
.github-bg {
  background-color: #4183c4 !important;
}
.fa-whatsapp  {
  color:#fff;
  background:
  linear-gradient(#25d366,#25d366)10px 84%/10px 15px no-repeat,
  radial-gradient(#25d366 60%,transparent 0);
}
.instagram-bg {
  background: #f09433;
  background: -moz-linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  background: -webkit-linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}


/********Ranks *******/

/**** Librarian ****/
.fa-star.rank {
  color: #c94c4c;
}
/**** Moderator ****/
.fa-shield-alt.rank {
  color: #a77044;
}
/**** Manager ****/
.fa-medal.rank {
  color: #a7a7ad;
}
/**** Admin ****/
.fa-award.rank {
  color: gold;
}



@media only screen and (max-width: 600px) {
  .before-sticky-ad {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .navbar-brand {
    display: none;
  }
  .navbar-nav .open .dropdown-menu {
    background-color: white;
  }
  .copyright_text {
    text-align: center;
  }
  .footer_socail {
    text-align: center;
  }

  .single_widget ul li a i {
    width: 3%;
    margin-right: 2%;
  }
  .footer_widget {
    text-align: center;
  }
  .flowus {
    text-align: center !important;
  }
  .copyright_text {
    text-align: center;
  }
  .page-loader {
    left: 15%;
  }
}

@media (max-width: 576px) {
  .page-loader {
    left: 7%;
  }
  
  .before-sticky-ad {
    display: flex !important;
  }
}
@media (max-width: 464px) {
  .page-loader {
    left: -10%;
  }
}
