html,
body {
    height: 100%;
}

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

.container {
    width: 100%;
}

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

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

#left-admin-menu .glyphicon {
    margin-right: 15px;
}

.table-action td:last-child {
    vertical-align: middle;
}


#ajax-loader {
    background: url('../images/ajax-loader.gif');
    width: 32px;
    height: 32px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -16px;
    margin-left: -16px;
    display: none;
}


.modal-shadow {
    display: none;
    background: #adadad;
    opacity: 0.7;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.modal-application {
    width: 400px;
    background: #fff;
    display: none;
    top: 200px;
    position: fixed;
    left: calc(50% - 200px);
    border: 1px solid #f3f3f3;
    padding: 30px 40px 40px 40px;
}

.close-modal {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.modal-application textarea {
    max-width: 100%;
    height: 100px;
}

.modal-application form {
    margin-top: 10px;
}

.modal-application .errorMessage {
    color: #ff5356;
}

.modal-application .successMessage {
    color: #139613;
}

.detail-view td, .grid-view td {
    position: relative;
}

.is_archive {
    position: absolute;
    top: calc(50% - 15px);
    left: calc(50% - 45px);
    padding: 5px 15px;
    background: rgba(232, 232, 232, 0.75);
    color: red;
    white-space: nowrap;
    transform: rotate(-11deg);
    font-weight: 600;
    pointer-events: none;
}

.is_not_rop {
    display: none;
}

.grid-checkbox-export {
    display: inline-block;
    margin: 0px -4px 0 0px;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 3px;
}

.grid-checkbox-in_cian_export {
    background-image: url("../images/cian.svg");
}

.grid-checkbox-in_ya_export {
    background-image: url("../images/yandex.png");
}

.grid-checkbox-in_plus_export {
    background-image: url("../images/mbd.svg");
}
.grid-checkbox-in_avito_export {
    background-image: url("../images/avito.png");
    border: 2px solid #fff;
}

/* @keyframes shadow {
    from {box-shadow: 0 0 1px 0px #f00;}
    50% {box-shadow: 0 0 5px 2px #f00;}
    to {box-shadow: 0 0 1px 0px #f00;}
} */

@keyframes avitoanim {
    from {opacity: 0.5;}
    50% {opacity: 0.7;}
    to {opacity: 0.5;}
}
.grid-checkbox-in_avito_pending {
    position: relative;
    background-image: url("../images/avito.png");
    border: 2px solid #fff;
    /* animation: shadow 1s infinite ease-in-out; */
}
.grid-checkbox-in_avito_pending:before {
    content: "?";
    position: absolute;
    width: 16px;
    height: 16px;
    font-size: 15px;
    bottom: -6px;
    right: -5px;
    line-height: 1;
    font-weight: bold;
    text-align: center;
    color: #fff;
    /* text-shadow: 0px 0px 3px #000; */
    opacity: 0.7;
    animation: avitoanim 1s infinite ease-in-out;
    background-color: #f00;
    border-radius: 5px;
}

.manage-feed {
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    float: left;
    width: 100%;
}

.select-feed-type {
    height: 34px;
}

.manage-feed .btn {
    margin-left: 15px;
}

.code-block {
    margin-bottom: 20px;
    display: block;
}

.exported_image {
    max-width: 100%;
}

.is_external {
    min-width: 90px;
}

.js-show-gallery {
    cursor: pointer;
}

.table-bordered > tbody > tr.external > td {
    background-color: #e8e8e8;
}

/* Таблица вывода архива комментариев */
.table-comments-archive-input {
    margin: 0px 0 8px;
}
.table-comments-archive {
    width: calc(100% + 16px);
    margin: -8px;
}
.table-comments-archive-input .table-comments-archive{
    width: 100%;
    margin: 0;
    border: 1px solid #e8e8e8;
}
.table-comments-archive tr {
    border-bottom: 1px solid #e8e8e8;
}
.table-comments-archive tr td {
    padding: 5px 10px;
    vertical-align: top;
}
.table-comments-archive-date {
    width: 150px;
    border-right: 1px solid #e8e8e8;
}
