body {
    font-family: calibri, arial;
}
body a {
    -webkit-transition: all .18s ease-in-out;
    -moz-transition: all .18s ease-in-out;
    transition: all .18s ease-in-out;
}
h1,h2,h3,h4,h5,h6 {
    font-family: calibri, arial;
}
p, a, button {
    font-family: calibri, arial;
}
.pt0 {
    padding-top: 0;
}
.pt8 {
    padding-top: 8px!important;
}
.pt16 {
    padding-top: 16px!important;
}
.pt32 {
    padding-top: 32px!important;
}
.pt64 {
    padding-top: 64px!important;
}
.pt128 {
    padding-top: 128px!important;    
}
.pb0 {
    padding-bottom: 0;
}
.pb8 {
    padding-bottom: 8px!important;
}
.pb16 {
    padding-bottom: 16px!important;
}
.pb32 {
    padding-bottom: 32px!important;
}
.pb64 {
    padding-bottom: 64px!important;
}
.pb128 {
    padding-bottom: 128px!important;    
}
.mt0 {
    margin-top: 0;
}
.mt8 {
    margin-top: 8px!important;    
}
.mt16 {
    margin-top: 16px!important;        
}
.mt32 {
    margin-top: 32px!important;            
}
.mt64 {
    margin-top: 64px!important;                
}
.mt128 {
    margin-top: 128px!important;                    
}
.mb0 {
    margin-bottom: 0;
}
.mb8 {
    margin-bottom: 8px!important;    
}
.mb16 {
    margin-bottom: 16px!important;        
}
.mb32 {
    margin-bottom: 32px!important;            
}
.mb64 {
    margin-bottom: 64px!important;                
}
.mb128 {
    margin-bottom: 128px!important;                    
}
textarea {
    min-height: 250px;
}
.admin-panel-wrap {
    position: absolute;
    right: 0;
    z-index: 10;
    top: -2px;
    background: #545454;
    width: 352px;
    height: 59px;
}
.admin-user-wrap {
    padding: 11px;
    color: white;
}
.admin-panel-wrap .button.logout-button {
    /* float: right; */
    /* margin-top: -11px; */
    /* margin-right: 10px; */
    position: absolute;
    right: 3px;
    top: 12px;
}
.admin-panel-wrap .glyphicon {
    color: #6b6b6b;
    font-size: 42px;
    float: right;
    width: 57px;
    height: 48px;
    margin-top: 9px;
    padding: 10px 0 0 5px;
}
.admin-panel-wrap a.admin-user-wrap-link {
    color: #717171;
    font-size: 20px;
    float: right;
    background: #e4e4e4;
    border: 0 solid #c7c7c7;
    margin: 2px;
}
.admin-panel-wrap a.admin-user-wrap-link:hover,
.admin-panel-wrap a.admin-user-wrap-link:focus {
    cursor: pointer;
    background: #f1f1f1;    
}
ul.sidebar-nav > ul {
    padding-left: 0;
    list-style-type: none;
}
ul.sidebar-nav > ul ul {
    padding-left: 12.5px;
}
.sidebar-nav li.current > a {
    background: #929596;
    color: white;
    border-left: 5px solid white;
}
.sidebar-nav li a i {
    display: inline-block;
    position: absolute;
    left: -20px;
}
.sidebar-nav li.current a i {
    left: -16px;
}
.sidebar-nav li.current > a:hover,
.sidebar-nav li.current > a:focus {
    color: black;
}
.row-has-not-seen {
    font-weight: bold;
}
span.badge-unread {
    background: #d9534f;
    display: block;
    color: white;
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 0;
    text-align: center;
    text-indent: 0;
    line-height: 1;
    z-index: 9999;
    width: 50px;
    height: 50px;
    padding: 20px 0 0 0;
    font-size: 13px;
}
span.has-children-trigger:hover {
    background: rgba(255, 255, 255, 0.51);
}
span.has-children-trigger {
    display: block;
    color: white;
    position: absolute;
    top: 0;
    right: 0px;
    line-height: 1.75;
    text-indent: 0;
    width: 33px;
    height: 40px;
    padding: 8px 0 0 9px;
}
.current span.badge-unread {
    height: 50px;
}
.admin-overlay {
    z-index: 999;
    position: fixed;
    background-color: white;
    width: 100%;
    height: 100%;
    display: none; 
}
a.current-page {
    color: white;
    background: #337ab7;
    padding: 0 3px;
    text-decoration: underline;
}
img.grid-preview-pic {
    outline: 1px solid #ccc;
    padding: 3px;
    max-width: 100px;
    max-height: 100px;
}
.table .btn {
    position: relative;
}
.admin-body .well .table tr:first-child td {
    border-top: none;
}
#gallery img {
    max-width: 300px;
}
.top-wrap {
    height: 57px;
    background: #303a43;
    position: fixed;
    z-index: 999;
    top: 0;
    width: 100%;
}
#sidebar-wrapper {
    top: 57px;
    background-color: #475057;
}
.quick-search-wrap {
    padding: 10px;
    position: relative;
}
.quick-search-wrap input {
    width: 100%;
    padding: 10px;
    border: none;
}
.quick-search-wrap button.ui {
    background-color: #797979;
    color: white;
    position: absolute;
    top: 10px;
    right: 7px;
    border-radius: 0;
    height: 36px;
    width: 44px;
}
.quick-book-link {
    display: block;
    color: white;
    outline: 1px solid white;
    padding: 7px;
    text-align: center;
    margin-top: 20px;
}
.quick-book-link:hover {
    color: white;
    outline: 1px solid white;
    background-color: #0dabec;
    text-decoration: none;
}

body {
    overflow-x: hidden;
}

/* Toggle Styles */

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    height: 100%;
    position: fixed;
    width: 100%;
}

#wrapper.toggled {
    padding-left: 250px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 250px;
    width: 0;
    height: 100%;
    margin-left: -250px;
    /*overflow-y: auto;*/
    background: #475057;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

#page-content-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    padding: 83px 20px 20px 40px;    
    overflow-y: scroll;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -250px;
}

/* Sidebar Styles */

.sidebar-nav {
    position: absolute;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sidebar-nav li {
    text-indent: 20px;
    line-height: 50px;
    position: relative;
}
.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #ffffff;
    background: #ced4d614;
    border-bottom: 1px solid #92959673;
    text-indent: 35px;
}
.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
}
.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}
.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}
.sidebar-nav > .sidebar-brand a {
    color: #dcdcdc;
}
.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}
a.sort-active {
    color: #a94442;
}
.has-items-within {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: green;
    border-radius: 50%;
    z-index: 10;
    top: 2px;
    right: 1px;
}
.has-no-items-within {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: red;
    border-radius: 50%;
    z-index: 10;
    top: 2px;
    right: 1px;
}
select option:disabled {
    color: #ddd;
}
.tab-pane {
    padding: 10px;
}
.nav-tabs > li > a {
    border-radius: 0;
}
.nav-tabs > li > a.tab-has-error {
    padding-right: 62px;
}
.tab-error-count {
    position: absolute;
    right: -1px;
    top: -1px;
    display: block;
    width: 42px;
    height: 42px;
    text-align: center;
    padding-top: 14px;
    background: #d9534f;
    color: white;
    border-radius: 0 4px 0 0;
}
.pagination-wrap a {
    outline: 1px solid #c3c3c3;
    padding: 5px;
    display: inline-block;
    height: 30px;
    float: left;
    margin-right: 3px;
    margin-bottom: 10px;
}
@media(min-width:768px) {
    #wrapper {
        padding-left: 250px;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 250px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        padding: 83px 20px 20px 30px;
        position: relative;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
}
/* Extend semantic UI */
.segment img {
    margin: 0 auto;
    display: block;
}
ul.sidebar-nav > ul ul {
    list-style: none;
}
.ui.tabular.menu .item.has-error {
    padding-right: 60px;
}
.bookee-wrap-outer {
    display: none;
}
.select-item-results-wrap {
    height: 550px;
}
.print-logo img {
    margin: 10px;
    height: 80px;
}
button.ui.hidden-button {
    display: none;
}
.dashboard-button {
    text-align: center;
    width: 150px;
    border: 1px solid #ccc;
    background: white;
    border-radius: 4px;
    margin-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
}
.dashboard-button-wrap {
    /*    float: left;
        width: 100%;
        padding: 10px;
        background: #f7f7f7;
        border-radius: 4px;
        border: 1px solid #ccc;*/
}
.dashboard-button i.icon {
    font-size: 87px;
    margin: 0 0 10px 0;
    line-height: 1;
    color: #303a43;
}
.dashboard-button a {
    z-index: 3;
    font-size: 30px;
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.dashboard-button:hover,
.dashboard-button:focus {
    background: #303a43;
    color: white;
}
.dashboard-button:hover i,
.dashboard-button:focus i
{
    color: white;
}
.group-id-even {
    background: #f4f4f4;
} 
#locationField {
    height: 42px;
}
.pac-container {
    z-index: 1002;
}
/* Patch to prevent grey highlighting */
.ui.celled.table tr td {
    /*background-color: white;*/
}
.admin-links-wrap {
    position: absolute;
    right: 80px;
    height: 55px;
    top: 16px;
    color: white;
}
.admin-links-wrap a {
    color: white;
}
.admin-links-wrap a:hover span {
    text-decoration: underline;
}
.admin-links-wrap a:hover {
    color: white;
    text-decoration: none;
}
.admin-logo-wrap {
    height: 77px;
}
.admin-logo-wrap a:hover {
    color: #b8d4e9;
}
.admin-logo-wrap a {
    /*font-family: "ledger";*/
    width: 100%;
    display: block;
    height: 57px;
    font-size: 16px;
    line-height: 1.25;
    padding: 17px 6px;
    color: white;
    margin-left: 10px;
}
.admin-logo-wrap img {
    height: 40px;
    float: left;
    margin-top: -10px;
    margin-left: -1px;
    margin-right: 13px;
}
.admin-panel-links {
    position: absolute;
    top: 0;
    right: 352px;
}
.admin-panel-links a {
    width: 205px;
    font-size: 15px;
    color: white;
    line-height: 0;
    height: 57px;
    display: block;
    position: relative;
    line-height: 57px;
    background: #b3b3b380;
}
.admin-panel-links a span {
    position: absolute;
    left: 85px;
}
.admin-panel-links a i.icon {
    height: 57px;
    width: 57px;
    font-size: 22px;
    position: absolute;
    top: 0;
    left: 0;
    background: #626467;
}
.admin-panel-links a:hover {
    color: white;
    background: #cac6c680;
}
.admin-panel-links a:hover i.icon {
    background: #3d66a2;
}
.filemanager {
    width: 100%;
    height: 100%;
}
.trigger-item-modal {
    cursor: pointer;
}
.sortable-current-single .product-image-thumb {
    max-height: 330px;
    max-width: 330px;
}
.product-image-thumb {
    max-height: 130px;
    max-width: 130px;
    padding: 5px;
    border: 1px solid #ccc;
    text-align: left;
}
.segment img.product-image-thumb {
    text-align: left;
    margin: 0;
    display: inline-block;
    cursor: pointer;
}
ul#sortable-images {
    margin: 0;
    padding: 0;
    float: left;
    width: 100%;
}
ul#sortable-images li {
    list-style: none;
    float: left;
    width: 100%;
}
.sortable-header {
    font-weight: bold;
    outline: 1px solid #ccc;
    background: #f9fafb;
}
ul#sortable-images li > div {
    padding: 15px;
    float: left;
}
ul#sortable-images li > div.right {
    text-align: right;
}
ul#sortable-images div.w-50 {
    width: 50%;
}
ul#sortable-images div.w-30 {
    width: 30%;
}
ul#sortable-images div.w-25 {
    width: 25%;
}
ul#sortable-images div.w-20 {
    width: 20%;
}
li.sortable-main {
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
}
.sortable-template-wrap {
    display: none;
}
li.sortable-main.ui-sortable-helper {
    background: #ffffb8;
    border: none;
}

.cf:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
* html .cf {
    zoom: 1;
}
*:first-child+html .cf {
    zoom: 1;
}

/**
 * Nestable
 */
.dd {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    max-width: 600px;
    list-style: none;
    font-size: 13px;
    line-height: 20px;
}
.dd-list {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}
.dd-list .dd-list {
    padding-left: 30px;
}
.dd-collapsed .dd-list {
    display: none;
}
.dd-item,
.dd-empty,
.dd-placeholder {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 20px;
    font-size: 13px;
    line-height: 20px;
}
.dd-handle {
    display: block;
    height: 30px;
    margin: 1px 0;
    padding: 4px 20px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #ccc;
    background: #fafafa;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
.dd-handle:hover {
    color: #2ea8e5;
    background: #fff;
}
.dd-item > button {
    display: block;
    position: relative;
    cursor: pointer;
    float: left;
    width: 25px;
    height: 20px;
    margin: 5px 0;
    padding: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border: 0;
    background: transparent;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    font-weight: bold;
}
.dd-item > button:before {
    content: '+'; 
    display: block;
    position: absolute;
    width: 100%;
    text-align: center;
    text-indent: 0;
}
.dd-item > button[data-action="collapse"]:before { 
    content: '-'; 
}
a.dd-menu-item {
    color: white;
    float: right;
    margin-left: 10px;
}
.dd-placeholder,
.dd-empty {
    margin: 5px 0;
    padding: 0;
    min-height: 30px;
    background: #f2fbff;
    border: 1px dashed #b6bcbf;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
.dd-empty {
    border: 1px dashed #bbb;
    min-height: 100px;
    background-color: #e5e5e5;
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}
.dd-dragel {
    position: absolute;
    pointer-events: none;
    z-index: 9999;
}
.dd-dragel > .dd-item .dd-handle {
    margin-top: 0;
}
.dd-dragel .dd-handle {
    -webkit-box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
    box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
}
/**
 * Nestable Extras
 */
#nestable-menu {
    padding: 0;
    margin: 20px 0;
}
#nestable-output,
#nestable2-output {
    width: 100%;
    height: 7em;
    font-size: 0.75em;
    line-height: 1.333333em;
    font-family: Consolas, monospace;
    padding: 5px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
#nestable2 .dd-handle {
    color: #fff;
    border: 0 solid #999;
    background: #515b61;
}
#nestable2 .dd-handle:hover {
    background: #00aeef;
}
#nestable2 .dd-item > button:before {
    color: #fff;
}
@media only screen and (min-width: 700px) {
    .dd {
        float: left;
        width: 48%;
    }
    .dd + .dd {
        margin-left: 2%;
    }
}
.dd-hover > .dd-handle {
    background: #2ea8e5 !important;
}
.dd-edit-button {
    z-index: 100;
    position: absolute;
    right: 9px;
    top: 4px;
}
.dd-edit-button .dd-menu-item:hover, 
.dd-edit-button .dd-menu-item:focus  {
    color: #5ec9ff;
}
.socialite {
    display: block;
    float: left;
    height: 35px;
}
.category-preview-image {
    max-width: 250px;
    max-height: 250px;
    padding: 5px;
    border: 1px solid #ccc;
    background: white;
    z-index: 350;
    position: relative;
    display: none;
    margin-left: -245px;
}
.dd-image-item:hover {
    cursor: pointer;
}
.dd-image-item:hover + .category-preview-image {
    display: block;
}
.products-within-category,
.products-not-within-category {
    border: 1px solid #ccc;
    height: 680px;
    border-radius: 4px;
    overflow-y: scroll;
    padding: 0 10px;
}
.product-search-image {
    height: 40px;
}
.product-search-image img {
    height: 100%;
}
.product-search-code {
    width: 30%;
    float: left;
    padding-top: 10px;
}
.product-search-name {
    width: 30%;
    float: left;
    padding-top: 10px;
}
.product-search-name {
    width: 30%;
    float: left;
}
.product-search-image {
    width: 20%;
    float: left;
}
.product-search-action {
    width: 20%;
    float: left;
}
.product-search-wrap {
    border-bottom: 1px solid rgba(204, 204, 204, 0.5);
    float: left;
    width: 100%;
    padding: 6px;
}
.product-search-add-button-wrap .checkbox {
    float: right;
    margin-top: 13px;
}
.synching-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    /*display: none;*/
}
.ui.cards > .card {
    position: relative;
    z-index: 10;
}
a.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}
a.card-overlay:hover {
    background: rgba(255, 255, 255, .33);
}
.ui.cards > .card.card-cms {
    border-radius: 0;
    height: 120px;
    box-shadow: none;
    padding: 10px;
}
.ui.cards > .card.card-cms.card-orange {
    background: #F2711C;
}
.ui.cards > .card.card-cms.card-teal {
    background: #00B5AD;
}
.ui.cards > .card.card-cms.card-violet {
    background: #6435C9;
}
.ui.cards > .card.card-cms.card-green {
    background: #21BA45;
}
.ui.cards > .card.card-cms.card-brown {
    background: #A5673F;
}
.ui.cards > .card.card-cms.card-red {
    background: #f00;
}
span.card-metric {
    position: absolute;
    top: 27px;
    left: 80px;
    font-size: 50px;
    color: white;
}
span.card-icon {
    font-size: 40px;
    position: absolute;
    z-index: 10;
    top: 28px;
    left: 23px;
    color: white;
}
span.card-label {
    position: absolute;
    color: white;
    text-transform: uppercase;
    top: 69px;
    left: 20px;
}
.card-label p {
    font-size: 17px;
    margin-top: -10px;
}
.hideList {
    display: none;
}
span.current-selected-indicator {
    height: 10px;
    width: 10px;
    display: block;
    border-radius: 50%;
    position: absolute;
    right: 103px;
    top: 30px;
}
.field-date-renewal-wrap span.current-selected-indicator {
    right: 76px;
}
span.current-selected-indicator i {
    color: #21ba45;
    font-size: 16px;
}
.ui.image.header img.image-login-logo {
    padding: 8px;
    height: 60px;
    width: auto;
    margin: 0 auto;
}