@import url("./fe.css");




/* SITE TEMPLATE */

#main {padding-top: 15px; padding-bottom: 15px;}


.touch-only {
    display: none;
}
/* -- */

.h-100per {height: 100% !important;}
.h-70px {height: 70px !important;}

.bg-color-1 {background-color: #fff;}
.bg-color-2 {background-color: #a92222;}
.bg-color-3 {background-color: #0056b3;}
.bg-color-4 {background-color: #f8f9fb;}
.bg-color-5 {background-color: cyan;}
.bg-color-6 {background-color: #6f42c1;}
.bg-color-7 {background-color: #d39e00;}
.bg-color-bg {background-color: #fff;}

#configurator {
    /*
    height : 110vh;
    height : 120vh;
     */

    position: relative;
    padding: 0;

    max-width: 1280px;
    margin: auto;
    font-size: 20px;
    text-transform: uppercase;
    /*background-color: #6f42c1;*/
}

#configurator .text-initial-case {
    text-transform: none;
}

#configurator .text-uppercase {
    text-transform: uppercase;
}
#configurator .text-condensed {
    letter-spacing: 0.1em;
}

#configurator .bnc-reset {
    cursor: pointer;
}

#configurator .img-container .bnc-reset {
    color: white;
    position: absolute;
    top: 10px;
    right: 20px;
    width: 25px;
    height: 25px;
    background-image: url("../images/icons/reload-webpage.svg");
    background-repeat: no-repeat;
    z-index: 200;
}

#configurator .text-panel {
    width: 100%;
    padding-left: 30px;
    display: none;
    /*position: absolute;
    top: -110px;
    text-align: center;

    z-index: 1040;*/
}

#configurator .text-panel select {
    display: block;
    margin: 12px auto;
    border: 2px solid black;
}

#configurator input[type="text"].navigation-attr-input {
    /*width: 55px;
    height: 55px;*/
    padding: 8px;
    text-align: center;
    /* 2019-02-20 */
    /*border: 1px solid #e0e1e2;*/
    border: 1px solid #000000;
    /*text-transform: uppercase;*/
}

.custom-text-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.custom-text-panel button{
    padding: 8px 20px;
}

.custom-text-panel > div:first-child {
    flex-basis: 200px;
    font-weight: bold;
}

.custom-text-panel > div:last-child:not('.material-selector') {
    flex-basis: 200px;
    text-align: center;
}

.custom-text-panel > div{
    white-space: nowrap;
}

/* datasheet */
.datasheet-container {
    position: absolute;
    background-color: #ffffff;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: none;
    box-shadow: -10px 0px 10px 1px #f0f0f0;
    z-index: 1000;
}

.datasheet a.btn-nav {
    display: flex;
    font-size: 0.9rem;
    margin-top: 10px;
}
.datasheet a.btn-nav .material-icons {
    font-size: 20px;
}
.datasheet a:hover {
    text-decoration: none;
}
.datasheet .material-icons {
    padding-right: 10px;
}

.datasheet-sidebar {
    width: 510px;
}


#configurator .navigation-attr-option-group {
    margin: 12px;
}

#configurator a.option-select-text {
    display: inline-block;
    border: 1px solid #80bdff;
    padding: 3px 7px;
    text-decoration: none;
    color: #80bdff;
}

#configurator a.option-select-text.selected {
    border: 1px solid #80bdff;
    background-color: #80bdff;
    color: #fff;
}

#configurator .loading {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, 0);
    /*
    top: calc(50% - 70px);

   */
}

#configurator .model-nav {
    position: absolute;
    top: 75px;
    z-index: 102;
}

#configurator .select-model.selected {
    color: #a92222;
}

#configurator .select-model {
    cursor: pointer;
}
#configurator .select-model:hover {
    text-decoration: underline;
}



#configurator .configurator-navigation {

    /*display: flex;
    flex-direction: column;*/
    /*background-color: #6f42c1;*/

    position: relative;
}

/*
#configurator .configurator {
    background-color: #00B7FF;
}
*/
#configurator .configurator-content {
    /*height: calc(100% - 240px);
    min-height: calc(100% - 240px);*/


    /* 2019-02-20 */
    /*height: calc(100vh - 60px);*/

    /*height: calc(100vh - 100px);*/
    /*height: 75vh;*/
    height: initial;
    /*background-color: #80bdff;*/
}

#configurator .open-info-modal-btn {
    cursor: pointer;
    display: inline-block;
    font-size: 2rem;
}

#configurator .navigation-attr-content .label-info,
#configurator .navigation-attr-content .label-info-secondary {
     display: block;
     padding: 3px;
     min-height: 2.6em;
     line-height: 1.3em;
     overflow: hidden;
     margin-bottom: 5px;
     font-size: 12px;

    /*color: red;*/
    display: none;
 }

#configurator .navigation-attr-content .label-info-secondary {

    padding: 5px 8px;
    margin-top: 5px;
    text-align: center;


}

#configurator .configurator_nav {
    /*background-color: #649e26;*/
}

#configurator .sm-hidden {display: none;}

#configurator .navigation-attr {
    /* 2019-02-20 */
    /* position: absolute;
     display: flex;
     min-height: 0;
     bottom: 138px;
    z-index: 100;
     */
    box-sizing: content-box;
    height: 150px;
    height: 125px;
    /*background-color: #7867A7;*/
    order: 1;
    width: 100%;
    align-items: flex-start;
}

#configurator .navigation {
    order: 2;
    display: flex;
    padding: 14px 0;
    border-bottom: 1px solid #e0e1e2;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #a92222;
}
/* 2019-02-20 */
#configurator .navigation.h-70px {
    display: none;
}

#configurator #component-nav .icon-menu {
    padding: 14px;
    padding-bottom: 0;
    flex-basis: 50px;
    text-align: center;
    cursor: pointer;
    border-color: #e0e1e2;
    border-style: solid;
    border-width: 0;
}
#configurator #component-nav .navigation-prev,
#configurator #component-nav .navigation-next{
    border-left-width: 1px;
}
#configurator #component-nav .navigation-parts-icon {
    border-right-width: 1px;
}
#configurator .navigation-parts {
    /*flex-basis: auto;
    flex-grow : 2;
    display: flex;
    align-items: center;*/
    padding: 12px 0 10px;
    cursor: pointer;
    /*flex-basis: 242px;*/
}

#configurator .navigation-parts.bnc-flex-grow-3 {
    flex-grow: 3;
}

#configurator .navigation-parts-title {
    /*flex-basis: 60px;*/
    flex-grow : 2;
    font-weight: bold;
    text-transform: uppercase;
    padding-left: 1rem;
    padding-right: 1rem;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

#configurator .navigation-attr-content {
    position: relative;
    width: 100%;
    /* 2019-02-20 */
    /*background-color: rgba(255, 255, 255, 0.7);*/
    /*background-color: #7867A7;*/
}



#configurator .navigation-attr-content-primary,
#configurator .navigation-attr-content-child {
    box-sizing: border-box;
    padding-left: 5px;
    padding-right: 5px;
    height: 65px;
    display: flex;
    flex-flow:row;
    flex-wrap: nowrap;

    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* *** */

    overflow-y: hidden;
    width: 100%;
}


#configurator .navigation-attr-content-child {
    /*background-color: #d39e00;*/
}

#configurator .navigation-attr-content::-webkit-scrollbar {
    width: 0;
}

#configurator .child-component-selector .labelComponentName {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    color: black;
    font-size: 0.6rem;
    text-align: center;
    padding: 3px;
    width: 100%;
    background-color: rgba(255,255,255,0.5);
}


#configurator .product-info {
    border: 1px solid black;
    background-color: #ffffff;
    position: absolute;
    top : 50px;
    left: 17px;
    padding: 10px;
    display: none;
    z-index: 1010;

    font-size: 12px;
}

#configurator .product-info .bnc-label{
    font-weight: 700;
}

#configurator .product-info .bnc-divider{
    margin-bottom: 10px;
}

#configurator .navigation-attr-content .bnc-breadcrumb {
    font-size: 12px;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 3px;
    display: block;

    /* 2019-02-20 */
    padding-right: 20px;
}

#configurator .navigation-attr-content .label-secondary{
    padding-left: 1rem;
    color: #aaaaaa;
}

#configurator .navigation-attr-selector.selected{
    /*border: 2px solid red;*/
    box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.6);
    position: relative;
}

#configurator .navigation-attr-selector.selector-no-image{
    color: initial;
    font-size: 16px;
    text-align: center;
    background-color: #ffffff;
    line-height: 16px;
    padding-top: 4px;
}


#configurator .img-container .label-primary,
#configurator .img-container .label-secondary {
    position: absolute;
    top: 0;
    padding: 5px;
    margin: 0px 0px;
    font-size: 23px;
    font-weight: 700;
    text-align: center;
    z-index: 101;
}
#configurator .img-container .label-secondary {
    top: 35px;
    font-size: 12px;
    font-weight: initial;
    color: #747474;
}

#configurator .bnc-nav-container  {

    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    z-index: 201;

}

#configurator .bnc-nav  {

    /*border: 1px solid black;*/
    display: inline-block;
    padding: 3px 7px;
    margin: 0 2px;
    cursor: pointer;
}


#configurator .navigation-attr-selector {

    height: 60px;
    width: 60px;
    max-width: 60px;
    min-width: 60px;

    margin: 1px 1px;
    cursor: pointer;
    box-shadow: 0px 0px  4px -1px rgba(0,0,0, 0.4);
    color: transparent;
    background-size: auto;
    background-size: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

#configurator .navigation-attr-selector.component,
#configurator .part-selector-material.component {
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center;

}
#configurator .navigation-attr-selector .ico-selected,
#configurator .navigation-attr-selector.selected .ico-selected {
    position: absolute;
    top: -3px;
    left: -3px;
    z-index: 2;
}


#configurator .navigation-bottom {
    order: 3;
    flex-grow: 1;
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    /*height: 110px;*/
    border-top: 1px solid #e0e1e2;

    /* *** */
    display: block;
    flex-grow: 0;
    /*background-color: #80bdff;*/
}

#configurator .img-container,
#configurator .img-loading-container {
    display: block;
    /*width: 99%;*/
    width: 100%;
    position: relative;
    /* 2019-02-20 */
    /*height: 100%;*/
    height: 45vh;
}
#configurator .img-loading-container {
    text-align: center;
}

#configurator .img-loading-container div {
    display: inline-block;
    margin-top: 25%;
    text-align: center;

}

#configurator img.responsive {
    max-width: 100%;
    height: auto;
    max-height: 100%;
    /*display: flex;*/
    position: absolute;
    /*top: 50%;*/
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#msg-text-image-loading {
    position: absolute;
    z-index: 200;
    width: 100%;
    background-color: #cccccc;
    display: none;
}

#configurator .navigation-attr-overlay {
    /*background-color: #fff;*/

    width: 100%;
    bottom: 40px;
    /* *** */
    /*height: calc(100% - 140px);*/

    padding: 10px;
    /*overflow-y: scroll;*/
    z-index: 600;

    /* 2019-02-20 */
    display: none;
    position: absolute;
    /*display: flex;*/

}

#configurator .component-selector.navigation-attr-overlay > div {
    cursor: pointer;
}
#configurator .component-selector.navigation-attr-overlay > div:hover {
    cursor: pointer;
    text-decoration: underline;
}

#configurator .navigation-part-selector {
    /*border-bottom: 1px solid #e1e1e1;*/
    /*padding: 20px 8px;*/
    font-weight: bold;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-content: center;
    cursor: pointer;

    /* 2019-02-20 */
    border-color: #e1e1e1;
    border-style: solid;

    border-width: 0px 0 0px 1px;
    display: inline-block;
    /*padding: 10px 60px 14px;*/
    padding: 2px 60px;
    text-align: center;
    /*min-width: 195px;*/
}



#configurator .part-selector-label {
    /*background-color: #d39e00;*/
    flex-shrink: 0;
}


#configurator .navigation-part-label {
    /* 2019-02-20 */
    margin-bottom: 8px;
}
#configurator .part-selector-material {
    box-shadow: 0px 0px  1px rgba(0,0,0, 0.4);
    flex-shrink: 0;
    width: 40px;
    height: 40px;

    /* 2019-02-20 */
    margin: auto;
}

#configurator .navigation-part-label .label-secondary {
    color: #aaaaaa;
    font-size: 0.9rem;
}



#configurator .navigation-bottom-content {
    /*background-color: #6f42c1;*/
    margin: 15px 20px;

    display: flex;
    flex-flow: row wrap;
    /*
    width: 100%;
    justify-content: space-between;
    align-content: center;
    */
    /* *** */
    width: initial;
    align-content: flex-end;
    flex-basis: 100%;
}

#configurator .navigation-bottom-label-price {
    font-weight: bold;
    font-size: 1.2rem;
    flex: 1 2 140px;

}
#configurator .navigation-bottom-label-btn {

    text-align: right;
    flex: 1 1 140px;
}

#configurator .navigation-bottom-label-delivery {
    /* *** */
    flex: 2 2 100%;
    font-size: 10px;
}

.bnc-flex-breaker {
    display:block;
    width:100%;
    height:0;
    margin: 0;
    padding: 0;
}

#configurator .configurator-btn,
#configurator .next-btn,
.modal .configurator-btn {
    display: inline-block;
    background-color: #000000;
    border: 1px solid #000000;
    color: #fff;
    padding: 4px  10px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

#configurator .next-btn {
    margin-top: 10px;
    font-size: 18px;
}

#configurator .configurator-btn:hover,
.bnc-popup .configurator-btn:hover {
    text-decoration: none;
    background-color: #ffffff;
    color: #000000;
}

#configurator .configurator-btn.btn-secondary,
.bnc-popup .configurator-btn.btn-secondary{
    background-color: #ffffff;
    color: #444444;
}

#configurator .configurator-btn.btn-secondary:hover,
.bnc-popup .configurator-btn.btn-secondary:hover{
    background-color: #000000;
    color: #ffffff;
}


#configurator .label-primary {font-weight: bold;}
#configurator .label-secondary {font-weight: lighter;}


#configurator .popup,
.bnc-popup {
    border-bottom: 1px solid #e0e1e2;
    box-shadow: 0 5px 25px 0 rgba(0,0,0,.1);
    background-color: #ffffff;
    position: absolute;
    z-index: 1000;
    min-width: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#configurator .popup .popup-header,
.bnc-popup .popup-header {
    border-bottom: 1px solid #e0e1e2;
    padding: 15px 20px;
    font-size: 0.75em;
    /*background-color: #e0e1e2;*/
}

#configurator .popup .popup-header .nav-close,
.bnc-popup .popup-header .nav-close {
    background: url("../images/icons/close.svg") no-repeat right;
    cursor: pointer;
}

#configurator .popup .popup-body,
.bnc-popup .popup-body {
    padding: 35px 20px;
}

#configurator .popup .popup-footer,
.bnc-popup .popup-footer {
    border-top: 1px solid #e0e1e2;
    padding: 15px 20px;
}


#configurator .popup .popup-footer .configurator-btn,
.bnc-popup .popup-footer .configurator-btn {
    margin: 0.5rem 1rem !important;
    width: 220px !important;
}

@media (min-width: 992px) {
    #configurator .configurator-content {
        /*height: calc(100% - 240px);
        min-height: calc(100% - 240px);*/
        /* 2019-02-20 */
        /*height: calc(100vh - 60px);
        height: calc(100vh - 200px);
        */
        /*height: 75vh;*/
    }

    #configurator .img-container,
    #configurator .img-loading-container {
        /*height: calc(100% - 240px);
        min-height: calc(100% - 240px);*/
        /* 2019-02-20 */
        /*height: calc(100vh - 60px);
        height: calc(100vh - 200px);
        */
        height: 60vh;
    }

    /* datasheet */
    .datasheet-container {
        top: initial;
        bottom: 0;

    }
}



/* iPad landscpae */
/*
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {

    #configurator .configurator-content {
        width: calc(100% - 350px);
    }

    #configurator .configurator-navigation {
        flex: 0 0 350px;
    }

    #configurator .navigation-attr-selector {
        height: 62px;
        flex-basis : 62px;
    }
}
*/
/* Make radio buttons and check boxes larger if we have an inaccurate pointing device */
@media (pointer:coarse) {
    .touch-only {
        display: initial;
    }
}

