﻿/* MATERIAL ICONS */

/*@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url('/Configurator.StaticFiles/font/MaterialIcons/MaterialIcons-Regular.eot');*/ /* For IE6-8 */
/*src: url('/Configurator.StaticFiles/font/MaterialIcons/MaterialIcons-Regular.woff2') format('woff2'), url('/Configurator.StaticFiles/font/MaterialIcons/MaterialIcons-Regular.woff') format('woff'), url('/Configurator.StaticFiles/font/MaterialIcons/MaterialIcons-Regular.ttf') format('truetype');
}*/

.material-icons {
    font-family: 'Material Icons' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px; /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    /* Support for IE. */
    font-feature-settings: 'liga';
}

    .material-icons.md-18 {
        font-size: 18px;
    }

    .material-icons.md-24 {
        font-size: 24px;
    }

    .material-icons.md-31 {
        font-size: 31px;
    }

    .material-icons.md-36 {
        font-size: 36px;
    }

    .material-icons.md-48 {
        font-size: 48px;
    }

    .material-icons.md-dark {
        color: rgba(0, 0, 0, 0.54);
    }

        .material-icons.md-dark.md-inactive {
            color: rgba(0, 0, 0, 0.26);
        }

    .material-icons.md-light {
        color: rgba(255, 255, 255, 1);
    }

        .material-icons.md-light.md-inactive {
            color: rgba(255, 255, 255, 0.3);
        }

/* END MATERIAL ICONS */

app, .container-fluid, .justify-content-start, .sc-wrapper {
    min-height: 100%;
    height: 100%;
}

#blazor-error-ui {
    display: none !important;
}

.container-fluid, .cfg-page {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/*.container-fluid {
    background: #ededed;
}*/

.cfg-overview .k-grid {
    width: calc(100vw - 250px);
    position: absolute;
}

.cfg-last-configurations .k-grid {
    width: calc(100vw - 296px);
    position: absolute;
}

.cfg-container-menu-collapsed .cfg-overview .k-grid {
    width: calc(100vw - 60px);
    position: absolute;
}

.cfg-container-menu-collapsed .cfg-last-configurations .k-grid {
    width: calc(100vw - 104px);
    position: absolute;
}

@media (max-width: 1280px) { /* One size for smaller screens */
    .cfg-overview .k-grid {
        width: calc(100vw - 60px);
        position: absolute;
    }

    .cfg-last-configurations .k-grid {
        width: calc(100vw - 104px);
        position: absolute;
    }
}

.k-grid-header, .k-grid-container {
    z-index: 0;
}

.cfg-main-container {
    min-height: 100%;
}

/*@media (max-width: 1280px) {
    .cfg-main-container {
        width: calc(100% + 195px);
        margin-left: -195px;
    }
}*/

/*.cfg-container-menu-collapsed {
    width: calc(100% + 195px);
    margin-left: -195px;
}*/

.cfg-page {
    background: white;
}

.cfg-page-footer {
    width: 100%;
    height: 58px;
    background: #c6c6c6;
    position: sticky;
    bottom: 0;
    margin-top: 15px;
}

.cfg-footer-btn-container {
    /*float: right;*/
    margin-right: 15px;
    margin-top: 11px;
}

.opacity-06 {
    opacity: 0.6;
}

.loading-gif {
    background: url('/img/loading.gif') no-repeat center;
    background-color: gray;
    background-size: 32px;
    position: absolute;
    right: 0;
    width: calc(35vw - 87px);
    height: 58px;
    z-index: 1;
    opacity: 0.7;
}

#txtIntermedText {
    margin-left: 15px;
}

#txtQuantity {
    text-align: right;
    padding-right: 5px;
}

.quantity-container {
    display: inline-block;
    margin-left: 15px;
    margin-top: 8px;
    margin-bottom: 4px;
}

.cfg-footer-btn-container .btn-bucher-primary, .cfg-footer-btn-container .btn-bucher-secondary {
    min-width: 210px !important;
    width: auto !important;
}

.btn-bucher-primary {
    text-transform: none !important;
    background: #0093d3 !important;
    border: 0 !important;
    border-radius: 0 !important;
    width: 210px !important;
    color: white !important;
    box-shadow: none !important;
    font-size: 16px;
}

    .btn-bucher-primary:disabled {
        color: rgba(0, 0, 0, 0.38) !important;
        background: #e0e0e0 !important;
        font-size: 16px;
    }

.btn-bucher-secondary {
    text-transform: none !important;
    background: #c6c6c6 !important;
    border: 0 !important;
    border-radius: 0 !important;
    width: 210px !important;
    color: black !important;
    box-shadow: none !important;
    font-size: 16px;
}

.dlg-saved-preview {
    background: #ededed;
    margin-top: 25px;
}

.dlg-saved-btn-container {
    margin-top: 25px;
}

.cfg-page-nfw {
    width: 65% !important;
}

.cfg-page-width-margin, .cfg-page-nfw-menu-collapsed {
    width: calc(65% + 68px) !important;
}

.cfg-page-fw {
    width: calc(100% - 55px) !important;
}

.cfg-page-title {
    height: 58px;
    display: flex;
    align-items: center;
    background: #ededed;
    padding-top: 8px;
}

    .cfg-page-title h6 {
        padding-left: 15px;
    }

.cfg-preview {
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: #ededed;
    overflow: auto;
}

    .cfg-preview .cfg-page-title {
        background: #c6c6c6;
    }

.cfg-preview-expanded {
    width: calc(35vw - 87px);
    right: 0;
}

@media (max-width: 1280px) {
    .cfg-preview-expanded {
        width: calc(45vw - 87px);
    }
}

.cfg-preview-collapsed {
    width: 55px !important;
    right: 0;
}

.cfg-expand-preview-ico {
    transform: rotate(-90deg);
}

.cfg-collapse-preview-span, .cfg-expand-preview-span {
    display: block;
    width: 25px;
    height: 25px;
    background: transparent;
    border-radius: 50%;
    border: 2px solid black;
    position: absolute;
    right: 15px;
    top: 12px;
    cursor: pointer;
}

    .cfg-collapse-preview-span::after, .cfg-expand-preview-span::after {
        content: '\2014';
        display: block;
        font-weight: bold;
        margin-left: 3.8px;
        margin-top: -2px;
    }

    .cfg-expand-preview-span::after {
        content: '|' !important;
        margin-left: 8.2px;
        margin-top: -2.5px;
    }

.cfg-preview-3d-model-container {
    width: 100%;
    background: white;
    text-align: center;
}

.cfg-preview-info {
    padding-top: 15px;
    padding-left: 30px;
    background: #ededed;
    position: relative;
    overflow: auto;
    margin-bottom: 68px;
}

.cfg-pi-mh {
    /*max-height: 80vh;*/ /* todo 100vh - 123px*/
}

.cfg-preview-info .row p {
    margin-bottom: 0 !important;
    padding-bottom: 20px;
}

.cfg-preview-info-span {
    font-weight: bold;
    margin-left: 4px;
}

    .cfg-preview-info-span::after {
        content: '';
        display: block;
        padding-bottom: 20px;
    }

.cfg-preview-footer {
    width: 100%;
    height: 58px;
    background: #c6c6c6;
    position: fixed;
    bottom: 0;
    right: 0;
}

.cfg-price {
    display: block;
    /*width: 100%;*/
    font-size: 16px;
    text-align: right;
    margin-top: auto;
    margin-right: 15px;
    margin-bottom: auto;
    font-weight: bold;
    position: absolute;
    right: 0;
    top: 13px;
}

.cfg-price small{
    display:block;
    margin-right:15px;
    margin-top:-6px;
}

.cfg-element {
    border: 1px solid #cbcbcb;
    margin-left: 15px !important;
    margin-right: 15px !important;
    margin-top: 24px;
    padding-bottom: 24px;
    position: relative;
    overflow: hidden;
}

    .cfg-element .form-control-container:nth-child(n+3) {
        margin-top: 25px;
    }

    .cfg-element h5 {
        margin-bottom: 0 !important;
    }

    .cfg-element small {
        display: block;
        margin-top: 7px;
        color: #aaa;
    }

    .cfg-element .small-radio {
        margin-top: 0 !important;
        margin-bottom: 7px;
    }

    .cfg-element:nth-last-child(2) {
        margin-bottom: 15px;
    }

.cfg-woodtype img {
    margin-top: 7px;
}

.cfg-title-row {
    padding-left: 15px;
    padding-top: 15px;
    cursor: pointer;
}

    .cfg-title-row h6, .cfg-page-title h6, .cfg-load-config h6 {
        font-family: 'Roboto Bold' !important;
    }

.cfg-status-circle {
    display: block;
    width: 25px;
    height: 25px;
    background: transparent;
    border-radius: 50%;
    border: 1px solid #cbcbcb;
    position: absolute;
    right: 15px;
    top: 11px;
    padding-left: 3.5px;
    padding-top: 3.5px;
}

.cfg-status-circle-invalid {
    background: transparent;
    border: 1px solid #cbcbcb;
}

.cfg-status-circle-ok {
    background: green;
    border: none;
}

.radio-checked {
    background: #ededed;
    border: 7px solid #ededed;
}

.radio-unchecked {
    background: transparent;
    border: 7px solid transparent;
    border: none;
}

.cfg-radio {
    display: inline-block;
    cursor: pointer;
}

/*.cfg-radio img {
        max-width: 300px;
    }*/

.disabled-radio {
    cursor: default !important;
    opacity: 0.3;
}

/*.cfg-radio {
    cursor: pointer;
    border: 7px solid transparent;
    padding: 0 4px;
}

    .cfg-radio img {
        width: 150px;
    }*/

.cfg-radio-label {
    display: initial;
    margin-bottom: 0 !important;
}

.eti {
    display: inline-block;
    padding: 8px;
    font-size: 22px;
    cursor: pointer;
    background: white;
}

.eti-selected {
    background: #dedede;
}

.cfg-element-selection-span {
    margin: 0 15px !important;
}

/*.k-icon.k-i-arrow-60-down::before, .k-icon.k-i-arrow-s::before {
    content: "⯆";
}

.k-icon.k-i-arrow-n::before {
    content: "⯅";
}*/

.k-window {
    font-size: 16px !important;
}

.bbag-expand {
    max-height: 3100px; /* the max-height is only used for the transition to work. Some value bigger than it will get on mobile */
    transition: max-height 0.5s ease-in-out;
}

.bbag-collapse {
    max-height: 58px;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.bbag-container-expand {
    visibility: visible;
    opacity: 1;
}

.bbag-container-collapse {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
}

.invalid-span {
    color: red;
    padding-left: 15px;
    padding-bottom: 15px;
}

    .invalid-span:empty {
        display: none;
    }

.mi-button {
    cursor: pointer;
}

.cfg-preview-info .row p {
    width: 175px;
}

.cfg-load-config {
    margin-top: 24px;
}

.cfg-models, .cfg-last-configurations {
    margin-top: 40px;
}

.cfg-last-configurations {
    margin-bottom: 25px;
}

.cfg-model-element {
    width: 250px;
    height: auto;
    margin-left: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 300px;
}

.load-config-icon {
    cursor: pointer;
}

.cfg-model-content {
    margin-bottom: 80px;
}

.cfg-model-title {
    font-size: 18px;
    font-weight: bold;
}

.cfg-model-content-values {
    margin-top: 35px;
}

.cfg-model-content-values, .cfg-model-title, .dlg-model-infos {
    margin-left: 20px;
}

.dlg-model-infos {
    min-height: 180px;
}

.cfg-model-footer {
    width: calc(100% - 30px) !important;
    position: absolute;
    height: 40px;
    bottom: 15px;
}

.cfg-model-load-btn {
    width: 100% !important;
}

.more-details, .less-details {
    color: #0056b3 !important;
    text-decoration: underline !important;
    cursor: pointer !important;
}

    .more-details:hover, .less-details:hover {
        text-decoration: none !important;
    }

.star-icon {
    color: #e8c400 !important;
}

.overviewImg {
    width: 120px;
}

.cfg-nomodel, .cfg-model:hover {
    color: black;
}

    .cfg-model, .cfg-nomodel:hover {
        color: #e8c400;
    }

.no-model-container {
    background: #ededed;
    border: 1px solid #c6c6c6;
    padding: 18px;
}

.cfg-btn-delete-model, .cfg-btn-load-model {
    width: 100% !important;
}

.separate-title {
    display: block;
    padding-top: 35px;
    padding-bottom: 35px;
    border-top: 1px solid #c6c6c6;
}

.close-window {
    display: block;
    position: absolute;
    right: 25px;
    cursor: pointer;
}

.no-ie div.browser-icon {
    width: 200px;
    height: 200px;
}

    .no-ie div.browser-icon:not(:first-child) {
        margin-left: 50px;
    }

.toast {
    display: none;
    padding: 0.5rem;
    color: #fff;
    z-index: 99999;
    position: fixed;
    width: 25rem;
    border-style: solid;
    border-radius: 4px;
    box-sizing: border-box;
    outline: 0;
    box-shadow: 0 8px 10px -5px rgb(0 0 0 / 20%), 0 16px 24px 2px rgb(0 0 0 / 14%), 0 6px 30px 5px rgb(0 0 0 / 12%);
    top: 50%;
    left: 50%;
    margin-left: -12.5rem;
    transform: translateY(-50%); /* move up the half of the divs height to center it on y axis */
}

    .toast p, .toast h1, .toast h2, .toast h3, .toast h4, .toast h5, .toast h6 {
        color: rgba(0, 0, 0, 0.87);
    }

.toast-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1rem;
    font-size: 2.5rem;
}

.toast-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-left: 0rem;
    color: white;
}

    .toast-body p {
        margin-bottom: 0;
    }

.toast-visible {
    display: flex;
    flex-direction: row;
    animation: fadein 10s ease 0s 1 alternate;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    11%, 100% {
        opacity: 1;
    }
}

.btn-save-model {
    position: relative;
    padding: 8px 12px;
    padding-left: 24px;
}

.infotable {
    border: 1px solid black;
}

    .infotable table {
        width: 200px;
    }

    .infotable td {
        width: 100px;
    }

.evabox-table {
    width: 100%;
}

    .evabox-table table td, .evabox-tipon-table th, .evabox-tipon-table td {
        border: 1px solid #ededed;
        padding: 7px 35px;
    }


        .evabox-table table td.green-cell {
            background: #e3fbd9;
        }


    .evabox-table tbody tr td {
        border-left: 1px solid #ededed;
        border-right: 1px solid #ededed;
        border-top: 1px solid #ededed;
        text-align: center;
    }

        .evabox-table thead tr th.hidden, .evabox-table tbody tr td.hidden {
            display: none;
        }


    .evabox-table tbody tr:hover {
        background-color: #f6f6f6;
    }

    .evabox-table tbody tr td:hover {
        background-color: #ededed;
        cursor: pointer;
    }

    .evabox-table .selected, .evabox-table .row-selected {
        background-color: #ededed;
        font-weight: bold;
        cursor: default;
    }

        .evabox-table .selected tbody tr td:hover {
            background-color: #d0ffd0;
            cursor: pointer;
        }

    .evabox-table tbody tr.row-disabled td:hover {
        cursor: default !important;
    }

    .disabled-item, .evabox-table .row-disabled {
        cursor: default !important;
        opacity: 0.3;
    }

.evabox-weighttable thead th, .evabox-weighttable tbody td {
    padding-right: 35px;
}

.evabox-weighttable tbody tr:nth-child(odd) {
    background: #ededed;
}

.evabox-weighttable tbody tr td {
    padding: 7px 20px;
}
