html,
body {
    height: 100%;
}
body {
    padding: 40px 0;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto;
    max-width: 1400px;
}

.wrap > .container {
    padding: 20px 0;
}

.label.label-slave {
    background-color: #ddd;
    font-size: 11px;
    color: #fff;
}
.row-table {
    border-bottom: solid 1px #eee;
    padding: 8px 0;
}
.row-table-heading {
    font-weight: 700;
    font-size: 12px;
    color: #555;
    padding: 8px 0;
    border-bottom: solid 2px #eee;
}
div > .row-table:last-child {
    border-bottom: none;
}
.no-margin {
    margin: 0;
}
.no-padding {
    padding: 0;
}
.get-code {
    display: block;
}
.btn {
    font-size: 12px;
    letter-spacing: 0.2px;
}
.btn.btn-blue {
    background-color: #2196f3;
    border-color: #0781e1;
    color: #fff;
}
.btn.btn-blue:hover {
    background-color: #2ca0fc;
}
.btn.btn-blue:active {
    background-color: #0781e1;
}
.help-block {
    font-size: 12px;
}
label {
    font-size: 13px;
}
.label.label-sm {
    font-size: 9px;
    display: inline-block;
    line-height: 11px;
    padding: 0.2em 0.4em 0.3em;
}
textarea.form-control {
    max-width: 100%;
    width: 100%;
    min-width: 100%;
    min-height: 64px;
}
.panel-dark {
    border-color: #1e3f50;
}
.panel-dark > .panel-heading {
    background-color:  #1e3f50;
    color: #fff;
}
.panel-square {
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.panel-square .panel-heading {
    -moz-border-top-left-radius: 1.5px;
    -webkit-border-top-left-radius: 1.5px;
    border-top-left-radius: 1.5px;
    -moz-border-top-right-radius: 1.5px;
    -webkit-border-top-right-radius: 1.5px;
    border-top-right-radius: 1.5px;
}
.error-summary {
    background-color: rgb(255 202 218);
    color: rgb(110 9 9);
    padding: 10px;
    border-left: solid 4px rgb(244 67 54);
    margin: 0 0 18px 0;
    font-size: 12px;
}
.panel-body > .input-group:last-child {
    margin-bottom: 0;
}
.input-group-list {
    padding: 15px;
    border: solid 1px#cccccc;
    border-radius: 6px;
}
.input-group-list .input-group:last-child {
    margin-bottom: 0;
}
a.dashed-link {
    text-decoration: none;
    position: relative;
    cursor: pointer;
    display: inline-block;
    border-bottom: dashed 1px #769bb8;
    line-height: 1;
}
a.dashed-link:after {
    content: "⯅";
    position: absolute;
    right: -12px;
    top: 4px !important;
    line-height: 1;
    font-size: 11px;
    transform: scale(1.1, 1);
}
a.dashed-link.collapsed:after {
    content: "⯆";
}
.extend-settings > div {
    margin-top: 18px;
}
.select2.tag-loading .select2-selection {
    position: relative;
}
.select2.tag-loading .select2-selection:after {
    content: "Cохранение...";
    padding-top: 8px;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 3;
    font-size: 11px;
    background-color: rgba(255,255,255,0.9);
    color: #999;
}
.form-group .select2 {
    width: 100%;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #3F51B5;
    border: none;
    color: #fff;
    padding: 1px 6px 2px 6px;
    font-size: 12px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff;
    float: right;
    margin: 0 0 0 5px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: red;
}
.thumbnail {
    position: relative;
    -moz-transition: none;
    -webkit-transition: none;
    transition: none;
}
.thumbnail .caption {
    padding: 9px 2px 4px 2px;
}
.thumbnail .caption .form-group {
    margin: 0;
}
.thumbnail .caption select {
    visibility: hidden;
    height: 0;
}
.select2-container--default .select2-selection--multiple {
    border-color: transparent;
    background-color: #f5f5f5;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #ccc;
}
.select2-dropdown {
    border-color: #ccc;
}
ul.select2-selection__rendered li.page-tag-color {
    background-color: crimson !important;
}
.panel-footer .pagination {
    margin: 4px 0 0 0;
}
.flex-grid {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.flex-grid .cell-25 {
    width: 23%;
    margin: 0 1%;
}
.flex-grid .cell-33 {
    width: 31%;
    margin: 0 1%;
}
.glyphicon-remove {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 9;
    font-size: 16px;
    color: #fff;
    background: #ccc;
    height: 24px;
    line-height: 24px;
    width: 24px;
    text-align: center;
    border-radius: 0 3px 0 0;
    text-decoration: none;
}
.glyphicon-remove:hover {
    text-decoration: none;
    color: #333;
}
.thumbnail:hover .glyphicon-remove {
    display: block;
}
.tags-filter {
    line-height: 2;
}
.fnbx-block {
    max-width: 600px;
}
.fnbx-block .tags-filter {
    background-color: #fff;
    padding: 32px;
}
