
/* ===========================

Template: MediaLink;
Author: Net-Makers;

Index Of css

01. Common CSS
02. Login CSS
03. Link CSS
04. Table CSS
05. Flash CSS
06. Form Control CSS
07. Dashboard CSS

========================== */

/*===========================
    01. Common CSS
===========================*/
body {
    font-size: 11pt;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex-grow: 1;
    padding: 20px;
}
footer {
    background-color: #333;
    color: #fff;
    padding: 10px;
}
.pageTitle {
    color: #0d6c29;
    font-size: 28px;
    font-style: normal;
    text-decoration: none;
    line-height: 32px;
    text-align: left;
    margin: 5px 0 0 0;
    padding: 7px 0 0 0;
}

.subtitle {
    color: #555;
    font-size: 16px;
    font-style: normal;
    text-decoration: none;
    margin: 20px 5px 15px 0px;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    flex-grow: 1;
}
.text-right {
    text-align: right;
}
.current-time {
    text-align: right;
    color: #98a7a8;
    font-size: 10px;
    font-style: italic;
}
/*===========================
    02. Login CSS
===========================*/

.login-system-title {
    padding-top: 80px;
}

.login-system-title span {
    font-size: 25px;
    font-weight: 700;
    color: #50B848;
    margin-bottom: 5px;
}

.form-signin {
    max-width: 400px;
    padding: 15px;
}

#errorMessage, .errorMessage {
    font-size: 0.9rem;
    color: red;
}

.alert {
    display: none;
}

.has-error {
    display: block;
}

.oc-visible {
    display: block;
}
/*===========================
    03. Link CSS
===========================*/
.modal-body .list-unstyled li {
    padding-left: 12px;
    padding-bottom: 12px;
}

.modal-body .btn, .modal-body .btn:link, .modal-body .btn:visited  {
    -webkit-appearance: button;
    background-color: #50B848;
    color: white;
    text-decoration:  none;
}

.modal-body .btn:hover, .modal-body .btn:active {
    background-color: #029352;
    text-decoration: none;
}


.btn-primary {
    --bs-btn-color: #fff !important;
    --bs-btn-bg: #28a745 !important;
    --bs-btn-border-color: #28a745 !important;
    --bs-btn-hover-color: #fff !important;
    --bs-btn-hover-bg: #029352 !important;
    --bs-btn-hover-border-color: #38b000 !important;
    --bs-btn-focus-shadow-rgb: 49,132,253 !important;
    --bs-btn-active-color: #fff !important;
    --bs-btn-active-bg: #38b000 !important;
    --bs-btn-active-border-color: #548c2f !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
    --bs-btn-disabled-color: #fff !important;
    --bs-btn-disabled-bg: #28a745 !important;
    --bs-btn-disabled-border-color: #28a745 !important;
}
.btn-primary, .btn-primary:link, .btn-primary:visited {
    color: white;
    text-decoration: none;
}

.btn-primary:hover, .btn-primary:active {
    color: #000000;
    text-decoration: none;
}

a, a:link, a:visited {
    color: #50B848;
    text-decoration: none;
}

a:hover, a:active {
    text-decoration: none;
}

.info, .info:link, .info:visited {
    background-color: white;
    color: #50B848;
    border: 1px solid #50B848;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
  }

.info:hover, .info:active {
    background-color: #50B848;
    color: white;
}

.btn-secondary, .btn-secondary:hover,  .btn-secondary:active, .btn-secondary:link, .btn-secondary:visited {
    background-color: #777;
    color: white;
    text-decoration: none;
}
/*===========================
    04. Table CSS
===========================*/
.ml-table {
    width: 100%;
    background-color: white;
}
.ml-table thead, th.dtfc-fixed-left, th.dtfc-fixed-right {
    padding: 10px;
    text-align: left;
    background-color: #e3f1f5 !important;
    color: #213F50;
    font-weight: 500;
}

td.dtfc-fixed-left, td.dtfc-fixed-right {
    background-color: white !important;
}

.col-label {
    font-weight: 500;
    color: #555;
    background-color: #cde0e5 !important;
}
.data-list-table {
    width: 100%;
    font-size: 0.8rem;
}
/* table with different color for odd and even rows */
.data-list-table tr:nth-child(even) {
    background-color: #f2f2f2;
}
.data-list-table tr:nth-child(odd) {
    background-color: #ffffff;
}
.data-list-table th {
    padding: 10px;
    text-align: left;
    background-color: #cde0e5;
    color: #213F50;
    font-weight: 500;
}
.data-list-table td {
    padding: 10px;
    text-align: left;
    color: #213F50;
}

.payment-list-table tr:nth-child(even) {
    background-color: #f9fdfd;
    border: none;
}
.payment-list-table tr:nth-child(odd) {
    background-color: #ffffff;
    border: none;
}
.payment-list-table th {
    padding: 10px;
    text-align: left;
    background-color: #cde0e5;
    color: #213F50;
    font-weight: 500;
    border: none;
}
.payment-list-table td {
    padding: 10px;
    text-align: left;
    color: #213F50;
    border: none;
}



.report-result{
    margin: 30px;
    padding: 30px;
    color: #213F50;
    background-color: #E6E9E9;
    /* div with round corner */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    /* div with shadow */
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.15);
    box-shadow: 0 1px 2px rgba(0,0,0,.15);

}
.report-result-table {
    width: 100%;
}
/* table with different color for odd and even rows */
.report-result-table tr:nth-child(even) {
    background-color: #f2f2f2;
}
.report-result-table tr:nth-child(odd) {
    background-color: #ffffff;
}
.report-result-table th {
    padding: 10px;
    text-align: left;
    background-color: #cde0e5;
    color: #213F50;
}
.report-result-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.upload-warning-result-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    color: darkorange;
}

.report-result .error-message {
    color: darkred;
}

.report-result .warning-message {
    color: darkorange;
}

.mltbl {
    background-color: #f6f8f9;
}

.td-vertical-align-middle {
    vertical-align: middle;
}

.statusMessage {
    border: 2px solid #c8dadf;
    color: #1e2125;
    font-size: 1.2rem;
    margin: 20px 0;
    padding: 5px;
}

/*===========================
    05. Flash CSS
===========================*/
.oc-flash-message.success, .flash-message.success {
    background: #86cb43 !important;
    color: white !important;
}
.oc-flash-message.info, .flash-message.info {
    background: #5fb6f5 !important;
    color: white !important;
}
.oc-flash-message.warning, .flash-message.warning {
    background: #f0ad4e !important;
    color: white !important;
}
.oc-flash-message.error, .flash-message.error {
    background: #c30 !important;
    color: white !important;
}

/*===========================
    06. Form Control CSS

 */
.ms-options-wrap > button:focus, .ms-options-wrap > button, .form-control {
    display: block;
    width: 100% !important;
    padding: 0.5rem 1rem !important;
    margin-top: 1px !important;
    font-size: 1rem !important;
    font-weight: 400;
    line-height: 1.5;
    color: #27272a;
    background-color: #fff !important;
    background-clip: padding-box;
    border: 1px solid #d4d4d8 !important;
    appearance: none;
    border-radius: 0.3rem !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.ms-options-wrap > .ms-options {
    border: 1px solid #d4d4d8 !important;
    border-radius: 0.3rem !important;
}

.form-control:disabled {
    background-color: #f4f4f5 !important;
    opacity: 1;
}

/*===========================
    07. Dashboard CSS

 */
.dashboard {
    padding: 20px;
    background-color: #f6f8f9;
    color: #213F50;
    /* div with round corner */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    /* div with shadow */
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.15);
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
    height: 260px;
    min-width: 540px;
}
.dashboard-title {
    color: #213F50;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    text-decoration: none;
    line-height: 14px;
    text-align: left;
    margin: 0 0 5px 0;
    padding: 0 0 7px 0;
}
.dashboard-table {
    width: 100%;
    font-size: 12px;
}
.dashboard-table thead {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.dashboard-table tbody {
    display: block;
    overflow: auto;
    height: 200px;
    width: 100%;
}
.dashboard-table tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.dashboard-table tr:nth-child(even) {
    background-color: #f2f2f2;
}
.dashboard-table tr:nth-child(odd) {
    background-color: #ffffff;
}
.dashboard-table th {
    padding: 3px;
    text-align: left;
    background-color: #cde0e5;
    color: #213F50;
    font-weight: 600;
}
.dashboard-table td {
    padding: 3px;
    text-align: left;
    color: #213F50;
}
.dashboard-btn,
.dashboard-btn:link,
.dashboard-btn:visited
{
    background-color: white;
    color: #435c76;
    text-decoration: none;
    padding: 2px 8px;
    text-align: center;
    display: inline-block;
    border: 1px solid #a3a6a9;
    width: 100%;
    /* with round corner */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.dashboard-btn:hover {
    background-color: #435c76;
    color: white;
}
.navbar-actions .navbar-nav li.nav-item {
    width: fit-content !important;
}
.select-icon {
    display: flex;
    align-items: center;
}

.select-icon img {
    margin-right: 8px;
}
