body {
    font-family: 'source sans pro', 'Montserrat', sans-serif ;
    color: #444;
}

.custom-font {
    font-family: 'Montserrat', sans-serif ;
}
.quick-animated {
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition:all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
}
:root {
    --brand-color : #f16e43;
}
.animated {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition:all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);

    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;

    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;
}
.table-condensed > thead > tr > th, .table-condensed > tbody > tr > th{
    padding: 8px 10px 8px;
}
/* Utilities
============================================*/
img {
    max-width: 100%;
}
.thick { font-weight: 700; }
.thin { font-weight: 100; }
.uppercase {text-transform: uppercase}
.icon-margin-4 { margin-right: 4px}
.icon-margin-8 { margin-right: 8px}
.icon-margin-12 { margin-right: 12px}
.icon-margin-18 { margin-right: 18px}
.icon-margin-24 { margin-right: 24px}
.icon-margin-top-8 { margin-top: 8px}
.icon-margin-top-12 { margin-top: 12px}
.icon-margin-top-18 { margin-top: 18px}
.icon-margin-top-24 { margin-top: 24px}
.cls { clear: both }
.relative { position: relative }
.spacer-invis { display: block; clear: both; height: 1px; margin: 18px auto }
.hashed { color: #999 !important}
.btn {
    border: none !important;
    border-radius: 5px;
}
.btn-dark {
    background-color: var(--accent-color);
    color: var(--text-on-accent);
}
.brand {
    background-color: var(--accent-color);
}
.btn-dark:hover {
    color: var(--text-on-accent);
}
.btn-wide {
    padding-left: 40px;
    padding-right: 40px;
}
@media (max-width: 768px) {
    .btn-wide {
        padding-left: 18px;
        padding-right: 18px;
    }
}
.page {
    padding-top: 66px;
}
.base-colours-btn {
    position: fixed;
    top: 76px;
    left: -2px;
    border-radius: 3px;
    padding-top: 10px;
    padding-bottom: 10px;
    cursor: pointer;
    z-index: 999;
    text-decoration: none;
}

.base-colours-btn:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.base-colours-btn:hover a, .base-colours-btn:focus a, .base-colours-btn a:hover, .base-colours-btn a:focus {
    text-decoration: none;
    color: #f5f5f5;
    outline: none;
}

.base-colours-btn a {
    color: #ddd;
    font-size: 0.9em;
    font-weight: bold;
}

.base-colours-btn img {
    width: 40px;
    margin-left: 12px;
}

.op0 {
    opacity: 0;
}
.op1 {
    opacity: 1;
}
@media screen and (max-width: 420px){
    #table-thumb {
        clear: both;
    }
    #table-thumb .thumb {
        margin-right: 0;
        box-shadow: 0 0 5px rgba(0,0,0,0.2);
        margin-top: 28px;
    }
    #screen-thumb .screen-thumb {
        box-shadow: 0 0 5px rgba(0,0,0,0.2);
        margin-top: 28px;
    }
}
@media (min-width: 421px) {
    .sticky-btn {
        position: fixed;
        top: 72px;
        left: 24px;
        z-index: 100;
        padding: 10px 0;
        background-color: #F5F2F0;
        width: 270px;
    }

    .sidebar-screen {
        padding-top: 68px !important;
        position: relative;
    }
}

.spacer-tiny {
    display: block;
    height: 1px;
    width: 50%;
    margin: 8px 0;
    clear: both;
}
.txt-spacer {
    display: block;
    height: 1px;
    width: 50%;
    margin: 2px 0;
    clear: both;
}

.spacer {
    display: block;
    height: 1px;
    width: 100%;
    margin: 12px 0;
    clear: both;
    border-top: 1px solid #ddd;
}
button.close{
    position: absolute;
    right: 24px;
    top: 18px;
    z-index: 150;
}


.form-control:focus {
    border-color: #bbb;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05),0 0 8px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.05),0 0 8px rgba(0,0,0,.075);
}

.top-nav-landing {
    background-color: transparent; width: 100%; position: fixed; top: 0; left: 0; height: 66px; z-index: 100
}
.top-nav-landing.top {
    background-color: white;
    box-shadow: 0 -1px 15px rgba(0,0,0,0.1);
}


.dropdown-item {
    display: block;
    width: 100%;
    padding: 8px 20px 8px 12px;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}
.dropdown-item:hover {
    text-decoration: none;
    background-color: #f9f9f9;
    color: inherit;
}
.btn {
    font-weight: inherit;
}

@media (min-width: 1460px) {
    .modal-xl {
        width: 1400px !important;
    }
}

@media (min-width: 1160px) and (max-width: 1450px) {
    .modal-xl {
        width: 1100px !important;
    }
}

.cursor-pointer-icon:hover {
    cursor: pointer;
}

.padding {
    padding: 18px;
}
/*
New media header for pages
 */
.media-library-header {
    position: sticky;
    top: var(--admin-navbar-height);
    background-color: white;
    z-index: 1;
    padding: 20px 10px;
    margin-top: -20px;
    border-bottom: 1px solid #eee;
}

.media-content {
    margin-top: 20px;
}
.media-thumb {
    background-color: #f0f0f0;
    border-radius: 4px;
    height: 100px;
    width: 100px;
    background-position: center center;
    background-size: cover;
    margin-bottom: 10px;
    display: block;
}
.media-container {
    margin: 20px;
    display: inline-block;
    text-align: center;
    position: relative;
}
.dropzone .dz-message {
    font-style: normal;
}
.delete-attachment {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #e26a6a;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.9em;
    line-height: 22px;
}
.delete-attachment:hover, .delete-attachment:focus {
    background-color: #f0f0f0;
    color: #e26a6a;
}
.media-name {
    max-width: 100px;
    text-overflow: ellipsis;
    overflow-x: hidden;
    white-space: nowrap;
}


/*
styles override
 */
.bg-gray-darker {
    background-color: #242f33;
}
.bg-brand {
    background-color: var(--brand-color) !important;
}
* {
    outline: none;
}
.push-40-t {
    margin-top: 40px !important;
}
.select-indicator {
    position: absolute;
    top: 14px;
    right: 8px;
    pointer-events: none;
}
.datepicker {
    padding: 18px;
}
.datepicker td, .datepicker th{
    text-align: center;
    cursor: pointer;
}
th.prev {
    text-align: left;
}
th.next {
    text-align: right;
}
td.day {
    cursor: pointer;
}
span.month, span.year {
    padding: 2px;
    cursor: pointer;
}
.old {
    color: #aaa !important;
}
.remove {
    cursor: pointer;
}
.full-height {
    height: 100vh;
}
.btn-wide {
    padding-left: 40px;
    padding-right: 40px;
}
/**
Sidebar light
 */
#sidebar.bg-white .nav-main a {
    line-height: 1rem;
    color: #575757;
}
#sidebar.bg-white .nav-main-link:hover, #sidebar.bg-white .nav-main a:hover, #sidebar.bg-white .nav-main a:focus {
    color: #222;
    background-color: #f9f9f9;
}
#sidebar.bg-white .nav-main a > i{
    color: #575757;
}
#sidebar.bg-white .nav-main a:hover > i, #sidebar.bg-white .nav-main a:focus > i{
    color: #222;
}
#sidebar.bg-white .nav-main-heading {
    color: #979797;
    font-weight: 300;
}
#sidebar.bg-white .side-header {
    /*background-color: #f7f7f7;*/
    box-shadow: 0 0 1px #f0f0f0;
}
#sidebar.bg-white .nav-main a.nav-submenu::before {
    color: #979797;
}
#sidebar.bg-white .nav-main ul {
    background-color: rgba(0,0,0,.02);
}

/**
Dark header
 */
#page-container.page-header-dark #header-navbar {
    color: #d6d6d6 !important;
    background-color: var(--brand-color) !important;
}
.page-header-dark #header-navbar .btn-dual{
    color: #fff;
    background-color: var(--brand-color);
    border-color: var(--brand-color);
}
.page-header-dark #header-navbar .btn-dual.focus, .page-header-dark #header-navbar .btn-dual:focus,
.page-header-dark #header-navbar .btn-dual:hover{
    color: #fff;
    background-color: var(--brand-color);
    border-color: var(--brand-color);
    box-shadow: none;
}
.page-header-dark #header-navbar .form-material.form-material-primary > .form-control:focus {
    -webkit-box-shadow: 0 2px 0 #f2f2f2;
    box-shadow: 0 2px 0 #f2f2f2;
}
.page-header-dark #header-navbar .form-material.form-material-primary > .form-control:focus ~ .input-group-addon {
    color: #f2f2f2;
    -webkit-box-shadow: 0 2px 0 #f2f2f2;
    box-shadow: 0 2px 0 #f2f2f2;
}
/**
Datatables
 */
.dataTables_paginate  {
    text-align: right;
}
.dataTables_filter {
    text-align: right;
}
.dataTables_filter input {
    margin-left: 12px;
}
.css-checkbox.css-checkbox-sm {
    margin: 0;
}
.datatable tr.selected {
    background-color: rgba(135 ,244 , 251, 0.2) !important;
}

.text-gray-lighter .si {
    color: #f9f9f9 !important;
}
.text-gray-lighter:hover .si {
    color: #fefefe !important;
}
#side-overlay {
    width: 320px;
}
@media screen and (max-width: 421px){
    #side-overlay {
        width: 100%;
    }
}
.text-90 {
    font-size: 90%;
}
.avatar-container .overlay-item{
    opacity: 0;
}
.avatar-container:hover {
    cursor: pointer;
}

.avatar-container:hover .overlay-item{
    opacity: 1;
}
/*
extra
 */
#page-container .icon{
    opacity: 0;
}
#page-container.sidebar-mini .icon{
    opacity: 1;
}

.nav-pills > li > a {
    font-weight: 400;
    font-size: 0.9em;
}
.text-color-indicator {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-left: 6px;
    transform: translateY(2px);
}
#sidebar-scroll {
    min-height: 100vh;
}
.btn-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: transparent;
}

.btn-success:hover {
    border-color: transparent;
}

/*
New button
 */
.close-content {
    position: fixed;
    top: var(--admin-navbar-height);
    /*right: var(--right-sidebar-with);*/
    /*right: 90px;*/
    right: 35px;
    padding: 8px 20px;
    background-color: #fff;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
    text-align: center;
    margin-right: 6px;
    z-index: 1;
    pointer-events: auto;
}
.close-content.op0 {
    pointer-events: none;
}

/*
Hotkey
 */
.ds-hotkey-container {
    float: right;
    display: flex;
    align-items: center;
}
.ds-hotkey {
    background-color: #333;
    color: white;
    border: none;
    border-radius: 3px;
    width: 28px;
    height: 24px;
    margin: -2px 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/*
Hotfix
 */
.container {
    max-width: 100%;
}


.key-value {
    font-size: 1.1em;
    padding: 10px;
    border-radius: 4px;
    /*background-color: #f7f7f7;*/
    margin: 4px 0;
    border-bottom: 1px solid #f7f7f7;
    display: block;
}
a.key-value {
    cursor: pointer;
}
.key-value .nl-key {
    color: #999;
}
.key-value .nl-value {
    color: #333;
    font-weight: 600;
    text-align: right;
    flex: 1;
}
.key-value .nl-icon {
    font-size: 14px;
    margin: 5px 10px 0 0;
    color: #999;
}
.nl-badge {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    float: right;
}
.admin-cc-type {
    max-width: 32px;
}

.sale-item {
    display: flex;
}
.sale-item .sale-item-name {
    flex: 1;
}
.sale-item .sale-item-amount {
    font-weight: 600;
}
.align-items-center {
    align-items: center;
}
.d-flex {
    display: flex;
}

/*
Fixes
 */
.badge {
    padding: 3px 7px 4px 7px;
}
.toast {
    position: fixed;
    top: 70px;
    right: -320px;
    z-index: 11;
    background-color: white;
    min-width: 200px;
    max-width: 320px;
    border-radius: 4px;
    opacity: 0;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition:all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}
.toast.showing {
    right: 16px;
    opacity: 1;
}

.toast .toast-header {
    padding: 6px 10px 0 10px;
    border-radius: 4px 4px 0 0;
}
.toast .toast-body {
    padding: 10px 20px 10px 16px;
}
.toast button.close{
    right: 10px;
    top: 4px;
}