/**
 * @author    RocketTheme http://www.rockettheme.com
 * @copyright Copyright (C) 2007 - 2016 RocketTheme, LLC
 * @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
 */
/* RokGallery - List View - 2 Column */

/* Header */
.rg-view-header {margin: 0 0 15px 0;padding: 0 15px;position: relative;z-index: 1;height: 24px;}
.rg-sort {float: left;}
.rg-sort .desc, .rg-view-selector .desc {float: left;margin-right: 10px;font-style: italic;}
.rg-sort-list, #main .rg-sort-list {list-style: none;margin: 0;padding: 0;display: inline-block;}
.rg-sort-list li, #main .rg-sort-list li {display: inline-block;padding: 0 5px;margin: 0 2px;position: relative;}
.rg-sort-list li a, #main .rg-sort-list li a {font-size: 12px;font-weight: normal;line-height: 20px;position: relative;text-decoration: none;}
.rg-sort-list li.active, #main .rg-sort-list li.active {padding-right: 12px;}
.rg-sort-list li.active a, #main .rg-sort-list li.active a {font-weight: bold;}
.rg-sort-list li.active .indicator, #main .rg-sort-list li.active .indicator {display: block;position: absolute;width: 10px;height: 7px;bottom: -15px;left: 50%;margin-left: -5px;}
.rg-sort-list li.active .sort-arrow, #main .rg-sort-list li.active .sort-arrow {position: absolute;display: block;width: 7px;height: 5px;top: 7px;right: 1px;background-repeat: no-repeat;}
.rg-sort-list li.active .descending, #main .rg-sort-list li.active .descending {background-position: 0 0;}
.rg-sort-list li.active .ascending, #main .rg-sort-list li.active .ascending {background-position: 0 -57px;}
.rg-view-selector {float: right;}
.rg-view-selector-list, #main .rg-view-selector-list {list-style: none;margin: -3px 0 0 0;padding: 0;display: inline-block;position: relative;z-index: 2;}
.rg-view-selector-list li, #main .rg-view-selector-list li {display: inline-block;padding: 6px 6px 7px 6px;}
.rg-view-selector-list a, #main .rg-view-selector-list a {display: block;width: 14px;height: 14px;background-repeat: no-repeat;cursor: pointer;}
.rg-view-selector-list .grid-3col a {background-position: 50% 0;}
.rg-view-selector-list .grid-4col a {background-position: 50% -19px;}
.rg-view-selector-list .list-2col a {background-position: 50% -37px;}

/* List */
.rg-list-view-container {position: relative;margin: 0 -10px;}
.rg-list-view {display: table;border-collapse: separate;width: 100%;}
.rg-list-view .list-row {display: table-row;}
.rg-list-view .list-row:first-child {background: none;}
.rg-col2 .rg-list {width: 50%;}
.rg-list-view .rg-list {display: table-cell;float: left;vertical-align: top;transition: background-color 0.3s linear;-webkit-transition: background-color 0.3s linear;-moz-transition: background 0.3s linear;-o-transition: background-color 0.3s linear;}
.rg-list-view .rg-block {padding: 10px;margin: 10px;border-radius: 3px;-moz-border-radius: 3px;overflow: hidden;}
.rg-list-view .list-row .rg-list:first-child {background-image: none;}
.rg-list-view .creation-date {display: block;font-style: italic;padding: 2px 0;margin-top: 10px;}
.rg-list-view .rg-list-thumb {margin: 0 15px 0 0;padding: 8px 8px 12px;border-radius: 3px 3px 12px 12px;float: left;}
.rg-list-view .rg-list-thumb-link {display: block;}
.rg-list-view .rg-list-thumb-img {border-radius: 3px;max-width: 100%;height: auto;}
.rg-list-view .item-title {display: block;font-size: 150%;line-height: 130%;margin-top: 5px;}
.rg-list-view .item-caption {display: block;font-size: 110%;line-height: 130%;font-style: italic;}
.rg-list-view .item-tags {margin-top: 10px;}
.rg-list-view .tag {font-size: 11px;line-height: 11px;display: inline-block;padding: 3px 5px;margin: 1px;border-radius: 5px;}
.rg-list-view .item-file-desc {display: block;margin-top: 10px;}
.rg-list-view .gallery-data {float: left; font-size: 11px;padding: 10px 0 0 0;line-height: 1em;}
.rg-list-view .gallery-data .views-count {background-position: 0 0;display: block;float: left;margin:0 8px 0 2px;padding-left: 17px;background-repeat:no-repeat;}
.rg-list-view .gallery-data .loves-count {background-position: 0 -216px;display: block;float: left;margin:0 8px 0 2px;padding-left: 17px;background-repeat:no-repeat;cursor: pointer;}
.rg-list-view .gallery-data .comments-count {background-position: 0 -108px;display: block;float: left;margin:0 8px 0 2px;padding-left: 17px;background-repeat:no-repeat;cursor: pointer;}
.rg-list-view .gallery-data .tags-count {background-position: 0 -144px;display: block;float: left;margin:0 8px 0 2px;padding-left: 17px;background-repeat:no-repeat;}
.rg-list-view .gallery-data .views-count:hover {background-position: 0 -36px;}
.rg-list-view .gallery-data .loves-count:hover {background-position: 0 -252px;}
.rg-list-view .gallery-data .comments-count:hover {background-position: 0 -108px;}
.rg-list-view .gallery-data .tags-count:hover {background-position: 0 -180px;}
.rg-list-view .gallery-data .loves-count.action-unlove, .rg-list-view .gallery-data .loves-count.action-unlove:hover {background-position: 0 -288px;}
.rg-list-view .gallery-data .loves-count.loading, .rg-list-view .gallery-data .loves-count.loading:hover {background: url(../../spinner-12.gif) center left no-repeat;}

/* Pagination */
.rg-view-pagination {margin: 0 -25px;padding: 15px 25px;text-align: center !important;position: relative;}
.rg-view-pagination-list {margin: 0;padding: 0;list-style: none;}
.rg-view-pagination-list li {display: inline-block;padding: 0 2px;}
.rg-view-pagination-list li a {font-weight: normal;}
.rg-view-pagination .prev, .rg-view-pagination .next {display: block;position: absolute;top: 15px;font-weight: normal;font-size: 130%;}
.rg-view-pagination .prev {left: 25px;}
.rg-view-pagination .next {right: 25px;}

/* Utility */
html body * span.clear, html body * div.clear, html body * li.clear, html body * dd.clear {background: none;border: 0;clear: both;display: block;float: none;font-size: 0;list-style: none;margin: 0;padding: 0;overflow: hidden;visibility: hidden;width: 0;height: 0;}

@media only screen and (max-width: 767px) {
	.rg-list-view {display: block;}
	.rg-list-view .list-row {display: block;}
	.rg-list-view .rg-list {display: block;}
	.rg-col2 .rg-list {width: 100%;}
}
