/*
    Custom css styles
*/
body, html {
    display: inline;
}
.modal-backdrop{
    display: none !important;
}
.modal .modal-content .modal-header span {
    position: relative;
    top: 5px;
}
.bootstrap-select.btn-group .dropdown-toggle .filter-option:nth-child(1) {
    color: #555 !important;
    font-weight: unset !important;
}
.was-validated .bootstrap-select .selectpicker:invalid + .dropdown-toggle + .invalid-feedback {
    display: block;
}
.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    color:#fff !important;
    background-color:#678fff !important;
}
#editTransactionPanel .item-data-loader {
    top: 35px !important;
}
@media (max-width: 768px) {
    #banking-transactions-table_wrapper > div:nth-child(1) {
        top: 85px !important;
    }
}
.div-url-locator{
    position: absolute;
    top: -95px;
}
.daterangepicker {
    width: auto !important;
    top: 185px !important;
}
#reportrange {
    padding: 5px 12px 5px 10px !important;
}
.discount-form-group .bootstrap-select{
    top: -3px;
}
.discount-form-group .bootstrap-select .dropdown-toggle{
        height: 40px;
    width: 100px;
    border: none;
}
.custom-checkbox .eagle-check-input:checked ~ .eagle-check-indicator {
    background-image: url(data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E);
}
.eagle-check-input:checked ~ .eagle-check-indicator {
    color: #fff;
    background-color: rgb(103 143 255);
    border-color: rgb(103 143 255);
}
.custom-checkbox .eagle-check-indicator {
    border-radius: .25rem;
    padding-right: 15px;
}
.eagle-check-description {
    padding-left: 2px;
}
.form-control:not(textarea) {
    padding: 7px 12px 6px;
}
.datetimepicker {
    padding: 8px 10px 6px !important;
}
.dropify-wrapper {
    height: 194px !important;
}
#sales-record-nav-tabs {
    overflow-x: auto;
}
@media (max-width: 767px){
}
#sales-record-nav-tabs .nav-tabs.nav-tabs-noborder.nav-justified li {
    height: 70px;
    display: table-cell;
}
#sales-record-nav-tabs .nav-tabs.nav-tabs-noborder > li a {
    min-width: 150px;
}
a {
    color: #678fff;
}
a:hover, a:focus {
    color: #4274ff;
}
.datetimepicker {
    margin-top: auto !important;
}
.btn-default, .btn-default:active, .btn-default:focus {
    color: #555;
}
.modal { overflow: auto !important; }
.custom-overlay-child-modal .modal-content {
    margin-top: 216px !important;
}
.custom-overlay-child-modal .modal-content {
    width: 96.5%;
    margin: 0 auto;
}
.floating-btn {
    cursor: pointer;
    padding: 8px 15px 2px;
    box-shadow: 0 1px 4px rgb(0 0 0 / 20%);
    width: fit-content;
    border-radius: 3px;
    border: 0;
}
.datetimepicker table{
    width: 200px;
}
.datetimepicker th.switch {
    width: 197px !important;
    padding-top: 10px;
    height: 36px;
}
.switch, .switch * {
    position: absolute;
    top: 3px;
    right: 30px;
}
.datetimepicker td, .datetimepicker th {
    position: static;
}
.modal-dialog {
    margin: 90px auto 30px;
}
.modal-content {
    border: unset !important;
}
.modal-header .close {
    opacity: unset;
}
.input-group .bootstrap-tagsinput {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    box-shadow: none;
}
.bootstrap-tagsinput input::-moz-placeholder {
  color: #ccc !important;
  opacity: 1;
}
.bootstrap-tagsinput input:-ms-input-placeholder {
  color: #ccc !important;
}
.bootstrap-tagsinput input::-webkit-input-placeholder {
  color: #ccc !important;
}
.input-group .form-control {
    float: right !important;
}
.bootstrap-tagsinput input {
    width: 100% !important;
}
@media (min-width: 410px) and (max-width: 768px){
    .offsidebar, .wishlist-sidebar {
        width: 307px !important;
    }
    .csstransforms3d .offsidebar, .csstransforms3d .wishlist-sidebar {
        -webkit-transform: translate3d(700px, 0, 0) !important;
        transform: translate3d(700px, 0, 0) !important;
    }
    .csstransforms3d .offsidebar-open .offsidebar, .csstransforms3d .wishlist-sidebar-open .wishlist-sidebar {
        transform: translateZ(0) !important;
    }
}
@media (max-width: 767px){
    .modal-dialog {
        margin: 90px 10px 30px;
    }

    .custom-add-btn {
        position: absolute;
        top: -55px;
        right: 17px;
    }
    /*
    #reportrange {
        position: absolute;
        top: -55px;
        right: 17px;
    }
    */
    .csstransforms3d .wishlist-sidebar {
        -webkit-transform: translate3d(705px, 0, 0) !important;
        transform: translate3d(705px, 0, 0) !important;
    }
}
.bootstrap-select.btn-group .dropdown-menu.inner {
    position: sticky;
}
.btn-xs, .btn-group-xs > .btn {
    padding: 2px 5px 1px;
    border-radius: 2px;
}
#e-wallet-ballance-widget {
    border-radius: 5px 0 0 5px;
}
#invoice-payment > div > div.row > div:nth-child(1){
    padding-right: 0 !important;
}
#invoice-payment > div > div.row > div:nth-child(2){
    padding-left: 0 !important;
}
#invoice-payment > div > div.row > div:nth-child(2) > form{
    border-radius: 0 4px 4px 0;
    padding-left: 12px !important;
}
#mpesa-express-logo{
    max-width: 25%;
    width: 100%;
    max-height: 86px;
    background: white;
    border-radius: 2px;
    padding: 10px;
    margin: -17px;
}
@media (max-width: 768px){
    #mpesa-express-logo{
        max-width: 32%;
        max-height: 65px;
        margin: -12px -12px -12px -7px;
    }
    #invoice-payment > div > div.row > div:nth-child(1){
        padding-right: 15px !important;
    }
    #invoice-payment > div > div.row > div:nth-child(2){
        padding-left: 15px !important;
    }
    #e-wallet-ballance-widget {
        margin-bottom: 0 !important;
        border-radius: 5px 5px 0 0;
    }
    #invoice-payment > div > div.row > div:nth-child(2) > form{
        border-radius: 0 0 4px 4px;
        padding: 15px 10px !important;
    }
    .card .body {
        padding: 15px 10px;
    }
    .card .card-header {
        padding: 15px 10px;
    }
    .card .card-footer {
        padding: 15px 10px;
    }
    .content-wrapper {
        padding: 20px 10px !important;
    }
    .well {
        padding: 20px 10px;
    }
    #pesapal-payment-panel img{
        padding: 13px 10px !important;
        margin: -12px -7px !important;
    }
    #pesapal-payment-panel .card-header small {
        margin-top: 6px;
    }
}
@media (min-width: 768px){
    #e-wallet-ballance-widget i{
        line-height: 125px;
    }
    #e-wallet-ballance-widget .widget-body{
        padding: 35px 10px;
    }
}
.alert-dismissible .close {
    opacity: 1;
}
.bootstrap-notify-container {
    display: flex !important;
    right: 15px !important;
    padding: 20px 35px 12px 25px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.bootstrap-notify-container .notify-icon {
    float: rleft;
    margin-right: 10px;
}
.bootstrap-notify-container .notify-message {
    float: right;
    padding-top: 3px;
}
.topnavbar .navbar-header .brand-logo-collapsed {
    height: 94%;
    background: white;
    margin: 3px 1px 3px 3px;
    padding: 0 !important;
}
body.aside-collapsed.aside-collapsed-text .topnavbar .navbar-header .brand-logo-collapsed img{
    max-height: 45px;
    margin-top: 0 !important;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
body.aside-collapsed .topnavbar .navbar-header .brand-logo-collapsed img{
    max-height: 60px;
    padding: 2px;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
body.aside-collapsed.aside-collapsed-text .topnavbar .navbar-header .brand-logo-collapsed p{
    display: block;
    color: rgb(103 143 255);
    font-size: 9px;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    font-weight: 500;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.wrapper>.aside>.nav-floating {
    min-width: 235px !important;
}
.dropdown-backdrop{
    display: none;
}
.dropdown-menu {
    z-index: 10;
}
.right-dropdown{
    left: unset;
    right: 0;
}
.btn:hover:not(.btn-default), .btn:focus:not(.btn-default), .btn.focus:not(.btn-default) {
    color: #fff;
}
#floating-menu-button{
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
}
.btn-lg, .btn-group-lg > .btn {
    font-size: 14px !important;
}
table.dataTable tfoot td {
    border-width: 1px 1px 0px 0px !important;
}
.sidebar-subnav>li>.nav-item, .sidebar-subnav>li>a {
    display: inline-flex !important;
}
.card {
    box-shadow: 0 2px 10px rgb(0 0 0 / 10%);
}
body > div.wrapper > header > nav > div.navbar-header > a > div.brand-logo-collapsed > p{
    display: none;
}
.wrapper>footer {
    z-index: unset !important;
}
#navigation-menu{
    right: auto;
    padding: 18px 23px;
}
body > div.wrapper > header > nav > div.nav-wrapper > ul:nth-child(1) > li:nth-child(1) > a.visible-xs.sidebar-toggle
body.aside-collapsed .topnavbar .navbar-header .brand-logo-collapsed p{
    display: none;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.topnavbar .navbar-header .brand-logo{
    height: 93%;
    background: #fff;
    margin: 3px;
    padding: 0 !important;
    margin-left: 70px;
}
body.aside-collapsed-text .topnavbar .navbar-header .brand-logo img{
    padding: 3px 20px;
}
.topnavbar .navbar-header .brand-logo img{
    max-height: 60px;
    margin-top: 0 !important;
    padding: 3px 30px;
}
.document-widget {
    min-height: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    border-radius: 2px;
    margin-bottom: 30px;
}
.document-widget .header {
    position: relative;
    max-width: 100%;
    padding:10px 10px 0;
    margin-bottom: 0;
}
.img-container{
    position: relative;
    overflow: hidden;
    /*height: 445px;*/
    background: #fff;
}
.img-container img{
    width: 100%;
    max-height: 100%;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.img-container:hover .preview-overlay {
    opacity: 1;
}
.img-container:hover .preview-overlay a {
    margin-bottom: 5px;
}
.img-container:hover > img{
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    transform: scale(1.15);
    transition-duration: 1.5s;
}

/*PIN Pad*/

#PINform input:focus,
#PINform select:focus,
#PINform textarea:focus,
#PINform button:focus {
	outline: none;
}
#PINbox {
	background: #ededed;
    margin: 3% 0;
    width: 93.5%;
	font-size: 4em;
	text-align: center;
	border: 1px solid #d5d5d5;
    color: #678fff;
}
.PINbutton {
    background: #ededed;
    color: #678fff;
    border: none;
    font-size: 1.5em;
    text-align: center;
    width: 30%;
    height: 60px;
    padding: 0px;
    margin: 2px;
}
.PINbutton:hover {
 	box-shadow: #678fff 0 0 1px 1px;
}
.PINbutton:active {
 	background: #678fff;
	color: #fff;
}
.clear:hover {
 	box-shadow: #ff3c41 0 0 1px 1px;
}
.clear:active {
 	background: #ff3c41;
	color: #fff;
}
.enter:hover {
 	box-shadow: #47cf73 0 0 1px 1px;
}
.enter:active {
 	background: #47cf73;
	color: #fff;
}
.shadow{
      -webkit-box-shadow: 0px 5px 5px -0px rgba(0,0,0,0.3);
         -moz-box-shadow: 0px 5px 5px -0px rgba(0,0,0,0.3);
              box-shadow: 0px 5px 5px -0px rgba(0,0,0,0.3);
}
/*END PIN Pad*/

.document-widget .action-btn {
    position: absolute;
    bottom: -21px;
    box-shadow: 3px 3px 12px 1px rgba(103, 143, 255, .6) !important;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
}
.document-widget .action-btn i {
    color: #ececec;
    font-size: 22px;
}
.action-btn-info {
    background: rgb(66, 133, 244);
}
.notes_action_icon-primary {
    background-color: #4063e6;
}
.action-btn-success {
    background-color: rgb(35, 209, 96);
}
.notes_action_icon-danger {
    background-color: #f93a27;
}
.action-btn-warning {
    background-color: #ff9900;
}
.non-btn {
    background-color: transparent;
    border: none;
}
.notes_action_icon-default {
    background-color: #fff;
}
.document-widget .action-btn-right {
    right: 10%;
}
.document-widget .action-btn-center {
    bottom: -41px;
    left: 50%;
    transform: translate(-50%, -50%);
}
.document-widget .action-btn-center-right {
    bottom: -41px;
    left: 50%;
    transform: translate(50%, -50%);
}
.document-widget .action-btn-center-right .material-icons{
    font-size: 20px;
}
.document-widget .action-btn-center-left {
    bottom: -41px;
    left: 50%;
    transform: translate(-150%, -50%);
}
.document-widget .action-btn-left {
    left: 10%;
}
.document-widget .details-panel {
    padding: 0 10px 10px;
}
.document-widget .details-panel-body {
    border-top: 5px solid #e5e5e5;
    background-color: #f4f4f4;
    border-radius: 0 0 4px 4px;
    padding: 35px 0px 10px;
    margin-bottom: 15px;
}
.document-widget .widget-title{
    line-height: 1.35em;
    vertical-align: middle;
    text-align: left;
    color: rgb(103, 143, 255);
    transition: all 0.5s;
}
.document-widget p{
    padding: 0 10px;
    margin-bottom:0 !important;
    color: rgb(74, 74, 74);
    font-weight: 500;
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.nav-tabs.nav-tabs-info > li a {
    padding: 17px;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgb(0 0 0 / 20%);
}
.nav-tabs.nav-tabs-info > li.active a {
    border: 1px solid rgb(103 143 255);
    background-color: rgb(103 143 255) !important;
    color: #fff !important;
    letter-spacing: 0.25px;
}

@media (min-width: 768px) {
    .nav-tabs.nav-tabs-info > li:first-child a{
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .nav-tabs.nav-tabs-info > li:last-child a{
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
}
.nav-tabs.nav-justified li.active a:hover, .nav-tabs.nav-justified li.active a:focus, .nav-tabs.nav-justified li.active a:active {
    border: 1px solid rgb(103 143 255);
}
.nav-tabs.nav-tabs-info > li a:hover, .nav-tabs.nav-tabs-info > li a:focus, .nav-tabs.nav-tabs-info > li a:active {
    background-color: #f2f4f7;
    border: 1px solid transparent;
    color: rgb(103 143 255);
}
.checkout-tabs{
    border-radius: 3px;
}
#order_view tr td input[type="text"] {
    background: #f1f1f1;
    border: none;
}

.dropdown>a>.badge {
    padding: 3px !important;
    font-size: 9px;
    top: 12px !important;
    margin-left: -10px !important;
}
#download-options .panel {
    margin-bottom: 15px;
}
#invoice-payment .panel-group .panel {
    margin-bottom: 15px;
    -webkit-box-shadow: 0 2px 10px rgb(0 0 0 / 20%);
    box-shadow: 0 2px 10px rgb(0 0 0 / 20%);
}
#invoice-payment .panel-group .panel .panel-heading a {
    height: 60px;
    line-height: 35px;
    padding: 15px;
}
#invoice-payment .panel-body {
    padding: 20px 13px;
}
#invoice-payment .panel-group .panel .panel-heading a img{
    height: 54px;
    float: right;
    background: #fff;
    padding: 0px;
    margin: -12px;
    border-radius: 5px;
}
.topnavbar .navbar-form .form-control {
    border: 3px solid rgb(103 143 255) !important;
    border-left: none;
}
.navbar-nav {
    margin: 0;
}
.loading {
}

.loading:after {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    -webkit-animation: ellipsis steps(4,end) 900ms infinite;      
    animation: ellipsis steps(4,end) 900ms infinite;
    content: "\2026"; /* ascii code for the ellipsis character */
    width: 0px;
}

@keyframes ellipsis {
    to {
        width: 1.25em;    
    }
}

@-webkit-keyframes ellipsis {
    to {
        width: 1.25em;    
    }
}
.required-field::after{
    content:" *";
    color: red;
}
.custom-ribbon-wrapper{
    position: absolute;
    top: -5px;
    right: 35px;
    z-index: 1;
    background: none;
}
.nav > li > a {
    padding: 23px 15px;
}
.field-icon {
    float: right;
    margin-right: 5px;
    right: 0;
    margin-top: 10px;
    position: absolute;
    font-size: 15px;
    color: rgb(103 143 255);
    z-index: 10;
    cursor: pointer;
}
.bootstrap-select {
    border-bottom: none !important;
}