.ui-pnotify {
    top: 25px;
    right: 25px;
    position: absolute;
    height: auto;
    /* Ensures notices are above everything */
    z-index: 999999999;
}

/* Page templates */
.panel-control-template-remove:after { content: "\f00d"; }
.panel-control-template-edit:after { content: "\f040"; }

#template-manager .gm-edit-mode { display: none; }

/* Page creation */
.portlet-picker ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#page-template-manager .portlet-item,
li.ui-draggable-dragging,
.portlet-picker ul li {
    list-style-type: none;
    margin: 0 0 10px 0;
    padding: 0;
    display: block;
    height: 45px !important;
    background: #fbfbfb;
    border: 1px solid #e2e2e2;
    min-width: 218px;
}

li.ui-draggable-dragging a,
.portlet-picker ul li a {
    display: block;
    height: 45px;
    padding: 12px 0 0 10px;
}

#page-template-manager .portlet-item,
#page-template-manager .portlet-item p.title {
	padding: 12px 0 0 10px;
}

#page-template-manager .portlet-item.placeholder {
    border: 1px dashed #cccccc;
    background: #4aaf3c;
    opacity: 0.35;
}

#page-template-manager .portlet-item:hover,
#page-template-manager .portlet-item a:hover,
.portlet-picker ul li a:hover,
.portlet-picker ul li a:focus {
    text-decoration: none;
    cursor: move;
}

#page-template-manager .portlet-item.removable .remove {
    float: right;
    margin: 0 10px 0 0;
    background-color: #df5640;
    border: 1px solid #df5640;
    border-radius: 10px;
    padding: 3px 6px;
    display: inline-block;
    min-width: 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

#page-template-manager .portlet-item.removable .remove a {
	color: #ffffff;
	cursor: pointer;
}

#page-template-manager .column {
    margin-bottom: 20px;
}

#page-template-manager.column:not(.parent).droppable {
	border: 1px dashed #cccccc;
	min-height: 67px;
	padding: 10px 10px 0 10px;
	overflow: auto; /* Fixes sortable item wrong offset when dragging and page has been scrolled down */
}

#page-template-manager.column.droppable.drop-on-me {
    border: 1px dashed #8cd481;
}


/*****************************
 * Core Template Layout Fixes
 ****************************/

/* Footer appears below scrollbar if scrolling pane is too high */
#content-footer.affix {
    z-index: 99999;
    position: fixed;
}

tr.selected td {
    background-color: #3bafda;
    color: black;
}

.paymentTable tr.selected td {
    background-color: white;
    color: rgb(102, 102, 102);
}

div.dataTables_filter {margin-bottom:10px;}

/* edit button doesn't match delete button */
.admin-form .btn-warning {font-size: 14px}
/* Removes the "x" from the settings and edit header */
a.panel-control-remove {
    display:none;
}
/*****************************
 * Query Builder
 ****************************/
.query-builder .query-builder-selected-filters {
    display: inline;
}


.query-builder .query-builder-section-container {
    max-width: 200px;
    box-sizing: border-box;
    display: inline-block;
    margin-right: 15px;
    margin-top: 3px;
    margin-bottom: 7px;
    vertical-align: top;

}

.query-builder .query-builder-section-container input[type=text] {
    width: 100%;
}

.multiselect-container.dropdown-menu > li > a > label.radio, .multiselect-container.dropdown-menu > li > a > label.checkbox {
    color: #666;
}

.query-builder .query-builder-filter-container {
    max-width: 200px;
    box-sizing: border-box;
    display: inline-block;
    margin-right: 15px;
    margin-top: 3px;
    margin-bottom: 7px;
    vertical-align: top;

}

.query-builder .query-builder-filter-container.qb-filter-date-range {
    max-width: 220px;
}

.query-builder .query-builder-filter-container.qb-filter-container-wide {
    max-width: 400px;
}

.query-builder .query-builder-filter-container input[type=text] {
    width: 100%;
}

.query-builder div.query-builder-settings label.title {
    font-size: 12px;
    font-weight: bold;
    color: white;
    display: table-row;
}
.query-builder div.query-builder-settings label.subtitle {
    color: white;
    font-size: 12px;
    display: table-row;
}
.query-builder div.query-builder-simple label.title {
    font-weight: bold;
    color: #666;
    font-family: "Open Sans", Arial, Helvetica, Verdana, sans-serif;
    font-size: 14px;
    display: table-row;
}
.query-builder div.query-builder-simple label.subtitle {
    color: #666;
    font-family: "Open Sans", Arial, Helvetica, Verdana, sans-serif;
    font-size: 12px;
    display: table-row;
}

.query-builder .query-builder-default-hidden {
    display: none;
}

.query-builder .input-group-addon.select-group-addon {
    display: inline-block;
    padding: 8px 8px 9px 8px;
    margin-left: -4px;
}

.query-builder .input-group-addon {
    padding: 7px 7px;
}

@media screen and (max-width: 480px) {
    .query-builder .query-builder-filter-container {
        width: 100%;
        display: block;
    }
}

/* Theme CSS fix for multiselects in query builder */
.admin-form .query-builder .checkbox, .admin-form .query-builder .radio {
    background: none !important;
    border: none !important;
}

.admin-form .query-builder input[type="radio"][value="-1"]{
    display: none;
}

.querybuilder-more-selected {
    display: none;
}

.query-builder-advanced .gui-textarea {
    display: block;
    width: 100%;
    height: 150px;
    margin: 10px auto 10px auto;
}

.querybuilder-ovarall-container {
    padding-top: 2px;
    padding-bottom: 2px;
}

.query-builder-advanced-link, .query-builder-simple-link,
.query-builder-advanced-link:hover, .query-builder-simple-link:hover {
    color: white;
}

.query-builder li.token-input-token-facebook {
    font-size: 13px;
}

.query-builder li.token-input-token-facebook {
    margin-top: 7px;
}

/* Set the positioning for the Edit button iin the List plugin */
a.btn.btn-xs.btn-info.list {
    position: absolute;
    margin-top: 10px;
    z-index:10;
}

/* Alerts */
.alerts-container {
    margin: 0px 0px;
}

.alerts-container:first-child .alert {
    margin-top: 19px;
}

textarea.filterable-list-buttons-markup {
    width: 100%;
    padding-left: 0;
}

/* Filterable list */
.filterable_list_ajax_add_wrapper {
    text-align: center;
    padding-top: 15px;
    width: 100%;
}

button.filterable_list_ajax_add {
    display: inline-block;
}

.filterable-list-container {
    position: relative;
}

@media screen and (min-width: 481px) {
    .filterable-list-container .filterable-list-filters-container {
        width: 80%;
    }
    .filterable-list-container .filterable-list-filters-container > .filters {
        margin-bottom: 15px;
        min-height: 75px;
    }
    .filterable-list-container .bootstrap-table .fixed-table-toolbar > .btn-group {
        position: absolute;
        right: 15px;
        top: 15px;
    }
}

.query-builder-filter-container .qb-date-range-options label, input{
    display: inline;
}

.query-builder-filter-container .qb-date-range-options label {
    font-size: 12px;
    font-weight: normal;
}

.query-builder-filter-container .qb-date-range-options > .qb-date-range-option-container {
    padding-right: 6px;
}


.form-row:not(.gm-editing) {
    display: flex;
    flex-wrap: wrap;
}
.form-row:not(.gm-editing) > [class*='col-'] {
    display: flex;
    flex-direction: column;
}
.form-row:not(.gm-editing) {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.form-row:not(.gm-editing) > [class*='col-'] {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.section-divider {
    height: 0;
    border-top: 1px solid #DDD;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

.section-divider span {
    color: #3498db;
    display: inline-block;
    position: relative;
    padding: 0 17px;
    top: -11px;
    font-size: 15px;
}


.fixed-table-loading {
    display: none;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    background-color: #FAFAFA !important;
    text-align: center;
    width:100%;
    background:url(../../img/loader/loader.gif) center center no-repeat;
}

/*body.sb-top #sidebar_left .sidebar-menu > li > ul {*/
    /*position: absolute;*/
    /*left: 0;*/
    /*top: 100%;*/
    /*border-left: 0;*/
    /*padding-bottom: 2px;*/
    /*overflow: hidden;*/
    /*z-index: 999;*/
    /*display: flex;*/
    /*flex-direction: column;*/
    /*flex-wrap: wrap;*/
    /*width: 800px;*/
    /*height:300px;*/
/*}*/

/* Amend the styling of the menu so the icons are a bit bigger */
body.sb-top #sidebar_left .sidebar-menu > li > a > span:nth-child(1) {
    width: auto;
    padding-left: 0;
    line-height: 55px;
}
body.sb-top.sb-top-sm #sidebar_left .sidebar-menu > li > a > span:nth-child(1) {
    font-size: 17px;
    line-height: 45px;
}
.sidebar-menu > li > ul > li > a > span:nth-child(1) {
    margin-right: 10px;
    font-size: 14px;
}

body.sb-top #sidebar_left .sidebar-menu > li.active > a,
body.sb-top #sidebar_left .sidebar-menu > li:hover > a,
body.sb-top #sidebar_left .sidebar-menu > li > a.menu-open,
body.sb-top #sidebar_left .sidebar-menu > li > a:hover,
body.sb-top #sidebar_left .sidebar-menu > li > a:focus {
    color: inherit;
    background-color: #333;
    -webkit-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
}
/* Sub-Menu Item - BG Color */
.sidebar-menu > li > ul {
    background-color: #333;
}
/* Sub-Menu Active Item - BG/Text Color */
.sidebar-menu > li > ul > li.active > a {
    color: #ffffff;
    background-color: #000000;
}
/*end*/

/* Tasks */
.task-widget ul.task-list .task-item.item-checked .task-desc {
    color: #000;
    text-decoration: none;
}
.task-widget ul.task-list .task-item.item-unchecked .task-desc {
    color: #AAA;
    text-decoration: line-through;
}
/*end*/

.ui-sortable-helper {
    display: table;
}
label {
    display: inline;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 600;
}

/* Buttons with Icons
* Cross browser problems were creating problems when
* an icon was given a larger font size than its sibling
* text. To fix Line height, vertical align, and top
* positioning have been redefined */
.btn .glyphicon,
.btn .glyphicons {
    top: -2px;
    vertical-align: middle;
    line-height: 0;
    font-size: 1.1em;
    padding-left: 5px;
}

.tabbed-widget > .panel-info > .panel-body {
    position: relative;
    padding: 0px;
    /*border: 1px solid #e2e2e2;*/
    border-left: 3px solid #3bafda;
    border-right: 3px solid #3bafda;
    border-bottom: 3px solid #3bafda;
}
.panel {
    position: relative;
    margin-bottom: 0px;
    background-color: #FAFAFA;
    border-radius: 3px;
}

.dataTables_wrapper {
    overflow: auto;
    width: 100%;
}
.editable-submit,
.editable-cancel {
    padding: 10px 10px;
}
.editable-error-block.help-block {
    font-size: 12px;
}

/* Print verification delete button */
.PVDelete {
    padding: 2px 6px 3px;
}


.checkbox-custom.fill input[type=checkbox]:checked + label:after,
.checkbox-custom.fill input[type=radio]:checked + label:after {
    position: absolute;
    font-family: "FontAwesome";
    content: "\f00c";
    font-size: 17px;
    top: 2px;
    left: 2px;
    width: 0;
    height: 0;
    color: #fff !important;
    transform: rotate(-13deg);
}

/* Force hand pointer over bootstrap table if needed */
table.table-row-hand-pointer tr {
    cursor: pointer;
    cursor: hand;
}

.plan-features li i.fa {
    font-size: 15px;
    color: #777;
    padding-right: 0px;
}

.top-header-search {
    margin-top: 10px;
}

/* Styling for cart buttons/menus */
.basket .cart-action {
    height: 32px;
}

.basket .cart-action-button {
    padding-top: 7px;
}

.basket .cart-action-option-label{
    width: 70px;
    display: inline-block;
}

.basket .cart-action-option-text{
    width: 50px;
}

.basket .cart-action-option-button{
    font-size: 17px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.basket .cart-action-option-container {
    display: inline-block;
    padding-left: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid #eeeeee;
    width:100%;
}

.basket .basket_total_container {
    position: relative;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    padding-top: 15px;
}

.basket .basket_total_container .fixed-table-loading {
    top: 0px;
    display: none;
}

/* Custom styling for filterable lists */
.filterable-list-table td.cell-click-action-active:hover {
    color: #000080;
    text-decoration: underline;
    cursor: pointer;
}

/* Styling for ajax widgets */
.modal-lg.ajax-widget {
    width: 85%;
}

.bootstrap-datetimepicker-widget,
.ui-widget-content.ui-autocomplete,
.daterangepicker.dropdown-menu {
    z-index: 999999999999 !important; /* has to be huge to show above modal*/
}

.admin-form .heading-border .panel-heading {
    padding: 16px 28px 2px;
}

.admin-form .panel-title {
    text-align: left;
    font-weight: 300;
    font-size: 22px;
    padding: 0;
    margin: 0;
    background: 0 0;
}

.admin-form .heading-border .panel-title {
    color: dimgrey;
}

.panel-heading .fa {
    font-size: 20px;
}

.admin-form .section-divider {
    height: 0;
    border-top: 1px solid #f5f5f5;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 30px;
}

#content.table-layout > div, #content.table-layout > section {
    vertical-align: top;
    padding: 0px 20px 50px;
    /* padding: 10px 10px 26px; */
}

.alerts-container {
    margin: 0px 0px;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 18px;
    padding-bottom: 0px;
}

/* Modal */
.modal-header > .panel-title {
    font-size: 24px;
    padding-left: 32px;
}

.dockmodal.popped-out {
    width: auto;
    height: auto;
    border: 0;
    z-index: 9999999;
}
.dockmodal.minimized {
    height: 36px;
    top: auto;
    left: auto;
    right: 20px;
    bottom: 0;
    z-index: 9999999;
}

/* ==============================================
   Navbar
================================================= */
.navbar {
    z-index: 999999;
    margin-bottom: 0;
    height: 60px;
    color: #666;
    background-color: #FFF;
    border-radius: 0;
    border: 0;
    border-bottom: 0;
    box-shadow: 0 1px 0 0 #e0e0e0;
    /* Navbar shadow option - Only allowed on default white navbar */
}

body.sb-top #sidebar_left {
    overflow: visible;
    z-index: 99999;
    width: 100%;
    min-height: 0;
    margin-top: 60px;
    padding: 0;
    border: 0;
}

/* Dock Model */
body.dashboard-page .dockmodal-header .title-text {
    font-size: 15px;
}
body.dashboard-page .dockmodal-body {
    padding: 0;
    border-left: 1px solid #DDD;
    border-right: 1px solid #DDD;
}
body.dashboard-page .dockmodal-footer {
    background-color: #f3f3f3;
    padding: 7px 10px 8px;
    border-top: 1px solid #DDD;
    border-left: 1px solid #DDD;
    border-right: 1px solid #DDD;
}
body.dashboard-page .dockmodal-body .quick-compose-form {
    display: block;
}
body.dashboard-page .dockmodal-body .quick-compose-form input.form-control {
    border: 0;
    border-bottom: 1px solid #EEE;
}
body.dashboard-page .dockmodal-body .quick-compose-form .note-editor .note-editable {
    background: #f9f9f9;
}
body.dashboard-page .popped-out .dockmodal-body .quick-compose-form .note-editor .note-editable {
    background: #fff;
}
body.dashboard-page .dockmodal-body .quick-compose-form .note-editor .note-editable:focus,
body.dashboard-page .dockmodal-body .quick-compose-form .note-editor .note-editable:active {
    background: #fff;
}
body.dashboard-page .dockmodal-body .quick-compose-form .note-editor .note-toolbar {
    padding: 0 4px 9px;
}
body.dashboard-page .dockmodal-body .quick-compose-form .note-editor .note-statusbar .note-resizebar {
    display: none;
}
.note-editor {
    border: none;
}
.note-editor .note-toolbar {
    background: #fafafa;
    border: none;
    border-bottom: 1px solid #e7e7e7;
    padding: 0 10px 11px;
    margin: 0;
}

/* This is a fix for the select2 dropdown appearing behind the modal */
.select2-container--open {
    z-index: 999999;
}

/* Create hub modal */
#createHub form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 480px) {
    #createHub form {
        width: 100%;
    }
}

