body,
html {
    padding: 0px;
    margin: auto;
}

.main-container {
    background-image: url('/images/backgrounds/wallpaper1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    overflow-x: hidden;
    overflow-y: auto;
}

.default-shadow {
    box-shadow: -1px 2px 15px -1px rgba(0, 0, 0, 0.6);
}

.loading-container {
    height: 500px;
    width: 100%;
    z-index: 9999;
}

@media(min-width: 1200px) {
    .container {
        max-width: 1300px;
    }
}

@media only screen and (max-width: 540px) {
    .common-header {
        height: 50px;
    }
}

.dropdown .dropdown-menu,
.dropdown .dropdown-menu .dropdown-item {
    background-color: #B22222;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background-color: #DA3B3B;
}

.btn-primary:disabled {
    opacity: 0.7;
}

.white-text,
.white-text .nav-link {
    color: #fff !important;
}

.black-text {
    color: #000;
}

.red-text {
    color: #DA3B3B;
}

.dark-text {
    color: #4682B4;
}

tr.white-text td {
    color: #fff;
}


.bordered {
    border: 2px solid #4682B4 !important;
}

.bordered.red {
    border-color: #B22222 !important;
}

.bordered-bottom {
    border-bottom: 2px solid #4682B4 !important;
}

.rounded {
    border-radius: 0.25rem;
}

.transparent {
    background: transparent;
}

.dark,
.table-dark,
.thead-dark {
    background: #4682B4 !important;
    color: white !important;
}

.modal-expanded {
    max-width: inherit;
    margin: 20px;
}

@media only screen and (max-width: 540px) {
    .modal-expanded {
        margin: 0px;
    }
}

.dark a,
.dark a:hover {
    color: white;
}

.flex-1 {
    flex: 1;
}

.exp-icon {
    background-image: url('/images/expicons.png');
    background-repeat: 'no-repeat';
    border: none !important;
    position: absolute;
    top: -1px;
    left: -1px;
}

.exp-icon-container {
    position: relative;
    width: 19px;
    height: 19px;
    display: inline-block;
    overflow: hidden;
    margin: 1px;
}

#loading {
    display: flex;
    position: fixed;
    z-index: 9999;
    top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    background-color: rgba(130, 130, 130, 0.75);
    align-items: center;
    justify-content: center;
    flex-flow: column;
    font-size: 15pt;
}

#loading .loading-container {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

#loading .loading-container .loading-image {
    margin-bottom: 10px;
}

#loading .loading-container .loading-text {
    color: #4682B4;
    font-size: 17pt;
    text-shadow:
        -1px -1px 0 #ddd,
        1px -1px 0 #ddd,
        -1px 1px 0 #ddd,
        1px 1px 0 #ddd;
}

.material-icons.small {
    font-size: 16px;
}

.scrollable-y {
    overflow-y: scroll;
    overflow-x: hidden;
}

.clickable {
    cursor: pointer;
}

.pointer-events-none {
    pointer-events: none;
}

.pointer-events-all {
    pointer-events: all;
}

.b-dropdown-text {
    color: white;
    text-align: justify;
    font-style: italic;
}

.dropdown-header {
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.material-icons.centered {
    line-height: 0;
    position: relative;
    top: 5px;
}

.top-0 {
    top: 0px;
}

.bottom-0 {
    bottom: 0px;
}

.left-0 {
    left: 0px;
}

.right-0 {
    right: 0px;
}

.expanded {
    left: 0px;
    right: 0px;
    bottom: 0px;
    top: 0px;
}

.disabled {
    pointer-events: none;
    opacity: 0.7;
}

.default-toast-appearance {
    padding: 13px;
    border-radius: 8px;
}

.main-floating-card-space {
    display: block;
    position: fixed;
    top: 70px;
    right: 20px;
    border-radius: 10px;
    z-index: 9999;
}

.btn-primary,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.dropdown-toggle,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle,
.btn-primary.disabled,
.btn-primary.red,
.btn-primary[disabled] {
    background: #B22222;
    background-color: #B22222;
    border: 2px solid #B22222;
    color: white;
    font-weight: bold;
}

.btn-primary:hover {
    background: #DA3B3B;
    border: 2px solid #DA3B3B;
}

.font-size-larger {
    font-size: larger;
}

.btn-primary.disabled,
.btn-primary[disabled] {
    opacity: 0.4;
    pointer-events: none;
}

.loading-panel {
    background: white;
    position: absolute;
    inset: 0px;
}

.scrollable-table {
    height: 550px;
    max-height: 550px;
    width: 100%;
    position: relative;
    display: block;
}

.scrollable-table thead {
    width: 100%;
    display: flex;
}

.scrollable-table thead tr {
    width: 100%;
    display: flex;
}

.scrollable-table thead th {
    flex: 1;
}

.scrollable-table thead th.last {
    flex: 0;
}

.scrollable-table tbody.scrollable-table-body {
    overflow-y: scroll !important;
    height: 510px;
    max-height: 550px;
    width: 100%;
    min-width: 100%;
    position: absolute;
}

.scrollable-table tbody tr {
    background: white;
    color: black;
    width: 100%;
    display: flex;
}

.scrollable-table tbody tr td {
    flex: 1;
}