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;
}

/*.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;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.content-wrapper {
    background-color: #f7f7f7;
}

.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;
}

.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-top {
    margin-top: 10px;
    border-bottom: 1px solid #eeeeee;
    border-top: 1px solid #eeeeee;
}

.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;
}

.btn-transparent {
    background-color: transparent;
    border: none;
}

.btn-transparent:hover, .btn-transparent:focus, .btn-transparent:active {
    background-color: #dddddd;
}

.sidebar-widget button {
    border-radius: 100px !important;
}

.sidebar-widget button.active {
    background-color: #007bff;
    color: white;
    border-radius: 100px !important;
}

#agent-status {
    font-size: 13px;
}

.content-wrapper {
    background-color: #f7f7f7;
}

/*.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;*/
/*}*/

.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: #C4422B;
    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: #C4422B;
    border-color: #C4422B;
    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;
}

.skin-blue-light .main-header .navbar {
    background-color: #2f8b57; /* Changed from #3c8dbc to #2f8b57 */
}

.bg-primary {
    color: #fff;
    background-color: #2f8b57;
}

.custom-box {
    border: 2px solid #d2d6de;
    padding: 5px;
    min-height: 480px;
    max-height: calc(100vh - 300px);
    overflow: auto;
}
.org-tree-wrapper > ul {
    padding-left: 0 !important;
}
.org-tree-wrapper > ul > li:first-child::before {
    border-top: 0;
}
.org-tree-wrapper > ul > li:first-child::after {
    border-left: 0
}
.org-tree-wrapper > ul > li a {
    color: #333;
}

.login-page {
    font-family: "Poppins", sans-serif;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(-45deg, #405189 50%, #0ab39c);
    font-size: 14px;
}

@media only screen and (max-width: 768px) {
    .login-page {
        height: auto;
        padding: 36px 0;
        min-height: calc(100vh - 72px);
        display: flex;
        align-items: center;
    }
}

.login-page .cover-pattern {
    width: inherit;
    height: inherit;
    background-image: url('../img/login/cover-pattern.png');
    background-position: center;
    background-size: cover;
    opacity: 1;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

@media only screen and (max-width: 768px) {
    .login-page .cover-pattern {
        flex-direction: column;
    }
}

.login-page .cover-pattern .main {
    background-color: white;
    width: 90%;
    max-width: 1000px;
    display: flex;
    box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15);
    border-radius: 6px;
    overflow: hidden;
}

@media only screen and (max-width: 768px) {
    .login-page .cover-pattern .main {
        flex-direction: column;
    }
}

.login-page .cover-pattern .main .left {
    position: relative;
    background-image: url('../img/login/left-bg.png');
    background-position: bottom;
    background-size: cover;
    padding: 36px;
    width: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 48px;
}

@media only screen and (max-width: 768px) {
    .login-page .cover-pattern .main .left {
        padding: 32px;
        width: 100%;
        align-items: flex-start;
        gap: 24px;
    }
}

.login-page .cover-pattern .main .left .bg-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background-color: rgba(0, 0, 0, 0.3);
}

.login-page .cover-pattern .main .left .logo {
    position: relative;
    width: 50%;
    margin: 0 auto;
}

@media only screen and (max-width: 768px) {
    .login-page .cover-pattern .main .left .logo {
        width: 70px;
        margin: unset;
        display: flex;
        align-items: flex-start;
    }
}

.login-page .cover-pattern .main .left .logo img {
    width: 100%;
}

.login-page .cover-pattern .main .left .quote {
    position: relative;
    text-align: center;
    color: white;
}

.login-page .cover-pattern .main .left .quote span {
    font-size: 20px;
    font-weight: 500;
}

.login-page .cover-pattern .main .left .quote p {
    color: rgba(255, 255, 255, 0.7);
}

.login-page .cover-pattern .main .right {
    padding: 36px;
    width: 50%;
    position: relative;
}

@media only screen and (max-width: 768px) {
    .login-page .cover-pattern .main .right {
        padding: 32px;
        width: 100%;
    }
}

.login-page .cover-pattern .main .right .head {
    margin-bottom: 24px;
}

@media only screen and (max-width: 768px) {
    .login-page .cover-pattern .main .right .head {
        text-align: center;
    }
}

.login-page .cover-pattern .main .right .head span {
    margin: 0;
    font-weight: 500;
    font-size: 20px;
    color: rgb(64, 81, 137);
}

.login-page .cover-pattern .main .right .head p {
    color: rgb(135, 138, 153);
}

.login-page .cover-pattern .main .right form .form-group.row {
    flex-direction: row;
}

.login-page .cover-pattern .main .right form .form-group label {
    font-weight: 500;
    margin-bottom: 8px;
}

.login-page .cover-pattern .main .right form .form-group input[type=text],
.login-page .cover-pattern .main .right form .form-group input[type=password],
.login-page .cover-pattern .main .right form .form-group select {
    padding: 12px 16px;
    border: 1px solid #ced4da;
    color: #212529;
    border-radius: 4px;
}

.login-page .cover-pattern .main .right form .form-group input[type=checkbox] {
    margin-right: 8px;
}

.login-page .cover-pattern .main .right form .submitBtn {
    width: 100%;
    display: flex;
    width: 100%;
}

.login-page .cover-pattern .main .right form .submitBtn button {
    background: rgb(10, 179, 156);
    border: none;
    border-radius: 4px;
    width: 100%;
    font-size: 16px;
    color: white;
    font-weight: 600;
    padding: 12px 16px;
}

.login-page .cover-pattern .main .right .foot {
    margin-top: 36px;
    text-align: center;
}

.login-page .cover-pattern .main .right .foot span {
    margin-right: 4px;
}

.login-page .cover-pattern .main .right .foot a {
    text-decoration: none;
    color: rgb(64, 81, 137);
}

.login-page .cover-pattern .main .right .language {
    position: absolute;
    right: 16px;
    top: 16px;
    display: flex;
    align-items: center;
}

@media only screen and (max-width: 768px) {
    .login-page .cover-pattern .main .right .language {
        position: relative;
        width: 100%;
        right: unset;
        top: unset;
        justify-content: center;
        margin-top: 24px;
    }
}

.login-page .cover-pattern .main .right .language button {
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    padding: 0;
    margin: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
}

.login-page .cover-pattern .main .right .language button img {
    width: calc(100% - 4px);
    height: auto;
}

.login-page .cover-pattern .main .right .language button:hover {
    border: 2px solid rgba(10, 179, 1, 0.3);
}

.login-page .cover-pattern .main .right .language button.active {
    border: 2px solid rgb(10, 179, 156);
}

.login-page .cover-pattern .copyright {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
}

@media only screen and (max-width: 768px) {
    .login-page .cover-pattern .copyright {
        position: relative;
        left: unset;
        bottom: unset;
        transform: unset;
        margin-top: 24px;
    }
}

.login-page .cover-pattern .copyright span {
    font-weight: 500;
}
