/* ———————————FOR ALL PAGES (ACCOUNT FOR STICKY NAVBAR)——————————— */
body {
    padding-top: 66px; /* This should be equal to the height of your header, helps with overlap of sticky navbar */
}

/* ———————————FOR HOMEPAGE BACKGROUND——————————— */
    #bg {
        width: 100%;
        height: 100vh;
        background-color: #262b30;
        object-fit: cover;
        z-index: -2;
        position: fixed;
        overflow: hidden;
        top: 0;
    }

    #bg-overlay {
        position: fixed; /* Sit on top of the page content */
        width: 100%; /* Full width (cover the whole page) */
        height: 100%; /* Full height (cover the whole page) */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.413); /* Black background with opacity */
        z-index: -1; /* Specify a stack order in case you're using a different order for other elements */
        cursor: pointer; /* Add a pointer on hover */
    }


/* ————————————FOR ABOUT PAGE————————————— */  
    #about-hero {
        color: white;
    }

    #about-hero-img {
        width: 100vw;
        height: 160px;
        display: block;
        background-color: #262b30;
        object-fit: cover; 
        z-index: -2;
        position: absolute;
        overflow: hidden;
    }

/* ————————————FOR MANUAL FORM————————————— */
    #manual-form {
        background-color: rgba(255, 255, 255, 0.598);
        color: black;
        border-radius: 15px;
    }

    #manual-form-toggle-text {
        color: white;
    }

    /* FOR TURNING CARET ON HOME PAGE */
    .fa-caret-right{
        transform: rotate(0deg);
        transition: transform 0.1s linear;
    }

    .fa-caret-right.open{
        transform: rotate(90deg);
        transition: transform 0.1s linear;
    }

    /* for removing up down arrows on numerical inputs */
        /* Chrome, Safari, Edge, Opera */
        input::-webkit-outer-spin-button,
        input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        /* Firefox */
        input[type=number] {
            appearance: none;
            -moz-appearance: textfield;
        }

    #clear-form-button {
        background: none!important;
        border: none;
        padding: 0!important;
        text-decoration: underline;
        cursor: pointer;
    }


/* ————————————FOR LOADING PAGE—————————— */
    #overlay {
        position: fixed; /* Sit on top of the page content */
        display: none; /* Hidden by default */
        width: 100%; /* Full width (cover the whole page) */
        height: 100%; /* Full height (cover the whole page) */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.684); /* Black background with opacity */
        z-index: 10000; /* Specify a stack order in case you're using a different order for other elements */
        cursor: wait; /* Add a pointer on hover */
    }

      #overlay-content {
        min-height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.5rem;
      }

    #overlay-box {
        display: none;
        position: relative;
        z-index: 10010;
        background-color: #262b30;
        color: white;
        width: min(400px, calc(100vw - 3rem));
        min-height: 190px;
        padding: 1.5rem 1.5rem 1.25rem;
        border-radius: 5px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

      #overlay-title {
        margin: 0;
      }

    #overlay-text {
        font-size: 1rem;
        margin: 0;
        max-width: 22rem;
    }

    #loading {
        text-align: center;
        width: 4rem;
        height: 4rem;
        margin: 10px auto;
        border: 5px solid #f3f3f3;
        border-top: 6px solid #9c41f2;
        border-radius: 100%;
        visibility: hidden;
        animation: spin 1s infinite linear;
        z-index: 10020;
        flex: 0 0 auto;
    }

    #loading.display {
        visibility: visible;
    }

    @keyframes spin {
        from {
            transform: rotate(0deg);
        }
        to {
            transform: rotate(360deg);
        }
    }


/* ————————————FOR MODAL——————————— */
    td {
        vertical-align: middle;
    }
    th {
        text-align: center;
    }


/* ——————————FOR BUTTON STYLES————————— */
    .btn-primary, .btn-primary:active, .btn-primary:visited {
        background-color: #9c36e8 !important;
        border-color: #9c36e8;
    }

    .btn-primary:hover {
        background-color: #6c25a3 !important;
        border-color: #6c25a3 ;
    }

    #flux-continue-btn {
        padding: 15px;
        text-align: center;
        transition: 0.5s;
        background-size: 200% auto;
        color: white;
        box-shadow: 0 0 20px #eee;
        background-image: linear-gradient(to right, #f729d9 0%, #9c36e8 51%, #3443fc 100%) !important;
        border-color: white;
        color: white;
    }

    #flux-continue-btn:hover {
        background-position: right center; /* change the direction of the change here */
        border-color: white;
        color: white;
    }

    button:disabled i {
        color: grey;
    }


/* ————————————FOR SEARCH BAR————————————— */
    #search-bar {
        filter: drop-shadow(0 3px 10px rgb(0 0 0 / 0.2));
        background-color: white;
        border-radius: 20px;
        margin: 0 30px 0 30px;
        padding: 5px 0px 5px 0px;
    }

    #modal-form input[type='number']{
        width: 80px;
    }

    #name-form-cont .form-control {
        outline:0px !important;
        appearance: none;
        -webkit-appearance:none;
        box-shadow: none !important;
        border-radius: 20px; 
        min-height:70px;
    }

    #position-form-cont .form-control {
        outline:0px !important;
        appearance: none;
        -webkit-appearance:none;
        box-shadow: none !important;
        border-radius: 20px; 
        min-height:70px;
    }

    #name-form-input-group:focus {
        border-color: red;
        
    }

    /* BOOTSTRAP EXTRA SMALL BREAKPOINT */ 
    @media (max-width: 576px) {
        .rounded-end-xs {
            border-radius: 20px;
        }

        .large-top-padding {
            padding-top: 100px;
        }
    }

    /* BOOTSTRAP SMALL BREAKPOINT */ 
    @media (min-width: 576px) {
        .border-sm-right {
        border-right: 1px solid #e3e7eb !important;
        }
        .rounded-start-sm {
            border-radius: 20px 0 0 20px;
            /* border-top-left-radius: 20px;
            border-bottom-left-radius: 20px; */
        }
    }

    /* BOOTSTRAP MEDIUM-XL BREAKPOINT */ 
    @media (min-width: 768px) {
    }
    
    @media (min-width: 992px) {
    }
    
    @media (min-width: 1200px) {
    }

      
.wrapper .search_box{
    background: #fff;
    border-radius: 5px;
    height: 69px;
    display: flex;
    padding: 10px;
    box-shadow: 0 8px 6px -10px #b3c6ff;
}
      
.wrapper .search_box .dropdown{
    width: 220px;
    border-right: 2px solid #dde2f1;
    color: #9fa3b1;
    position: relative;
    cursor: pointer;
}

.wrapper .search_box .dropdown .default_option{
    text-transform: uppercase;
    padding: 13px 15px;
    font-size: 14px;
}

.wrapper .search_box .dropdown ul{
    position: absolute;
    top: 70px;
    left: -10px;
    background: #fff;
    width: 150px;
    border-radius: 5px;
    padding: 20px;
    display: none;
    box-shadow: 8px 8px 6px -10px #b3c6ff;
    list-style: none;
}

.wrapper .search_box .dropdown ul.active{
    display: block;
}

.wrapper .search_box .dropdown ul li{
    padding-bottom: 20px;
}

.wrapper .search_box .dropdown ul li:last-child{
    padding-bottom: 0;
}

.wrapper .search_box .dropdown ul li:hover{
    color: #6f768d;
}

.wrapper .search_box .dropdown:before{
    content: "";
    position: absolute;
    top: 18px;
    right: 20px;
    border: 8px solid;
    border-color: #9c36e8 transparent transparent transparent;
}

.wrapper .search_box .search_field{
    position: relative;
}

.wrapper .search_box .search_field .input{
    border: 0px;
    font-size: 16px;
    padding-left: 20px;
    padding-right: 38px;
    padding-top: 12px;
    padding-bottom: 15px;
    color: #6f768d;
    width: 80%;
}

.wrapper .search_box .search_field .input:focus {
    outline: none !important;
}

.wrapper .search_box .search_field button {
    position: absolute;
    top: 6px;
    right: 10px;
}

.wrapper .search_box .search_field .fas{
    font-size: 22px;
    color: #9c36e8;
    cursor: pointer;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #9fa3b1;
}
::-moz-placeholder { /* Firefox 19+ */
    color: #9fa3b1;
}
:-ms-input-placeholder { /* IE 10+ */
    color: #9fa3b1;
}

/* Graph loader object */
  .loader-wrap {
    margin: 50px;
  }
  .loader {
    position: relative;
    margin: auto;
    height: 60px;
    width: 80px;
  }
  .loader .loader-item {
    position: relative;
    float: left;
    height: 40px;
    width: 4px;
    margin: 0 2px;
    background-color: #9c41f2;
  }
  .loader .loader-item:nth-child(1) {
    animation: loader-item-1 2s linear infinite;
  }
  .loader .loader-item:nth-child(2) {
    animation: loader-item-2 2s linear infinite;
  }
  .loader .loader-item:nth-child(3) {
    animation: loader-item-3 2s linear infinite;
  }
  .loader .loader-item:nth-child(4) {
    animation: loader-item-4 2s linear infinite;
  }
  .loader .loader-item:nth-child(5) {
    animation: loader-item-5 2s linear infinite;
  }
  .loader .loader-item:nth-child(6) {
    animation: loader-item-6 2s linear infinite;
  }
  .loader .loader-item:nth-child(7) {
    animation: loader-item-7 2s linear infinite;
  }
  .loader .loader-item:nth-child(8) {
    animation: loader-item-8 2s linear infinite;
  }
  .loader .loader-item:nth-child(9) {
    animation: loader-item-9 2s linear infinite;
  }
  .loader .loader-item:nth-child(10) {
    animation: loader-item-10 2s linear infinite;
  }
  .loader:after {
    content: "Loading Graph...";
    font-size: 16px;
    font-family: "Arial";
    color: #9c41f2;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -32px;
    margin: auto;
  }

  @keyframes loader-item-1 {
    1% {
      transform: scaleY(1);
    }
    11% {
      transform: scaleY(1.4);
    }
    21% {
      transform: scaleY(1);
    }
    100% {
      transform: scaleY(1);
    }
  }
  @keyframes loader-item-2 {
    7% {
      transform: scaleY(1);
    }
    17% {
      transform: scaleY(1.4);
    }
    27% {
      transform: scaleY(1);
    }
    100% {
      transform: scaleY(1);
    }
  }
  @keyframes loader-item-3 {
    13% {
      transform: scaleY(1);
    }
    23% {
      transform: scaleY(1.4);
    }
    33% {
      transform: scaleY(1);
    }
    100% {
      transform: scaleY(1);
    }
  }
  @keyframes loader-item-4 {
    19% {
      transform: scaleY(1);
    }
    29% {
      transform: scaleY(1.4);
    }
    39% {
      transform: scaleY(1);
    }
    100% {
      transform: scaleY(1);
    }
  }
  @keyframes loader-item-5 {
    25% {
      transform: scaleY(1);
    }
    35% {
      transform: scaleY(1.4);
    }
    45% {
      transform: scaleY(1);
    }
    100% {
      transform: scaleY(1);
    }
  }
  @keyframes loader-item-6 {
    31% {
      transform: scaleY(1);
    }
    41% {
      transform: scaleY(1.4);
    }
    51% {
      transform: scaleY(1);
    }
    100% {
      transform: scaleY(1);
    }
  }
  @keyframes loader-item-7 {
    37% {
      transform: scaleY(1);
    }
    47% {
      transform: scaleY(1.4);
    }
    57% {
      transform: scaleY(1);
    }
    100% {
      transform: scaleY(1);
    }
  }
  @keyframes loader-item-8 {
    43% {
      transform: scaleY(1);
    }
    53% {
      transform: scaleY(1.4);
    }
    63% {
      transform: scaleY(1);
    }
    100% {
      transform: scaleY(1);
    }
  }
  @keyframes loader-item-9 {
    49% {
      transform: scaleY(1);
    }
    59% {
      transform: scaleY(1.4);
    }
    69% {
      transform: scaleY(1);
    }
    100% {
      transform: scaleY(1);
    }
  }
  @keyframes loader-item-10 {
    55% {
      transform: scaleY(1);
    }
    65% {
      transform: scaleY(1.4);
    }
    75% {
      transform: scaleY(1);
    }
    100% {
      transform: scaleY(1);
    }
  }


/* ——————————OTHER——————————— */
#contact-header {
    background-image: linear-gradient(to left, #fdac59 0%, #f729d9 51%, #9c36e8 100%) !important;
    color: white;
}

/* Full width class to break elements out of parent container */
.full-width {
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
    position: relative;
    right: 50%;
    width: 100vw;
}

/* Getting rid of text decoration on links (a tags) */ 
a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { text-decoration: none; cursor: pointer; }
a:active { text-decoration: none; }