﻿
.alert.banned-notice {
    --bs-alert-bg: #FCE8E8;
    --bs-alert-color: #A90F0F;
    --bs-alert-border-color: #A90F0F;
}

/*TAGS*/
body {
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

div.editor-inline {
    display: inline-block;
}

div.borderedChildBox {
    border-left: 1px solid rgba(0,0,0,.125);
    border-right: 1px solid rgba(0,0,0,.125);
    border-top: 1px solid rgba(0,0,0,.125);
    padding: 5px;
}

div.sideFloatingDivMessage {
    border: 1px solid #cccccc;
    border-radius: 5px;
    display: none;
    height: 100px;
    margin-top: 10px;
    padding: 6px;
    overflow-y: auto;
    font-size: 0.9em;
    width: 100%;
}

footer {
    text-align: center;
    color: black;
    border-left: 1px solid rgba(0,0,0,.125);
    border-right: 1px solid rgba(0,0,0,.125);
    padding: 10px 0 10px 0;
    font-size: .9em;
    margin-bottom: 25px;
}

h1 {
    text-align: center;
}

h5,
h4 {
    text-transform: uppercase;
}

h6 {
    text-transform: initial;
}

input[type=password],
input[type=text] {
    width: 22em;
}

input.a_bit_wider_text_input, textarea.a_bit_wider_text_input {
    width: 25em;
}

select.a_bit_wider_text_input {
    width: 25.4em;
}

input.autoCompleteHint {
    background-position: 99% 50%;
    background-color: white;
}

/*Remove arrow icons on number fields*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

input[type="checkbox"]#GeneralTermsAndConditionsAgree {
    width: 15px;
    height: 15px;
    margin-left: 15px;
}




/*table headers*/
thead {
    background-color: #5676AE;
    color: white;
}

/*data table padding*/
table.dataTable thead th, table.dataTable tbody td {
    padding: 4px 4px;
}

table {
    overflow: scroll;
}

.alert-dismissible,
.alert-warning {
    color: white;
    background-color: #1F4388;
}

/*CLASSES*/
/*set button background colours*/
.no-underline {
    text-decoration: none
}

.btn-primary {
    background: #5374AC;
}

    .btn-primary:hover {
        background: #50658A;
    }

.btn-secondary {
    background: #DBD9D6;
    color: black;
}

.btn-success {
    background: #4EA585;
}

    .btn-success:hover {
        background: #3B7C64
    }

.btn-danger {
    background: #CE3162;
}

    .btn-danger:hover {
        background: #7F272B;
    }

.card-header {
    background-color: white;
}

/*dropdown navs*/
.display-label,
.editor-label {
    margin: 2em 0 0 0;
    font-weight: bold;
}

.editor-label-sm {
    margin: 0.5em 0 0 0;
    font-weight: bold;
}

.dropdown-divider {
    border-top: 1px solid #6a86b8;
}

.display-field,
.editor-field {
    margin: 0.5em 0 0 0;
}

.dropdown-item-sm {
    font-size: 10pt;
}

/*set validation error colour*/
.field-validation-error {
    font-weight: bold;
    color: #B62B57;
}

/*hesa logo*/
.hesaLogo {
    height: auto;
    width: 100%;
    max-width: 150px;
    margin-top: 10px;
}

.logoContainer {
    text-align: center;
    display: block;
}

/* label/ text/button alignment for forms*/
.labelAlign {
    margin-top: 5px;
}

.labelAlign-lg {
    margin-top: 25px;
}

.linkHovering:hover {
    color: inherit;
}

.linkStyling,
.validation-summary a {
    text-decoration: underline;
    color: inherit;
    font-weight: bold;
}

.linkStylingNoBold {
    text-decoration: underline;
    color: inherit;
}

.list-group-item-primary {
    background-color: #6a86b8;
    color: white;
}

/* navbar */
.navbar {
    padding: 0;
}

/*set bottom bar colour for active navbar link*/
.navbar {
    padding: 0;
}

.navbar-nav .nav-item > .nav-link.active {
    border-bottom: 3px solid #6a86b8;
    color: black;
}
/*set hover over colour for all navbar links*/
.navvar-nav > li > a:hover {
    background-color: #DFE3EB
}
/*add horizontal padding to nav items and set font size*/
.navbar-nav .nav-item {
    padding-left: 5px;
    padding-right: 5px;
    font-size: small;
    text-transform: uppercase;
}
    /*set default nav link colour*/
    .navbar-nav .nav-item > .nav-link {
        color: #646464
    }
/*set padding around navbar*/
.navContainer {
    padding-top: 5px;
    padding-bottom: 5px;
    display: block;
    clear: both;
}

/*panels*/
.panel-heading {
    padding: 0;
    border: 0;
}

.panel-title > a, .panel-title > a:active {
    display: block;
    padding: 15px;
    color: #555;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

.panel-heading a:before {
    content: "˅";
    float: right;
    transition: all 0.5s;
}

.panel-heading.active a:before {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    transform: rotate(180deg);
}

.panel-body {
    padding-left: 1rem;
    padding-right: 1rem;
}

.divUnderline {
    border-bottom: 4px solid #DBD9D6
}

.panelUnderline {
    border-bottom: 4px solid #6a86b8
}

.titleUnderline {
    border-bottom: 4px solid #83c7bc
}

.form-label-bold {
    font-weight: 500;
}

/*new accordion classes*/
.accordion-title > button, .accordion-title > button:active {
    all: unset;
    display: block;
    padding: 15px 15px 20px 15px;
    color: #555;
    font-size: 1.25rem;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
}

    .accordion-title > button:focus-visible {
        border: solid black 2px;
        border-radius: 5px;
    }

.panel-heading button:before {
    content: "˅";
    float: right;
    transition: all 0.5s;
}

.panel-heading button:not(.collapsed)::before {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    transform: rotate(180deg);
}

.accordion-item {
    border-radius: 0 !important;
}

.accordion-item-subheading {
    font-size: 1rem;
    text-transform: none;
    padding: 4px 0px 4px 0px;
    margin-bottom: 4px;
}

/*form validation errors*/
.validation-summary-errors {
    font-weight: bold;
    color: #B62B57;
    padding-top: 10px;
}

.wrapper {
    width: 70%;
}

.cardShaded {
    background-color: #dfe3eb;
    width: 100%;
    height: 100%;
    padding-bottom: 5px;
    padding-top: 5px;
}



/*IDs*/
/*login display*/
#logindisplay {
    text-align: center;
}

/*Added from Jquery ui css*/
.ui-autocomplete {
    position: absolute;
    top: 0;
    left: 0;
    cursor: default;
    max-height: 30%;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding to account for vertical scrollbar */
    padding-right: 20px;
}

.custom-combobox {
    position: relative;
    display: block;
}

.custom-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -32px;
    padding: 0;
}

.custom-combobox-input {
    margin: 0;
    width: 100%;
    padding: 5px 10px;
}

html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    border: 1px solid #c5c5c5;
    font-weight: normal;
    color: #454545;
}

.ui-state-default, .ui-button {
    background-color: white
}

/*Bootstrap 4 to 5 fixes*/
.card-header {
    padding: .75rem 1.25rem
}

.form-group {
    margin-bottom: 1rem;
}

.links a {
    text-decoration: none;
}

    .links a:hover {
        text-decoration: underline;
    }

/* Datatables Styling*/
.dataTables_paginate {
    margin: 1rem 0px !important;
}

/*Page Loader Styling*/
.dvContainerBulkRemove {
    position: relative;
}

.dvPageLoader .bg-overlaydiv {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .5;
    background: white;
    z-index: 99;
}

.dvPageLoader .loaderContainer {
    position: absolute;
    top: 50%;
    left: 47%;
    background: white;
    z-index: 999;
}

.dvPageLoader .spnLoadText {
    margin: 5px;
}

.dvPageLoader .dvSpinner {
    width: 1.5rem;
    height: 1.5rem;
    margin: 5px;
    color: #6A86B8 !important;
}

.banned-notice {
    border-radius: 4px;
    height: 42px;
    padding: .5rem;
}

.account-deletion-warning {
    border-radius: 4px;
    height: 42px;
    padding: 0.5rem;
}

.exclamation-icon {
    font-size: 21px;
}

.btn.btn-sm.btn-outline-primary {
    --bs-btn-color: #5374ac;
    --bs-btn-border-color: #5374ac;
    --bs-btn-hover-bg: #5374ac;
    --bs-btn-hover-border-color: #5374ac;
    --bs-btn-active-bg: #5374ac;
    --bs-btn-active-border-color: #5374ac;
    --bs-btn-disabled-color: #5374ac;
    --bs-btn-disabled-border-color: #5374ac;
    border-width: 3px;
    font-weight: 600;
    
}

.clscreateBannedBtn {
    padding-top: 0.32rem;
    padding-bottom: 0.35rem;
}