/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Oct 24, 2018, 2:50:50 PM
    Author     : leonard
*/

/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/open-sans/open-sans-v15-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url('fonts/open-sans/open-sans-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans/open-sans-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans/open-sans-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans/open-sans-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans/open-sans-v15-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

html {
    height: 100%;
}
body {
    margin:0;
    padding:0;
    overflow: auto;
    height: 100%;
    max-width: 100%;
    font-family: 'Open Sans', sans-serif;
    /*font-size: 13px;*/
    font-size: 1.0vw;
    background: #ffffff;
    background: #f7f9f8;
}

button[disabled], input[type='submit'][disabled]{
    background: #599bb3;
}
button[disabled]:hover, input[type='submit'][disabled]:hover{
    background: #408c99;
}
button:active, input[type='submit']:active, input[type='button']:active{
    position:relative;
    top:1px;
}

a,img,li,i,span,.btn {
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.focus-input, #wrapper_left, #wrapper_right {
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
input:invalid, textarea:invalid {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}
.btn:focus,button:focus, input:focus, select:focus{
    outline: 0 !important;
    color: inherit;
}
a, .link{cursor: pointer;color: inherit;}
a:hover, .link:hover{
    text-decoration: none;
    color: #308290;
}
ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
label{
    padding: 6px 0;
    margin-bottom: 0;
}
select.form-control, .multiselect-native-select .btn-group>.btn{
    background: url(../img/chevron-down.png) no-repeat right;
    background-size: 15px;
    border-right: 2px solid transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.multiselect-native-select .btn-group{
    width: 100%;
}
.form-control, .multiselect-native-select .btn-group>.btn{
    box-shadow: none;
    border-radius: 0;
    border: 1px solid transparent;
    border-bottom: 1px solid #ddd;
}
.multiselect-native-select .btn-group>.btn{
    color: #555;font-weight: normal;
    padding: 6px 12px;
    text-align: left;
    font-size: 14px;
    height: 34px;
}
.multiselect-native-select .btn-group>.btn .caret{display: none;}
.multiselect-native-select .open>.dropdown-toggle.btn-default{
    background-color: transparent;
    border-color: transparent;
    border-bottom-color: #00c654;
    -webkit-box-shadow: 0 4px 2px -2px rgba(77, 171, 88, .2);
    box-shadow: 0 4px 2px -2px rgba(77, 171, 88, .2);
}
.multiselect-container{width: 100%;}
.multiselect-container>li>a>label{padding: 3px 12px;}
.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus, 
.dropdown-menu>.active>a:hover {
    background-color: #54b849;
}
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover{
    outline: none;
}
#rows{
    width: 42px;
    height: auto;
    padding: 1px 5px;
    border: 1px solid #ddd;
    display: inline-block;
    border-radius: 3px;
    margin-right: 5px;
    background-position-x: 24px;
    background-size: 12px;
    box-shadow: inset 0 0 6px rgba(200, 203, 202, 0.3);
}
textarea.form-control[disabled]{border-radius: 2px;border: none;}
textarea.form-control {overflow: hidden;}
#number-div textarea{
    overflow: auto;
    max-height: 100px;
}
input[type=radio]{
    visibility: hidden;
    position: absolute;
}
input[type=radio] + label{
    cursor:pointer;
    font-size: 15px;
    margin-bottom: 10px;
    font-weight: normal;
    width: 45%;
}
input[type=radio] + label:before{
    height:14px;
    margin-right: 8px;
    content: " ";
    display:inline-block;
    vertical-align: baseline;
    transition: 0.3s;
    border:1px solid #ddd;
    border-radius:10px;
    transition: 0.3s;
    border-radius:50%;
    width:14px;
}
input[type=radio]:checked + label:before{
    box-shadow: inset 0 0 1px #007a4d, inset 0 0 0 3px #00d660;
    background: #ffffff;
    border-color: #00d660;
}

input[type=checkbox] + label {
  display: inline-block;
  margin: 0.2em;
  cursor: pointer;
  padding: 0.2em;
}
input[type=checkbox] {
  display: none;
}
input[type=checkbox] + label:before {
  content: "\2714";
  border: 0.1em solid #ddd;
  border-radius: 0.2em;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  padding-left: 0.2em;
  padding-bottom: 0.3em;
  margin-right: 0.2em;
  vertical-align: bottom;
  color: transparent;
  transition: .2s;
}
input[type=checkbox] + label:active:before {
  transform: scale(0);
}
input[type=checkbox]:checked + label:before {
  background-color: #3f4174;
  border-color: #3f4174;
  color: #fff;
}
input[type=checkbox]:disabled + label:before {
  transform: scale(1);
  border-color: #aaa;
}
input[type=checkbox]:checked:disabled + label:before {
  transform: scale(1);
  background-color: #bfb;
  border-color: #bfb;
}

.btn, .btn:active{
    background-color: #308290;
    background: linear-gradient(to right,#214088,#cd4212);
    border: none;
    color: #fff;
    font-size: inherit;    
    font-weight: bold;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.23);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.btn:focus, .btn:hover, .btn:active {
    color: #fff;
    box-shadow: rgba(75, 75, 75, 0.2) 0px 0px 15px 5px inset;
}
.input-group-addon:first-child {
    background-color: transparent;
    border: none;
    padding: 4px 6px 4px 0;
}
.form-control{
    box-shadow: none;
    border-radius: 0;
    border: 1px solid transparent;
    border-bottom: 1px solid #ddd;
}
.form-control:focus {
    border-color: transparent;
    /*border-bottom-color: #00c654;*/
    -webkit-box-shadow: none;
    box-shadow: none;
}
.form-control ~ .border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #00c654;
  z-index: 5;
}
.input-group .form-control ~ .border {left: 32px;}
.form-control:focus ~ .border {
  right: 0;
  width: 100%;
  transition: 0.5s;  
}
#login_frm .form-control:focus ~ .border {width: calc(100% - 32px);}
.relative-div{position: relative;}
.pswd-toggle {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
}
hr{border-top: 1px solid #ddd;}
.alert {
    padding: 10px;
    margin-bottom: 15px;
}
.radius-3{
    -o-border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

#wrapper{
    position: relative;
    min-height: 100%;
    height: 100%;
}
#login-wrapper{
    width: 100%;    
    height: 100%;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
}
#login-frame{
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
#home_logo{
    text-align: center;
}
#home_body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
#home_logo a{display: inline-block;}
#home_logo span{
    height: 60px;
    margin: 5px auto 0;
    background: transparent url(../img/logo-dark.png) no-repeat;
    display: block;
    width: 180px;
    background-size: contain;
    background-position: center;
}
#home_logo hr{max-width: 450px;margin: 5px auto 10px;}
#login {
    padding: 15px 20px;
    max-width: 450px;
    width: 100%;
    position: relative;
    margin: 15px auto;
    text-align: center;
    font-size: 13px;
    /*background: linear-gradient(125deg, #308290 5%, #fff 10%, #fff 95%, #5aad56 95%);*/
}
.login-title{
    font-size: 24px;
    margin: 0;
}
.form-body{
    padding: 15px 0 0;
    max-width: 480px;
    margin: auto;
}
.head {
    margin-top: 50px;
}
.head::before {
    content: "";
    height: 1px;
    background: #ddd;
    display: block;
    margin: 0 -20px -40px;
}
.head img {
    width: 75px;height: 75px;
    border-radius: 50%;
    border: 6px solid #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.login-user {
    background: transparent url(../img/user-icons.png) no-repeat 6px 4px;
    width: 26px;
    height: 26px;
    display: block;
}
.login-pswd {
    background: transparent url(../img/user-icons.png) no-repeat -27px 4px;
    display: block;
    width: 26px;
    height: 26px;
}
.form-p {
    margin-bottom: 15px;
    position: relative;
}
.radios .col-sm-6{padding: 0 12px;}
.radios .radio-lbl{font-size: 14px;font-weight: normal;}
.form-footer .btn{
    width: auto;
    min-width: 120px;
}
.focus-wrap:first-of-type {margin-top: 5px !important;}
.focus-input {
    position: absolute;
    display: block;
    width: 100%;
    height: auto;
    color: #999;
    top: 0px;
    left: 0;
    pointer-events: none;
    padding: 6px 12px;
    text-align: left;
    font-size: 14px;
}
.contact-wrap{margin-top: 25px;}
.contact-wrap .focus-input, .focus-input.animate, input:-webkit-autofill ~ .focus-input{
    top: -25px;
    color: #000;
}
.focus-wrap input:-webkit-autofill{
    margin-top: 25px;
} 

.sm-6{width: 50%;float: left;}
.pointer{cursor: pointer;}
.italic{font-style: italic;}
.bold{font-weight: bold;}
.txt-clip, .main-header .btn-hd, .focus-input {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.success, .td-completed i, .td-sent i, .td-active i{ color: #00c654;}
.error, .td-failed i, .td-cancelled i{color: #d0011b;}
.td-reversed i, .td-pending i{color: #ec971f;}

#wrapper_left{
    width: 250px;
    height: 100%;
    position: fixed;
    color: #ffffff;
    font-size: 18px;
    overflow-y: auto;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
    z-index: 10;
}
.left-relative, .inner-relative{
    position: relative;
    min-height: 100%;  
    display: flex;
    flex-direction: column;
}
.left-up, .left-down, .usrnm-div{
    padding: 5px;
}
.left-center{background-color: #2d3033;}
.left-down{
    flex: 1;
    padding: 5px 0 62px;
    background-image: linear-gradient(#010001, #17232f);
}
.left-up{
    height: 104px;
    background-color: #16181b;
    box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.5);
}
.left-up .menu-toggle{padding: 0 5px;}
.logo-big img{
    height: 65px;
    padding: 3px;
    margin: 2px auto;    
}
.logo-small img{
    width: 45px;
    height: 40px;
    padding: 2px 0;
    margin: 12px auto;    
}
.smallClass{
    display: none;
    margin: 0 -5px;
}
.smallClass a{
    display: inline-block;
    width: 100%;
}
.usrnm-lbl{
    margin: 0;
    padding: 7px 5px;
    background: #17232f;
    border-bottom: 1px solid #000;
    /*box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);*/
}
.usrnm-lbl span{
    width: 88%;
    display: block;
    float: left;
}
.fa-chevron-down.down, .fa-chevron-up.down, .fa-caret-down.down, .fa-caret-up.down {
    -moz-transform:rotate(180deg);
    -webkit-transform:rotate(180deg);
    transform:rotate(180deg);
}
.usrnm-img img{
    margin: 5px auto;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}
.usrnm-img i{
    margin-top: 42px;
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: #01de22;
    border: solid 2px #363636;
    border-radius: 50%;
}
.usrnm-div {    
    width: 100%;
    /*background-color: #363636;*/
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
}
.usrnm-div p, .absolute-down p{
    margin-bottom: 5px;
    font-size: 15px;    
}
.usrnm-small a{
    padding: 2px;
    background: linear-gradient(140deg, #214088 40%, #cd4212 70%);
    border-radius: 50%;
    font-size: 90%;
    font-weight: bold;
    width: 36px;
    height: 36px;
    line-height: 32px;
    margin: 5px auto;
    display: inline-block;
}
.usrnm-small a:hover{
    color: inherit;
    text-shadow: 1px 1px 1px rgba(68, 63, 63, 0.25);
}

.menu-nav{padding-top: 10px;}
.menu-nav li{
    margin-bottom: 5px;
    margin-left: 3px;
}
.menu-nav li a{
    display: inline-block;
    width: 100%;
    color: #ccc;
    padding: 7px 0 7px 10px;
    border-radius: 5px 0 0 5px;   
}
.menu-nav li a:hover{
    color: #fff;
    background: rgba(45, 48, 51, 0.45);
}
.menu-nav li a i{
    margin: 0 5px;
    font-size: 18px;
}
.menu-nav li a span{margin-left: 5px;}
.menu-nav li.active{
    /*color: #00c654;*/
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.50);
}
.menu-nav li.active a{
    background: #f7f9f8;
    color: #333;
    font-weight: bold;
}

#wrapper_top{
    font-size: 18px;
    width: 100%;
    position: fixed;
    padding: 0 5px;
    background: #16181b;
    color: #fff;
    z-index: 10;
    display: none;
}
#wrapper_top .menu-toggle{
    line-height: 65px;    
    padding: 0 5px;
}
#wrapper_top .logo-big img{
    margin: 0;
}
.menu-slide {
    height: calc(100% - 65px);
    padding-top: 5px;
    position: fixed;
    overflow-y: auto;
    left: 0;
    top: 65px;
    width: 100%;
    background: #17232f;
    background-image: linear-gradient(#16181b, #17232f);
    display: none;
}
#wrapper_top .menu-nav{
    text-align: center;
    padding: 0 0 100px;
}
#wrapper_top .menu-nav>li{
    border-left: none;
    box-shadow: none;
    margin: 0;
}
#wrapper_top .menu-nav>li a{border-radius: 0;}
.absolute-down{
    height: 52px;
    position: absolute;
    bottom: 0;
    left:0;
    width: 100%;
    margin-top: 10px;
}
#wrapper_top .absolute-down{
    height: 85px;
    margin-top: 15px;
}
.top-relative li a, .top-relative li.active a{    
    padding: 5px 0;
    border-left: none;
    font-size: 16px;
}

#wrapper_right{
    width: calc(100% - 250px);
    float: right;
    padding: 0 15px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
#main-pnl{
    position: relative;
    flex: 1;
}
.footer {
    margin: 0 -15px;
    height: 38px;    
    background: #fff;
    box-shadow: inset 0 10px 9px -7px #f7f9f8;
}
.footer .row{
    margin: 0 auto;
    max-width: 1200px;
}
.footer .sm-6 {
    padding: 12px 15px 8px;
    font-size: 13px;
}
.contact-us{
    padding: 0 10px;
    max-width: 150px;
}
.contact-us-div {width: 250px;}
.fd-tip-div {width: 300px;}
.contact-us-div ul{margin: 0 7px 5px;}
.contact-us-div li{padding: 3px 0;}
.contact-us-div li:after, .ui-datepicker .ui-datepicker-header:after, #home_logo hr{
    content: "";
    height: 1px;
    display: block;
    background: linear-gradient(to right,  rgba(0,0,0,0) 0%,rgba(147,147,147,0.8) 50%,rgba(0,0,0,0) 100%);
    border: none;
}
.contact-us-div li a{padding: 7px 0;display: inline-block;width: 100%;}
#right-top{
    margin: 0 -15px;
    overflow: auto;
    background: #fff;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.25);
}
#right-top h4{
    width: calc(100% - 160px);
    display: inline-block;
    padding: 0 15px;color: #000;
    -webkit-text-fill-color: transparent;
    background: -webkit-repeating-linear-gradient(-45deg, rgb(245, 150, 0) , 
        rgb(28, 30, 33) 20px, rgb(0, 190, 214) 20px, rgb(28, 30, 33) 40px, rgb(0, 214, 96) 40px);
    background: -o-linear-gradient(transparent, transparent);
    -webkit-background-clip: text;
    text-align: center;
}
.pnls{
    background: #fff;
    padding: 15px;
    margin: 15px auto;
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.flex-first .pnls{margin-bottom: 0;}
.tbl-header{
    margin: 0 -10px;
    padding: 7px 10px;
    text-transform: capitalize;
    font-weight: bold;
}
.tbl-header .focus-wrap{
    margin-bottom: 0px;
    display: inline-block;
    max-width: 70%;
}
.pnl-min .tbl-header:after, .hdr-after:after{
    content: "";
    display: block;
    height: 1px;
    margin: 10px -15px 0;
    background: #ddd;
}
.pnl-min .main-header:after{display: none;}
.main-header{
    padding: 0 0 5px;
    margin: 0 -15px;
}
.btn-hd{
    background: transparent;
    border: none;
    padding: 1px;
    color: #cd4212;
    max-width: 100%;
} 
.go-back{color: #214088;}
.main-header .form-control{height: 30px;}
.main-header .btn-hd{
    padding: 5px 10px 5px 5px;
    background: linear-gradient(to right,#214088,#cd4212);
    color: #fff;
    border-radius: 15px;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.23);
}
.btn-hd:hover, .table i:hover{
    text-shadow: 1px 1px 1px rgba(68, 63, 63, 0.25);
}
#right-new{display: none;}
.pnl-min{width: 100%;max-width: 80%;margin: 15px auto;}
.btns-wrap, .last-days{
    border-radius: 5px;    
    display: flex;
    max-width: 300px;
    margin: auto;
    overflow: hidden;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.23);
}
.btns-wrap span, .last-days span{
    padding: 6px;
    display: inline-block;
    width: 50%;
    background: #f7f9f8;
    font-weight: bold;
}
.btns-wrap span:hover, .last-days span:hover{color: #000;}
.btns-wrap span.active, .last-days span.active{
    background: #308290;
    background: linear-gradient(to right,#214088,#cd4212);
    color: #fff;
}

#wrapper_right i{
    margin: 0 3px;
    padding: 1px;
    cursor: pointer;
    /*font-size: 1.2em;*/
}
#wrapper_right form i {
    font-size: inherit;
    cursor: default;
}
i.fa-edit:hover, .add-c:hover, .fa-eye:hover, .fa-chevron-down:hover{color: #04b75f;}
i.fa-trash:hover{color: #f05433;}
.add-c{
    font-size: 1.4em;
    padding: 3px;
    margin: 5px 15px; 
}
.input-contacts span{
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 2px 5px;
    display: inline-block;
    margin: 8px 5px 1px;
}
#wrapper_right form .input-contacts i{
    cursor: pointer;
    padding: 2px;
    margin: -1px 0 -1px 2px;
}
#wrapper_right form .input-contacts i:hover{color: #d0011b;}
.table input[type=checkbox] + label {
    margin: 0;
    padding: 0;
    text-shadow:none;
}
.del-slct{
    display: none;
    margin: 8px !important;
    font-size: 1.5em !important;
}
.filter-div {
    width: 250px;
    max-width: calc(100% - 40px);
    display: inline-block;
    position: relative;
}
.tbl-header i{font-size: inherit !important;}
.main-header i.go-back{padding: 6px 0 !important;}
.tbl-wrapper{
    width: 100%;
    overflow-x: auto;
    margin-bottom: 5px;
}
.tbl-wrapper table {
    min-width: 600px;
}
.table{
    margin-bottom: 5px;
}
.table>thead>tr>th{
    background: #3f4174;
    border-bottom-color: #3f4174;
    color: #fff;
}
.table>thead>tr>th input[type=checkbox] + label:before{border-color: #fff;}
.table-striped{
    border-collapse: separate;
    border-spacing: 0px 4px;
    margin-top: -4px;
    overflow: hidden;
}
.table>thead tr{
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.50);
}
.table-striped>tbody>tr{
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 0 2px 0 rgba(0, 0, 0, 0.12);
}
.table-striped>tbody>tr td{border: none;}
.table-striped>tbody>tr:nth-of-type(odd){background: transparent;}
.table-striped>tbody>tr:nth-of-type(even){background: #f5f5f5;}
.table-striped>tbody>tr:hover{color: #000;text-shadow: 0 0 1px #666;cursor: default;}
.tbl-main tr th, .tbl-main tr td {
    max-width: 30vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.table-striped>tbody>tr td a{
    width: 100%;
    display: inline-block;
}
#pagination .text-right span{
    padding: 0.2em 0.4em;
    display: inline-block;
    /*border: 1px solid #ddd;*/
    cursor: pointer;
    margin-left: 0.3em;
}
#pagination .text-right span:hover{color: #308290;}
#pagination .text-right span.inactive:hover, #pagination .text-right span.inactive i:hover{
    cursor: default;
    color: inherit;
}
#pagination .text-right span.inactive{background: #e8e8e8;}
#pagination .text-right span.active{
    color: #fff;
    background: #3f4174;
    border-color: #3f4174;
    margin-top: -0.4em;
    margin-bottom: -0.4em;
    padding: 0.4em 0.5em;
    border-radius: 4px;
}
#pagination .text-right span:first-child{margin-left: 0;}
#pagination .text-right span:first-child,
#pagination .text-right span:last-child {
    border-radius: 50%;padding: 0;
    border: 1px solid #ddd;    
}
#pagination .text-right span i{
    margin: 0;
    padding: 0.2em 0.5em;
}

#loader {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 100;
    display: none;
    background-color: rgba(75, 75, 75, 0.2);
}
.loader{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: 45%;
    position: inherit;
    left: 0;
    right: 0;
    margin: auto;
    background: #fff url(../img/loader.gif) no-repeat;
    background-position: center;
    background-size: 38px 38px;
}
#alert-div{
    position: fixed;
    z-index: 15;
    background: #fff;
    max-width: 500px;
    min-width: 250px;
    height: auto;
    top: 54px;
    right: 8px;
    box-shadow: 0 1px 12px rgba(0,0,0,0.2);
    display: none;
    overflow: hidden;
}
#alert-div .alert-header{
    display: flex;
    line-height: 25px;
    margin: 0 5px;
}
#alert-div hr{
    border: 0;
    height: 1px;
    display: block;
    margin: 0;
}
#alert-div hr.success{background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgb(51, 121, 88) 50%,rgba(0,0,0,0) 100%);}
#alert-div hr.error{background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgb(216, 67, 58) 50%,rgba(0,0,0,0) 100%);}
#alert-div .h-big{margin-top: 5px;color: #287958;}
#alert-div .alert-header .alert-x{
    position: relative;
    font-size: 16px;
    cursor: pointer;
    float: right;
    width: 28px;
}
#alert-div .alert-header>span{
    display: inline-block;
    word-break: break-all;
    width: calc(100% - 28px);
    padding: 6px 15px 2px;
}
#alert-div .alert-header .alert-x i{
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15px;
}
#alert-div .cont{padding: 7px 15px 10px;word-break: break-word;}

.tab-content{margin-top: 0;border-radius: 0 12px 12px 12px;}
.nav-tabs{margin: -5px -15px 10px;}
.nav-tabs>li{
    width: 50%;
    max-width: 150px;
    text-align: center;
}
.nav-tabs>li>a{
    padding: 12px 15px 7px;
    border: none;
    margin: 0;
    border-radius: 0;
}
/*.nav-tabs>li:first-child>a{border-radius: 12px 0 0 0;}
.nav-tabs>li:last-child>a{border-radius: 0 12px 0 0;}*/
.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover{
    color: #3f4174;
    cursor: pointer;
    border: none;
    font-weight: bold;
}
.nav-tabs>li>a:hover {
    color: #3f4174;
    background: transparent;
}
.nav-tabs>li>a::after {
    content: '';
    display: block;
    position: absolute;
    margin: auto;
    bottom: 0;
    right: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #3f4174;
    transition: width .3s;
}
.nav-tabs>li.active>a::after {
    width: 100%;    
}
.nav-tabs>li, .nav-tabs>li>a{
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}

.filter-row{margin-top: 15px !important;}
.filter-row .last-days{max-width: 100%;}
.filter-row .last-days span{
    width: 33.33%;
    border-right: 1px solid #ddd;
}
.filter-row .last-days span:last-child{border-right: none;}
.date-range{
    text-align: center;
    border-radius: 12px;
    margin: 2px 5px;
    background-color: #ffffff;
    box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.5);
}
.date-range label{width: 100%;cursor: text;}
.date-range .form-control{
    height: 0;
    padding: 0 !important;
    border: none;
}
.date-range span{
    width: 100%;
    line-height: 26px;
    color: #287958;
}
.filter-btn{width: 100%;}

.tnx-footer{
    margin: 0px -15px -15px;
    min-height: 34px;
    border-radius: 0 0 3px 3px;
    text-align: center;
    overflow-x: hidden;
    white-space: nowrap;
}
.tnx-footer ul{padding: 5px;}
.tnx-footer ul li{
    display: inline-block;
    font-size: 13px;
    padding: 3px 2px;
    cursor: default;
    text-transform: capitalize;
}
.tnx-footer ul li span{
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 3px 5px;
    float: left;
    border-radius: 50%;
}
.flex-p{
    font-weight: bold;
    color: #676767;
    margin: 5px 0 10px;
    font-size: 12px;
}
.crdt{
    margin: 0 auto 1.5vw;
    padding: 0.6vw 0;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.2);
    border-radius: 5px;
    color: #fff;
    /*height: 28%;*/
}
.crdt:last-of-type{margin-bottom: 0;}
.crdt h4{
    font-size: 2em;
    font-weight: bold;
    margin: 3% 0;
    min-height: 40%;
}
.crdt p {
    margin: 0 0 0.6vw;
}
.total-credit{background: #00bed6;background: linear-gradient(to top right, #60d2be, #1977f2);}
.credit-bal{background: #00c654;background: linear-gradient(to top right, #75e594, #378c8e);}
.credit-exp{background: #ec971f;background: linear-gradient(to top right, #ffd941, #f38855);}

@media screen and (max-width: 767px) {
    body, .table>tbody>tr>td, .table>thead>tr>th{
        font-size: 10px;
    }
    .main-header .btn-hd {font-size: 12px;}
    #wrapper_left{
        display: none;
    }
    #wrapper_right{
        width: 100% !important;
        padding-top: 65px;
    }
    #wrapper_top{
        display: block;
    }
    .sm-center{text-align: center;}
    .date-range .col-sm-5, .date-range .col-sm-2{float: left;}
    .date-range .col-sm-5{width: 42%;}
    .date-range .col-sm-2{width: 16%;}
    .date-range{margin: 8px 0;}
    .filter-btn{width: 33%;}
    .flex-sm canvas{max-width: 360px !important;margin: auto;}
}
@media screen and (min-width: 1440px) {
    body, .table>tbody>tr>td, .table>thead>tr>th{
        font-size: 14px;
    }
}
@media screen and (min-width: 767px) {
    .flex-div {display: flex;max-width: 1200px;margin: auto;} 
    .flex-sm{width: 32.5%;margin-right: 1.5%;}
    .flex-lg{width: 66%;}
}

.view-pnl {background: #fff !important;}
.view-pnl .view-inline{max-width: 550px; margin: auto;border: 1px solid #ddd;padding: 5px;box-shadow: inset 0 0 4px rgba(86, 83, 83, 0.12);}
.view-inline p{margin: 0;padding: 7px 5px;}
.msg-actions, .dlg-actions{padding: 4px 7px;background: #f8f8f8;}
.msg-actions{margin: 5px -5px -5px;}
.msg-actions .btn-md, .dlg-actions button{
    background: transparent;
    border: none;
    padding: 4px 6px;
    margin: 0 !important;
}
.btn-approve, .ui-button.ok, .btn-save {color: #00c654;}
.btn-delete, .ui-button.cancel{color: crimson;}
.btn-edit {color: #02aad8;}
.msg-actions .btn-md:hover, .dlg-actions button:hover{background: #eaeaea;border: none;}
.msg-dlr table{
    margin-bottom: 0;
    min-width: 100%;
}
.ui-datepicker {
    padding: 3px;
    border-radius: 5px;
    box-shadow: inset 0 0 4px rgba(86, 83, 83, 0.12);
}
.ui-widget-header .ui-state-hover{
    background: transparent;
    border: none;
    top: 2px;
}
.ui-widget-header {
    border: none;
    background: transparent;
}
.ui-datepicker table{
    margin: 0 0 3px;
    background: transparent;
}
.ui-datepicker th span{background-color: transparent;}
.ui-datepicker td a.ui-state-default,.ui-datepicker th span, .ui-datepicker td a, 
.ui-datepicker td span, .ui-datepicker td span.ui-state-default{
    border: none !important;
    background: transparent;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    font-size: 1em;
    padding: 0.3em;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
    box-shadow: none;
}
.ui-datepicker td a.ui-state-default:hover{background: #00c654;color: #fff;}
.ui-datepicker td a.ui-state-active{background: #00bed6;color: #fff;}
.ui-datepicker td a.ui-state-highlight{background: #00c654;color: #fff;}
.ui-datepicker-week-end span, .ui-datepicker-week-end a.ui-state-default{color: #f59600;}
.ui-datepicker th, .ui-datepicker td{
    padding: 0 1px 1px 0;    
}
.ui-datepicker th{padding-top: 1px;}
.ui-datepicker th:first-child, .ui-datepicker td:first-child{padding-left: 1px;}

body.modal-open .modal {
    display: flex !important;
    height: 100%;
}
body.modal-open .modal .modal-dialog {
    margin: auto;
}
.update-pswd , .view-delivery{
    text-align: center;
    border: 1px solid #ddd;
    padding: 6px 8px;
    border-radius: 3px;
    font-size: 14px;
}
.modal-header{margin: 5px;padding-top: 20px;border: none;}
.modal-footer{text-align: center;padding-top: 5px;border: none;}

.ui-accordion .ui-accordion-header {
    margin-top: 15px;
    padding: .8em 2.2em .8em 1.0em !important;
}
.ui-accordion .ui-accordion-header .ui-accordion-header-icon{
    right: .5em;
    left: auto;
}
.ui-accordion .ui-accordion-content { padding: 1em 1.2em;}
.step{padding-left: 1em;}
.ui-state-default {
    border: none;
    background: #f6f6f6;
    color: #454545;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.2);
}
.ui-state-hover {
    background: #ededed;
    color: #2b2b2b;
}
.ui-state-focus {outline: 0 !important;}
.ui-state-active {
    border: 1px solid #3f4174;
    background: #3f4174;
    color: #fff;
}
.ui-widget-content {
    border: 1px solid #ddd;
}
::-webkit-scrollbar {
    width: 10px;   
}
::-webkit-scrollbar-track
{
    background-color: #F5F5F5;
}
::-webkit-scrollbar-thumb {
    background: #999; 
    border-radius: 10px;
    border: 2px solid #F5F5F5;
}
::-webkit-scrollbar-thumb:hover {
    background: #333; 
}

.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
}
.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: 3px;
    bottom: 3px;
    background-color: #3f4174;
    -webkit-transition: .4s;
    transition: .4s;
}
input:checked + .slider {
    background-color: #fff;
}
input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}
/* Rounded sliders */
.slider.round {
    border-radius: 15px;
}
.slider.round:before {
    border-radius: 50%;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
}
.theme_toggle{    
    height: 22px;
    width: 160px;
    float: right;
    margin: 8px auto;
}
.theme_toggle b{
    line-height: 22px;
    display: inline-block;
    float: right;
    margin-right: 15px;
    font-size: 12px;
}
#paybill-div {
    margin: 8px auto 2px;
    max-width: 480px;
    background: #eeeeee;
    text-align: left;
}
#paybill-div span{font-weight: bold;}
#api-pnl {max-width: 80%}