/* Сначала додим специальные вставки для модуля слайдшоу - классом noslideshow пользователь в визреде выделяет любое слово или фразу на странице,
на которой не хочет снизу получать слайдшоу вообще. Сама фраза, как видите по ее стилю, не будет показана, но наличие объекта этого класса
даст скрипту знать, что ничего делать не надо

А по поводу айдишника myCustomSlideshow ситуация аналогичная - пользователь в визреде накидывает картинок на страницу, выделяет их все и создает новый 
div-контейнер, которому указывает именно этот айдишник. Наличие объекта с этим id на странице покажет скрипту, откуда брать новые изображения,
а сам этот контейнер на странице виден не будет. Впрочем, если скрипт сработает верно - то мы все содержимое этого контейнера просто перенесем в другое место.
*/
.noslideshow {
	display:none;
}
#myCustomSlideshow {
	display:none;
}


/* ну а тут уже пошла обычная таблица стилей для самого шаблона*/
* { margin:0; padding:0;}
body { font-family:Arial; font-size:100%; line-height:1.125em; color:#5f5b5b; background:url(../images/tail-top.gif) left top repeat-x #bebfc4;}

#main {width:737px; margin:0 auto;}

.col-1, .col-2, .col-3 { float:left;}

/*=========================*/


input, textarea { font-family:Arial; font-size:1em;}

.fleft { float:left;}
.fright { float:right;}
.clear { clear:both;}

.alignright { text-align:right;}
.aligncenter { text-align:center;}

.wrapper, block { width:100%; overflow:hidden;}
.container { width:100%;}

p { margin-bottom:20px;}

/*==================forms====================*/
input, select { vertical-align:middle; font-weight:normal;}
img {border:0; vertical-align:top; text-align:left;}

.form { height:25px;}
.form input {width:128px; background:none; border:1px solid #eee; color:#5f5b5b; padding:1px 0 1px 3px;}
textarea { width:267px; height:73px; background:none; border:1px solid #eee; overflow:auto; color:#5f5b5b; padding-left:3px; padding:1px 0 0 3px;}


/*==================list====================*/
ul { list-style:none;}

.gallery { width:100%; overflow:hidden;}
.gallery li { float:left; margin-right:19px;}
.gallery li.alt { margin-right:5px;}
.gallery li.last { margin-right:0;}


/*==================other====================*/
.img-indent { margin:0 31px 0 0; float:left;}
.img-box { width:100%; overflow:hidden;}
.img-box img { float:left; margin:0 31px 0 0;}
.img-box1 { width:100%; overflow:hidden; padding-bottom:26px;}
.img-box1 img { float:left; margin:0 31px 0 0;}

/*==================txt, links, lines, titles====================*/
a {color:#5f5b5b;}
a:hover{text-decoration:none;}

h2 { font-size:.85em; text-transform:uppercase; line-height:1.45em; margin-bottom:20px;}

.link1 { background:url(../images/marker.gif) no-repeat left top; padding-left:24px; color:#494a4b; text-decoration:none;}
.link1:hover { text-decoration:underline;}

.title { margin-bottom:17px;}
.title1 { margin-bottom:25px;}

/*==================boxes====================*/
.box { background:url(../images/box-bg.jpg) no-repeat left top; width:374px; height:377px;}
.box .inner { padding:30px 24px 0 25px;}

.box1 { width:100%; margin-bottom:14px;}
.box1 .box1-top { background:url(../images/box1-top.gif) no-repeat left top; height:18px; width:100%; overflow:hidden;}
.box1 .box1-content { background:#fff;}
.box1 .box1-bottom { background:url(../images/box1-bottom.gif) no-repeat left top; height:18px; width:100%; overflow:hidden;}
.box1 .inner { padding:0 19px 0 19px;}

.box2 { background:url(../images/box2-bg.jpg) no-repeat left top; width:685px; height:377px;}
.box2 .inner { padding:30px 24px 0 25px;}

.box3 { width:100%;}
.box3 .box1-top { background:url(../images/box3-top.gif) no-repeat left top; height:18px; width:100%; overflow:hidden;}
.box3 .box1-content { background:#fff;}
.box3 .box1-bottom { background:url(../images/box3-bottom.gif) no-repeat left top; height:18px; width:100%; overflow:hidden;}
.box3 .inner { padding:0 19px 6px 19px;}

.close-button { position:absolute; margin:-17px 0 0 309px;}
.close-button1 { position:absolute; margin:-17px 0 0 620px;}

.cont-box { padding:0 85px 0 0; margin-bottom:0;}
.cont-box span { float:right;}

/*header*/
#header {height:304px; background:url(../images/header-bg.png) no-repeat left 36px; font-size:.75em;}
#header .row-1 { height:233px;}
#header .row-1 .indent { padding:75px 0 0 55px;}
#header .row-2 { }
#header .row-2 .fleft { padding:20px 0 0 26px; color:#c6c6c6;}
#header .row-2 .fleft a { color:#768997; text-decoration:none;}
#header .row-2 .fleft a:hover { text-decoration:underline;}
#header .row-2 .fright { padding:0 0 0 0;}
#header .row-2 .fright img { margin-left:6px;}

/*content*/
#content { font-size:0.8125em;}
#content { background:url(../images/content-bg-empty-2.jpg) no-repeat left top; min-height:564px; height:auto !important; height:564px;}
#content .indent { padding:30px 0 0 337px;}
#content .indent1 { padding:30px 0 0 26px;}
#content .row-1 { height:444px;}

/*footer*/
#footer {height:108px; font-size:.625em;}
#footer { margin-top:22px;}
#footer .indent { padding:28px 0 0 0;}
#footer p { line-height:1.3em;}
#footer span { color:#fff; font-size:1.1em;}
#footer strong { text-transform:uppercase;}
#footer span a { color:#fff;}


/*======= index-3.html =======*/
#page4 #content .col-1 {width:139px;}
#page4 #content .col-2 { width:133px;}

/*==========================================*/

#maintext {margin-left:5px; padding:5px;border-color: #cdcdcd; border-style: solid; border-width: 3px; background-color: #fff2f5; width: 710px; height:410px; overflow:auto}

.fright {
	width: 718px;
	margin-top:-7px;
	margin-right: 5px;
}

.fright a{
	color: white;
	text-decoration: none;
}

.fright a:hover{
	color: black;
	text-decoration: underline;
}

.fright .active a{
	color: yellow;
	text-decoration: underline;
}

.fright .active a:hover{
	color: yellow;
	text-decoration: underline;
}


.fright ul, .fright ul li{
	list-style: none;
}

.fright ul li {
	float: left;
	display: block;
	width: 140px;
	height: 60px;
	margin-left:0px;
	padding-top:20px;
	padding-right: 3px;
	background-position: 5px 0px;
	background-repeat: no-repeat;
	color: white;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
}

.fright ul li.item1{
	background-image: url(../images/m1.jpg);
}
.fright ul li.item2{
	background-image: url(../images/m2.jpg);
}
.fright ul li.item3{
	background-image: url(../images/m3.jpg);
}
.fright ul li.item4{
	background-image: url(../images/m2.jpg);
}
.fright ul li.item5{
	background-image: url(../images/m1.jpg);
}




.td04 {
	font-style: italic;
	line-height: 30px;
	font-size: 20px;
	font-weight: bold;
	font-family: Arial, Helvetica, Verdana, sans-serif;
	color: #efefc5;
	background-image: url(../images/test_04.jpg);
	background-repeat: no-repeat;
}

.td04 a {
	font-style: italic;
	line-height: 30px;
	font-size: 20px;
	font-weight: bold;
	font-family: Arial, Helvetica, Verdana, sans-serif;
	color: #efefc5;
}

.td04 ul {
	margin-left: 90px;
	margin-top: -235px;
	list-style-type: none;
}

.td04 ul li{
	text-align: left;
}

.td05 {
	font-size: 14px;
	font-family: Arial, Helvetica, Verdana, sans-serif;
	color: #000000;
	background-image: url(../images/test_05.jpg);
	background-repeat: no-repeat;
	text-align: justify;
	margin-top: 150px;
	
	
}

.td05 p{
	margin-left:10px;
	margin-right:10px;
	text-align: left;
	font-size: 14px;
}
.td06 {
	line-height: 30px;
	font-size: 20px;
	font-weight: bold;
	font-family: Arial, Helvetica, Verdana, sans-serif;
	color: #efefc5;
	background-image: url(../images/test_06.jpg);
	background-repeat: no-repeat;
	text-align: right;
}

.td06 ul {
	margin-right: 50px;
	padding-right: -350px;
	margin-top: -230px;
	list-style-type: none;
}

.td08 {
	color: #efefc5;
	background-image: url(../images/test_08.jpg);
	background-repeat: no-repeat;
	text-align: center;
	margin-left:-20px;
}
.td08 img {
	border-color: #999999;
	border-style: groove;
	border-width: 5px;
}
body {background-color: #c7df93; margin: 0;}
h3 {margin-left:10px; font-size:14px; font-family: Arial, Helvetica, Verdana, sans-serif; color: #253801;}
h2 {margin-left:10px; font-size:16px; font-family: Arial, Helvetica, Verdana, sans-serif; color: #253801;}
h1 {margin-left:10px; font-size:18px; font-family: Arial, Helvetica, Verdana, sans-serif; color: #253801;}

.tdleft, .tdright {
//	background-color: #5a5044;
	background-color: #c7df93;
}







