
/* Themis Gallery
 * -------------------------- */

.tc-gallery .tc-gallery-item {
	padding: 5px;
	margin-bottom: 5px;
	background: #f6f6f6;
}

.tc-root-rtl .tc-gallery .tc-gallery-item {
	float: right;
	margin-left: 5px;
}

.tc-root-ltr .tc-gallery .tc-gallery-item {
	float: left;
	margin-right: 5px;
}

.tc-gallery .tc-gallery-item.tc-gallery-item-with-preview,
.tc-gallery .tc-gallery-item.tc-gallery-item-with-description {
	float: none;
	clear: both;
}

.tc-root-rtl .tc-gallery .tc-gallery-item.tc-gallery-item-with-preview,
.tc-root-rtl .tc-gallery .tc-gallery-item.tc-gallery-item-with-description {
	margin-left: 0;
}

.tc-root-ltr .tc-gallery .tc-gallery-item.tc-gallery-item-with-preview,
.tc-root-ltr .tc-gallery .tc-gallery-item.tc-gallery-item-with-description {
	margin-right: 0;
}


.tc-gallery .tc-gallery-item.tc-gallery-item-with-error-message {
	border: 1px solid red;
}

.tc-gallery .tc-gallery-item.tc-gallery-item-with-error-message .tc-gallery-item-thumbnail {
	padding: 1px 4px;
}

.tc-gallery .tc-gallery-item.tc-gallery-item-with-error-message .tc-gallery-item-thumbnail:hover .tc-baloon,
.tc-gallery .tc-gallery-item.tc-gallery-item-with-error-message .tc-gallery-item-thumbnail.tc-hover .tc-baloon {
	display: block;
	margin-bottom: 9px;
}

.tc-root-rtl .tc-gallery .tc-gallery-item.tc-gallery-item-with-error-message .tc-gallery-item-thumbnail .tc-baloon {
	right: -16px;
}

.tc-root-ltr .tc-gallery .tc-gallery-item.tc-gallery-item-with-error-message .tc-gallery-item-thumbnail .tc-baloon {
	left: -16px;
}


.tc-gallery .tc-gallery-item .tc-gallery-item-thumbnail,
.tc-gallery .tc-gallery-item .tc-gallery-item-image {
	display: block;
	position: relative;
}

.tc-gallery .tc-gallery-item .tc-gallery-item-thumbnail p {
	margin-top: 10px;
}

.tc-gallery .tc-gallery-item .tc-gallery-item-image p {
	margin-top: 5px;
}

.tc-gallery .tc-gallery-item .tc-gallery-item-thumbnail a:hover,
.tc-gallery .tc-gallery-item .tc-gallery-item-thumbnail a.tc-hover {
	color: #337abc;
}

.tc-gallery .tc-gallery-item .tc-gallery-item-meta {
	text-align: center;
	font-size: 12px;
}

.tc-gallery .tc-gallery-item .tc-gallery-item-meta .tc-gallery-item-meta-field {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/*
.tc-root-print .tc-gallery.tc-gallery-print-zoom-size .tc-gallery-item {
	float: none;
	width: auto !important;
}

.tc-root-print .tc-gallery.tc-gallery-print-zoom-size .tc-gallery-item .tc-gallery-item-thumbnail {
	text-align: center;
}

.tc-root-print .tc-gallery.tc-gallery-print-zoom-size .tc-gallery-item .tc-gallery-item-image.tc-zooming-image > img,
.tc-root-print .tc-gallery.tc-gallery-print-zoom-size .tc-gallery-item .tc-gallery-item-image.tc-zooming-image .tc-zooming-image-trigger {
	display: none;
}

.tc-root-print .tc-gallery.tc-gallery-print-zoom-size .tc-gallery-item .tc-gallery-item-image.tc-zooming-image .tc-zooming-image-zoom {
	display: block !important;
	position: static;
}

.tc-root-print .tc-gallery.tc-gallery-print-zoom-size .tc-gallery-item .tc-gallery-item-image.tc-zooming-image .tc-zooming-image-zoom img {
	margin: 0 auto;
}

.tc-root-print .tc-gallery.tc-gallery-print-zoom-size .tc-gallery-item .tc-gallery-item-meta .tc-gallery-item-meta-field {
	margin: 0 3px;
	display: inline;
	overflow: visible;
}
*/

.tc-gallery .tc-gallery-item-image .tc-control-gallery-item-menu {
	position: absolute;
	top: 5px;
}

.tc-root-rtl .tc-gallery .tc-gallery-item-image .tc-control-gallery-item-menu {
	left: 5px;
}

.tc-root-ltr .tc-gallery .tc-gallery-item-image .tc-control-gallery-item-menu {
	right: 5px;
}


.tc-gallery .tc-gallery-item-thumbnail .tc-control-gallery-item-menu {
	display: inline-block;
	vertical-align: middle;
}

.tc-root-rtl .tc-gallery .tc-gallery-item-thumbnail .tc-control-gallery-item-menu {
	margin-right: 5px;
}

.tc-gallery .tc-gallery-item.tc-gallery-item-with-description .tc-gallery-item-thumbnail .tc-control-gallery-item-menu {
	position: absolute;
	top: 0;
}

.tc-root-rtl .tc-gallery .tc-gallery-item.tc-gallery-item-with-description .tc-gallery-item-thumbnail .tc-control-gallery-item-menu {
	left: 0;
}

.tc-root-ltr .tc-gallery .tc-gallery-item.tc-gallery-item-with-description .tc-gallery-item-thumbnail .tc-control-gallery-item-menu {
	right: 0;
}

.tc-root-rtl .tc-gallery .tc-gallery-item.tc-gallery-item-with-description .tc-gallery-item-thumbnail {
	padding-left: 40px;
}

.tc-root-ltr .tc-gallery .tc-gallery-item.tc-gallery-item-with-description .tc-gallery-item-thumbnail {
	padding-right: 40px;
}


.tc-root-ltr .tc-gallery .tc-gallery-item-thumbnail .tc-control-gallery-item-menu {
	margin-left: 5px;
}

.tc-gallery .tc-control-gallery-item-menu .tc-context-menu {
	top: 100%;
	padding-top: 5px;
}

.tc-root-rtl .tc-gallery .tc-control-gallery-item-menu .tc-context-menu {
	left: 0px;
}

.tc-root-ltr .tc-gallery .tc-control-gallery-item-menu .tc-context-menu {
	right: 0px;
}

.tc-gallery .tc-control-gallery-item-menu.tc-gallery-item-context-menu-open .tc-context-menu {
	display: block;
}

