html,
body {
    overflow: hidden;
}

.container-fluid {
    background-color: #3c4858;
}

.sidebar {
    z-index: 2;
    width: 28%;
    /* width: 35%; */
    max-width: 375px;
    height: 95vh;
    border-radius: 6px !important;
    position: static;
}

.sidebar * {
    color: white;
}

.sidebar #logo-light {
    display: inline;
}

.sidebar #logo-dark {
    display: none;
}

.dark-edition .sidebar,
.dark-edition .sidebar .sidebar-background::after {
    opacity: 1 !important;
}

.border-bottom-nav {
    border-color: hsla(0, 0%, 71%, 0.3) !important;
}

.sidebar .logo::after {
    background-color: hsla(0, 0%, 71%, 0.3) !important;
}

/* .sidebar .sidebar-wrapper {
    position: relative;
    height: calc(100vh - 80px);
    width: 300px  !important;
} */

.tooltip-inner {
    background-color: #464646 !important;
    opacity: 0.95 !important ;
    color: #ffffff !important ;
}
.bs-tooltip-top .arrow::before,
.bs-tooltip-auto[x-placement^="top"] .arrow::before {
    border-top-color: #464646 !important;
}

.bs-tooltip-right .arrow::before,
.bs-tooltip-auto[x-placement^="right"] .arrow::before {
    border-right-color: #464646 !important;
}

.bs-tooltip-bottom .arrow::before,
.bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
    border-bottom-color: #464646 !important;
}

.bs-tooltip-left .arrow::before,
.bs-tooltip-auto[x-placement^="left"] .arrow::before {
    border-left-color: #464646 !important;
}

.dark-edition .sidebar .logo .simple-text {
    color: #ff8600 !important;
    font-family: "Quicksand", sans-serif !important;
    font-size: 1.5em !important;
}

.simple-text span {
    color: #a9afbbd1;
    font-size: 0.5em !important;
    font-family: "Quicksand", sans-serif !important;
}

.simple-text input {
    width: calc(100% - 30px) !important;
    margin: 5px 15px 0px 15px !important;
    text-align: center;
    background: #212d44;
    font-style: italic;
    background-image: none !important;
}

.dark-edition .simple-text .is-focused .form-control {
    background: #2f3748 !important;
    color: white !important;
}

.border-bottom {
    border-bottom: 0px !important;
}

.btn-attach {
    margin: -10px !important;
    padding: 0px !important;
}

.sidebar .nav li .dropdown-menu a,
.sidebar .nav li a {
    margin: 0px 0 !important;
    font-size: 13px;
}

.btn-outline {
    background: transparent;
    min-height: 40px !important;
    max-height: 40px !important;
    text-transform: uppercase;
    color: white;
}

.file-field {
    background: #1e2d46;
    height: 30px !important;
    padding: 5px 10px 10px 10px !important;
    margin-bottom: 20px;
    font-style: italic;
}

.file-field h6 {
    text-transform: none !important;
    color: #798293 !important;
}

.tooltip-arrow,
.size-tooltip + .tooltip > .tooltip-inner {
    background-color: #f00;
}

.attach-icon {
    height: 60px;
    width: 60px;
}

.dark-edition .form-control:read-only {
    background-image: none !important;
    background: transparent !important;
}

.nav-link {
    display: inline-grid !important;
    padding: 0rem !important;
}

.sidebar .nav i {
    position: relative !important;
    left: 30% !important;
    margin-right: 0px !important;
    width: 30px;
    color: white;
}

.nav-pills .nav-item .nav-link {
    min-width: 80px !important;
}

.nav-pills .nav-item .nav-link.active {
    background-color: #2d384c;
    box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2),
        0 13px 24px -11px rgb(33, 45, 68);
    color: #ffae49;
}

.nav-pills .nav-item i {
    font-size: 2.8em !important;
    transition: all 0.15s ease-in-out;
}

.nav-pills .nav-item .nav-link.active i {
    color: #ffae49;
    font-size: 3em !important;
}

.nav-pills .nav-item .nav-link {
    font-size: 0.7em !important;
}

.view-adjustment {
    position: fixed;
    top: 55px;
    left: 8px;
    /* transform: translate(-50%, -50%); */
    z-index: 1;
}

.wp-take-tour {
    position: fixed;
    top: 3vh;
    /* top:24vh; */
    left: 40px;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.take-tour-button,
.take-tour-button:hover,
.take-tour-button:focus,
.take-tour-button:active {
    outline: none;
    background-image: none;
    background-color: transparent;
    padding: 5px;
    color: #fff;
    border: 1px solid #ffae49;
    border-radius: 5px;
    border-color: #ffae49;
    box-shadow: 0 2px 2px 0 hsl(223deg 9% 60% / 14%),
        0 3px 1px -2px hsl(223deg 9% 60% / 20%),
        0 1px 5px 0 hsl(223deg 9% 60% / 12%);
    text-shadow: none;
    /* margin-left: 20px; */
    font-weight: 500;
}

.specification {
    font-size: 0.8em;
    position: fixed;
    bottom: 25px;
    /* bottom: 50px; */
    left: 10px;
    z-index: 1;
}

.specification .d-flex {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.specification p {
    line-height: 0.5em;
}
.specification p span {
    font-weight: bold;
}

.price-adjustment {
    position: fixed;
    bottom: 20px;
    width: calc(100vw - 375px);
    /* bottom:50px; */
    /* width:85%; */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1;
}
.price-adjustment button {
    flex-grow: 0;
}

.btn-price {
    font-weight: bold;
}

.modal-dialog .modal-content {
    box-shadow: none !important;
    background: transparent !important;
}

#slider_lighting {
    margin-right: 10px;
}

.noUi-tooltip {
    display: none;
}
.noUi-active .noUi-tooltip {
    display: block;
}

.view-adjustment-image {
    padding: 5px;
    width: 75px;
    height: 75px;
    margin: 5px;
    text-align: center;
    border: 1px solid white;
}

.view-adjustment-image small {
    font-size: 0.8em;
    margin-top: 5px;
}

.logo-loader {
    text-align: center;
    position: absolute;
    top: 45vh;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo-loader a {
    color: #ff8600 !important;
    font-family: "Quicksand", sans-serif !important;
    font-size: 2.5em !important;
    text-decoration: none;
}

.logo-loader span {
    font-style: italic;
    color: #a9afbbd1 !important;
    font-size: 1em !important;
    font-family: "Quicksand", sans-serif !important;
}

/* Universal START */
.main-color {
    background-color: rgba(0, 0, 0, 0.75);
}

.secondary-color {
    background-color: #2f3235;
}

h6,
small {
    color: white;
}

.form-control {
    color: white;
}

.svg_transparent {
    opacity: 0.5;
}

.btn-transparent {
    background-color: rgba(0, 0, 0, 0);
    box-shadow: none;
}

.btn-white {
    color: #3b3b3b !important;
}

.disabled:not(.btn-white):hover {
    background-color: transparent !important;
    box-shadow: none;
}

.form-control,
.is-focused .form-control {
    color: white;
    background-image: linear-gradient(0deg, orange 2px, rgba(156, 39, 176, 0) 0),
        linear-gradient(0deg, #d2d2d2 1px, hsla(0, 0%, 82%, 0) 0);
}

/* noUiSLider Start */
.noUi-base {
    background-color: #2f3748;
    width: 100%;
    height: 7px;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.noUi-horizontal {
    height: 7px;
}

.noUi-handle {
    width: 17px;
    height: 17px;
    top: -5px;
}

.slider.slider-info .noUi-connect {
    background-color: #636d7f;
}

.noUi-handle {
    background-color: #ffae49;
}

.slider.slider-info .noUi-handle {
    /* border: 2px solid white; */
    border: 2px solid #ffae49;
}

.noUi-origin[style^="left: 0"] .noUi-handle {
    background-color: #ffae49 !important;
}

/* noUiSLider End */

/* Universal END */

/* PERFORATION Start */
.toggle {
    /*border: 1px solid white;*/
}

.togglebutton label input[type="checkbox"]:checked + .toggle::after {
    border-color: #ffffff00;
}

.togglebutton label .toggle,
.togglebutton label input[type="checkbox"][disabled] + .toggle {
    background-color: rgb(58, 65, 81);
}

.togglebutton label .toggle::after {
    background-color: #ffae49;
    /* border: 2px solid rgba(0, 0, 0, 0.54); */
}

.togglebutton label .toggle::after {
    /* border: 2px solid rgba(255, 255, 255, 1) !important; */
    background-color: #ffae49 !important;
}

.togglebutton label input[type="checkbox"]:checked + .toggle {
    background-color: rgb(96, 109, 128);
    border-color: #ffffff00 !important;
}

.shapeButtons {
    width: 40px;
    cursor: pointer;
}

/* PERFORATION End */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

/* MATERIAL START */
.material_preview {
    width: 40%;
    height: 50px;
    background-color: transparent;
    /* border: 1px solid white; */
    margin-right: auto;
}

.dot {
    height: 15px;
    width: 15px;
    border: 1px solid white;
    border-radius: 50%;
    margin-right: 10px;
}

/* ==========  Select Field ========== */
/* Style Select Field */
select {
    font-family: inherit;
    background-color: transparent;
    width: 100%;
    padding: 4px 0;
    font-size: 13px;
    color: white;
    border: none;
    border-bottom: 1px solid white;
}

option {
    color: black;
}

/* Remove focus */
select:focus {
    outline: none;
}

/* Hide label */
.mdl-selectfield label {
    display: none;
}

/* Use custom arrow */
.mdl-selectfield select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.mdl-selectfield {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    position: relative;
}

.mdl-selectfield::after {
    position: absolute;
    top: 0.75em;
    right: 0.5em;
    /* Styling the down arrow */
    width: 0;
    height: 0;
    padding: 0;
    content: "";
    border-left: 0.25em solid transparent;
    border-right: 0.25em solid transparent;
    border-top: 0.375em solid white;
    pointer-events: none;
}

/* MATERIAL END */

.nav-link * {
    color: white;
}

#left-pane {
    width: 27%;
    height: 100vh;
    float: left;
}

#left-control {
    height: auto;
    max-height: calc(100vh - 30vh);
    float: left;
    overflow: auto;
}

.lpn-text {
    font-size: 1.2vw;
    /* font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1600 - 300))); */
}

.slider_amount_min_max {
    width: calc(100% - 130px);
}

.bmd-form-group {
    padding: 0px;
}

/* RIGHT PANE */
/* #right-pane {
    width: 100%;
    height: 100vh;
    background-color: red !important;
} */

.wall-image,
.cpButtons {
    cursor: pointer;
}

.wall-image {
    width: 100%;
    height: 50px;
    background-size: cover;
}

.cpButtons img {
    height: 40px;
}

.material-category-title.selected * {
    font-weight: 700 !important;
    color: #ffae49 !important;
}
.material-category-title.selected::before {
    font-weight: 700 !important;
    color: #ffae49 !important;
    /* content: "> "; */
    margin-right: 5px;
}

#hardware_color_picker {
    width: 50px;
    height: 50px;
}

#frame_color_picker {
    width: 50px;
    height: 50px;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1a2035;
    /* change if the mask should have another color then white */
    z-index: 99;
    /* makes sure it stays on top */
}

#status {
    width: 200px;
    height: 200px;
    position: absolute;
    left: 50%;
    /* centers the loading animation horizontally one the screen */
    top: 65%;
    /* centers the loading animation vertically one the screen */

    margin: -100px 0 0 -100px;
    /* is width and height divided by two */
}

/* Order Spinner*/
.spinner {
    padding: 0;
    text-align: center;
}

.spinner > div {
    width: 18px;
    height: 18px;
    background-color: #ffae49;

    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

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

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

#dec-button > button {
    max-width: 236px;
}

@-webkit-keyframes sk-bouncedelay {
    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1);
    }
}

@keyframes sk-bouncedelay {
    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/* Extra small devices (portrait phones, less than 576px) */
/* No media query for `xs` since this is the default in Bootstrap */

/* Small devices (landscape phones, 576px and up) */
/* @media (min-width: 576px) { ... }

/* Medium devices (tablets, 768px and up) */
/* @media (min-width: 768px) { ... } */

/* Large devices (desktops, 992px and up) */
/* @media (min-width: 992px) { ... } */

/* Extra large devices (large desktops, 1200px and up) */
/* @media (min-width: 1200px) { ... } */
@media (max-width: 1440px) {
    .sidebar {
        width: 35%;
        height: 120vh;
        transform: scale(0.78);
        /* scale(0.8) */
        position: relative;
        right: -3.5%;
    }
}

.panel-info {
    font-size: 1.5em;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 700px),
    only screen and (min--moz-device-pixel-ratio: 2) and (min-width: 700px),
    only screen and (-o-min-device-pixel-ratio: 2/1) and (min-width: 700px),
    only screen and (min-device-pixel-ratio: 2) and (min-width: 700px),
    only screen and (min-resolution: 192dpi) and (min-width: 700px),
    only screen and (min-resolution: 2dppx) and (min-width: 700px) {
    .panel-info {
        font-size: 1.5em;
    }
}

.introjs-tooltip {
    max-width: 100%;
    min-width: 480px;
}

.customTooltip * {
    font-size: 18px;
    font-weight: 400;
    text-shadow: none;
}

.customTooltip .introjs-tooltip-title {
    color: #ffae49;
    font-weight: 500;
}

.customTooltip .introjs-skipbutton:hover {
    color: #000000;
    font-weight: 500;
}

.customTooltip .introjs-skipbutton {
    color: #1f283e;
    font-weight: 500;
}

.customTooltip .introjs-nextbutton {
    color: white;
    background-color: #1f283e;
    font-weight: 500;
}

/* .customTooltip .introjs-prevbutton {
    float: none;
    margin-right: 10px;
} */

.customTooltip .introjs-disabled {
    display: none !important;
}

.machingePanelTooltip {
    top: 15% !important;
    left: 25% !important;
    width: 40%;
}

.machingePanelTooltip * {
    font-size: 18px;
    font-weight: 400;
    text-shadow: none;
}

.machingePanelTooltip .introjs-tooltip-title {
    color: #ffae49;
    font-weight: 500;
}

.machingePanelTooltip .introjs-skipbutton {
    color: #1f283e;
    font-weight: 500;
}

.machingePanelTooltip .introjs-nextbutton {
    color: white;
    background-color: #1f283e;
    font-weight: 500;
}

/* .machingePanelTooltip .introjs-prevbutton {
    float: none;
    margin-right: 10px;
} */

#categoryImages {
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0 2em;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
#categoryImages::-webkit-scrollbar {
    display: none;
}

#categoryImages .nav {
    display: inline-block !important;
    z-index: 3;
    /* background-color: #333; */
    padding: 0;
    overflow: hidden !important;
    white-space: nowrap;
    margin: 0;
}

#categoryImages .nav .nav-item {
    display: inline-block !important;
    color: white;
    text-align: center;
    padding: 10px;
    text-decoration: none;
}

/* #categoryImages .nav .nav-item:hover {
    background-color: #777;
} */

#categoryImages .nav .material_category_preview {
    width: 35px;
    height: 35px;
    background-color: transparent;
    border-radius: 5px;
    box-shadow: 2px 2px 9px 2px rgb(33 45 68 / 39%) !important;
}

#categoryImages .nav .nav-item .nav-link .active .material_category_preview {
    background-color: white;
}

#categoryImages .nav .nav-item .nav-link {
    display: inline-grid !important;
    padding: 0rem !important;
    min-width: 100% !important;
}

#categoryImages .nav .nav-item .nav-link.active {
    background-color: #2d384c !important;
    box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2),
        0 13px 24px -11px rgb(33, 45, 68) !important;
    color: #ffae49 !important;
    border: 5px solid #ffae49;
    border-radius: 10px;
    min-width: 100% !important;
}

#categoryImagesTab {
    transition: transform 0.4s ease-in;
}

.content-cs {
    display: inline-flex;
    position: relative;
}

.over-cs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    text-align: center;
    color: #ffffff;
    background-color: #1f293e;
    border-color: #ffffff;
    font-weight: bold;
    box-shadow: none;
    opacity: 0.8;
}

.over-cs > span {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.category-images-content {
    position: relative;
}

.cat-button-css {
    position: absolute;
    bottom: 0;
    width: 40px;
    height: 20px;
    background: rgb(31 41 62 / 62%);
    color: white;
}
.cat-button-css:focus {
    outline: none;
    box-shadow: none;
    background: rgb(31 41 62 / 62%);
    color: white;
}

.cat-prev-button {
    left: 0;
    z-index: 1;
    border: none;
    font-size: 21px;
    height: 100%;
    font-weight: 700;
}
.cat-next-button {
    right: 0;
    z-index: 1;
    border: none;
    font-size: 21px;
    height: 100%;
    font-weight: 700;
}

.hideMe {
    display: none;
    animation: fade-out 1s;
}

#welcomeModal .modal-content {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#welcomeModal .card-body {
    /* height: 63vh; */
    color: white;
}

/* -- quantity box -- */
#sub,
#add {
    width: 30px;
    font-weight: bold;
    background-color: #636c7e !important;
}

.member-block {
    width: 100%;
    height: 100%;
    background-color: rgba(30, 39, 62, 0.8);
    top: 0;
    left: 0;
    z-index: 11;
}

/* Override light theme */

.override-light .sidebar {
    background-color: white;
}

.override-light .sidebar * {
    color: black;
}

.override-light .sidebar .file-field {
    background-color: white;
}

.override-light .btn-outline {
    color: #333333;
}

.override-light .btn-outline:hover {
    color: black;
    background-color: white;
}

.override-light .sidebar .noUi-base {
    background-color: #cccccc;
}

.override-light .sidebar .nav i {
    color: unset;
}

.override-light .sidebar .simple-text span {
    color: #444444;
}

.override-light .sidebar #logo-light {
    display: none;
}

.override-light .sidebar #logo-dark {
    display: inline;
}

.override-light .container-fluid {
    background-color: #d9dede;
}

.override-light .view-adjustment * {
    color: black;
}

.override-light .view-adjustment .view-adjustment-image {
    border-color: black;
}

.override-light .view-adjustment .view-adjustment-image img {
    filter: invert();
}

.override-light .over-cs {
    background-color: #ffffff;
    color: black;
}

.override-light .cat-button-css {
    background: #fff;
}

.override-light .shapeButtons {
    filter: invert();
}

.override-light .nav-pills .nav-item .nav-link.active {
    background-color: #ffae49 !important;
    box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2),
        0 13px 24px -11px rgba(33, 45, 68, 0.3);
    color: #2d384c;
}

.override-light .nav-pills .nav-item .nav-link.active i {
    color: #2d384c;
}

.override-light .specification * {
    color: black;
}

.override-light .take-tour-button,
.override-light .take-tour-button:hover,
.override-light .take-tour-button:focus,
.override-light .take-tour-button:active {
    color: black;
    border-color: #1e2d46;
}

.override-light .member-block {
    background-color: rgba(255, 255, 255, 0.8);
}

@media screen and (max-width: 1444px) {
    .price-adjustment {
        width: calc(100vw - 300px);
        justify-content: center;
        align-items: flex-end;
        flex-direction: column;
    }
}
