/* Reset */
@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700,900|Sofia&display=swap');
:root {
    --bodyfont: 'Lato', sans-serif;
    --primary: #1a8dcc;
    --secondary: #fc02be;
    --lightgray: #f5f5f5;
    --textcolor: #202020;
    --headingcolor: #202020;
    --black: #202020;
    --graycolor: #9b9b9b;
    --white: #ffffff;
    --primaryrgb: 236,33,39;
    --lightprimaryrgb: 254,242,242;
    --lightgrayrgb: 245,245,245;
    --whitergb: 255,255,255;
    --blackrgb: 32,32,32;
    --transiction: all 0.25s ease-out;
}

html, body {
  scrollbar-gutter: stable;
}

body {
    margin: 0px;
    padding: 0px;
    background: var(--white);
    -ms-overflow-style: scrollbar;
	/*background-image: url(../images/dblue054.gif); background-repeat: repeat;*/
	font-family: var(--bodyfont);
	font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--textcolor);
}
.conainer {
	width: 980px;
	margin: 0 auto;
	padding: 10px;
	background: var(--white);
}
/* Typography */
a,
a:visited,
a:active {
    color: var(--primary);
    text-decoration: none;
	/* transition: var(--transiction); */
}
a:visited:hover,
a:active:hover,
a:visited:focus,
a:active:focus {
    color: var(--primary);
}
a:hover,
a:focus {
    text-decoration: none;
    color: var(--secondary);
    outline: 0;
}
::selection {
    color: var(--white);
    background-color: var(--black);
}
::-moz-selection {
    color: var(--white);
    background-color: var(--black);
}
/* ------------------------------------------------------------------ 
	Buttons 
------------------------------------------------------------------- */
.btn_holder{
    text-align: center;
    margin-top: 30px;
}

.data-table th[align*="right"] a,
input[type="submit"],
input[type="button"],
button[type="submit"],
button[type="button"],
.prev,
.next,
.my_btn{
	position: relative;
    padding: 10px 20px;
    min-width: inherit;
    background-color: var(--secondary);
    color: var(--white) !important;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 700; 
	text-align: center;
	display: inline-block;
	box-shadow: none;
    border: none;
    opacity: 1;
	border-radius: 0px;
	transition: var(--transiction);
}
table.data-table td input[type="submit"],
table.data-table td input[type="button"],
table.data-table td button[type="submit"],
table.data-table td button[type="button"]{
    padding: 6px 10px;
    font-size: 13px;
    vertical-align: top;
}
.my_btn.black{
    background-color: var(--black);
    color: #fff !important;
}
.my_btn.gray{
    background-color: var(--graycolor);
    color: #fff !important;
}
.my_btn.red{
    background-color: #df0000;
    color: #fff !important;
}
.prev:hover,
.next:hover,
.data-table th[align*="right"] a:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
button[type="submit"]:hover,
button[type="button"]:hover,
input[type='submit']:hover,
button[type='submit']:hover,
.my_btn.gray:hover,
.my_btn:hover,
.my_btn.red:hover,
.my_btn.black:hover{
    background-color: var(--primary);
    color: #fff !important;
}
.prev,
.next,
.my_btn.sm {
    font-size: 13px;
    line-height: 15px;
    min-width: inherit;
    font-weight: 400;
    padding: 6px 10px;
    text-transform: capitalize;
}
.prev,
.next {
    margin: 0 10px;
}
.content {
	padding: 25px;
}
.spacer40 {
	height: 40px;
}
.content fieldset {
	/* width:900px; */
	border: none;
	padding: 0px;
}
.content fieldset.wd100percent {
	width: 100%
}
h1 {
	font-size: 24px;
	font-weight: bold;
	padding-bottom: 6px;
	border-bottom: 1px solid #e2e2e2;
	margin: 0px 0 10px 0;
}
:focus {
	outline: 0px;
}
.top_bg {
	background: #fff url(../images/top_bg.jpg);
	background-repeat: repeat-x;
	padding-bottom: 10px;
	padding-top: 12px;
}
.data-table th {
	background: var(--black);
	font-weight: bold;
	font-size: 14px;
    line-height: 1.2;
	padding: 10px 7px;
	color: var(--white);
    text-align: left;
    white-space: nowrap;
}
.data-table th[colspan="10"][align="right"],
.data-table th[colspan="9"][align="right"],
.data-table th[colspan="8"][align="right"],
.data-table th[colspan="7"][align="right"],
.data-table th[colspan="6"][align="right"],
.data-table th[colspan="5"][align="right"],
.data-table th[colspan="3"][align="right"],
.data-table th[colspan="4"][align="right"] {
    padding: 0;
    background-color: #fff;
    border: 1px solid #fff;
    padding-bottom: 15px;
}
.data-table td {
    background: #ebf6f9;
    padding: 7px;
    font-size: 14px;
    color: var(--black);
    line-height: 16px;
    text-align: left;
}
.data-table a {
	color: var(--primary);
	text-decoration: none;
}
.data-table a:hover {
	color: var(--secondary);
}
td.checkbox-section {
    width: auto;
}
input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    margin: 5px 4px 0px 0;
    vertical-align: text-bottom;
}
.data-table td input[type=file] {
	border: solid 1px #d6e2e6;
	background: var(--white);
	padding: 3px;
}
.inbtn {
	border: solid 1px #d6e2e6;
	background: var(--white);
	padding: 2px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
.dt-btn {
	border: solid 1px var(--primary);
	background: var(--primary);
	padding: 2px;
	font-weight: bold;
	color: var(--white);
	cursor: pointer;
	font-size: 14px;
}
.mar5 {
	margin-right: 5px;
}
.frm {
	color: #333;
}
.ln22 {
	line-height: 22px;
}
.picbox input {
	margin-bottom: 3px;
}
.up-msg {
	background: #E6780B;
	color: var(--white);
	padding: 8px 10px;
	margin-bottom: 10px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}
.up-msg p {
	margin: 0px;
}
.wd350 {
	width: 350px;
}
.wd200 {
	width: 200px;
}
.packgetd {
	background: #eef0ef;
}
.packgetd td {
	background: #f7f9f8;
}
.packgetd td img {
	border: solid 1px #666;
}

/* Reset */
#menu * {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	text-decoration: none;
}
div#menu {
	position: relative;
}
#menu ul.menu {
	white-space: nowrap;
}

/* Geometrical arrangement */
#menu ul.menu li {
	display: inline-block;
	position: relative;
}
#menu ul.menu li div {
	position: absolute;
	top: 100%;
	left: 0px;
}
#menu ul.menu li div div {
	position: absolute;
	top: -6px;
	left: 176px;
}

/* Escaping style for lower levels */
#menu ul.menu li div ul li {
	display: block;
	float: none;
	width: auto;
	height: auto;
}

/** Graphics **/

/* Horizontal sliding doors */
#menu ul.menu li a {
	background-repeat: no-repeat;
	display: inline-block;
}
#menu ul.menu li a span {
    padding: 14px;
    display: inline-block;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.5px;
    font-weight: bold;
    /* transition: var(--transiction); */
}
#menu ul.menu li div ul li a span {
	font-size: 15px;
	font-weight: 400;
}
#menu ul.menu li:hover > a > span,
#menu ul.menu li.active > a > span {
    background-color: var(--secondary);
    color: var(--white);
}

/* Escape Horizontal doors */
#menu ul.menu li div ul li a {
	display: block;
	padding: 0px;
	margin: 0px;
	background: none;
}
#menu ul.menu li div ul li a span {
	display: block;
	padding: 0px;
	background: none;
	height: auto;
	line-height: 25px;
	padding: 10px 0 10px 12px;
	white-space: normal;
}


/* Vertical sliding doors */
#menu ul.menu li div {
	width: 194px;
}
#menu ul.menu li div ul {
	padding: 0;
    background-color: var(--black);
}

/* Main header line */
#menu {
	padding-left: 25px;
    background-color: var(--primary);
}

/* Text shadow */
#menu span {
	color: #edf0f1;
}
#menu li:hover>a>span {
	color: var(--white);
}

/* Menu logic */
#menu li>div {
	visibility: hidden;
}
#menu li:hover>div {
	visibility: visible;
}

/* Hover Effect on Submenus */
#menu ul.menu ul li:hover {
	background-color: #233b50;
}

/* Lines between li */
#menu ul.menu li div ul li {
	border-top: 1px solid rgba(var(--whitergb),0.2);
}

/* */
.loginboxbg {
	width: 490px;
	height: 324px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -157px 0 0 -240px;
}
.login-pad {
	padding: 140px 0 0 230px;
	font-size: 11px;
	color: #666;
}
.login-pad input {
	font-size: 11px;
	color: #999;
	padding: 4px 3px !important;
}
.login-pad strong {
	padding-left: 1px;
}
.log-content {
	position: relative;
	height: 100% !important;
}
.top_bg img {
	padding-left: 25px;
	max-width: 300px;
}
input[type="color"], input[type="date"], input[type="datetime-local"], input[type="datetime"], input[type="month"], input[type="number"], input[type="time"], input[type="url"], input[type="week"], input[type="email"], input[type="search"], input[type="text"], input[type="password"], input[type="tel"], input[type="file"], textarea, select.form-control, select {
    /* width: 100%; */
    /* max-width: 100%; */
    /* display: block; */
    font-family: var(--bodyfont);
    margin: 0;
    padding: 8px;
    height: inherit;
    z-index: 1;
    direction: ltr;
    position: relative;
    box-shadow: none;
    background-color: var(--white);
    border: 1px solid #D2D2D2;
    border-radius: 0 !important;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: var(--black);
    opacity: 1;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    outline: none;
	transition: var(--transiction);
    margin-right: 20px;
}
textarea.form-control {height: 150px;}
.select2-container .select2-selection--single:focus,
select.form-control:focus,
input[type="email"]:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="file"]:focus,
input[type="search"]:focus,
textarea.form-control:focus,
textarea:focus,
select:focus {
    border-color: #5ca0d7;
    outline: 0;
    box-shadow: none;
}
input[type="submit"],
button[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}
input[type="submit"] + input[type="button"] {
    margin-left: 5px;
    background-color: var(--black);
    color: var(--white) !important;
}
input[type="submit"] + input[type="button"]:hover {
    background-color: var(--primary);
    color: var(--white) !important;
}
input::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
    opacity: 0.6;
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
    opacity: 0.6;
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
    opacity: 0.6;
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
}
.form-control:focus {box-shadow: none;}
.form-group {margin-bottom: 15px;}
select {
    cursor: pointer;
    background-image: url(images/select_arrow.svg);
    background-position: right center;
    background-repeat: no-repeat;
    /* background-size: contain; */
    background-size: 26px;
    color: var(--black);
    padding-right: 30px;
}
select option {
    color: var(--black);
    /* font-weight: 600; */
}

@media (max-width: 767px) {
    .select2-container .select2-selection--single,
    input[type="color"],
    input[type="date"],
    input[type="datetime-local"],
    input[type="datetime"],
    input[type="month"],
    input[type="number"],
    input[type="time"],
    input[type="url"],
    input[type="week"],
    input[type="email"],
    input[type="search"],
    input[type="text"],
    input[type="password"],
    input[type="tel"],
    input[type="file"],
    textarea,
    select.form-control,
    select {
        padding: 8px 14px;
        font-size: 15px;
        line-height: 18px;
    }
    input::-moz-placeholder,
    textarea::-moz-placeholder,
    select::-moz-placeholder {
        font-size: 15px;
    }
    input:-ms-input-placeholder,
    textarea:-ms-input-placeholder,
    select:-ms-input-placeholder {
        font-size: 15px;
    }
    input::-webkit-input-placeholder,
    textarea::-webkit-input-placeholder,
    select::-webkit-input-placeholder {
        font-size: 15px;
    }
    .form-group {
        margin-bottom: 10px;
    }
}
@media (max-width: 575px) {
    .select2-container .select2-selection--single,
    input[type="color"],
    input[type="date"],
    input[type="datetime-local"],
    input[type="datetime"],
    input[type="month"],
    input[type="number"],
    input[type="time"],
    input[type="url"],
    input[type="week"],
    input[type="email"],
    input[type="search"],
    input[type="text"],
    input[type="password"],
    input[type="tel"],
    input[type="file"],
    textarea,
    select.form-control,
    select {
        padding: 7px 12px;
        font-size: 13px;
    }
    input::-moz-placeholder,
    textarea::-moz-placeholder,
    select::-moz-placeholder {
        font-size: 13px;
    }
    input:-ms-input-placeholder,
    textarea:-ms-input-placeholder,
    select:-ms-input-placeholder {
        font-size: 13px;
    }
    input::-webkit-input-placeholder,
    textarea::-webkit-input-placeholder,
    select::-webkit-input-placeholder {
        font-size: 13px;
    }
}

/*  */
table {
    width: 100%;
    margin: 15px 0;
    background-color: #ebf6f9;
    border-color: #cfcfcf;
    border-collapse: collapse;
    border-right: 1px solid #cfcfcf;
    --bs-table-bg: transparent;
    --bs-table-accent-bg: #72bbbb;
}
tbody, td, tfoot, th, thead, tr {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}
table>:not(caption)>* {
    border-width: 1px 0;
}
table>:not(caption)>*>* {
    border-width: 0 1px;
}
form#print_div table td {
    vertical-align: top;
    width: auto;
    padding: 8px;
    font-weight: 700;
}
table h3{
    margin: 0;
}
form#print_div table td br {
    display: none;
}
table>tbody>tr:nth-of-type(odd) {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
    color: var(--bs-table-striped-color);
}
table td input:not(input[type="checkbox"],input[type="submit"]),
table tr.select td input[type="submit"],
table td select, 
table td textarea {
    margin-right: 0;
    padding: 5px;
    font-size: 13px;
    line-height: 20px;
}
table tr td input[type="button"],
table tr.select td input[type="submit"] {
    padding: 5px 10px;
}
table td select {
    background-position: right center;
    background-size: 24px;
    padding-right: 24px !important;
    max-width: 120px;
}
table td textarea {
    height: 30px;
}
form[name="create_memo"] table td textarea {
    width: 100%;
    height: 120px;
}
#print_div table td input:not(input[type="checkbox"]), 
#print_div table td select, 
#print_div table td textarea {
    display: block;
    width: 100%;
    margin-top: 4px;
    min-width: 100%;
}
body .datepick-nav, body .datepick-ctrl {
    background-color: var(--primary);
}
body .datepick-month th, 
body .datepick-month th a {
    background-color: var(--black);
}
body .datepick-month-header select {
    background-image: none;
}
body .datepick-month-header select, 
body .datepick-month-header input {
    margin: 0;
    padding: 0;
    font-size: 11px;
    line-height: inherit;
}
body .datepick-month table {
    margin: 0;
}
body .datepick-ctrl .datepick-cmd:hover,
body .datepick-month td .datepick-highlight,
body .datepick-month td .datepick-today,
body .datepick-month-header, 
body .datepick-month-header select, 
body .datepick-month-header input {
    background-color: var(--secondary);
    color: var(--white);
}
body .datepick-month-header select option {
    background-color: var(--white);
    color: var(--black);
}
form[name="detail_form"] input[type="button"] {
    background-color: var(--black);
    color: var(--white) !important;
    padding: 10px 20px;
}
form[name="detail_form"] input[type="button"]:hover {
    background-color: var(--primary);
    color: var(--white) !important;
}
form[name="create_memo"] .data-table,
form[name="add_dest"] .data-table {
    width: 600px;
    max-width: inherit;
}
form[name="add_dest"] .data-table td input,
form[name="add_dest"] .data-table td select,
form[name="add_dest"] .data-table td textarea {
    width: 100% !important;
    max-width: 100%;
    margin: 0;
}
form[name="detail_form"] .data-table td:nth-child(1),
form[name="create_memo"] .data-table td:nth-child(1),
form[name="add_dest"] .data-table td:nth-child(1) {
    width: 25% !important;
}
form[name="detail_form"] .data-table td:nth-child(1){
    width: 12% !important;
    min-width: 120px;
}
form[name="detail_form"] .data-table:nth-child(1) td:nth-child(1) {
    width: 100% !important;
    min-width: inherit;
}
form[name="add_dest"] .data-table td input[type="submit"] {
    width: auto !important;
    min-width: 120px;
}
/*  */
form[name="detail_form"] .data-table {
    width: revert-layer;
    max-width: inherit;
    margin-right: 20px;
}
form[name="detail_form"] .data-table.col_three {
    width: calc(33.333% - 14px);
}
form[name="detail_form"] .data-table.col_three.mr-0 {
    margin-right: 0;
}
form[name="detail_form"] input:not(input[type="checkbox"],
form[name="detail_form"] input[type="submit"],
form[name="detail_form"] input[type="button"]),
form[name="detail_form"] textarea,
form[name="detail_form"] select {
    width: auto !important;
    min-width: 100%;
}
form[name="detail_form"] table td textarea {
    height: 100px;
}
form[name="detail_form"] .data-table td label {
    margin-right: 10px;
    margin-bottom: 9px;
    display: inline-block;
}
form[name="detail_form"] td br {
    display: none;
}
form[name="detail_form"] select[name="buy_back_gift"], 
form[name="detail_form"] select[name="buy_back_gift_manager"] {
    min-width: inherit;
    width: calc(50% - 7px) !important;
}
form[name="detail_form"] select[name="buy_back_gift_manager"] {
    margin-left: 10px;
}
form[name="detail_form"] .data-table tr td[colspan="2"] input[type="text"],
form[name="detail_form"] .data-table tr td[colspan="2"] select{
    min-width: inherit;
    max-width: 130px;
}
form[name="search"] input[type="text"],
form[name="search"] td select{
    min-width: 200px;
}
div#myDiv > div,
div#myDivFin > div {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ccc;
}
div#myDiv > div a img,
div#myDivFin > div a img {
    display: inline-block;
    vertical-align: top;
    margin-top: 3px;
}
form[name="detail_form"] #myDiv input:not(input[type="checkbox"],
form[name="detail_form"] #myDiv input[type="submit"],
form[name="detail_form"] #myDiv input[type="button"]), 
form[name="detail_form"] #myDiv textarea, 
form[name="detail_form"] #myDiv select,
form[name="detail_form"] #myDivFin input:not(input[type="checkbox"],
form[name="detail_form"] #myDivFin input[type="submit"],
form[name="detail_form"] #myDivFin input[type="button"]), 
form[name="detail_form"] #myDivFin textarea, 
form[name="detail_form"] #myDivFin select {
    width: auto !important;
    min-width: 220px;
}
.scroll_x {
    width: 100%;
    max-width: 100%;
    overflow: auto;
    box-sizing: border-box;
}
/* .w_auto,
.w_auto table {
    width: auto;
} */
.data-table td input[type=text][name="ih"],
.data-table td input[type=text][name="mf"],
.data-table td input[type=text][name="cash"],
.data-table td input[type=text][name="in_time"],
.data-table td input[type=text][name="out_time"] {
    width: 50px !important;
}
table td[colspan="2"] span,
table td[colspan="3"] span {
    display: inline-block;
}
table td[colspan="3"] span + span,
table td[colspan="2"] span + span {
    margin-left: 10px;
}
table td[colspan="2"] span {
    width: calc(50% - 7px);
}
table td[colspan="3"] span {
    width: calc(33.333% - 9px);
}
@media(max-width:1600px){
    #menu ul.menu li a span {
        padding: 10px 8px;
        font-size: 14px;
    }
    form[name="detail_form"] #myDiv input:not(input[type="checkbox"],
    form[name="detail_form"] #myDiv input[type="submit"],
    form[name="detail_form"] #myDiv input[type="button"]), 
    form[name="detail_form"] #myDiv textarea, 
    form[name="detail_form"] #myDiv select,
    form[name="detail_form"] #myDivFin input:not(input[type="checkbox"],
    form[name="detail_form"] #myDivFin input[type="submit"],
    form[name="detail_form"] #myDivFin input[type="button"]), 
    form[name="detail_form"] #myDivFin textarea, 
    form[name="detail_form"] #myDivFin select {
        min-width: 90px;
        max-width: inherit;
    }
}
@media(max-width:1340px){
    #menu ul.menu li a span {
        padding: 8px 7px;
        font-size: 13px;
    }
    .top_bg img,
    #menu {
        padding-left: 15px;
    }
    .content {
        padding: 15px;
    }
    input[type="color"], input[type="date"], input[type="datetime-local"], input[type="datetime"], input[type="month"], input[type="number"], input[type="time"], input[type="url"], input[type="week"], input[type="email"], input[type="search"], input[type="text"], input[type="password"], input[type="tel"], input[type="file"], textarea, select.form-control, select {
        margin-right: 5px;
    }
    form[name="search"] input[type="text"], form[name="search"] td select {
        min-width: 180px;
    }
    h1 {
        font-size: 22px;
        padding-bottom: 6px;
    }
}

/* password hide/show */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding: 8px 35px 8px 10px;
    box-sizing: border-box;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    width: 20px;
    height: 20px;
    fill: #888;
    z-index: 1;
}

::-webkit-scrollbar-track
{
	border-radius: 10px;
	background-color: #F5F5F5;
}
::-webkit-scrollbar
{
	width: 8px;
	background-color: #F5F5F5;
}
::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	background-color: #555;
}

.email_template input,
.email_template select,
.email_template textarea{
    min-width: 500px;
}

.email_template input[type="submit"]{
    min-width: inherit;
}