html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}
.modal-overlay-wrapper {
    position: relative;
}
.modal-overlay-wrapper .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 50;
    background: rgba(255,255,255,0.7);
    right: 0;
    bottom: 0;
    text-align: center;
    font-size: 3rem;
    padding-top: 20%;
    display: none;
}
.is-loading .modal-overlay-wrapper .modal-overlay {
    display: block;
}

.form-control-section {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
}

.version-section {
    color: #777;
    text-align: center;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    font-size: 1rem;
}
.collapsed .collapse-icon {
    background-color: #00a65a;
}

.collapse-icon {
    background-color: #00a65a;
    padding: 0px 8px;
    border-radius: 50px;
    color: white;
    transition: all 0.2s ease;
    margin-right: 4px;
}

.collapse-icon:hover {
    background-color: #00a65a;
}

.collapse-icon .fa:before {
    content: "\f103";
}


.collapsed .collapse-icon .fa:before {
    content: "\f102";
}

.box {
    /*border-top-width: 1px;*/
    border-radius: 0;
    box-shadow: none;
}

.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td {
    vertical-align: middle;
}
/*.jumbotron {*/
/*text-align: center;*/
/*background-color: transparent;*/
/*}*/

/*.jumbotron .btn {*/
/*font-size: 21px;*/
/*padding: 14px 24px;*/
/*}*/

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

/*.grid-view td {*/
/*white-space: nowrap;*/
/*}*/

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
    .content-header>.breadcrumb {
        display: none;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

/* begin update new UI*/
.content-wrapper {
    background-color: #fff;
}
.content-wrapper .content {
    padding: 0px 8px;
    margin-top: -1px;
}
.content .box-header.with-border {
    padding: 14px 10px 10px;
}
.main-header .navbar {
    display: none !important;
}
.main-header .sidebar-toggle {
    color: #333;
}
.content-header {
    padding: 15px;
}
.content-header>h1 {
    font-size: 20px;
}
.content-header>.breadcrumb {
    top: 12px;
}
.box.box-primary {
    border-top-color: #00a65a;
    border-top-width: 2px;
}
/* end update new UI*/

.btn {
    border-radius: 0;
}

.panel, .panel .panel-body, .panel .panel-heading {
    border-radius: 0;
}

.form-control {
    border-radius: 0;
}

.profile-picture .img-circle {
    height: 160px;
    width: 160px;
}

.profile-picture {
    height: 160px;
    width: 160px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.profile-picture .change-profile-picture-button {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 2px;
}

.profile-picture .change-profile-picture-panel {
    display: none;
    height: auto;
    width: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 3px;
}

.profile-picture .change-profile-picture-panel a {
    color: #ffffff;
    text-decoration: none;
}

.profile-picture:hover .change-profile-picture-panel {
    display: block;
}

.panel-body-title {
    font-size: 25px;
    color: #999;
}

.search-box hr {
    border-top: 1px solid #f4f4f4;
    margin: 10px 0;
}

.login-page, .register-page {
    background-color: #f7f7f7;
}

.site-login {
    margin-top: 100px;
}

.site-login .logo {
    margin: 40px auto;
}

.site-error .box-error {
    margin-left: auto;
    margin-right: auto;
}

.grid-top, .grid-items, .grid-pagiantion {
    display: block;
    width: 100%;
}

.grid-items {
    margin-top: 10px;
}

.grid-items.with-border {
    border-top: 1px solid #eeeeee;
}

.grid-top {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.grid-top > div {
    width: 100%;
}

.grid-top .summary {
    /*margin-top: 8px;*/
}

.grid-top .btn {
    /*min-width: 50px;*/
    border-radius: 30px;
    /*margin-top: 10px;*/
    /*margin-bottom: 8px;*/
}

.grid-pagination .pagination {
    margin: 0 0;
}

.sidebar-widget {
    margin: 10px 10px;
    background: #fff;
    border-radius: 5px;
    padding: 5px;
}

.btn-transparent {
    background-color: transparent;
    border: none;
}

.btn-transparent:hover, .btn-transparent:focus, .btn-transparent:active {
    background-color: #dddddd;
}

.sidebar-widget button {
    border-radius: 5px !important;
}

.sidebar-widget button.active {
    background-color: #007bff;
    color: white;
    border-radius: 5px !important;
}

#agent-status {
    font-size: 13px;
}

/*.btn-success, .btn-danger, .btn-primary, .btn-info, .btn-warning, .btn-default {*/
/*border: none;*/
/*}*/

.direct-chat-messages {
    height: auto;
}

.btn-schedule {
    padding: 7px 5px 0 5px;
    margin: 5px 0 5px 0;
    min-width: 60px;
    height: 60px;
    text-align: center;
    font-size: 1.5em;
    border: none;
}

.btn-schedule .prompt-color {
    width: 100%;
    position: absolute;
    height: 20px;
    bottom: 0;
    left: 0;
}

.text-lg {
    font-size: 3em;
}

.text-md {
    font-size: 1.5em;
}

.tag-schedule {
    /*height: 40px;*/
    vertical-align: middle;
    /*margin: 5px 0 5px 0;*/
    padding: 5px;
}

.btn-schedule.almost-full .prompt-color, .badge.almost-full, .tag-schedule.empty {
    background-color: #000;
    color: #fff;
}

.btn-schedule.almost-full .prompt-color, .badge.almost-full, .tag-schedule.almost-full {
    background-color: #f39c12;
    color: #fff;
}

.btn-schedule.not-full .prompt-color, .badge.not-full, .tag-schedule.not-full {
    background-color: #00a65a;
    color: #fff;
}

.btn-schedule.full .prompt-color, .badge.full, .tag-schedule.full {
    background-color: #dd4b39;
    color: #fff;
}

.btn-schedule.full:focus .prompt-color, .btn-schedule.full:active .prompt-color, .btn-schedule.full:hover .prompt-color {
    color: #fff;
    background-color: #ac2925;
}

.btn-schedule.not-full:focus .prompt-color, .btn-schedule.not-full:active .prompt-color, .btn-schedule.not-full:hover .prompt-color {
    color: #fff;
    background-color: #398439;
}

.btn-schedule.almost-full:focus .prompt-color, .btn-schedule.almost-full:active .prompt-color, .btn-schedule.almost-full:hover .prompt-color {
    color: #fff;
    background-color: #d58512;
}

.btn-schedule.selected, .badge.selected {
    background-color: #007bff;
    color: #fff;
}

.btn-schedule .prompt-color .sub-info {
    font-size: 12px;
    font-weight: 500;
    height: 20px;
    position: absolute;
    width: 100%;
    left: 0;
    top: 1px;
}

.thumbnail-100 {
    height: 100px;
}

/*.form-group.thumbnail {*/
/*display: block;*/
/*height: 100px;*/
/*}*/
.tab-content-custom {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}
.tab-content-custom > .tab-pane {
    padding: 10px 15px;
}
.tab-content-custom > .tab-pane .well {
    border: none;
}
.popup #popup-tab-content .scroll-pane {
    max-height: 60vh;
    overflow-y: auto;
}

.grid-pagination {
    padding-top: 20px;
    padding-bottom: 10px;
    text-align: center;
}

.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: 2px;
    line-height: 1.42857143;
    color: #2c3b41;
    text-decoration: none;
    background-color: #fff;
    border: none;
    border-radius: 100px;
    margin-right: 2px;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #2c3b41;
    border-color: #2c3b41;
    border-radius: 100px;
}

.pagination > li:last-child > a, .pagination > li:last-child > span, .pagination > li:first-child > a, .pagination > li:first-child > span {
    border-radius: 100px;
}

h3[data-toggle="collapse"] {
    cursor: pointer;
}

.alert.alert-dark {
    background-color: rgba(0, 0, 0, 0.80) !important;
    color: #fff;
}

.alert.alert-dark .close {
    color: #fff;
    opacity: 0.6;
}

.alert .alert-footer {
    margin-top: 10px;
}

.alert a.btn {
    text-decoration: none;
}

.alert .alert-footer .btn:nth-child(odd) {
    margin-right: 5px;
}

.wrap-word {
    /*word-wrap: break-word;*/
}

#call-status-popup {
    position: fixed;
    background-color: rgba(0, 166, 90, 0.90);
    padding: 10px 10px 10px 10px;
    right: 15px;
    top: 90px;
    z-index: 9999;
    color: rgba(255, 255, 255, 0.8);
    display: none;
    /*border-radius: 50px;*/
}

#call-status-popup.danger {
    background-color: rgba(221, 75, 57, 0.90);
}

#call-status-popup-text {
    max-width: 200px;
    word-break: break-all;
}

#call-status-popup > * {
    display: inline-block;
    vertical-align: top;
}

#call-status-popup-close {
    margin-left: 5px;
    color: rgba(255, 255, 255, 1) !important;
    text-decoration: none;
}

.text-center-vertical {
    vertical-align: middle !important;
}

.map-panel #gmap0-map-canvas, #google-map {
    width: 100% !important;
    height: 60vh !important;
}

.map-wrapper #gmap0-map-canvas {
    width: 100% !important;
    height: 40vh !important;
}

#autocomplete-address-field {
    /*background-color: rgba(255, 255, 255, 0.9);*/
    /*font-weight: 300;*/
    /*margin-left: 12px;*/
    /*padding: 0 11px 0 13px;*/
    /*text-overflow: ellipsis;*/
    /*width: 400px;*/
    /*font-size: 15px;*/
    /*top: 10px !important;*/
    /*height: 30px;*/
    /*border: 1px solid #ddd !important;*/
    /*border-radius: 50px;*/
    /*position: absolute;*/
    /*z-index: 9999;*/
}

.phone-link {
    padding: 0px 5px 0px 5px;
}

.bootstrap-tagsinput {
    width: 100% !important;
}

.qr-code {
    border: solid 1px #1a2226;
    border-radius: 4px;
    padding: 4px;
    margin: 0;
    display: inline-block;
    height: 100px;
    width: 100px;
}

.qr-code canvas {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

div.required label:after {
    content: " *";
    color: red;
}

.skin-theme-light .main-header .navbar {
    background-color: #E04B31;
}

.skin-theme-light .main-header .logo {
    background-color: #E04B31;
    color: #fff;
    border-bottom: 0 solid transparent;
}


@media (min-width: 768px) {
    .sidebar-mini.sidebar-collapse .main-header .logo > .logo-large {
        display: none;
    }

}

@media (max-width: 768px) {
    .sidebar-mini .main-header .logo > .logo-small {
        display: none !important;
    }
}

.sidebar-mini .main-header .logo > .logo-small {
    display: none;
}

.sidebar-mini.sidebar-collapse .main-header .logo > .logo-small {
    display: inline-block;
}

.logo-img {
    max-width: 220px;
}

.custom-page-header {
    margin: 20px 0px 10px 0px;
    font-size: 16px;
    padding-bottom: 9px;
    padding-left: 10px;
    padding-right: 10px;
    border-bottom: 1px solid #eee;
}

@media (min-width: 1024px) {
    .modal-lg {
        width: 1000px;
    }
}

@media (min-width: 1200px) {
    .modal-lg {
        width: 1150px;
    }
}

.main-header .logo {
   padding: 0;
}
.genarate-btn{
    top: 1.75em;
}
.status-box {
    border-radius: 8px !important;
    display: inline-block;
    /*width: 65px;*/
    position: relative;
    cursor: pointer;
    margin-left: 0;
    float: none !important;
    padding: 0 !important;
    text-align: left !important;
}

.status-box, .status-box * {
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

.status-box:active, .status-box.active {
    background-image: inherit;
    outline: inherit;
    -webkit-box-shadow: inherit;
    box-shadow: inherit;
}

.status-box .check-icon, .status-box .check-icon {
    display: none;
    color: #0f0f0f;
}

.status-box:active .check-icon, .status-box.active .check-icon {
    display: inline-block;
}

.status-box .status-statistic {
    font-weight: bold;
    font-size: 1.6em;
    display: block;
    padding: 2px 10px 0px 10px;
}


.status-box .status-title {
    font-size: 1em;
    display: block;
    /*background-color: white;*/
    /*border: 6px;*/
    padding: 7px 10px;
    font-weight: bold;
}

.status-box .status-tip {
    position: absolute;
    right: 5px;
    top: 0;
}
.promotion-list tbody tr:hover{
    background-color: lightyellow;
}

.user-panel > .image > a > img {
    width: 100%;
    max-width: 45px;
    height: auto;
}