:root {
    --bs-gray-300-rbg: 224,222,222;/*Use this for hover colour*/
}

html {
    font-size: 14px;
    min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  min-height: 100%;
  margin-bottom: 0;
}

main{
   flex-grow: 1;
   min-height: calc(100vh - (60px + 3rem));
}

.container-fluid{
    flex-grow: 1;
    min-height: 0;
}

/** GENERAL **/
.custom-header, .custom-footer {
    /*background-color: rgba(var(--bs-gray-300-rbg), var(--bs-bg-opacity)) !important;*/
    background-color: #3274d9 !important;
}

footer {
    position: sticky;
    bottom: 0;
}

/*.custom-footer {
    position: sticky;
}
*/
.footer-text {
    color: white;
}

.navbar {
    background-color: #3274d9 !important;
}

.sidebar {
    height: calc(100vh - (60px + 3rem));
    position: sticky;
    top: 0;
}

@media (max-width: 767px) {
    #sidebar {
        display: none;
    }

    #sidebar.active {
        display: block;
    }

    .col-md-9 {
        margin-left: 0;
    }
}

#sidebarToggle {
    display: none; 
}

@media (max-width: 767px) {
    #sidebarToggle {
        display: block;
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 999;
    }
}

div#logo{
    margin-right: 25px;
    padding-right: 15px;
    border-right: 3px solid white;
}

.bg-left-menu {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-gray-300-rbg), var(--bs-bg-opacity)) !important;
}

.hr-blue {
    color: #3274d9;
}

/*Top Menu*/
.navbar-nav li.nav-item a.nav-link:hover,
.navbar-nav li.nav-item a.nav-link:focus {
    background-color: rgba(24,19,87, var(--bs-bg-opacity));/*#181357*/
    color: black;
    text-decoration: underline;
}

.navbar-nav li.nav-item a.nav-link.active {
    background-color: rgba(24,19,87, var(--bs-bg-opacity)); /*#8a8787*/
    color: black;
    text-decoration: underline;
    position: relative;
}

.breadcrumb {
    padding: 0;
    margin: 0;
    background-color: rgba(28,19,87, var(--bs-bg-opacity)) !important;
}

/*Left Menu*/
.left-menu-ul li.nav-item a.nav-link {
    padding-left: 25px;
}

.left-menu-ul li.nav-item a.nav-link:hover,
.left-menu-ul li.nav-item a.nav-link:focus {
    background-color: rgba(171,169,169, var(--bs-bg-opacity)); /*#8a8787*/
    color: black;
    text-decoration: underline;
    border: 1px solid black;
}

    .left-menu-ul li.nav-item a.nav-link{
        margin-left: 10px;
    }

    .left-menu-ul li.nav-item a.nav-link.active {
        background-color: rgba(171,169,169, var(--bs-bg-opacity)); /*#8a8787*/
        color: black;
        /*text-decoration: underline;*/
        position: relative;
    }

    .left-menu-ul li.nav-item a.nav-link.active::before {
        content: "";
        display: block;
        width: 15px;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        background-color: #3274d9;
    }

.submenu {
    list-style-type: none;
}

.menu-icon {
    margin-right: 10px;
}

.icon-text {
    display: inline-block;
    vertical-align: middle;
}

/** SAE DASHBOARD **/
    .record-count-white, .record-count-blue {
        height: 200px;
        width: 288px;
        border: solid 1px black;
        margin-left: 20px;
    }

    .record-count-white p.count, .record-count-blue p.count {
        font-size: 80px;
        font-weight: 700;
        text-align: center;
    }

.record-count-white {
    color: #3274d9;
}

.record-count-blue {
    color: #fff;
    background: linear-gradient(120deg, rgb(95, 129, 225), rgb(65, 147, 220));
}

.selected-trial {
    color: #3274d9;
}

.main-section {
    margin-top: 100px;
}

/** SPINNER CREATION **/

.loader {
    position: relative;
    text-align: center;
    margin: 15px auto 35px auto;
    z-index: 9999;
    display: block;
    width: 80px;
    height: 80px;
    border: 10px solid rgba(0, 0, 0, .3);
    border-radius: 50%;
    border-top-color: #000;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

/** MODAL STYLING **/

.modal-content {
    border-radius: 0px;
    box-shadow: 0 0 20px 8px rgba(0, 0, 0, 0.7);
}

.modal-backdrop.show {
    opacity: 0.75;
}

.modal-width-900 {
    width: 900px;
}

.modal-width-1200 {
    width: 1200px;
}

.custom-modal-width-50pc {
    max-width: 50%;
}

.standout-label {
    font-weight: bold;
    color: #007bff;
    font-size: 1.1em;
}

.lctc-web-logo {
    max-width: 100%;
    height: auto;
}

/* ADDITONAL TABLE STYLING */
.toggle-icon {
    cursor: pointer;
}

.green-status{
    background-color: green;
    color: white;
}

.amber-status {
    background-color: #FFBF00;
    color: black;
}

.red-status {
    background-color: red;
    color: white;
}

.blue-status {
    background-color: blue;
    color: white;
}

/* Form styling*/

.form-section {
    background-color: lightgrey;
}

.light-grey {
    background-color: #f5f7fa;
}

/* Home page styling*/
.home-section {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 10px;
    background-color: #f9f9f9;
}

.home-section-title {
    background-color: #f9f9f9; /* Adjust this to match the current background color */
    padding: 10px;
    border-bottom: 1px solid #ddd;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.home-section-content {
    background-color: #fff;
    padding: 15px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.text-decoration-none {
    text-decoration: none;
}

/* Status colours */
.status-rectangle {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
    vertical-align: middle;
}

.status-set-up {
    background: #F00;
    background: hsl( 0, 100%, 50%);
}

.status-recruiting {
    background: #F80;
    background: hsl( 36, 100%, 50%);
}

.status-infollow-up {
    background: #f3ff3f;
    background: hsl(63.75deg 100% 62.35%);
}

.status-archived {
    background: #0F0;
    background: hsl( 108, 100%, 50%);
}

.status-inanalysis {
    background: #0FF;
    background: hsl( 180, 100%, 50%);
}

.status-closedown {
    background: #08F;
    background: hsl( 216, 100%, 50%);
}

.navbar-text.text-warning {
    font-size: 3rem;
    font-weight: bold;
    text-align: left;
    flex: 1;
}
