/*CSS Document*/
* {
	padding: 0; margin: 0;
}
body {
	background: #FFFFE0;
}
@font-face {
	font-family: 'OldKharkiv';
	src: url(fonts/OldKharkiv.otf);
}
.main {
	width:1070px; margin:0 auto;
	background:#fff;
}
.head{
	height:250px;
	width:1070px;
}
.content-main {
	width:1070px; margin:0 auto;
	background:#fff;
	border:1px solid #FFE751;
}
.menu {
	list-style:none; background: #FFE751; overflow: hidden;
	border-radius:15px 15px 0 0;
	-moz-border-radius:15px 15px 0 0;
}
.menu li {
	float:left; background:url(images/bg-menu.jpg) left center no-repeat; padding: 15px 35px;
}
.menu li a {
	font:18px "Garamond"; color:#2B0000; text-decoration:none;
	}
.menu li a:hover {
	font:18px "Garamond"; color:#2B0000; text-decoration:underline;
	}
	
/*Для главной страницы*/
.text {
	width:1000px;
	margin:0 auto;
}
.text p {
	font:18px "OldKharkiv"; color:#2B0000;
	text-align:justify;
	word-wrap:break-word;
	text-indent: 11px;
}
.text a {
	font:22px "OldKharkiv"; color:#2B0000;
	text-align:justify;
	word-wrap:break-word;
	text-decoration: none;
}
.text a:hover {
	font:22px "OldKharkiv"; color:#2B0000;
	text-align:justify;
	word-wrap:break-word;
	text-decoration:underline;
}
.leftimg {
    float:left; /* Выравнивание по левому краю */
    margin: 7px 7px 7px 0; /* Отступы вокруг картинки */
	border: 1px solid #00000;
   }
.rightimg  {
    float: right; /* Выравнивание по правому краю  */ 
    margin: 7px 0 7px 7px; /* Отступы вокруг картинки */
	border: 1px solid #00000;
   }


/*Основные страницы - слайдер*/
.onpage{
	width:1070px;
	height:600px;
}
.slide {
		background-color:#fff;
        width: 90%;
		border: 1px solid #888;
        position: relative;
        margin:0 auto;
    }
	.slide  input {
        display: none;
		}

    .slide  input + label {
        display: inline-block;
        width: 20px;
        height: 20px;
        background: rgba(90, 90, 90, 0.8);
       

        cursor: pointer;

        z-index: 100;
        position: relative;

        margin-right: 4px;
        top: 90%;

        transition: background 0.8s ease-out 0s;
    }

    .slide  input + label:hover {
        background: rgba(250, 250, 250, 0.8);
    }

    .slide  input:checked + label {
        background: rgba(220, 220, 220, 0.8);
    }
	
    .slide  div {
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        z-index: 0;
    }
	
    .slide  div {
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.8s ease-out 0.1s, visibility 0.1s ease-out 0.9s;
    }
	
    .slide  input:checked + label + div {
        visibility: visible;
        opacity: 1;
        transition: opacity 0.8s ease-out 0.1s, visibility 0.1s ease-out 0s;
    }
	
	.slide img {
		width:1000px;
	}
    .slide  div  p {
       /* position: absolute;*/
		font-size:18px;
        top: 0px;
        left: 0px;
        right: 0px;
        text-align: center;
        color: #fff;
        text-shadow: 2px 2px 3px #222;
    }


/*Каталог*/

#follow {
margin: 0px;
background: e6eeee;
z-index: 2;
position: fixed;
top: 0px;
left: 0px;
}

.mainfortext {
	width:1000px;
	margin:0 auto;
}
.mainfortext h1 {
	font:24px "OldKharkiv"; color:#2B0000;
	text-align:center;
}
.razdel1 {
	background:#F1FF9B;
	border:1px solid #000000;
	border-radius:15px;
	-moz-border-radius:15px;
	box-sizing: border-box;
    padding: 20px;
}
.razdel1 h2 {
	font:20px "OldKharkiv"; color:#2B0000;
	text-align:center;
}
.razdel1 a {
	font:18px "Garamond"; color:#000000; text-decoration:none;
	text-indent: 11px;
	word-wrap:break-word;
	text-align:justify;
	}
.razdel1 a:hover {
	font:18px "Garamond"; color:#000000; text-decoration:underline;
	}
.razdel1 p {
	font:18px "Garamond"; color:#000000;
	text-indent: 11px;
	word-wrap:break-word;
	text-align:justify;
}

.razdel2 {
	background:#FDFFE5;
	border:1px solid #000000;
	border-radius:15px;
	-moz-border-radius:15px;
	box-sizing: border-box;
    padding: 20px;
}
.razdel2 h2 {
	font:20px "OldKharkiv"; color:#2B0000;
	text-align:center;
}
.razdel2 a {
	font:18px "Garamond"; color:#000000; text-decoration:none;
	text-indent: 11px;
	word-wrap:break-word;
	text-align:justify;
	}
.razdel2 a:hover {
	font:18px "Garamond"; color:#000000; text-decoration:underline;
	}
.razdel2 p {
	font:18px "Garamond"; color:#000000;
	text-indent: 11px;
	word-wrap:break-word;
	text-align:justify;
}

/*Подвал*/
.footer {
	clear:both;
	overflow:hidden;
	width:1070px;
	bottom:0;
	padding:10px 0 10px 0;
	background:#fff;
	text-align:center;
	}
.footer p {
		text-decoration:none;
		font:16px "Garamond";
		color:#06160e;
	}
	
.back {
	font:17px "Garamond";
	font-weight:bold;
	text-decoration:none;
	color:#06160e;
	}