:root {
    --dark-blue: #0a3c63;
    --blue: #105c98;
    --light-blue: #f1f9ff;
    --hover-blue: #0c4774;
    /* vatsal nav height fix */
    /*--nav-height: 70px*/
    --nav-height: 62px;
    --gradient-blue-bg: linear-gradient(
            129deg,
            rgba(16, 92, 152, 1) 5%,
            rgba(133, 72, 136, 1) 95%
    );
}

* {
    font-family: "Nunito Sans", sans-serif;
}

.light-blue-bg {
    background-color: var(--light-blue);
}

.gradient-blue-bg {
    background: var(--gradient-blue-bg);
}

/* CANVAS */
#canvas {
    width: 100%;
}

/* NAVIGATION */
nav .navbar-brand img {
    max-width: 115px;
}

#sidebar-collapse-button {
	z-index: 1000;
}

/* vatsal logo fix start */
.logo-fix {
    margin-top: -10px;
}

/* vatsal logo fix end */

#main-content-row .sidebar-collapse {
    position: sticky;
    height: 100%;
    top: 27em;
    padding: 1em 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0;
}

#main-content-row .sidebar-collapse svg {
    transform: rotate(90deg);
    color: var(--dark-blue);
}


/* MAIN CONTENT */
.navbar-light {
    box-shadow: 0 0 10px grey;
}

.content-height {
    min-height: 705px;
}

/* navbar responsivness fix vatsal */

.flex-fix {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
}

/* TABLES */
.table {
    font-size: 0.8rem;
}

.table-hover .table-primary:hover {
    color: var(--blue);
}

.table-hover .table-primary:hover > td,
.table-hover .table-primary:hover > th {
    background-color: var(--blue);
    color: white;
}

ß
.table-primary,
.table-primary > td,
.table-primary > th {
    background-color: var(--blue);
}

.table-primary tbody + tbody,
.table-primary td,
.table-primary th,
.table-primary thead th {
    border-color: var(--dark-blue);
}

.table-bordered thead td,
.table-bordered thead th {
    letter-spacing: 0.02rem;
    text-align: center;
}

.table-bordered tbody th {
    text-align: center;
}

.bd-links {
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-right: -15px;
    margin-left: -15px;
}

.bd-toc {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    font-size: 0.875rem;
}

.bd-toc-item.active {
    margin-bottom: 1rem;
}

.bd-toc-link {
    display: block;
    padding: 0.25rem 1.5rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.65);
}

.bd-toc-item.active > .bd-toc-link {
    font-size: 1.2em;
}

.bd-toc-item.active > .bd-sidenav {
    display: block;
}

.bd-content {
    overflow-y: scroll;
}

.bd-content .landing {
    height: calc(100vh - var(--nav-height));
}

.bd-content .sign-in {
    height: 100vh;
    margin: 0 auto;
    position: relative;
    top: -50px;
}

.bd-content .sign-in h1 {
    font-weight: bold;
}

.sign-up {
    height: 100vh;
}

.sign-up .left-box {
    background-color: white;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sign-up .left-box img {
    max-width: 30rem;
}

.sign-up .right-box {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sign-up .right-box .form-control {
    padding-left: 0;
}

.sign-up .right-box .form-container {
    padding: 2rem;
}

.bd-sidenav {
    display: none;
}

.bd-sidebar .nav > .active:hover > a,
.bd-sidebar .nav > .active > a {
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
    background-color: transparent;
}

.bd-sidebar .nav > li > a {
    display: block;
    padding: 0.25rem 1.5rem;
    font-size: 90%;
    color: rgba(0, 0, 0, 0.65);
}

.bd-search .btn-link {
    color: var(--dark-blue);
}

.bd-search {
    position: relative;
    padding: 1rem 15px;
    margin-right: -15px;
    margin-left: -15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.algolia-autocomplete {
    display: block !important;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

/* Display Batch Table */

.batchdisplay {
    font-size: larger;
}

/* Form */

.sign-in .form-control,
.sign-up .form-control {
    border-top: none;
    border-bottom: 1px solid #ced4da;
    border-left: none;
    border-right: none;
}

.form-container .input-group > .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.form-container {
    padding: 2rem 4rem;
    background-color: white;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.form-container .submit-button {
    color: white;
    background: var(--gradient-blue-bg);
    border-radius: 20px;
    padding: 0 2rem;
}

.form-container .form-group {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
}

.bd-sidebar .form-control {
    border: 1px solid var(--dark-blue);
    border-radius: 2rem;
}

/* Modal */
#addToProjectButton .modal-body form {
    width: 75%;
    margin: 0 auto;
}

#addToProjectButton .modal-body div {
    margin: 1rem;
    display: flex;
    justify-content: space-between;
}

#addToProjectButton .modal-body div label {
    margin: 0 1rem;
}

#addToProjectButton .modal-body div input {
    max-width: 200px;
}

/* SLIDERS */
.noUi-target {
    margin: 0 auto 2em;
    background: transparent;
}

.noUi-horizontal .noUi-handle {
    width: 28px;
    height: 28px;
    border-radius: 28px;
    cursor: pointer;
}

.noUi-horizontal .noUi-handle:before,
.noUi-horizontal .noUi-handle:after {
    content: "";
}

.noUi-base {
    z-index: 1;
}

.noUi-state-tap .noUi-connect,
.noUi-state-tap .noUi-origin {
    -webkit-transition: none !important;
    transition: none !important;
}

.drag-fill {
    position: absolute;
    top: 0;
    height: 100%;
    /*z-index: 1;*/
    background: var(--dark-blue);
    z-index: 0;
}

.content-section {
    overflow-x: overlay;
    margin: 15px 20px 60px;
}

/* MEDIA QUERIES */

/*@media (max-width: 991px) {*/
/*  nav .login-buttons {*/
/*    display: none;*/
/*  }*/

/*  .bd-content .sign-in .form-container {*/
/*    padding: 3rem 1rem;*/
/*    font-size: 0.9rem;*/
/*  }*/

/*  .sign-up .left-box {*/
/*    display: none;*/
/*  }*/

/*  .sign-up .right-box {*/
/*    width: 100%;*/
/*  }*/

/*  .sign-up .right-box .form-container {*/
/*    width: 75%;*/
/*  }*/
/*}*/

@media (min-width: 500px) {
    .navbar-light {
        max-height: var(--nav-height);
    }

    nav .main-nav {
        background-color: var(--blue);
        transform: skewX(-30deg);
    }

    /*nav .navbar-collapse ul .nav-item-login {*/
    /*  display: none;*/
    /*}*/
    .login-buttons .nav-item-login a {
        color: var(--dark-blue);
        border: solid 1px var(--blue);
        border-radius: 1rem;
        padding: 0.2em 0.8em;
        margin: 0 3px;
        font-size: 0.8rem;
    }

    .login-buttons .nav-item-login a:hover {
        background-color: var(--dark-blue);
        color: white;
    }

    /* nav .login-buttons .nav-item-login:last-child a {
      background-color: var(--dark-blue);
      color: white;
    }

    nav .login-buttons .nav-item-login:last-child a:hover {
      background-color: white;
      color: var(--dark-blue);
    } */
    .navbar-light .main-nav .nav-link:focus,
    .navbar-light .main-nav .nav-link:hover {
        color: white;
    }

    nav .collapse ul .nav-item a:active,
    nav .collapse ul .nav-item a:focus,
    nav .collapse ul .nav-item a:hover {
        background-color: var(--hover-blue);
    }

    nav .collapse ul .nav-item .nav-link {
        color: white;
        font-weight: 100;
        padding: 23px 25px;
    }

    nav .collapse ul .nav-item .nav-link span {
        transform: skew(30deg);
        -webkit-transform: skew(30deg);
        -moz-transform: skew(30deg);
        -ms-transform: skew(30deg);
        -o-transform: skew(30deg);
        display: block;
    }

    nav .collapse ul .nav-item .nav-link:hover {
        color: rgb(222, 222, 222);
    }

    .bd-links {
        display: block !important;
        max-height: calc(100vh - 9rem);
        overflow-y: auto;
    }

    .bd-sidebar {
        position: -webkit-sticky;
        position: sticky;
        top: 4rem;
        z-index: 1000;
        height: calc(100vh - 4rem);
        overflow: auto;
        border-right: 1px solid rgba(0, 0, 0, 0.05);
    }

    .bd-content .sign-in {
        width: 35rem;
    }

}

/*@media (max-width: 767px) {*/
/*  #main-content-row .sidebar-collapse {*/
/*    display: none;*/
/*  }*/
/*}*/

/*@media (min-width: 768px) {*/
/*  .bd-links {*/
/*    display: block !important;*/
/*    max-height: calc(100vh - 9rem);*/
/*    overflow-y: auto;*/
/*  }*/

/*  .bd-sidebar {*/
/*    position: -webkit-sticky;*/
/*    position: sticky;*/
/*    top: 4rem;*/
/*    z-index: 1000;*/
/*    height: calc(100vh - 4rem);*/
/*    border-right: 1px solid rgba(0, 0, 0, 0.05);*/
/*  }*/

/*  .bd-content .sign-in {*/
/*    width: 35rem;*/
/*  }*/
/*}*/

