/*
 * Custom: General Style: Asher added new CSS during Reg.Asia storefront project (Feb 2022)
 * ---------------------
 */
.text-dark-blue {
    color: #536c79;
}
.bg-dark-blue {
background: var(--blue-dark);
}
.boxshadow-blue {
    box-shadow: 0 0 1rem 0px var(--blue)!important;
}
.cursor-pointer {
    cursor: pointer;
}
.bg-glass-effect {
    box-shadow: 0 0 1rem 0px rgb(106 180 237);
    border-radius: 5px;
    background-color: rgb(124 124 124 / 15%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}
.bg-dark-50 {
    background-color: rgb(0 0 0 / 50%);
}
.tab-container > .nav-tabs .nav-link {
    color: #fff;
}

.tab-container .nav-link.active {
    color: #000!important;
}

.bg-glass-effect-darkbg {
    box-shadow: 0 0 1rem 0px rgb(106 180 237);
    border-radius: 5px;
    background-color: rgb(0 0 0 / 40%);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(7px);
}

.blue-box {
    color: #fff!important;
    background-color: var(--blue1);
    border-color: var(--blue1);
    box-shadow: 0 0 0.8rem var(--blue1);
    border-radius: 5px;
}
/*
 * Custom: Input
 * -------------
 */
input {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "FontAwesome";
}
/*
 * Custom: Button
 * --------------
 */
.btn-dark {
    color: #fff;
    background-color: #29363d;
    border-color: #29363d;
}
.btn-dark:hover {
    color: #fff;
    background-color: #455860;
    border-color: #455860;
}
.btn-dark:focus, .btn-dark.focus {
    box-shadow: 0 0 0 0.2rem rgba(20, 57, 79, 0.5);
}
.btn-dark.disabled, .btn-dark:disabled {
    background-color: #1d2a31;
    border-color: #1d2a31;
}
.btn-dark:not([disabled]):not(.disabled):active, .btn-dark:not([disabled]):not(.disabled).active,
.show > .btn-dark.dropdown-toggle {
    color: #fff;
    background-color: #455860;
    border-color: #455860;
}
.btn-dark:not([disabled]):not(.disabled):active:focus, .btn-dark:not([disabled]):not(.disabled).active:focus,
.show > .btn-dark.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(20, 57, 79, 0.5);
}

.btn.btn-side-round{
    border-radius: 0.25rem;
}
/*
 * Custom: Navigation
 * ------------------
 */
.sidebar-nav .nav-link .text-indent {
    text-indent: 32px;
}
.sidebar-minimized .nav-link .text-indent {
    text-indent: 58px;
}
.card-link {
    text-decoration: none;
    display: block;
    color: #fff !important;
    -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}
.card-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
.card-img-link {
    text-decoration: none;
    display: block;
    opacity: 1;
    -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}
.card-img-link:hover {
    opacity: 0.7;
}
/*
 * Custom: Right SideMenu
 * ----------------------
 */
#panel-settings .list-group-item,
#user-settings .list-group-item {
    border-left: 0;
    border-right: 0;
    border-color: #c2cfd6;
    font-size: 0.8rem;
}
/*
 * Custom: Storefront
 * ------------------
 */
.create-storefront .progress {
    width: 380px;
    position: absolute;
    right: 0;
    top: 0.9rem;
    margin-right: 1rem;
}
#storefront .table {
    margin-bottom: 0;
}
#storefront .table td {
    border-top: 1px solid #c2cfd6;
}
#storefront .table tr:nth-of-type(1) > td {
    border-top: none;
}
#storefront .badge {
    padding: 0.5rem;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    margin-right: 0.2rem;
}
#storefront .border-dashed {
    border: 3px dashed #c2cfd6;
}
.card-table {
    display: table;
}
.card-table-row {
    display: table-row;
}
.card-table-cell {
    display: table-cell;
}
.card-table-cell > .card-title {
    color: #3e515b;
}
.v-align-middle {
    vertical-align: middle;
}
#storefront .btn-theme,
#storefront .btn-width {
    width: 150px;
}
#storefront .btn-container {
    display: table;
}
#storefront .btn-container > .btn-theme {
    margin-right: 0.375rem;
    margin-left: 0.375rem;
}
#storefront .select-img-container .card-img-link,
#storefront .select-img-container > img {
    margin-bottom: 1rem;
}
#storefront .select-img-container .card-link,
#storefront .select-img-container .card-link > div {
    width: 100%;
    height: 100px;
}
#storefront .selected-img-container > img {
    width: 100%;
    height: auto;
}
#upload-photo {
    display: none;
}
.image-checkbox {
    cursor: pointer;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 4px solid transparent;
    margin: 0 1rem 2rem 1rem;
}
.image-checkbox .card {
    margin-bottom: 0;
}
.image-checkbox .card .card-body {
    padding: 1rem 3rem;
}
.image-checkbox img {
    width: 70px;
    margin-bottom: 0.25rem;
}
.image-checkbox input[type="checkbox"] {
    display: none;
}
.image-checkbox-checked {
    border-color: #29363d;
    -webkit-animation: boom 0.5s ease;
    animation: boom 0.5s ease;
}
.payment-container > .image-checkbox {
    margin: 0 0 1.5rem 0 !important;
}
.payment-container > .image-checkbox .card .card-body {
    padding: 1.25rem !important;
}
.payment-container > .image-checkbox img {
    display: block;
    margin: 0 auto 0 auto !important;
}
.nav-dark {
    background-color: #29363d;
    color: #fff;
}
.nav-dark:hover {
    color: #fff;
    background-color: #455860;
    border-color: #455860;
}
.nav-dark:not([disabled]):not(.disabled):active, .nav-dark:not([disabled]):not(.disabled).active,
.show > .nav-dark.dropdown-toggle {
    color: #fff;
    background-color: #455860;
    border-color: #455860;
}
#storefront .tab-content {
    border: none;
    background-color: transparent;
}
#storefront .nav-item {
    margin: 0 0.375rem 0.75rem 0.375rem;
    width: 150px;
}
.checkbox-container h5 {
    display: inline;
    position: relative;
    top: -2.5rem;
    left: 3.5rem;
}
.checkbox-container h6 {
    display: inline-block;
    position: relative;
    top: -2.5rem;
    left: 3.5rem;
    width: 70%;
    line-height: 1.5;
}
.checkbox-container label {
    display: block;
    user-select: none;
    position: relative;
    width: 38px;
    height: 38px;
    border: 2px solid #c2cfd6;
    -webkit-transition-duration: 0.25s;
    transition-duration: 0.25s;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
}
.checkbox-container label:after {
    content: '';
    display: block;
    margin-left: 12px;
    margin-top: 6.5px;
    width: 11px;
    height: 18px;
    border: solid #c2cfd6;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.checkbox-container label:hover {
    border: 2px solid #3e515b;
    background-color: #3e515b;
    opacity: 0.8;
}
.checkbox-container label:active {
    -webkit-transition-duration: 0;
    transition-duration: 0;
    -webkit-filter: brightness(0.8);
}
.checkbox-container input {
    display: none;
}
.checkbox-container input:checked + label {
    color: #29363d;
}
.checkbox-container input:checked + .bg-checkbox-dark {
    border-color: #29363d;
    background: #29363d;
}
.checkbox-container input:checked + .bg-checkbox-dark:after {
    content: '';
    display: block;
    margin-left: 12px;
    margin-top: 6.5px;
    width: 11px;
    height: 18px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.checkbox-container input:checked + label {
    -webkit-animation: boom 0.5s ease;
    animation: boom 0.5s ease;
}
.checkbox-payment {
    margin-top: 2rem;
}
#storefront .card-img img {
    width: 70px;
}
#storefront .card-big-img img {
    display: block;
    width: 100px;
    margin: 0 auto;
}
#storefront .card-img-title {
    margin-left: 0.5rem;
    display: inline;
}
#storefront .modal-header {
    background-color: #f0f3f5;
}
#storefront .modal-footer {
    border-top: none;
}
.token-input {
    margin-top: -2.2rem;
    margin-left: 3.5rem;
    width: auto !important;
}
.input-caption {
    display: block;
    margin-top: 0.5rem;
    margin-left: 3.5rem;
}
.card-editor-link {
    width: auto !important;
    padding: 0.75rem 1rem !important;
}
.card-actions .dropdown-menu {
    border-bottom: none !important;
    background-clip: unset !important;
    margin: 0.05rem -0.1rem 0 !important;
}
.card-actions .dropdown-item {
    float: none !important;
    width: auto !important;
    padding: 10px 20px !important;
    margin: 0 !important;
    text-align: left !important;
    background: #fff !important;
    border-left: none !important;
    border-bottom: 1px solid #c2cfd6 !important;
}
/*
 * Custom: Order Management
 * ------------------------
 */
#manage-order .badge {
    padding: 0.5rem;
}
#manage-order .filter {
    font-size: 0.75rem;
}
#manage-order .filter-row .st-key {
    display: none;
}
#manage-order table:last-child {
    margin-bottom: 6px !important;
}
.clickable-row {
    cursor: pointer;
}
.pointer-row{
    cursor: pointer;
}
.reason-caption {
    font-size: 0.8rem;
    font-weight: bold;
    font-style: italic;
}
#manage-order-detail .modal-header {
    background-color: #f0f3f5 !important;
}
#manage-order-detail .modal-footer {
    border-top: none;
}
/*
 * Custom: Client Management
 * -------------------------
 */
#manage-client .badge {
    padding: 0.5rem;
}
#manage-client .filter-row .st-key {
    display: none;
}
#manage-client table:last-child {
    margin-bottom: 6px !important;
}
/*
 * Custom: Keyframes
 * -----------------
 */
@-webkit-keyframes boom {
    25% {
        -moz-transform: scale(1.25);
        -ms-transform: scale(1.25);
        -webkit-transform: scale(1.25);
        transform: scale(1.25);
    }
}
@keyframes boom {
    25% {
        -moz-transform: scale(1.25);
        -ms-transform: scale(1.25);
        -webkit-transform: scale(1.25);
        transform: scale(1.25);
    }
}
@media screen and (min-width:1200px) {
    .card-xl-table {
        display: table;
    }
    .card-xl-table-row {
        display: table-row;
    }
    .card-xl-table-cell {
        display: table-cell;
    }
    .v-xl-align-middle {
        vertical-align: middle;
    }
    .h-150 {
        height: 150px;
    }
    .h-125 {
        height: 125px;
    }
    .h-120 {
        height: 120px;
    }
}
@media screen and (max-width:1200px) {
    .card-package .checkbox-container {
        margin-top: 1.5rem;
    }
    .card-package p,
    .card-package .btn-price {
        margin-bottom: 1.5rem;
    }
    #storefront .card-img img {
        display: block;
        margin: 0 auto;
    }
    #storefront .card-img-title {
        margin-left: 0;
        margin-bottom: 0.25rem;
        display: block;
        text-align: center;
    }
}
@media screen and (max-width:992px) {
    #storefront .table tr:nth-of-type(1) > td {
        border-top: 1px solid #c2cfd6;
    }
    #storefront .select-img-container .card-img-link,
    #storefront .select-img-container > img {
        width: 200px;
        height: auto;
        display: inline-block;
        margin: 0 0.45rem 1rem 0.45rem;
    }
    #storefront .select-img-container .card-link {
        margin-top: 0.5rem;
        margin-bottom: 1.5rem;
    }
}
@media screen and (max-width:768px) {
    .create-storefront .breadcrumb {
        height: 80px;
    }
    .create-storefront .progress {
        position: relative;
        top: 0.3rem;
        width: 100%;
        margin: 0 auto;
    }
    #storefront .btn-theme {
        display: block !important;
        width: 200px;
        margin-bottom: 0.75rem;
    }
    #storefront .btn-md-container > .btn-width {
        margin-right: 0.375rem;
        margin-left: 0.375rem;
    }
    #storefront .btn-md-container {
        display: table;
    }
    .card-flex-header {
        height: auto !important;
        padding-bottom: 0.3rem !important;
    }
    .card-flex-header .card-actions {
        position: static !important;
        margin-left: -1.3rem;
        margin-top: 1rem;
    }
    .card-flex-header .card-actions > a {
        border: 1px solid #c2cfd6 !important;
        width: 100px !important;
        padding: 0.5rem 0 !important;
        float: none !important;
        margin: 0 -0.5rem 0.8rem 1rem !important;
        display: inline-block !important;
    }
    .card-actions .dropdown-menu {
        margin: -0.05rem 0 0 !important;
    }
}
@media screen and (max-width:576px){

}
@media screen and (max-width:480px){
    #storefront .btn-width {
        display: block !important;
        width: 200px;
        margin-bottom: 0.75rem;
    }
    .token-input {
        width: 70% !important;
    }
}
@media screen and (max-width:388px) {
    #storefront .btn-file{
        margin-bottom: 0.75rem;
    }
}
@media screen and (max-width:350px) {
    .create-storefront .breadcrumb {
        height: 110px;
    }
}


/* custom table directive css */
th[sortable] {
    position: relative;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    min-width: 6rem;
}

th[sortable].sorting:before {
    content: '\2191';
    position: absolute;
    display: block;
    right: 0.9em;
    bottom: 0.9em;
    opacity: 0.3;
}
th[sortable].sorting:after {
    content: '\2193';
    position: absolute;
    display: block;
    right: 0.5em;
    bottom: 0.9em;
    opacity: 0.3;
}
th[sortable].sorting.asc:before {
    opacity: 1;
}
th[sortable].sorting.desc:after {
    opacity: 1;
}

.breadcrumb .breadcrumb-item.navigable{
    cursor: pointer;
}
.breadcrumb .breadcrumb-item.navigable:focus{
    outline: none;
}

/* Custom No Spinner Input */
/* Chrome, Safari, Edge, Opera */
input.no-spinner::-webkit-outer-spin-button,
input.no-spinner::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input[type=number].no-spinner {
  -moz-appearance: textfield;
}
.no-focus-shadow:focus {
    outline-style: none;
    box-shadow: none;
}

/* custom scrollable horizontal row css  */

.horizontal-scrollable::-webkit-scrollbar-track {
	background: none;
}
.horizontal-scrollable::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}
.horizontal-scrollable::-webkit-scrollbar-thumb {
	background: #ccc;
}

.horizontal-scrollable {
	display: flex;
	flex-direction: column;
	min-width: 100%;
	overflow-x: auto;
}

.horizontal-scrollable .row-item{
	display: flex;
	height: 100%;
	align-items: center;
}

.horizontal-scrollable .row-item .col-item{
	text-align: center;
	flex: 1 0 4rem;
	margin: 0.5rem;
}

.horizontal-scrollable .row-item .col-item.col-item-title{
	flex: 1 0 6rem;
	text-align: left;
    margin-right: 0.5rem;
    margin-left: 0;
	align-self: center;
}

.horizontal-scrollable .row-item .col-item > input{
	width: 100%;
}

.horizontal-scrollable .row-item .col-item > input.form-control:disabled, .form-control[readonly]{
	background-color: #f1f1f1 !important;
}

.form-control.ng-touched.ng-invalid{
    border-color: #dc3545;
    outline: 0;
}
.form-control.ng-touched.ng-invalid:focus{
    box-shadow: 0 0 20px 0px var(--pink);
}

/* custom bootstrap checkbox css */
.custom-checkbox.no-default-padding{
    min-height: 0;
    padding-left: 0;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before,
.custom-checkbox .custom-control-input:checked~.custom-control-label::after
 {
	background-color: #29363d;
	-webkit-animation: boom 0.5s ease;
    animation: boom 0.5s ease;
}
.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
	border-color: #29363d;
    background: #29363d;
}
.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow:none !important;
}

.custom-control-input ~ .custom-control-label::after {
    cursor: pointer;
}

.custom-control-input:disabled ~ .custom-control-label::after {
    cursor: not-allowed;
}

.custom-checkbox .custom-control-label.align-center::before,
.custom-checkbox .custom-control-label.align-center::after{
    left: 50%;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label.align-center::before,
.custom-checkbox .custom-control-input:checked~.custom-control-label.align-center::after{
    left: 50%;
}
