﻿/*--- Global Classes ---*/

.back {
	background-color:#ffffff;
	border-top:1px solid black;
}

.color1 {
	color:#0000ff;
}

.color2 {
	color:#aaaaaa;
}

.center {
	text-align:center;
}

.top {
	border-top:inherit;
}

.bottom {
	border-bottom:inherit;
}

.head_text {
	font:bold 1.7em 'Comic Sans MS',sans-serif;
}

.sign {
	text-align: right;
	font-weight: bold;
}

.category, .bi {
	font-style: italic;
	font-weight: bold;
}

.b {
	font-weight: bold;
}

.i {
	font-style: italic;
}

.subsection {
	margin-top: 1.8em;
	text-align: center;
	font-weight: bold;
}

.text {
	font-family: Arial, sans-serif;
	font-size: 15px;
}

.page_img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 70%;
}

.wfull {
	width: 100%;
}

.border {
	border: 1px solid black;
}

.wborder {
	border: 1px solid #aaaaaa;
}

.nofloat {
	clear: both;
}

.noleft {
	clear: left;
}

.nospace {
	margin-top: -0.5em;
}

a, #name1 {
	color: rgb(111, 99, 255);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:hover.nounder {
	text-decoration: none;
}

a:visited {
	color: #904699;
}

a.admin_color {
	color: red;
}

a.menu_item {
	font:1.5em 'Comic Sans MS',sans-serif;
	display: block;
	margin-bottom: 15px;
	text-decoration: none;
}

a.menu_item:hover
{
	text-decoration: underline;
}

a.menu_item.current2 {
	color: #e67300;
}

img.right {
	float: right;
	margin-top: 5px;
	margin-right: 0;
	margin-left: 15px;
	margin-bottom: 15px;
}

img.left {
	float: left;
	margin-top: 5px;
	margin-right: 15px;
	margin-left: 0;
	margin-bottom: 15px;
}

img.center {
	margin: 5px auto 15px auto;
	display: block;
}

img.w20 {
	width: 20%;
}

img.w25 {
	width: 25%;
}

img.w30 {
	width: 30%;
}

img.w35 {
	width: 35%;
}

img.w40 {
	width: 40%;
}

img.w45 {
	width: 45%;
}

img.w50 {
	width: 50%;
}

img.w70 {
	width: 70%;
}

img.w80 {
	width: 80%;
}


/*--- Общие элементы ---*/

div {
	/*border:1px dotted red;*/
}

h1,h3 {
	text-align: center;
	margin:0;
}

img {
	border: none;
}

p {
	text-indent: 20px;
	text-align: justify;
}

/*--- Body ---*/

html, body {
	margin:0;
	height:100%;
	font-family:Comic Sans MS, sans-serif;
	font-size:15px;
	position: relative;
	/*background:#eeeeff;*/
}

div#container {
	min-width:750px;
	/*margin-bottom:-40px;*/
}

/*--- Header ---*/

div#container div#header {
	text-align:center;
}

div#container div#header a#header_ref {
	text-decoration:none;
	color:inherit;
}

div#container div#header a#header_ref img#logo {
	position:absolute;
	/*top:-15px;*/
	left:0;
	width:160px;
}

div#container div#header a#header_ref span#name2 {
	color:#000000;
	font-style:italic;
	font-family:'Bad Script', serif;
	line-height: 2em;

}

div#container div#header a#header_ref span#name21 {
	color:#ff0000;
	font-style:italic;
	font-size:14pt;
}

div#container img#head_line {
	margin-top:-10px;
	width:100%;
}

/*--- Left Side ---*/

div#container div#leftside {
	width:202px;
	float:left;
	margin:20px;
}

/*--- Главная кнопка ---*/

div#container div#leftside div#button_box {
	position:relative;
	width:200px;
}

div#container div#leftside div#button_box img#img_button {
	width:100%;
	/*cursor:pointer;*/
}

div#container div#leftside div#button_box div.but {
	position:absolute;
	cursor:pointer;
	/*visibility:hidden;*/
}

div#container div#leftside div#button_box div.but:hover {
	/*background:#00ffff;*/
}

div#container div#leftside div#button_box div#but0 {
	width: 26%;
	height: 55%;
	top: 24%;
	left: 3%;
}

div#container div#leftside div#button_box div#but1 {
	width: 48%;
	height: 27%;
	top: 4%;
	left: 29%;
}

div#container div#leftside div#button_box div#but2 {
	width: 24%;
	height: 47%;
	top: 31%;
	left: 75%;
}

div#container div#leftside div#button_box div#but3 {
	width: 40%;
	height: 28%;
	top: 69%;
	left: 32%;
}

div#container div#leftside div#menu_box {
	position:relative;
	/*height:270px;*/
	width:200px;
}

div#container div#leftside div#menu_box div.menu {
	display:none;
}

div#container div#leftside div#menu_box div.menu a.menu_item {
	width:100%;
}


/*div#container div#leftside div#button_box div#but4 {
	width: 42%;
	height: 31%;
	top: 35%;
	left: 31%;
}*/


/*--- Right Side ---*/

div#container div#rightside {
	width:252px;
	float:right;
	margin:20px;
	/*margin-bottom:40px;*/
	padding-bottom:41px;
}

div#container div#rightside div#menu2 {
	/*width:200px;*/
	margin-bottom: 40px;
}


/*--- Main ---*/

div#container div#main {
	margin:0 295px 22px 245px;
	position:relative;
	/*background:rgba(255,255,0,0.7) url(images/malysh.png) center no-repeat;*/
}

div#container div#main div#image {
	text-align:center;
	position:absolute;
	z-index: -1;
	width:100%;
	margin-bottom:40px;
	/*height:100%;*/
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#background {
	margin-top: 25px;
	width:100%;
	opacity:1.0;
	max-width:640px;
}


div#container div#main div#info {
	position:absolute;
	top:0;
	width:100%;
	display:none;
}

div#container div#main div#info div {
	margin:auto;
	width:100px;
	padding:2px;
	text-align:center;
	background:yellow;
	opacity:0.8;
	border-radius:4px;
}

div#container div#main div#layer1 {
	position:relative;
	width:100%;
	/*margin-bottom:41px;*/
	padding-bottom:41px;
}


/*--- Footer ---*/

div#footer {
	position:fixed;
	bottom:0;
	width:100%;
	display:block;
	margin:0 auto;
	/*padding:10px 0 0 10px;*/
	height:40px;
}

div#footer span#copy {
	line-height:40px;
	padding-left:10px;
}

div#footer span#map {
	margin: auto 30px;
}

div#footer span#counter {
	position:absolute;
	right:10px;
	top:4px;
}



/*--- Construction ---*/


#subname {
	text-align:right;
	font-style:italic;
	padding-right:30px;
	height:30px;
}


#const_con {
	width:100%;
	position:absolute;
	top:40%;
	bottom:40%;
}

#construction {
	margin:auto;
	width:40%;
	height:100%;
	text-align:center;
	font: bold 2em serif;
	display:table;
	border:1px solid black;
}


/*--- Поиск по сайту ---*/

div#container div#rightside div.widget {
	margin: 20px 0;
	padding: 10px;
	/*color:#00aa33;*/
}

div#container div#rightside div.widget_head {
	padding-left: 12px;	
	font-weight:bold;
	font-size:17px;
}

/*------*/



/*--- ---*/
/*--- ---*/
/*--- ---*/




/*--- Голосование ---*/

#vote_question {
	border-bottom:1px solid #aaa;
	margin:10px auto;
	text-align:center;
}

.vote_ans {
	min-height:21px;
}

.vote_ans span {
	display:block;
	margin:0 0 0 auto;
	text-align:right;
	border-bottom:1px dotted #aaaaaa;
}

#vote_submit {
	margin:10px 10px 0 auto;
	border: 1px solid #666666;
	border-radius: 2px;
	font-weight:bold;
	height:27px;
}

#vote_submit:focus {
	outline:none;
}

.before_submit {
	color:#ffffff;
	background-color: #CECECE;
	cursor:pointer;
}

.after_submit {
	color:black;
	background-color: #ffffff;
	cursor:default;
}

/*--- MENU SECTION ---*/


/*--- Menu 2 ---*/

/*--- Страницы ---*/

.pagename {
	/*text-align:center;*/
	/*font-style:italic;	*/
}

/*--- Уголок психолога ---*/


.ug_file {
	width:200px;
	margin: 0;
}

#ug_box {
	text-align:center;
}

.ug_imagebox {
	display:inline-block;
	margin-bottom:15px;
	padding:10px;
}

.file_icon {
	width: 18px;
	vertical-align: middle;
}

/*--- Новости ---*/

.news_box {
	margin: 16px auto;
	padding: 10px;
	border-left: 1px solid #aaaaaa;
}

.news_title {
	font-weight:bold;
	margin-bottom:15px;
}

.news_stamp {
	text-align:right;
	font-style:italic;
}


/*--- Статьи ---*/

.art_ul {
	list-style:disc;
	color:black;
}

/*--- Галерея ---*/

.gal_section {
	margin:15px auto;
}
.gal_box {
	display:inline-block;
	margin:5px;
	padding:10px;
}
.gal_box a, .gal_box a:focus {
//	outline:none;
}
.gal_img {
	height: 140px;
	vertical-align:bottom;
}

/*--- Online-игры ---*/

.game_img {
	height: 100px;
	vertical-align:bottom;
}


/*--- Карта сайта ---*/

.map_list {
        list-style: none;
        margin-left: 25px;
        padding: 0;
}

.map_list li {
	margin:7px;
}

.map_list .section {
	font-weight:bold;
}

/*--- Обо мне ---*/

img#me {
	width: 135px;
}

/*--- Читаем ---*/

img#dvoe {
	width: 31%;
}

/*--- Смотрим ---*/

img#golovolomka {
	width: 50%;
}

/*--- Конспекты ---*/

li.li_synopses {
	margin-bottom: 10px;
}

/*--- Тесты ---*/

img#den_rozhdeniya {
	width: 60%;
}

img#den_rozhdeniya2 {
	width: 60%;
}
