#blockSight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
}

body {
    font-size: 16px;
    color: #000;
}

.ervLogout:hover {
    text-decoration: none !important;
    background-color: #000;
    color: #fff !important;
    border: 1px solid #000;
}

.list-semicolon>li a::after {
    display: none;
}

.list-semicolon>li a {
    text-decoration: none !important;
}

.erv-table table {
    table-layout: unset !important;
}

.row .button {
    margin: 10px 0;
}

.inputWidth {
    width: 200px;
}

#erv_table .colInput {
    width: 250px !important;
}

.ervLogout {
    color: #fff !important;
}

.ervLogout:hover {
    color: #fff !important;
}

.logoutDivider {
    font-size: 14px;
    line-height: 1.28;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #000;
    padding: 5px 0px !important;
}

.colDel {
    width: 50px !important;
}

.edit-icon {
    visibility: hidden;
    margin-left: 5px;
    color: #ccc;
    cursor: pointer;
}

td:hover .edit-icon {
    visibility: visible;
}

#erv_table td:hover {
    background-color: #f5f5f5;
    cursor: pointer;
}

.cell_active {
    background-color: #f5f5f5;
    cursor: pointer;
}

#erv_table td {
    white-space: nowrap;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

#preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 8px solid #840f26;
    border-radius: 50%;
    border-top: 8px solid #eee;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loadingText {
    margin-top: 10px;
    color: #3c3c3c;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
}

#erv_table input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    margin: 0;
    z-index: -1;
    width: 0;
    height: 0;
    overflow: hidden;
}

.checkbox-custom {
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkbox-custom label {
    position: relative;
    cursor: pointer;
    padding: 0;
    display: flex;
}

.checkbox-custom label:before {
    content: '';
    background-color: #ededed;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    height: 25px;
    width: 25px;
    border: 1px solid #e1e1e1;
}

.checkbox-custom input[type="checkbox"]:checked+label:before {
    background-color: #ededed;
}

.checkbox-custom label:after {
    content: '✕';
    position: absolute;
    height: 26px;
    width: 25px;
    font-size: 20px;
    color: #840f26;
    justify-content: center;
    align-items: center;
    display: none;
}

.checkbox-custom input[type="checkbox"]:checked+label:after {
    display: flex;
}

.container {
    max-width: 1370px;
}


@media (min-width: 768px) {
    .breadcrumbs-custom__inner>* {
        padding: 0 0px;
    }
}

.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
}

.toast {
    margin-bottom: 10px;
    opacity: 0;
    max-width: 550px;
    max-height: 200px;
    overflow-y: auto;
    transition: opacity 0.3s ease;
    position: relative;
    font-weight: bold;
    font-size: 15px;
    color: #000;
    background-color: #fff;
    padding: 10px 45px 10px 25px;
    z-index: 1001;
    border-left: 5px solid #831026;
    border-top: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    border-right: 1px solid lightgray;
}

.toast.darkred {
    color: darkred;
}

.toast .close-btn {
    position: absolute;
    top: 0px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #000;
}

.delete-button {
    display: inline-flex;
    padding: 5px 10px;
    background-color: transparent;
    color: #840f26;
    cursor: pointer;
    border: none;
}

.delete-checkbox {
    visibility: hidden;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
}

.modal-content {
    max-height: 100vh;
    max-width: 600px;
    background-color: #fff;
    padding: 20px;
    overflow-y: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-content {
    max-height: 100vh;
    max-width: 600px;
    background-color: #fff;
    padding: 20px;
    overflow-y: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#messageHistoryModal .modal-content {
    max-width: 1900px;
}

.modal-content p {
    margin-top: 10px;
}

.modal-content input[type=text],
.modal-content input[type=email] {
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .modal-content {
        margin: 0;
        max-height: 100vh;
        width: 100%;
        height: 100%;
        box-shadow: none;
    }
}

.close-modal-wrapper {
    display: block;
    text-align: right;
}

.close-modal,
.close-modal-preview {
    color: #fff !important;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    background-color: #831026;
    border-radius: 100%;
    height: 25px;
    width: 25px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 1px;
}

.last-delete-checkbox+.delete-button {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f44336;
    color: white;
    cursor: pointer;
    border: none;
    border-radius: 5px;
}

#erv_table tr {
    background-color: transparent;
    height: 0 !important;
}

.erv-table {
    min-height: 400px;
    min-width: 100%;
}

table.dataTable.compact thead th,
table.dataTable.compact thead td {
    padding: 4px 8px;
}

.dataTables_wrapper .dataTables_filter {
    float: left !important;
    text-align: right !important;
    margin-bottom: 15px !important;
}

.dataTables_wrapper .dataTables_filter input {
    margin-left: 0;
    padding: 5px;
    width: 450px;
    border: 1px solid #ccc;
}

.dataTables_wrapper .dataTables_length {
    float: left;
}

.dataTables_wrapper .dataTables_paginate {
    float: right;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 6px 12px;
    margin-left: -1px;
    border: 1px solid #ddd;
    border-left: none;
    cursor: pointer;
    color: #000;
    background-color: none;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
    font-size: 15px;
    color: #888;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #eee !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #fff !important;
    border: 1px solid #840f26 !important;
    background: #840f26 !important;
    padding: 1px !important;
}

.messengerContingent-con {
    float: right;
    text-align: right;
}

.messengerContingent-wrapper {
    font-size: 15px;
    border: 1px solid #ccc;
    display: inline;
    color: #000;
    padding: 10px 0px 10px 10px;
}

span#messengerContingent {
    background-color: #840f26;
    color: #fff;
    padding: 10px 15px;
    margin-left: 5px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #eee !important;
    border: none !important;
    color: #3c3c33 !important;
}

.dataTables_wrapper {
    overflow-x: scroll !important;
}

.dataTables_wrapper .dataTables_filter {
    float: left;
    text-align: right;
    margin-bottom: 15px;
}

.erv-mobile-notice {
    display: none;
    width: 100%;
    color: #000;
}

.erv-mobile-hide {
    width: 100%;
}

#editLetterModal .form-input,
#addRowModal .form-input {
    outline: 0;
    background: #fff;
    color: #000;
    width: 100%;
    border: 1px solid #831026;
}

.modal select {
    display: block;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 17px 19px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #800000;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path d='M4 6l4 4 4-4' stroke='%23666' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 10px center;
    padding-right: 2em;
}

.modal select::after {
    content: '▼';
    font-size: 14px;
    color: #333;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.month-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.file-icon {
    width: 26px;
    min-width: 26px;
    vertical-align: middle;
    margin-left: 10px;
    transition: all 0.5s;
}

.file-icon:hover {
    opacity: 0.5;
}

.month-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 10px;
    color: #000;
    flex-wrap: wrap;
}

.month-item a {
    color: #000;
    flex: 1 1 auto;
}

.icon-wrapper {
    display: flex;
    align-items: center;
    margin-left: 10px;
    position: relative;
}

.icon-wrapper:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 768px) {
    .month-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .icon-wrapper {
        margin-left: 0;
        margin-top: 5px;
    }

    .file-icon {
        margin-left: 0;
    }

    .tooltip {
        display: none;
    }

    .container {
        max-width: 100% !important;
    }
}

@media only screen and (max-width: 992px) {
    .erv-mobile-hide {
        display: none;
    }

    .erv-mobile-notice {
        display: block;
    }
}

.icon-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 5px;
}

.tooltip {
    visibility: hidden;
    width: max-content;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 4px 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.icon-wrapper .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.icon-wrapper:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.archivLink {
    margin-top: 10px;
    display: block;
}

.checkbox-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.checkbox-container .tooltip-checkbox {
    display: none;
    margin-top: 15px;
    background-color: #f9f9f9;
    padding: 10px;
    border: 1px solid #ccc;
    z-index: 10;
    width: 100%;
    line-height: 1.6;
}

.checkbox-container.active .tooltip-checkbox {
    display: block;
}

.button-link {
    cursor: pointer;
}


h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover,
.heading-1 a:hover,
.heading-2 a:hover,
.heading-3 a:hover,
.heading-4 a:hover,
.heading-5 a:hover,
.heading-6 a:hover {
    color: inherit !important;
    opacity: .5 !important;
}

.button-link,
.button-link:active,
.button-link:focus {
    color: #000;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    opacity: .4;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"%3E%3Cpath fill="black" d="M3 3 L17 17 M17 3 L3 17" stroke="black" stroke-width="2" stroke-linecap="round"/%3E%3C/svg%3E') no-repeat center;
    cursor: pointer;
}

.greeting {
    transition: opacity 0.05s ease-in-out;
    opacity: 1;
}

.greeting-hidden {
    opacity: 0;
}

.greeting-visible {
    opacity: 1;
}

.erv-news-title {
    background-color: rgb(255 255 255);
    display: inline-block;
    padding: 5px 10px;
    font-size: 14px;
    line-height: 1.28;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #000 !important;
    border: 1px #cecece solid;
}

.showEMV,
.hideEMV {
    opacity: 1;
    transition: opacity 0.5s ease;
    visibility: visible;
    display: inline-block;
}

.emv-hidden {
    opacity: 0;
    display: none;
    visibility: hidden;
}

.pricing-table .button-link {
    color: #000;
    cursor: pointer;
}

.news-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    transition: all 1.5s;
}

.news-container a:hover {
    transform: scale(1.03);
    opacity: .9;
}

.news-bg-image {
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    background-image: url("../images/erv_top_banner.jpg");
}

.col-md-4-ne {
    flex: 0 0 31.2%;
    max-width: 31.2%;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.news-top-con {
    max-width: 50%;
    margin: 0 auto 50px auto;
    z-index: 10;
}

@media (max-width: 1800px) {
    .col-md-4-ne {
        flex: 0 0 28.8%;
        max-width: 28.8%;
    }
}

@media (max-width: 1200px) {
    .flex-container {
        gap: 20px;
    }

}

@media (max-width: 990px) {
    .flex-container {
        flex-direction: column;
        gap: 27px 0;
    }

    .col-md-4-ne {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .news-top-con {
        display: none;
    }
}


.pricing-body-ne {
    padding-top: 0px;
}

.pricing-footer-ne {
    padding-top: 10px;
    padding-bottom: 0px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.full-slider {
    position: absolute;
    top: 0;
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    left: 0;
}

.slider-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 80%;
    max-width: 1370px;
}

.slider-content .graphic img {
    max-height: 300px;
    display: block;
    margin: auto;
}

.slider-content .text {
    text-align: left;
    color: #fff;
    font-size: 0.9em;
    padding: 20px 0;
    margin: 0;
}

.slider-content .text h2 {
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #fff;
    font-weight: bold;
}

.slider-content .text p {
    margin: 0;
    font-size: 18px;
}

.slider-content .text .button {
    padding: 10px 20px;
    background: #fff;
    color: #000;
    border: none;
    transition: all 1s;
    cursor: pointer;
    margin-top: 25px;
    border-radius: 0;
}

.slider-content .text .button:hover {
    opacity: 0.8;
}

.slider-content .graphic {
    order: 2;
}

.slider-content .text {
    order: 1;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    cursor: pointer;
    fill: #fff;
    z-index: 10;
}

.nav-arrow.left {
    left: 20px;
}

.nav-arrow.right {
    right: 20px;
}

a.brand-name img {
    height: 70px;
}

.suggestion-container {
    display: flex;
    overflow-x: auto;
    margin-bottom: 10px;
}

.suggestion-item {
    flex: 0 0 auto;
    margin-right: 5px;
    padding: 4px 8px;
    border: 1px solid #831026;
    border-radius: 4px;
    font-size: 13px;
    color: #000;
    cursor: pointer;
    white-space: nowrap;
}

.suggestion-input {
    margin-bottom: 10px !important;
}

#txtPreviewModal {
    display: none;
    align-items: center;
    justify-content: center;
}

#txtPreviewModal .modal-content {
    width: 100%;
    max-width: 80%;
    max-height: 100%;
    margin: auto;
    box-sizing: border-box;
    overflow: auto;
}

.upload-container {
    position: relative;
    width: 100%;
    height: 100px;
    border: 2px dashed #831026;
    border-radius: 3px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.upload-container:hover {
    border-color: #333;
}

.upload-container input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-text {
    color: #606060;
    font-size: 16px;
}

.icon-link {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: #888;
}

.xlsIcon {
    height: 25px;
}

.list-group-item {
    color: #000 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ccc;
}

.list-group-item:hover {
    color: #831026 !important;
}

.card-header {
    border-bottom: 1px solid #ccc;
}

.card {
    border: 1px solid #ccc;
}

.import-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 4px;
    font-family: Arial, sans-serif;
}

.import-pages {
    width: 100%;
}

.import-page {
    display: none;
}

.import-page.active {
    display: block;
}

.import-nav {
    margin-top: 20px;
    text-align: right;
}

.import-nav label {
    margin-left: 5px;
    cursor: pointer;
    font-weight: bold;
}

hr {
    border: 0;
    border-top: 1px solid #ccc;
    display: block;
    width: 100%;
}

.import-page p {
    margin-top: 10px;
}

.import-page hr {
    margin: 35px 0;
}

.messageHistoryModalBody {
    display: flex;
    flex-wrap: nowrap;
}

.messageHistorySidebar {
    max-width: 420px;
    border-right: 1px solid #ccc;
    padding-right: 10px;
    overflow-y: auto;
    max-height: 80vh;
}

.messageHistoryMainContent {
    width: 950px;
    margin-left: 15px;
    overflow-y: auto;
    max-height: 80vh;
    min-width: 710px;
    margin-right: 15px;
    padding: 15px;
    border: 1px solid #d7d7d7;
}

.messageHistoryMainContentEmpty {
    background-color: #f9f9f9;
    display: flex;
    border: 1px solid #d7d7d7;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 950px;
}

@media (max-width: 1200px) {

    .messageHistoryMainContentEmpty,
    .messageHistoryMainContent {
        max-width: 950px;
    }
}

.messageHistoryMainContentEmpty div {
    margin: 0;
}

.messageHistoryMainContent a,
.messageHistoryMainContent strong {
    display: inline;
}


.messageHistoryHeader {
    display: inline-flex;
    align-items: center;
    justify-content: left;
    gap: 15px;
}

.messageHistoryModalContent table {
    width: 100%;
    border-collapse: collapse;
    table-layout: inherit;
}

.messageHistoryModalContent table thead th {
    background-color: #831026;
    color: #fff;
    border: none;
}

.messageHistoryModalContent table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.messageHistoryModalContent table tr:nth-child(odd) {
    background-color: #fff;
}

.messageHistoryModalContent h4 {
    font-size: 25px;
}

.messageHistoryModalContent hr {
    margin: 15px 0;
}

.messageHistoryMainContent .icon {
    margin-bottom: 15px;
    font-size: 25px;
    background: #831026;
    padding: 15px;
    border-radius: 50%;
    display: flex;
    color: #fff;
    max-width: 60px;
}

.messageHistoryModalContent table,
.messageHistoryModalContent th,
.messageHistoryModalContent td {
    border: 1px solid #ddd;
    text-align: left;
}

#downloadPdf {
    display: none;
}

#downloadPdf img {
    width: 30px;
}

.messageHistoryMainContentEmpty #txtPreviewContent {
    max-width: 70%;
    text-align: center;
}

a.txtLink.active {
    font-weight: 600;
    color: #000;
}

.modal input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 3px;
    margin-right: 5px;
    vertical-align: middle;
}

.modal input[type="checkbox"]:checked::before {
    content: '✕';
    font-size: 15px;
    color: #831026;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal label {
    font-size: 16px;
    color: #333;
    cursor: pointer;
}

.erv-login-success {
    display: none;
    justify-content: center;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
    border: 1px #c6c6c6 solid;
    padding: 2rem 3rem;
    text-align: center;
}

.erv-login-success p {
    margin-top: 0;
}

.erv-login-success img {
    width: 5.5rem;
}
#erv-login-container{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 15rem;
    width: 100%;
}
#erv-login{
    width: 100%;
}
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    border: 1px solid #000;
    background-color: transparent;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 225px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    text-align: left;
}

.dropdown-item {
    display: block;
    border: none;
    width: 100%;
    text-align: left;
    padding: 6px 20px;
    text-transform: none;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.03em;
}

.dropdown-item:hover {
    background-color: #831026;
    color: #fff;
}

.dropdown:hover .dropdown-menu {
    display: block;
}