html, body {
    margin: 0;
    min-height: 100%;
}

.align-right {
    text-align: right;
}
.align-center {
    text-align: center;
}

div.input-select-style {
    position: relative;
    padding: 0;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    overflow: hidden;
}

div.input-select-style:after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -16px;
    width: 30px;
    height: 30px;
    background: url('/images/icons/arrow_down_small.png') right 40% no-repeat #fff;
    pointer-events: none;
}

div.input-select-style select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    box-shadow: none;
    outline: none;
    width: 100%;
    text-align-last: right;
    -ms-text-align-last: right;
    -moz-text-align-last: right;
    text-align-last: right;
    padding: 6px 30px 6px 12px;
    background-color: transparent;
}

label input[type="checkbox"] {
    display: none;
}

label input[type="checkbox"] + .indicator {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url("/images/icons/checkbox.png") transparent no-repeat;
    cursor: pointer;
}

label input[type="checkbox"] ~ .checkbox-label {
    margin-left: 5px;
    cursor: pointer;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

label input[type="checkbox"]:checked + .indicator {
    background-image: url("/images/icons/checkbox_checked.png");
}

label input[type="checkbox"]:disabled + .indicator {
    background-image: url("/images/icons/checkbox_disabled.png");
    cursor: not-allowed;
}

label input[type="checkbox"]:disabled ~ .checkbox-label {
    cursor: not-allowed;
    opacity: 0.6;
}

label input[type="checkbox"]:disabled:checked + .indicator {
    background-image: url("/images/icons/checkbox_disabled_checked.png");
}

.error-msg {
    text-align: center;
    padding: 0 20px;
    color: #a94442;
}

.has-error div.input-select-style,
div.input-select-style.has-error,
.has-error input[type="checkbox"] {
    border-color: #a94442;
}

.has-error .description {
    color: #a94442;
}

.img-bg {
    text-align: center;
    background-color: white;
}

img.landscape {
    width: 100%;
    height: auto;
    max-width: 500px;
}

img.landscape.full-width {
    max-width: 800px;
}

/* OVERRIDE BOOTSTRAP */
.row {
    margin: 0 -5px;
}

.row:not(.ng-hide) + .row {
    margin-top: 10px;
}

[class*=col-] {
    padding: 0 5px;
}

[class*=col-] + .col-xs-12 {
    margin-top: 10px;
}

@media screen and (min-width: 1520px) {
    [class*=col-xl-] {
        float: left;
    }

    .col-xl-4 {
        width: 33.333333%;
    }

    [class*=col-] + .col-xs-12.col-xl-4 {
        margin-top: 0;
    }
}

/* CUSTOM GRID */
.calc-clear:after {
    content:'';
    display: table;
    clear: both;
}

.calc-bg {
    padding: 5px 20px 10px;
    background-color: #f3f3f3;
    width: 100%;
    min-height: 370px;
}

.calc-bg + .calc-bg {
    margin-top: 10px;
}

/* LOGIN */

#login-container {
    margin: 50px auto;
    width: 330px;
    text-align: center;
}

#login-container .image-container {
    margin-bottom: 5px;
    padding: 0 50px;        
}

#login-container .image-container img {
    width: 100%;
    height: auto;
}

#login-container .btn {
    min-width: 225px;
    border-radius: 5px;
    margin-top: 15px
}

.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
}
.form-signin .checkbox {
    font-weight: normal;
}
.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}
.form-signin .form-control:focus {
    z-index: 2;
}
.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* LOGIN END */

#wrapper {
    margin: 0 auto;
    width: 1520px;
    min-height: 100%;
    position: relative;
    z-index: 99;
}

#header {
    height: 105px;
    padding-top: 20px;
    width: 1520px;
    position: fixed;
    z-index: 2;
    background-color: #ffffff;
}

#header .logo {
    margin-left: 25px;
    margin-bottom: 15px;
}

nav {
    height: 40px;
    background-color: #0e68a4;
    color: #ffffff;
    font-weight: normal;
    font-size: 14px;
}

nav .item {
    float: left;
    padding: 10px 15px;
    margin-left: 25px;
    cursor: pointer;
}

.current {
    background-color: #0b5383 !important;
}

.toolbar {
    position: fixed;
    width: 1520px;
    top: 105px;
    z-index: 1;
    padding: 5px 25px;
    font-size: 18px;
    color: #006ab3;
    height: 40px;
    background-color: #f3f3f3;
}

.toolbar:after {
    content: '';
    display: table;
    clear: both;
}

.toolbar button:not(.btn) {
    font-size: 14px;
    padding: 0;
    border: none;
    background: none;
}

.toolbar button:disabled {
    opacity: 0.5;
}

.toolbar button.new-offer-button img {
    margin-top: -2px;
}

.toolbar button.project-data-button span {
    float: left;
    line-height: 30px;
}

.toolbar button.project-data-button img {
    float: left;
    height: 22px;
    width: auto;
    margin-top: 2px;
}

.toolbar button.project-data-button img.arrow-up {
    margin-top: 4px;
}

.toolbar input {
    height: 25px;
    display: inline;
    width: 250px;
    margin-right: 25px;
}

.toolbar [data-toggle="tooltip"] {
    display: inline-block;
}

.meta-nav {
    position: relative;
}

.meta-nav .dropdown-menu {
    margin-top: 10px;
}

#content-space {
    height: 155px;
}

.show-settings #content-space,
.show-imprint #content-space {
    height: 115px;
}

/* CALCULATOR */
#calc-project-data {
    margin-bottom: 10px;
    background-color: #f3f3f3;
}

#calc-project-data .calc-bg {
    min-height: 0;
}

#calc-technical-input .calc-bg,
#calc-options.calc-bg {
    min-height: 750px;
}

#calc-performance-data .calc-bg,
#calc-prices.calc-bg {
    min-height: 220px;
}

.showPrices #calc-prices.calc-bg {
    min-height: 270px;
}

#current-profile {
    display: none;
}

#current-profile.showPrices  {
    display: block;
}

#current-profile .calc-bg {
    min-height: 40px;
}

#calculator {
    position: relative;
}

#calculator form:after {
    content:'';
    display:table;
    clear: both;

}

/* CALCULATOR END */

#archive,
#settings {
    background-color: #f3f3f3;
    margin-bottom: 10px;
}

#archive > table,
#settings > div {
    padding: 20px;
}

#archive .table thead > tr > th.sortable {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.alert:not(.ng-hide)+#content {
    margin-top: 75px;
}

.table-condair {
    width: 100%;
    border: none !important;
    border-spacing: 10px;
    border-collapse: separate;
}

#calc-prices .table-condair {
    margin-bottom: -6px;
}

.showPrices #calc-prices .table-condair {
    margin-bottom: 0;
}

.input-condair {
    /*color: #006ab2;*/
    font-weight: bold;
    text-align: right;
}

.input-condair::-ms-clear {
    display: none;
}

.input-condair:disabled {
    color: #868686;
}

.disabled {
    opacity: 0.5;
}

h3 {
    font-size: 18px !important;
}

.condair-textarea {
    resize: none;
    height: 136px !important;
}

.condair-alert {
    top: 160px;
    width: 1520px;
    position: fixed;
    z-index: 1000;
}

.description {
    width: 60%;
}

.value {
    width: 30%;
    text-align: right;
}

.value.align-left {
    text-align: left;
}

.value-m {
    width: 30%;
}

.unit {
    width: 10%;
    text-align: left;
}

.condair-user {
    position: relative;
    color: #006ab3;
    margin-top: 10px;
    margin-right: 20px;
    cursor: pointer;
}

.condair-user button {
    padding: 0;
    border: none;
    background: none;
}

.condair-option-select {
    width: 300px;
    margin-top: 5px;
    margin-bottom: 20px
}

.icon-caret-down {
    background-image: url('/images/icons/icon_down.png');
    width: 15px;
    height: 15px;
    display: inline-block;
}

.icon-caret-up {
    background-image: url('/images/icons/icon_up.png');
    width: 15px;
    height: 15px;
    display: inline-block;
}

.icon-sort {
    width: 15px;
    height: 15px;
    background: none transparent;
    display: inline-block;
}

/* Prices */
.glyphicon {
    cursor: pointer;
    width: 20px;
    height: 20px;
    margin-left: 10px; 
}
.glyphicon.glyphicon-eye-open,
.glyphicon.glyphicon-lock.lockDeactive {
    color: #bbbbbb;
}

.glyphicon.glyphicon-eye-open.showPrices, 
.glyphicon.glyphicon-lock {
    color: #0e68a4;
}

button#maximize-cooling {
    float: right;
    margin-right: 12.3%;
    border: none;
    background: none;
    color: #0e68a4;
    font-size: 14px;
}

.price,
.currency {
    visibility: hidden;
}

.price {
    text-align: right;
}

.price span {
    padding-right: 15px;
}

.price-total {
    display: none;
}

.showPrices .price,
.showPrices .currency {
    visibility: visible;
}

.showPrices .price-total {
    display: table-row;
}

#calc-options td {
    vertical-align: middle;
}

input[type="checkbox"] {
    width: 20px;
    height: 15px;
    margin-top: 1px;
}

.tooltip {
    min-width: 100px;
}
.tooltip.top .tooltip-arrow {
    top: auto !important;
    bottom: 0;
}

.tooltip .tooltip-inner {
    white-space: nowrap;
}

.row {
    position: relative;
}

/*impressum*/

#footer {
    height: 50px;
    margin-top: 10px;
    padding: 0;
    background-color: #0e68a4;
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
}

#footer .item {
    float: left;
    padding: 15px;
    margin-left: 25px;
    cursor: pointer;
    color: white;
}

#footer .item:hover,
#footer .item:focus {
    text-decoration: none;
}

#impressum-wrapper {
    margin: 0 0 10px;
    width: 100%;
    background-color: #f3f3f3;
    padding: 10px 30px 30px;
}

#address>div,
#juristical>div {
    width: 35%;
}

#address>div:first-child,
#juristical>div:last-child {
    width: 65%;
}


.impressum-logo {
    padding-top: 20px;
}

.impressum-logo img {
    max-width: 250px;
    width: 100%;
}

#impressum-wrapper p {
    margin-top: 0;
}

#juristical {
    margin-top: 20px;
}

/* SIMULATION */
#simulationNavigation {
    margin: -2px 0 0 10px;
}

.weatherstation-btn {
    width: 220px;
    display: inline-block;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
}
#operatingData,
#machineData,
#results,
#calculator form {
    overflow: hidden;
}

#operatingData .calc-bg.double-height {
    min-height: 750px;
}

#machineData .img-bg {
    margin: 24px 10px;
    padding: 25px 0;
}

#results .top-row .calc-bg {
    min-height: 310px;
}

#results .bottom-row .calc-bg {
    min-height: 584px;
}

#results .bottom-row .calc-bg .subsidy-header {
    font-size: 14px;
    text-decoration: underline;
    margin-top: 20px;
}

#results #subsidy-information table {
    width: 100%;
    border: none;
    border-spacing: 10px;
    border-collapse: separate;
}

#results #subsidy-information table colgroup col:last-child {
    width: 66.67px;
}

#results #subsidy-information table td span {
    margin-left: 10px;
}

#results #subsidy-information .has-error {
    color: #a94442;
}


/* MODALS */
.mail-modal-options {
    border-bottom: 1px solid #e5e5e5;
    padding: 0 0 20px;
}

.mail-modal-data {
    padding: 5px 0 20px;
}

.mail-modal-data>div {
    width: 50%;
}

.mail-modal-data label {
    margin-top: 15px;
}

.mail-modal-text {
    margin-bottom: 10px;
}

.mail-modal-send {
    text-align: right;
    margin-top: 20px;
}


.mail-modal-options .mail-modal-diagram-label {
    margin-bottom: 10px;
}

.mail-modal-options #mail-diagram {
    vertical-align: middle;
}

.mail-modal-options .mail-modal-prices-label {
    margin-bottom: 5px;
}

#pdf-modal .modal-body a img {
    width: 58px;
    height: 25px;
    margin: 5px 15px 5px 0;
}

table tr.bordered {
    border-bottom: 1px solid lightgray;
}

table tr.bordered td,
table tr.bordered + tr > td {
    padding: 16px 0 8px;
}

#map-container {
    height: 540px;
}

/* MEDIUM SCREENS */
@media screen and (max-width: 1520px) {  
    .condair-alert {
        top: 160px;
        width: 1000px;
    }

    #wrapper,
    #header,
    .toolbar {
        width: 1000px;
    }

    #address>div,
    #address>div:first-child,
    #juristical>div,
    #juristical>div:last-child {
        width: 50%;
    }

    #map-container {
        height: 440px;
    }

    .weatherstation-btn {
        width: 180px;
    }

    #results .top-row .calc-bg {
        min-height: 300px;
    }

    #results .bottom-row .calc-bg {
        min-height: 690px;
    }
}
/* SMALL SCREENS */
@media (max-width: 1000px) {
    .condair-alert {
        left: 1%;
        top: 160px;
        width: 98%;
    }  

    nav .item {
        margin-left: 10px;
        min-width: 120px;
        text-align: center;
    }
    
    #wrapper,
    #header,
    .toolbar {
        width: 100%;
    }

    .toolbar {
        padding: 5px 10px;
        top: 85px;
    }

    #header {
        padding-top: 10px;
        height: auto;
    }

    #content-space {
        height: 135px;
    }

    .show-settings #content-space,
    .show-imprint #content-space {
        height: 95px;
    }

    #header .logo {
        margin-left: 15px;
        margin-bottom: 10px;
    }
    #header .logo img {
        height: 25px;
    }

    .condair-user {
        margin-top: 2px;
    }

    .calc-bg {
        padding: 5px 10px;
    }

    #address>div,
    #address>div:first-child,
    #juristical>div,
    #juristical>div:last-child {
        float: none !important;
        width: 100%;
    }

    .impressum-logo img {
        max-width: 200px;
        margin-bottom: 10px
    }

    .weatherstation-btn {
        width: 100%;
    }

    .calc-bg,
    #operatingData .calc-bg.double-height,
    #results .top-row .calc-bg,
    #results .bottom-row .calc-bg {
        min-height: 0;
    }

    #results .bottom-row .calc-bg .subsidy-header {
        margin-top: 20px;
    }

    .calc-bg + .calc-bg {
        margin-top: 0;
    }

    #machineData .img-bg {
        margin: 0;
        padding: 10px;
    }
}

/* ************* */
/* MyCoolblue    */
/* ************* */
#mycoolblue #results .bottom-row .img-bg img.landscape {
    max-width: none;
}

#mycoolblue #results #subsidy-information > p {
    margin: 18px 0 7px;
}

@media screen and (max-width: 1520px) {
    #mycoolblue #results #subsidy-information > p {
        margin-top: 0;
    }
}

/* ************* */
/* ME CALCULATOR */
/* ************* */
#me-calculator .calc-bg {
    min-height: 410px;
}

/* CALCULATOR */
#me-calculator #calc-project-data .calc-bg {
    min-height: 0;
}

#me-calculator #calc-technical-input .calc-bg,
#me-calculator #calc-options.calc-bg {
    min-height: 750px;
}

#me-calculator #calc-performance-data .calc-bg,
#me-calculator #calc-prices.calc-bg {
    min-height: 220px;
}

#me-calculator .showPrices #calc-prices.calc-bg {
    min-height: 270px;
}

#me-calculator #current-profile .calc-bg {
    min-height: 40px;
}

/* SIMULATION */

#me-calculator #operatingData .calc-bg.double-height {
    min-height: 830px;
}

#me-calculator #results .top-row .calc-bg {
    min-height: 390px;
}

#me-calculator #results .bottom-row .calc-bg {
    min-height: 400px;
}

#me-calculator #results .bottom-row .calc-bg .subsidy-header {
    font-size: 18px;
    text-decoration: none;
}

#me-calculator #results #subsidy-information > p {
    margin: 22px 0 0;
}

/* MEDIUM SCREENS */
@media screen and (max-width: 1520px) {
    #me-calculator #results .top-row .calc-bg {
        min-height: 420px;
    }

    #me-calculator #results .bottom-row .calc-bg {
        min-height: 400px;
    }

    #me-calculator #results #subsidy-information > p {
        margin-top: 0;
    }
}

/* SMALL SCREENS */
@media (max-width: 1000px) {
    #me-calculator .calc-bg,
    #me-calculator #calc-project-data .calc-bg,
    #me-calculator #calc-technical-input .calc-bg,
    #me-calculator #calc-options.calc-bg,
    #me-calculator #calc-performance-data .calc-bg,
    #me-calculator #calc-prices.calc-bg,
    #me-calculator .showPrices #calc-prices.calc-bg,
    #me-calculator #current-profile .calc-bg,
    #me-calculator #operatingData .calc-bg.double-height,
    #me-calculator #results .top-row .calc-bg,
    #me-calculator #results .bottom-row .calc-bg {
        min-height: 0;
    }
}

#print-order-data-button {
    font-weight: bold;
    color: #000;
}

#pdf-modal .modal-body a#print-order-data-button img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

#print-order-data-button .hover {
    display: none;
}

#print-order-data-button:hover .hover {
    display: inline;
}

#print-order-data-button .default {
    display: inline;
}

#print-order-data-button:hover .default {
    display: none;
}