/******************************************************************
 * Folded block styles
 *
 * Project: ZaMnoy!
 * Author: Roman Matiiv <rmatiiv@altertech.net>
 * Created: 20.05.2008
 ******************************************************************/

.foldedBlock {
    float: left;
    display: inline;
    margin: 0;
    padding: 0;
    width: 742px;
}

/*------------------------ Header
 */
.foldedBlock .foldedBlockHeader {
    background: #f0f3ff;
    border: 1px solid #d9e2ff;
    border-bottom: 0;
    float: left;
    display: inline;
    font-size: 14px;
    height: 24px;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    width: 742px;
}

.foldedBlockHeader .leftHeader {
    float: left;
    display: inline;
    height: 24px;
    margin:  0 0 0 8px;
    overflow: hidden;
    padding: 0;
    text-align: left;
    vertical-align: middle;
    width: 400px;
    max-width: 694px;
}

.foldedBlockHeader .fullHeader {
	float: left;
	display: inline;
    height: 24px;
    margin:  0 0 0 16px;
    overflow: hidden;
    text-align: left;
    vertical-align: middle;
    width: 400px;
    width: 694px;
}

html>body .foldedBlock .foldedBlockHeader .leftHeader {
	width: auto;
	margin:  0 0 0 16px;
}

.foldedBlock a.noContentLink {
	color: #3a3939;
    font: bold 12px/22px Arial, Verdana, Helvetica, sans-serif;
    text-decoration: none;
}

.foldedBlock a.noContentLink:hover {
    text-decoration: none;
}

.foldedBlock a.captionLink {
	color: #2e70d5;
	font: bold 12px/22px Arial, Verdana, Helvetica, sans-serif;
	text-decoration: underline;
}

.foldedBlock a.captionLink:hover {
	color: #2e70d5;
	text-decoration: none;
}

.foldedBlock .foldedBlockHeader .rightHeader {
    float: right;
    height: 24px;
    margin: 0 8px 0 0;
    text-align: right;
    vertical-align: bottom;
    width: 250px;
}

html>body .foldedBlock .foldedBlockHeader .rightHeader {
	margin: -1px 16px 0 0;
	vertical-align: middle;
	width: auto;
}

*:first-child+html .foldedBlock .foldedBlockHeader .rightHeader {
	margin: 0 16px 0 0;
}

.foldedBlock .foldedBlockHeader .rightHeader .captionLinkHolder {
	clear: none;
    height: 20px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    text-align: left;
    vertical-align: top;
    width: 112px;
}

.foldedBlock .foldedBlockHeader span {
    font: normal 14px/24px Arial, Verdana, Helvetica, sans-serif;
}
 
.foldedBlock .foldedBlockHeader a.actionLink {
    color: #2e70d5;
    font: normal 14px/24px Arial, Verdana, Helvetica, sans-serif;
    text-decoration: underline;
    vertical-align: bottom;
}

.foldedBlock .foldedBlockHeader a.actionLink:hover {
    color: #2e70d5;
    text-decoration: none;
}

.foldedBlock .foldedBlockHeader a.navLink {
	font: normal 14px/24px Arial, Verdana, Helvetica, sans-serif;
}

.foldedBlock .foldedBlockHeader .subTitle {
	float: left;
	display: inline;
	height: 24px;
	line-height: 24px;
	vertical-align: middle;
	width: 100px;
	width: auto;
}

a.unfoldContentLink {
    background: url('../img/arr_closed.gif') no-repeat 0% 50%;
    clear: none;
    color: #333;
    display: block;
    font: normal 14px/16px Arial, Verdana, Helvetica, sans-serif;
    float: left;
    height: 24px;
    margin: 0;
    padding-left: 13px;
    text-align: left;
    text-decoration: none;
    vertical-align: middle;
    width: auto;
    min-width: 13px;
    max-width: 350px;
}

a.foldContentLink {
    background: url('../img/arr_opened.gif') no-repeat 0% 50%;
    clear: none;
    color: #333;
    display: block;
    font: normal 14px/16px Arial, Verdana, Helvetica, sans-serif;
    float: left;
    height: 24px;
    margin: 0;
    padding:  0 0 0 13px;
    text-decoration: none;
    vertical-align: middle;
    width: auto;
    min-width: 13px;
    max-width: 350px;
}

a.foldContentLink:hover,
a.unfoldContentLink:hover {
	text-decoration: none;
}

.foldedBlock .foldedBlockHeader img {
    vertical-align: middle;
}

.foldedBlock .foldedBlockHeader span.caption {
    color: #333;
    font: bold 14px/24px Arial, Verdana, Helvetica, sans-serif;
    margin-left: 5px;
    vertical-align: middle;
}

.foldedBlock .foldedBlockHeader span.statCaption {
    color: #333;
    font: normal 14px/24px Arial, Verdana, Helvetica, sans-serif;
    vertical-align: middle;
}

.foldedBlock .foldedBlockHeader span.actionCaption {
	display: block;
	height: 18px; 
	margin: 4px 0 0 0;
	vertical-align: middle;
	width: 14px;
}

html>body .foldedBlock .foldedBlockHeader span.actionCaption {
	margin: 0 -10px 0 0;
	width: auto;
}

.foldedBlock .foldedBlockHeader .actionCaption img {
	margin-top: 0;
	vertical-align: middle;
}

html>body .foldedBlock .foldedBlockHeader .actionCaption img {
	margin-top: 2px;
}

/*------------------------ Content
 */
.foldedBlock .foldedBlockHeader span.decoredText {
    color: #fe8e20;
    vertical-align: middle;
}

.foldedBlock .foldedBlockContent {
    border: 1px solid #d9e2ff;
    border-bottom: none;
    display: inline;
    float: left;
    margin: 0;
    padding: 0;
    width: 742px;
}

.foldedBlock .noBorder  {
	border: 0;
	border-top: 1px solid #d9e2ff;
}

.foldedBlock .foldedBlockContent .textContent {
    float: left;
    margin: 5px 35px 0px 5px;
    padding-bottom: 5px;
    width: 703px;
}

html>body .foldedBlock .foldedBlockContent .textContent {
	margin: 10px 35px 0px 10px;
}

.foldedBlock .foldedBlockContent .mediaContent {
    float: left;
    margin: 4px 0px 0 4px;
    padding-bottom: 6px;
    width: 730px;
}

html>body .foldedBlock .foldedBlockContent .mediaContent {
	margin: 8px 8px 0;
}

.foldedBlock .foldedBlockContent .commonContent {
    float: left;
    margin: 0 0 0 8px;
    overflow: hidden;
    padding-bottom: 8px;
    width: 710px;
}

html>body .foldedBlock .foldedBlockContent .commonContent {
	margin: 0 16px;
}

.foldedBlock .foldedBlockContent .commonForGmapContent {
    float: left;
    margin: 0 0 0 4px;
    overflow: hidden;
    padding-bottom: 8px;
    width: 730px;
}

html>body .foldedBlock .foldedBlockContent .commonForGmapContent {
	margin: 0 8px 0 8px;
}

.foldedBlock .foldedBlockContent .specialContent {
    float: left;
    margin: 0;
    padding-bottom: 10px;
    width: 432px;
}

.foldedBlock .specContent {
	border: 0px solid red;
    float: left;
    margin: 0;
    margin-left: 3px;
    padding: 6px 0 8px 0;
    width: 692px;
    white-space: normal;
}

html>body .foldedBlock .specContent {
    margin: 0;
    margin-left: 9px;
    padding: 10px 0 10px 0;
    width: 689px;
}

.foldedBlock .specContent .paginationHolder {
	width: 689px;
}

.foldedBlock .foldedBlockContent .narrowContent {
	float: left;
 	margin: 5px 0 0;
 	padding-bottom: 10px;
    width: 365px;
}

html>body .foldedBlock .foldedBlockContent .narrowContent {
 	margin: 10px 0 0 3px;
 	padding-bottom: 10px;
}

.foldedBlock .foldedBlockContent .buttonBar {
	clear: both;
    float: left;
    height: 31px;
    margin: 10px 0 10px 100px;
    width: 420px;
}

html>body .foldedBlock .foldedBlockContent .buttonBar {
	margin: 10px 0 10px 200px;
}

.foldedBlock .foldedBlockContent .buttonBar1 {
	clear: both;
    float: left;
    height: 31px;
    margin: 5px 0 5px 14px;
    padding: 0;
    width: 340px;
}

html>body .foldedBlock .foldedBlockContent .buttonBar1 {
    margin: 10px 0 0 23px;
}

/*------------------------ Footer
 */
.foldedBlock .foldedBlockFooter {
    background: url('../img/foldedBlock_border_bg.gif') repeat-x top left;
    display: inline;
    float: left;
    height: 7px;
    margin: 0;
    padding: 0;
    width: 100%;
}

.foldedBlock .foldedBlockFooter .shadedBorder {
    background: url('../img/frame_shadow.gif') no-repeat top right;
    display: inline;
    float: right;
    height: 7px;
    margin: 0;
    padding: 0;
    width: 256px;
}

/*------------------------ Small Block
 */
 .smallBlock,
.foldedBlock .smallBlock,
.smallBlock .foldedBlockHeader,
.smallBlock .foldedBlockContent {
 	width: 455px;
}
 
.foldedBlock .smallBlock .foldedBlockHeader .leftHeader,
.foldedBlock .smallBlock .foldedBlockHeader .fullHeader {
 	width: auto;
}
 
.foldedBlock .smallBlock .foldedBlockHeader .rightHeader {
 	width: auto;
}

/*------------------------ Narrow Block
 */
 .narrowBlock,
.foldedBlock .narrowBlock,
.narrowBlock .foldedBlockHeader,
.narrowBlock .foldedBlockContent {
 	width: 370px;
}

.narrowBlock .foldedBlockHeader .leftHeader,
.narrowBlock .foldedBlockHeader .fullHeader {
 	width: auto;
}
 
.narrowBlock .foldedBlockHeader .rightHeader {
 	width: auto;
}

/*------------------------ Special Block
 */
 .specialBlock,
.foldedBlock .specialBlock,
.specialBlock .foldedBlockHeader,
.specialBlock .foldedBlockContent {
 	width: 707px;
}
 
.foldedBlock .specialBlock .foldedBlockHeader .leftHeader,
.foldedBlock .specialBlock .foldedBlockHeader .fullHeader {
 	width: auto;
}
 
.foldedBlock .specialBlock .foldedBlockHeader .rightHeader {
 	width: auto;
}

/*------------------------ Wide Block
 */