* {
    padding: 0;
    margin: 0;
    box-sizing:border-box;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.header-section {
    padding: 15px;
}

.btn-primary,
.page-item.active .page-link {
    background-color: #3c8dbc;
    border-color: #367fa9;
}

.add-new, .delete-select, .operation .btn-default, .btn-search {
    padding: 6px 12px 6px 30px;
}

.navbar-light .navbar-toggler-icon {
    background-image: url('../images/more.png');
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
}

.header-section .navbar-toggler {
    background-color: transparent !important;
    outline: none !important;
}
.header-section .container-fluid{
    padding-left:0;
    padding-right:0;
}

.header-section .username::before {
    background: url('../images/user.png') no-repeat;
}

.header-section .logout::before {
    background: url('../images/logout.png') no-repeat;
}

.header-section .login::before {
    background: url('../images/login.png') no-repeat;
}

.header-section .register::before {
    background: url('../images/register.png') no-repeat;
}

.list-buttons .add-new::before {
    background:url('../images/new-add.png') no-repeat;
}
.list-buttons .delete-select::before {
    background: url('../images/select-delete.png') no-repeat;
}
.operation .edit-row::before{
    background:url('../images/edit.png') no-repeat;
}
.operation .details-row::before {
    background: url('../images/details.png') no-repeat;
}
.operation .delete-row::before {
    background: url('../images/deleted.png') no-repeat;
}
.btn-search::before{
    background:url('../images/search.png') no-repeat;
}
.search-title::before{
    background:url('../images/search-title.png') no-repeat;
}

.header-section .username::before,
.header-section .logout::before,
.header-section .login::before,
.header-section .register::before,
.list-buttons .add-new::before,
.list-buttons .delete-select::before,
.operation .btn-default::before,
.btn-search::before,
.search-title::before {
    content: '';
    position: absolute;
    background-size: cover;
}

.header-section .username::before,
.header-section .logout::before,
.header-section .login::before,
.header-section .register::before {
    left: 0;
    width: 20px;
    height: 20px;
}
.list-buttons .add-new::before{
    left: 12px;
    width: 14px;
    height: 14px;
}
.list-buttons .delete-select::before {
    left: 8px;
    width: 20px;
    height: 20px;
}
.operation .btn-default::before,
.btn-search::before {
    left: 9px;
    top: 9px;
    width: 18px;
    height: 18px;
}
.search-title::before{
    left:0;
    width:25px;
    height:25px;
}
.search-title{
    padding:0 30px;
}
.page-link {
    color: #3c8dbc;
}

.btn-primary:hover {
    background-color: #467e9f;
}

.btn-danger, .btn-danger:hover {
    background-color: #dd4b39
}

.header-section .nav-item .nav-link {
    color: rgba(255,255,255,.75);
    padding: 10px 10px 10px 27px;
    display: flex;
    align-items: center;
    word-break: break-word;
}

.header-section .nav-item .nav-link:hover,
.header-section .logo:hover {
    color: #ffffff;
}

.admin-dashboard .admin-board {
    margin: 10px 0;
}

.header-section .logo {
    font-size:0;
    background:url('../images/logo.jpg') no-repeat;
    width:70px;
    height:70px;
    background-size:cover;
    margin-right:0;
}

.admin-dashboard-link,
.container .main {
    padding: 30px 0;
}

.admin-dashboard .admin-link {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: 0.3s;
    width: 100%;
    display: flex;
    align-content: center;
}

.admin-dashboard .admin-link:hover {
    background-color: #4c5156;
    color: #ffffff;
}

.admin-dashboard .title {
    text-align: center;
    font-weight: 300;
    padding: 15px 0;
    color: rgba(0,0,0,.9);
}

.create-category .title,
.edit-category .title,
.create-customer .title,
.edit-customer .title,
.create-product .title,
.edit-product .title,
.details-category .title,
.delete-category .title,
.details-customer .title,
.delete-product .title{
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}

.list-page .list-title,
.create-category .title,
.edit-category .title,
.create-customer .title,
.edit-customer .title,
.create-product .title,
.edit-product .title,
.login-page .title,
.register-page .title {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.create-category,
.edit-category,
.edit-customer,
.create-product,
.edit-product,
.login-page,
.register-page {
    background-color: #f7f7f7;
    padding: 20px;
}

.form-page {
    padding: 20px;
    position: relative;
}

.form-list {
    padding: 20px 30px;
    margin-bottom: 20px;
    background-color: #f7f7f7;
}

.list-page .section-data {
    padding: 15px 0;
}

.list-page .search-data {
    display: flex;
    padding: 0;
}

.list-page .search-data .search-text {
    padding-right: 15px;
}

.list-page .search-data .search-input {
    padding: 0 10px;
    height: 38px;
    border: 1px solid #c2c2c2;
    border-right: none;
    outline: none;
    width: 100%;
}

.list-page .search-data .search-button {
    padding: 0px 20px;
    height: 38px;
    border-left: none;
    color: #ffffff;
    transition: 0.3s;
    border-radius: 0px 3px 3px 0px;
    outline: none;
}

table, th, td {
    border: 1px solid #e3e3e3;
    text-align: center;
}

table {
    border-spacing: 30px;
}

table thead {
    background-color: #f1f1f1;
}

table tbody tr td {
    padding: 16px !important;
}

table thead tr th {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

.table > :not(:last-child) > :last-child > * {
    border-bottom: none;
}

.btn-default {
    background-color: #f8f9fa;
    border-color: #ddd;
    color: #444;
}

.btn-default:hover {
    background-color: #e9ecef;
    color: #2b2b2b;
}

.operation .edit-row,
.operation .details-row,
.operation .delete-row {
    margin: 3px;
}

.list-page .section-data .list-buttons a {
    margin-right: 8px;
}

.pagination-container {
    background-color: #ffffff;
}

.pagination-container .pagination {
    justify-content: end;
}

.create-category .select-section,
.edit-category .select-section,
.create-product .select-section,
.edit-product .select-section {
    width: 100%;
    height: 38px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.create-section .form-check,
.edit-category .form-check,
.create-product .form-check,
.edit-product .form-check,
.login-page .form-check,
.category-info .form-check{
    padding-left: 36px;
    word-break: break-word;
}

.create-category .create-section,
.edit-category .edit-section,
.details-category .details-section,
.delete-category .delete-section {
    padding: 15px 0;
}

.edit-product .download-product a {
    width: 100% !important;
}

.footer-section {
    background-color: #eeeeee;
    border-top: none !important;
    text-align: center;
    padding: 20px;
    line-height: 24px;
}

.data-section dt,
.data-section dd {
    border: 1px solid #ececec;
    padding: 10px;
    word-break: break-word;
}

.data-section dl {
    border: 1px solid #ececec;
}

.data-section dd {
    margin-bottom: 0;
}

.list-page .product-data {
    overflow-x: scroll;
}

header .header-section {
    border-bottom: 1px solid #4b545c !important;
}

.header-section .navbar-collapse {
    flex-grow: 0;
}

.header-section, .admin-panel {
    background-color: #343a40;
}

.information {
    min-height: calc(100vh - 144px);
}

.form-page h2, .list-buttons .btn-primary, .list-buttons .btn-danger {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.form-page h2 span {
    margin-right: 10px;
}

.form-page h2 a {
    font-size: 18px;
    color: #0076bb;
    padding: 5px 10px 5px 25px;
    text-decoration: none;
}

.customer-info,
.bank-details,
.create-customer .list-page,
.category-info {
    padding: 15px;
    background-color: #f7f7f7;
    margin-bottom: 25px;
}

.bank-details .img {
    width: 100%;
    margin-bottom: 10px;
}

.bank-details img[src*="data"] {
    width: 100%;
    max-width: 350px;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.create-customer h5,
.category-info h5{
    font-size: 24px;
    font-weight: 700;
}
.details-section h5,
.delete-customer h5{
    font-weight: 700;
}
.data{
    background-color:#f2f2f2;
}

.back-list, .username, .logout, .login, .register,
.btn-primary, .btn-danger, .operation .btn-default,
.search-title {
    position: relative;
}

.back-list::before {
    content: '';
    background: url('../images/back-arrow.png') no-repeat;
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background-size: cover;
}

.delete-customer .title {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}
input[type=checkbox]:disabled {
    display:block;
}
input[type=checkbox]:disabled::before {
    content: "\58";
    border: 1px solid #c6303e;
    background-color: #c6303e;
    border-radius: 3px;
    display: flex;
    justify-content:center;
    align-items:center;
    width: 13px;
    height: 13px;
    color:#ffffff;
    font-size: 10px;
    text-align: center;
}
input[type=checkbox]:disabled:checked::before {
    content: "\2714";
    border: 1px solid #198754;
    background-color: #198754;
}
.export-groupbtn {
    font-size: 16px;
    font-weight: 400;
    color: #777;
}
.export-groupbtn .dropdown-item{
    color: #777;
}
.export-groupbtn .dropdown-item:hover,.export-groupbtn .dropdown-item:focus{
    color: #777;
    background-color:#e9ecef
}
.export-groupbtn .dropdown-item::before{
    background:none;
}
.importfile-modal .import-btn{
    text-align:end;
}
.list-buttons .import-btn {
    background-color: #3d9970;
}
.list-buttons .export-btn {
    background-color: #28a745;
}
.processing-btn,.processing-btn:hover {
    background-color: #00c0ef;
    border-color: #00c0ef;
    color:#ffffff;
}
.paid-btn, .paid-btn:hover {
    background-color: #f39c12;
    border-color: #f39c12;
    color: #ffffff;
}
@media (max-width: 1399px) {
    .list-page .table-data {
        overflow-x: scroll;
    }
}

@media (max-width: 991px) {
    .list-page .search-section {
        margin-bottom: 20px;
    }
    .data-section .datails-one,
    .data-section .datails-two,
    .data-section .datails-three{
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .edit-product .edit-product-data {
        margin-bottom: 30px;
    }

    .admin-dashboard {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .admin-dashboard .admin-link {
        padding: 15px 20px;
        font-size: 16px;
    }
    .list-buttons{
        display:flex;
        justify-content:left;
        flex-wrap:wrap;
    }
    .data-section .table-data {
        overflow-x: scroll;
    }
}

@media (max-width: 575px) {
    .header-section .navbar-toggler {
        padding: 4px 8px;
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    .admin-dashboard .admin-link {
        display: block;
        text-align: center;
    }

    .admin-dashboard .title {
        font-size: 40px;
    }

    .bank-details img[src*="data"] {
        height: 150px;
    }
}

@media (min-width: 376px) and (max-width: 767px) {
    .admin-dashboard .title {
        font-size: 48px;
    }
}

@media (min-width: 376px) {
    .admin-dashboard .admin-board {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .bank-details img[src*="data"] {
        height: 200px;
    }
}

@media (min-width: 576px) {
    .header-section .nav-item {
        display: flex;
    }
}

@media (min-width: 768px) {
    .admin-dashboard .title {
        font-size: 60px;
    }

    .list-page .section-data .list-buttons {
        display: flex;
        justify-content: end;
        align-items: center;
    }

    .admin-dashboard .admin-link {
        position: relative;
        padding: 15px 25px;
    }

    .admin-dashboard .admin-link::after {
        content: '';
        position: absolute;
        top: 20px;
        right: 18px;
        background: url('../images/right-arrow.png') no-repeat;
        width: 13px;
        height: 13px;
        background-size: cover;
    }

    .list-buttons {
        position: absolute;
        top: 15px;
        right: 20px;
        text-align: right;
        display:flex;
        justify-content:right;
    }
}

@media (min-width: 992px) {
    .list-page .section-data {
        margin-bottom: 20px;
    }
}
