#colorbox, #cboxOverlay, #cboxWrapper
{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
	overflow: hidden;
}

#cboxOverlay
{
	position: fixed;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0.5 !important;
}

#cboxMiddleLeft, #cboxBottomLeft { clear: left; }

#cboxContent
{
	position: relative;
	background: #fff;
	overflow: visible;
}

#cboxLoadedContent
{
	overflow: auto;
	margin-bottom: 5px;
}

#cboxTitle
{
	position: absolute;
	bottom: -25px;
	left: 0;
	text-align: center;
	width: 100%;
	font-weight: 700;
	color: #7C7C7C;
	margin: 0;
}

#cboxLoadingOverlay, #cboxLoadingGraphic
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow
{
	cursor: pointer;
	position: absolute;
	bottom: -29px;
	background: url(images/controls.png) no-repeat 0 0;
	width: 23px;
	height: 23px;
	text-indent: -9999px;
}

.cboxPhoto {
float:left;
border:0;
display:block;
margin:auto;
}

.cboxIframe {
width:100%;
height:100%;
display:block;
border:0;
}

#colorbox {
box-shadow:0 0 15px rgba(0,0,0,0.4);
-moz-box-shadow:0 0 15px rgba(0,0,0,0.4);
-webkit-box-shadow:0 0 15px rgba(0,0,0,0.4);
}

#cboxTopLeft {
width:14px;
height:14px;
background:url(images/controls.png) no-repeat 0 0;
}

#cboxTopCenter {
height:14px;
background:url(images/border.png) repeat-x top left;
}

#cboxTopRight {
width:14px;
height:14px;
background:url(images/controls.png) no-repeat -36px 0;
}

#cboxBottomLeft {
width:14px;
height:43px;
background:url(images/controls.png) no-repeat 0 -32px;
}

#cboxBottomCenter {
height:43px;
background:url(images/border.png) repeat-x bottom left;
}

#cboxBottomRight {
width:14px;
height:43px;
background:url(images/controls.png) no-repeat -36px -32px;
}

#cboxMiddleLeft {
width:14px;
background:url(images/controls.png) repeat-y -175px 0;
}

#cboxMiddleRight {
width:14px;
background:url(images/controls.png) repeat-y -211px 0;
}

#cboxLoadingOverlay {
background:url(images/loading_background.png) no-repeat center center;
}

#cboxLoadingGraphic {
background:url(images/loading.gif) no-repeat center center;
}

#cboxCurrent {
position:absolute;
bottom:-25px;
left:58px;
font-weight:700;
color:#7C7C7C;
}

#cboxPrevious {
left:0;
background-position:-51px -25px;
}

#cboxPrevious.hover {
background-position:-51px 0;
}

#cboxNext {
left:27px;
background-position:-75px -25px;
}

#cboxNext.hover {
background-position:-75px 0;
}

#cboxClose {
right:0;
background-position:-100px -25px;
}

#cboxClose.hover {
background-position:-100px 0;
}

.cboxSlideshow_on #cboxSlideshow {
background-position:-125px 0;
right:27px;
}

.cboxSlideshow_on #cboxSlideshow.hover {
background-position:-150px 0;
}

.cboxSlideshow_off #cboxSlideshow {
background-position:-150px -25px;
right:27px;
}

.cboxSlideshow_off #cboxSlideshow.hover {
background-position:-125px 0;
}

/* Модальное окно с приглашением в социальные сети */

#social
{
	padding: 10px;
	background: #fff;
}

.box-title
{
	font-family: Tahoma;
	font-size: 14px;
	text-align: justify;
	color: #171717;
	margin: 10px 0 20px 0;
	padding: 0 20px;
}

.box-content { width: 90%; margin: 0 auto; }

.sn { float: left; margin: 10px 20px; }

.sn:hover { opacity: 0.9; }

/* Конец */

#subs-container {
position:relative;
padding:35px 0 30px;
}

.box-side {
width:170px;
text-align:center;
}

.box-side.left {
border-right:1px solid #ecedf3;
padding:0 30px 0 15px;
}

.box-side.right {
float:right;
margin-top:-223px;
margin-right:10px;
}

.box-icon {
width:72px;
height:54px;
margin:0 auto;
padding:6px 0 0;
}

#box-or {
background:#fff;
font-size:12px;
font-weight:700;
height:25px;
line-height:25px;
position:absolute;
width:20px;
margin:-115px 0 0 208px;
}