/* # Сортировка */
.sort {
    font-size: 105%;
}
.sort .sorter {
    display: inline-block;
    margin: 0;
    padding: 0;
}
.sort li {
    display: inline-block;
}
.sort .desc, .sort .asc {
    font-weight: bold;
}
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: "\e151";
}
a.desc:after {
    content: "\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";
}
/* # File View */
.file-view {
    display: block;
    margin-top: 10px;
}
.file-view img {
    width: 25px;
    height: 25px; 
}
.file-view-link {
    margin-left: 7px;
    vertical-align: middle;
}
/* # Image view */
.image-view {
    display: inline-block;
    margin-bottom: 20px;
}
.image-view img {
    margin-right: auto;
    margin-left: auto;
    display: block;
    max-width: 100%;
    width: 100%;
    height: 100%;
}
.image-view .caption {
    text-align: center;
    font-size: 90%;
}
.image-view:hover, .image-view:active, .image-view:focus {
    text-decoration: none;
    outline: none;
}
.image-view-img-container {
    position: relative;
}
.image-view-shadow {
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    cursor: pointer;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}
.image-view:hover .image-view-shadow {
    opacity: 1;
}
.image-view-shadow:before {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    margin-left: -25px;
    margin-top: -25px;
    opacity: 0;
    content: "\e003";
}
.image-view:hover .image-view-shadow:before {
    opacity: 1;
    color: white;
}
/* Thumbnail */
.thumbnail-inline {
    display: inline-block;
    margin-bottom: 0;
}
.thumbnail-fixed-width > img {
    max-width: none !important;
}
.thumbnail-circle {
    border-radius: 50%;
}
/* # Колонки */
.float, .float-lg, .float-md, .float-sm, .float-xs {
    padding-left: 0;
    padding-right: 15px;
    float: left;
}
.float.pull-right, 
.float-lg.pull-right, 
.float-md.pull-right, 
.float-sm.pull-right, 
.float-xs.pull-right {
    padding-left: 15px;
    padding-right: 0;
}
@media (max-width: 767px) {
    .float[class^="col-sm"], .float-sm {
        float: none !important;
        padding-right: 0;
    }
    .float.pull-right[class^="col-sm"], .float-sm.pull-right {
        padding-left: 0;
    }
}
@media (max-width: 991px) {
    .float[class^="col-md"], .float-md {
        float: none !important;
        padding-right: 0;
    }
    .float.pull-right[class^="col-md"], .float-md.pull-right {
        padding-left: 0;
    }
}
@media (max-width: 1199px) {
    .float[class^="col-lg"], .float-lg {
        float: none !important;
        padding-right: 0;
    }
    .float.pull-right[class^="col-lg"], .float-lg.pull-right {
        padding-left: 0;
    }
}
/* # Теги */
.tags .tag {
    margin-left: 5px;
}
/* # Margins */
.margin-top-sm {
    margin-top: 5px;
}
.margin-top {
    margin-top: 10px;
}
.margin-top-lg {
    margin-top: 20px;
}
.margin-bottom-sm {
    margin-bottom: 5px;
}
.margin-bottom {
    margin-bottom: 10px;
}
.margin-bottom-lg {
    margin-bottom: 20px;
}
.margin-left-sm {
    margin-left: 5px;
}
.margin-left {
    margin-left: 10px;
}
.margin-left-lg {
    margin-left: 20px;
}
.margin-right-sm {
    margin-right: 5px;
}
.margin-right {
    margin-right: 10px;
}
.margin-right-lg {
    margin-right: 20px;
}
/* Таблицы */
.table-inline {
    width: auto;
}