@font-face {
    font-family: 'Segoe UI Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Segoe UI Regular'), url('Segoe UI.woff') format('woff');
}

:root {
    --orange: #FF8400;
    --grey: #C9C9C9;

    /* Color variables for Seitenteil vorn */
    --whisper-grey: #E5E5E5;
    --emperor-grey: #4B4748;
    --concrete-grey: #D0CFCB;
    --space-shuttle-grey: #41403E;
    --sunshade: #FAA143;
    --carmine: #84002A;
    --fun-blue: #244B82;
    --atlantis: #98CE54;
    --pink-swan: #BDB7B7;
    --dark-grey: #7D7777;
}

* {
    font-family: 'Segoe UI', sans-serif;
}

span {
    text-transform: uppercase;
}

/* PDF START */
#content {
    position: absolute;
    z-index: -1;
    /* z-index: 10; */
    width: 600px;
    background: #fff;
    height: 750px;
    overflow: hidden;
}

.pdf_head {
    margin-left: 30px;
    color: #FB8600;
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.pdf_header, 
.pdf_color {
    padding: 5px;
    margin-left: 30px;
    margin-top: 0;
    margin-bottom: 0;
}

.pdf_header {
    background: #FB8600;
    color: #fff;
    border: 1px solid black;
    font-size: 1rem;
}

.pdf_color {
    background: #fff; 
    color: #FB8600;
    font-size: .8rem;
}

.pdf_left,
.pdf_right {
    margin-top: 50px;
}

.pdf_left {
    width: 250px;
    background: #fff; 
    margin-left: 30px;
}

.pdf_right {
    width: 75px;
    margin-left: 140px;
    background: #fff; 
}

#pdf_model {
    height: 350px !important;
}

#pdf_model_ios {
    display: flex;
    

    height: 100px !important;
    width: 100%;
} 
#pdf_model_ios img{
    width: 50%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}
/* PDF END */

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

.main {
    height: 100vh;
    width: 80%;
    position: absolute;
    display: flex;
    justify-content: center;
    background-color: #fff;
    box-sizing: border-box;
}


.minus {
    background-image: url('../assets/images/minus2.svg') !important;
    background-repeat: no-repeat;
    background-position: center;
}

.sidebar {
    height: 100vh;
    width: 20%;
    position: fixed;
    right: 0;
    border-left: 1px solid var(--grey);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    z-index: 1;
    background: white;
}

.sidebar > ul > li {
    width: 100%;
}


.options-group {
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    column-gap: 5px;
    row-gap: 10px;
    padding: 0;
    margin-top: 10px;
    display: none;
}

.active {
    display: grid;
}

.active-option {
    border: 2px solid var(--orange) !important;
}

.sidebar > ul > li > ul > li {
    height: 75px;
    width: 75px;
    border: 1px solid var(--grey);
    cursor: pointer;
    box-sizing: border-box;
}


li > span {
    position: relative;
    color: #000000;
    width: 100%;
    font-weight: 600;
    height: 50px;
    font-size: 14px;
    display: block;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 10px;
    cursor: pointer;
    border: 1px solid var(--grey);
    border-radius: 0px 30px 30px 0px;
    margin: 10px 0px 10px 0px;
}

.circle {
    border:1px solid var(--orange);
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    margin: 5px;
    background-image: url('../assets/images/plus2.svg');
    background-repeat: no-repeat;
    background-position: center;
}



.sidebar > ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    padding: 0px 10px 0px 10px;
}

.btn-save {
    width: 90%;
    color: #FFFFFF;
    background: var(--orange);
    font-size: 15px;
    text-align: center;
    font-weight: 700;
    border-radius: 30px;
    margin-bottom: 20px;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
}

.sidebar > .btn-save {
    line-height: 60px;
}

.main > .btn-save {
    display: none;
    position: absolute;
    line-height: 40px;
    border: none;
    bottom: 20px;
}

.hamburger-btn {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 10px;
    z-index: 100;
    width: 22px;
    height: 22px;
    padding: 1rem;
    background-image: url('../assets/images/hamburger.svg');
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    display: none;
}


.close {
    background-image: url('../assets/images/close.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.show-sidebar {
    display: flex !important;
}
/* Tooltip text */
.tooltip {
    position: absolute !important;
    background-color: #fff;
    padding: 2px;
    border: 1px solid #000000;
    z-index: 9999;
}
.tooltiptext {
    visibility: hidden;
    /* width: 160px;
    background-color: #fff;
    color: #000;
    display: flex;
    padding: 0;
    justify-content: center;
    
    border-radius: 0px;
    font-size: 13px; */
    /* Position the tooltip text - see examples below! */
    /* position: absolute;
    top: 90%;
    left: 110%;
    z-index: 1;
    height:auto;
    padding: 5px 0; */
}
/* .options-group-element{
    position: relative;
}
.options-group-element:hover .tooltiptext {
    visibility: visible;
} */


/* Media queries */
@media screen and (max-width: 1800px) {
    .sidebar > ul > li > ul > li {
        height: 70px;
        width: 70px;
    }

    .span-label {
        width: 90%;
        font-size: 13px;
    }
}

@media screen and (max-width: 1600px) {
    .sidebar > ul > li > ul  {
        row-gap: 5px;
    }

    .sidebar > ul > li > ul > li {
        height: 65px;
        width: 65px;
    }

    .sidebar > #btn-save {
        line-height: 55px;
    }
}

@media screen and (max-width: 1500px) {

    .sidebar > ul > li > ul > li {
        height: 60px;
        width: 60px;
    }

    li > span {
        height: 50px;
        font-size: 14px;
    }
    
    .circle {
        height: 40px;
        width: 40px;
    }

    .sidebar > #btn-save {
        line-height: 45px;
    }
    
}

@media screen and (max-width: 1400px) {
    .sidebar > ul > li > ul > li {
        height: 55px;
        width: 55px;
    }
}

@media screen and (max-width: 1300px) {
    .sidebar {
        width: 25%;
    }

    .main {
        width: 75%;
    }

    .sidebar > ul > li > ul > li {
        height: 60px;
        width: 60px;
    }
}

@media screen and (max-width: 1200px) {
    .sidebar > ul > li > ul > li {
        height: 65px;
        width: 65px;
    }

    .main {
        width: 70%;
    }

    .sidebar {
        width: 30%;
    }
}

@media screen and (max-width: 1100px) {
    li > span {
        height: 45px;
        font-size: 12px;
    }
    
    .circle {
        height: 35px;
        width: 35px;
    }

    .sidebar > #btn-save {
        line-height: 40px;
    }

}

@media screen and (max-width: 991px) {
    .sidebar {
        width: 35%;
    }

    .main {
        width: 65%;
    }

    #pdf_model {
        height: 25px !important;
    }
}

@media screen and (max-width: 872px) {
    .sidebar > ul > li > ul > li {
        height: 55px;
        width: 55px;
    }
}

@media screen and (min-width: 576px) and (max-height: 767px) { 
    .pdf_left,
    .pdf_right {
        margin-top: 10px;
    }

    .pdf_left {
        width: 250px;
        background: #fff; 
        margin-left: 30px;
    }

    .pdf_right {
        width: 70px;
        margin-left: 140px;
        background: #fff; 
    }

    .pdf_head {
        /* font-size: 1rem; */
    }

    .pdf_header,
    .pdf_color {
        width: 450px;
    }

    .pdf_header {
        /* font-size: .7rem; */
    }

    .pdf_color {
        background: #fff; 
        color: #FB8600;
        /* font-size: .5rem; */
    }

    #pdf_model {
        height: 225px !important;
    }
}

@media screen and (max-width: 767px) {

    .sidebar {
        width: 38%;
    }

    .main {
        width: 62%;
    }

    .span-label {
        font-size: 11px;
        font-weight: normal;
        width: 80%;
    }

    .sidebar > ul > li > ul > li {
        height: 55px;
        width: 55px;
    }

}

@media screen and (max-width: 680px) {

    .sidebar > ul > li > ul > li {
        height: 45px;
        width: 45px;
    }

}

@media screen and (max-width: 576px) {

    #content {
        width: 175px;
        height:250px;
    }

    .pdf_left,
    .pdf_right {
        margin-top: 10px;
    }

    .pdf_left {
        width: 75px;
        margin-left: 30px;
    }

    .pdf_right {
        width: 25px;
        margin-left: 40px;
    }

    .pdf_header, 
    .pdf_color {
        padding: 2px;
        padding-top: 0;
    }
    .pdf_head,
    .pdf_header,
    .pdf_color  {
        font-size: .4rem;
    }

    .pdf_head {
        margin-bottom: 3px;
    }

    #pdf_model {
        height: 75px !important;
    }


    html, 
    body,
    .main,
    .sidebar {
        height: 100%;
    }

    .main {
        width: 100%;
    }

    .sidebar {
        width: 100%;
        background-color: white;
    }

    .sidebar > .btn-save {
        display: none;
    }

    .main > .btn-save {
        display: block;
    }

    .hamburger-btn {
        display: flex;
    }

    .sidebar {
        display: none;
    }

    .sidebar > ul {
        margin-top: 50px;
    }

    .options-group {
        width: 100%;
    }

    .sidebar > ul > li {
        display: flex;
        flex-direction: column;
        align-items: center;
    }



    .sidebar > ul > li > ul > li {
        height: 85px;
        width: 85px;
    }

    .span-label {
        font-size: 12px;
    }
}

@media screen and (max-width: 479px) {

    .sidebar > ul > li > ul > li {
        height: 80px;
        width: 80px;
    }

    .sidebar > ul > li > ul {
        width: 100%;
    }

}

@media screen and (max-width: 376px) {

    .sidebar > ul {
        margin-top: 50px;
    }

    .sidebar > ul > li > ul > li {
        height: 60px;
        width: 60px;
    }

}


@media screen and (max-width: 361px) {

    .hamburger-btn {
        width: 14px;
        height: 14px;
        margin-top: 2.5px;
        margin-bottom: 10px;
        padding: .8rem;
    }

    .sidebar > ul {
        margin-top: 35px;
    }

    .span-label {
        font-size: 11px;
    }

    li > span {
        height: 38px;
        
    }

    .circle {
        width: 28px;
        height: 28px;
    }

    .sidebar > ul > li > ul {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .sidebar > ul > li > ul > li {
        height: 55px;
        width: 55px;
    }

}


/* Color and background classes for Seitenteil vorn */

.vorn-whisper-grey {
    background-color: var(--whisper-grey);
}

.vorn-emperor-grey {
    background-color: var(--emperor-grey);
}

.vorn-concrete-grey {
    background-color: var(--concrete-grey);
}

.vorn-space-shuttle-grey {
    background-color: var(--space-shuttle-grey);
}

.vorn-sunshade {
    background-color: var(--sunshade);
}

.vorn-carmine {
    background-color: var(--carmine);
}

.vorn-fun-blue {
    background-color: var(--fun-blue);
}

.vorn-atlantis {
    background-color: var(--atlantis);
}

.vorn-pink-swan {
    background-color: var(--pink-swan);
}

.vorn-dark-grey {
    background-color: var(--dark-grey);
}

.vorn-orange-wood {
    background-image: url('../assets/images/image2.png');
    background-size: cover;
    transform: rotate(90deg);
}

.vorn-beige-wood {
    background-image: url('../assets/images/image4.png');
    background-size: cover;
    transform: rotate(90deg);
}

.vorn-classic-wood {
    background-image: url('../assets/images/image5.png');
    background-size: cover;
    transform: rotate(90deg);
}

.vorn-grey-wood {
    background-image: url('../assets/images/image6.png');
    background-size: cover;
    transform: rotate(90deg);
}

.vorn-dark-grey-wood {
    background-image: url('../assets/images/image8.png');
    background-size: cover;
    transform: rotate(90deg);
}

.vorn-light-grey-wood {
    background-image: url('../assets/images/image9.png');
    background-size: cover;
}

