body {
    background: #f7f7f7;
    font-family: SCG-Reg;
	margin:0px;
}

.card-nowhite{
	background:#f7f7f7;
}

.cursor-pointer{
	cursor:pointer;	
}

.bg-black{
	background: #000000;
	color:#fff !important;
}

.bg-black th{
	background: #000000;
	color:#fff !important;
}

.btn-menu{
  margin-bottom: 1rem;
}

.tb-reserve th, .tb-reserve td{
	padding : 0.25rem !important;
}

.loader{
    /* border: 15px solid #f3f3f3;
    border-radius: 50%;
    border-top: 15px solid #3498db; */
    width: 200px;
    height: 200px;
    -webkit-animation: spin 0.7s linear infinite; /* Safari */
	-webkit-transition:-webkit-transform 1.5s;
    animation: spin 0.7s linear infinite;
	background-image: url(../images/loading-circles.gif);
}

.loader-section{
	position: fixed;
	top: 0;
	width: 100%;
	height: 100%;
	background:rgba(0, 0, 0, 0.6);
	z-index: 1100;
}

.loader-section > div{
    height:100%;
}

table tr.toggle {
    display: none;    
    overflow: hidden;
}

table tr.toggle td {
    background: #eeeeee38;
}


table tr.toggle td .table-group .table-title{
    font-weight: 700;
}

table tr td .ico-toggle{
    background: url("../images/icon/add_circular_gray_24_x_24.png");
    background-size: 16px;
    cursor: pointer;
    display: inline-block;
    height: 16px;
    margin-right: 7px;
    vertical-align: middle;
    width: 16px;
}

table tr td .ico-toggle.show{
    background: url("../images/icon/minus_circular_dark_gray_24_x_24.png");
    background-size: 16px;
}

@media only screen  and (max-width : 1224px) {
	table tbody tr {
		border-bottom:1px solid gray;
	}
}

.font-bold{
	font-family: SCG-Bol;
}

.text-darkblue
{
	color: #263b7e;
}

.font-20
{
	font-size:20px;
}

.font-18
{
	font-size:18px;
}

.font-13
{
	font-size:13px;
}

.font-12
{
	font-size:12px;
}

.font-14
{
	font-size:14px;
}

.color-red{
	color: #f75858;
}

.faws-warning-red{
    font-size: 30px;
    color: #f75858;
}

.breadcrumb{   
    background: #f7f7f7;
    border-bottom: 1px solid #e4e4e4; 
    border-radius: 0;
    font-family: SCG-Reg;
    font-size: 12px;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

.breadcrumb-item.active{
    color: #212529;
}
.breadcrumb-item a{
    color: #212529;
}


.block-form-vertical{
    width: 100%;
}

.block-form-vertical .form-row{
    margin: 0 0 15px 0;
}

.block-form-vertical .form-row:last-child{
    margin-bottom: 0;
}

.font-scg-reg{
    font-family: SCG-Reg;
}

.font-scg-bold{
    font-family: SCG-Bol;
}
.form-btn-submit{
    font-family: SCG-Bol;
    font-size: 16px;
    background: #263b7e;
    border: 0;
    color: #fff;
    cursor: pointer;
    padding: 7px 0;
    width: 100%;
    margin: 12px 0;
}


.modal .modal-footer button {
    margin: 0 !important;
    margin-left: 15px !important;
    width: auto;
}

.modal .modal-footer button:first-child {
    margin: 0 !important;
}

.form-control.required{
    background-color: rgba(237, 35, 36, .1);
    border-color: #ed2324;
}

.form-control-password
{
	background-image: url(../images/icon/hide_gray_24_x_24.png);
    background-position: right 15px center;
    background-repeat: no-repeat;
}

.form-control-password.active
{
	background-image: url("../images/icon/view_gray_24_x_24.png");
	background-position: right 15px center;
	background-repeat: no-repeat;
}

.form-control-datepicker-sm{
    background-image: url("../images/icon/calendar_dark_gray_16_x_16.png");
    background-position: right 7px center;
    background-repeat: no-repeat;
}


.table thead{
	font-family : SCG-Bol;
	font-size:12px;
	background :#eeeeee;
	text-align:center;
}

.table tbody{
	font-size:14px;
}

.control-panel{
    background: #eeeeee;
    padding: 15px;
}

.control-panel .control-panel-item,
.control-panel .control-panel-item .control-panel-title,
.control-panel .control-panel-item .control-panel-action{
    display: inline-block;
    vertical-align: middle;
}

.control-panel .control-panel-item .control-panel-title{
    color: #3b3b3b;
    font-family: SCG-Bol;
    font-size: 14px;
    margin-left: 10px;
}

.control-panel .control-panel-item .control-panel-action,
.control-panel .control-panel-item .control-panel-action .form-control{
    font-size: 14px;
}

.control-panel .control-panel-item .control-panel-action .form-control:focus{
    border: 1px solid #ced4da;
    box-shadow: none;
}

.paging .next-page-top,
.paging .previous-page-top,
.paging .next-page,
.paging .previous-page{
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    color: #3b3b3b;
    cursor: pointer;
    display: inline-block;
    font-family: SCG-Bol;
    font-size: 14px;
    line-height: normal;
    padding: 5px 12px;
}

.paging .next-page-top:hover,
.paging .previous-page-top:hover,
.paging .next-page:hover,
.paging .previous-page:hover{
    border-color: #ed2324;
    background: #ed2324;
    color: #fff;
}

.paging .disable,
.paging .disable:hover{
    background: #f9f9f9;
    color: #ced4da;
    cursor: no-drop;
}

.paging .next-page-top:before,
.paging .next-page:before{
    content: ">";
}

.paging .previous-page-top:before,
.paging .previous-page:before{
    content: "<";
}

.paging .index{
    display: inline-block;
    cursor: pointer;
    font-family: SCG-Bol;
    margin: 0 10px;
}

.paging .index.active,
.paging .index:hover{
    color: #ed2324;
}

.search-table .text-title{
	font-size:13px;
}

.search-table .form-group label{
	font-size: 12px;
    padding-right: 10px;
}

.text-title{
    color: #212529;
    font-family: SCG-Bol;
    font-size: 20px;
    margin: 0;
}
.text-title a:hover{
    color: #212529;
    font-family: SCG-Bol;
    text-decoration: none;
    font-size: 20px;
    margin: 0;
}

.text-title-size-18{
    color: #212529;
    font-size: 18px;
}

.text-title-err-h1{ 
    color: #ff2f2e;
    font-family: SCG-Bol;
    font-size: 3.5em;
    margin-bottom: -10px;
}

.text-title-err{
    color: #b1b1b1; 
    font-size: 1.2em;
    font-family: SCG-Bol;
    margin: 0;
}


@media (max-width: 992px){
    .template{
        padding-top: 67px;
    }

    .template.active{
        padding-top: 95px;
    }

    .no-header{
        margin-top: -67px;
    }

    .banner .bx-wrapper {
        height: 240px !important;
        position: relative;
    }

    .btn-hexagon{
        width: 40px;
        height: 50px;
        background: url("../images/icon/back_top_64_x64.png");
        background-position: center top;
        background-repeat: no-repeat;
        background-size: 100% auto;
    }

    .box-category-list a .card-title{
        font-family: SCG-Bol;
        font-size: 12px;
        height: 35px;
        margin: 0;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
    }

    .control-panel .control-panel-item .control-panel-action{
        width: 100%;
        font-size: 14px;
    }

    .control-panel .control-panel-item .control-panel-action .form-control:focus{
        border: 1px solid #ced4da;
        box-shadow: none;
    }

    .list-gp-item .card a .card-body .card-text .card-foot{
        width: 90px;
        padding-bottom: 10px;
    }

    .dev-unit-rows{
        display: none;
    }

    .dev-unit-label{
        display: block;
    }

    .detail-list-head{
        display: none;
    }

    .filter{
        height: 100%;
        left: 0;
        position: fixed;
        top: 0;
        width: 0;
        z-index: 9999;
    }

    .filter.open{
        background: rgba(0, 0, 0, .5);
        width: 100%;
    }

    .filter .filter-block{
        background: #fff;
        border-left: 1px solid #eee;
        height: 100%;
        overflow-y: auto;
        padding-bottom: 50px;
        position: fixed;
        right: 0;
        top: 0;
        transition: 0.5s;
        width: 0;
        z-index: 9999;
    }

    .filter-option-list .filter-option {
        max-height: none;
    }

    .filter-control .closed{
        display: inline;
    }

    .filter .filter-block.open{
        width: 85%
    }

    .filter .filter-block .filter-control{
        border-top: 1px solid #e4e4e4;
        bottom: 0;
        position: inherit;
        width: 85%;
    }

    .filter .filter-block .filter-control .closed,
    .filter .filter-block .filter-control .reset{
        border: 0;
        cursor: pointer;
        float: left;
        font-size: 14px;
        outline: none;
        width: 50%;
        padding: 7px;
    }

    .filter .filter-block .filter-control .closed{
        background: #fff;
        color: #3b3b3b;
    }

    .filter .filter-block .filter-control .reset{
        background: #ed2324;
        color: #fff;
    }

    .filter .filter-block .filter-control{
        border-top: 1px solid #e4e4e4;
        bottom: 0;
        position: inherit;
        width: 85%;
    }

    .filter-option-list{
        margin-bottom: 0;
    }

    .filter-option-list .filter-title{
        background: url("../images/icon/arrow_down_dark_gray_16_x_16.png");
        background-repeat: no-repeat;
        background-position: right;
        cursor: pointer;
        margin: 15px 15px 0 15px;
    }

    .filter-option-list .filter-title.open{
        background: url("../images/icon/arrow_up_dark_gray_16_x_16.png");
        background-repeat: no-repeat;
        background-position: right;
    }

    .filter-option-list .filter-option .filter-item{
        background: #eeeeee;
        border: 1px solid #eeeeee;
        cursor: pointer;
        display: inline-block;        
        margin: 5px 5px 5px 0;
        padding: 5px 10px;
    }

    .filter-option-list .filter-option .filter-item input[type=checkbox]{
        display: none;
    }

    .filter-option-list .filter-option .filter-item label{
        cursor: pointer;
        margin: 0;
        padding: 0;
    }

    .filter-option-list .filter-option .filter-item.active{     
        background: #ed2324;
        /* background: url("../images/icon/check_red_16_x_16.png");
        background-position: right 5px bottom 5px;
        background-repeat: no-repeat;
        background-size: 8px; */
        border: 1px solid #ed2324;
        color: #fff;
    }

/*    .filter-option-list .filter-option .filter-item:hover,
    .filter-option-list .filter-option .filter-item label:hover{
        background: #ed2324;
        color: #fff;
    }*/

    .filter-control{
        display: block;
    }

    .paging .next-page-top,
    .paging .previous-page-top{
        background: #fff;
        border: 1px solid #ced4da;
        border-radius: 4px;
        color: #3b3b3b;
        cursor: pointer;
        display: inline-block;
        font-family: SCG-Bol;
        font-size: 14px;
        line-height: normal;
        padding: 5px 12px;
        width: 50%;
        text-align: center !important;
    }

    .paging .next-page-top:hover,
    .paging .previous-page-top:hover{
        border-color: #ed2324;
        background: #ed2324;
        color: #fff;
    }

    .paging .disable,
    .paging .disable:hover{
        background: #f9f9f9;
        color: #ced4da;
        cursor: no-drop;
    }

    .paging .next-page-top:before{
        content: "Next-page";
    }

    .paging .previous-page-top:before{
        content: "Previous";
    }

    .paging .index{
        display: inline-block;
        cursor: pointer;
        font-family: SCG-Bol;
        margin: 0 10px;
    }

    .paging .index.active,
    .paging .index:hover{
        color: #ed2324;
    }

    .product-block .product-size label,
    .product-block .product-unit label,
    .product-block .product-amount label,
    .product-block .product-price label{
        margin: 0;    
        max-width: 90px;
        width: 100%;
    }

    .cart-control-panel{
        display: none;
    }

    .cart-list .cart-action{
        width: 100%;
    }

    .cart-list .cart-action button{
        width: 48.4%;
    }

    .cart-list .cart-action .cart-addnew{
        margin-right: 2%;
    }

    .quantiy-control{
        display: inline-block;
        /*margin-top: 7px;*/
        vertical-align: middle;
        /*width: 100px;*/
    }

    .quantiy-control button,
    .quantiy-control input{
        float: left;
    }

    .cart-list .cart-item-row .unit{
        display: inline-block;
        margin-left: 10px;
        margin-top: 7px;
        text-align: left;
        vertical-align: middle;
    }

    .cart-list .cart-item-row .price-summary{
        display: block;
        margin-top: 7px;
    }

    .list-gp-item .card{
        border-radius: 0px;
        min-height: 0px;
        margin-bottom: 0px;
    }

    .list-gp-item a .img-block-product{
        float: left;
        width: 30%;
        max-height: 100%;
        padding: 5px;
        margin-right: 25px;
    }

    .list-gp-item .card .card-body .card-title{
        /* font-family: db_helvethaica_x75_bd; */
        font-family: SCG-Bol;
        font-size: 14px;
        height: 50px;
        margin: 0;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        padding-right: 2px;
    }

    .product-rec-list 
    .card a .card-body .card-title{
        /* font-family: db_helvethaica_x75_bd; */
        font-family: SCG-Bol;
        font-size: 12px;
        height: 35px;
        margin: 0;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
    }

    .product-rec-list 
    .card a .card-body .card-text{
        /* font-family: db_helvethaica_x75_bd; */
        font-family: SCG-Reg;
        font-size: 10px;
    }

    .img-banner{
        max-width: 100%; 
        max-height: 100%;
       /*  height: 220px; */
    }

    .btn-product-addcart{
        background-image: url("../images/icon/cart_red_24_x_24.png");
        background-position: left 15px center;
        background-repeat: no-repeat;
        padding: 5px 10px 5px 50px;
    }
    
    .btn-product-addcart:hover{
        background-image: url("../images/icon/cart_white_24_x_24.png");
        background-position: center;
        background-repeat: no-repeat;
        padding: 5px 10px 5px 50px;
    }

    .btn-product-checkout, .btn-product-addcart{
        height:30px;
        padding: 5px 0px;
    }
    .btn-product-checkout:hover, .btn-product-addcart:hover{
        height:30px;
        padding: 5px 0px;
    }    

    .btn-product-addcart{
        background-position: center;
    }
    .btn-product-addcart span{
        display: none;
    }
    .btn-product-checkout span{
        font-size: 12px;
    }

    .cart{
        flex-direction: column-reverse;
    }

    .cart .cart-list{
        width: 100%;
    }

    .cart .cart-summary{
        margin-bottom: 15px;
        width: 100%;
    }

    .cart .cart-list .cart-list-innerbody .cart-list-header{
        display: none;
    }

    .cart .cart-list .cart-grid .cart-list-body .cart-row .cart-summary{
        margin: 0 -15px;
        width: calc(100% - 50px);
    }

    .cart .cart-list .cart-grid .cart-list-body .cart-row .cart-summary .cart-body{
        flex-direction: column;
    }

    .cart .cart-list .cart-grid .cart-list-body .cart-row .cart-summary .cart-body .cart-product{
        width: 100%;
    }

    .cart .cart-list .cart-grid .cart-list-body .cart-row .cart-summary .cart-body .cart-per-price,
    .cart .cart-list .cart-grid .cart-list-body .cart-row .cart-summary .cart-body .cart-number,
    .cart .cart-list .cart-grid .cart-list-body .cart-row .cart-summary-price{
        padding-left: 100px;
        text-align: left;
        width: 100%;
    }

    .cart .cart-list .cart-grid .cart-list-body .cart-row .cart-summary-price{
        margin-top: 7px;
    }

    .cart .cart-list .cart-grid .cart-list-body .cart-row .cart-summary .cart-body .cart-number .quantiy-control{
        margin-right: 7px;
    }

    .cart .cart-list .cart-grid .cart-list-body .cart-row .cart-summary .cart-body .cart-number .unit{
        display: inline-block;
        vertical-align: middle;
    }

    .cart .cart-list .cart-grid .cart-list-body .cart-row .cart-summary .cart-body .cart-unit{
        display: none;
    }

    .cart .cart-list .cart-grid .cart-list-body .cart-row .cart-summary-row-price{
        width: 110px;
    }

    table.flip thead {
        display: none;
    }

    table.flip td {
        display: block;
    }

    table.flip td:before {
        content: attr(data-column);
        display: inline-block;
        font-weight: bold;
        width: 50%;
		text-align: left!important;
    }
}

.btn-red{
    font-family: SCG-Bol;
    background: #ed2324;
    color: #fff !important;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    padding: 5px 20px;
    width: 100%;
}

.btn-gray{
    background: #8b8b8b;
    border: 0;
    border-radius: 4px;
    color: #fff !important;
    cursor: pointer;
    font-family: SCG-Bol;
    outline: none;
    padding: 5px 20px;
    width: 100%;
}

.btn-dark-gray{
    background: #3f3f3f;
    border: 0;
    border-radius: 4px;
    color: #fff !important;
    cursor: pointer;
    font-family: SCG-Bol;
    outline: none;
    padding: 5px 20px;
    width: 100%;
}

.btn-green{
    background: #0cb754;
    border: 0;
    border-radius: 4px;
    color: #fff !important;
    cursor: pointer;
    font-family: SCG-Bol;
    outline: none;
    padding: 5px 20px;
    width: 100%;
}

.btn-white{
    background: #fff;
    border: 1px solid #ed2324;
    border-radius: 4px;
    color: #ed2324 !important;
    cursor: pointer;
    font-family: SCG-Bol;
    outline: none;
    padding: 5px 20px;
    width: 100%;
}

.btn-dark-blue{
    font-family: SCG-Bol;
    background: #263b7e;
    color: #fff !important;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    padding: 5px 20px;
    width: 100%;
}

.btn-white2{
    background: #fff;
    border: 1px solid #263b7e;
    border-radius: 4px;
    color: #263b7e !important;
    cursor: pointer;
    font-family: SCG-Bol;
    outline: none;
    padding: 5px 20px;
    width: 100%;
}

.pdl-10{
	padding-left: 10px;
}
.pdr-10{
	padding-right: 10px;
}

.bg-green{
	color: #207243;
}


.quantiy-control{    
    align-items: center;
    display: flex;
    /* justify-content: center; */
    width: 100%;
}

.quantiy-control:before,
.quantiy-control:after{
    content: " ";
    display: table;
}

.quantiy-control button,
.quantiy-control input{
    outline: none;
}

.quantiy-control button{
    border: 1px solid #ced4da;
    cursor: pointer;
    height: 30px;
    text-indent: -9999px;
    width: 30px;
}

.quantiy-control button.add{
    background: url("../images/icon/add_dark_gray_16_x_16.png");
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    border-left: 0;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

.quantiy-control button.add:hover{
    background-color: #ed2324;
    background-image: url("../images/icon/add_white_16_x_16.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    border-color: #ed2324;
}

.quantiy-control button.add-disable{
    background: url("../images/icon/add_dark_gray_16_x_16.png");
    background-color: #e9ecef;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    border-left: 0;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
	cursor: no-drop;
}

.quantiy-control button.add-disable:hover{
    background-color: #ed2324;
    background-image: url("../images/icon/add_white_16_x_16.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    border-color: #ed2324;
}

.quantiy-control button.remove{
    background: url("../images/icon/remove_dark_gray_16_x_16.png");
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    border-right: 0;    
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.quantiy-control button.remove:hover{
    background-color: #ed2324;
    background-image: url("../images/icon/remove_dark_gray_16_x_16.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    border-color: #ed2324;
}

.quantiy-control button.remove-disable{
    background: url("../images/icon/remove_dark_gray_16_x_16.png");
    background-color: #e9ecef;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    border-right: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
	cursor: no-drop;
}

.quantiy-control button.remove-disable:hover{
    background-color: #ed2324;
    background-image: url("../images/icon/remove_white_16_x_16.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    border-color: #ed2324;

}

.quantiy-control input{ border: 1px solid #ced4da; height: 30px; font-size: 14px; text-align: center; width: 55px; }

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border: 1px solid #3f3f3f;
}
.checkbox{
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 0;
    margin-right: 15px;
    padding-left: 25px;
    position: relative;
    user-select: none;
}

.checkbox:last-child{
    margin-right: 0;
}

.checkbox .checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox .checkmark {
    background-color: #eee;
    height: 20px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
}

.checkbox input:disabled ~ .checkmark {
    background-color: #ced4da;
}

.checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox input:checked ~ .checkmark {
    background-color: #2196F3;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox input:checked ~ .checkmark:after {
    display: block;
}

.checkbox .checkmark:after {
    left: 6px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


.text-green{
 color: #00c292;
}