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

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

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

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

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

.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: #9d9d9d;
     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;
}

.pending-task-highlight {
    background-color: #FFFF00 !important;
}

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

/* CRM Settings Page - START */
.tab-content-header {
    padding: 2px 10px;
}

.tab-content-header > h4 {
    vertical-align: bottom;
    font-size: 14px !important;
    font-weight: bold;
}

.up {
    transform: rotate(-90deg);
}

.chevron-div {
    position: relative;
    top: 0px;
    right: -1px;
}

.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;
}
/* CRM Settings Page - END */

/* Customer Service Form - START */
#customer_service_form {
    font-family: "Century Gothic", sans-serif, Arial;
}

#form_logo_div {
    display: flex;
    justify-content: space-between;
    padding: 8px;
}

#form_logo_div > div > img {
    max-width: 100%;
    height: auto;
}

@media only screen and (max-width: 991px) {
    #form_event_name_div {
        margin-top: 10px;
    }
}

#form_event_name {
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
}

#form_welcome_note {
    font-size: 18px;
    font-weight: bold;
    font-family: "Open Sans", sans-serif, Arial;
    margin-bottom: 0;
}

#form_welcome_note_detail {
    font-style: italic;
    font-family: "Open Sans", sans-serif, Arial;
}

.form-input {
    -webkit-border-radius:0; 
    border-radius:0;
    width: 100%;
    outline: 0;
    border-width: 0 0 2px;
    border-color: #ECF7FB;
}

.form-input:focus {
    border-color: #5B92C8;
    transition: 0.9s;
}

#form_solution_service_table > tr:nth-child(odd) {
    background-color: #ECF7FB;
}

#thank_you_div {
    position: absolute;
    left: 0;
    right: 0;
    top: 30%;
    bottom: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    overflow: auto;
}

#thank_you_title {
    font-size: 28px;
    font-weight: bold;
    font-family: "Open Sans", sans-serif, Arial;
    text-align: center;
    margin-top: 20px;
}

#thank_you_note {
    font-size: 20px;
    font-family: "Open Sans", sans-serif, Arial;
    text-align: center;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7ac142;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards
}

.checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: auto;
    box-shadow: inset 0px 0px 0px #7ac142;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards
}

@keyframes stroke{100%{stroke-dashoffset: 0}}
@keyframes scale{0%, 100%{transform: none}50%{transform: scale3d(1.1, 1.1, 1)}}
@keyframes fill{100%{box-shadow: inset 0px 0px 0px 30px #7ac142}}
/* Customer Service Form - END */