.alert-danger {
    background-color: #fedee5;
    color: #a94442;
}

/** These badge styles are missing from bootstrap v3 so are added here */
.badge {
    font-size: 14px;
    padding: 5px 15px;
}

.badge > i {
    font-size: 16px;
}

.badge.badge-danger {
    background-color: #A90000;
    color: white;
}

.badge.badge-success {
    background-color: green;
    color: white;
}

.badge.badge-warning {
    background-color: #fbbc05;
    color: black;
}

.badge.ajax-modal {
    cursor: pointer;
}

.btn-container-left,
.btn-container-right {
    margin-bottom: 10px;
    margin-top: 10px;
}

.btn-container-margin-bottom-zero {
    margin-bottom: 0 !important;
}

.btn-container-margin-top-zero {
    margin-top: 0 !important;
}

.btn-container-margin-zero {
    margin: 0 !important;
}

.btn-container-left {
    float: left;
}

.btn-container-left .btn {
    margin-right: 5px;
}

.btn-container-right {
    float: right;
}

.btn-container-right .btn {
    margin-left: 5px;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid #ccc;
    padding: 6px;
}

.dataTables_wrapper input[type="search"] {
    border: 1px solid #ccc;
    margin-left: 5px;
    padding: 6px 12px;
}

@media (max-width: 768px) {
    .dataTables_wrapper .dataTables_filter {
        text-align: left !important;
    }

    .dataTables_wrapper select {
        margin-left: 30px !important;
    }

    .dataTables_wrapper input {
        margin-left: 20px !important;
        width: 72%;
    }
}

@media (min-width: 768px) {
    .dataTables_wrapper .dataTables_length {
        float: left;
    }
}





.ht-dashboard #tags-table .icon {
    width: 10%;
}

.file-upload {
    font-size: 14px;
    display: block;
    border: 1px solid rgb(204, 204, 204);
    color: #555555;
    cursor: pointer !important;
    height: 40px;
    line-height: 40px;
    text-align: left;
    background: #FFFFFF;
    overflow: hidden;
    position: relative;
}

.file-upload .file-select-button {
    background: rgb(204, 204, 204);
    padding: 0 10px;
    display: inline-block;
    height: 40px;
    line-height: 40px;
}

.file-upload .file-select-name {
    line-height: 40px;
    display: inline-block;
    padding: 0 10px;
}

.file-upload input[type=file] {
    z-index: 100;
    cursor: pointer;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    filter: alpha(opacity=0);
}

#file-upload-items-table .notes {
    width: 40%;
}

.file-upload-progress-container a {
    color: #7e7e7e;
}

.form-group.read-only-input label {
    margin-top: 5px;
}

input[type="checkbox"].form-control {
    width: 14px;
    margin-top: 0;
}


.input-group input,
.input-group .input-group-addon {
    border-radius: 0;
}

.nav.nav-tabs .nav-item.active > a,
.nav.nav-tabs li.active > a {
    background-color: white;
}

.dropdown-menu > .active > a {
    background-color: #A90000 !important;
}

#layout-lite {
    margin-top: 0;
    background-color: #EEF1F6;
    /* height: 1000px; */
}

#layout-lite > div {
    background-color: #EEF1F6;
}

#layout-lite .login-box {
    background-color: white;
    color: #333333;
    font-weight: 500;
}

#layout-lite .login-box > div {
    width: 70%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    #layout-lite .login-box > div {
        width: 100%;
    }
}

#layout-lite .login-box .login-links{
    opacity: 1 !important;
}

#layout-lite .login-box .login-links a {
    color: #333333 !important;
    font-weight: 500;
    opacity: 1 !important;
}

#layout-lite .login-box .alert ul {
    list-style-type: disc;
    margin-left: 22px;
}

#layout-lite .login-box .btn-login,
#layout-mobile .btn-login {
    background-color: #E61E25;/*#A90000; */
    width: 100%;
}

#layout-default .form-control.has-error {
    color: #a94442;
    border: 1px solid #a94442;
    background-color: #fedee5;
}

#layout-default label.has-error {
    color: #a94442;
}

#layout-mobile .card-content i {
    font-size: 40px;
    display: inline-block;
    margin-top: -10px;
}

#layout-mobile .document-card {
    box-shadow: none;
    border: 1px solid #A90000;
}

#layout-mobile .document-card .card-content {
    color: #23527c;
}

#layout-mobile .document-card .card-content .loading-spinner i {
    font-size: 14px;
}

.link-icons {
    width: 30%;
}

@media (max-width: 768px) {
    .link-icons .badge {
        margin-bottom: 5px;
        float: right;
    }
}

@media (min-width: 768px) {
    .modal .modal-max-width-30 {
        max-width: 30%;
        width: unset;
    }

    .modal .modal-max-width-50 {
        max-width: 50%;
        width: unset;
    }

    .modal .modal-max-width-70 {
        max-width: 70%;
        width: unset;
    }

    .modal .modal-max-width-90 {
        max-width: 90%;
        width: unset;
    }
}

.progress-bar-danger {
    background-color: #A90000 !important;
}

.progress-bar-success {
    background-color: green !important;
}

.link-details {
    margin-bottom: 25px;
}

.link-details:last-of-type {
    margin-bottom: 0;
}

.link-details i {
    vertical-align: top;
    font-size: 40px;
}

.link-details img {
    width: 75px;
}

.link-details .link-details-text {
    display: inline-block;
    margin: 0 20px;
}

.trusted-org-banner {
    margin-bottom: 10px;
}

.trust-org-symbol {
    font-size: 26px;
    text-align: center;
}

.certificate-valid-length-text {
    font-size: 14px;
    margin-bottom: 15px;
    display: inline-block;
}

#search-helper-container {
    font-size: 16pt;
    padding-left: 10px;
    padding-top: 6px;
}

#search-helper-container .popover-title {
    background-color: #A90000;
    color: white;
}

#search-helper-container table {
    margin-top: 10px;
}

#search-helper-container .popover{
    max-width: 100%; /* Max Width of the popover (depending on the container!) */
}

.content-title a {
    color: #7e7e7e !important;
}

#layout-mobile .nav-item .nav-link {
    padding: 8px;
}

.document-category-table {
    width: 100% !important;
}
