.avatar-circle {
    float: left;
    border-radius: 50%;
    margin-right: 10px;
    margin-top: -2px;
    margin-bottom: -3px;
    color: #fff;
    text-align: center;
    background: #000;
}

.avatar-circle-25 {
    width: 25px;
    height: 25px;
    font-size: 22px;
    line-height: 24px;
}

.avatar-circle-40 {
    width: 40px;
    height: 40px;
    font-size: 36px;
    line-height: 40px;
}

.avatar-circle-70 {
    width: 70px;
    height: 70px;
    font-size: 70px;
    line-height: 66px;
    float: none !important;
    margin: 0 auto !important;
}

.avatar-circle-90 {
    width: 90px;
    height: 90px;
    font-size: 90px;
    line-height: 84px;
    float: none !important;
    margin: 0 auto !important;
}

.small-box h3 {
    font-size: 38px;
    font-weight: inherit;
    margin: 0 0 10px 0;
    white-space: normal;
    padding: 0;
}

.form-horizontal-box-footer-button {
    padding-left: 5px;
}

@media (max-width: 767px) {
    .avatar-circle {
        /*float: none;*/
        /*margin-right: 0;*/
    }

    .small-box .icon {
        display: inherit;
    }

    .small-box {
        text-align: left;
    }

    .form-horizontal-box-footer-button {
        padding-left: 0;
    }
}

@media (max-width: 991px) {
    .navbar-custom-menu > .navbar-nav > li > .dropdown-menu {
        right: 1px;
    }
}

.row-title-box {
    background: #d2d6de;
    /*margin-top: 30px;*/
    margin-bottom: 18px;
    padding: 7px 5px 7px 10px;
    border-radius: 2px;
}

.row-title-menu-category {
    /*background: #cceef7;*/
    background: rgba(255, 255, 255, 0.5);
    color: #367fa9;
    font-size: 12px;
    margin-bottom: 12px;
    padding: 5px 5px 5px 10px;
    border-radius: 2px;
}

.wrapper {
    overflow-y: auto;
}

/* navbar */
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a {
    margin: 0;
    padding: 10px 10px;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > div > img {
    margin: auto 10px auto auto;
    width: 40px;
    height: 40px;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > h4 {
    padding: 0;
    margin: 0 0 0 0;
    color: #444444;
    font-size: 15px;
    position: relative;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > h4 > small {
    color: #999999;
    font-size: 10px;
    position: absolute;
    top: 0;
    right: 0;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > p {
    margin: 0 0 0 0;
    font-size: 12px;
    color: #888888;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a:before,
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a:after {
    content: " ";
    display: table;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a:after {
    clear: both;
}

.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a, .navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a, .navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a {
    white-space: normal;
    text-align: justify;
}

/* sidebar */
.sidebar {
    padding-bottom: 0;
}

.sidebar-menu .menu-open > a > .fa-folder:before {
    content: "\f07c";
}

.hlabel {
    color: #4b646f;
    /*background: #1a2226;*/
    padding: 10px 25px 10px 15px;
    font-size: 12px;
}

.skin-blue .sidebar-menu > li.hlabel > a {
    color: #4b646f;
}

.skin-blue .sidebar-menu > li.hlabel:hover > a {
    color: #ddd;
}

/* cropper */
.cropper-container {
    position: static;
}

.cropper-canvas {
    display: none;
}

.cropper-overlay {
    z-index: 50;
    background: rgba(255, 255, 255, .7);
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cropper-overlay .fa {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    color: #000;
    font-size: 30px;
}

/* xweb.pagination */
.table-pagination {
    float: right;
    margin-right: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.table-pagination > a {
    margin-right: 5px;
    background: #eee;
    padding: 3px 8px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.table-pagination > a.disabled {
    color: #999;
}

.table-pagination > a.disabled:hover {
    background: #eee;
    cursor: default;
}

.table-pagination > a:hover {
    background: #ddd;
}

.table-pagination > span > a {
    padding: 3px 8px;
    margin-right: 5px;
    background: #eee;
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.table-pagination > span > a.active {
    background: #368ee0;
    color: #fff;
}

/* bootstrap-typeahead */
.typeahead {
    max-height: 200px;
    overflow-y: auto;
}

/* bootstrap-timepicker */
/* https://github.com/jdewit/bootstrap-timepicker/issues/170 */
/* https://stackoverflow.com/questions/24901731/how-do-i-change-a-glyphicon-upon-clicking-it-in-bootstrap-3-2 */
.bootstrap-timepicker-widget.dropdown-menu {
    max-width: 180px;
}

/* jquery-locationpicker */
.pac-container {
    z-index: 10000 !important;
}

/* form-builder */
.form-wrap.form-builder .btn-danger {
    /*background-color: #f4f4f4;*/
    color: #fff;
}

.form-wrap.form-builder .btn-danger:hover {
    /*background-color: #e7e7e7;*/
    color: #fff;
}

.form-wrap.form-builder .btn-primary {
    /*background-color: #f4f4f4;*/
    color: #fff;
}

.form-wrap.form-builder .btn-primary:hover {
    /*background-color: #e7e7e7;*/
    color: #fff;
}

.form-wrap.form-builder .frmb-control li .control-icon .frmb-custom-control {
    margin-right: 10px;
    font-size: 16px
}

@media (max-width: 481px) {
    /* https://stackoverflow.com/questions/20782368/use-font-awesome-icon-as-css-content */
    li.input-control[data-type="Images"]::before {
        font-style: normal;
        font-weight: 400;
        display: inline-block;
        text-decoration: inherit;
        width: 1em;
        margin-right: .2em;
        text-align: center;
        font-variant: normal;
        text-transform: none;
        line-height: 1em;
        margin-left: .2em;
        font-family: FontAwesome;
        content: "\f1c5";
    }
}

.custom-file-container__image-multi-preview {
    height: 150px;
}

@media (max-width: 767px) {
    .custom-file-container__image-multi-preview {
        height: 90px;
    }
}

/* file-upload */
/* https://github.com/promosis/file-upload-with-preview */
.custom-file-container__custom-file {
    font-weight: initial;
    margin-bottom: 0;
    margin-top: 0;
}

.custom-file-container__custom-file__custom-file-control {
    height: auto;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #999;
    border: 1px solid #d2d6de;
    border-radius: 0;
}

.custom-file-container__custom-file__custom-file-control__button {
    height: auto;
    padding: 6px;
    line-height: 1.42857143;
}

.custom-file-container__image-preview {
    margin-top: 15px;
    margin-bottom: 0;
}

.custom-file-container__xhandler-button {
    height: 100%;
    /*border-left: 1px solid #c0c0af;*/
    border-left: 1px solid #d2d6de;
    /*background-color: #edede8;*/
    background-color: #f4f4f4;
}

.custom-file-container__image-multi-preview__single-image-clear__icon,
.custom-file-container__image-multi-preview > div[data-upload-name] > p {
    /* https://stackoverflow.com/questions/3779534/how-do-i-disable-text-selection-with-css-or-javascript */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* nav-tabs */
.nav-tabs-custom > .nav-tabs.nav-primary > li.active {
    border-top-color: #3c8dbc;
}

.nav-tabs-custom > .nav-tabs.nav-info > li.active {
    border-top-color: #00c0ef;
}

.nav-tabs-custom > .nav-tabs.nav-default > li.active {
    border-top-color: #d2d6de;
}

/* formbuilder-tab */
.formbuilder-tab-input-text {
    padding-left: 5px;
    padding-right: 5px;
}

.formbuilder-tab-input-text::-webkit-input-placeholder {
    color: #ccc;
}

/* print */
.only-print {
    display: none;
}

@media print {
    .no-print, .no-print * {
        display: none !important;
    }

    .only-print {
        display: block;
    }

    .pagebreak {
        clear: both;
        page-break-after: always;
    }
}

/* general */
.wordwrap {
    /* https://stackoverflow.com/questions/1638223/is-there-a-way-to-word-wrap-long-words-in-a-div */
    /* http://snipplr.com/view/10979/css-cross-browser-word-wrap */
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

body {
    /* https://github.com/almasaeed2010/AdminLTE/issues/416 */
    -ms-overflow-style: scrollbar;
}

.modal.bootstrap-dialog {
    /* https://stackoverflow.com/questions/32862394/bootstrap-modals-keep-adding-padding-right-to-body-after-closed */
    padding-right: 0 !important;
}

.only-print {
    display: none;
}

@media print {
    .no-print, .no-print * {
        display: none !important;
    }

    .only-print {
        display: block;
    }

    .pagebreak {
        clear: both;
        page-break-after: always;
    }
}

/* @media (min-width: 1200px) {
    .modal-lg {
        width: 92%;
    }
} */

/*.modal-open {
    overflow: hidden;
    overflow-y: scroll;
    padding-right: 0 !important;
}*/

.inner {
    overflow-wrap: break-word;
}

.box-tools {
    position: relative !important;
    top: 0px !important;
    right: -1px !important;
}

#hidebutton {
    padding: 0;
    float: right;
}

#showbutton {
    padding: 0;
    float: right;
}

a[aria-expanded=true] .fa-chevron-right {
   display: none;
}
a[aria-expanded=false] .fa-chevron-down {
   display: none;
}

.collapse-row td {
  padding: 0 !important;
}

.collapse-content {
	 padding: 0.5em;
}

.collapse-content > table {
	 border: 1px solid #ccc;
	 font-size: 11px;
}

.collapse-content > table > thead > tr {
	 background-color: #3c8dbc;
	 color: white;
	 padding: 8px;
}

.collapse-content > table > thead > tr > th {
	 white-space: nowrap;
}

.collapse-content > table > tbody > tr > td {
	 padding: 8px !important;
	 white-space: nowrap;
}

.pending-task {
	position : relative;
	margin-bottom : 3px;
}

.pending-task span {
	position : absolute;
	padding: 5px 6px;
}

.div-table {
    display: table;
    width: 100%;
}

.div-table-row {
    display: table-row;
    width: auto;
}

.div-table-title-col {
    width: 40%;
    padding: 8px 10px 8px 0px;
    float: left;
    display: table-column;
    font-weight: bold;
}

.div-table-col {
    width: 30%;
    padding: 8px 5px;
    float: left;
    display: table-column;
}

.general-settings-note {
    font-weight: normal;
    font-size: small;
}

.common-tooltip {
    position: relative;
    display: inline-block;
    background: #3c8dbc;
    color: white;
    border-radius: 100%;
    padding: 1px 6px;
    margin-left: 5px;
}

.common-tooltip .common-tooltiptext {
    visibility: hidden;
    width: 500px;
    top: 100%;
    left: 50%;
    margin-left: -120px;
    /*top: -5px;
    right: 105%;*/
    padding: 10px;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    border-radius: 6px;
    word-break: break-word;
    text-align: left;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.common-tooltip:hover .common-tooltiptext {
    visibility: visible;
}

.admin_claim_category_subdetail_field_title,
.admin_claim_projectbudget_field_title {
    padding: 5px 5px 5px 0px;
    width: 30%;
    font-weight: bold;
}

.admin_claim_category_subdetail_field_radio_button,
.admin_claim_projectbudget_field_radio_button {
    padding: 5px;
    width: 35%;
}

.file_upload_value {
    height: 34px;
    position: absolute;
    padding: 6px 12px;
}

.file_upload_button {
    cursor: pointer;
    display: block;
    width: 100px;
    height: 33px;
    background-color: #3c8dbc;
    color: white;
    position: absolute;
    padding: 6px 12px;
    right: 0;
    top: 0;
    text-align: center;
}

.file-upload-value {
    height: 34px;
    position: absolute;
    padding: 6px 12px;
    float: left;
}

.file-upload-button {
    height: 33px;
    background-color: #3c8dbc;
    color: white;
    padding: 6px 12px;
    text-align: center;
    float: right;
}

.file-download-button {
    height: 33px;
    background-color: #666;
    color: white;
    padding: 6px 12px;
    text-align: center;
    float: right;
    display: none;
}

.file-preview-add,
.file-preview-view {
    width: 100%;
    height: 250px;
    background-color: rgb(237, 237, 232);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 4px;
    overflow: hidden;
    display: none;
}

.pdf-preview-add,
.pdf-preview-view,
.img-preview-add,
.img-preview-view {
    width: 100%;
    background-color: rgb(237, 237, 232);
    border-radius: 4px;
    display: none;
}

.canvas-add,
.canvas-view {
    margin-left: auto; 
    margin-right: auto; 
    display: block;
}

/* View full size image for thumbnail image - START */
/* The Modal (background) */
.image-preview-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 70px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.image-preview-modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Add Animation Zoom in the Modal */
.image-preview-modal-content {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.image-preview-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.image-preview-close:hover,
.image-preview-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .image-preview-modal-content {
        width: 100%;
    }
}
/* View full size image for thumbnail image - END */
