﻿/*#region COMMON*/

@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%;
}

#option-field {
    width: 33rem;
    flex-shrink: 0;
    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";
}

#result-box {
    flex-grow: 1;
}

.header-wrapper {
    z-index: 99;
}

.div-separator {
    height: 5px;
    width: 100%;
    overflow: visible;
}

#array-protection-switch {
    display: none;
}

.row-fluid:before,
.row-fluid:after {
    display: table;
    content: "";
    line-height: 0;
    clear: both;
}

@keyframes pulsate {
    0% {
        transform: scale(1);
        -webkit-transform: scale(1);
        -webkit-transform-origin: 50% 50%;
        -webkit-transition: .1s;
        transform: scale(1);
        transform-origin: 50% 50%;
        transition: .1s;
        transform-box: fill-box;
    }

    50% {
        transform: scale(1.1);
        -webkit-transform: scale(1.3);
        -webkit-transform-origin: 50% 50%;
        -webkit-transition: .1s;
        transform: scale(1.3);
        transform-origin: 50% 50%;
        transition: .1s;
        transform-box: fill-box;
    }

    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
        -webkit-transform-origin: 50% 50%;
        -webkit-transition: .1s;
        transform: scale(1);
        transform-origin: 50% 50%;
        transition: .1s;
        transform-box: fill-box;
    }
}

/*#endregion COMMON*/

/*#region APP HEADER*/
#app-options {
    width: 100%;
    overflow: hidden;
}

#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 OPTIONS COMMON*/

.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;
    }

    .left_group_title .input-button {
        cursor: pointer;
        background-color: #ccc;
        outline: none;
        min-width: 30px;
        height: 30px;
        margin-left: 10px;
        margin-right: 10px;
        border-radius: 0.2rem;
        border: none;
    }

.hori_line {
    width: 100%;
    color: rgba(var(--bs-body-color-rgb), 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: 24rem;*/
}

.option-value-column {
    position: relative;
    right: 0;
    width: 140px;
}

.options-container {
    overflow: visible;
}

.product-link {
    padding-left: 1em;
    /*display: flex;*/
    align-items: center;
    height: 100%;
}

/*#endregion OPTIONS COMMON*/

/*#region INITIAL DATA*/
.initial-data-field:hover * {
    font-weight: 700;
}

.initial-data-field:hover button {
    color: white;
    background-color: rgb(34, 62, 99);
}

/*#endregion INITIAL DATA*/

/*#region PV PROTECTION*/

.pv-protection-container {
    position: relative;
}

    .pv-protection-container a, .pv-protection-container .a {
        color: rgb(34, 62, 99);
        font-weight: 700;
    }

.checkbox-field .option-name-column {
    width: 90%;
}

.checkbox-field .option-value-column {
    width: 10%;
}

.items-field .option-name-column {
    font-size: 1.05rem;
    width: 40%;
    min-width: 198px;
}

.items-field .option-value-column {
    font-size: 1.05rem;
    font-weight: 500;
    position: relative;
    width: 60%;
    text-align: right;
}

#PV-StringFuseBasePoles {
    padding-right: 20px;
    text-align: center;
}


/*#PV-StringFuseBaseLED{
    right: 3.6rem;
}*/
/*#endregion PV PROTECTION*/

/*#region RESULT COMMON*/
#result-box {
    padding-top: 1rem;
    width: 51rem;
}

.view-field {
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    background-color: white;
    /*box-shadow: rgba(17, 17, 17, 0.1) 0px 0.48px 4px 0px;*/

    box-shadow: 0 .03rem 0.5rem rgba(17, 17, 17, 0.1);
    /* border: 1px solid #CA007A;*/
}

#tab-header {
    margin: auto;
}

.tab {
    overflow: hidden;
    height: 35px;
    text-align: center;
}

    .tab button {
        background-color: white;
        font-size: 1.05rem;
        font-weight: 700;
        transform: scaleX(0.92);
        border: none;
        outline: none;
        color: rgb(11,58,111);
    }

        .tab button:hover {
            /*background-color: #ddd;*/
        }

        .tab button.active {
            color: rgb(0,0,0);
            border-bottom: 4px solid rgb(203,0,123);
        }

.tabcontent {
    display: none;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
}

@-webkit-keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*#endregion RESULT COMMON*/

/*#region RESULT SCHEME*/

#ImageBox {
    height: 755px;
    background-size: cover;
    overflow: hidden;
    position: relative;
}

.btn_image_control {
    height: 40px;
    width: 40px;
    bottom: 0;
    position: absolute;
    cursor: pointer;
}

#btn_zoom_in {
    left: 0;
    background-image: url('../images/zoom-in.svg');
    background-repeat: no-repeat;
    background-size: 50% auto;
    background-position: center center;
}

#btn_zoom_out {
    left: 40px;
    background-image: url('../images/zoom-out.svg');
    background-repeat: no-repeat;
    background-size: 50% auto;
    background-position: center center;
}

#btn_reset {
    left: 80px;
    background-image: url('../images/fullscreen-exit.svg');
    background-repeat: no-repeat;
    background-size: 50% auto;
    background-position: center center;
}

/*#endregion RESULT SCHEME*/

/*#region RESULT ITEMS*/

#ResultsBox {
    height: 755px;
}

#result-field {
    position: relative;
}

.header-number {
    text-align: center;
}

.header-code {
    text-align: center;
}

.header-description {
}

.header-quantity {
    text-align: center;
}

.column-qty {
    text-align: center;
}

.column-art {
    text-align: center;
    width: 5rem;
    font-weight: 700;
}

.column-number {
    text-align: center;
}

.product-list-view thead {
    border-bottom: 2px solid #f0f0f0;
    font-size: 16px;
    font-weight: 700;
    color: rgb(17, 17, 17);
}

.product-list-view table {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    margin-top: 1rem;
    font-weight: 600;
}

.product-list-view a.details-link {
    color: #CB007B !important;
}

.items-table-control {
    padding-top: 2.2rem;
    padding-bottom: 3rem;
    padding-left: 3rem;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

    .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);
    /*    background-image: url('../images/download_xlsx.svg');
    background-size: 1.55rem;
    background-repeat: no-repeat;
    background-position: left center;*/
    left: 2.2rem;
    height: 3rem;
    margin-right: 10px;
}

.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);
    /*  background-image: url('../images/copy.svg');
        background-size: 1.55rem;
        background-repeat: no-repeat;
        background-position: left center;*/
    left: 13.5rem;
    height: 3rem;
}

.copy_list {
    display: inline;
    color: #cb007b;
    height: 30px;
    margin-right: 5px;
    /*flex: 0 0 auto;*/
    width: 30px;
}

.btn_title {
    /*padding-left: 2rem;*/
}

.atsarrow {
    width: 2.1rem;
    text-align: center;
    height: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #cfcfcf;
}

.tbl_offset {
    height: .7rem;
}
/*#endregion RESULT ITEMS*/

/*#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: 15em;
    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 INPUT*/

.input-wrapper {
    display: flex;
    border-radius: 0.2rem;
    background-color: white;
    box-shadow: 0 0 .2rem #C0C0C0;
    height: 36px;
    padding: 3px;
    justify-content: space-between;
    border: none;
    align-items: center;
    width: 100%;
}

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    text-align: center;
    flex: 1;
}

.input-wrapper * {
    border: none;
    outline: none;
    font-weight: 600;
    width: 0px;
}

.input-wrapper button {
    cursor: pointer;
    background-color: #ccc;
    outline: none;
    width: 30px;
    height: 30px;
}

    .input-wrapper button:first-child {
        border-radius: 0.2rem;
        float: left;
    }

    .input-wrapper button:last-child {
        border-radius: 0.2rem;
    }


.input-button:hover {
    color: white;
    background-color: rgb(34, 62, 99);
}
/*#endregion INPUT*/

/*#region CHECK BOX*/

.checkbox-container {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 2.4rem;
}

    .checkbox-container input {
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.checkmark {
    position: absolute;
    top: 0.6rem;
    right: 3.6rem;
    height: 1.7rem;
    width: 1.7rem;
    background-color: white;
    box-shadow: 0 0 .2rem #C0C0C0;
    outline: none;
    border: 0.1rem solid transparent;
    border-radius: 0.1rem;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 11px;
    top: 6px;
    width: 5px;
    height: 11px;
    border: solid #cb007b;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
/*#endregion CHECK BOX*/

/*#region WAITING*/

.waiting {
    display: block;
    opacity: 0.65;
    background-position-x: 50%;
    background-position-y: 50%;
    z-index: 11;
    position: absolute;
    top: 0px;
}

.pv-protection-container .waiting {
    height: 100%;
    width: 100%;
}

#ImageBox .waiting {
    height: 100%;
    width: 100%;
    background: white url(/Content/eti_gp/images/loading.gif) no-repeat center center;
}

#result-field .waiting {
    height: 100%;
    width: 100%;
    background: white url(/Content/eti_gp/images/loading.gif) no-repeat center center;
}
/*#endregion WAITING*/

/*#region WARNING*/

/*.warning-left {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .warning-container {
        width: 100%;
        display: flex;
    }

    .warning-image {
        min-width: 2.4rem;
        max-width: 2.4rem;
        min-height: 2.4rem;
        max-height: 2.4rem;
        background: url(/Content/eti_gp/images/warning_icon.png) no-repeat center center;
    }

    .warning-header {
        font-size: 1.05rem;
        font-weight: 600;
        min-width: 85px;
        max-width: 85px;
        padding-top: 12px;
    }

    .warning-text {
        color: #454545;
        font-size: 1.05rem;
        font-weight: 500;
    }

    #warning-field {
        width: 100%;
    }

    .warning-slash {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
        font-weight: 600;
    }

    .warning-line {
        width: 100%;
        display: flex;
        padding-bottom: 10px;
    }

    .warning-line-last {
        width: 100%;
        display: flex;
        padding-bottom: 0px;
    }

    .warning-line p, warning-left .p {
        margin-bottom: auto;
        margin-top: auto;
    }

    .disclaimer-container {
        width: 100%;
        color: #454545;
        font-size: 0.8rem;
        font-weight: 500;
    }

    .warning-hori-line {
        width: 100%;
    }*/
/*#endregion WARNING*/

/*#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: 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: 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;
}

.warning_text_splitter {
    height: 10px;
}

/*#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 INFO BUTTON 2*/
.dropdown-info {
    width: 100%;
    height: 0px;
    background-color: white;
    border-radius: 0.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 .2rem #C0C0C0;
    position: absolute;
    opacity: 0;
    /*transition: opacity 0.1s ease;*/
    z-index: -1;
    padding: 10px;
    color: #6f6f6f;
    font-size: 0.9rem;
    font-weight: 400;
    font-family: Montserrat;
}

    .dropdown-info p {
        padding-bottom: 0px;
        margin-bottom: 0px;
    }

.info-header {
    font-weight: 600;
}

.info-row {
    padding-left: 5px;
}

.info-empty {
    height: 22px;
}

.dropdown-info-expanded {
    height: 130px;
    transition: all 0.2s ease;
    opacity: 1;
    transition-delay: 0.1s;
    z-index: 10;
}

.dropdown-info-expanded-spd {
    height: 219px;
    transition: all 0.2s ease;
    opacity: 1;
    transition-delay: 0.1s;
    z-index: 10;
}

.left_group_title .info-button {
    outline: none;
}

.info-button {
    cursor: pointer;
    background-color: #ccc;
    outline: none;
    min-width: 30px;
    height: 30px;
    margin-left: 10px;
    margin-right: 4px;
    border-radius: 0.2rem;
    border: none;
}

    .info-button:hover {
        color: white;
        background-color: rgb(34, 62, 99);
    }

/*#endregion INFO BUTTON 2*/
