@font-face {
    font-family: 'RobotoItalic';
    src: url('./font/Roboto/Roboto-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@1,300&display=swap');

* {
    font-family: 'Noto Sans', sans-serif;
    margin: 0;
    padding: 0;
    outline: none;
    font-size: 14px;
    line-height: 23px;
}
a:hover {
    color: #4d7833;
}

label {
    font-weight: 600;
    cursor: pointer;
}

textarea {
    width: 99%;
    margin-top: 0.5%;
    margin-bottom: 0.5%;
}

#mainMenu {
    width: 100%;
    box-shadow: 1px 1px 2px 1px #00000063;
    height: 40px;
    clear: both;
    background-color: #54a145;
    border-bottom: 1px solid #2b4d40;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.active {
    background-color: #4d7833 !important;
}
.bg-cwmail {
    background-color: #4d7833;
}
#mainMenu ul.nav li a {
    color: #fff;
    padding: 12px 10px;
    border-right: 1px solid #2b4d40;
    text-decoration: none;
}
#mainMenu ul.nav li:last-child a {
    border-right: none;
}
#mainMenu ul.nav li {
    list-style-type: none;
    position: relative;
}

#mainMenu ul.nav li a:hover {
    background-color: #4d7833;
}

#mainContainerLogin {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: start;
    height: 100vh;
}

#mainContainer {
    width: 100%;
    margin-top: 40px;
    height: calc(100vh - 40px); 
    display: flex;
    justify-content: space-between;
    align-items: start;
}

#mainEmail {
    padding: 0.3%;
    margin: 0.2%;
    flex: 0.70;
}

#mainContent {
    padding: 0.3%;
    margin: 0.2%;
    flex: 2;
    min-height: calc(100vh - 60px); 
}

#mainContainer .subHeader {
    border: 0;
    padding: 5px;
    height: 45px;
    background-color: #eee;
    clear: both;
    margin-bottom: 7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
}

.btn-cwmail .fas,
.btn-cwmail svg {
    color: #2b4d40 !important;
}

.btn-cwmail:after svg {
    color: #fff !important;
}

.btn-cwmail:hover svg {
    color: #fff !important;
}

.btn-cwmail:active svg {
    color: #fff !important;
}

.btn-cwmail:visited svg {
    color: #fff !important;
}
span.tox-statusbar__branding {
    display: none;
}
.btn-cwmail {
    background-color: #54a145;
    padding: 5px 10px;
    color: #fff;
    height: 30px;
    border: 1px solid #42ebab;
    font-size: 13px;
    text-align: center;
    box-shadow: 0px 0px 2px 0px #000;
    position: relative;
    transition-duration: 0.4s;
    text-decoration: none;
    text-transform: capitalize;
    border-radius: 4px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    min-width: 80px;
    line-height: normal;
}

.btn-cwmail:hover {
    background-color: #4d7833;
    border-radius: 4px;
    border: 1px solid #2b4d40;
    color: #fff;
    overflow: hidden;
}

.btn-cwmail:active {
    background-color: #4d7833;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #2b4d40;
    color: #fff;
}

.btn-cwmail:focus {
    background-color: #4d7833;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #2b4d40;
    color: #fff;
}

.btn-cwmail:active {
    background-color: #4d7833;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #2b4d40;
    color: #fff;
}

.btn-cwmail::-moz-focus-inner {
    border: 0;
    overflow: hidden;
}

.btn-cwmail:after {
    content: "";
    background: #ffffff9e;
    position: absolute;
    bottom: 0;
    left: 0;
    padding-top: 25px;
    padding-left: 100%;
    margin-left: 0 !important;
    margin-top: 0%;
    opacity: 0;
    transition: all 0.8s;
}

.btn-cwmail:active:after {
    padding: 0;
    margin: 0;
    opacity: 1;
    position: absolute;
    overflow: hidden;
    transition: 0s;
}

.btn-cwmail:visited {
    background-color: #4d7833;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #2b4d40;
    color: #fff;
}

.list-mail {
    background-color: #fff;
    overflow: scroll;
    width: 500px;
    border: 1px solid #2b4d40;
    margin-bottom: 5px;
    height: 100%;
}

.list-mail::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.list-mail::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.list-mail::-webkit-scrollbar-thumb {
    background: #888;
}

.list-mail::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.main-group {
    padding: 7px;
}

.main-group .group-sub {
    padding: 7px;
}

.main-group .group-sub h3 {
    font-size: 15px;
}

.main-group .group-sub ul {
    padding: 7px;
    margin-left: 7px;
}

.title-list-mail {
    margin-top: 5px;
    clear: both;
    margin-bottom: 5px;
}

.btn-saerch {
    margin-top: 16px;
    height: 77px;
    width: 90%;
    margin-left: 2%;
}

#mainContainer .subBody {
    margin-top: 10px;
    margin: 0 auto;
    margin-bottom: 30px;
    height: calc(100vh - 140px);
}

.enter-form {
    width: 80%;
    float: left;
}

.btn-form {
    float: right;
    width: 20%;
}

.content {
    height: 100%;
}

#mainContainer .subBody fieldset {
    height: 100%;
    clear: both;
    padding: 5px;
    background-color: #eee;
    border: 0;
    border-radius: 4px;
}

#footerContainer {
    background-color: #54a145;
    height: 30px;
    clear: both;
    box-shadow: 0px -1px 2px 1px #00000063;
    padding: 9px 0;
    border-top: 1px solid #2b4d40;
    margin-top: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#footerContainer .copy-righter {
    float: right;
}

#footerContainer .use {
    margin-left: 10px;
}

#footerContainer .author {
    margin-right: 10px;
}

#footerContainer .author p {
    text-align: right;
    color: #fff;
    margin-bottom: 0;
}

#footerContainer .use-app {
    color: #fff;
    display: inline;
    border-right: 1px solid #fff;
    padding-right: 5px;
    margin-bottom: 0;
}

#footerContainer .use-app:last-child {
    border-right: 0;
}

#mainMenu .nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#mainMenu .nav-user {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    flex: 1;
    margin-bottom: 0;
    position: relative;
}

#mainMenu .nav-user li {
    display: block;
    min-width: 200px;
}

#mainMenu .nav-user li .sub-nav-user a:hover {
    background-color: #4d7833;
}

#mainMenu .nav-user li .user-name {
    border-right: 0px !important;
    text-decoration: none;
    color: #fff;
    padding: 0px 7px !important;
}

#mainMenu .sub-nav-user {
    display: none;
    position: relative;
    z-index: 999;
    top: 7px;
    background-color: #54a145;
    line-height: 27px;
}

#mainMenu .sub-nav-user li a {
    border-right: 0;
    text-decoration: none;
    padding-right: 10px;
    display: block;
    color: #fff;
    border-bottom: 1px solid #2b4d40;
}

#mainMenu .sub-nav-user li:hover {
    background-color: #4d7833;
}

.license {
    display: inline-flex;
    padding: 4px;
}

.logo {
    float: left;
}

.send {
    padding: 5px;
    display: inline-flex;
}

.title-legend {
    font-weight: 600;
    box-shadow: 1px 1px 2px 1px #00000063;
    border: 0;
    background-color: #54a145;
    border-radius: 4px;
    padding: 2px 20px;
    color: #fff;
}

.cw {
    color: #e1ff00;
    font-size: 15px;
}

.fas,
svg {
    color: #fff !important;
}

#logo {
    width: 50%;
}

#mainFormLogin {
    width: 50%;
    float: left;
}

#loginForm {
    padding: 3%;
    margin: 0 auto;
    margin-top: 12%;
    background-color: #ffffffc7;
    box-sizing: border-box;
    box-shadow: 2px 1px 3px 1px #575959;
    width: 52%;
    border: 1px dashed #54a145;
}

#loginForm .loginFooter a {
    color: #000000;
    font-weight: 600;
}

#loginForm .loginFooter p {
    margin-top: 10px;
    margin-bottom: 10px;
}

#loginForm input[type="text"],
#loginForm input[type="number"],
#loginForm input[type="email"],
#loginForm input[type="password"] {
    width: 96%;
}

#remember {
    margin-top: 10px;
    margin-bottom: 10px;
}

#policyPrivacy {
    width: 50%;
    float: right;
}

.form-group {
    margin-top: 7px;
    display: block;
    margin-bottom: 7px;
}

.input-search {
    width: 60% !important;
    display: inline;
}

.loginFooter {
    padding-top: 5px;
    clear: both;
}

#policyPrivacy fieldset {
    width: 80%;
    background-color: #eee;
    padding: 25px;
    margin-top: 12%;
    margin-bottom: 49px;
    text-align: justify;
    height: 400px;
    vertical-align: middle;
    font-size: 13px;
    position: unset;
    overflow-y: scroll;
    box-sizing: border-box;
    box-shadow: 2px 1px 3px 1px #575959;
}

#policyPrivacy fieldset legend {
    font-weight: 600;
}

#policyPrivacy fieldset::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

#policyPrivacy fieldset::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#policyPrivacy fieldset::-webkit-scrollbar-thumb {
    background: #888;
}

#policyPrivacy fieldset::-webkit-scrollbar-thumb:hover {
    background: #555;
}

input[type="file"] {
    color: #54a145;
    margin-left: 1px;
    margin-right: 1px;
    border: 1px solid #54a145;
    border-radius: 4px;
}

input[type="file"]::-webkit-file-upload-button {
    visibility: hidden;
}

input[type="file"]::after {
    border: 1px solid #2b4d40;
}

/* input[type="file"]::before {
    content: "\f574 \00a0 Tải file";
    color: #4d7833;
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    background: -webkit-linear-gradient(top, #f9f9f9, #e3e3e3);
    border: 1px solid #999;
    border-radius: 4px;
    padding: 2px 8px;
    height: 20px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    text-shadow: 1px 1px #fff;
    font-weight: 700;
    font-size: 12pt;
} */

input[type="file"]:hover::before {
    border-color: black;
}

input[type="file"]:active {
    outline: 0;
}

input[type="file"]:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}

#pageOut {
    background-image: url('../images/background-v2.jpeg');
}

#pageOut a {
    color: white;
}

#mainSidebar li a {
    list-style: none;
    border-top: 1px solid #2b4d40;
    border-bottom: 1.5px solid #2b4d40;
    box-shadow: 1px 1px 2px 1px #00000063;
    background-color: #54a145;
    color: white;
    padding: 8px;
    text-decoration: none;
}

#mainSidebar li a:hover {
    background-color: #4d7833;
}

#mainSidebar li {
    font-size: 15px;
    color: white;
    display: grid;
    width: 100%;
}

#mainSetting {
    width: 30%;
    margin: 0 auto;
}
.tox-notifications-container {
    display: none !important;
}
#mainSetting .sub-setting {
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 1px 1px 2px 1px #00000063;
    padding: 3%;
    overflow: hidden;
    background-color: #f1dea5;
}
#mainContainer .sub-body-no-header {
    min-height: calc(100vh - 90px);
}
#mainSetting .sub-setting h3 {
    font-size: 21px;
    margin: -3.3% -3.3% 0 -3.3%;
    padding: 5px;
    color: white;
    background-color: #54a145;
}
.sub-nav {
    display: none;
    position: absolute;
    z-index: 999;
    top: 33px;
    background-color: #54a145;
    line-height: 27px;
    min-width: 200px;
    padding-left: 0;
    box-shadow: 3px 4px 8px 2px #231919;
}

.sub-nav li a {
    border-right: 0;
    text-decoration: none;
    padding: 5px 15px;
    display: block;
    color: #fff;
    border-bottom: 1px solid #2b4d40;
}
#mainMenu ul.nav-user .sub-nav li a:hover {
    background-color: #4d7833;
}
#mainMenu ul.nav .sub-nav li a {
    color: #fff;
    padding: 5px 10px;
    border-right: 0;
}
.prices-actived {
    display: flex;
    width: 1140px;
    margin: 0 auto;
    justify-content: space-evenly;
    align-items: center;
    gap: 30px; 
}
.active-item {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    padding: 30px 15px 10px;
}
.name-active {
    position: absolute;
    width: 70%;
    left: 18px;
    text-align: center;
    text-transform: capitalize;
    color: white;
    display: flex;
    font-weight: 600;
    border-radius: 0px 10px 0px 10px;
    padding: 7px 20px;
    top: -11px;
    height: 26px;
    background-image: url(../../assets/images/active/name-active.png);
    background-size: cover;
    justify-content: center;
    align-items: center;
}

.image-active {
    width: 60%;
    justify-content: center;
    align-items: center;
    display: flex;
    margin: 0 auto;
    height: 100%;
}
.price {
    text-align: center;
    font-size: 14px;
    font-style: italic;
    position: relative;
}
.price-remove::after {
    width: 76px;
    height: 1px;
    content: ' ';
    background-color: red;
    display: block;
    transform: rotate(4deg);
    position: absolute;
    text-align: center;
    top: 11px;
    right: 33%;
}
p.price-sale {
    text-align: center;
    font-size: 20px;
    margin: 15px auto;
    color: #0000ff;
    font-weight: 600;
}
.feature {
    list-style-type: none;
    margin: 15px auto;
}
.feature li {
    text-align: center;
    margin-top: 5px;
}
#mainSidebar {
    padding: 0.3%;
    margin: 0.2%;
    flex: 0.40;
}
#mainContainer #mainSidebar .sub-body-col {
    min-height: calc(100vh - 94px);
}
.buy-cart {
    border: 2px solid red;
    padding: 5px;
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    min-height: 245px;
    padding: 10px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.buy-form {
    border: 2px solid red;
    border-radius: 4px;
    padding: 5px;
    position: relative;
    min-height: 245px;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    flex: 3;    
}
.buy-active {
    display: flex;
    width: 1140px;
    margin: 40px auto 0;
    justify-content: start;
    align-items: center;
    gap: 30px; 
}
.price-group {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    position: absolute;
    bottom: 0px;
    left: 0px;
    background-color: #54a1459e;
    width: 100%;
    border-radius: 0 0 4px 4px;
}
.buy-cart .name-buy {
    position: absolute;
    width: 70%;
    left: 18px;
    text-align: center;
    text-transform: capitalize;
    color: white;
    display: flex;
    font-weight: 600;
    border-radius: 0px 10px 0px 10px;
    padding: 7px 20px;
    top: -14px;
    height: 26px;
    background-image: url(../../assets/images/active/name-active-red.png);
    background-size: cover;
    justify-content: center;
    align-items: center;
}
.price-group p.price-sale {
    text-align: end;
    font-size: 20px;
    margin: 5px;
    color: #0000ff;
    font-weight: 600;
}

.price-group .price {
    text-align: center;
    font-size: 14px;
    font-style: italic;
    position: relative;
    padding: 11px;
}
.price-group .price-remove::after {
    width: 76px;
    height: 1px;
    content: ' ';
    background-color: red;
    display: block;
    transform: rotate(4deg);
    position: absolute;
    text-align: center;
    top: 23px;
    right: 9%;
}
.active-item:hover {
    box-shadow: 1px 1px 20px 0px #003affba;
}
.buy-active {
    display: none;
}
.active-item-price {
    box-shadow: 1px 1px 20px 0px #003affba;
}
.company-tax-form {
    height: auto; 
    margin: 10px 0;
    display: none;
}
.form-note {
    border-top: 2px solid #2b4d40;
    margin-top: 10px;
}
#mainPayment {
    display: inline-table;
    width: 1140px;
    margin: 15px auto;
    border: 1px solid;
    border-radius: 4px;
    padding: 30px;
    min-height: 70vh;
}
.tab {
    cursor: pointer;
    flex: 1;
    padding: 10px;
    text-align: center;
    border: 1px solid #ccc;
}
.tabs {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    width: 100%;
}
.tab-content {
    display: none;
    height: 60vh;
}
.qr-code-payment {
    margin: 20px auto;
    width: 430px;
    display: block;
}
.tab.active {
    background-color: #007bff; /* Màu nền của tab khi được chọn */
    color: #fff; /* Màu văn bản khi được chọn */
}
.info-payment {
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    line-height: 30px;
}
.info-payment p {
    line-height: 60px;
    font-size: 25px;
}
button.buy-close {
    border-radius: 90px;
    width: 30px;
    height: 30px;
    border: 0;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: red;
    position: absolute;
    top: -14px;
    right: -15px;
    cursor: pointer;
}
#numberRestEmailFooter {
    color: yellow;   
    text-decoration: none;
    font-weight: 600;
    background-color: none  !important;
}
.text-center {
    text-align: center;
}
legend {
    float: none;
    width: unset;
    padding: unset;
    margin-bottom: 0;
    font-size: unset;
    line-height: unset;
}
.dataTables_wrapper .dataTables_length select {
    width: 50px;
}
.dataTables_wrapper .dataTables_filter input {
    height: 30px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0px 10px;
}
table.dataTable>thead>tr>th, table.dataTable>thead>tr>td {
    padding: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
table.dataTable {
    margin: 0 auto;
    clear: both;
    border-collapse: separate;
    border-spacing: 0;
}
.info-box {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    margin: 10px;
    border-radius: 5px;
}

.info-box h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.info-box p {
    font-size: 16px;
}
table {
    width: 100%;
}
th, td {
    max-width: 300px; /* Đặt giới hạn chiều rộng tối đa cho cột */
    white-space: nowrap; /* Ngăn cột tự động xuống dòng */
}

.overflow-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

button.tox-button.tox-button--icon.tox-button--naked.tox-browse-url,
button.tox-lock.tox-button.tox-button--naked.tox-button--icon.tox-locked {
    background-color: red;
}

/* .subBody .tox.tox-tinymce {
    height: calc(100vh - 262px) !important;
} */