﻿/* COMMON */

body {
    font-family: "Verdana Regular", Verdana, Arial;
    font-size: 18px;
}

h2, h3, h4, span.sub-h4, h5 {
    font-family: "Verdana Regular", Verdana, Arial;
    font-weight: normal;
    color: #828282;
    margin: 0;
}

span.sub-headline {
    font-family: "Verdana Regular", Verdana, Arial;
    font-weight: normal;
    color: #2596ca;
    margin: 0;
}

h2 {
    font-size: 30px;
}

h3,
span.sub-headline {
    font-size: 24px;
}

@media only screen and (max-width: 40em) {
    h2 {
        font-size: 18px;
    }

    span.sub-headline {
        font-size: 16px;
    }
}

h4 {
    font-size: 16px;
}

span.sub-h4 {
    font-size: 16px;
    color: #2596ca;
    text-transform: uppercase;
}

h4 + span.sub-h4 {
    /*Pull it up*/
    position: relative;
    top: -5px;
}

input,
textarea {
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #2596ca;
}

.f-input {
    margin-bottom: 20px;
}

.f-input label {
    display:block;
}

.hidden {
    display: none;
} 
#main,
#searchMain {
    height: auto !important;
    min-height: calc(100% - 130px - 60px);
    overflow-x:hidden;
}

#view {
    padding:0;
}

#content,
.content {
    padding: 30px 0;
}

#content.top-content,
.content {
    padding-top: 0;
}

#content.padding-content,
.content.padding-content {
    padding: 0 0.9375em;
}

#content.top-content > h4,
.content.top-content > h4, 
.searchContent.top-content > div > h4
{
    line-height: 50px;
    margin-left: 20px;
    color: black;
}

table tr:nth-of-type(even) {
    background: none;
}

table tbody.even tr {
    background: #eeeeee;
}

table tbody.even td {}

.tab-nav a {
    font-size: 15px;
}

.pagination {
    text-align: center;
    margin-bottom: 20px;
}

    .pagination span,
    .pagination span a {
        line-height: 37px;
    }

    .pagination span {
        display: inline-block;
        margin-right: 10px;
    }

        .pagination span a {
            display: block;
            color: #666666;
            height: 37px;
            width: 37px;
            text-align: center;
        }

            .pagination span a:hover,
            .pagination span.active a {
                background: url("img/layout/Paginierung_Selection.png");
                background-repeat: no-repeat;
                color: #fff;
            }

.sort-asc,
.sort-desc,
.print-icon {
    cursor: pointer;
}

.relative {
    position: relative;
}

a {
    text-decoration: none;
}

button {
    border: none;
}

.disabled button,
.disabled button.dark {
    background-color: #666666;
}
    select.error,
    input.error,
    textarea.error,
    .signatureimage.error {
        border: 2px solid #993300 !important;
    }


.new-service-text {
    margin: 0 20px 20px 20px;
    display:block;
    width:100%;
}

.list-item {
    padding: 10px;
    border-bottom: 1px solid #eeeeee;
}
.list-item-text {
    display: inline-block;
    overflow: hidden;
    color: #222222;
}

.list-item.has-button .list-item-text {
    max-width: calc(100% - 35px);
}

.list-item-text.one-line {
    max-height: 25px;
}

.list-item .button-red,
.list-item .button-green {
    color: white;

    display: block;
    width: 30px;
    height: 30px;
    float: right;
    text-align: center;
}
.list-item .button-red {
    background-color: #993300;
}
.list-item .button-green {
    background-color: #196f10;
}

.nopad {
    padding: 0 !important;
}

/* END: COMMON */

/* HEADER */
#footer {
    background: #2596ca;
    color: #ffffff;
}

#header {
    padding: 11px 20px 6px 0;
    background-color: white;
    border-bottom: 1px solid #2596ca;
}

@media only screen and (max-width: 40em) {
    #header {
        padding: 11px 0 6px 0;
    }

    #header .show-for-small.account.ng-hide {
        display:none!important;
    }
    .logo-area {
        padding:10px 0;
    }

    #header .logo-area h1  {
        text-align:left;
    }

    .logo-area h1 .head-logo {
        width: 75px;
        margin-right:10px;
    }

    .logo-area .head-title {
        position:absolute;
        bottom:0;
        width:215px;
        max-width:100%;
    }

    #header .show-for-small.head-nav {
        padding-top:5px;
        padding-bottom:2px;
    }

    #header .show-for-small.head-nav a {
        font-size:14px;
    }

    .table-scroll::-webkit-scrollbar-thumb {
        border-radius: 8px;
        border: 3px solid #fff;
        background-color: rgba(0, 0, 0, .3);
    }

    .table-scroll::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 14px;
        height: 14px;
    }
    .table-scroll {
        width: 100%;
        overflow-y: auto;
        _overflow: auto;
        margin: 0 0 1em;
    }

    #footer .inline-list {
        padding:20px 0;
    }

    #footer .columns {
        padding:0 0 0 20px;
    }
    #footer .columns:last-child {
        padding-left:0;
    }
} 


    #header h1 {
        text-align: left;
        margin: 0;
    }

    #header .pageTitle {
        color: #ffffff;
        text-transform: uppercase;
        font-size: 30px;
        font-family: "polo_condensed_rbuch";
        margin: 0;
        padding: 0;
    }

    #header a {
        color: #828282;
    }

    #header .head-nav {
        padding-top:9px;
    }

    #header .head-logo {
        margin-top: 25px;
    }

    #header .headImage {
        height:45px;
    }

    #header .head-nav a {
        font-size: 20px;
        margin-right: 34px;
    }

    #header .head-nav a:last-child {
        margin-right: 0;
    }
    #header .head-nav .no-margin {
        margin:0;
    }
/* END: HEADER */

/* FOOTER */

#controlPanel {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

    #controlPanel.absolute {
        position: absolute !important;
        bottom: 59px;
    }
/*
#controlPanel {
    bottom: 59px;
}*/

#footer p,
#footer ul {
    margin: 0;
    padding: 20px;
}

#footer li,
#footer p {
    font-size: 12px;
}

    #footer li:first-child {
        margin: 0;
    }

    #footer li,
    #footer li a {
        color: white;
    }

/* END: FOOTER */

/* NAVIGATION */
#navigation {
    padding-right: 0;
    padding-left:0;
}

.nav-small-header {
    position:relative;
    background: #015385;
    color:#fff;
    padding:10px 20px 10px 5px;
    border-top: 1px solid #fff;
}

.basket-container {
    padding: 10px 10px 0 10px;
}

.nav-small-header a {
    display:block;
    position:relative;
    color:#fff;
    padding-left:45px;
}

.nav-small-header a {
    padding-left:0;
}

.nav-small-header a.menu-link:after {
    content: "";
    position: absolute;
    display: block;
    height: 0;
    top: 0px;
    margin-top: -0.4rem;
    left: 0.40625rem;
    /*box-shadow: 0 0px 0 1px white, 0 7px 0 1px white, 0 14px 0 1px white;*/
    background-image: url('img/layout/m_menu.png');
    background-repeat:no-repeat;
    background-size: 32px 43px;
    width: 32px;
    height:32px;
}

.nav-small-header a {
    font-size:13px;
    line-height:30px;
}


.nav-small-header .head-nav a {
    float:right;
    display:inline-block;
    padding-left:20px;
    font-size:13px;
    line-height:30px;
}

.nav-small-header .head-nav a:last-child {
    padding-left:0;
}

.nav-container {
    overflow-y: hidden;

	-webkit-transition: max-height 0.5s ease-in-out;
    -moz-transition: max-height 0.5s ease-in-out;
    -o-transition: max-height 0.5s ease-in-out;
    transition: max-height 0.5s ease-in-out;
}

.nav-container.closed {
    max-height: 0 !important;
    padding:0;
}

.orderSearch.orderSearch-small {
    padding: 10px 0.9375em !important;
    border-bottom: 1px solid #015385;
}
.orderSearch-small input {
    padding:10px !important;
}

ul.side-sub-nav {
    padding: 0;
}

.side-nav {
    border-left: 1px solid #eeeeee;
    border-right: 1px solid #eeeeee;
    padding: 0 10px;
    font-family: "Verdana";
}

    .side-nav strong {
        color: #2596ca;
        font-weight: normal;
    }

    .side-nav li {
        font-size: 13px;
        margin: 0 0 3px 0;
    }

        .side-nav li.selected strong {
        }

    .side-nav > li > ul {
        list-style-type: none;
        margin-left: 0;
    }

        .side-nav > li > ul > li,
        .side-nav > li > strong,
        .orderSearch {
            border-bottom: 1px solid #eee;
        }

        .side-nav > li > ul a:not(.button) {
            margin-left: 10px;
        }

    .side-nav li a,
    .side-nav li a:not(.button),
    .side-nav > li > strong {
        display: block;
        padding: 0;
        line-height: 54px;
        color: #828282;
    }
    
    .side-nav > li > strong,
    .side-nav > li > strong > a:not(.button) {
        color: #2596ca !important;
    }

        .side-nav li a:hover,
        .side-nav li a:not(.button):hover,
        .side-nav li a:not(.button):active,
        .side-nav li a:active,
        .side-nav li a:focus,
        .side-nav li a:not(.button):focus {
            background: none;
            color: #2596ca;
        }

        .side-nav li a.selected {
            font-weight: bold;
        }

    .side-nav > li.apart {
        margin-top: 54px;
        border-top: 1px solid #eee;
    }

.orderSearch {
    padding: 13px 0 20px 0;
}

.orderSearch label {
    color: #828282;
    text-transform: uppercase;
    display:block;
    margin-bottom:5px;
}

.orderSearch input {
    width:75%;
    width: calc(100% - 64px);
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #2596ca;
}

.orderSearch #orderSearchStandalone {
    width:100%;
}

.orderSearch img {
    width: 44px;
}

/* END: NAVIGATION */

/* ACCOUNT */
.account {
    height: 68px;
    font-size: 16px;
}

.account-info .info-label {
    color: #2596ca;
}

.account-info .info-text {
    margin-right: 68px;
}

@media only screen and (min-width: 40.063em) and (orientation: portrait) {
    .account-info .info-text {
        margin-right: 20px;
    }
}

.account.show-for-small {
    font-size:14px;
    border-bottom:1px solid #fff;
    height:auto;
    padding-bottom:10px;
}

.account-info:first-child .info-text {
    margin-right: 0;
}

/* END: ACCOUNT */

/* MAINTENANCE */

.maintenance {
    border: 1px solid #cccccc;
    color: #ff0000;
    padding: 20px;
}

    .maintenance h3 {
        color: #ff0000;
        margin: 0 0 14px 0;
        padding: 0;
    }

    .maintenance p {
        margin: 0;
        padding: 0;
    }

/* END: MAINTENANCE */

/* WELCOME */

@media only screen and (min-width: 40.063em) and (max-width: 64.063em) {
    .welcome-container {
        right:3%;
    }
}

@media only screen and (min-width: 40.063em) and (orientation: portrait) {
    .welcome-container {
        right:0%;
    }
}

.welcome-tile {
    margin-top: 30px;
    margin-bottom: 55px;
}

    .welcome-tile a {
        display: block;
        color: #2596ca;
        height: 100%;
        position:relative;
        width:160px;
    }

    .welcome-tile .large-tile:hover a,
    .welcome-tile .small-tile:hover a {
        color: white;
    }

.small-tile,
.large-tile {
    position: relative;
    cursor: pointer;
    background: #e1e1e1;
}

.small-tile {
    width: 160px;
    height: 160px;
    float: left;
    margin-bottom: 20px;
    margin-left: 20px;
}

.large-tile {
    width: 160px;
    height: 340px;
    margin-left: 20px;
}

.large-tile, .small-tile-rows {
    float: left;
}

.small-tile-rows {
    width: 560px;
}

.small-tile:hover,
.large-tile:hover {
    position: relative;
    cursor: pointer;
    background: #259DD2;
}

    .small-tile:hover .tile-count,
    .large-tile:hover .tile-count {
        font-size: 95px;
    }

    .small-tile:hover .tile-count.small-tile-count,
    .large-tile:hover .tile-count.small-tile-count {
        font-size: 85px;
    }

/*.welcome-tile .orderState-1 {
    background: url('img/layout/Neue Aufträge.png');
    background-repeat: no-repeat;
    background-position: 0.9375em 0;
}

    .welcome-tile .orderState-1:hover {
        background: url('img/layout/kacheln H.png'), url('img/layout/Neue Aufträge.png');
        background-repeat: no-repeat;
        background-position: 0.9375em 0, 0.9375em 0;
    }

.welcome-tile .orderState-2 {
    background: url('img/layout/Laufende.png');
    background-repeat: no-repeat;
    background-position: 0.9375em 0;
}

    .welcome-tile .orderState-2:hover {
        background: url('img/layout/kacheln.png'), url('img/layout/Laufende.png');
        background-repeat: no-repeat;
        background-position: 0.9375em 0;
    }

.welcome-tile .orderState-3 {
    background: url('img/layout/Unterbrochene.png');
    background-repeat: no-repeat;
    background-position: 0.9375em 0;
}

    .welcome-tile .orderState-3:hover {
        background: url('img/layout/kacheln.png'), url('img/layout/Unterbrochene.png');
        background-repeat: no-repeat;
        background-position: 0.9375em 0;
    }

.welcome-tile .orderState-4 {
    background: url('img/layout/Fertiggestellte.png');
    background-repeat: no-repeat;
    background-position: 0.9375em 0;
}

    .welcome-tile .orderState-4:hover {
        background: url('img/layout/kacheln.png'), url('img/layout/Fertiggestellte.png');
        background-repeat: no-repeat;
        background-position: 0.9375em 0;
    }

.welcome-tile .orderState-5 {
    background: url('img/layout/in Prüfung.png');
    background-repeat: no-repeat;
    background-position: 0.9375em 0;
}

    .welcome-tile .orderState-5:hover {
        background: url('img/layout/kacheln.png'), url('img/layout/in Prüfung.png');
        background-repeat: no-repeat;
        background-position: 0.9375em 0;
    }

.welcome-tile .orderState-6 {
    background: url('img/layout/Zurückgewiesen.png');
    background-repeat: no-repeat;
    background-position: 0.9375em 0;
}

    .welcome-tile .orderState-6:hover {
        background: url('img/layout/kacheln.png'), url('img/layout/Zurückgewiesen.png');
        background-repeat: no-repeat;
        background-position: 0.9375em 0;
    }

.welcome-tile .orderState-7 {
    background: url('img/layout/Geprüft.png');
    background-repeat: no-repeat;
    background-position: 0.9375em 0;
}

    .welcome-tile .orderState-7:hover {
        background: url('img/layout/kacheln.png'), url('img/layout/Geprüft.png');
        background-repeat: no-repeat;
        background-position: 0.9375em 0;
    }

.welcome-tile .orderState-8 {
    background: url('img/layout/Gutschriften.png');
    background-repeat: no-repeat;
    background-position: 0.9375em 0;
}

    .welcome-tile .orderState-8:hover {
        background: url('img/layout/kacheln H.png'), url('img/layout/Gutschriften.png');
        background-repeat: no-repeat;
        background-position: 0.9375em 0;
    }*/

.welcome-tile .large-tile {
    height: 340px;
}

.welcome-tile .small-tile {
    height: 160px;
}

.row .small-tile-row {
    margin-bottom: 20px;
}

.tile-count {
    display: block;
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 71px;
    line-height: 1;
    -webkit-transition: font 0.3s ease;
    -moz-transition: font 0.3s ease;
    -o-transition: font 0.3s ease;
    -ms-transition: font 0.3s ease;
    transition: font 0.3s ease;
    font-family: Helvetica;
}

@media only screen and (max-width: 840px) {
    .tile-count {
        right: 28px;
    }
}

@media only screen and (max-width: 700px) {
    .tile-count {
        right: 45px;
    }
}

.tile-text {
    display: block;
    position: absolute;
    bottom: 0;
    left: 10px;
    font-family: "polo_condensed_rbuch";
    font-size: 19px;
}

@media only screen and (min-width: 40.063em) {
    .tile-text {
        left: 10px;
    }
}

@media only screen and (max-width: 40em) {
    .small-tile {
        width:48%;
        margin-bottom: 20px;
        padding-right: 0.9375em;
    }
    .row .small-tile-row {
        margin-bottom:0;
    }
    .tile-count {
        right:10px;
    }
    .small-tile[class*="column"] + .small-tile[class*="column"]:last-child {
        float:left;
    }
}

/* END: WELCOME */

/* DL */


div.dl {
    margin-bottom: 30px;
}

span.dt,
span.dd {
    font-size: 12px;
    font-weight: bold;
    color: #828282;
}

span.dd {
    font-weight: normal;
}

span.dd input {
    height: 32px;
    width: 100px;
    color: #2596ca;
    padding: 0 6px;
    border: 1px solid #2596ca;
} 
/* END: DL */

/* GENERAL TABLE */

table {
    width: 100%;
    border: none;
}

    table thead {
        background: #fff;
        border-top: 1px solid #eeeeee;
        border-bottom: 1px solid #eeeeee;
        border-right: 1px solid #eee;
        height: 40px;
    }

        table thead tr {
            height: 40px;
        }

            table thead tr th {
                font-size: 12px;
                font-weight: bold;
                color: #2596ca;
                text-align: left;
                padding: 0 20px;
            }

    table tbody tr td {
        font-size: 12px;
        color: #015385;
        padding: 20px 10px;
    }

/* END: GENERAL TABLE */

/* ORDERS */

.order-container {
    display:block;
    background:#fff;
    padding:10px;
    border-bottom:1px solid #cccccc;
}

.order-container .dl {
    margin-bottom:10px;
}

.order-status {
    width:30px;
}

.order-status img {
    width:20px;
}

.order-content {
    width:85%;
    width:calc(100% - 30px);
}

.order-actions a,
.order-actions span {
    font-size: 12px;
    display:block;
    float:left;
    width:48%;
    text-align: center;
    padding:10px;
}

.order-actions a:first-child,
.order-actions span:first-child {
    margin-right:2%;
}

.order-actions a.createLN:first-child {
    margin-right:0;
}

.order-actions a.createLN {
    width:100%;
}

.order-actions a {
    background: #015385;
    color:#fff;
}

.order-actions a.confirm {
    background: #196f10;
}

.order-actions a.interrupt {
    background: #993300;
}

.order-container.stateChanged,
.order-container.stateChanged span.dt,
.order-container.stateChanged span.dd {
    color:#666;
}

.order-container .state-changed {
    font-weight:bold;
    text-align:left;
    padding-left:0px;
}

@media only screen and (max-width: 40em) {
    .order-container {
        display: block !important;
    }
}

.order-table thead tr th {
    padding: 0 10px;
}

table tbody.stateChanged td {
    color:#666;
}

.order-table .item .toggleIcon,
.order-table .order-reload {
    cursor: pointer;
}

.order-table tr th:first-child,
.order-table tr td:first-child,
.order-table .toggle-column {
    padding: 0;
}

.order-table tr th:last-child,
.order-table tr td:last-child {
    padding-right: 20px;
}

.order-table .info-column img {
    width:20px;
    height:20px;
}

.order-table .info-column img.margin {
    margin-top: 10px;
}

.order-table .order-table-head-actions {
    text-align: right;
}

.order-table .order-table-actions {
    text-align: right;
}

    .order-table .order-table-actions a {
        display: block;
    }

    .order-table .order-table-actions .state-changed {
        font-weight: bold;
    }

.order-table .item-detail-label {
    vertical-align: top;
}

.order-table .no-orders tr td {
    text-align: center;
    font-style: italic;
    padding: 20px;
}

.order-table .button-cell {
    position: relative;
}

.order-table .button-cell .button {
    background: #2596ca;
    color: white;
    padding: 10px;
    margin: 20px;
    cursor: pointer;
    display: block;
    font-size: 17px;
    text-align: center;
}

.order-table .button-cell .button.checked {
    padding-left: 35px;
    background: url('img/layout/check.png'), #2596ca;
    background-position: left center;
    background-size: 36px 36px;
    background-repeat: no-repeat;
}

.order-table .button-cell-box {
    width: 200px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.order-table .small-button-row {
    display: inline-block;
    text-align: right;
    width: 100%;
    margin: 0;
}

.order-table .small-button-row .button {
    display: inline-block;
    height: 44px;
    width: 44px;
    margin: 0 20px 20px 0;
}

.order-table .small-button-row .button.hist-icon {
    padding: 0;
    
    background: url('img/layout/Verlauf.png');
    background-size: 44px 44px;
    background-repeat: no-repeat;
}

.order-table .small-button-row .button.build-hist-icon {
    padding: 0;
    
    background: url('img/layout/Historie.png');
    background-size: 44px 44px;
    background-repeat: no-repeat;
}

.print-icon {
    position: absolute;
    bottom: 0;
    right: 0;
}

.input-remark {
    padding:5px 10px;
    margin-top: 14px;
    width:80%;
}

.margin-left {
    margin-left: 12px;
}

/* END: ORDERS */

/* ANIMATION */

/* Push */
@-webkit-keyframes hvr-push {
    50% {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes hvr-push {
    50% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.ani-push {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased !important;
}

.ani-push {
    -webkit-animation-name: hvr-push;
    animation-name: hvr-push;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    animation-delay: 0.5s;
    -webkit-font-smoothing: antialiased !important;
}

/* Pop */
@-webkit-keyframes hvr-pop {
    50% {
        -webkit-transform: scale(1.5);
        transform: scale(1.5);
    }
}

@keyframes hvr-pop {
    50% {
        -webkit-transform: scale(1.5);
        transform: scale(1.5);
    }
}

.ani-pop {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased !important;
}

.ani-pop {
    -webkit-animation-name: hvr-pop;
    animation-name: hvr-pop;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    animation-delay: 0.5s;
    -webkit-font-smoothing: antialiased !important;
}

.ani-spin {
    -webkit-animation: spin 1s linear infinite;
    -moz-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(-360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(-360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

/* END: ANIMATION */

/* Popups General */
body.popupSelected{
    overflow: hidden;
}

.popupcontainer {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2;
    top:0;
}
.popupcontainer.sign {
   z-index: 1000;
}
.popup {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: white;
}

.popup-box {
    position: fixed;
    width: 600px;
    max-width:100%;
    height: 300px;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    text-align: center;
}
.popupcontainer.sign .popup{
    height: 420px;
    padding: 20px 15px 20px 15px;

}
.popupcontainer.sign .popup > .close{
    height: 30px;
    margin-bottom: 20px;
    text-align: right;
}
.popupcontainer.sign .detail{
    background-color: #015385;
    overflow: hidden;
    color: #FFF;
}
.popupcontainer.sign .buttonSign{
    border-top: 2px solid white;
}
.popupcontainer.sign button{
    border: none !important;
    font-size: 15px !important;
    text-align: left;
    padding: 10px;
}
.popupcontainer.sign button.right{
    text-align: right;
}

@media only screen and (max-width: 40em) {
    .popup-box {
        top: 50%;
        bottom: auto;
        left: 50%;
        right: auto;
        transform: translate(-50%,-50%);
        height: auto;
    }
}

#datepicker-popup, #datepicker-popup-1 {
    padding:8px;
}
#datepickerImg-popup {
}

@media only screen and (max-width: 40em) {
    #ui-datepicker-div {
        width: 225px;
    }
}

/* END of Popups General */

/* Print-Popup */
#printpopup {
    height: 100%;
    width: 595px;
    font-size: 12px;
    padding: 0;
    color: #000000;
    overflow-y: auto;
    overflow-x: visible;
}
#printpopup > .clearfix{
    padding: 33px 52px 0 52px;
}

#printpopup > .print-space {
    padding-bottom: 100px;
}

    #printpopup p,
    #printpopup td {
        font-size: 12px;
        color: #000000;
    }

    #printpopup h1 {
        font-size: 20px;
        color: #000000;
    }

    #printpopup h2 {
        font-size: 18px;
        color: #000000;
    }

    #printpopup p {
        margin-bottom: 10px;
    }

    #printpopup .subtext {
        margin-bottom: 12px;
    }

    #printpopup .subtext.small-subtext {
        font-size:9px;
        background:none !important;
        margin-bottom:0;
        padding-bottom:0;
    }

    #printpopup table {
        border: none;
        margin-top: 3px;
    }

        #printpopup table td {
            padding: 0;
            vertical-align: top;
        }


    #printpopup .besidelogo {
        float: left;
        width: 314px;
        margin-top: 28px;
        margin-right: 0;
    }

    #printpopup .logo {
        float: left;
        margin-right: -30px;
    }

        #printpopup .logo img {
            margin-bottom: 13px;
        }

    #printpopup table.form {
        margin-top: 0;
        margin-bottom: 4px;
    }

    #printpopup .form-head h2 {
        width: 389px;
    }

    #printpopup table.form span.dummy {
        display: inline-block;
        margin-top: 3px;
        margin-right: 10px;
    }

    #printpopup span.dummy.input, #printpopup span.dummy.checkbox {
        height: 27px;
        border: 1px solid black;
        background-color: #FFFFFF;
    }

    #printpopup span.dummy.input{
        width: 82px;
        margin-bottom: 4px;
    }

    #printpopup span.dummy.checkbox {
        width: 30px;
    }

    #printpopup table.form span.dummy.checkbox {
        float: left;
    }

    #printpopup table.form td.valign {
        line-height: 36px;
    }

    #printpopup button.sign {
        margin-top: 28px;
        margin-bottom: 12px;
    }

    #printpopup div.signline {
        width: 300px;
        font-size: 8px;
        border-top: 1px solid black;
    }

    /*  Yes/no labels*/
    #printpopup span.no,
    #printpopup span.yes {
        margin-top: 7px;
    }

    #printpopup span.yes {
        margin-right: 35px;
        margin-left: -10px;
    }

    /*  Lower div with "print"-button*/
    #printpopup div.print {
        text-align: center;
        height: 82px;
        padding: 20px 0;
        border-top: 1px solid black;
        background: #fff;
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        width: 595px;
    }

    #printpopup div.print button {
        display: inline-block;
    }
    #printpopup.performanceRecord table thead tr th, #printpopup.performanceRecord table tbody tr td{
        font-size: 10px;
        padding: 0 5px;
    }
    #printpopup.performanceRecord table thead tr th.pos, #printpopup.performanceRecord table thead tr th.font-left {
        text-align: left;
    }
    #printpopup.performanceRecord table thead tr th.pos {
        padding: 0;
    }
    #printpopup.performanceRecord .center.bold{
        font-weight: bold;
        text-align: center;
    }
    #printpopup.performanceRecord td.sum{
        font-size: 11px;
        font-weight: bold;
    }
   #printpopup div.columns.info,
   #printpopup .subtext {
       background-color: lightgray !important;
       padding: 15px 10px;
       -webkit-print-color-adjust: exact; 
   }
   #printpopup .desc{
       clear: both;
   }

   .print-table {
        margin-bottom:20px;
   }

   .print-table thead {
       border:1px solid #000000;
       color:#000;
   }
   .print-table thead tr {
       height:25px;
   }
   .print-table thead th {
       color:#000;
       border-right:1px solid #000000;
       padding:0 !important;
       text-align:center;
   }
   .print-table tbody tr {
       border:1px solid #000000;
   }
   #printpopup .print-table tbody td {
       color:#000;
       border-right:1px solid #000000;
       padding:0;
       height:30px;
   }
   
/* END of Print-Popup */

/* History-Popup */
.popup.history-popup {
    width: 80%;
    height: 650px;
    padding: 10px;
}

.popup.history-popup h4 {
    margin: 10px 10px 5px;
    color: black;
    font-size: 20px;
}

.popup.history-popup p {
    font-size: 12px;
    font-weight: bold;
    margin: 0 10px 15px;
}

.popup.history-popup div.scrollable {
    height: 535px;
    overflow-y: scroll;
}

.popup.history-popup thead {
    border: none;
}

.popup.history-popup thead tr th,
.popup.history-popup tbody tr td {
    padding: 0 10px;
    color: black;
}

.popup.history-popup tr.odd {
    background: #FBFBFB;
}

.popup a.cross {
    background: url('img/layout/Schliessen.png');
    background-size: 36px 36px;
    background-repeat: no-repeat;
    width: 36px;
    height: 36px;

    float: right;
    margin: 0px 10px 0px 0px;
}
/* END: History-Popup */

/* ObjectSearch-Popup */
.popup.objectSearch-popup{
    height:530px;
}

.popup.report-damage-popup{
    height:750px;
    width:1200px;
    padding: 0 0 0 0;
    bottom: 50px;
}

.popup.damageReportResult-popup{
    height:150px;
}

.modal-padding{
    margin-left: 5px;
}

.no-pad{
    padding-left:0;
    padding-right:0;
}

/* AreaOrder-Popup */
.popup.areaOrder-popup {
    height: 600px;
}

.popup.areaOrder-popup .row {
   margin-bottom: 6px;
}

.popup.areaOrder-popup .largebutton {
    padding-right: 0;    
    padding-left: 10px;
}

.popup.areaOrder-popup .row.date .cell {
    width: 48%;
    box-sizing: border-box;
}

.popup.areaOrder-popup .row.date .cell:first-child {
   margin-right: 10px;
}

.popup.areaOrder-popup .row.date input {
    width: 70%;
}

/* Signature-Popup */
.signatureimage {
    position: relative;
    width: 800px;
    height: 250px;
    border: 1px solid black;
    margin: 50px auto 0;
    cursor: default;
}

.signatureimage .leftDescr,
.signatureimage .rightDescr {
    width: 320px;
    position: absolute;
    bottom: 20px;
    border-top: 1px solid black;
    text-align: left;
    font-size: 14px;
}

.signatureimage .leftDescr {
    left: 25px;
}

.signatureimage .rightDescr {
    right: 25px;
}

.signatureimage-small {
    position: relative;
    width: 600px;
    height: 187px;
    border: 1px solid black;
    margin-top: 10px;
}

.signatureimage-small .leftDescr,
.signatureimage-small .rightDescr {
    width: 240px;
    position: absolute;
    bottom: 10px;
    border-top: 1px solid black;
    text-align: left;
    font-size: 12px;
}

.signatureimage-small .leftDescr {
    left: 19px;
}

.signatureimage-small .rightDescr {
    right: 19px;
}

.signatureimage .placeholder,
.signatureimage-small .placeholder {
    color: #e1e1e1;
    margin-top: 100px;
    width: 100%;
    text-align: center;
    display: inline-block;
}

.signatureimage-small .placeholder {
    margin-top: 65px;
}

.popupcontainer .buttonDistant button {
    margin: 20px;
}

.popupcontainer .buttonDistant img {
    margin: 12px;
}

.popupcontainer .buttonDistant button:disabled {
    background-color: #828282;
    border-color: #828282;
}
/* END: Signature-Popup */

/* LOADER */

.x-loader {
    width: 300px;
    height: 200px;
}

    .x-loader p {
        margin: 45px 30px 20px 30px;
        color: #2596ca;
        font-weight: bold;
    }

    .x-loader img {
        margin: 10px;
    }

/* END: LOADER */

/* VALIDATION */

.validation .popup-box {
    padding: 40px;
}

.validation h4 {
    margin-bottom: 60px;
}

.validation p {
    margin-bottom: 60px;
}

.validation button.dark,
.validation button.light {
    width: 200px;
}

@media only screen and (max-width: 40em) {
    .validation h4 {
        margin-bottom: 30px;
    }

    .validation p {
        margin-bottom: 40px;
    }
}

/* END: VALDIATION */

/* PRINT VIEW */

@media print {
    body {
        overflow-x: visible;
        overflow-y: visible;
    }

    #header,
    #main,
    #searchMain,
    #footer,
    .print,
    #printpopup > .print-space,
    br.no-print {
        display: none;
    }
    .print-page {
        page-break-before: always;
    }

    .print-page.last-page {
        page-break-inside: avoid;
    }

    .print-page.first-page {
        page-break-before: avoid;
    }
    
    button.sign {
        visibility: hidden;
    }

    .logo {
        float: right !important;
        margin-right: 0px !important;
    }

    .besidelogo {
        margin-right: 0px;
    }
    .popupcontainer{
        height: 100%;
        position: relative;
    }
    #printpopup {
        overflow: visible;
        width: 523pt;
        height: auto;
    }
    #printpopup > .clearfix{
        padding-bottom: 30pt;
        padding-left: 30pt;
        padding-right: 30pt;
        padding-top: 20pt;

    }
    #printpopup.performanceRecord {
        padding-top: 20pt;
    }

        #printpopup span.yes {
            margin-left: 46px !important;
        }
        #printpopup span.dummy.input {
            width: 93px;
        }
    #printpopup .last-page {
       margin-top:50px;
   }

    /*Let the page have the same height as the preview to print all pages in IE & FF!*/
    html, body {
        height: auto;
        overflow: auto;
    }
    .popupcontainer,
    #printpopup {
        position: inherit;
    }
}

/* END: PRINT VIEW */

/* Leistungsnachweis */

.row .rwd-tn {
    margin:20px -0.9375em;
}

.rwd-pos {
    padding-top: 6px;
    font-size:14px;
}

.rwd-item select {
    width:100%;
}

.rwd-item {
    margin-bottom:20px;
    border-bottom:1px solid #eeeeee;
}

.row .rwd-row {
    margin: 0 0 10px 0;
}

.rwd-label {
    font-weight:bold;
    color:#015385;
}

.tn-table {
    margin-bottom: 40px;
}

    .tn-table thead th {
        text-align: center;
    }

    .tn-table tbody *,
    .rwd-item {
        font-size: 12px;
    }

    .tn-table tbody td {
        padding: 2px 5px;
        position:relative;
        vertical-align:top;
    }

    .tn-table td.pos {
        padding-left: 30px;
        text-align: center;
    }

td.icon {
    clear: both;
}

td.icon * {
    float: right;
}

td.icon.center {
    text-align: center;
}

td.icon.center * {
    float: none;
    vertical-align: middle;
}

span.nobold {
    font-weight: normal;
}

button.light,
button.dark {
    width: 100%;
    font-size: 19px;
    padding: 5px 0;
    /*height: 44px;*/
}

button.light {
    color: #2596ca;
    border: 1px solid #2596ca;
    background-color: white;
}

button.dark {
    color: white;
    border: 1px solid #2596ca;
    background-color: #2596ca;
}

div.largebutton {
    padding: 5px;
}

div.h4container {
    margin-top: 15px;
    margin-bottom: 40px;
}

.tn-table th.text {
    text-align: left !important;
    padding-left: 5px;
}

.tn-table td.numeric {
    text-align: center;
}

th.sortable {
    white-space:nowrap;
}

/*Formlikes in table*/

table select {
    width: 80%;
    width: calc(100% - 0);
}

.damage-form-drop-down{
    width: 100%;
}

select,
input {
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    border-radius:0;
}

select {
    border: 1px solid rgb(169, 169, 169);
    display: inline-block;
    width: auto;
    height: 32px;
}

select:disabled {
    background: #ebebe4;
}

label[for="causeOfDamage"], label[for="causeOfDamageGrp"], label[for="reason"], label[for="referee"], label[for="amountunit"], label[for="newrows"] {
    position: relative
}
label:after {
    right: 8px; 
    top:2px;
    position:absolute;
}
label[for="causeOfDamage"]:before, label[for="causeOfDamageGrp"]:before, label[for="reason"]:before, label[for="referee"]:before, label[for="amountunit"]:before, label[for="newrows"]:before {
    content: '';
    right: 0px;
    top: -8px;
    width: 32px;
    height: 31px;
    background: url('img/layout/Dropdown.png');
    background-size: 32px 32px;
    background-repeat: no-repeat;
    position: absolute;
    pointer-events: none;
    display: block;
}

input[type="checkbox"] {
    display: none;
}
input[type="checkbox"] + label {
    width: 22px;
    height: 22px;
    background: url('img/layout/unchecked.png');
    background-size: 22px 22px;
    background-repeat: no-repeat;
    display: inline-block;
}
input[type="checkbox"]:checked + label {
    background: url('img/layout/checked.png');
    background-size: 22px 22px;
    background-repeat: no-repeat;
}

/* Targetting Webkit browsers only. FF will show the dropdown arrow with so much padding. */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    label[for="reason"]:before, label[for="referee"]:before, label[for="amountunit"]:before, label[for="newrows"]:before {
        top: -8px !important;
    }
}

@-moz-document url-prefix() { 
    table select {
        width: 80%;
        width: calc(100% - 5px);
    }
}

.rwd-item input,
table input {
    height: 32px;
    width: 100%;
}

table input.search {
    height: 32px;
    padding-right:37px;
    /*float: left;*/
}

.autocomplete {
}

.autocomplete ul {
    margin-left: 0;
    width:130px;
}

a.icon {
    display: inline-block;
}

a.plus {
    height: 30px;
    width: 30px;
    background-image: url('img/layout/Plus_weiss.png');
}

a.search {
    height: 32px;
    width: 32px;
    background-image: url('img/layout/Suche_klein.png');
    position:absolute;
    right:5px;
    top:2px;
}

.rwd-item a.search {
    top:0;
    right:11px;
}

a.close, div.close a.close {
    height: 30px;
    width: 30px;
    background-image: url('img/layout/Schliessen.png');
}

.rwd-item select,
table tbody td select,
table tbody td input, .textareaRejected {
    font-size: 12px;
    font-family: Verdana;
    color: #015385;
    padding: 0 6px;
    border: 1px solid #2596ca;
}
table.serviceitems tbody td input{
    padding: 0;
}
    .rwd-item select.greyborder,
    table tbody td select.greyborder,
    table tbody td input.greyborder {
        border: 1px solid #cdcdcd;
    }

table tbody td select {
    padding: 0 0;
}

table tbody td input::-webkit-input-placeholder {
    font-size: 12px;
    font-family: Verdana;
    color: #666666;
    font-style: italic;
}

table tbody td.grey select,
table tbody td.grey input {
    color: #666666;
}

.textareaRejected {
    padding: 6px;
    width: 100%
}
input#date{
    padding: 6px;
}

.table-scroll {
    overflow-y: visible;
    overflow-x: auto;
}

/*END of Formlikes in table*/
.files .file {
    font-size:13px;
    margin:20px;
}

.files .file .ani-spin,
.files .file .upload-check {
    width:20px;
}

.files .file .filename {
    margin-left: 10px;
}

.file .hint {
    font-size: 9px;
    margin-right:20px;
    line-height: 23px;
}

.files .file.file-error {
    color:#f00;
}

/* END: Leistungsnachweis */

/* POSITION SEARCH */

.row .searchForm {
    margin-bottom: 20px;
}

.searchForm input {
    width: calc(100% - 64px);
    margin-right: 20px;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #2596ca;
}

.searchForm button {
    width: auto;
    padding: 5px 10px 1px 10px;
}

.searchForm .large-7 {
    padding-left: 0;
}

.searchForm img {
    width: 44px;
}
.ps-table tbody tr td {
    color: #666666;
    vertical-align: top;
    padding: 10px 5px;
    height: 100%;
    overflow: hidden;
}
.ps-table tbody tr td.description {
    position: relative;
}
.ps-table tbody tr td.description span {
    position: absolute;
    right: 0;
    top: 10px;
    padding: 10px 0 10px 10px;
    background: url('img/layout/Pfeile_unten.png') center center no-repeat;
    display: none;
}
.ps-table tbody tr.accordion  td.description span {
    display: block;
}
.ps-table tbody tr.accordion td > div {
    height: 37px;
    overflow: hidden;
}
.ps-table tbody tr.active.accordion td > div {
    height: auto;
}
.ps-table tbody tr.accordion td.description div {
    padding-right: 7px;
}
.ps-table tbody tr.active td.description span {
    background: url('img/layout/Pfeile_oben.png') center center no-repeat;
}
.ps-table input {
    width: 30px;
    text-align: center;
}

.positions {
    font-size: 14px;
    color: #2596ca;
}

    .positions.side-nav {
        height: 100%;
    }

        .positions.side-nav h4 {
            padding-top: 20px;
        }

        .positions.side-nav strong {
            font-size: 14px;
            font-weight: bold;
            font-family: "Verdana Regular",Verdana,Arial;
        }

        .positions.side-nav li {
            margin-bottom: 40px;
        }

    .positions .position-title {
        width: 85%;
    }

    .positions .position-close {
        cursor: pointer;
    }

    .positions .position-price {
        margin-right: 40px;
    }

/* END: POSITION SEARCH*/

/* CONTROL PANEL */

#controlPanel {
    background: #2596ca;
    border-bottom: 1px solid #fff;
}

    #controlPanel a {
        color: #ffffff;
        display:block;
        width:100%;
    }

    #controlPanel > .row > .columns {
        padding: 5px 0;
    }

        #controlPanel > .row > .columns > .row {
            margin: 0;
        }

    #controlPanel .large-4 {
        border-left: 1px solid #fff;
        border-right: 1px solid #fff;
    }

.half-columns {
    margin: 0;
}

.half-columns .columns {
    width: 50%;
    padding: 0;
}

@media only screen and (min-width: 40.063em) and (orientation: portrait) {
    .half-columns .columns {
        width: 100%;
        text-align:center !important;
        padding:5px 0;
    }

    #controlPanel .medium-15 a {
        width:100%;
        height:100%;
        display:block;
        padding:20px 0;
    }
}

/* END: CONTROL PANEL*/

/* LOGIN */
.login-container {
    /*height: calc(100% - 130px - 65px);*/
}

    .login-container > div {
        position: relative;
    }

    .login-container div.login {
        padding: 0 !important;
        height: 100%;
    }

    .login-container .login-box {
        position: absolute;
        top: 316px;
        /*left: 559px;*/
        width: 521px;
        height: 273px;
        background: url("img/layout/HG_anmelden.png");
        padding: 40px;
        
        -webkit-box-shadow: 3px 4px 22px 0px rgba(0,0,0,0.75);
        -moz-box-shadow: 3px 4px 22px 0px rgba(0,0,0,0.75);
        box-shadow: 3px 4px 22px 0px rgba(0,0,0,0.75);
    }

    .login-container .login-row {
        margin-bottom: 30px;
        height: 44px;
        display: inline-block;
    }

    .login-container label {
        height: 44px;
        width: 190px;
        display: inline-block;
        color: #2596ca;
        font-size: 20px;
    }

    .login-container input,
    .login-container button {
        height: 44px;
        width: 242px;
        padding: 10px;
    }

    .login-container input {
        border: 1px solid #2596ca;
    }

    .login-container button {
        background-color: #2596ca;
        font-size: 19px;
        color: #ffffff;
        line-height: 26px;
        float: right;
        margin-right: 1px;
        margin-top:10px;
    }

    .login-container div button {
        float: right;
    }

    .login-container .login-row {
        margin-bottom: 30px;
        height: 44px;
        display: inline-block;
        width: 100%;
    }

    .login-container .forgotten {
        display:block;
        margin-left:195px;
        font-size:12px;
        color:#015385;
        text-decoration:underline;
        margin-bottom:10px;
    }

    .login-container .forgotten:hover {
        text-decoration:none;
    }

#owl-slider div.item {
}
/* END: LOGIN */

/* BEGIN: LOGOUT */
.logout-container h3 {
    background: url("img/layout/logout_checkmark.png") left center no-repeat;
    font-size: 30px;
    padding-left: 50px;
}
@media only screen and (max-width: 40em) {
    .logout-container h3 {
        font-size: 20px;
        margin: 20px;
    }
}
/* END: LOGOUT */
.row.withInput {
    padding: 13px 0 0 0;
}
.row.withInput span.dt {
    display: inline-block;
    line-height: 16px;
}
.row.withInput .textarea,
.areaOrder-popup .row.withInput input {
    width: 100%;
}
/* General Popup */
.popup {
    height: 200px;
    width: 600px;
    max-width:100%;
    padding: 32px 52px 19px 52px;

    font-size: 12px;
    color: #000000;
}

@media only screen and (max-width: 40em) {
    .popup {
        height: 250px;
        padding: 32px 20px 19px 20px;
    }

    .popup .buttonSign,
    .popup-box .buttonSign {
        text-align:center;
    }

    .popup .buttonSign button,
    .popup-box .buttonSign button {
        float:none !important;
        margin-bottom:10px;
    }
}

.popup.center {
    text-align: center;
}

.popup button.medium {
    width: 200px;
}
/*END: General Popup*/

/* CONTACT */

.login-container .contact-form input,
.login-container .contact-form label,
.login-container .contact-form div button {
    height:inherit;
    width:inherit;
    display:inherit;
    float:inherit;
}

.contact-form h3 {
    margin-bottom:20px;
}

/* END: CONTACT */

/* HELP PAGE */
.list-item video {
    max-width: 100%;
}
@media only screen and (max-width: 40em) {
    .list-item video {
        margin: 0 auto;
        display: block;
    }
}
/* END: HELP PAGE */

/* RWD BASKET */

.nav-small-header.basket-header {
    padding:10px 20px;
}

.nav-small-header.basket-header a.menu-link {
    display:block;
    width:100%;
    position:relative;
}

.nav-small-header.basket-header a.menu-link:after {
    content:" ";
    background-image: url('img/layout/Pfeile_01_unten.png');
    background-repeat: no-repeat;
    background-size:12px 8px;
    background-position-x:right;
    float:right;
    right:0px;
    top:17px;
    left:auto;
    
}

.nav-small-header.basket-header a.menu-link.active:after {
    background-image: url('img/layout/Pfeile_01_oben.png');
    background-repeat: no-repeat;
    background-size:12px 8px;
}


.basket-actions button {
    margin-bottom:10px;
}

.ps-item {
    margin-bottom:20px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom:20px;
}

.ps-item .dl {
    margin-bottom:10px;
}

.ps-amount {
    font-weight: bold;
    color: #0e3c6e;
}

.ps-amount input {
    height:32px;
    width:100% !important;
    color:rgb(34, 34, 34);
    text-align:center;
}

.basket-container {
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
    border-bottom: 1px solid #eeeeee;
}

.basket-container .side-nav {
    border:none;
    padding:0;
}

@media only screen and (max-width: 40em) {
    #content .h4container {
        margin-bottom:10px;
    }

    #content .h4container h4 {
        font-size:14px;
    }
}

/* END: RWD BASKET */

#owl-slider .item {
    background-image: url();
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    overflow: hidden;
    *zoom: 1;
}
#owl-slider .item img {display: none}
#owl-slider .owl-wrapper-outer, #owl-slider .owl-wrapper, #owl-slider .owl-item, #owl-slider .item { width: 100%; height: 100%; }

@media only screen and (min-width: 40.063em) {
        .login-container .login-box {
            right: 100px;
            top:200px
        }
    }

@media only screen and (orientation: portrait) {
    .login-container .login-box {
        right:50px;
    }
}

@media only screen and (max-width: 40em) {
    #main, #searchMain {
        min-height: calc(100% - 85px - 59px);
    }

    .login-container>.row {
        min-height: 210px;
    }

    .login-container .login-box {
        position: absolute;
        top: auto;
        bottom: 20px;
        left: 10px;
        width: 95%;
        padding: 20px 20px 12px 20px;
        height: auto;
    }

    .login-container .login-row {
        height:auto;
        margin-bottom: 10px;
    }
    .login-container .login-row:last-of-type {
        margin-bottom: 0;
    }

    .login-container input,
    .login-container label {
        font-size: 14px;
        float: left;
        width: 50%;
        padding: 0;
        height: 25px;
    }

    .login-container label {
        text-align: right;
        padding-right: 10px;
    }
    
    .login-container input {
        padding: 0px 5px;
    }
    
    .login-container div button {
        float: right;
        width: 50%;
        height: 30px;
        font-size: 14px;
        padding: 0;
        margin: 0;
    }

    .login-container .forgotten {
        margin: 0 0 5px 50%;
    }
}

/* stateChangeView */
.stateChangeView select,
.stateChangeView input#comment {
    width: 300px;
}

.stateChangeView textarea {
    width: 300px;
    height: 70px;
    resize: none;
}
/* END: stateChangeView */

/* TAB-Directive */
.tabs .tab-nav {
    border-bottom: 1px solid #e1e1e1;
}

.tabs .tab-nav a,
.tabs .tab-nav a:visited {
    color: #828282;
    padding: 10px 20px;
    display: inline-block;
    border: 1px solid white;
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: -1px;
}
.tabs .tab-nav a.error,
.tabs .tab-nav a.error:visited {
    color: #E02B2B;
}
.tabs .tab-nav a.active,
.tabs .tab-nav a.active:visited {
    color: black;
    background-color: white;
    border-left: 1px solid #e1e1e1;
    border-right: 1px solid #e1e1e1;
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid white;
}

.tabs div.tab {
    display: none;
}
.tabs div.tab.active {
    display: block;
}
/* END: TAB-Directive */

/* Finish Order finish screen */
.final-check {
    width: 100% !important;
    font-size: 14px;
    background-color: #e1e1e1;
    margin: 10px 0 !important;
    padding: 15px;

}

.final-check .text {
    margin: 10px;
    display: inline-block;
}

.final-check .inputs {
    float: right;
}

.final-check .inputs input[type="checkbox"] + label {
    margin: 10px 10px 0 0;
}

.finish-buttons {
    margin-top: 30px;
    width: 100%;
    text-align: center;
}

.finish-buttons > span {
    margin: 0 auto;
    display: inline-block;
}

.finish-buttons button,
.finish-buttons .button-hint-wrap {
    display: inline-block;
    width: 225px;
}

span.sub {
    font-size: 10px;
    white-space: nowrap;
}
/* END: Finish Order finish screen */