html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

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

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* 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;
}

.navbar-header .navbar-toggle .icon-bar {
    background-color: #fff;
}

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;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.filters input {
    border: 1px solid #ccc;
    border-radius: 4px;

    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    background: #fff url(/img/search.png) right 10px top 7px no-repeat;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #555555;

}

.select2-results__option {
    font-size: 12px;
}

.filters .select2-container .select2-selection--single .select2-selection__rendered {
    margin-top: 0px;
    padding-right: 18px;
}

.filters .input-sm.select2-container--krajee .select2-selection__clear, .input-group-sm .select2-container--krajee .select2-selection__clear {
    top: 0.1rem;
}

.columns-4 {
    -webkit-columns: 4 100px;
    -moz-columns: 4 100px;
    columns: 4 100px;
}

.margin-b-6 {
    margin-bottom: 6px;
}

.crossed {
    text-decoration: line-through;
}

.upload-input-wrapper {
    position: relative;
    overflow: hidden;
}

.upload-input-wrapper input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
    height: 100%;
    width: 100%;
}

.main-header .navbar {
    background: linear-gradient(45deg, #771988, #137dad);
}

.box-primary {
    border-top: none;
}

.box-primary:before {
    content: "";
    height: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    display: block;
    background: linear-gradient(45deg, #771988, #137dad);
}

/*.child {
    display: none;
}*/

/*
.btn-primary {
    background-image: linear-gradient(to right, #137dad 0%, #771988 100%);
    border-color: #454B9B;
}*/

.form-control {
    border-radius: 5px;
}

/*#contract-history {
    cursor: pointer;
}*/
#workflowView {
    height: 600px;
}

.color-black {
    color: #000;
    font-weight: bold;
}

.navbar-brand {
    padding: 5px 15px !important;
}

.navbar-brand img {
    height: 40px;
}

#profile-contract_fields label, #order_column_fields label, #profile-contract_export_fields label {
    display: block;
}

.card-body li {
    display: block;
    width: 100%;
}

.card-body li.active a {
    font-weight: bold;
}

.box.__qrcode {
    box-shadow: none;
    border: 0;
    display: flex;
    flex-direction: row;
    background: transparent;
}

.box.__qrcode > * {
    font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.box.__qrcode .qr_code__sms {
    padding: 29px 27px 21px 46px;
    background: white;
}

.box.__qrcode .qr_code__sms .qr_code__sms_title {
    font-style: normal;
    text-align: center;
    font-size: 20px;
    line-height: 24px;
    color: #000000;
    margin: 0 0 44px 0;
    max-width: 380px;
}

.btn.__gray {
    background: #E9E9E9;
    border: 1.6625px solid #D4D4D4;
    border-radius: 0;
    height: 46px;
    max-width: 100%;
    padding: 10px 66px 9px 97px;
    cursor: pointer;
    margin: 0 0 23px 0;
}

.btn.__sms {
    font-weight: normal;
    font-size: 18px;
    line-height: 20px;
    color: #000000;
    background: #E9E9E9 url('../img/sms-ico.svg') no-repeat center left 17%;
}

.box.__qrcode .btn-group {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.box.__qrcode .btn.__blue {
    background: #5B74AD;
    border-radius: 0;
    max-width: 50%;
    height: 44px;
    padding: 12px 60px 13px 61px;

    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: #FFFFFF;
    margin: 0 20px 0 0;
}

.box.__qrcode .btn.__green {
    background: #00A65A;
    border-radius: 0;
    max-width: 50%;
    height: 44px;
    padding: 12px 51px 13px 51px;

    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: #FFFFFF;
}

.box.__qrcode .qr_code {
    display: flex;
    flex-direction: column;
    padding: 29px 32px 29px 16px;
    border-left: 1px solid #D7D7D7;
    background: white;

}

.box.__qrcode .qr_code .qr_code__title {
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    color: #000000;
    margin: 0 0 13px 0;
    max-width: 250px;
}

.box.__qrcode .qr_code img {
    max-width: 117px;
    height: auto;
    margin: 0 auto;
}


@media (max-width: 736px) {
    .box.__qrcode {
        flex-direction: column;
    }

    .box.__qrcode .qr_code__sms {
        padding: 15px;
    }

    .box.__qrcode .qr_code {
        padding: 15px;
        border-left: 0;
    }

    .box.__qrcode .qr_code__sms .qr_code__sms_title,
    .box.__qrcode .qr_code .qr_code__title {
        text-align: left;
        font-size: 16px;
        line-height: normal;
    }

    .btn.__sms {
        font-size: 14px;
        line-height: normal;
        padding: 10px 30px;
        width: 100%;
        background: #E9E9E9;
    }

    .box.__qrcode .btn.__blue {
        font-size: 14px;
        line-height: normal;
        padding: 10px 30px;
        width: 100%;
        margin: 0;
    }

    .box.__qrcode .btn.__green {
        font-size: 14px;
        line-height: normal;
        padding: 10px 30px;
        width: 100%;
    }

    .box.__qrcode .qr_code img {
        max-width: 80%;
    }
}

#profile-contract_fields label, #order_column_fields label, #profile-contract_export_fields label {
    margin: 10px;
    cursor: move;
}

.table-wrapper {
    width: 99.9%;
    border: none 0px RED;
    overflow-x: hidden;
    overflow-y: hidden;
}

.table-items {
    overflow: auto;
}

.table-wrapper, .table-wrapper-duplicate {
    width: 99.9%;
    border: none 0px RED;
    overflow-x: scroll;
    overflow-y: hidden;
}

.table-items {
    overflow: auto;
}

.table-items-duplicate {
    overflow: auto;
}
@media (max-width: 414px) {
    .btn-group-100 {
        width: 100%;
    }
    .dropdown-menu-scroll {
        width: 100%;
        overflow: scroll;
    }
}