.was-validated .form-control:invalid, .form-control.is-invalid {
    border-color: #e3342f;
    padding-right: calc(1.6em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23e3342f' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23e3342f' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.4em + 0.1875rem) center;
    background-size: calc(0.8em + 0.375rem) calc(0.8em + 0.375rem);
}
.invalid-feedback {
    color: #e3342f;
}
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    padding-bottom: 100px;
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 2%;
    padding-bottom: 50px;
    border: 1px solid #888;
    width: 90%;
    max-width: 650px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 5px;
  }
  #loginModal .modal-content {
      max-width: 400px;
  }
  /* Add Animation */
  @-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
  }
  
  @keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
  }
  
  /* The Close Button */
  .close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding-top: 12px;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  
  .modal-header {
    padding: 2px 16px;
    color: rgb(0, 0, 0);
  }
  
  .modal-body {padding: 2px 16px;}
  
  .modal-footer {
    padding: 2px 16px;
    color: rgb(0, 0, 0);
    min-height: 40px;
  }
  h5.modal-title {
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
  }

  @media  (max-width: 1120px) {
    nav {
        display: block;
        z-index: 10;
    }
    nav ul {
        position: fixed;
        width: 100%;
        background: rgba(0, 0, 0, 0.70);
        backdrop-filter: blur(10px);
        top: 104px;
        left: -100%;
        transition: all .5s;
    }

    nav ul li {
        display: block;
        /* margin: 20px 20px; */
        line-height: 20px;
    }
    nav > ul > li {
        margin: 20px 20px;
    }
    nav ul li a {
        font-size: 20px;
    }
    nav ul li ul li:hover {
        background-color: #4c4c4c;
    }
    ul li:hover > ul, ul li:focus-within > ul, ul li ul:hover {
        display: none;
        visibility: unset;
        opacity: unset;
    }
    ul li ul:focus {
        display: block;
        visibility:visible;
        opacity: 1;  
    }
    .checkbtn {
        display: block;
        margin-top: 38px !important;
      }
    .dropdown {
        margin-top: 1.5rem;
        visibility: visible;
        opacity: 1;
        display: none;
        background-color:  unset;
        border-radius: unset;
        padding:  unset;
        font-size:  unset;
        position: unset;
        top: unset;
        transform: translateX(-1000px);
        transition: .6s ease opacity,.6s ease transform;
    }
    .dropdown li {
        width: 100%;
        float: unset;
        border-bottom: unset;
        padding: 20px;
    }
    .dropdown li a {
        color: white;
    }
      a:active {
        background: none;
        color: #0f2231;
      }
      #check:checked ~ ul {
        left: 0;
      }
      .banner-container {
        white-space:  pre-line;
        padding: 2%;
      }
      .banner-container-homepage {
        white-space:  pre-line;
        padding: 2%;
      }     
  }
  @media  (max-width: 500px)  {
    .banner-container {
        white-space:  pre-line;
        top:30%;
      }
      .banner-container-homepage {
        white-space:  pre-line;
        top:30%;
      }
      img#scroll-up-icon{
          right: 1em;
          bottom: 1em;
          width: 15%;
      }     
  }
 .nav-item {
    background-color: unset;
 }
 .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}
.dropdown-menu {
    background-color: #ffffff;
    border-radius: 5px;
    position: absolute;
    margin-top: 8px;
}
.dropdown-item {
    display: block;
    margin: 5px 0;
}
.dropdown-item a{
    color: black;
    text-align: center;
}
.my-dropdown a{
    font-size: small;
}