
html.ngdialog-open, body.ngdialog-open {
    overflow: initial !important;
    width: 100%;
}

/*html * {*/
/*    -webkit-overflow-scrolling: touch*/
/*}*/

.no-padding {
    padding-right: 0;
    padding-left: 0;
}

.panel .panel-heading .btn.btn-link {
    padding: 0;
}

.md-virtual-repeat-container.md-autocomplete-suggestions-container {
    z-index: 99999;
}

.user-autocomplete {
    height: 72px !important;
}

.autocomplete-custom-template li {
    border-bottom: 1px solid #ccc;
    height: auto;
    padding-top: 8px;
    padding-bottom: 8px;
    white-space: normal;
}

.autocomplete-custom-template li:last-child {
    border-bottom-width: 0;
}

.autocomplete-custom-template .item-title,
.autocomplete-custom-template .item-metadata {
    display: block;
    line-height: 2;
}

.be-timeline li {
    list-style: none;
}

.ngdialog.ngdialog-theme-default.ngdialog-600 .ngdialog-content {
    width: 550px;
}

.inline-table {
    display: inline-table !important;
}

.vertical-top {
    vertical-align: top;
}

.timeline_messages-footer {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 220px;
    z-index: 99;
    box-sizing: border-box;
}

.timeline_messages-footer .unread-container {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    /*padding: 0 20px;*/
}

/*.be-timeline .timeline-alt {*/
/*    padding-bottom: 100px;*/
/*}*/

.timeline_messages-footer .hide-unread {
    height: 0;
    overflow: hidden;
}

.timeline_messages-footer .show-unread {
    max-height: 270px;
    max-height: 35vh;
    overflow-y: auto;
}

.timeline_messages-footer textarea {
    resize: none;
}

.timeline_messages-footer .timeline_content-wrapper {
    padding: 10px 15px 20px 15px;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.timeline_post-shadow {
    margin-top: 5px;
    box-shadow: 0 0 0 #000;
    border: 1px solid #eee;
    border-bottom: 2px solid #e4eaec;
    border-radius: 3px;
}

.poster {
    max-width: 200px;
    max-height: 200px;
}

.timeline-panel .time-ago {
    font-weight: normal;
    color: rgba(0, 0, 0, 0.5);
    font-size: 14px;
    margin: 8px 0 3px 0;
}

.popover.right > .arrow {
    border-right-color: rgba(0, 0, 0, .125);
}

.timeline-separator {
    display: inline-block;
    width: 120px;
    text-align: center;
    padding: 0 20px;
    line-height: 30px;
    background-color: #b6c5da;
    color: #fff;
    position: relative;
    margin-bottom: 20px;
}

.tooltip {
    display: none;
    position: absolute;
    width: 100px;
    height: 20px;
    line-height: 20px;
    padding: 10px;
    font-size: 14px;
    text-align: center;
    color: rgb(113, 157, 171);
    background: rgb(255, 255, 255);
    border: 4px solid rgb(255, 255, 255);
    border-radius: 5px;
    text-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 1px;
    box-shadow: rgba(0, 0, 0, 0.0980392) 1px 1px 2px 0px;
}

.tooltip:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-width: 10px;
    border-style: solid;
    border-color: #FFFFFF transparent transparent transparent;
    top: 44px;
    left: 50px;
}

.auto-height {
    display: inline-block;
    min-height: 10px;
    width: 100%;
}

.without-border .tab-content {
    border: 0;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-pointer div[uib-datepicker-popup-wrap] {
    display: inline;
}

.streak {
    padding: 30px 20px 10px 10px;
}

.streak .progress-background {
    position: relative;
    border-radius: 9px;
    border: 1px solid #f1f1f1;
    height: 18px;
}

.streak .point {
    position: absolute;
}

.streak .value-label {
    width: 50px;
    text-align: center;
    position: absolute;
    bottom: 25px;
    right: -25px;
    color: black;
}

.streak-progress {
    height: 100%;
    border-radius: 9px;
    position: relative;
}

.streak .point {
    width: 30px;
    border-radius: 50%;
    height: 30px;
    /* line-height: 30px; */
    border: 1px solid #f1f1f1;
    text-align: center;
    top: -7px;
    line-height: 26px;
    /*background-color: #fff;*/
}

.streak .point label {
    margin: 4px 0 0 0;
    background-color: #ffffff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    line-height: 20px;
    color: rgba(0, 0, 0, 0.87);
    font-size: 0.8em;
}

.bg-white {
    background-color: #ffffff;
}

.streak-label-container {
    padding-top: 28px;
}

.mt5 {
    margin-top: 5px;
}

.mt10 {
    margin-top: 10px;
}

.mt50 {
    margin-top: 50px;
}

@media (max-width: 768px) {
    .mob-mt50 {
        margin-top: 50px;
    }
}

.mb0 {
    margin-bottom: 0;
}

.mb5 {
    margin-bottom: 5px;
}

.mb10 {
    margin-bottom: 10px;
}

.ml0 {
    margin-left: 0;
}

.ml5 {
    margin-left: 5px;
}

.ml10 {
    margin-left: 10px;
}

.mr0 {
    margin-right: 0;
}

.mr5 {
    margin-right: 5px;
}

.mr10 {
    margin-right: 10px;
}

.frequency-block {
    border: 1px solid #dedede;
    border-radius: 4px;
    padding-top: 10px;
}

.short-avatar-loader .badge {
    display: none;
}

.short-avatar-loader .btn {
    padding-left: 10px;
    padding-right: 10px;
}

.short-avatar-loader .bootstrap-filestyle {
    margin: 0 auto;
}

.no-animate {
    -webkit-transition: none !important;
    transition: none !important;
}

/*.tab-content {*/
/*position: relative;*/
/*height: calc(100vh - 235px);*/
/*overflow-y: auto;*/
/*}*/

/*.without-tab-content .tab-content {*/
/*height: 0;*/
/*}*/

.be-timeline {
    /*padding-bottom: 100px;*/
}

.mobile-header {
    position: relative;
    height: 50px;
    background-color: #23b7e5;
}

.mobile-header a {
    color: #ffffff;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
}

.mobile-header .title {
    position: absolute;
    left: 50px;
    right: 50px;
    height: 100%;
    top: 0;
    line-height: 50px;
    color: #ffffff;
    text-align: center;
    margin: 0;
}

/*.mobile-menu {*/
/*    padding-top: 50px !important;*/
/*}*/

.auto-height-tab-content > .tab-content {
    height: auto;
    padding: 10px;
}

.mobile-header .search-container {
    position: relative;
}

.mobile-header .search-container > input {
    padding: 12px 34px;
}

.search-container .search-icon {
    position: absolute;
    left: 15px;
    top: 0;
    height: 100%;
    width: 34px;
    line-height: 34px;
    text-align: center;
}

.search-container .close-icon {
    position: absolute;
    right: 15px;
    top: 0;
    height: 100%;
    width: 34px;
    line-height: 34px;
    text-align: center;
}

.profile-item {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 5px;
    padding-bottom: 5px;
}

.select-file label.btn.btn-default {
    border: 0;
    padding: 0;
    background: transparent;
}

.assessment-badge {
    width: 26px;
    display: inline-block;
    height: 26px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    line-height: 23px;
    text-align: center;
    margin-bottom: 10px;
}

.fatigue-table th {
    text-align: center;
}

.fatigue-table th.arrow {
    padding-left: 0;
    padding-right: 0;
    position: relative;
}

.fatigue-table th.arrow .arrow-inner, .fatigue-flex .arrow .arrow-inner {
    height: 1px;
    background: #888888;
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 23px;
}

.fatigue-flex .arrow {
    padding: 0 10px;
    position: relative;
}

.fatigue-flex .arrow .arrow-inner {
    bottom: 9px;
}

.fatigue-flex, .flex-answers-container {
    display: flex;
}

.fatigue-flex .flex-arrow, .flex-answer {
    flex-grow: 1;
}

.ngdialog.ngdialog-theme-default .ngdialog-close {
    padding: 0;
    border: 0;
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 10px;
        height: 100%;
    }

    .timeline > li > .timeline-panel, .timeline-alt > li > .timeline-panel {
        margin-left: 50px;
    }

    .timeline_messages-footer .unread-container {
        padding: 0;
    }

    .be-timeline {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 0;
    }

    .timeline_messages-footer {
        position: relative;
        left: 0;
        padding: 0;
        margin-left: -10px;
        margin-right: -10px;
    }

    .timeline-alt {
        overflow-y: auto;
        flex-grow: 1;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .timeline_messages-footer {
        position: relative;
        /*top: 100px;*/
        /*bottom: 0;*/
        /*right: 0;*/
        /*left: 220px;*/
        /*z-index: 99;*/
        /*box-sizing: border-box;*/
    }

    .timeline:before, .timeline-alt:before {
        position: fixed;
        left: 28px;
    }

    /*.hidden-sm-down {*/
    /*display: none;*/
    /*}*/
    .wrapper > section {
        height: calc(100vh - 123px);
    }

    .table-responsive > .table > thead > tr > th, .table-responsive > .table > tbody > tr > th, .table-responsive > .table > tfoot > tr > th, .table-responsive > .table > thead > tr > td, .table-responsive > .table > tbody > tr > td, .table-responsive > .table > tfoot > tr > td {
        white-space: normal;
    }

}

/*@media (min-width: 767px) {*/
/*.hidden-md-up {*/
/*display: none;*/
/*}*/
/*}*/

.client-alerts {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    padding-bottom: 5px;
}

.client-alerts:last-child {
    border-bottom: 0;
}

.google-visualization-tooltip {
    width: 150px !important;
    color: #000000;
    font-size: 16px !important;
}

.google-visualization-tooltip .bold {
    font-weight: bold;
}

.hide-date {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.brand-logo, .brand-logo > img {
    height: 100%;
}

.popupation-page .tab-content {
    background-color: #ffffff;
}

.loader {
    border: 10px solid #f3f3f3; /* Light grey */
    border-top: 10px solid #23b7e5;
    border-bottom: 10px solid #23b7e5;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
    position: fixed;
    z-index: 999;
    top: calc(50%);
    left: calc(50% + 70px);
}

@media (max-width: 767px) {
    .loader {
        left: calc(50% - 50px);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

