/*
@import url(//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,cyrillic-ext,greek-ext,vietnamese);
*/
@font-face {
  font-family: 'Hanuman';
  src: url('../fonts/hanuman.woff') format('woff');
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', 'sans-serif', hanuman;
    font-size: 14px;
    color: #000;
    line-height: 18px;
    text-rendering: optimizeLegibility;
    position: relative;
    background-color: #fff;
}

h1,h2,h3,h5{
    margin: 0;
}

*:fullscreen
*:-ms-fullscreen,
*:-webkit-full-screen,
*:-moz-full-screen {
   overflow: auto !important;
}

.page-header {
    vertical-align: middle;
    padding: 10px 0 0 0;
    border-bottom: none;
    margin: 48px 0 0 0;
}
.page-header h1 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #848484;
    display: inline-block;
    margin-top: 0px;
}

a:hover, a:focus {
    text-decoration: none;
}
/* fix for bootstrap hidden and visible */
span.hidden-xs, span.hidden-sm, span.hidden-md, span.hidden-lg {
    display: inline;
}
#container {
    min-height: 100%;
    height: 100%;
    width: 100%;
    position: relative;
}
#container #content{
    height: inherit;
}
/*.container-fluid {
    padding-left: 20px;
    padding-right: 20px;
}*/
#header {
    min-height: 0px;
    background: #FFFFFF;
    border-bottom: 1px solid #E5E5E5;
    margin: 0;
    padding: 0;
}
#header .nav > li {
    float: left;
}
#header .nav > li li {
    min-width: 220px;
}
#header .navbar-header {
    min-height: 0px;
    padding: 0;
}
#header .navbar-left {
    float: left;
    height: 46px;
}
#header .navbar-left .navbar-title{
    font-size: 18px;
    padding-left: 5px;
    padding-right: 5px;
}
#header .dropdown-header,
#header .dropdown-menu > li > a{
    padding: 3px 10px;
}
.form-control{
    height: auto;
    min-height: 33px;
    padding: 4.5px 8px;
}

.form-control.input-lg {
    min-height: initial;
    height: 46px;
    padding: 10px 16px;
}
/* Mobile */
@media (max-width: 767px) {
    #header .navbar-header {
        margin-right: 0px;
        margin-left: 0px;
        float: left;
    }
}
#header #button-menu + .navbar-brand {
    padding: 10px 10px 10px 10px;
    margin-right: 10px;
    height: auto;
}
#header .nav > li > a {
    padding: 16px 16px;
    line-height: 10px;
    cursor: pointer;
    color: #6D6D6D;
    border-left: 1px solid #E1E1E1;
}

#header .nav > li > a > .label {
    text-shadow: none;
    padding: 1px 4px;
    position: absolute;
    top: 8px;
    left: 6px;
}

#button-menu {
    /*
    padding: 17px 15px 15px 15px;
    line-height: 13px;
    float: left;
    display: block;
    cursor: pointer;
    color: #4760ab;
    */
    border-right: 1px solid #E1E1E1;
}

a#button-menu{
    width: 50px;
    height: 46px;
    color: #4760ab;
    text-align: right;
    padding: 11px 11px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

a#button-menu span:nth-child(1),
a#button-menu span:nth-child(3){
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

a#button-menu span:nth-child(2){
    -webkit-transition: 0.6s;
    transition: 0.6s;
}

a#button-menu.active span:nth-child(1){
  -webkit-transform: rotate(45deg) translate(5px, 5px);
  -moz-transform: rotate(45deg) translate(5px, 5px);
  -o-transform: rotate(45deg) translate(5px, 5px);
  transform: rotate(45deg) translate(5px, 5px);
}

a#button-menu.active span:nth-child(2){
    display: none;
}

a#button-menu.active span:nth-child(3){
  -webkit-transform: rotate(-45deg) translate(0px, 0px);
  -moz-transform: rotate(-45deg) translate(0px, 0px);
  -o-transform: rotate(-45deg) translate(0px, 0px);
  transform: rotate(-45deg) translate(0px, 0px);
}

a#button-menu .bar{
    width: auto;
    height: 4px;
    background: #4760ab;
    display: block;
    margin: 3px 0;
}

#profile {
    display: none;
}
#column-left.active #profile {
    display: block;
    padding: 10px 15px 10px 15px;
    overflow: auto;
    border-bottom: 1px solid #585858;
}
#profile div {
    float: left;
    color: #C4C4C4;
}
#profile div + div {
    margin-left: 15px;
}
#profile h4 {
    margin-top: 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #FFF;
    margin-bottom: 0;
}
#column-left {
    width: 50px;
    height: 100%;
    background-color: #4760ab;/*#247eaa;*/ /*348bc7;*//*48859b;*/
    position: fixed;
    top: 47px;
    left: 0;
    padding-top: 0px;
    z-index: 10;
    transition: all 0.3s;
}
#column-left.active {
    width: 235px;
    display: block;
}
#content {
    padding-bottom: 5px;
    transition: all 0.3s;
    overflow: auto;
    position: relative;
}
#column-left + #content {
    margin-left: 50px;
}
#column-left + #content + #footer {
    margin-left: 50px;
}
#column-left + #content .action-top{
    position: fixed;
    z-index: 3;
    padding: 0;
    margin-top: 0;
    top: 47px;
    border-bottom: 1px solid #ccc;
    background: #ececec;
    width: calc(100% - 50px);
    transition: width 0.3s;
}
#column-left + #content #main-content{
    margin-top: 110px;
}

#column-left.active + #content .action-top{
    width: calc(100% - 235px);
}

.modal-dialog{
    width: 80% !important;
}

#myModalAlert .modal-dialog,
#myModalConfirm .modal-dialog,
#myShiftModal .modal-dialog,
#myModalInform .modal-dialog,
#myModalPassword .modal-dialog{
    width: 45% !important;
}

.select2-container .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__rendered{
    min-height: 33px;
    line-height: 33px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    min-height: 31px;
    line-height: 31px;
}

.select2-container--default .select2-search--dropdown .select2-search__field{
    padding: 2px;
}

.no-padding .select2-container .select2-selection--single,
.no-padding .select2-container--default .select2-selection--single .select2-selection__rendered{
    min-height: 31px;
    line-height: 31px;
}
.no-padding .select2-container--default .select2-selection--single .select2-selection__arrow{
    min-height: 29px;
    line-height: 29px;
}

.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}

.has-error .select2-container .select2-selection--single {
    border: 1px solid #a94442;
}

/* Mobile */
@media (max-width: 767px) {
    #column-left {
        overflow: hidden;
        display: none;
    }
    #column-left + #content {
        margin-left: 0;
    }
    #column-left + #content + #footer {
        margin-left: 0;
    }

    #column-left + #content .action-top{
        width: auto;
        transition: initial;
        position: static;
        top: 0;
        margin-top: 48px;
        padding-top: 10px;
    }

    #column-left + #content #main-content {
        margin-top: 10px;
    }
}
/* Menu */
#menu, #menu ul, #menu li {
    padding: 0;
    margin: 0;
    list-style: none;
}
#menu {
    margin-bottom: 50px;
}
#menu > li {
    position: relative;
}
#menu li a {
    text-decoration: none;
    display: block;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #515151;
}

#menu li a i {
    display: inline-block;
    font-size: 16px;
}
#menu > li > a {
    color: #FFFFFF;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid #f2f2f2;
}
#menu > li > a:hover {
    background-color: #303d96;/*4c6e7a;*/
}
#menu > li > a > span {
    display: none;
    margin-left: 8px;
}
#menu li li a {
    color: #9d9d9d;
}
#menu li li a:hover {
    color: #FFFFFF;
    background-color: #373737;
}
#menu li li a:before {
    content: "\f101";
    font-size: 14px;
    font-family: FontAwesome;
    margin-left: 10px;
    margin-right: 10px;
    transition: margin ease 0.5s;
}
#menu li li a:hover:before {
    margin-right: 20px;
}
#menu > li.active > a {
    color: #FFFFFF;
    background: #303d96;
}
#menu li.active li a {
    color: #C4C4C4;
}
#menu li.active li a span{
    display: inline-block;
}
#menu li li.active > a:last-child {
    color: #FFFFFF;
}
#menu li li.active a:last-child:before {
    margin-left: 15px;
    margin-right: 10px;
}

#menu > li > ul {
    position: absolute;
    left: 50px;
    top: 0px;
    width: 210px;
    background-color: #444444;
    visibility: hidden;
}
#menu li ul {
    overflow: hidden;
}
#menu > li:hover > ul {
    visibility: visible;
}

#menu li:hover li a span{
    display: inline-block;
}

#menu li li a.parent:after, 
#column-left.active #menu > li a.parent:after {
    font-family: FontAwesome;
    content: "\f105";
    float: right;
}

#menu li li.open > a.parent:after, 
#column-left.active #menu > li.open > a.parent:after {
    font-family: FontAwesome;
    content: "\f107" !important;
    float: right;
}


#menu li ul a {
    padding-left: 8px;
}
#menu li li ul a {
    padding-left: 20px;
}
#menu li li li ul a {
    padding-left: 30px;
}
#menu li li li li ul a {
    padding-left: 40px;
}

/* Menu Active */
/* Desktop */
@media (min-width: 768px) {
    #column-left.active {
        overflow: scroll;
    }
    #column-left.active + #content {
        margin-left: 235px;
    }
    #column-left.active + #content + #footer {
        margin-left: 235px;
    }
}
/* Mobile */
@media (max-width: 767px) {
    #column-left.active + #content {
        position: relative;
        left: 235px;
    }
    #column-left.active + #content + #footer {
        position: relative;
        left: 235px;
    }

    #myModalAlert .modal-dialog,
    #myModalConfirm .modal-dialog,
    #myModalInform .modal-dialog,
    #myModalPassword .modal-dialog,
    .modal-dialog {
        margin: 10px auto;
    }
}

#column-left.active {
    width: 235px;
}
#column-left.active #menu li i {
    font-size: 14px;
}
#column-left.active #menu > li > a{
    padding: 10px;
    padding-left: 13px;
    text-align: left;
}
#column-left.active #menu > li > a > span,
#column-left.active #menu li li a span {
    display: inline-block;
}
#column-left.active #menu > li > ul {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    visibility: visible;
}

.tab-content .tab-pane{
    padding: 10px 3px;
    background: #ffffff;
}

.well{
    margin-bottom: 10px;
    color: #353535;
}

/*
* fieldset
*/
fieldset {
    border: 1px solid #ddd !important;
    margin: 0;
    padding: 10px;       
    position: relative;
    border-radius:4px;
    background-color:#fff;
    padding-left:10px!important;

}   

legend {
    font-size:14px;
    font-weight:bold;
    margin-bottom: 0px; 
    border: 1px solid #ddd;
    border-radius: 4px; 
    padding: 5px 5px 5px 5px; 
    background-color: #4561ab;
    width: auto;
    color: #fff;
}

/*table*/
table tbody tr:hover{
    cursor:pointer;
}
tr.collapse .table{
    margin-bottom: 0;
}

.upload-logo-image,
.upload-file-image{
    width:100%;
    height:100%;
    border-radius:4px;
    border:1px solid #ccc;
    padding:2px;
    cursor:pointer;
    background:#f1f1f1 url('../img/camera.png') center center no-repeat;
    z-index: 10000000;
}
.upload-logo-image img[src=""],
.upload-file-image img[src=""] {
    display:none;
}
.upload-logo-image img,
.upload-file-image img{
    width:100%;
    height:auto;
}
.upload-photo{
    height:186px;
    position:relative;
}
.remove-upload-layout{
    position:absolute;
    bottom:2px;
    right:1px;
}
.btn-remove-upload{
    border:1px solid #ddd;
    border-radius:3px;
    padding:0px 3px;
}

/*datepicker*/
.datepicker.dropdown-menu{
    padding: 5px;
}
.datepicker.dropdown-menu th,
.datepicker.datepicker-inline th,
.datepicker.dropdown-menu td,
.datepicker.datepicker-inline td {
    padding: 1px 2px !important;
    font-size:13px;
}

.datepicker table tr td.today, 
.datepicker table tr td.today:hover, 
.datepicker table tr td.today.disabled, 
.datepicker table tr td.today.disabled:hover {
    background-color: #fe69a4;
    background-image: -moz-linear-gradient(top, #fe69a4, #ec257f);
    background-image: -ms-linear-gradient(top, #fe69a4, #ec257f);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fe69a4), to(#ec257f));
    background-image: -webkit-linear-gradient(top, #fe69a4, #ec257f);
    background-image: -o-linear-gradient(top, #fe69a4, #ec257f);
    background-image: linear-gradient(top, #fe69a4, #ec257f);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fe69a4', endColorstr='#fe69a4', GradientType=0);
    border-color: #fe69a4 #fe69a4 #ec257f;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    color: #fff;
}

.bootstrap-datetimepicker-widget table td.day {
    height: 14px;
    line-height: 14px;
    width: 14px;
    font-size: 13px;
}

.radio-pause{
    margin-left:-20px;
    width:150px;
}

.label-group{
    padding: 2px 0 !important;
    width:72px !important
}

.label-dept{
    padding: 2px 0 !important;
    width: 90px !important
}

.table-td-middle tr td{
    vertical-align: middle !important;
}

#viewer,form,td{
    position:relative;
}
#viewer .loading,
form .loading{
    background: url('../img/loading.gif') center center no-repeat;
    width: 50px;
    height: 50px;
    z-index: 1000000;
    position: absolute;
    left: 48.2%;
    top: 25%;
}

img {
    vertical-align: inherit !important;
}

.modal-dialog .loading{
    background: url('../img/loading.gif') center center no-repeat;
    width: 50px;
    height: 50px;
    z-index: 1000000;
    position: absolute;
    left: 46%;
    top: 25%;
}

.modal-body{
    max-height:445px;
    overflow-y:auto;
}

.invalid {
    border-color: #a94442 !important;
}
.navbar-brand{
    padding: 2px 10px !important;
    display:table-cell;
    vertical-align:middle;
    color:blue !important;
    height: 44px;
}

.well-custom{
    width:250px;
    margin:0 auto;
    cursor: pointer;
    padding:8px !important;
}


.login{
    height: 390px;
    width: 470px;
    margin:0 auto;
    margin-top: 5%;
    position: relative;
}


/*table hover row with action*/
.table tr{
    position: relative;
}
.table tr .btn-action{
    clear:both;
    display: none;
    position: absolute;
    right:5px;
    top:3px;
    text-align: right;
    width:160px;
}
.table tr:hover .btn-action{
    display: inline-block;
}

.modal-title {
    text-transform: capitalize;
}
/*
.form-group {
    margin-bottom: 5px;
}
*/

/* tab */
.nav-tabs{
    padding-left: 20px;
}
.nav-tabs li a{
    color: #fff;
}
.nav-tabs li a:hover{
    color: #444;
}

#viewer{
    display: block;
}

#myPrintModal .modal-dialog{
    width: 80% !important;
}
#myPayslipModal .modal-dialog{
    width: 90% !important;
}

#myPrintModal .modal-dialog .container{
    width: 100%;
}


.modal-dialog h1,.modal-dialog h2,.modal-dialog h3,.modal-dialog h4,.modal-dialog h5{
    margin-bottom: 10px !important;
    margin-top: 10px !important;
}

input[type=file].form-control{
    padding: 0 !important;
    height: 35px !important;
    padding-bottom: 35px;
}
input[type=checkbox], 
input[type=radio]{
    margin: 1px 0 0;
}

ul.permission{
    list-style: none;
}

.layout-send-withdraw {
    display: inline-block;
    position: fixed;
    z-index: 9;
    line-height: 3em;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    right: 5px;
    top: 30%;
}

.layout-send-withdraw .customer-cover{
    background: #ececec;
    border: 1px solid #ececec;
    width: 50px;
    height: 50px;
    display: table;
    border-radius: 50%;
    color: #000 !important;
    margin-bottom: 5px;
}

.layout-send-withdraw .customer-cover:last-child{
    margin-bottom: 0;
}

.layout-send-withdraw .customer-cover.green {
    background: #538234;
    border: 1px solid #538234;
    color: #fff !important;
    background-image: -webkit-linear-gradient(top,#5ab65a 0,#419641 100%);
    background-image: -o-linear-gradient(top,#5ab65a 0,#419641 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#5ab65a),to(#419641));
    background-image: linear-gradient(to bottom,#5ab65a 0,#419641 100%);
}

.layout-send-withdraw .customer-cover.blue {
    background: #065e9a;
    border: 1px solid #065e9a;
    color: #fff !important;
    background-image: -webkit-linear-gradient(top,#337ab7 0,#4760ab 100%);
    background-image: -o-linear-gradient(top,#337ab7 0,#4760ab 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#4760ab));
    background-image: linear-gradient(to bottom,#337ab7 0,#4760ab 100%);
}

.layout-send-withdraw .customer-cover.red {
    background: #ec2626;
    border: 1px solid #ec2626;
    color: #fff !important;
    background-image: -webkit-linear-gradient(top,#337ab7 0,#4760ab 100%);
    background-image: -o-linear-gradient(top,#337ab7 0,#4760ab 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#4760ab));
    background-image: linear-gradient(to bottom,#dd3131 0,#e11a1a 100%);
}

.layout-send-withdraw .customer-cover.yellow {
    background: #eb9316;
    background-image: none;
    border: 1px solid #eb9316;
    color: #fff !important;
    background-image: -webkit-linear-gradient(top,#eb9316 0,#eb9316 100%);
    background-image: -o-linear-gradient(top,#eb9316 0,#eb9316 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#eb9316),to(#eb9316));
    background-image: linear-gradient(to bottom,#eb9316 0,#eb9316 100%);
}

.layout-send-withdraw .customer-cover.pink {
    background: #df21b9;
    border: 1px solid #df21b9;
    color: #fff !important;
    background-image: -webkit-linear-gradient(top,#f429a4 0,#f10dc3 100%);
    background-image: -o-linear-gradient(top,#f429a4 0,#f10dc3 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#f429a4),to(#f10dc3));
    background-image: linear-gradient(to bottom,#f429a4 0,#f10dc3 100%);
}

.layout-send-withdraw .customer-cover span.customer-content {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    position: relative;
}
.layout-send-withdraw .customer-cover span.customer-content .fa {
    font-size: 18px;
    transition: all 0.3s;
    line-height: 3rem;
}

#overlay {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: #888;
    opacity: .7;
    filter: alpha(opacity=80);
    z-index: 100000;
}

/*#loading {
    width: 32px;
    height: 32px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -28px 0 0 -25px;
    z-index: 1055;
}*/

.connection-layout{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000000;
}
#connection{
    position: fixed;
    top: 0;
    left:0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    z-index: 10000001;
    padding-top: 5px; 
}
#connection .connection-table{
    display: table;
    height: inherit;
    width: 100%;
}
#connection .connection-table .connection-row{
    display: table-row;
}
#connection .connection-table .connection-row .connection-cell{
    display: table-cell;
    height: 100%;
    width: 100%;
    vertical-align: top;
    text-align: center;
    color: #fff;
}
#connection .connection-table .connection-row .connection-cell .connection-round{
    width: 230px;
    height: 35px;
    border: 1px solid #d9534f;
    border-radius: 4px;
    margin: 0 auto;
    background: #d9534f;
    padding: 10px 0;
}

#connection .connection-table .connection-row .connection-cell .connection-round .text-loading{
    display: inline-block;
}

.loading-layout{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
}
#loading{
    position: fixed;
    top: 0;
    left:0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    z-index: 100001;
    padding-top: 5px; 
}
#loading .loading-table{
    display: table;
    height: inherit;
    width: 100%;
}
#loading .loading-table .loading-row{
    display: table-row;
}
#loading .loading-table .loading-row .loading-cell{
    display: table-cell;
    height: 100%;
    width: 100%;
    vertical-align: top;
    text-align: center;
    color: #fff;
}
#loading .loading-table .loading-row .loading-cell .loading-round{
    width: 150px;
    height: 35px;
    border: 1px solid #337ab7;
    border-radius: 4px;
    margin: 0 auto;
    background: #337ab7;
    padding: 10px 0;
}

#loading .loading-table .loading-row .loading-cell .loading-round .text-loading{
    display: inline-block;
}

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 35px;
  height: 8px;
}
.lds-ellipsis div {
  position: absolute;
  top: 1px; /*27px;*/
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ddd;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 3px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 3px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 13px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 22.5px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(10px, 0);
  }
}

/*
* Payment Form
*/

.optional-print .optional-print-position{
    padding: 15px 0;
}

.optional-print-position .optional-for-print{
    display: inline-block;
    border: 1px solid #3674b4;
    border-radius: 35px;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    max-width: 100%;
    padding: 1px;
    width: 90px;
    display: flex;
    position: relative;
    font-size: 14px;
}

.optional-print .optional-print-position.pull-left .optional-for-print{
    margin-left: 40px;
}
.optional-print .optional-print-position.pull-right .optional-for-print{
    margin-right: 0px;
}

.optional-print-position .optional-for-print input[type="radio"]{
    display: none;
}

.optional-print-position .optional-for-print label{
    width: 50%;
    margin-bottom: 0;
    cursor: pointer;
    text-align: center;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    z-index: 2;
    padding: 2px 5px;
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
}

.optional-print-position .optional-for-print .label-print{
    position: absolute;
    top: 0;
    bottom: 0;
    left: -62px;
    color: #000;
    width: 60px;
    text-align: right;
    line-height: 21px;
}

.optional-for-print input[type="radio"]:checked + label{   
    color: #fff;
}

.optional-print-position .optional-for-print .slide-scroll {
    z-index: 1;
    position: absolute;
    top: 0;
    border: 1px solid #3674b4;
    background: #3873b4;
    border-radius: 35px;
    width: calc(50% - 2px);
    height: calc(100% - 2px);
    left: 0;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    margin: 1px;
}

.optional-print-position .optional-for-print #print-0:checked + label + .slide-scroll{
    left: 0%;
}

.optional-print-position .optional-for-print #print-1:checked + label + .slide-scroll{
    left: 50%;
}


/*
* font size fontawesome
*/
.fa-1-3x{
    font-size: 1.3em
}

.fa-1-5x{
    font-size: 1.5em
}

/*
* font size
*/
.font-9{
    font-size: 9px !important;
}
.font-10{
    font-size: 10px !important;
}
.fs-9{
    font-size: 9px !important;
}
.fs-10{
    font-size: 10px !important;
}
.fs-11{
    font-size: 11px !important;
}
.fs-12{
    font-size: 12px !important;
}
.fs-13{
    font-size: 13px !important;
}
.fs-14{
    font-size: 14px !important;
}
.fs-15{
    font-size: 15px !important;
}
.fs-16{
    font-size: 16px !important;
}

/*
* Padding
*/

.p-0{
    padding: 0 !important;
}

.p-1{
    padding: 0.25rem !important;
}

.pt-1,
.py-1{
    padding-top: 0.25rem !important;
}

.pb-1,
.py-1{
    padding-bottom: 0.25rem !important;
}

.pt-2,
.py-2{
    padding-top: 0.5rem !important;
}

.pb-2,
.py-2{
    padding-bottom: 0.5rem !important;
}

.pt-3,
.py-3{
    padding-top: 1rem !important;
}

.pb-3,
.py-3{
    padding-bottom: 1rem !important;
}

.pt-4,
.py-4{
    padding-top: 1.5rem !important;
}

.pb-4,
.py-4{
    padding-bottom: 1.5rem !important;
}

.pt-5,
.py-5{
    padding-top: 2rem !important;
}

.pb-5,
.py-5{
    padding-bottom: 2rem !important;
}

.px-1px {
    padding-left: 1px !important;
    padding-right: 1px !important;
}

.px-2px {
    padding-left: 2px !important;
    padding-right: 2px !important;
}

.px-3px {
    padding-left: 3px !important;
    padding-right: 3px !important;
}
.px-4px {
    padding-left: 4px !important;
    padding-right: 4px !important;
}

.px-5px {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.pr-1px {
    padding-right: 1px !important;
}

.pr-2px {
    padding-right: 2px !important;
}

.pr-3px {
    padding-right: 3px !important;
}

.pr-4px {
    padding-right: 4px !important;
}

.pr-5px {
    padding-right: 5px !important;
}

.pl-1px {
    padding-left: 1px !important;
}

.pl-2px {
    padding-left: 2px !important;
}

.pl-3px {
    padding-left: 3px !important;
}

.pl-4px {
    padding-left: 4px !important;
}

.pl-5px {
    padding-left: 5px !important;
}

.pb-1px {
    padding-bottom: 1px !important;
}

.pb-2px {
    padding-bottom: 2px !important;
}

.pb-3px {
    padding-bottom: 3px !important;
}

.pb-4px {
    padding-bottom: 4px !important;
}

.pb-5px {
    padding-bottom: 5px !important;
}

.pl-1{
    padding-left: 0.25rem !important;
}
.pr-1{
    padding-right: 0.25rem !important;
}


/*
* Margin
*/

.m-0{
    margin: 0;
}

.mt-1,
.my-1{
    margin-top: 0.25rem;
}

.mb-1,
.my-1{
    margin-bottom: 0.25rem;
}

.mt-2,
.my-2{
    margin-top: 0.5rem;
}

.mb-2,
.my-2{
    margin-bottom: 0.5rem;
}

.mt-3,
.my-3{
    margin-top: 1rem;
}

.mb-3,
.my-3{
    margin-bottom: 1rem;
}

.mt-4,
.my-4{
    margin-top: 1.5rem;
}

.mb-4,
.my-4{
    margin-bottom: 1.5rem;
}

.mt-5,
.my-5{
    margin-top: 2rem;
}

.mb-5,
.my-5{
    margin-bottom: 2rem;
}

.mb-10px{
    margin-bottom: 10px !important;
}

/*
* Display
*/
.d-inline{
    display: inline;
}

.d-inline-block{
    display: inline-block;
}

.d-block{
    display: block;
}

.d-table{
    display: table;
}

.d-table-row{
    display: table-row;
}

.d-table-cell{
    display: table-cell;
}

/*
* Align
*/

.v-top{
    vertical-align: top;
}
.v-middle{
    vertical-align: middle;
}
.v-bottom{
    vertical-align: bottom;
}

.br-0{
    border-radius: 0;
}

.ts-0 {
  text-shadow: 0px 0px 1px #000;
}

.no-padding .chosen-container-single .chosen-single{
    padding: 2.5px 0 2.5px 8px !important;
    min-height: 31px !important;
}

.chosen-container .chosen-results {
    max-height:100px !important;
}

.input-group .chosen-container-single .chosen-single{
    padding: 3px 0 3px 8px;
}

.chosen-container-single .chosen-single{
    min-height: 33px;
}

.chosen-container-multi .chosen-choices{
    padding: 2.5px 5px !important;
}

.h-100{
    height: 100%;
}

.width-4{
    width: 4%;
}
.width-10{
    width: 10%;
}
.width-12{
    width: 12%;
}
.width-15{
    width: 15%;
}
.width-18{
    width: 18%;
}
.width-20{
    width: 20%;
}

.width-28{
    width: 28%;
}

.width-14pt{
    width: 14%;
}

.width-48{
    width: 48%;
}
.w-68{
    width: 68%;
}

.w-30{
    width: 30%;
}
.w-20{
    width: 20%;
}
.w-25{
    width: 25%;
}
.w-10{
    width: 10%;
}

.w-20{
    width: 20%;
}

.w-30{
    width: 30%;
}

.w-40{
    width: 40%;
}

.w-50{
    width: 50%;
}

.w-100{
    width: 100%;
}

.h-100{
    height: 100%;
}

.w-28px{
    width: 28px;
}

.w-30px{
    width: 30px;
}

.w-32px{
    width: 32px;
}

.w-35px{
    width: 35px;
}

.w-40px{
    width: 40px;
}

.w-45px{
    width: 45px;
}

.w-50px{
    width: 50px;
}

.w-55px{
    width: 55px;
}

.w-60px{
    width: 60px;
}

.w-65px{
    width: 65px;
}

.w-70px{
    width: 70px;
}

.w-75px{
    width: 75px;
}

.w-80px{
    width: 80px;
}

.w-85px{
    width: 85px;
}

.w-90px{
    width: 90px;
}

.w-95px{
    width: 95px;
}

.w-100px{
    width: 100px;
}

.w-105px{
    width: 105px;
}

.w-110px{
    width: 110px;
}

.w-115px{
    width: 115px;
}

.w-120px{
    width: 120px;
}

.w-130px{
    width: 130px;
}
.w-135px{
    width: 135px;
}
.w-140px{
    width: 140px;
}
.w-145px{
    width: 145px;
}
.w-150px{
    width: 150px;
}
.w-155px{
    width: 155px;
}
.w-160px{
    width: 160px;
}
.w-165px{
    width: 165px;
}

.mh-30px{
    min-height: 30px;
}

.mh-33px{
    min-height: 33px;
}

.mh-35px{
    min-height: 35px;
}

.chosen-container .chosen-results {
    max-height:100px !important;
}

.total div.form-control{
    margin-bottom: 5px;
    border-radius: 0;
    border:0;
    border-bottom:1px solid #ccc;
    -webkit-box-shadow: initial;
            box-shadow: initial;
}

.table>tbody>tr>td.sub-table{
    padding: 0;
}

.data-table{
    display: table;
    width: 100%;
    min-height: 36px;
}
.data-table .data-table-column{
    display: table-cell;
    width: 33.33%;
    height: 100%;
    vertical-align: middle;
    padding:8px;
    border-left: 1px solid #ccc;
}
.data-table .data-table-column:first-child{
    border: 0;
}

.bottom-line .form-control {
    margin-bottom: 5px;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid #ccc;
    -webkit-box-shadow: initial;
    box-shadow: initial;
}

.bottom-line .has-error .form-control {
    border-bottom: 1px solid #a94442;
}

/* sale page */
.table>tbody>tr>td, 
.table>tbody>tr>th, 
.table>tfoot>tr>td, 
.table>tfoot>tr>th, 
.table>thead>tr>td, 
.table>thead>tr>th
{
    padding: 5px;
}
#sale-table .input-group .fa{
    font-size: 6px;
    line-height: 6px;
}

#sale-table .input-group .btn-xs{
    padding: 1px 5px;
}


.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/*#sale-tab > .btn{
    padding: 6px 2px;
}*/

#sale-table .input-group .input-qty,
#sale-table .input-group .input-number,
#sale-table .input-group .input-number-dis{
    min-height: 30px;
    font-size: 12px;
    padding: 1px;
    border-radius: 0;
}

.products{
    margin: auto;
    padding-top: 5px;
    overflow-y: auto; 
    margin-left: -8px;
    margin-right: -8px;
}
.products:after{
    content: "";
    display: block;
    height: 0;
    clear: both;
}

.product-list .btn{
    padding: 6px;
}

.product-list .table-bordered tbody {
  display: block;
  overflow-y: scroll;
}

.product-list .table-bordered thead,
.product-list tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.product-list tbody tr td:nth-child(1),
.product-list thead tr th:nth-child(1){
    width: 40px;
}
.product-list tbody tr td:nth-child(2),
.product-list thead tr th:nth-child(2){
    width: auto;
}

.product-list thead tr th:nth-child(3),
.product-list tbody tr td:nth-child(3){
    width: 60px;
}

.product-list thead tr th:nth-child(4),
.product-list tbody tr td:nth-child(4){
    width: 80px;
}

.product-list thead tr th:nth-child(5),
.product-list tbody tr td:nth-child(5){
    width: 90px;
}

.product-list thead tr th:nth-child(6){
    width: 49px;
}
.product-list tbody tr td:nth-child(6){
    width: 32px;
}

.product-list tbody tr td .btn-sm {
    width: 22px;
    height: 22px;
    margin: 0 auto;
    padding: 2px 5px;
}


.product-list tbody tr td{
    overflow: hidden;
    padding: 3px;
}

.product-list tbody tr td .chk-product{
    margin-bottom: 0;
}

.product-list tbody tr td .chk-product input{
    position: absolute;
    z-index: -1;
    left: 8px;
    top: 8px;
}
.product-list tbody tr td .chk-product span {
    z-index: 1;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 28px;
    line-height: 28px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-left: 3px;
    background: #fff;
}
.product-list tbody tr td .chk-product span:before {
    content: "\f096";
}
.product-list tbody tr td .chk-product input:checked + span:before {
    content: "\f046";
}

.col-sm-5 #calculate-money{
    position: absolute;
    bottom: 0;
    width: calc(100% - 10px);
    display: block;
    background: #fff;
    z-index: 5;
}

/*
* Product Note
*/

#container .row.cart{
    position: relative;
}

#container .row.cart #product-notes{
    position: absolute;
    width: calc(100% - 10px);
    display: block;
    background: #ccccccf2;
    z-index: 6;
    padding: 5px;
    left: calc(-100% - 100px);
    top: 0;
    bottom: 0;
    -webkit-transition: left .3s ease-in-out .1s;
    -moz-transition: left .3s ease-in-out .1s;
    -ms-transition: left .3s ease-in-out .1s;
    -o-transition: left .3s ease-in-out .1s;
    transition: left .3s ease-in-out .1s;
}

#container .row.cart #product-notes.active{
    left: 5px;
}

#container .row.cart #product-notes .product-notes-content{
    position: relative;
    width: 100%;
    height: 100%;
} 
#container .row.cart #product-notes .product-notes-content .btn-product-note-close{
    position: absolute;
    top: -5px;
    right: -5px;
    -webkit-border-radius: 16px;
    border-radius: 16px;
    display: table-cell;
    width: 25px;
    height: 25px;
    text-align: center;
    padding: 4px;
    z-index: 10;
}

#container .row.cart #product-notes .product-notes-content .pn-content-body{
    overflow: auto; 
}

#container .row.cart #product-notes .product-notes-content .pnc-content-body{
    height: 100%;
    overflow: auto;     
}

.note-frame {
    position: relative;
    display: block;
    width: 16.66%;
    float: left;
    text-align: center;
    z-index: 2;
    cursor: pointer;
}

.note-frame input[type=checkbox]:checked + div.note-content{
    background: #065e9a;
    color: #FFFFFF;
}

.note-frame .note-content{
    margin: 2px;
    padding: 6px;
    box-shadow: 1px 1px 5px 0 #a2958ad1;
    background-color: #fff;
}

.note-frame .note-content .note-table{
    display: table;
    width: 100%;
}

.note-frame .note-content .note-table .note-row{
    display: table-row;
}
.note-frame .note-content .note-table .note-row .note-img{
    overflow: hidden;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 100%;
    position: relative;
    height: 210px;
}

.note-frame .note-content .note-table .note-row .note-img img {
    width: 100%;
    height: inherit;
}

.note-frame .note-content .note-table .note-row .note-img .note-title,
.note-frame .note-content .note-table .note-row .note-img .note-qty {
    position: absolute;
    left: 0;
    right: 0;
    display: block;
    font-size: 12px;
    padding: 5px 0;
    color: #fff;
}

.note-frame .note-content .note-table .note-row .note-img .note-title{
    top: 0;
    background-color: #065e9aa7;
}

.note-frame .note-content .note-table .note-row .note-img .note-qty {
    bottom: 0;
    display: none;
    padding-left: 5px;
    padding-right: 5px;
}

.note-frame input[type=checkbox]:checked + div.note-content .note-table .note-row .note-img .note-qty{
    display: block;
}

.note-frame .note-sale{
    background: #f0ad4e;
    color: #FFFFFF;
}



#container .row.cart #product-notes a{
    display: inline-block;
}

#calculate-money .group-btns{
    padding-left:10px; 
    padding-right: 10px;
}
#calculate-money .group-btns.no-padding,
.no-padding{
    padding: 0;
}

#calculate-money .group-btns .btn{
    margin-bottom: 10px;
}


.product-frame-content{
    width: 20%;
    float: left;
}
.product-frame{
    padding: 6px;
}
.product-frame-cover {
    position: relative;
    display: block;
    width: 100%;
    border: 1px solid #ddd;
    box-shadow: 1px 1px 5px 0 #a2958a;
    padding: 1px;
    text-align: center;
    z-index: 2;
    cursor: pointer;
}


.product-frame-cover .product-table{
    display: table;
    width: 100%; /*134px;*/
    min-height: 130px;
}

.product-frame-cover .product-table .product-row{
    display: table-row;
}

.product-frame-cover .product-table .product-row .product-img{
    overflow: hidden;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 100%;
    position: relative;
}
.product-frame-cover .product-table .product-row .product-img{
    height: 150px
}

.product-frame-cover .product-table .product-row .product-img .product-title{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    font-size: 15px;
    background-color: #065e9a;
    opacity: .7;
    padding: 5px 0;
    color: #fff;
}

.product-frame-cover .product-table .product-row .product-img .product-price{
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    font-size: 12px;
    background-color: #065e9a;
    opacity: .7;
    padding: 2px 5px;
    color: #fff;
}

.product-frame-cover .product-table .product-row .product-img .product-price.claim{
    right: auto;
    left: 0;
}

.product-frame-cover .product-table .product-row .product-img .btn-claim{
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    font-size: 12px;
    opacity: .7;
    padding: 2px 5px;
    color: #fff;
}

.product-frame-cover .product-table .product-row .product-img img{
    width: 100%;
    height: inherit;
}
.product-frame-cover .product-table .product-row .product-price {
    width: auto;
    position: absolute; 
    top: 5px;
    right: 5px;
}


.product-claim .product-frame-cover .product-table .product-row .product-img{
    height: inherit;
    overflow: hidden;
}

#exchanges{
    position: relative;
}

#exchanges .exchange-cover{
    overflow-x: auto;
    display: flex;
}

#exchanges .exchange-cover .exchange-notes{
    position: absolute;
    bottom: -2px;
    width: 100%;
    text-align: center;
}
#exchanges .exchange-cover .exchange-notes .label{
    margin-right: 2px;
}
#exchanges .exchange-cover .exchange-notes .label:last-child{
    margin-right: 0;   
}

.exchange-frame {
    position: relative;
    display: block;
    margin: 4px;
    /*border: 1px solid #ddd;*/
    box-shadow: 1px 1px 5px 0 #a2958a;
    /*padding: 3px;*/
    float: left;
    text-align: center;
    z-index: 2;
    cursor: pointer;
}

.exchange-frame input[type=radio]:checked + div.exchange-content,
.exchange-frame input[type=checkbox]:checked + div.exchange-content{
    background: #065e9a;
    color: #FFFFFF;
}

.exchange-frame .exchange-content{
    overflow: hidden;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    min-width: 100px;
    height: 50px;
    font-size: 14px;
    background: #e8e8e8;
    border: 4px solid #fff;
    padding-left: 2px;
    padding-right: 2px;
}

.exchange-frame .exchange-content img{
    position: absolute;
    top: 7px;
    left: 7px;
    border-radius: 50%;
    display: inline-block;
    width: 35px;
    height: 35px;
    border: 1px solid #fff;
}

.exchange-frame .exchange-content .exchange-content-symbol{
    width: 35px;
    height: 35px;
    border: 1px solid #a0a2a3;
    border-radius: 50%;
}
.exchange-frame .exchange-content .exchange-content-text{
    padding-left: 5px;
}

.exchange-frame .key-content .key-name{
    margin-left: 38px;
    display: block;
    white-space: nowrap;
}

.exchange-frame input[type=radio]:checked + div.exchange-content .exchange-content-symbol,
.exchange-frame input[type=checkbox]:checked + div.exchange-content .exchange-content-symbol{
    color: #fff;
    border: 1px solid #fff;
}

.exchange-frame .exchange-sale{
    background: #f0ad4e;
    color: #FFFFFF;
}


/* ===================
    Sale Employee
   =================== */

#keys #employee-notes{
    position: absolute;
    width: 100%;
    display: block;
    background: #ccccccf2;
    z-index: 1000;
    padding: 7px;
    left: calc(-100% - 100px);
    top: 0;
    bottom: 0;
    -webkit-transition: left .3s ease-in-out .1s;
    -moz-transition: left .3s ease-in-out .1s;
    -ms-transition: left .3s ease-in-out .1s;
    -o-transition: left .3s ease-in-out .1s;
    transition: left .3s ease-in-out .1s;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

#keys #employee-notes.active{
    left: 0px;
}

#keys #employee-notes .employee-notes-content{
    position: relative;
    width: 100%;
    height: 100%;
} 
#keys #employee-notes .employee-notes-content .btn-employee-note-close{
    position: absolute;
    top: -15px;
    right: 0px;
    -webkit-border-radius: 16px;
    border-radius: 16px;
    display: table-cell;
    width: 25px;
    height: 25px;
    text-align: center;
    padding: 4px;
}

#keys #employee-notes .employee-notes-content .en-content-body{
    overflow: auto; 
}

.ekey-frame {
    position: relative;
    display: inline-block;
    box-shadow: 1px 1px 5px 0 #a2958a;
    text-align: center;
    z-index: 2;
    cursor: pointer;
    margin-bottom: 0;
}

.ekey-frame input[type=radio]:checked + div.ekey-content,
.ekey-frame input[type=checkbox]:checked + div.ekey-content{
    background: #065e9a;
    color: #FFFFFF;
}

.ekey-frame .ekey-content{
    overflow: hidden;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: auto;
    height: 55px;
    font-size: 14px;
    background: #e8e8e8;
    border: 4px solid #fff;
    padding-left: 2px;
    padding-right: 2px;
}

.ekey-frame .ekey-content img{
    border-radius: 50%;
    display: inline-block;
    width: 45px;
    height: 45px;
    border: 1px solid #fff;
}

.ekey-frame .ekey-content .ekey-name{
    display: inline-block;
    white-space: nowrap;
    padding-left: 3px;
    padding-right: 5px;
}

.ekey-frame input[type=radio]:checked + div.ekey-content img,
.ekey-frame input[type=checkbox]:checked + div.ekey-content img{
    border: 1px solid #fff;
}


.services h4{
    font-size: 15px;
    border-bottom: 1px solid #ddd;
}

.services .service-frame {
    position: relative;
    display: block;
    margin: 8px;
    border: 1px solid #ddd;
    box-shadow: 1px 1px 5px 0 #a2958a;
    padding: 3px;
    float: left;
    text-align: center;
    z-index: 2;
    cursor: pointer;
}

.services .service-frame .key-sale{
    background: #f0ad4e;
    color: #FFFFFF;
}

.services .service-frame input[type=checkbox]:checked + div.service-table{
    background: #065e9a;
    color: #FFFFFF;
}

.services .service-frame .service-table{
    display: table;
    width: 80px;
}

.services .service-frame .service-table .service-row{
    display: table-row;
}

.services .service-frame .service-table .service-row .service-img,
.services .service-frame .service-table .service-row .service-title{
    overflow: hidden;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 100%;
}

.services .service-frame .service-table .service-row .service-img{
    height: 60px;
    padding: 0 3px;
}

.services .service-frame .service-table .service-row .service-img img{
    width: 100%;
}

.services .service-frame .service-table .service-row .service-title{
    height: 30px;
    border-top: 1px solid #ddd;
    font-size: 12px;
}

.services:after{
    content: "";
    display: block;
    height: 20px;
    clear: both;
}

/* ====================
    sale
   ==================== */
#receive{
    position: absolute; 
    bottom: 0; 
    width: calc(100% - 10px); 
    display: block; 
    background: #fff; 
    z-index: 5;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

#receive .panel-heading{
    padding: 5px 10px;
}

#receive .panel-heading .panel-title{
    margin-top: 8px;
}


#receive .receive-frame{
    overflow-x: auto;
    display: flex;
}

.receive-item {
    position: relative;
    display: block;
    margin: 4px;
    box-shadow: 1px 1px 5px 0 #a2958a;
    float: left;
    text-align: center;
    z-index: 2;
    cursor: pointer;
}

.receive-item .receive-content{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: auto;
    height: 60px;
    font-size: 14px;
    background: #e8e8e8;
    border: 4px solid #fff;
    padding-left: 2px;
    padding-right: 2px;
}


.receive-item .receive-content .receive-price
{
    position: absolute;
    left: 7px;
    top: 7px;
    width: 45px;
    height: 45px;
    border: 1px solid #a0a2a3;
    border-radius: 50%;
}

.receive-item:hover .receive-content{
    background: #065e9a;
}

.receive-item:hover .receive-content .receive-price{
    border-color: #fff;
}

.receive-item:hover .receive-content .receive-price,
.receive-item:hover .receive-content .receive-info .receive-invoice-no,
.receive-item:hover .receive-content .receive-info .receive-phone{
    color: #fff;
}

.receive-item .receive-content .receive-price .receive-price-content{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    height: inherit;
    width: inherit;
    font-size: 10px;
}

.receive-item .receive-content .receive-price .receive-price-content .currency-size{
    font-size: 10px;
}

.receive-item .receive-content .receive-info{
    margin-left: 50px;
    display: block;
}

.receive-item .receive-content .receive-info .receive-invoice-no{
    display: block;
    color: #000;
    font-size: 13px;
}

.receive-item .receive-content .receive-info .receive-phone{
    display: block;
    font-size: 10px;
    color: #888;
}

.receive-item .receive-content img{
    border-radius: 50%;
    display: inline-block;
    width: 35px;
    height: 35px;
}

.sale{
    padding-top: 1px;
}

.sale-category .panel-default>.panel-heading a{
    display: block;
    position: relative;
}

.sale-category .panel-default>.panel-heading a:before, 
.sale-category .panel-default>.panel-heading a:after {
    display: block;
    content: "";
    position: absolute;
    right: 0px;
    top: 50%;
    height: 2px;
    width: 13px;
    background: #065e9a;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    transition-duration: 0.2s;
}

.sale-category .panel-default>.panel-heading a:before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    right: 8px;
  }

.sale-category .panel-default>.panel-heading a:after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.sale-category .panel-default>.panel-heading a[aria-expanded="true"]:before{
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.sale-category .panel-default>.panel-heading a[aria-expanded="true"]:after{
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}



span.form-control,
.bt {
    /*margin-bottom: 5px;*/
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid #ccc;
    -webkit-box-shadow: initial !important;
    box-shadow: initial !important;
    padding: 6px 0;
}
.bt{
    background-color: initial !important;
}

.panel-green {
    border-color: #5cb85c;
}
.panel-green > .panel-heading {
  border-color: #5cb85c;
  color: white;
  background-color: #5cb85c;
}
.panel-green > a {
  color: #5cb85c;
}
.panel-green > a:hover {
  color: #3d8b3d;
}
.panel-red {
  border-color: #d9534f;
}
.panel-red > .panel-heading {
  border-color: #d9534f;
  color: white;
  background-color: #d9534f;
}
.panel-red > a {
  color: #d9534f;
}
.panel-red > a:hover {
  color: #b52b27;
}
.panel-yellow {
  border-color: #f0ad4e;
}
.panel-yellow > .panel-heading {
  border-color: #f0ad4e;
  color: white;
  background-color: #f0ad4e;
}
.panel-yellow > a {
  color: #f0ad4e;
}
.panel-yellow > a:hover {
  color: #df8a13;
}

.btn-primary {
    background-image: -webkit-linear-gradient(top,#337ab7 0,#4760ab 100%);
    background-image: -o-linear-gradient(top,#337ab7 0,#4760ab 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#4760ab));
    background-image: linear-gradient(to bottom,#337ab7 0,#4760ab 100%);
    border-color: #4760ab;
}

.btn-primary.active.focus, 
.btn-primary.active:focus, 
.btn-primary.active:hover, 
.btn-primary:active.focus, 
.btn-primary:active:focus, 
.btn-primary:active:hover, 
.open>.dropdown-toggle.btn-primary.focus, 
.open>.dropdown-toggle.btn-primary:focus, 
.open>.dropdown-toggle.btn-primary:hover
.btn-primary:focus, 
.btn-primary:hover {
    background-color: #4760ab;
}

.text-warning{
    color: #f0ad4e;
}

.text-primary{
    color: #4760ab;
}

.text-default{
    color: #e8e8e8;
}

.photo-cover{
    position: relative;
    width: 110px;
    height: 130px;
}

.photo-cover .photo-profile,
.photo-cover .photo-profile-setting,
.photo-cover .video-file{
    border: 1px solid #337ab7;
    z-index: 1;
    height: inherit;
    width: inherit;
    overflow: hidden;
    cursor: pointer;
}

.photo-cover .photo-profile div,
.photo-cover .photo-profile-setting div,
.photo-cover .video-file div{
    width: inherit;
    height: inherit;
    display: table-cell;
    vertical-align: middle;
}

.photo-cover .photo-tooltip{
    text-align: center;
    font-size: 7px;
    color: #a29e9e;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5%;
    z-index: 2;
    border: 1px solid #ededed;
    background: #fff;
    width: 90%;
    margin: 0 auto;
}

.photo-cover .photo-remove{
    position: absolute;
    top: -10px;
    right: -10px;
    content: "x";
    width: 20px;
    height: 20px;
    border: 1px solid #999;
    border-radius: 16px;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    z-index: 2;
    line-height: 16px;
    font-size: 15px;
    cursor: pointer;
    background-color: #fff;
}

.photo-cover .photo-profile img{
    width: 100%;
}

.photo-cover .photo-profile-setting img{
    width: 100%;
}

.loading{
    position: fixed;
    top: 0;
    left:0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    z-index: 10511;
}

.loading .loading-table{
    display: table;
    height: inherit;
    width: 100%;
}
.loading .loading-table .loading-row{
    display: table-row;
}
.loading .loading-table .loading-row .loading-cell{
    display: table-cell;
    height: 100%;
    width: 100%;
    vertical-align: middle;
    text-align: center;
    color: #fff;
}
.loading .loading-table .loading-row .loading-cell .loading-round{
    width: 80px;
    height: 80px;
    border: 1px solid #555;
    border-radius: 4px;
    margin: 0 auto;
    background: #444;
    font-size: 10px;
}


.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* ====================
    right menu
   ==================== */

a#scroll-back {
    display: inline-block;
    position: fixed;
    right: 0px;
    bottom: 0px;
    height: 42px;
    width: 42px;
    z-index: 999;
    line-height: 3em;
    border: 1px solid #ddd;
    background: #f2f2f2;
    text-align: center;
    color: #fff;
}

a#scroll-back{
    width: 50px;
    height: 46px;
    color: #4760ab;
    padding: 11px 11px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

a#scroll-back span:nth-child(1),
a#scroll-back span:nth-child(3){
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

a#scroll-back span:nth-child(2){
    -webkit-transition: 0.6s;
    transition: 0.6s;
}

a#scroll-back.active span:nth-child(1){
  -webkit-transform: rotate(45deg) translate(5px, 5px);
  -moz-transform: rotate(45deg) translate(5px, 5px);
  -o-transform: rotate(45deg) translate(5px, 5px);
  transform: rotate(45deg) translate(5px, 5px);
}

a#scroll-back.active span:nth-child(2){
    display: none;
}

a#scroll-back.active span:nth-child(3){
  -webkit-transform: rotate(-45deg) translate(0px, 0px);
  -moz-transform: rotate(-45deg) translate(0px, 0px);
  -o-transform: rotate(-45deg) translate(0px, 0px);
  transform: rotate(-45deg) translate(0px, 0px);
}

a#scroll-back .bar{
    width: auto;
    height: 4px;
    background: #4760ab;
    display: block;
    margin: 3px 0;
}

#column-right {
    width: 0px;
    height: 100%;
    background-color: #4760ab;/*#247eaa;*/ /*348bc7;*//*48859b;*/
    position: fixed;
    bottom: 47px;
    right: -10px;
    padding-top: 0px;
    z-index: 10;
    transition: all 0.3s;
}
#column-right #menu{
    margin-top: 50px;
    margin-bottom: auto;
}

#column-right #menu > li > ul{
    left: initial;
    right: 50px;
}
#column-right.active {
    width: 50px;
    display: block;
    right: 0;
}

/*
*   Font Size
*/

.text-size-25{
    font-size: 25px !important;
}

/* 
* autocomplete 
*/

/*the container must be positioned relative:*/
.autocomplete {
  position: relative;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
    max-height: 195px;
    overflow: auto;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff; 
    border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
    background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
    background-color: DodgerBlue !important; 
    color: #ffffff; 
}


/* Mobile */
@media (max-width: 1366px) {
    
    #viewer{
        overflow-x: auto !important;
        display: block;
    }
}


@media (max-width: 1024px) {
    .product-frame-content{
        width: 25%;
    }

    #viewer{
        overflow-x: auto !important;
        display: block;
    }

    .product-list .btn{
        font-size: 12px;
    }
}

@media (max-width: 991px) {
    .action-top h2{
        font-size: 22px;
        line-height: 32px;
    }

    .product-list .btn{
        padding: 3px;
        font-size: 10px;
    }
}

@media (max-width: 767px) {
    #header .navbar-header {
        margin-right: 0px;
        margin-left: 0px;
        float: left;
    }
    #header .navbar-left .navbar-title {
        font-size: 10px;
        padding-left: 3px;
        padding-right: 3px;
    }

    #header .nav > li > a {
        padding: 18px 10px;
    }

    #myModalPassword .modal-dialog, 
    #myModalAlert .modal-dialog, 
    #myModalConfirm .modal-dialog,
    #myCustomerModal .modal-dialog, 
    #myModal .modal-dialog, 
    #modalSplitInvoice .modal-dialog,
    #myShiftModal .modal-dialog,
    #myModalInform .modal-dialog{
        width: 95% !important;
    }

    #column-right {
        overflow: hidden;
        display: none;
    }

    body{
        font-size: 10px;
    }

    .panel-heading{
        padding: 5px;
    }
    .panel-body{
        padding: 2px !important;
    }

    .btn,
    .btn-group-sm>.btn, .btn-sm,
    .form-control,
    .product-frame .product-table .product-row .product-img .product-price{
        font-size: 10px;       
    }
    #keys #employee-notes{
        padding: 4px;
    }
}
@media (max-width: 767px) and (min-width: 451px){
    #container .row.cart .col-sm-4, 
    #container .row.cart .col-sm-8{
        height: auto;
    }

    .col-sm-4 #calculate-money{
        position: initial;
        width: auto;
    }

    .product-list .table-bordered tbody{
        max-height: 100px !important;
    }
}

@media (max-width: 450px){
    #calculate-money{
        width: auto;
    }

    #calculate-money .form-group,
    #calculate-money .group-btns{
        width: 100%;
    }

    .form-group,
    #calculate-money .group-btns .btn {
        margin-bottom: 5px;
    }

    #sale-tab .btn{
        font-size: 10px;
    }
    .product-frame-content{
        width: 33.333%;
    }
    .product-frame .product-table .product-row .product-img{
        height: 100px;
    }
    .product-frame .product-table .product-row .product-img .product-title{
        font-size: 8px;
        padding: 2px 0;
    }
}
