/*
Кнопки сортировки
*/
.tobr-head {
    text-align: right;
    margin:10px 0;
}
.tobr-head p,
.tobr-head select,
.tobr-content.post-block .tobr-object,
.tobr-content.post-block .tobr-date,
.tobr-content.post-block .tobr-author,
.tobr-content.attachment-block .tobr-object,
.tobr-content.attachment-block .tobr-date,
.tobr-content.attachment-block .tobr-author{
    display:inline-block;
}

/*
навигация
*/
.tobr-content .tobr-nav div,
.tobr-content .tobr-nav input {
    display: inline-block;
}

.tobr-content .tobr-nav div.next,
.tobr-content .tobr-nav div.prev{
    padding: 3px 8px;
    box-shadow: 0 0 1px black;
    cursor: pointer;
}

.tobr-content .tobr-nav input {
    width: 30px;
    text-align: center;
    padding: 3px 5px;
}

.tobr-content .tobr-nav div.curr {
    margin: 0 10px;
}

/*
Контент блок
*/
.tobr-content .load {
    position: absolute;
    z-index: 99;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(251, 251, 252, 0.69);
}
.tobr-content,
.tobr-content.post-block .tobr-image {
    position: relative;
}
.tobr-content.post-block .tobr-image {
    height:178px;
    overflow:hidden;
    background-size: cover;
    background-position: 50% 50%;
}
.tobr-content.post-block {
    text-align: center;
}

.tobr-content.post-block .tobr-object {
    position: relative;
    text-align: left;
    width: 31%;
    overflow: hidden;
    margin: 15px .7%;
    vertical-align: top;
    height:285px;
    background: #fbfbfc;
    border: 1px solid gainsboro;
    box-shadow: 0px 2px 2px #d0d0d0;
}

.tobr-content.post-block .tobr-image img {
    width:100%;
}

.tobr-content.post-block .tobr-rating {
    position: absolute;
    background: rgb(15, 146, 162);
    right: 0;
    padding: 3px 5px;
    font-size: 12px;
    color: #ffffff;
    text-shadow: 1px 1px 1px rgba(2, 2, 2, 0.54);
    bottom: 11px;
}

.tobr-content.post-block .tobr-position {
    position: absolute;
    background: rgb(251, 251, 252);
    left: 10px;
    top: 10px;
    padding: 0 3px;
    height: 28px;
    min-width: 28px;
    text-align: center;
    line-height: 28px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: inset 0px 0px 6px #444444;
    border: 2px solid #fbfbfc;
    color: #5a5a5a;
    outline: 1px solid #a4a4a5;
}

.tobr-content.post-block .tobr-meta,
.tobr-content.post-block .tobr-info {
    margin: 0 8px;
}

.tobr-content.post-block .tobr-meta, .tobr-content.post-block .tobr-author a{
    font-size: 12px;
    color: #6f6f6f;
}

.tobr-content.post-block .tobr-title {
    display: block;
    margin: 10px 0 15px 0;
    font-size: 14px;
}

.tobr-content.post-block .tobr-info {
    background: #ececec;
    position: absolute;
    bottom: 0px;
    width: 100%;
    margin-left: -5px;
    padding: 5px 10px;
    font-size: 12px;
    color: #6f6f6f;
}
.tobr-content.post-block .tobr-comments {
    float: right;
    margin-right: 15px;
}
.tobr-content.post-block .tobr-comments a {
    color: #6f6f6f;
}

.tobr-content.post-block .tobr-wp-rating {
    float: left;
}

.tobr-content.post-block .tobr-wp-rating img {
    width: 12px;
    height: 12px;
}

/*
Контент блок фотографии
*/
.tobr-content.attachment-block .tobr-image {
    position: relative;
}
.tobr-content.attachment-block .tobr-image {
    overflow:hidden;
    background-size: cover;
    background-position: 50% 50%;
}
.tobr-content.attachment-block {
    text-align: center;
}

.tobr-content.attachment-block .tobr-object {
    position: relative;
    text-align: left;
    width: 48%;
    overflow: hidden;
    margin: 15px .7%;
    vertical-align: middle;
    background: #fbfbfc;
    border: 1px solid gainsboro;
    box-shadow: 0px 2px 2px #d0d0d0;
}

.tobr-content.attachment-block .tobr-image img {
    width:100%;
}

.tobr-content.attachment-block .tobr-rating {
    position: absolute;
    background: rgb(15, 146, 162);
    right: 0;
    padding: 3px 5px;
    font-size: 12px;
    color: #ffffff;
    text-shadow: 1px 1px 1px rgba(2, 2, 2, 0.54);
    bottom: 40px;
}

.tobr-content.attachment-block .tobr-position {
    position: absolute;
    background: rgb(251, 251, 252);
    left: 10px;
    top: 10px;
    padding: 0 3px;
    height: 28px;
    min-width: 28px;
    text-align: center;
    line-height: 28px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: inset 0px 0px 6px #444444;
    border: 2px solid #fbfbfc;
    color: #5a5a5a;
    outline: 1px solid #a4a4a5;
}

.tobr-content.attachment-block .tobr-meta,
.tobr-content.attachment-block .tobr-info {
    margin: 0 8px;
}
.tobr-content.attachment-block .tobr-meta {
    display: inline-block;
}
.tobr-content.attachment-block .tobr-meta, .tobr-content.attachment-block .tobr-author a{
    font-size: 12px;
    color: #6f6f6f;
}

.tobr-content.attachment-block .tobr-title {
    display: block;
    margin: 10px 0 15px 0;
    font-size: 14px;
}

.tobr-content.attachment-block .tobr-info {
    background: #ececec;
    position: absolute;
    bottom: 0px;
    width: 100%;
    margin-left: -5px;
    padding: 5px 10px;
    font-size: 12px;
    color: #6f6f6f;
}
.tobr-content.attachment-block .tobr-comments {
    float: right;
    margin-right: 15px;
}
.tobr-content.attachment-block .tobr-comments a {
    color: #6f6f6f;
}

.tobr-content.attachment-block .tobr-wp-rating {
    float: left;
}

.tobr-content.attachment-block .tobr-wp-rating img {
    width: 12px;
    height: 12px;
}

/*
Контент список
*/
.tobr-head.post-list {
    text-align: left;
    background: #ececec;
    padding: 10px;
    border: 1px solid gainsboro;
    border-bottom: none;
}
.tobr-head.post-list:before {
    content:"ТОП записей по рейтингу";
}
.tobr-head.post-list p {
    margin-left: calc(100% - 420px);
}
.tobr-content.post-list {
    position: relative;
    border: 1px solid #dcdcdc;
    padding: 0 10px;
    border-top: none;
    margin-top: -10px;
}

.tobr-content.post-list .tobr-object:first-child {
    padding-top:30px;
}

.tobr-content.post-list .tobr-object {
    display: block;
    position:relative;
    height: auto;
    overflow: hidden;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ececec;
    box-shadow: 0 1px 0 white;
}
.tobr-content.post-list .tobr-image {
    display: inline-block;
    width: 29%;
    float: left;
    margin-right: 20px;
    position: relative;
}

.tobr-content.post-list .tobr-meta {
    display: inline-block;
    width:calc(100% - 310px);
}

.tobr-content.post-list .tobr-image img {
    width: 100%;
    max-height: 160px;
    box-shadow: 0px 0px 3px #2f3336;
}

.tobr-content.post-list .tobr-title {
    font-size: 15px;
    margin-bottom: 10px;
}

.tobr-content.post-list .tobr-date,
.tobr-content.post-list .tobr-author,
.tobr-content.post-list .tobr-author a {
    display: inline-block;
    font-size: 12px;
    color: #737373;
}

.tobr-content.post-list .tobr-rating {
    margin:10px 0;
}

.tobr-content.post-list .tobr-wp-rating {
    float: right;
    line-height: 13px;
}

.tobr-content.post-list .tobr-wp-rating img {
    width: 18px;
    height: 18px;
}

.tobr-content.post-list .tobr-info {
    width: calc(100% - 330px);
    position: absolute;
    right: 0;
    bottom: 20px;
    padding: 3px 10px 3px 10px;
    height: 20px;
    background: #f3f3f3;
    color: #969696;
}
.tobr-content.post-list .tobr-comments {
    float: right;
    font-size: 12px;
    color: #6d6d6d;
}
.tobr-content.post-list .tobr-comments a {
    color: #6d6d6d;
}

.tobr-content.post-list .tobr-position {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #ececec;
    padding: 3px 8px;
    font-weight: bold;
    box-shadow: 1px 1px 1px black;
    border: 2px solid #969696;
}

/*
Контент мини-блок
*/

.tobr-content.post-mini-block,
.tobr-content.post-mini-block2 {
    padding: 10px;
    background: #fbfbfc;
    border: 1px solid gainsboro;
}

.tobr-content.post-mini-block .tobr-object,
.tobr-content.post-mini-block2 .tobr-object {
    margin: 10px 0;
    height: 140px;
    position: relative;
    border: 2px solid #fbfbfc;
    box-shadow: 0px 0px 3px black;
}

.tobr-content.post-mini-block .tobr-image,
.tobr-content.post-mini-block2 .tobr-image {
    height: 100%;
    background-size: cover;
    background-position: center;
    position:relative;
}

.tobr-content.post-mini-block .tobr-title,
.tobr-content.post-mini-block2 .tobr-title {
    position: absolute;
    background: rgba(0, 0, 0, 0.51);
    bottom: 0;
    padding: 3px 10px;
    font-size: 13px;
    width: calc(100% - 20px);
}

.tobr-content.post-mini-block .tobr-title a,
.tobr-content.post-mini-block2 .tobr-title a {
    color: #fbfbfb;
    text-shadow: 1px 1px 1px black;
}

.tobr-content.post-mini-block .tobr-rating,
.tobr-content.post-mini-block2 .tobr-rating {
    position: absolute;
    top: 5px;
    right: 10px;
    color: #5cf121;
    text-shadow: 1px 1px 1px black, 1px 1px 1px black, 1px 1px 1px black;
    font-size: 12px;
}

/*
Контент мини-блок2
*/
.tobr-content.post-mini-block2 {
    padding: 3px;
    text-align: center;
}
.tobr-content.post-mini-block2 .tobr-object {
    width: 47%;
    display: inline-block;
    height: 80px;
    margin: 2px 2px;
    border: 1px solid #fbfbfc;
    box-shadow: 0px 0px 2px black;
}

.tobr-content.post-mini-block2 .tobr-rating {
    font-size:10px;
}

.tobr-content.post-mini-block2 .tobr-title {
    font-size: 11px;
    text-align: left;
    padding: 3px;
    width: calc(100% - 6px);
}

/*
Флекс 3 колонки
*/
.tobr-content.post-flex-3 {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-content: stretch;
    align-items: stretch;
    height: inherit;
}

.tobr-content.post-flex-3 .tobr-object {
    flex: 0 1 31%;
    align-self: auto;
    margin: 8px 0;
    box-shadow: 0 0 3px black;
    border: 2px solid #fbfbfc;
}

.tobr-content.post-flex-3 .tobr-image {
    height:100%;
    background-size: cover;
    position: relative;
}

.tobr-content.post-flex-3 .tobr-title {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.51);
    width: 100%;
    font-size: 13px;
}

.tobr-content.post-flex-3 .tobr-title a {
    margin: 3px 5px;
    color: #fbfbfc;
    display: block;
}

.tobr-content.post-flex-3 .tobr-rating{
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 11px;
    background: rgba(9, 206, 35, 0.73);
    color: white;
    padding: 3px 5px;
    text-shadow: 1px 1px 1px black;
    box-shadow: 0px 0px 3px #3e3e3e;
}

/*
Мини-лист
*/
.tobr-content.post-mini-list {
    background: #fbfbfc;
    border: 1px solid gainsboro;
    padding: 10px;
}

.tobr-content.post-mini-list .tobr-object {
    margin: 5px 0;
}

.tobr-content.post-mini-list .tobr-title,
.tobr-content.post-mini-list .tobr-rating {
    display: inline-block;
}

.tobr-content.post-mini-list .tobr-rating {
    font-size: 12px;
}



















