@charset "utf-8";

/* div,ul, li{border:1px solid red;} */
:root {
    --color_main: #e08637; 
    --color_main_light: #c1c1c1; 
    --color_bg1:#ffffff; 
    --color_bg2:#f2f1f1; 
    --color_bg3:#dadada; 
}
.bg_main {background-color: var(--color_main) !important;}
.bg_main_light {background-color: var(--color_main_light) !important;}
.bg_admin {
    background-color: var(--color_main) !important;
    color: #ffffff;
}
.bg_admin a {
    color: #ffffff !important;
}
.bg_tent {background-color: #18afc3 !important;}

body, th, td{
    font-family: tahoma;
    font-size: 14px ;
}

body {
    background-color: var(--color_bg1);
}
input, select, textarea {
    font-size: 1em !important;
}

input[type="file"] {
    padding: 2px;
}

.login_tx_title {
    font-family: "Prompt";
    font-weight: 300;
    font-size: 1.4em;
}
.login_tx_title h1{
    font-size: 1.4em;
}
.login_bg{
    background-color: var(--color_bg3);
}


.logo_box{
    position: relative;
    float: left;
    width: 100%;
    height: auto;
}
.logo_box .logo{
    position: relative;
    float: left;
    width: 70px;
    height: auto;
}
.logo_box .title{
    position: relative;
    float: left;
    width: calc(100% - 70px);
    height: auto;
    padding-top: 12px;
    padding-left: 5px;
    box-sizing: border-box;
}
.logo_box .title .n1{
    font-family: "Prompt";
    line-height: 18px;
    font-weight: 300;
    font-size: 20px;
}
.logo_box .title .n2{
    font-family: "Prompt";
    line-height: 18px;
    font-size: 18px;
}

.box_navbar {
    z-index: 98;
    top: 0;
    position: fixed;
    width: 100%;
    padding: 5px 25px 5px 25px;
    border-bottom: 1px solid #E3E4E8;
    box-sizing: border-box;
    background-color: #F7F7F7;
}
.box_navbar a {
    color: rgb(0, 0, 0);
}
.box_navbar_mb {
    position: relative;
    width: 100%;
    height: 75px;
}

#panel {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#sidebar {
    z-index: 98;
    position: fixed;
    left: 0px;
    width: 240px;
    height: 100%;
    margin-left: -240px;
    overflow-y: auto;
    background: #fff;
    box-shadow: 0px 2px 6px 0px #0000001a;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
}

#content {
    padding: 0px 25px 35px 10px;
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    box-sizing: border-box;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
}

#panel.toggled {
    margin-left: 220px;
}

#panel.toggled #sidebar {
    margin-left: 0px;
}

#content.toggled {
    padding-left: 240px;
}

@media(max-width:767px) {
    #panel.toggled {
        margin-left: 0px;
    }
    #sidebar {
        margin-top: 75px;
        left: 0px;
        width: 100%;
        margin-left: -100%;
    }
    #panel.toggled #sidebar {
        margin-left: 0px;
    }
    #content {
        padding: 80px 0px 0px 0px;
        width: 100%;
    }
}


#navi {
    width: 100%;
    font-size: 1.4em;
}
#navi a {
    color: #000;
    text-decoration: none;
}
#navi a:hover {
    color: rgb(185, 185, 185);
    text-decoration: none;
}
#navi span {
    font-size: 1.4em;
}

.pagination {
    float:right;
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    padding-right: 3px;
}

.pagination li {
    float:left;
}
.pagination li a {
    padding:3px 8px;
    background-color:#ffffff;
    border:1px solid #7E8788;
    margin: 0;
    margin-right:2px;
    color:#000000;
    text-decoration: none;
}
.pagination li a:hover{
	text-decoration:none;
	background-color:#7E8788;
	color:#fff;
}
.pagination li a.current_page{
	background-color:#7E8788;
	color:#fff;
}


/* Bootstrap */
.nav .nav-link {
    color: #000;
}
.nav .nav-link.active{
    background-color: var(--color_bg2);
}
.tab-content .tab-pane {
    background-color: var(--color_bg2);
    min-height: 200px;
    height: auto;
    padding: 20px;
}

.accordion-button {
    font-size: 0.85rem;
    color: #000;
    background-color:#f3f3f3 ;
}
.accordion-button:not(.collapsed) {
    color: #000;
    /* background-color: #a4a4a4; */
}
.accordion-button::after {
    color: #000;
}




.DS_box_menu a{
    text-align: left;
    color: #fff;
    background-color: var(--color_main);
    border: 1px solid var(--color_main);
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -ms-border-radius: 7px;
    -o-border-radius: 7px;
}

.DS_box_menu a:hover {
    color: #fff;
    background-color: var(--color_main_light);
    border: 1px solid var(--color_main);
}

.DS_box_menu .btn{
    font-size: 1em;
}

.DS_box_menu a.btn_blue{
    background-color: #2c7fdd;
    border: 1px solid #1766a1;
}
.DS_box_menu a.btn_blue:hover{
    background-color: #1766a1;
    border: 1px solid #1766a1;
}

.DS_box_menu a.btn_purple{
    background-color: #56336d;
    border: 1px solid #56336d;
}
.DS_box_menu a.btn_purple:hover{
    background-color: #492b5e;
    border: 1px solid #492b5e;
}

.DS_box_menu a.btn_orange{
    background-color: #FE5722;
    border: 1px solid #d64518;
}
.DS_box_menu a.btn_orange:hover{
    background-color: #d64518;
    border: 1px solid #d64518;
}

.DS_box_menu a.btn_yellow{
    background-color: #ecb426;
    border: 1px solid #c99921;
}
.DS_box_menu a.btn_yellow:hover{
    background-color: #d39f1c;
    border: 1px solid #c99921;
}

.DS_box_menu a.btn_green{
    background-color: #43A047;
    border: 1px solid #297e2d;
}
.DS_box_menu a.btn_green:hover{
    background-color: #297e2d;
    border: 1px solid #297e2d;
}

.DS_box_menu a.btn_red{
    background-color: #d13a3a;
    border: 1px solid #9e2525;
}
.DS_box_menu a.btn_red:hover{
    background-color: #b82c2c;
    border: 1px solid #9e2525;
}

.DS_box_menu a.btn_pst_blue{
    background-color: #90C0DD;
    border: 1px solid #72a3c2;
}
.DS_box_menu a.btn_pst_blue:hover{
    background-color: #72a3c2;
    border: 1px solid #72a3c2;
}

.DS_box_menu a.btn_grey{
    background-color: #A8A8A8;
    border: 1px solid #72a3c2;
}
.DS_box_menu a.btn_grey:hover{
    background-color: #929292;
    border: 1px solid #72a3c2;
}

.DS_box_menu a.btn_pst_green{
    background-color: #4CB6AC;
    border: 1px solid #2f998e;
}
.DS_box_menu a.btn_pst_green:hover{
    background-color: #2f998e;
    border: 1px solid #2f998e;
}

.DS_text{
    font-size: 1em;
}

.DS_total_icon{
    font-family: 'Anton', sans-serif;
    position: absolute;
    font-size: 1.5em;
    width:60px;
    height:35px;
    line-height: 35px;
    top: 20;
    right: 30;
    text-align: right;
    color: #fff;
    border-radius: 17%;
    letter-spacing: 2px;
}

@media screen and (min-width: 0px) and (max-width: 767px){
    .DS_total_icon{
        top: 25;
    }
}


.tb_list {
    border: 0;
    border-collapse: collapse;
    
}
.tb_list tr {
    width: 100%;
    height: auto;
}
.tb_list th {
    height: 30px;
    line-height: 30px;
    padding: 4px 4px;
    text-align: center;
    box-sizing: border-box;
    background-color: #f7f7f7;
    border-top: 2px solid #bdbdbd;
    border-bottom: 1px solid #bdbdbd;
    border-right: 1px solid #bdbdbd;
    border-left: 1px solid #bdbdbd;
    overflow: hidden;
}
.tb_list td {
    height: 25px;
    padding: 4px 4px;
    box-sizing: border-box;
    background: #ffffff;
    border-top: 1px solid #bdbdbd;
    border-bottom: 1px solid #bdbdbd;
    border-right: 1px solid #bdbdbd;
    border-left: 1px solid #bdbdbd;
    overflow: hidden;
}
.tb_list td.sum {
    border-top: 3px solid #666;
    border-left: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
}
.tb_list td.sum_under {
    border-top: 3px solid #666;
    border-bottom: 7px double #666;
}
.tb_list tr:hover td {
    background: #f2f5ff;
}
td.td_r_none {
    border-right: 1px solid rgba(255, 255, 255, 0) !important;
}
td.td_t_none {
    border-top: 1px solid rgba(255, 255, 255, 0) !important;
}
td.td_b_none {
    border-bottom: 1px solid rgba(255, 255, 255, 0) !important;
}
tr.tr_active td {
    background: #ffd0d0;
}

.img_product {
	position: relative;
	/* padding-bottom: 56.25%; */
    padding-bottom: 65%;
	height: 0;
    background-color: rgb(183, 183, 183);
}
.img_product div.imgcut {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.watermark{
    z-index: 999;
    background: rgba(255, 0, 0, 0.316);
    position: absolute;
    color: #ffffffd7;
    font-size: 1em;
    padding-top: calc(25%);
    top: 0;
    text-align: center;
    font-weight: bold;    
    width: 100%;  
    height: 100%;    
}  


/* Error */
#loader {
    top: 0;
    z-index: 99999;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #0000005b;
    color: #fff;
    text-align: center;
    padding-top: 38vh;
    box-sizing: border-box;
}

label.error {
    margin-top: 3px;
    color: #ff0000;
    font-size: 1em;}

input[type="checkbox"].error, 
input[type="text"].error, 
input[type="text"]:read-only.error, 
input[type="password"].error, 
input[type="radio"].error,
input[type="time"].error, 
input[type="file"].error, 
textarea.error, 
select.error, 
select:disabled.error {
    background-color: #ffcbcb !important;
    color: #fd4646 !important;
    outline: #fd4646 auto 5px !important;
}

input[type="checkbox"]:focus.error, 
input[type="text"]:focus.error, 
input[type="text"]:focus:read-only.error, 
input[type="radio"]:focus.error,  
input[type="password"]:focus.error, 
input[type="time"]:focus.error, 
input[type="file"]:focus.error, 
textarea:focus.error, 
select:focus.error, 
select:focus:disabled.error {
    background-color: #ffcbcb !important;
    color: #fd4646 !important;
    outline: #fd4646 auto 5px !important;
}

.btn_cursor{
    cursor: pointer;
}

.btn_small{
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    font-size: 0.9em !important;
    border-radius: 2px;
}