/* Комментарий от поддержки TWS gallery:
В галерее для вывода подсказок и другой информации применяется готовый javascript модуль, доступный по http://vadikom.com/demos/poshytip/.
Для оформления модуля используются стили. В галерее применяется два вида стилей, в зависимости от типа выводимой информации. 
В данном файле собраны эти стили. Первый называется poshytip - основной стиль, используемый при выводе большого количества информации.
Второй - poshytip-simple - выводит второстепенную информацию. Названия этих стилей жёстко прописаны в скрипте. Если вы хотите изменить их дизайн (по указанной выше ссылке есть дистрибутив с другими стилями) - возьмите понравившийся вам и просто замените описания стилей ниже в этом файле.*/

.poshytip {
	position:relative;
	z-index:1000;
	text-align:left;
	border:1px solid #939393;
	padding:7px;
	min-width:50px;
	max-width:530px;
	color:#8c3901;
	background-color:#fef9d9;
	background-image:url(../gallimages/tip-yellow.png); /* bgImageFrameSize >= 10 should work fine */
	/**
	 * - If you set a background-image, border/padding/background-color will be ingnored.
	 *   You can set any padding to .tip-inner instead if you need.
	 * - If you want a tiled background-image and border/padding for the tip,
	 *   set the background-image to .tip-inner instead.
	 */
}
.poshytip .tip-inner {
	font:bold 13px/18px 'trebuchet ms',arial,helvetica,sans-serif;
	margin-top:-2px;
	padding:0 3px 1px 3px;
}

/* Configure an arrow image - the script will automatically position it on the correct side of the tip */
.poshytip .tip-arrow-top {
	margin-top:-7px;
	margin-left:-5px;
	top:0;
	left:50%;
	width:16px;
	height:10px;
	background:url(../gallimages/tip-yellow_arrows.png) no-repeat;
}
.poshytip .tip-arrow-right {
	margin-top:-9px; /* approx. half the height to center it */
	margin-left:-4px;
	top:50%;
	left:100%;
	width:10px;
	height:20px;
	background:url(../gallimages/tip-yellow_arrows.png) no-repeat -16px 0;
}
.poshytip .tip-arrow-bottom {
	margin-top:-6px;
	margin-left:15px;
	top:100%;
	left:0;
	width:16px;
	height:13px;
	background:url(../gallimages/tip-yellow_arrows.png) no-repeat -32px 0;
}
.poshytip .tip-arrow-left {
	margin-top:-9px; /* approx. half the height to center it */
	margin-left:-6px;
	top:50%;
	left:0;
	width:10px;
	height:20px;
	background:url(../gallimages/tip-yellow_arrows.png) no-repeat -48px 0;
}

/* Второй стиль */

.poshytip-simple {
	z-index:1000;
	text-align:left;
	border:1px solid #c7bf93;
	border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	padding:6px 8px;
	min-width:50px;
	max-width:300px;
	color:#000;
	background-color:#fff9c9;
	/**
	 * - If you set a background-image, border/padding/background-color will be ingnored.
	 *   You can set any padding to .tip-inner instead if you need.
	 * - If you want a tiled background-image and border/padding for the tip,
	 *   set the background-image to .tip-inner instead.
	 */
}
.poshytip-simple .tip-inner {
	font:12px/16px arial,helvetica,sans-serif;
}

/* Configure an arrow image - the script will automatically position it on the correct side of the tip */
.poshytip-simple .tip-arrow-top {
	margin-top:-6px;
	margin-left:-5px; /* approx. half the width to center it */
	top:0;
	left:50%;
	width:9px;
	height:6px;
	background:url(../gallimages/tip-yellowsimple_arrows.gif) no-repeat;
}
.poshytip-simple .tip-arrow-right {
	margin-top:-4px; /* approx. half the height to center it */
	margin-left:0;
	top:50%;
	left:100%;
	width:6px;
	height:9px;
	background:url(../gallimages/tip-yellowsimple_arrows.gif) no-repeat -9px 0;
}
.poshytip-simple .tip-arrow-bottom {
	margin-top:0;
	margin-left:-5px; /* approx. half the width to center it */
	top:100%;
	left:50%;
	width:9px;
	height:6px;
	background:url(../gallimages/tip-yellowsimple_arrows.gif) no-repeat -18px 0;
}
.poshytip-simple .tip-arrow-left {
	margin-top:-4px; /* approx. half the height to center it */
	margin-left:-6px;
	top:50%;
	left:0;
	width:6px;
	height:9px;
	background:url(../gallimages/tip-yellowsimple_arrows.gif) no-repeat -27px 0;
}

/* Дополнительные стили - вывод пользователей в окне */

.poshytip-users-thumbs {
	overflow:hidden;
}
.poshytip-users-thumbs a {
	float:left;
	display:block;
	margin: 2px;
	border:1px solid #333;
}
.poshytip-users-thumbs a:hover {
	border-color:#eee;
}
.poshytip-users-thumbs img {
	display:block;
	width:56px;
	height:56px;
}