/* ============================================================
   style.css — шаблон Supme (Hugo)
   Перенос дизайна сайта supme.ru с CMS Energine.
   Изменения относительно оригинала:
   - удалены стили поиска (#haku), формы входа (#c), переключателя
     языков и прочих неиспользуемых блоков
   - правая колонка убрана, контентная колонка расширена
   - выпадающее меню работает на чистом CSS (без MenuTree.js)
   ============================================================ */

/* Main */
body{
	margin: 0;
	font-family: Arial;
	color: #474747;
	font-size: 12px;
}

#bigframe{
	background-image: url('../images/bodybg.gif');
	background-position: top left;
	background-repeat: repeat-x;

	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: auto;

	text-align: center;
}

#main{
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: auto;

	text-align: center;
}

#header{
	height: 85px;
	width: 992px;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}

#logo{
	width: 374px;
	float: left;
	text-align: left;
}

#logo img{
	border: 0;
}

#banner{
	width: 618px;
	float: right;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}

#navi{
	height: 30px;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	width: 992px;
}

#navigointi{
	top: 0;
	width: 992px;
	float: left;
	height: 27px;
}

#content{
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	width: 987px;
}

/* Контентная колонка: была 569px, расширена после
   удаления правой колонки с формой входа */
#basic{
	float: left;
	width: 769px;
	margin: 0;
}

#b{
	float: left;
	width: 733px;
	margin: 16px 18px 50px 18px;
	text-align: left;
}

#b img{
	border: 0;
	max-width: 100%;
	height: auto;
}

#b pre{
	background-color: #ddd;
	border: 1px solid #bbb;
	padding: 8px 10px;
	overflow-x: auto;
	font-family: "Courier New", Courier, monospace;
	font-size: 12px;
	line-height: 15px;
	color: #222;
}

#b code{
	font-family: "Courier New", Courier, monospace;
}

#b h2#page_title{
	margin: 0 0 12px 0;
}

#footer{
	background-color: #ffffff;
	clear: both;
	height: 82px;
	margin-top: 50px;
	background-image: url('../images/footerbg.gif');
	background-position: top left;
	background-repeat: repeat-x;
}

#footertext{
	padding-top: 28px;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	width: 992px;

	font-family: Arial;
	color: #888888;
	font-weight: normal;
	font-size: 11px;
	text-decoration: none;
}

#copyright{
	width: 782px;
	text-align: left;
	float: left;
}

#copyright div{
	float: left;
	text-align: left;
	clear: both;
}

#some{
	width: 210px;
	float: right;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}

#left{
	float: left;
	width: 218px;
	margin: 0;
}

a:link, a:visited {
	color: #d00002;
	text-decoration: none;
	font-weight: normal;
}

a:hover {
	color: #d00002;
	text-decoration: none;
	font-weight: normal;
}

.small {
	color: #545454;
	font-size: 11px;
}

h1{
	font-family: "Trebuchet MS", Arial, sans-serif;
	font-size: 20px;
	color: #545454;
	font-weight: bold;
}

h2{
	font-family: "Trebuchet MS", Arial, sans-serif;
	font-size: 16px;
	color: #666666;
	font-weight: bold;
}

h3{
	font-family: "Trebuchet MS", Arial, sans-serif;
	font-size: 14px;
	color: #666666;
	font-weight: bold;
}

/* Menu */
#menu{
	float: left;
	width: 200px;
	margin: 16px 0px 50px 0px;
}
.menu ul{
	margin: 0;
	padding: 0;
	list-style-type: none;
	width: 200px;
	border-bottom: 1px solid #fff;
}
.menu ul li{
	position: relative;
}
.menu ul li ul{
	position: absolute;
	width: 250px;
	top: 0;
	left: 100%;
	display: none;
	z-index: 10;
}
/* Выпадающее подменю на чистом CSS вместо MenuTree.js */
.menu ul li:hover > ul{
	display: block;
}
.menu ul li a{
	display: block;
	overflow: auto;
	color: black;
	text-align: left;
	font-weight: bold;
	font-size: 12px;
	text-decoration: none;
	background: #eee;
	padding: 8px 5px;
	border: 1px solid #fff;
}
.menu ul li a:visited{
	color: black;
}
.menu ul li a:hover{
	background-color: #fff;
	border: 1px solid #eee;
}
.menu .subfolderstyle{
	background: #eee url(../images/arrow.gif) no-repeat center right;
}

/* gallery */
#content .gallery {
	float: left;
	width: 100%;
	margin: 0 0 1em 0;
	padding: 0;
}
#content .gallery li {
	float: left;
	width: 27%;
	margin: 0 1em 1em 1em;
	padding: 1em 0 0 0;
	list-style: none;
	text-align: center;
}
#content .gallery img {
	border: 1px solid #eee;
}
#content .gallery a {
	border: 0;
}

/* news */
#content ul.news {
	margin: 0 0 1em 0;
	padding: 0;
}
#content ul.news li {
	margin: 0 0 1em 0;
	list-style: none;
}
.news .title {
	margin: 0;
	font-weight: normal;
}
.news .anounce {
	margin: 0 1em;
}
.news .date {
	color: #545454;
}
.news_view .go_back {
	margin-top: 2em;
}
