﻿﻿@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;
}
span, p,a,h2,h3,h4,h5,h6,h7,th,td,label,li {
    color: #333333;
    
}
a {
    text-decoration: none;
}
.link {
    color: #0645AD;
}
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;
    margin: 0 auto;
    position: relative;
    height: 100%;
    padding: 0px 80px;

    transition: padding .3s;
    -moz-transition: padding .3s;
    -webkit-transition: padding .3s;
}

#portal-body {
    position: fixed;
    top: 130px;
    bottom: 0px;
    width: 100%;    

    transition: top .3s;
    -moz-transition: top .3s;
    -webkit-transition: top .3s;
}
body:not(.configurations):not(.elements) #mainbody {
    overflow: auto;
}
body.scrolling #portal-body {
    top: 55px;
}

#configurator-container {
    height: auto;
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
    top: 130px;

    text-align: center;

    background:url(../images/loading.gif) center center no-repeat;
}
#configurator-iframe {
    max-height: 100%;
    min-height: 100%;
    height: 0;
    max-width: 100% !important;
    min-width: 100%;
    width: 0;
    border: 0px;    
}

#configurator-iframe.container {
    max-height: 100%;
    min-height: 100%;
    height: 0;
    max-width: 100%;
    min-width: 100%;
    width: 0;
    border: 0px; 
    padding: 0px 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 {
    top: 0px;
}
.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;
}

button.confirm,
button.confirm.ui-state-default {
       background-color: #33cc33;
       background-image:none;
       border: 1px solid #196619;
       color: white;
}