/*
Theme Name: kvartal
Theme URI: http://oriolo.ru
Author: moore398
Author URI: http://oriolo.ru
Description: Мой квартал
Version: 1.0
License: CCA 3.0 license
License URI: http://creativecommons.org/licenses/by/3.0/
Tags: white, red, blue
*/
@charset "utf-8";
/* CSS Document */
html
{height:100%}
body
{
	backgraund: white;
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
	font-size: 12px;
	min-width: 1000px;
	max-width: 1580px;
	margin: 2px;
	height:100%}
#head {
margin-left:auto;
margin-right:auto;
position:relative;
background-image: url(images/head_fon1.png); 
background-size:cover}
#logo
{padding-left:30px;
width:10%;
display:inline-block}
#logo img
{width:100%}
h1
{color:#cc0000;
text-align:left;
font-weight:bold;
font-size:260%;
display:inline-block;
width:17%;
margin-bottom:0;
position:relative;
bottom:5px}
h2
{font-size:130%;
font-style:oblique;
font-weight:bold;}
#about
{margin:0px 30px ;
text-align:center;
display:inline-block;
width:50%;
vertical-align:top}
#about p
{
font-weight:600}
h3
{font-size:140%;
text-align:center}
#инфа
{position:absolute;
top:0px;
right:0px;
width:18%}
#гербы
{width:45%}

menu {
list-style: none;
border-bottom: 5px solid #bb0000;
border-top: 1px solid #114477;
padding: 9px 11px;
background: #336699;
margin-top:0px
}

menu li, form {
display: inline
}
menu input{float:right;
border:3px #cc0000 solid;
	border-radius:4px;
	height:20px;
	width:230px;
	margin-right:20px}
menu li a {
color: #fefefe;
text-decoration: none;
background: #225588;
border: 1px solid #225588;
border-bottom: 1px solid #114477; 
margin:0;
padding: 8px 14px;
font-size:150%
}

menu li a:hover {border-left: 1px solid #114477; border-right: 1px solid #114477}

menu li a.current {
color: #fefefe;
background: #bb0000;
border: 1px #cc0000 solid;
border-bottom: 1px solid #bb0000;
border-left: 1px solid #770000;
padding: 8px 14px 
}

#реклама1
{text-align:center;
width:60%;
display:none}
#реклама1 img
{border: 5px black solid}
.wrapper {
  position: relative;
  display: table;
  height: 100%;
width:100%}
.content{
position:relative;
height:100%;
display: table-row;
margin-bottom:0}
#left
{position:absolute;
left:0;
width:20%;
border-top:1px black solid}
.kray
{margin: 60px auto;
width:90%;
background-color:#225588;
border: 5px #cc0000 solid;
min-height:220px}
.kray *
{display:block;
margin:5px auto;
text-align:center;
color:white}
#left .kray button 
{background:#114477;
font-weight:bold;
width:35%;
border:2px #cc0000 solid;
border-radius:4px}
#left .kray input
{ border:3px #cc0000 solid;
border-radius:4px;
width:80%;
margin-left:auto;
margin-right:auto;
color:black}
#реклама2
{margin: 50px auto;
width:90%;
display:none}
#right
{position:absolute;
width:20%;
right:0;
border-top:1px black solid}
.kray p
{font-size:120%}
.kray img
{width:60%}
#right .kray p
{	font-size:100%;
}
#right .kray *
{margin:0px}
#соцсети
{margin: 60px auto;
width:80%;
background-color:#225588;
border: 5px #cc0000 solid;
text-align:center}
#соцсети img
{margin:4px;;
width:10%}
main
{border:1px black solid;
width:60%;
margin-left:auto;
margin-right:auto;
height:100%;
margin-bottom:0}
#offer
{background:#336699;
font-weight:bold;
color:white;
border:4px #cc0000 solid;
border-radius:4px;
padding:5px;
margin:20px;
float:right}
article
{margin:20px;
clear:right}
h4
{font-size:150%}
hr{
  border: 1px solid rgba(160,160,160,0.7);
  border-bottom: 1px rgba(100,100,100,0.7);
  border-radius: 2px}

footer
{
height:50px;
border-top:2px rgba(0,0,0,0.4) solid;
width:100%}
footer p
{margin:10px;
opacity:.5}
textarea#comment {
    width: 100%}