@import url("bootstrap-icons-1.10.5/font/bootstrap-icons.css");

/* PAGE */

footer {
    background-color: #fdf9f4;
}

/* CONFIGURATOR */

section {
    padding-top: 105px;
    padding-bottom: 60px;
}

#product-configurator-container {
    min-height: 700px;
}

.product-layer {
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    max-width: 344px!important;
    margin: 0 auto;
}

.product-row:first-child.is-top .product-layer {
    height: 250px;
}

.product-row .product-layer {
    height: 130px;
}

.product-row {
    margin-top: 0;
    margin-bottom: -26px;
}

.product-row:first-child.is-top {
    margin-bottom: -19px;
}

.arrow-container {
    cursor: pointer;
    height: 100%;
}

.arrow-container .bi:hover, .plus-min-container:hover {
    opacity: 1!important;
}

.arrow-next, .arrow-prev {
    cursor: pointer;
    height: 100%;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

.bi {
    cursor: pointer;
    font-size: 24px;
}

.arrow-next .bi, .arrow-prev .bi {
    cursor: pointer;
    height: 100%;
    width: 100%;
    fill: #222;
}

.btn-color-picker {
    cursor: pointer;
    height: 24px;
    width: 24px;
    border: none;
    border-radius: 50%;
    margin-right: 4px;
    margin-bottom: 4px;
}

.btn-color-picker:hover {
    opacity: 1!important;
}

.opacity-low {
    opacity: 0.1!important;
}

/* SIDEBAR */

.collapsible-sidebar {
    background: #fff;
    display: block;
    height: 100%;
    position: fixed;
    width: 620px;
    z-index: 1050;
    top: 0;
    bottom: 0;
    padding: 22px;
}

.collapsible-sidebar.open {
    box-shadow: 0 0 20rem 5rem rgb(41 48 66 / 10%);
}

.collapsible-sidebar.collapse-right {
    right: -620px;
    transition: right .2s ease-in-out;
}

.collapsible-sidebar.collapse-right.open {
    right: 0;
}

.collapsible-sidebar .sidebar-footer {
    position: absolute;
    bottom: 46px;
    max-width: 200px;
    cursor: pointer;
}

.btn-collapsible-sidebar-container {
    right: -5px;
    position: fixed;
    top: 65%;
    z-index: 1050;
    cursor: pointer;
    border-radius: 5px 0 0 5px;
    border: none;
}

.btn-collapsible-sidebar-container.open {
    right: 620px;
    transition: right .2s ease-in-out;
}

.btn-collapsible-sidebar-container:focus {
    box-shadow: none;
}

.btn-file-picker-sidebar {
    top: 60%;
}

@media (max-width: 1400px) {
    
}

@media (max-width: 1200px) {
    #product-configurator-container {
        min-height: 650px;
    }

    .product-row {
        margin-bottom: -21px;
    }

    .product-row:first-child.is-top {
        margin-bottom: -16px;
    }

    .product-row:first-child.is-top .product-layer {
        height: 162px!important;
    }

    .product-layer {
        width: 217px;
        height: 87px!important;
    }    
}

@media (max-width: 992px) {
    #product-configurator-container {
        min-height: 550px;
    }

    .product-row {
        margin-bottom: -21px;
    }

    .product-row:first-child.is-top {
        margin-bottom: -16px;
    }

    .product-row:first-child.is-top .product-layer {
        height: 162px!important;
    }

    .product-layer {
        width: 217px;
        height: 87px!important;
    }
}

@media (max-width: 768px) {
    .collapsible-sidebar {
        width: 100%;
        display: none;
    }

    .collapsible-sidebar.open {
        display: block;
    }

    textarea#markdown-editor {
        max-height: 230px;
    }

    #product-configurator-container {
        min-height: 450px;
    }

    .product-row {
        margin-bottom: -21px;
    }

    .product-row:first-child.is-top {
        margin-bottom: -16px;
    }

    .product-row:first-child.is-top .product-layer {
        height: 162px!important;
    }

    .product-layer {
        width: 217px;
        height: 87px!important;
    }
}

@media (max-width: 576px) {
    #product-configurator-container {
        min-height: 350px;
    }

    .product-row {
        margin-bottom: -21px;
    }

    .product-row:first-child.is-top {
        margin-bottom: -16px;
    }
    
    .product-row:first-child.is-top .product-layer {
        height: 162px!important;
    }
    
    .product-layer {
        width: 217px;
        height: 87px!important;
    }
}