﻿@font-face {
    font-family: 'OpenSans';
    src: url("OpenSans.eot?v=1.1.0");
    src: url("OpenSans.eot?#iefix&v=1.1.0") format("embedded-opentype"), url("OpenSans.woff?v=1.1.0") format("woff"), url("OpenSans.ttf?v=1.1.0") format("truetype"), url("OpenSans.svg?v=1.1.0#Regular") format("svg");
    /*2nd url("OpenSans.woff2?v=1.1.0") format("woff2")*/
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSans-SemiBold';
    src: url("OpenSans-SemiBold.eot?v=1.1.0");
    src: url("OpenSans-SemiBold.eot?#iefix&v=1.1.0") format("embedded-opentype"), url("OpenSans-SemiBold.woff?v=1.1.0") format("woff"), url("OpenSans-SemiBold.ttf?v=1.1.0") format("truetype"), url("OpenSans-SemiBold.svg?v=1.1.0#Regular") format("svg");
    /*2nd url("OpenSans-SemiBold.woff2?v=1.1.0") format("woff2")*/
    font-weight: normal;
    font-style: normal;
}

body.portal.ui-widget {
    font-size: 0.75em;
    font-family: OpenSans, Calibri, Verdana;
    margin: 0px;
    background: #F8F8F8;
    position: fixed;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
span, p,a,h2,h3,h4,h5,h6,h7,th,td,label,li {
    color: #888888;
}
a {
    text-decoration: none;
}
h1,
a:hover,
a:focus {
    color: #3a4763;
}

a[disabled],
a[disabled]:hover {
    pointer-events: none;
    cursor: default;
    color: #e1e1e1;
}

a.button {
    background: white;
    display: inline-block;
    padding: 3px 6px;
}

.container {
    max-width: 1250px;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    transition: padding .3s;
    -moz-transition: padding .3s;
    -webkit-transition: padding .3s;
    box-sizing: border-box;
}

#portal-body {
    width: 100%;
    transition: top .3s;
    -moz-transition: top .3s;
    -webkit-transition: top .3s;
    flex-grow: 1;
    overflow: hidden;
}
body:not(.configurations):not(.elements) #mainbody {
    overflow: auto;
}

#configurator-container {
    height: 100%;
}
#configurator-iframe {
    height: 100%;
    width: 100%;
    border: 0px;
}

/* Use a wide portal view (add class "wide" to the body tag) */
.portal.wide .container {
    max-width: 1700px;
}
@media screen and (max-width: 1750px) {
    .portal.wide .container {
        max-width: 90vw;
    }
}
@media screen and (max-width: 1410px) {
    .portal.wide .container {
        max-width: 95vw;
    }
}

/* Use a full screen configurator (add class "full-screen-configurator" to the body tag) */
.portal.full-screen-configurator #configurator-container {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    max-width: none;
}
.portal.full-screen-configurator #configurator-iframe {
    width: 100%;
    max-width: 100%;
    margin: 0px;
    padding: 0px;
}

/* Choose model popup*/
#choose-model-popup-container {
    height: auto;
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
    top: 0px;
    text-align: center;
}
.popup-overlay {
    background: lightgray;
    opacity: 0.6;
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
}
.popup-content {
    position: fixed;
    width: 200px;
    height: 120px;
    left: 50%;
    top: 50%;
    margin: -120px 0 0 -100px;
    padding: 25px;
    background: white;
    border: 1px solid #DDDDDD;
}
#choose-model-popup-container a {
    display: block;
}
.popup-close-button {
    position: absolute;
    right: 10px;
    top: 0px;
    font-size: 2em;
}

/* Active link. For example to be used for the preset filters (use controlclass:active) */
a.active {
    font-weight: bold;
}

/* Display columns side by side */
.side-by-side {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
}
.column:not(:last-child) {
    margin-right: 50px;
}

/* Progressbar */
.progressbar {
    display: none;
}

    .progressbar .overlay {
        opacity: 0.5;
        background: #dddddd;
        height: 100%;
        width: 100%;
    }

    .progressbar.show {
        display: block;
    }

        .progressbar.show .econ-progressbar {
            display: block;
            position: absolute;
            bottom: 50%;
            width: 100%;
        }

        .progressbar.show .econ-progressbar-block {
            animation-name: econ-progressbar-block-move-1500;
        }

@-webkit-keyframes econ-progressbar-block-move-1500 {
    0% {
        left: -16px;
        opacity: 1;
    }

    11% {
        left: 727.142856px;
        opacity: 1;
    }

    45% {
        left: 772.857144px;
        opacity: 1;
    }

    57% {
        left: 1500px;
        opacity: 1;
    }

    60% {
        left: 1500px;
        opacity: 0;
    }

    100% {
        left: -16px;
        opacity: 0;
    }
}

@keyframes econ-progressbar-block-move-1500 {
    0% {
        left: -16px;
        opacity: 1;
    }

    11% {
        left: 727.142856px;
        opacity: 1;
    }

    45% {
        left: 772.857144px;
        opacity: 1;
    }

    57% {
        left: 1500px;
        opacity: 1;
    }

    60% {
        left: 1500px;
        opacity: 0;
    }

    100% {
        left: -16px;
        opacity: 0;
    }
}

div.econ-progressbar-small {
    display: none;
    width: auto;
    overflow: hidden;
    margin: 5px;
    height: 16px; /* for jQuery progressbar in <=IE9 */
}

div.econ-progressbar-large {
    width: 100%;
    position: absolute;
    z-index: 101;
    display: none;
    top: 50%;
    height: 50px; /* for jQuery progressbar in <=IE9 */
}

div#econ-progressbar-overlay {
    display: none;
    opacity: 0.2;
    filter: Alpha(Opacity=20);
}

div.econ-progressbar-block {
    position: relative;
    -webkit-animation: 4.4s linear infinite; /* The specific animation is calculated and set in InitializeProgressbar.js */
    animation: 4.4s linear infinite;
    display: inline-block;
    opacity: 0;
    position: absolute;
}

div.econ-progressbar-block {
    width: 16px;
    height: 16px;
}

div.econ-progressbar-large div.econ-progressbar-block {
    width: 50px;
    height: 50px;
}

#block1 {
    background: #DB902D;
    -webkit-animation-delay: 1.8s !important;
    animation-delay: 1.8s !important;
}

#block2 {
    background: #9A9A9A;
    -webkit-animation-delay: 1.2s !important;
    animation-delay: 1.2s !important;
}

#block3 {
    background: #004996;
    -webkit-animation-delay: .6s !important;
    animation-delay: .6s !important;
}

#block4 {
    background: #011F53;
}
