﻿
/*#region COMMON*/

:root {
    --tg-btn-width: 100%;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-display: swap;
    src: url(../fonts/Montserrat-VariableFont_wght.ttf) format('truetype');
}

#center {
    margin-top: 1.5rem;
    width: 100%;
    padding-right: 7.5px;
    padding-left: 7.5px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1360px;
}

.content-field {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.header-wrapper {
    z-index: 99;
}


/*#endregion COMMON*/


/*#region APP HEADER*/
#app-options {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
}

#select-language {
    float: right;
/*    margin-top: auto;*/
/*    margin-bottom: auto;*/
}

    #select-language .dropdown-el {
        max-width: 5rem;
        min-width: 5rem;
    }

#app-name {
    float: left;
    margin-top: auto;
    margin-bottom: auto;
}

    #app-name h3, .h3 {
        font-size: 30.4px;
        font-weight: 700;
        font-family: Montserrat;
    }

#app-description {
    color: #454545;
    font-size: 1.05rem;
    font-weight: 400;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/*#endregion APP HEADER*/

/*#region COMBOBOX */
.dropdown-el {
    width: 100%;
    /*  min-width: 12em;*/
    display: inline-block;
    min-height: 2.2em;
    max-height: 2.2em;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    outline: none;
    border: 0.1em solid transparent;
    border-radius: 1em;
    background-color: white;
    box-shadow: 0 0 .2rem #C0C0C0;
    color: #454545;
    font-weight: 700;
    position: absolute;
    z-index: 5;
}

    .dropdown-el input {
        width: 1px;
        height: 1px;
        display: inline-block;
        position: absolute;
        opacity: 0.01;
    }

    .dropdown-el label {
        display: block;
        height: 2em;
        line-height: 2em;
        padding-left: 1em;
        /*padding-right: 3em;*/
        cursor: pointer;
        position: relative;
    }

.menu-label::before {
    content: "/ ";
    color: #cb007b;
}

.dropdown-el label:nth-child(2) {
    margin-top: 2.2em;
}

.dropdown-el::after {
    content: "";
    position: absolute;
    right: 1.2rem;
    top: 0.8em;
    border: solid rgb(203,0,123);
    border-width: 0 1px 1px 0;
    padding: 0.19rem;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transition: transform 0.4s ease;
    transform-origin: 5px 5px;
}

.dropdown-el.expanded {
    background: white;
    border-radius: 1rem;
    padding: 0;
    box-shadow: rgba(17, 17, 17, 0.1) 0px 6.4px 6.4px 0px;
    max-height: 40em;
    z-index: 6;
}

    .dropdown-el.expanded :first-child {
        color: #ccc;
    }

    .dropdown-el.expanded label:hover {
        background-color: rgb(240,240,240);
        border-radius: 1rem;
    }

    .dropdown-el.expanded input:checked + label {
    }

    .dropdown-el.expanded::after {
        transform: rotate(225deg);
        -webkit-transform: rotate(225deg);
    }

.display-selected-container {
    position: relative;
    width: 5rem;
    height: 2rem;
    float: right;
}

/*#endregion COMBOBOX*/


/*#region OPTIONS COMMON*/

#option-field {
    width: 43rem;
    flex-shrink: 0;
    margin-right: 3rem;
    position: relative;
    margin-bottom: 1rem;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.left_group_title {
    display: flex;
}

    .left_group_title h5, .left_group_title .h5 {
        margin: auto;
        white-space: nowrap;
        color: #6f6f6f;
        font-size: 1.1rem;
        font-weight: 400;
        font-family: Montserrat;
    }

.hori_line {
    width: 100%;
    color: rgba(17, 17, 17, 0.45);
}

.option_slash {
    min-width: 1rem;
    width: 1rem;
    color: rgba(17, 17, 17, 0.1);
    font-size: 0.9rem;
    font-weight: 600;
    padding-right: 1.8rem;
}

.left_tbl_row {
    height: 2.8rem;
}

.options-table {
    width: 100%;
    margin: auto;
}

.option-name-column {
    font-size: 1.05rem;
    font-weight: 600;
    width: 75%;
}

.option-value-column {
    position: relative;
    right: 0;
    width: 25%;
}

.options-container {
    overflow: visible;
}

.option-value-column .dropdown-el {
    max-width: 12rem;
    min-width: 12rem;
    right: 0;
}

.box-header{
    margin-top: 0.7rem;
}
/*#basic-params .dropdown-el {
    max-width: 8rem;
    min-width: 8rem;
    right: 0;
}*/
/*#endregion OPTIONS COMMON*/

/*#region RESULT ITEMS*/
.results {
    overflow: hidden;
    padding-right: 2px;
    padding-left: 2px;
    flex: 0 0 auto;
    transition: height 1s ease;
}

.result-spd {
    min-width: 500px;
    margin-bottom: 10px;
}

#result-field {
    position: relative;
    flex: 1 1 0%;
    flex-direction: column;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

#ResultsBox {
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.result-free-space {
    flex: 1;
    min-height: 5px;
}

.product-list-view thead {
    border-bottom: 2px solid #f0f0f0;
    font-size: 16px;
    font-weight: 700;
    color: rgb(17, 17, 17);
}

.table-result-header {
    margin-top: 10px;
}

.header-number {
    width: 1.5rem;
    text-align: center;
}

.header-code {
    width: 5rem;

}

.header-description {

}

.header-quantity {
    width: 2.5rem;
    float: right;
    text-align: left;
}

.product-list-view table {
    width: 100%;
    font-weight: 600;
}

.column-number {
    width: 1.5rem;
    text-align: center;
}

.column-art {
    width: 5rem;
    text-align: center;
}

.column-qty {
    text-align: center;
}

.atsarrow {
    width: 1rem;
    text-align: center;
    height: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #cfcfcf;
}

.product-list-view a.details-link {
    color: #CB007B !important;
}

.items-table-control {
    position: relative;
    display: flex;
}

    .items-table-control button:hover {
        color: black;
        text-decoration: underline;
    }

    .items-table-control button {
        font-weight: 600;
        background-color: #fff;
        border-width: 0;
        transform: scaleX(0.92);
        font-size: 1rem;
        font-weight: 700;
        outline: none;
    }

.download-button {
    color: rgb(11,58,111);
    left: 2.2rem;
    height: 35px;
}

.download_xlsx {
    display: inline;
    color: #107c41;
    height: 30px;
    margin-right: 5px;
    /*flex: 0 0 auto;*/
    width: 30px;
}

.download_loading {
    display: none;
    height: 30px;
    margin-right: 5px;
    animation: rotateSvg 1s linear infinite;
    /* flex: 0 0 auto;*/
    width: 30px;
}

@keyframes rotateSvg {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.copy-button {
    color: rgb(11,58,111);
    left: 13.5rem;
    height: 35px;
}

.copy_list {
    display: inline;
    color: #cb007b;
    height: 30px;
    margin-right: 5px;
    /*flex: 0 0 auto;*/
    width: 30px;
}

.btn_title {
    /*  padding-left: 2rem;*/
}

.tbl_offset {
    height: .7rem;
}

.no-items h5, .no-items .h5 {
    margin: auto;
    color: #6f6f6f;
    font-size: 1.1rem;
    font-weight: 400;
    font-family: Montserrat;
}

.results-text {
    font-size: 1.05rem;
    font-weight: 700;
}
.result-board {
    border: 0.1em solid transparent;

    border-radius: 0.2rem 0 0 0.2rem;
    background-color: white;
    box-shadow: 0 0 .2rem #C0C0C0;

    padding: 2rem;
    margin-top: 1rem;
    margin-bottom: 1.3rem;
}
    .result-board h5, result-board .h5 {
        white-space: nowrap;
        color: #6f6f6f;
        font-size: 1.1rem;
        font-weight: 400;
        font-family: Montserrat;
    }

#sub-board{
    flex:1;
}

.board-text {
    /*    white-space: nowrap;*/
    color: #6f6f6f;
    font-size: 1.1rem;
    font-weight: 400;
    font-family: Montserrat;
}
/*#endregion RESULT ITEMS*/

/*#region GEAR*/
.gear-container {
    height: 30px;
    width: 630px;
    max-height: 30px;
    display: none;
    width: 100%;
    flex: 0 0 auto;
    transition: height 1s ease;
}

.gear-container-show {
    display: flex;
}

.gear {
    width: 28px;
    height: 28px;
    z-index: 10;
    position: absolute;
}

.loading-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: rgb(11, 58, 111);
    margin-left: 40px;
    height: 30px;
    overflow: hidden;
}

.gear_path {
    stroke: #CB007B;
    stroke-width:20;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg); 
    }
}

@keyframes growAndMove {
    0% {
        width: 50px;
        height: 50px;
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
        
    }

    100% {
        width: 200px;
        height: 200px;
        transform: translate(-1000px, -100px) rotate(-360deg); 
        opacity: 0;
    }
}

@keyframes color_change {
    0% {
        stroke-width: 15;
        stroke: lightgrey;
    }

    100% {
        stroke-width: 5;
        stroke: lightgrey;
    }
}

@keyframes change_opacity {
    0% {
        opacity: 1;
    }


    100% {
        opacity: 0;
    }
}

#ResultsBox {
    animation: appearFromTop 1s ease;
}

@keyframes appearFromTop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0%);
        opacity: 1;

    }
}

/*#endregion GEAR*/


/*#region WAITING*/

.waiting {
    display: block;
    opacity: 0.65;
    background-position-x: 50%;
    background-position-y: 50%;
    z-index: 7;
    position: absolute;
    top: 0px;
}

#option-field .waiting {
    height: 100%;
    width: 100%;
}

.results .waiting {
    height: 420px;
    width: 420px;
    position: relative;
}

/*#endregion WAITING*/

/*#region WARNING 2*/

.warning_exclamation {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.disclaimer_exclamation {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

#warning_container, #disclaimer_container {
    display: flex;
    flex-direction: column;
}

#warning_container_symbol, #disclaimer_container_symbol {
    display: flex;
    flex-direction: row;
}

.warning_bold, .disclaimer_bold {
    left: 1.5rem;
    bottom: 0;
    font-size: 1rem;
    font-weight: 700;
    transform: scaleX(0.9);
    font-family: initial;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

}

.warning_text, .disclaimer_text {
    bottom: 0;
    left: 6.5rem;
    font-size: 1rem;
    padding-left: 1.6rem;
    font-family: initial;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 400;
}

/*#disclaimer-field {
    height: 600px;
}

@media (min-width: 576px) {
    #disclaimer-field {
        height: 500px;
    }
}

@media (min-width: 768px) {
    #disclaimer-field {
        height: 400px;
    }
}

@media (min-width: 992px) {
    #disclaimer-field {
        height: 300px;
    }
}*/
/*#endregion WARNING 2*/

/*#region MEDIA*/
@media screen and (max-width: 86rem) {
    #results{
        width: 43rem;
    }
    #disclaimer-field {
        width: 43rem;
    }
}

@media screen and (max-width: 43rem) {
    .option-name-column {
        width: 50%;
    }
    .option-value-column {
        width: 50%;
    }
    #option-field{
        width: 100%;
    }
    #results {
        width: 100%;
    }
    #disclaimer-field {
        width: 100%;
    }
    #select-language {
            margin-top: auto;
            margin-bottom: auto;
    }
}

/*#endregion MEDIA*/

