@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css");

/*-------------------------------------------------------Defaults*/

:root {
  --blue: #357be0;
  --lightblue: #499ef5;
  --bluesmoke: #f8fbfe;
  --white: #fff;
  --dark: #124265;
}

* {
  margin: 0;
  padding: 0;
  border: none;
}

body {
    font-family: "Open Sans", sans-serif;
    color: #444444;

  }
  
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: "Raleway", sans-serif;
  }

  hr {
    margin: 0.5rem 0;
    opacity: .07;
  }

  a {
    color: var(--blue);
    text-decoration: none;
  }
  
  a:hover {
    color: var(--lightblue);
    text-decoration: none;
  }
  
  /*----------------------------------------------------Loader*/
  #loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: var(--white);
  }
  
  #loader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid var(--blue);
    border-top-color: var(--white);
    border-bottom-color: var(--white);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: animate-loader 1s linear infinite;
    animation: animate-loader 1s linear infinite;
  }
  
  @-webkit-keyframes animate-loader {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes animate-loader {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }
  
  /* disable for mobile devices */
  @media screen and (max-width: 768px) {
    [data-aos-delay] {
      transition-delay: 0s !important;
    }
  }

  /*----------------------------------------------------Header*/
  #header {
    transition: all 0.5s;
    background: var(--white);
    z-index: 997;
    padding: 15px 0;
    box-shadow: 2px 2px 2px 2px #e6ecf1;
  }
  
  #header.header-scrolled {
    border-color: var(--white);
    box-shadow: 2px 2px 5px 3px rgba(230, 236, 241, 0.3);
  }
  
  #header .logo-wrapper {
    display: flex;
    align-items: center;
  }
  
  #header .logo {
    font-size: 28px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: "Poppins", sans-serif;
  }
  
  #header .logo a {
    color: #16507b;
  }
  
  #header .logo img {
    max-height: 40px;
  }

  #header #user-name {
    color:rgba(28, 89, 131, 0.8);
    font-size: 15px;
    padding-right: 10px;
  }
  
  #small-img-logo {
    height:40px;
    width: 50px;
    background: url("https://res.cloudinary.com/helpu/image/upload/v1663294579/static/assets/img/logo_small.215b38260b33.png") center center no-repeat;
    background-size: cover;
    margin: 0 10px 5px 10px;
    opacity: 0;
  }
  
  #small-img-logo.small-logo-scrolled {
  opacity: 1;
  background-size: contain;
  }
  
  @media (max-width: 992px) {
    #header .logo {
      font-size: 28px;
    }
  }
  
  /*----------------------------------------------------Navigation Menu*/
  /* Desktop Navigation */
  .navbar {
    padding: 0;
  }

  #count {
    font-size: 10px;
  }

  .navbar ul, .auth-gr ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }
  
  .navbar li {
    position: relative;
  }

  .navbar ul li .auth {
    color: rgb(10 64 151);
    font-weight: 600;
  }

  .navbar ul li .auth:hover {
    color: rgb(10, 105, 207);
  }
  
  .navbar a,
  .navbar a:focus,
  .auth {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 30px;
    font-size: 14px;
    color: #16507b;
    white-space: nowrap;
    transition: 0.3s;
  }
  
  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }
  
  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    color: var(--blue);
  }
  
  /* Mobile Navigation */

  .mobile-nav-toggle {
    color: var(--dark);
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
  }
  
  .mobile-nav-toggle.bi-x {
    color: var(--dark);
  }
  
  @media (max-width: 991px) {
    .mobile-nav-toggle {
      display: block;
    }

    .navbar li {
      margin-left: 5%;
    }
  
    .navbar ul {
      display: none;
    }
  }
  
  .navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 70%);
    transition: 0.4s;
    z-index: 999;
    height: 23em;
    box-shadow: 0px 2px 6px 1px #e6ecf1;
  }
  
  .navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2em;
  }
  
  .navbar-mobile ul {
    display: block;
    position: absolute;
    top: 78px;
    right: 0;
    bottom: 15px;
    left: 0;
    padding: 10px 0;
    background-color: var(--white);
    overflow-y: auto;
    transition: 0.4s;
  }
  
  .navbar-mobile a,
  .navbar-mobile a:focus {
    padding: 10px 20px;
    font-size: 15px;
    color: var(--dark);
  }
  
  .navbar-mobile a:hover,
  .navbar-mobile .active,
  .navbar-mobile li:hover>a {
    color: var(--lightblue);
  }

  /*----------------------------------------------------Hero Section*/
  #msg {
    z-index: 999;
    opacity: 0.75;
    margin-bottom: -90px;
  }

  .msg-box {
    height: 0px;
  }

 .img-logo {
    height: 35vh;
    width: auto;
  }

  #hero {
    width: 100%;
    height: 95vh;
    background: url("https://res.cloudinary.com/helpu/image/upload/v1663294580/static/assets/img/background.145114735217.png") top center;
    background-size: cover;
    z-index: 1;
  }
  
  #hero:before {
    content: "";
    background: rgba(255, 255, 255, 0.7);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
  }
  
  #hero .container {
    padding-top: 80px;
  }
  
  #hero #slogan {
    margin: 0;
    font-size: 56px;
    font-weight: 700;
    line-height: 72px;
    color: var(--dark);
    font-family: "Poppins", sans-serif;
  }
  
  #hero h2 {
    color: #5e5e5e;
    margin: 10px 0 0 0;
    font-size: 21px;
  }
  
  #hero .btn-hero {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.6px;
    display: inline-block;
    padding: 16px 56px;
    border-radius: 5px;
    transition: 0.5s;
    margin: 30px 5px 0 5px;
    color: var(--white);
    background: var(--blue);
  }
  
  #hero .btn-hero:hover {
    background: var(--lightblue);
  }
  
  .arrow {
    transition: opacity 1s;
    text-align: center;
    color: #96aebe;
    font-size: 25px;
    margin: -40px -6px 0;
    opacity: 1;
    z-index: 100;
  }
  
  .arrow.arrow-scrolled {
    animation: fadeOut 1.5s;
    opacity: 0;
  }
  
  @media (min-width: 1024px) {
    #hero {
      background-attachment: fixed;
    }
  }
  
  @media (max-height: 800px) {
    #hero {
      height: auto;
    }
  }
  
  @media (max-width: 992px) {
    #hero {
      height: auto;
    }
  
    #hero h1 {
      font-size: 28px;
      line-height: 36px;
    }
  
    #hero h2 {
      font-size: 18px;
      line-height: 24px;
    }

  }
  
  /*----------------------------------------------------Sections Defaults*/
  main {
    z-index: 2;
  }
  
  section,
  #search,
  #messenger {
    padding: 80px 0;
    overflow: hidden;
  }
  
  .section-bg {
    background-color: var(--bluesmoke);
  }
  
  .section-title {
    text-align: center;
    padding-bottom: 30px;
  }
  
  .section-title h2 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 0;
    color: var(--dark);
  }
  
  .section-title p {
    margin-bottom: 0;
    font-size: 14px;
    color: #919191;
  }
  
  /*----------------------------------------------------About*/
  .about .content h3 {
    font-weight: 600;
    font-size: 26px;
  }
  
  .btn-learn-more {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 5px;
    transition: 0.3s;
    line-height: 1;
    color: #2487ce;
    background: var(--white);
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
    margin-top: 30px;
    border: 2px solid #2487ce;
    width: auto;
  }
  
 .btn-learn-more:hover {
    background: #2487ce;
    color: var(--white);
    text-decoration: none;
  }

   /*----------------------------------------------------Frequently Asked Questions*/
  .faq .faq-list {
    padding: 0 100px;
  }
  
  .faq .faq-list ul {
    padding: 0;
    list-style: none;
  }
  
  .faq .faq-list li+li {
    margin-top: 15px;
  }
  
  .faq .faq-list li {
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    position: relative;
  }
  
  .faq .faq-list a {
    display: block;
    position: relative;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    padding: 0 30px;
    outline: none;
    cursor: pointer;
  }
  
  .faq .faq-list .icon-help {
    font-size: 24px;
    position: absolute;
    right: 0;
    left: 20px;
    color: #87c1ea;
  }
  
  .faq .faq-list .icon-show,
  .faq .faq-list .icon-close {
    font-size: 24px;
    position: absolute;
    right: 0;
    top: 0;
  }
  
  .faq .faq-list p {
    margin-bottom: 0;
    padding: 10px 20px 0 30px;
  }
  
  .faq .faq-list .icon-show {
    display: none;
  }
  
  .faq .faq-list a.collapsed {
    color: #343a40;
  }
  
  .faq .faq-list a.collapsed:hover {
    color: #2487ce;
  }
  
  .faq .faq-list a.collapsed .icon-show {
    display: inline-block;
  }
  
  .faq .faq-list a.collapsed .icon-close {
    display: none;
  }
  
  @media (max-width: 1200px) {
    .faq .faq-list {
      padding: 0;
    }
  }

  /*----------------------------------------------------Contact*/
  .contact .contact-form {
    width: 100%;
    background: var(--white);
  }
  
  .contact .contact-form .form-group {
    padding-bottom: 8px;
  }
  
  .contact .contact-form .error-message, 
  #comment .error-message {
    display: none;
    color: var(--white);
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    font-weight: 600;
  }
  
  .contact .contact-form .error-message br+br 
  #comment .error-message br+br {
    margin-top: 25px;
  }
  
  .contact .contact-form .sent-message {
    display: none;
    color: var(--white);
    background: #18d26e;
    text-align: center;
    padding: 15px;
    font-weight: 600;
  }
  
  .contact .contact-form .loading {
    display: none;
    background: var(--white);
    text-align: center;
    padding: 15px;
  }
  
  .contact .contact-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    -webkit-animation: animate-loading 1s linear infinite;
    animation: animate-loading 1s linear infinite;
  }
  
  .contact .contact-form input,
  .contact .contact-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    border-radius: 4px;
  }
  
  .contact .contact-form input:focus,
  .contact .contact-form textarea:focus {
    border-color: var(--lightblue);
  }
  
  .contact .contact-form input {
    height: 44px;
  }
  
  .contact .contact-form textarea {
    padding: 10px 12px;
  }
  
  .contact .contact-form button[type=submit] {
    background: #2487ce;
    border: 0;
    padding: 10px 30px;
    color: #fff;
    transition: 0.4s;
    border-radius: 4px;
  }
  
  .contact .contact-form button[type=submit]:hover {
    background: #3194db;
  }
  
  @-webkit-keyframes animate-loading {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes animate-loading {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }

  /*----------------------------------------------------Search*/
  #search {
    background: url("https://res.cloudinary.com/helpu/image/upload/v1663294580/static/assets/img/background.145114735217.png") top center;
    background-size: cover;
    height: 370px;
  }

  #search::before{
    content: "";
    background: rgba(255, 255, 255, 0.7);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
  }

  .search-logo {
    height: 140px;
    width: auto;
  }

  .form-control:focus ~ #search-button {
   transform: scale(1.2);
   transition: .15s ease-in-out,box-shadow .15s ease-in-out;
   z-index: 5;
  }

  /*----------------------------------------------------Listings*/
  #listings{
    display: flex;
    justify-content: center;
  }

  .card-title {
    font-size: 17px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: auto;
    margin-top: 3%;
  }

  #listings .card-img-top {
    aspect-ratio: 1/1;
    height: fit-content;
  }

  .subtitle {
    font-size: 15px;
    margin-bottom: auto;
    margin-top: -1px;
  }

  #listings .author {
    font-weight: 600;
    color: var(--dark);
  }

  #listings .author i {
    opacity: .7;
    font-size: 15px;
  }

  #listings .card .card-body p.h6{
    font-size: 14px;
    margin-bottom: auto;
    letter-spacing: -0.5px;
  }

  .line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    height: 4.5em;
  }

  .new-post {
    margin-top: -80px !important;
    position: relative;
  }

  /*----------------------------------------------------Full Post Page*/
    #full-post h2{
      margin: 0;
      font-size: 32px;
      font-weight: 600;
      line-height: 44px;
      color: var(--dark);
      font-family: "Poppins", sans-serif;
    }

    #full-post img {
      overflow: hidden;
      max-height: 70vh;
      min-width: 38vw;
      object-fit: contain;
      margin-bottom: 20px;
      min-inline-size: -webkit-fill-available;
    }

    #full-post .created {
      font-size: 13px;
      margin-bottom: -6px;
      padding-left: 2px;
    }

    #full-post .comment img {
      min-width: auto;
    }

    @media (max-width: 500px) {
      iframe {
        width: 95vw
      }
    }

  /*----------------------------------------------------Profile*/

    #saved-posts .accordion-button {
      background: var(--bluesmoke);
      padding: 15px;
      color: var(--lightblue);
    }

    #saved-posts .accordion-body:last-child {
      padding-bottom: 0;
    }

    #profile i {
    color: var(--lightblue);
    }

    #profile .btn-primary {
      background: var(--lightblue);
      border: var(--lightblue);
    }

    #profile .btn-primary:hover {
      background: var(--blue);
      color: #fbee85;
    }

    body section div div form img {
      width: -webkit-fill-available;
      max-width: 400px;
      height: auto;
    }

    #div_id_userpic div div.input-group.mb-2,
    #div_id_image div div.input-group.mb-2 {
      display: none;
    }

  /*----------------------------------------------------Chat*/
    #js-framework-home {
      min-height: 55vh;
      height: fit-content;
      margin-bottom: -50px;
    }

    .sender {
      font-style: italic;
      font-size: 13px;
      color: #8391a4 !important;
    }

    .react-link {
      font-size: 17px;
      color: var(--bluesmoke);
    }

    .react-link:hover {
    text-decoration: underline;
    color: var(--white);
}

  /*----------------------------------------------------Account*/
    .login-block {
      margin-top: 6%;
    }

    .login-block .card-body {
      background-color: var(--bluesmoke);
      padding: 1.3em;
    }

    .login-block .form-label {
      margin-bottom: 5px;
    }

    .login-block .card-title {
      margin-top: 0;
      font-size: 19px;
    }

    .separator {
      display: flex;
      align-items: center;
      text-align: center;
      color: rgb(194, 196, 215);
      font-size: 14px;
    }
    
    .separator::before,
    .separator::after {
      content: '';
      flex: 1;
      border-bottom: 1px solid rgb(228 232 243);
    }
    
    .separator:not(:empty)::before {
      margin-right: .25em;
    }
    
    .separator:not(:empty)::after {
      margin-left: .25em;
    }

    form.password_reset, form.password_set, form.password_change, form.pass_change {
      width: 250px;
      display: flex;
      align-self: center;
      flex-direction: column;
    }

  /*----------------------------------------------------Footer*/
  #footer {
    color: #444444;
    font-size: 14px;
    background: var(--bluesmoke);
    box-shadow: 0px 2px 15px rgba(18, 66, 101, 0.08);
    z-index: 100;
  }
  
  #footer .footer-top {
    padding: 60px 0 30px 0;
    background: url(https://res.cloudinary.com/helpu/image/upload/v1663294581/static/assets/img/grateful.b05f86821b88.png) right bottom no-repeat;
  }
  
  #footer .footer-top .footer-info {
    margin-bottom: 30px;
  }
  
  #footer .footer-top .footer-info h3 {
    font-size: 26px;
    margin: 0 0 10px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    font-weight: 300;
  }
  
  #footer .footer-top .footer-info p {
    font-size: 11px;
    color: #8895a4;
    line-height: 24px;
    margin-bottom: 0;
    font-family: "Raleway", sans-serif;
  }
  
  #footer .footer-top h4 {
    font-size: 16px;
    font-weight: bold;
    color: var(--dark);
    position: relative;
    padding-bottom: 12px;
  }
  
  #footer .footer-top .footer-links {
    margin-bottom: 30px;
  }
  
  #footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  #footer .footer-top .footer-links ul i {
    padding-right: 2px;
    color: #2487ce;
    font-size: 18px;
    line-height: 1;
  }
  
  #footer .footer-top .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    margin-left: -8px;
  }
  
  #footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
  }
  
  #footer .footer-top .footer-links ul a {
    color: #777777;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
  }
  
  #footer .footer-top .footer-links ul a:hover {
    text-decoration: none;
    color: var(--blue);
  }
  
  #footer .footer-top .social ul li a i:hover {
    color: #42aaf3;
  }

  #footer .footer-top .footer-links .social:hover {
    color: var(--blue);
    text-shadow: 2px 2px 2px #707c8f;
  }

  @media (max-width: 460px){
    #footer .footer-top .social {
    margin-bottom: 0;
    }

    #footer .footer-top .social ul li {
      margin-left: 85px;
    }

    .navbar-mobile ul {
      top: 62px;
    }
  }

  .fade-in-image { 
    animation: fadeIn 6s !important; 
  }

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

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

  /*----------------------------------------------------Back to the top*/
  .back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: var(--lightblue);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
  }
  
  .back-to-top i {
    font-size: 28px;
    color: var(--white);
    line-height: 0;
  }
  
  .back-to-top:hover {
    background: #3e88dd;
    color: var(--white);
  }
  
  .back-to-top.active {
    visibility: visible;
    opacity: 1;
  }

  .geo {
    color:#069; 
    cursor:pointer;
}

.preview {
    display:none;
    position:absolute;
    border:1px solid #000;
    width:300px;
    height:300px;
    z-index: 999;
}

