h1 {
    font-size: 26px;
}

#content {
    position: relative;
    overflow: auto;
}

.navbar-right {
    margin-right: 0;
}

.no-padding {
    padding: 0 !important;
}

.dropdown-menu > li > a {
    padding-left: 30px;
}

.tab-pane {
    padding: 10px 0;
}

textarea {
    resize: vertical;
}

.clearfix {
    clear: both;
}

.page-content {
    position: relative;
    overflow: auto;
}

.dropdown-menu > li > a {
    padding-left: 30px;
}

.added-item {
    position: relative;
}

.added-item > div {
    margin: 0;
    padding: 0;
}

.added-item .btn-box {
    right: -45px;
    top: 25px;
}

.field-with-transliterate {
    position: relative;
}

.field-with-transliterate input[type="text"] {
    width: 80%;
}

.field-with-transliterate button {
    position: absolute;
    top: 25px;
    right: 0;
}

.file-preview-frame textarea {
    margin-top: 10px;
}

.form-group {
    position: relative;
    overflow: auto;
    margin-bottom: 5px;
}

.file-input .close.fileinput-remove {
    display: none;
}

#history-table .repair td {
    background-color: #f9ff91;
}

#history-table .storage td {
    background-color: #f8f8f8;
}

#history-table .sold td, #history-table .rent td {
    background-color: #ccf8cf;
}

#calibration-next {
    padding: 30px;
}

tr.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

tr.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.small-table th, .small-table td {
    padding: 4px;
    font-size: 11px;
}

.small-table .form-control {
    height: 20px;
    padding: 1px 4px;
    font-size: 11px;
}

.small-table .filters .date .input-group-addon {
    font-size: 7px;
}

.equipment-search {
    margin-bottom: 15px;
}

.rent-month-prices-box .btn-box {
    top: 26px;
}

.status-detail-box {
    position: relative;
}

.status-detail-box .nav-tabs > li > a {
    padding: 5px 7px;
    font-size: 12px;
}

.status-detail-box .btn-status-update {
    margin-bottom: 15px;
}

.status-detail-page-progress {
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    opacity: 0.2;
    width: 100%;
    height: 100%;
}

.btn-legal_act-refresh {
    cursor: pointer;
}

.offer-status {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid #efefef;
    border-radius: 4px;
}

.offer-status--small {
    padding: 2px 6px;
    font-size: 11px;
}

.offer-status-in_progress, .offer-status-in_progress:focus {
    outline: none;
    color: #fff;
    background-color: #c6c5c5;
    border-color: #bababa;
}

.offer-status-in_progress.offer-status--hovered:hover {
    outline: none;
    color: #fff;
    background-color: #b8b8b8;
    border-color: #adadad;
}

.offer-status-sent_to_cp, .offer-status-sent_to_cp:focus {
    outline: none;
    color: #fff;
    background-color: #f0e04e;
    border-color: #e3d449;
}

.offer-status-sent_to_cp.offer-status--hovered:hover {
    outline: none;
    color: #fff;
    background-color: #e7d84b;
    border-color: #d7c845;
}

.offer-status-ready, .offer-status-ready:focus {
    outline: none;
    color: #fff;
    background-color: #5cb8aa;
    border-color: #57ada0;
}

.offer-status-ready.offer-status--hovered:hover {
    outline: none;
    color: #fff;
    background-color: #57ada0;
    border-color: #52a396;
}

.offer-status-sent_to_client, .offer-status-sent_to_client:focus {
    outline: none;
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
}

.offer-status-sent_to_client.offer-status--hovered:hover {
    outline: none;
    color: #fff;
    background-color: #e2a349;
    border-color: #d99332;
}

.offer-status-canceled, .offer-status-canceled:focus {
    outline: none;
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.offer-status-canceled.offer-status--hovered:hover {
    outline: none;
    color: #fff;
    background-color: #cd4e4b;
    border-color: #c93d38;
}

.offer-status-approved, .offer-status-approved:focus {
    outline: none;
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.offer-status-approved.offer-status--hovered:hover {
    outline: none;
    color: #fff;
    background-color: #55a855;
    border-color: #439a43;
}

.offer-status-completed, .offer-status-completed:focus {
    outline: none;
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.offer-status-completed.offer-status--hovered:hover {
    outline: none;
    color: #fff;
    background-color: #2e6da0;
    border-color: #296293;
}

.offer-main-box {
    position: relative;
}

.offer-loader {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    opacity: 0.3;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.file-input-group {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.file-input-group [type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 200px;
    opacity: 0;
    filter: alpha(opacity=0);
    cursor: pointer;
}

.file-input-group [type="file"]:disabled {
    cursor: default;
}

.offer-version-view-item {
    margin: 7px 0;
    padding: 15px;
    border: 1px solid #ddd;
}

.offer-version-detail-row {
    padding: 7px 0;
}

.offer-version-detail-files {
    margin: 7px 0;
}

.offer-version-detail-files span {
    font-size: 13px;
}

.offer-version-detail-files a {
    font-size: 12px;
    margin-right: 5px;
}

.offer-version-detail-text {
    margin-top: 5px;
    font-size: 12px;
}

.offer-buttons {
    margin-top: 15px;
}

.offer-version-serial {
    color: #999999;
    font-size: 12px;
}

#offer-table tbody tr:hover {
    background: #efefef;
    cursor: pointer;
}

.offer-description-content {
    font-size: 12px !important;
}

.scrolled-checklist-box {
    max-height: 300px;
    overflow: hidden;
    overflow-y: scroll;
}

#checklist-answers .answer-item {
    padding: 15px;
    margin: 5px 0;
    /*background: #efefef;*/
    border: 1px solid #c7c7c7;
}

#checklist-answers input[type="checkbox"] {
    transform: scale(1.7);
    top: 3px;
    opacity: 1;
    cursor: pointer;
    position: relative;
}

#checklist-answers .answer-item .answer-switch-item input[type="radio"] {
    display: none;
}

#checklist-answers .answer-item .answer-switch-item .answer-switch-image img {
    display: none;
    cursor: pointer;
    margin: 0 15px;
}

#checklist-answers .answer-item .answer-switch-item input[type="radio"]:not(:checked) + .answer-switch-image .answer-switch-image-unselected {
    display: block;
}

#checklist-answers .answer-item .answer-switch-item input[type="radio"]:checked + .answer-switch-image .answer-switch-image-selected {
    display: block;
}

#checklist-answers textarea {
    min-height: 100px;
}

#checklist-answers .answer-label-box label {
    font-size: 17px;
}

#checklist-answers .answer-row2 {
    margin-top: 10px;
}

#checklist-answers .answer-upload-box {
    display: inline-block;
    position: relative;
    width: 100px;
    height: 100px;
}

#checklist-answers .answer-upload-box label {
    width: 100%;
    height: 100%;
    border: 1px dashed #000000;
    border-radius: 5px;
    line-height: 100px;
    cursor: pointer;
}

#checklist-answers .answer-upload-box label span {
    display: inline-block;
}

#checklist-answers .answer-item-image {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

#checklist-answers .answer-item-image-delete {
    position: absolute;
    z-index: 1;
    top: 0;
    right: -20px;
}

#checklist-answers .answer-upload-errors {
    color: #a94442;
}

.detail-answers-block .detail-answers-block-header {
    margin-bottom: 15px;
    font-size: 20px;
}

.detail-answers-block .detail-answers-block-item {
    margin-bottom: 15px;
}


.detail-answers-block .detail-answers-block-item .detail-answers-block-item_question img {
    width: 15px;
}

#attestations-box, #notifications-box {
    margin: 65px 0;
}

#attestations-box .attestation-item-box {
    margin: 15px 0;
}

#attestations-box .attestation-item-box--row {
    padding: 0 10px;
    border: 1px solid #ddd;
}

#attestations-box .attestation-item-box--row + .attestation-item-box--row {
    margin-top: 10px;
}

#attestations-box .attestation-files .file-item-box {
    display: inline-block;
    margin-top: 10px;
}

#attestations-box .attestation-files .file-item-box + .file-item-box {
    margin-left: 10px;
}

#attestations-box .attestation-status-history th, #attestations-box .attestation-status-history td {
    padding: 4px;
    font-size: 12px;
}

#attestations-box .panel-heading {
    position: relative;
}

#attestations-box .btn-delete-attestation {
    position: absolute;
    right: 20px;
    top: 20%;
    color: #000;
    font-weight: 700;
}

#notifications-box .notification-item-box--buttons {
    padding-top: 28px;
}

#equipment-table .attestation-scan-send {
    color: #0f2f69;
    background-color: #adcfff;
    border-color: #6aa4f1;
}

.contacts-box--divided .added-item + .added-item {
    border-top: 1px #c9c7c7 solid;
    padding-top: 10px;
}

.added-box--divided .added-value + .added-value {
    border-top: 1px #c9c7c7 solid;
    padding-top: 10px;
}

.added-box--card .added-value {
    border: 1px #efeded solid;
    border-radius: 5px;
    padding-top: 10px;
    margin-top: 10px;
}

/**
* Blink
**/

.blink {
    -webkit-animation: blink 1s linear infinite;
    animation: blink 1s linear infinite;
}

@-webkit-keyframes blink {
    0% {
        color: rgba(34, 34, 34, 1);
    }
    50% {
        color: rgba(34, 34, 34, 0);
    }
    100% {
        color: rgba(34, 34, 34, 1);
    }
}

@keyframes blink {
    0% {
        color: rgba(34, 34, 34, 1);
    }
    50% {
        color: rgba(34, 34, 34, 0);
    }
    100% {
        color: rgba(34, 34, 34, 1);
    }
}
