/**************************
 PLUGIN CSS CUSTOMIZATIONS 
**************************/
@import "animate.css";

/***
Fullcalendar
***/
/* External events */
.fc-unthemed .fc-day-grid td:not(.fc-axis) {
    padding: .5rem .5rem
}

.fc-unthemed .fc-day-grid td:not(.fc-axis).fc-event-container {
    padding: 0.2rem .5rem
}

.fc-unthemed .fc-axis {
    padding-top: .5rem;
    padding-bottom: .5rem
}

.fc-unthemed .fc-scroller .fc-content-col {
    padding: .5rem .5rem
}

.fc-unthemed th.fc-day-header {
    padding: .75rem .5rem;
    font-size: 1.3rem;
    font-weight: 500
}

.fc-unthemed .fc-list-heading .fc-widget-header {
    padding: .75rem 1.25rem
}

.fc-unthemed .fc-list-heading .fc-list-heading-main, .fc-unthemed .fc-list-heading .fc-list-heading-alt {
    font-size: 1rem;
    font-weight: 400
}

.fc-unthemed .fc-list-heading .fc-list-heading-main {
    font-weight: 500;
    text-transform: uppercase
}

.fc-unthemed .fc-list-item td {
    padding: .75rem 1.25rem
}

.fc-unthemed .fc-list-item .fc-event-dot {
    border-radius: 50% !important;
}

.fc-unthemed .fc-event, .fc-unthemed .fc-event-dot {
    padding: 0;
    border-radius: 4px !important;
}

.fc-unthemed .fc-event .fc-content, .fc-unthemed .fc-event-dot .fc-content {
    padding: 0.55rem 0.55rem 0.55rem 2rem
}

.fc-unthemed .fc-event .fc-content:before, .fc-unthemed .fc-event-dot .fc-content:before {
    display: block;
    content: " ";
    position: absolute;
    height: 10px;
    width: 10px;
    border-radius: 50% !important;;
    top: 0.7rem;
    left: 0.75rem
}

.fc-unthemed .fc-event.fc-not-start.fc-end .fc-content, .fc-unthemed .fc-event-dot.fc-not-start.fc-end .fc-content {
    padding-left: 0.5rem
}

.fc-unthemed .fc-event .fc-time, .fc-unthemed .fc-event-dot .fc-time {
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 500
}

.fc-unthemed .fc-event .fc-title, .fc-unthemed .fc-event-dot .fc-title {
    font-size: 1.2rem;
    font-weight: 400
}

.fc-unthemed .fc-description {
    font-size: 1.2rem;
    margin-top: 0.25rem;
    font-weight: normal
}

.fc-unthemed .fc-list-item-title > a {
    font-size: 1rem;
    font-weight: 500
}

.fc-unthemed a.fc-more {
    font-size: 1.2rem;
    font-weight: 500
}

.fc-unthemed .fc-popover {
    border-radius: 4px !important;
}

.fc-unthemed .fc-popover .fc-header {
    padding: 0.75rem 1.25rem;
    border-top-left-radius: 4px !important;;
    border-top-right-radius: 4px !important;
}

.fc-unthemed .fc-popover .fc-header .fc-close {
    margin-top: 0.35rem
}

.fc-unthemed .fc-popover .fc-header .fc-title {
    font-weight: 400
}

.fc-unthemed .fc-popover .fc-body .fc-event-container {
    padding: 1.25rem 1.25rem 0.75rem 1.25rem
}

.fc-unthemed .fc-popover .fc-body .fc-event {
    margin-bottom: 0.5rem;
    border-radius: 4px !important;
}

.fc-unthemed .fc-popover .fc-body .fc-event.fc-not-start.fc-not-end {
    border-top-right-radius: 0 !important;;
    border-bottom-right-radius: 0 !important;
}

.fc-unthemed .fc-popover .fc-body .fc-event.fc-not-start.fc-end {
    border-top-left-radius: 0 !important;;
    border-bottom-left-radius: 0 !important;
}

.fc-unthemed .fc-toolbar {
    margin-bottom: 1.5rem
}

.fc-unthemed .fc-toolbar h2 {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 0.75rem
}

.fc-unthemed .fc-toolbar .fc-button {
    outline: none !important;
    height: 2.75rem;
    padding: 0 1.25rem;
    font-size: 1rem
}

.fc-unthemed .fc-toolbar .fc-button.fc-corner-left {
    border-top-left-radius: 4px !important;;
    border-bottom-left-radius: 4px !important;
}

.fc-unthemed .fc-toolbar .fc-button.fc-corner-right {
    border-top-right-radius: 4px !important;;
    border-bottom-right-radius: 4px !important;
}

.fc-unthemed .fc-toolbar .fc-button .fc-icon {
    font-size: 1.1rem
}

.fc-unthemed .fc-toolbar .fc-button .fc-icon:after {
    display: none
}

.fc-unthemed .fc-toolbar .fc-button .fc-icon.fc-icon-left-single-arrow {
    font-family: "LineAwesome";
    text-decoration: inherit;
    text-rendering: optimizeLegibility;
    text-transform: none;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased
}

.fc-unthemed .fc-toolbar .fc-button .fc-icon.fc-icon-left-single-arrow:before {
    content: "<"
}

.fc-unthemed .fc-toolbar .fc-button .fc-icon.fc-icon-right-single-arrow {
    font-family: "LineAwesome";
    text-decoration: inherit;
    text-rendering: optimizeLegibility;
    text-transform: none;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased
}

.fc-unthemed .fc-toolbar .fc-button .fc-icon.fc-icon-right-single-arrow:before {
    content: ">"
}

.fc-unthemed .fc-axis > span {
    font-size: 0.9rem
}

.ui-draggable-handle {
    cursor: move;
    cursor: grab;
    cursor: -webkit-grab
}

@media (max-width: 1024px) {
    .fc-unthemed .fc-toolbar {
        margin-bottom: 1.5rem
    }

    .fc-unthemed .fc-toolbar .fc-left, .fc-unthemed .fc-toolbar .fc-right, .fc-unthemed .fc-toolbar .fc-center {
        display: block;
        float: none;
        margin-bottom: 1rem;
        text-align: center
    }

    .fc-unthemed .fc-toolbar .fc-left h2, .fc-unthemed .fc-toolbar .fc-right h2, .fc-unthemed .fc-toolbar .fc-center h2 {
        text-align: center;
        float: none
    }

    .fc-unthemed .fc-toolbar .fc-left > .fc-button-group, .fc-unthemed .fc-toolbar .fc-right > .fc-button-group, .fc-unthemed .fc-toolbar .fc-center > .fc-button-group {
        display: inline-block;
        float: none
    }

    .fc-unthemed .fc-toolbar .fc-left > .fc-button-group > .fc-button, .fc-unthemed .fc-toolbar .fc-right > .fc-button-group > .fc-button, .fc-unthemed .fc-toolbar .fc-center > .fc-button-group > .fc-button {
        float: none
    }

    .fc-unthemed .fc-toolbar .fc-left > .fc-button, .fc-unthemed .fc-toolbar .fc-right > .fc-button, .fc-unthemed .fc-toolbar .fc-center > .fc-button {
        float: none
    }
}

.fc-unthemed th, .fc-unthemed td, .fc-unthemed thead, .fc-unthemed tbody, .fc-unthemed .fc-divider, .fc-unthemed .fc-row, .fc-unthemed .fc-content, .fc-unthemed .fc-popover, .fc-unthemed .fc-list-view, .fc-unthemed .fc-list-heading td {
    border-color: #ebedf2
}

.fc-unthemed td.fc-today {
    background: rgba(93, 120, 255, 0.025)
}

.fc-unthemed .fc-day-grid-event {
    margin: 0
}

.fc-unthemed .fc-event, .fc-unthemed .fc-event-dot {
    background: #fff;
    border: 1px solid #ebedf2;
    -webkit-box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.055);
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.055)
}

.fc-unthemed .fc-event.fc-not-start.fc-not-end, .fc-unthemed .fc-event-dot.fc-not-start.fc-not-end {
    border-left: 1px solid #f7f8fa
}

.fc-unthemed .fc-event.fc-start .fc-content:before, .fc-unthemed .fc-event-dot.fc-start .fc-content:before {
    background: #ffffff
}

.fc-unthemed .fc-event .fc-time, .fc-unthemed .fc-event-dot .fc-time {
    mix-blend-mode: difference;
}

.fc-unthemed .fc-event .fc-title, .fc-unthemed .fc-event-dot .fc-title {
    mix-blend-mode: difference;
}

.fc-unthemed .fc-description {
    color: #62a8fd
}

.fc-unthemed .fc-list-item-title > a[href]:hover {
    color: #3170b5;
    text-decoration: none
}

.fc-unthemed .fc-more {
    color: #717171
}

.fc-unthemed .fc-divider, .fc-unthemed .fc-popover .fc-header, .fc-unthemed .fc-list-heading td {
    background: #f7f8fa
}

.fc-unthemed .fc-popover {
    -webkit-box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.075);
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.075);
    background: #fff
}

.fc-unthemed .fc-popover .fc-header {
    background: #fff;
    border-bottom: 1px solid #ebedf2
}

.fc-unthemed .fc-popover .fc-header .fc-close {
    color: #717171
}

.fc-unthemed .fc-popover .fc-header .fc-close:hover {
    color: #3170b5
}

.fc-unthemed .fc-popover .fc-header .fc-title {
    color: #3170b5
}

.fc-unthemed th.fc-day-header > a, .fc-unthemed th.fc-day-header > span {
    color: #3170b5
}

.fc-unthemed .fc-list-heading td {
    background: #ebedf2;
    border-color: #ebedf2
}

.fc-unthemed .fc-list-heading .fc-list-heading-main {
    color: #3170b5
}

.fc-unthemed .fc-list-heading .fc-list-heading-alt {
    color: #a1a8c3
}

.fc-unthemed .fc-divider, .fc-unthemed .fc-popover .fc-header, .fc-unthemed .fc-list-heading td {
    background: #f7f8fa
}

.fc-unthemed .fc-list-item:hover td {
    background: transparent !important
}

.fc-unthemed .fc-list-item .fc-event-dot {
    background: #e2e5ec;
    border-color: #e2e5ec
}

.fc-unthemed .fc-toolbar .fc-button:focus .fc-icon, .fc-unthemed .fc-toolbar .fc-button:active .fc-icon, .fc-unthemed .fc-toolbar .fc-button.fc-state-active .fc-icon {
    color: #fff
}

.fc-unthemed .fc-toolbar .fc-button.fc-state-disabled {
    opacity: 0.7
}

.fc-time-grid-event.fc-short .fc-time, .fc-time-grid-event.fc-short .fc-title {
    display: inline !important;
}

/***
Form wizard
***/

.form-wizard .progress {
    margin-bottom: 30px;
}

.form-wizard .steps {
    padding: 10px 0;
    margin-bottom: 15px;
}

.form-wizard .steps {
    background-color: #fff;
    background-image: none;
    filter: none;
    border: 0px;
    box-shadow: none;
}

.form-wizard .steps li a {
    background-color: #fff;
    background-image: none;
    filter: none;
    border: 0px;
    box-shadow: none;
}

.form-wizard .steps li a:hover {
    background: none;
}

.form-wizard .step:hover {
    text-decoration: none;
}

.form-wizard .step .number {
    background-color: #eee;
    display: inline-block;
    text-align: center !important;
    font-size: 16px;
    font-weight: 300;
    padding: 11px 15px 13px 15px;
    margin-right: 10px;
    height: 45px;
    width: 45px;
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    border-radius: 50% !important;
}

.form-wizard .step .desc {
    display: inline-block;
    font-size: 16px;
    font-weight: 300;
}

.form-wizard .active .step .number {
    background-color: #4caa44;
    color: #fff;
}

.form-wizard .active .step .desc {
    color: #333;
    font-weight: 400;
}

.form-wizard .step i {
    display: none;
}

.form-wizard .done .step .number {
    background-color: #f2ae43;
    color: #fff;
}

.form-wizard .done .step .desc {
    font-weight: 400;
}

.form-wizard .done .step i {
    font-size: 12px;
    font-weight: normal;
    color: #999;
    display: inline-block;
}

@media (min-width: 768px) and (max-width: 1280px) {
    .form-wizard .step .desc {
        margin-top: 10px;
        display: block;
    }
}

@media (max-width: 768px) {
    .form-wizard .steps > li > a {
        text-align: left;
    }
}

/***
Google Maps
***/
.gmaps {
    height: 300px;
    width: 100%;
}

/* important!  bootstrap sets max-width on img to 100% which conflicts with google map canvas*/
.gmaps img {
    max-width: none;
}

#gmap_static div {
    background-repeat: no-repeat;
    background-position: 50% 50%;
    height: 100%;
    display: block;
    height: 300px;
}

#gmap_routes_instructions {
    margin-top: 10px;
    margin-bottom: 0px;
}

/***
SlimScrollBar plugins css changes
***/
.scroller {
    padding: 0px;
    margin: 0px;
    padding-right: 12px;
    overflow: hidden;
}

.scroller-footer {
    margin-top: 10px;
}

.scroller-footer:after,
.scroller-footer:before {
    content: "";
    display: table;
    line-height: 0;
}

.scroller-footer:after {
    clear: both;
}

.portlet-body .slimScrollBar {
    margin-right: 0px;
}

/***
jqvmap changes
***/
.jqvmap-zoomin {
    height: 16px;
    width: 16px;
    background-color: #666;
}

.jqvmap-zoomout {
    height: 16px;
    width: 16px;
    background-color: #666;
}

.vmaps {
    position: relative;
    overflow: hidden;
    height: 300px;
}

/***
Error state for WYSIWYG Editors
***/
.has-error .md-editor,
.has-error .wysihtml5-sandbox,
.has-error .cke {
    border: 1px solid #B94A48 !important;
}

.has-success .md-editor,
.has-success .wysihtml5-sandbox,
.has-success .cke {
    border: 1px solid #468847 !important;
}

/***
Select2 plugin css changes
***/

/* enable form validation classes for select2 dropdowns */
.has-error .select2-container .select2-choice {
    border-color: #B94A48;
}

.has-error .select2-container.select2-dropdown-open .select2-choice {
    border-color: #e5e5e5;
}

.has-error .select2-container.select2-dropdown-open .select2-choice > span {
    color: #999999;
}

.has-success .select2-container .select2-choice {
    border-color: #468847;
}

.has-success .select2-container.select2-dropdown-open .select2-choice {
    border-color: #e5e5e5;
}

.has-success .select2-container.select2-dropdown-open .select2-choice > span {
    color: #999999;
}

.select2-drop {
    z-index: 999999 !important;
}

/***
Jansy File Input plugin css changes
***/
.fileinput {
    margin-bottom: 0;
}

/***
WYSIWYG
***/
.wysihtml5-toolbar li {
    margin: 0px;
    height: 29px;
}

.wysihtml5-toolbar li .dropdown-menu {
    margin-top: 5px;
}

/***
CKEditor css changes
***/
.cke_bottom,
.cke_inner,
.cke_top,
.cke_reset,
.cke_dialog_title,
.cke_dialog_footer,
.cke_dialog {
    background-image: none !important;
    filter: none;
    border-top: 0;
    border-bottom: 0;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none;
}

.cke_dialog_ui_button,
.cke_dialog_tab {
    background-image: none !important;
    filter: none;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.cke_dialog_ui_button:hover,
.cke_dialog_tab:hover {
    text-decoration: none;
    text-shadow: none;
}

.cke_dialog_ui_input_text {
    background-image: none !important;
    filter: none;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

.cke_combo_button,
.cke_button,
.cke_toolbar,
.cke_toolgroup {
    background-image: none !important;
    filter: none !important;
    border: 0;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

.cke_button,
.cke_combo_button,
.cke_panel_grouptitle,
.cke_hc.cke_panel_listItem a {
    background-image: none !important;
    filter: none;
    text-shadow: none;
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    -ms-border-radius: 0px !important;
    -o-border-radius: 0px !important;
}

.cke_button:hover,
.cke_combo_button:hover {
    background-color: #ddd;
}

.cke_toolbar_break {
    background-image: none !important;
    filter: none !important;
    border: 0;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -ms-box-shadow: none !important;
    -o-box-shadow: none !important;
}

/***
Modify tags input plugin css
***/
div.tagsinput {
    min-height: 35px;
    height: auto !important;
    margin: 0;
    padding: 5px 5px 0px 5px;
    overflow: auto;
}

div.tagsinput span.tag {
    background: #aaa;
    color: #fff;
    border: 0;
    padding: 3px 6px;
    margin-top: 0;
    margin-bottom: 5px;
}

div.tagsinput input {
    padding: 3px 6px;
    width: 75px !important;
}

div.tagsinput span.tag a {
    color: #fff;
}

div.tagsinput .not_valid {
    color: #fff;
    padding: 3px 6px;
    background-color: #e02222;
}

/***
Gritter notification modify
***/

#gritter-notice-wrapper {
    right: 1px !important;
}

.gritter-close {
    left: auto !important;
    right: 3px !important;
}

.gritter-title {
    font-family: 'Open Sans';
    font-size: 18px;
    font-weight: 300;
}

/***
jQuery UI Sliders(new in v1.1.1)
***/
.slider {
    border: 0;
    padding: 0;
    display: block;
    margin: 12px 5px;
    min-height: 11px;
}

.ui-slider-vertical {
    width: 11px;
}

.ui-slider-horizontal .ui-slider-handle {
    top: -3px;
}

.ui-slider-vertical .ui-slider-handle {
    left: -3px;
}

.ui-slider-vertical,
.ui-slider-handle {
    filter: none !important;
    background-image: none !important;
}

/***
Dropzone css changes(new in v1.1.1)
***/
.dropzone {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

/***
Dashboard Charts(new in v1.2.1)
***/
.easy-pie-chart,
.sparkline-chart {
    text-align: center;
}

.sparkline-chart {
    margin-top: 15px;
    position: relative;
}

.easy-pie-chart .number {
    font-size: 16px;
    font-weight: 300;
    margin: 0 auto;
    position: relative;
    text-align: center;
    width: 85px;
    height: 85px;
    line-height: 85px;
}

.easy-pie-chart .number canvas {
    position: absolute;
    top: 5px;
    left: 2px;
}

.sparkline-chart .number {
    width: 100px;
    margin: 0 auto;
    margin-bottom: 10px;
}

.sparkline-chart .title,
.easy-pie-chart .title {
    display: block;
    text-align: center;
    color: #333;
    font-weight: 300;
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.sparkline-chart .title:hover,
.easy-pie-chart .title:hover {
    color: #666;
    text-decoration: none;
}

.sparkline-chart .title > i,
.easy-pie-chart .title > i {
    margin-top: 5px;
}

/***
Fancy box fix overlay fix(in v1.2.4)
***/
.fancybox-overlay {
    z-index: 10000;
}

/***
Datatables Plugin(in v1.3)
***/
.dataTable {
    width: 100% !important;
    clear: both;
    margin-top: 5px;
}

.dataTables_filter label {
    line-height: 32px;
}

.dataTable .row-details {
    margin-top: 3px;
    display: inline-block;
    cursor: pointer;
    width: 14px;
    height: 14px;
}

.dataTable .row-details.row-details-close {
    background: url("../images/datatable-row-openclose.png") no-repeat 0 0;
}

.dataTable .row-details.row-details-open {
    background: url("../images/datatable-row-openclose.png") no-repeat 0 -23px;
}

.dataTable .details {
    background-color: #eee;
}

.dataTable .details td,
.dataTable .details th {
    padding: 4px;
    background: none;
    border: 0;
}

.dataTable .details tr:hover td,
.dataTable .details tr:hover th {
    background: none;
}

.dataTable .details tr:nth-child(odd) td,
.dataTable .details tr:nth-child(odd) th {
    background-color: #eee;
}

.dataTable .details tr:nth-child(even) td,
.dataTable .details tr:nth-child(even) th {
    background-color: #eee;
}

.dataTable > thead > tr > th.sorting,
.dataTable > thead > tr > th.sorting_asc,
.dataTable > thead > tr > th.sorting_desc {
    padding-right: 18px;
}

.dataTable .table-checkbox {
    width: 8px !important;
}

table.dataTable thead .sorting:after {
    opacity: 0 !important;
}

@media (max-width: 768px) {
    .dataTables_wrapper .dataTables_length .form-control,
    .dataTables_wrapper .dataTables_filter .form-control {
        display: inline-block;
    }

    .dataTables_wrapper .dataTables_info {
        top: 17px;
    }

    .dataTables_wrapper .dataTables_paginate {
        margin-top: -15px;
    }
}

@media (max-width: 480px) {
    .dataTables_wrapper .dataTables_filter .form-control {
        width: 175px !important;
    }

    .dataTables_wrapper .dataTables_paginate {
        float: left;
        margin-top: 20px;
    }
}

.dataTables_processing {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 125px;
    margin-left: 0;
    padding: 7px;
    text-align: center;
    color: #333;
    z-index: 9999;
    font-size: 13px;
    border: 1px solid #ddd;
    background-color: #eee;
    vertical-align: middle;
    -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.dataTables_processing span {
    line-height: 15px;
    vertical-align: middle;
}

.dataTables_empty {
    text-align: center;
}

/***
Extended Datatable
***/

.dataTables_extended_wrapper .seperator {
    padding: 0 2px;
}

.dataTables_extended_wrapper .dataTables_paginate,
.dataTables_extended_wrapper .dataTables_length,
.dataTables_extended_wrapper .dataTables_info {
    display: inline-block;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
}

@media (max-width: 480px) {

    .dataTables_extended_wrapper .dataTables_paginate,
    .dataTables_extended_wrapper .dataTables_length,
    .dataTables_extended_wrapper .dataTables_info {
        display: block;
        margin-bottom: 10px !important;
    }

    .dataTables_extended_wrapper .seperator {
        display: none;
    }
}

.dataTables_extended_wrapper .dataTables_length label {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px;
    float: none !important;
    display: inline-block !important;
}

.table-container .table-actions-wrapper {
    display: none;
}

.table-scrollable .dataTable td > .btn-group:not(.form-control), .table-scrollable .dataTable th > .btn-group:not(.form-control) {
    position: absolute;
    margin-top: -2px;
}

/***
Datatables general customization
***/
.table-checkable tr > th:first-child,
.table-checkable tr > td:first-child {
    text-align: center;
    max-width: 50px;
    min-width: 40px;
    padding-left: 0;
    padding-right: 0;
}

table.dataTable thead th,
table.dataTable thead td {
    border-bottom: 2px solid #e7ecf1;
    outline: none !important;
}

table.dataTable.no-footer {
    border-bottom-color: #e7ecf1;
}

table.dataTable tr.heading > th {
    background-color: #fbfcfd;
}

table.dataTable td.sorting_1, table.dataTable td.sorting_2, table.dataTable td.sorting_3,
table.dataTable th.sorting_1,
table.dataTable th.sorting_2,
table.dataTable th.sorting_3 {
    background: #fbfcfd !important;
}

/***
Extended pagination
***/
.paging_bootstrap_extended {
    margin: 5px 0 0 0 !important;
    padding: 0 !important;
    float: none !important;
    font-size: 13px;
}

.dataTables_extended_wrapper {
    margin-top: 10px;
}

.dataTables_extended_wrapper .seperator {
    padding: 0 2px;
}

.dataTables_extended_wrapper .table.dataTable {
    margin: 20px 0 !important;
}

.dataTables_extended_wrapper div.dataTables_paginate,
.dataTables_extended_wrapper div.dataTables_length {
    display: inline-block;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
}

.dataTables_extended_wrapper div.dataTables_info {
    display: inline-block;
    float: none !important;
    padding: 0 !important;
    margin: 0 10px !important;
    position: static !important;
}

.dataTables_extended_wrapper .table-group-actions > span {
    font-size: 13px;
}

.dataTables_extended_wrapper.DTS .paging_bootstrap_extended {
    display: inline-block;
}

.dataTables_extended_wrapper.DTS .dataTables_info {
    display: inline-block;
    padding-top: 8px !important;
}

.dataTables_extended_wrapper.DTS .dataTables_info .seperator {
    display: none;
}

.dataTables_extended_wrapper.DTS .dataTables_scrollHead {
    border-bottom: 0 !important;
}

.dataTables_extended_wrapper.DTS .dataTables_scrollHead .dataTables_scrollHeadInner .table.dataTable {
    margin-bottom: 0 !important;
}

.dataTables_extended_wrapper.DTS .dataTables_scrollBody {
    border-bottom: 0 !important;
}

.dataTables_extended_wrapper.DTS .dataTables_scrollBody .table.dataTable {
    margin: 0 !important;
}

@media (max-width: 480px) {
    .dataTables_extended_wrapper div.dataTables_paginate,
    .dataTables_extended_wrapper div.dataTables_length,
    .dataTables_extended_wrapper div.dataTables_info {
        display: block;
        margin-bottom: 10px !important;
    }

    .dataTables_extended_wrapper .seperator {
        display: none !important;
    }
}

.dataTables_extended_wrapper div.dataTables_length label {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px;
    float: none !important;
    display: inline-block !important;
}

.table-container .table-actions-wrapper {
    display: none;
}

/***
Scroller Extension
***/
.dataTables_scroll {
    margin-bottom: 10px;
}

.dataTables_scrollHead {
    border-bottom: 2px solid #e7ecf1 !important;
}

.dataTables_scrollHead thead th {
    border-bottom: 0 !important;
}

.dataTables_scrollBody {
    border-bottom: 1px solid #e7ecf1 !important;
}

.table-both-scroll .dataTables_scrollBody {
    border-bottom: 0 !important;
}

/***
Datatables processing
***/
.dataTables_wrapper .dataTables_processing {
    width: 200px;
    display: inline-block;
    padding: 7px;
    left: 50%;
    margin-left: -100px;
    margin-top: 10px;
    text-align: center;
    color: #3f444a;
    border: 1px solid #e7ecf1;
    background: #eef1f5;
    vertical-align: middle;
    -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

/***
Tool Buttons
***/
.dt-button-background {
    display: none !important;
}

div.dt-button-collection {
    border: 1px solid #eee;
    background: #ffffff;
    box-shadow: 5px 5px rgba(102, 102, 102, 0.1);
    padding: 0;
}

div.dt-button-collection > a.dt-button {
    background: none;
    padding: 8px 16px;
    font-weight: 300;
    margin: 1px 1px;
    box-shadow: none !important;
    border: 0 !important;
}

div.dt-button-collection > a.dt-button > span {
    font-size: 14px;
    color: #333;
}

div.dt-button-collection > a.dt-button.active {
    background: #f6f6f6 !important;
    box-shadow: none !important;
    border: 0 !important;
}

div.dt-button-collection > a.dt-button.active > span {
    color: #333;
}

button.dt-button,
div.dt-button,
a.dt-button {
    background-image: none !important;
    padding: 6px 12px !important;
}

button.dt-button:last-child,
div.dt-button:last-child,
a.dt-button:last-child {
    margin-right: 0;
}

.dataTables_wrapper .dt-buttons {
    float: right;
}

.portlet.light .dataTables_wrapper .dt-buttons {
    margin-top: -50px;
}

.portlet.box .dataTables_wrapper .dt-buttons {
    margin-top: -50px;
}

/***
Rot Details
***/
.dataTable .row-details.row-details-close {
    background: url("../images/datatable-row-openclose.png") no-repeat 0 0;
}

.dataTable .row-details.row-details-open {
    background: url("../images/datatable-row-openclose.png") no-repeat 0 -23px;
}

/***
Sorting
***/
table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    cursor: pointer;
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after {
    display: none;
}

table.dataTable thead .sorting {
    background: url("../plugins/datatables/images/sort_both.png") no-repeat center right;
}

table.dataTable thead .sorting_asc {
    background: url("../plugins/datatables/images/sort_asc.png") no-repeat center right;
}

table.dataTable thead .sorting_desc {
    background: url("../plugins/datatables/images/sort_desc.png") no-repeat center right;
}

table.dataTable thead .sorting_asc_disabled {
    background: url("../plugins/datatables/images/sort_asc_disabled.png") no-repeat center right;
}

table.dataTable thead .sorting_desc_disabled {
    background: url("../plugins/datatables/images/sort_desc_disabled.png") no-repeat center right;
}

table.dataTable th:active {
    outline: none;
}

/***
Fixed Header
***/
table.dataTable.fixedHeader-floating {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border: 1px solid #dee5ec;
    -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.table-header-fixed thead > tr > th {
    border-top: 0;
}

.table > tfoot > tr > th,
.table > tfoot > tr > td {
    border-bottom: 0;
    padding: 10px 18px;
    border-top: 1px solid #e7ecf1;
    font-weight: 600;
}

/***
Responsive Datatables
***/
.table.dataTable.dt-responsive
.table.dataTable.responsive {
    width: 100%;
}

table.dataTable.dtr-column > tbody > tr > td.control,
table.dataTable.dtr-column > tbody > tr > th.control {
    text-align: center;
    width: 14px;
}

table.dataTable.dtr-column > tbody > tr > td.control:before, table.dataTable.dtr-column > tbody > tr > th.control:before {
    margin-left: -8px;
    text-align: center;
    text-indent: 0;
    line-height: 0;
}

table.dataTable.dtr-column > tbody > tr > td.control:before,
table.dataTable.dtr-column > tbody > tr > th.control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child:before {
    box-shadow: none !important;
    background-color: #b0c1d2;
    font-weight: 300;
    vertical-align: middle;
    line-height: 16px;
    border: 0;
}

table.dataTable.dtr-column > tbody > tr.parent td.control:before,
table.dataTable.dtr-column > tbody > tr.parent th.control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child:before {
    background-color: #36c6d3;
    font-weight: 300;
    vertical-align: middle;
    border: 0;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child:before {
    top: 10px;
}

table.dataTable.dtr-column > tbody > tr > td.control:before,
table.dataTable.dtr-column > tbody > tr > th.control:before {
    text-align: center;
    margin-top: -8px;
}

table.dataTable > tbody > tr.child ul li {
    border: 0;
}

@-moz-document url-prefix() {
    .portlet-datatable .dataTables_wrapper .table-responsive {
        padding: 0 2px !important;
    }
}

@media (max-width: 767px) {
    /* 767px */
    .portlet.box .dataTables_wrapper .dt-buttons,
    .portlet.light .dataTables_wrapper .dt-buttons {
        margin-top: 0;
        margin-bottom: 20px;
    }

    .portlet.box .dataTables_wrapper .dt-buttons > .dt-button,
    .portlet.light .dataTables_wrapper .dt-buttons > .dt-button {
        margin-top: 5px;
    }
}

.table-scrollable .dataTable th > .btn-group:not(.bootstrap-select),
.table-scrollable .dataTable td > .btn-group:not(.bootstrap-select) {
    position: absolute;
    margin-top: -2px;
}

.dataTable td .popover-content .btn-group {
    position: static !important;
}

.table .btn-group .btn {
    margin-left: 0;
    margin-right: -1px;
}

.clockpicker-popover {
    z-index: 99999 !important;
}

/***
Password Strength(in v1.4)
***/
.password-strength .password-verdict {
    display: inline-block;
    margin-top: 6px;
    margin-left: 5px;
}

.password-strength .progress {
    margin-top: 5px;
    margin-bottom: 0;
}

.password-strength .progress-bar {
    padding: 2px;
}

/***
Uniform disabled checkbox, radio button fix(in v1.4)
***/

.table .uniform-inline {
    padding: 0;
    margin: 0;
}

.checker {
    margin-top: -2px !important;
    margin-right: 2px !important;
}

.checker input,
.radio input {
    outline: none !important;
}

div.checker.disabled span,
div.checker.disabled.active span {
    background-position: -152px -260px;
}

div.checker.disabled:hover,
div.radio.disabled:hover {
    cursor: not-allowed;
}

div.radio,
div.checker {
    margin-right: 0;
    margin-left: 3px;
}

/***
jQuery Sparkline
***/
.jqstooltip {
    width: auto !important;
    height: auto !important;
}

/***
jQuery Multi Select
***/

.ms-container .ms-list {
    border: 1px solid #e5e5e5;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;

}

.ms-container .ms-optgroup-label {
    font-size: 14px;
}

.ms-container .ms-selectable li.ms-elem-selectable,
.ms-container .ms-selection li.ms-elem-selection {
    font-size: 13px;
}

.ms-container .ms-list.ms-focus {
    border-color: #999999;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.ms-container .ms-selectable li.ms-hover,
.ms-container .ms-selection li.ms-hover {
    color: #333;
    background-color: #eee;
}

.ms-container .form-control {
    margin-bottom: 5px;
}

/***
Bootstrap Colorpicker
***/
.input-group.color .input-group-btn i {
    position: absolute;
    display: block;
    cursor: pointer;
    width: 20px;
    height: 20px;
    right: 6px;
}

.colorpicker.dropdown-menu {
    padding: 5px;
}

/* change z-index when opened in modal */
.modal-open .colorpicker {
    z-index: 10055 !important;
}

/***
Bootstrap  Datetimepicker
***/

.datetimepicker table td {
    font-weight: 300 !important;
    font-family: 'Open Sans' !important;
}

.datetimepicker table th {
    font-family: 'Open Sans' !important;
    font-weight: 400 !important;
}

.datetimepicker.dropdown-menu {
    padding: 5px;
}

.datetimepicker .active {
    background-color: #4b8df8 !important;
    background-image: none !important;
    filter: none !important;
}

.datetimepicker .active:hover {
    background-color: #2678FC !important;
    background-image: none !important;
    filter: none !important;

}

/* change z-index when opened in modal */
.modal-open .datetimepicker {
    z-index: 10055 !important;
}

/***
Bootstrap Time Picker
***/
.bootstrap-timepicker-widget table td a {
    padding: 4px 0;
}

.bootstrap-timepicker-widget input,
.bootstrap-timepicker-widget input:focus {
    outline: none !important;
    border: 0;
}

.modal-open .bootstrap-timepicker-widget {
    z-index: 10055 !important;
}

.bootstrap-timepicker-widget.timepicker-orient-bottom:before,
.bootstrap-timepicker-widget.timepicker-orient-bottom:after {
    top: auto;
}

/***
Bootstrap Datepicker
***/

.datepicker.dropdown-menu {
    padding: 5px;
}

.datepicker .selected {
    background-color: #909090 !important;
    background-image: none !important;
    filter: none !important;
}

.datepicker .active {
    background-color: #4b8df8 !important;
    background-image: none !important;
    filter: none !important;
}

.datepicker .active:hover {
    background-color: #2678FC !important;
    background-image: none !important;
    filter: none !important;
}

.datepicker .input-daterange input {
    text-align: left;
}

/* display different day capacities */

.datepicker table tr td.range.free {
    background: #d3ffc6;
}

.datepicker table tr td.range.medium {
    background: #ffe8c6;
}

.datepicker table tr td.range.full {
    background: #ffc6c6;
}

.datepicker table tr td.range.catchUp {
    background: #c6dcff;
}

.datepicker table tr td.range.cancelled {
    background: #484c4e !important;
    color: #fff !important;
}

/* change z-index when opened in modal */
.modal-open .datepicker, .datepicker {
    z-index: 10155 !important;
}

.datepicker table td {
    font-weight: 300 !important;
    font-family: 'Open Sans' !important;
}

.datepicker table th {
    font-family: 'Open Sans' !important;
    font-weight: 400 !important;
}

/***
Clockface
***/

.modal-open .clockface {
    z-index: 10055 !important;
}

.clockface .cell .inner.active,
.clockface .cell .outer.active {
    background-color: #4b8df8 !important;
    background-image: none;
    filter: none;
}

/***
Bootstrap Daterangepicker
***/

.modal-open .daterangepicker {
    z-index: 10055 !important;
}

.daterangepicker td {
    text-shadow: none;
}

.daterangepicker td.active {
    background-color: #4b8df8;
    background-image: none;
    filter: none;
}

.daterangepicker th {
    font-weight: 400;
    font-size: 14px;
}

.daterangepicker .ranges input[type="text"] {
    width: 70px !important;
    font-size: 11px;
    vertical-align: middle;
}

.daterangepicker .ranges label {
    font-weight: 300;
    display: block;
}

.daterangepicker .ranges .btn {
    margin-top: 10px;
}

.daterangepicker.dropdown-menu {
    padding: 5px;
}

.daterangepicker .ranges li {
    color: #333;
}

.daterangepicker .ranges li.active,
.daterangepicker .ranges li:hover {
    background: #4b8df8 !important;
    border: 1px solid #4b8df8 !important;
    color: #fff;
}

.daterangepicker .range_inputs input {
    margin-bottom: 0 !important;
}

/***
Bootstrap Editable
***/

.editable-input table,
.editable-input table th,
.editable-input table td,
.editable-input table tr {
    border: 0 !important;
}

.editable-input .combodate select {
    margin-bottom: 5px;
}

/***
FuelUX Spinners
***/

.spinner-buttons.btn-group-vertical .btn {
    text-align: center;
    margin: 0;
    height: 17px;
    width: 22px;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 0px;
}

/***
NoUI Range Sliders
***/
.noUi-handle {
    height: 20px;
    width: 20px;
    margin: -3px 0 0 -20px;
}

.noUi-base {
    height: 16px;
}

.noUi-connect {
    background: #f09022;
}

/***
Toastr Notifications
***/
.toast {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

.toast {
    background-color: #030303;
}

.toast-success {
    background-color: #51a351;
}

.toast-error {
    background-color: #bd362f;
}

.toast-info {
    background-color: #2f96b4;
}

.toast-warning {
    background-color: #f89406;
}

.toast .toast-close-button {
    display: inline-block;
    margin-top: 0px;
    margin-right: 0px;
    text-indent: -100000px;
    width: 11px;
    height: 16px;
    background-repeat: no-repeat !important;
    background-image: url("../images/portlet-remove-icon-white.png") !important;
}

.toast-top-center {
    top: 12px;
    margin: 0 auto;
    left: 50%;
    margin-left: -150px;
}

.toast-bottom-center {
    bottom: 12px;
    margin: 0 auto;
    left: 50%;
    margin-left: -150px;
}

/***
Google reCaptcha
***/
.form-recaptcha-img {
    margin-bottom: 10px;
    clear: both;
    border: 1px solid #e5e5e5;
    padding: 5px;
}

/***
Bootstrap Markdown
***/
.md-input {
    padding: 5px !important;
    border-bottom: 0 !important;
}

.md-editor .btn-toolbar {
    margin-left: 0px;
}

.md-editor.active {
    border: 1px solid #999999;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

/***
Bootstrap Datepaginator
***/
.datepaginator a {
    font-family: 'Open Sans';
    font-size: 13px;
    font-weight: 300;
}

.datepicker .today {
    background-image: none !important;
    filter: none !important;
}

#dp-calendar {
    right: 4px !important;
}

/***
Font Awesome 4.0 Demo
***/
.fa-item {
    font-size: 14px;
    padding: 10px 10px 10px 20px;
}

.fa-item i {
    font-size: 16px;
    display: inline-block;
    width: 20px;
}

.fa-item:hover {
    cursor: pointer;
    background: #eee;
}

/***
Bootstrap Modal
***/
/* fix: content shifting to the right on modal open */
.modal-open.page-overflow .page-container,
.modal-open.page-overflow .page-container .navbar-fixed-top,
.modal-open.page-overflow .page-container .navbar-fixed-bottom,
.modal-open.page-overflow .modal-scrollable {
    overflow-y: auto !important;
}

.modal-scrollable {
    overflow: hidden !important;
}

/***
jQuery Notific8 Plugin
***/

.jquery-notific8-message {
    font-size: 13px;
}

[class*="jquery-notific8"],
[class*="jquery-notific8"]:after,
[class*="jquery-notific8"]:before {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.right .jquery-notific8-close-sticky span,
.left .jquery-notific8-close-sticky span {
    font-size: 10px;
}

.jquery-notific8-heading {
    font-weight: 300;
    font-size: 16px;
}

/***
jQuery File Upload
***/

.blueimp-gallery .close {
    background-image: url("../images/portlet-remove-icon-white.png") !important;
    margin-top: -2px;
}

.blueimp-gallery .prev,
.blueimp-gallery .next {
    border-radius: 23px !important;
}

/***
Bootstrap Switch 
***/

.bootstrap-switch {
    border-color: #c2cad8
}

.bootstrap-switch.bootstrap-switch-focused {
    box-shadow: none;
    border-color: #c2cad8
}

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary, .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary {
    color: #fff;
    background: #3170b5
}

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info, .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info {
    color: #fff;
    background: #3170b5
}

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success, .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success {
    color: #fff;
    background: #4caa44
}

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning, .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning {
    background: #f09022;
    color: #fff
}

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger, .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger {
    color: #fff;
    background: #d9534f
}

.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default, .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default {
    color: #444;
    background: #e8eaef
}

.portlet:not(.light) > .portlet-title > .actions > .bootstrap-switch {
    border-color: transparent;
    margin-top: 0
}

/***
Jstree
***/

.jstree-default .jstree-clicked {
    border: 0;
    background-color: #e1e1e1;
    box-shadow: none;
}

.jstree-default .jstree-hovered {
    border: 0;
    background-color: #eee;
    box-shadow: none;
}

.jstree-default .jstree-wholerow-clicked,
.jstree-wholerow .jstree-wholerow-clicked {
    background: none;
    border: 0;
    background-color: #e1e1e1;
    box-shadow: none;
}

.jstree-default .jstree-wholerow-hovered,
.jstree-wholerow .jstree-wholerow-hovered {
    border: 0;
    background-color: #eee;
    box-shadow: none;
}

.jstree-icon.icon-lg {
    margin-top: 1px;
}

.jstree-open > .jstree-anchor > .fa-folder:before {
    margin-left: 2px;
    content: "\f07c";
}

.jstree-default.jstree-rtl .jstree-last {
    background: transparent;
    background-repeat: no-repeat;
}

.vakata-context,
.vakata-context ul {
    padding: 0;
    min-width: 125px;
    background-color: #ffffff;
    -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    font-family: "Segoe UI", Helvetica, Arial, sans-serif;
    border: 1px solid #ddd;
}

.vakata-context li a {
    padding: 0 10px;
}

.vakata-context .vakata-context-hover > a,
.vakata-context li a:hover {
    background-color: #eee;
    color: #333;
    box-shadow: none;
}

.vakata-context li a span,
.vakata-context li a ins {
    display: none;
}

.vakata-context .vakata-context-separator a,
.vakata-context-rtl .vakata-context-separator a {
    margin: 0;
}

.jstree-rename-input {
    background-color: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    outline: none !important;
    padding: 2px 6px !important;
    margin-right: -4px !important;
}

/***
Bootstrap Select
***/

.bootstrap-select .btn {
    border-color: #e5e5e5;
}

.bootstrap-select.open .btn1 {
    border-color: #999999;
}

.bootstrap-select.open.dropup .btn1 {
    border-color: #999999;
}

.bootstrap-select .btn:focus {
    outline: none !important;
    outline-offset: 0;
}

.bootstrap-select.btn-group .dropdown-menu {
    margin-top: 1px;
}

.bootstrap-select.btn-group .dropdown-menu > li > dt > .text {
    font-weight: 600;
    font-family: 'Open Sans';
    font-size: 14px;
}

.bootstrap-select.btn-group .dropdown-menu .text-muted {
    color: #999 !important;
}

.bootstrap-select .caret {
    border: 0;
    width: auto;
    height: auto;
    margin-top: -10px !important;
}

.bootstrap-select .caret:before {
    content: "\f107";
    display: inline-block;
    border: 0;
    font-family: 'Font Awesome 5 Pro';
    font-style: normal;
    font-weight: 400;
}

.bootstrap-select .selected i {
    color: #aaa;
}

/***
Pace - Page Progress
***/

.pace .pace-progress {
    z-index: 10000;
    top: 40px;
    height: 2px;
}

.pace .pace-progress-inner {
    box-shadow: none;
}

.pace .pace-activity {
    top: 44px;
    right: 22px;
    border-radius: 10px !important;
}

@media (max-width: 480px) {

    .page-header-fixed .pace .pace-progress {
        top: 82px;
    }

    .page-header-fixed .pace .pace-activity {
        top: 88px;
        right: 15px;
    }

}

/***
UI Loading
***/
.loading-message {
    display: inline-block;
    min-width: 125px;
    margin-left: -60px;
    padding: 10px;
    margin: 0 auto;
    color: #000 !important;
    font-size: 13px;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
}

.loading-message.loading-message-boxed {
    border: 1px solid #ddd;
    background-color: #eee;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.loading-message > span {
    line-height: 20px;
    vertical-align: middle;
}

.page-loading {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 125px;
    margin-left: -60px;
    margin-top: -30px;
    padding: 7px;
    text-align: center;
    color: #333;
    font-size: 13px;
    border: 1px solid #ddd;
    background-color: #eee;
    vertical-align: middle;
    -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.page-loading > span {
    line-height: 20px;
    vertical-align: middle;
}

.page-spinner-bar {
    position: fixed;
    z-index: 10051;
    width: 100px;
    top: 40%;
    left: 50%;
    margin-left: -55px;
    text-align: center;
}

.page-spinner-bar.inner {
    position: inherit;
    z-index: inherit;
    width: 100px;
    top: inherit;
    left: inherit;
    margin-left: 0px;
    text-align: center;
}

.page-spinner-bar > div {
    margin: 0 5px;
    width: 18px;
    height: 18px;
    background: #eee;
    border-radius: 100% !important;
    display: inline-block;
    -webkit-animation: bounceDelay 1.4s infinite ease-in-out;
    animation: bounceDelay 1.4s infinite ease-in-out;
    /* Prevent first frame from flickering when animation starts */
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    background: #546dae;
}

.page-spinner-bar .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.page-spinner-bar .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

.block-spinner-bar {
    display: inline-block;
    width: 80px;
    text-align: center;
}

.block-spinner-bar > div {
    margin: 0 2px;
    width: 15px;
    height: 15px;
    background: #eee;
    border-radius: 100% !important;
    display: inline-block;
    -webkit-animation: bounceDelay 1.4s infinite ease-in-out;
    animation: bounceDelay 1.4s infinite ease-in-out;
    /* Prevent first frame from flickering when animation starts */
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.block-spinner-bar .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.block-spinner-bar .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes bounceDelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1);
    }
}

@keyframes bounceDelay {
    0%, 80%, 100% {
        transform: scale(0);
        -webkit-transform: scale(0);
    }
    40% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}

.modal-full.modal-dialog {
    margin: 0px !important;
}

/**
Tour hacks
 */
.data-tour-enabled .select2-drop {
    z-index: 10001 !important;
}

.data-tour-enabled .date-picker {
    position: relative;
    z-index: 10000 !important;
}

.data-tour-enabled .popover {
    z-index: 10001 !important;
}

.iphone .modal-backdrop {
    display: none !important;
}

.tooltip {
    z-index: 99999 !important;
}

/**
Tour hacks
 */
.note-editor.note-frame .note-editing-area {
    clear: both;
}

.help-block-error {
    color: darkred;
}

/**
Chatbot - CSS
 */
#chatbot-sticker {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #3170B5;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#chatbox {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 400px;
    height: 500px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#chatbox-header {
    background-color: #3170B5;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    border-radius: 10px 10px 0 0;
}

#chatbox-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #ffffff;
    scroll-behavior: smooth;
}

.chat-message {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.chat-message.user {
    align-items: flex-end;
}

.chat-message.gpt {
    align-items: flex-start;
}

.chat-message .sender {
    font-weight: bold;
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.chat-message .message {
    max-width: 75%;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.6;
    word-wrap: break-word;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.chat-message.user .message {
    background-color: #3170B5;
    color: #fff;
    border-top-right-radius: 0;
}

.chat-message.gpt .message {
    background-color: #f1f1f1;
    color: #333;
    border-top-left-radius: 0;
}

#chatbox-input {
    display: flex;
    border-top: 1px solid #ddd;
    padding: 10px;
    background-color: #f9f9f9;
}

#chatbox-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

#chatbox-input button {
    margin-left: 10px;
    background: #3170B5;
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#chatbox-input button:hover {
    background-color: #27568f;
}

#loading-indicator {
    display: none;
    align-self: center;
    margin: 10px 0;
    color: #3170B5;
    font-size: 14px;
    font-weight: bold;
    animation: fadeInOut 1s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.close-chat-button {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

.close-chat-button:hover {
    color: #f00;
}


