html,
body {
    height: 100%;
}

body {
    padding-top: 50px;
}

a {
    cursor: pointer;
}

.footer {
    min-height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.order-actions > .btn {
    margin: 5px;
}

.contact-data-modal table {
    margin-bottom: 0;
}

.panel-heading .btn-xs {
    margin-top: -2px;
}

.async-validation-result .async-validation-result__item {
    margin-bottom: 10px;
}

.m-top-20 {
    margin-top: 20px;
}

.table .borderless td {
    border: none;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.entity-details .dl-horizontal dt {
    white-space: normal;
    width: 220px;
}

.entity-details .dl-horizontal dd {
    margin-left: 230px;
}

.form-control.certificate-textarea {
    min-height: 200px;
}

.word-break {
    word-break: break-all;
}

.order-details-dialog {
    width: 400px;
}

.order-details-tab {
}

.certificate-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.certificate-list li {
    float: left;
    padding: 5px;
}

.certificate-box {
}

.certificate-box .current {
    font-style: italic;
    font-size: 12px;
    float: left;
    margin-top: -18px;
    margin-left: -17px;
}

/** Order lifeline widget css **/

.order-lifeline {
    clear: both;
}

.order-lifeline .first-line {
    margin-left: 235px;
}

.order-lifeline .third-line {
    margin-left: 423px;
}

.order-lifeline .line {
    width: 100px;
    height: 10px;
    display: table-cell;
    text-align: center;
    font-size: 12px;
}

.order-lifeline .vertical-line {
    width: 3px;
    height: 48px;
    display: table-cell;
}

.order-lifeline .first-line .vertical-line {
    vertical-align: bottom;
}

.order-lifeline .third-line .vertical-line {
    vertical-align: top;
}

.order-lifeline .first-line .vertical-line div {
    height: 48px !important;
}

.order-lifeline .third-line .vertical-line div {
    height: 45px !important;
}

.order-lifeline .line .stroke {
    width: 100%;
    background: #888888;
    height: 3px;
    margin-top: 42px;
}

.order-lifeline .line .stroke.error {
    background: red;
}

.order-lifeline .line .active, .order-lifeline .vertical-line .active {
    background-color: green;
}

.order-lifeline .vertical-line div {
    background: #888888;
    width: auto;
    margin: 0 auto;
}

.order-lifeline .line .stroke div {
    margin: -20px 0 0 25px;
    float: left;
}

.order-lifeline .state {
    border-radius: 45px;
    background-color: #fff;
    border: 3px solid #888888;
    width: 90px;
    height: 90px;
    font-size: 12px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    cursor: help;
}

.order-lifeline .active {
    border-color: green;
    color: green;
}

.order-lifeline .error {
    border-color: red;
}

.order-status-panel p:last-child {
    margin-bottom: 0;
}

.order-status-panels .panel:not(:last-child) {
    margin-bottom: 20px;
}

.glyphicon-refresh-animate {
    animation: spin .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }
    to {
        transform: scale(1) rotate(360deg);
    }
}

.account-wall {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px 0px 20px 0px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16);
}

.account-wall .form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

.account-wall .form-signin .form-control {
    position: relative;
    font-size: 16px;
    height: auto;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.account-wall .form-signin .form-control:focus {
    z-index: 2;
}

.account-wall .form-signin input[type="text"] {
    margin-bottom: -1px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.account-wall .form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.account-wall .profile-img {
    width: 96px;
    height: 96px;
    margin: 0 auto 10px;
    display: block;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.account-wall .alert {
    margin-bottom: 10px;
}