* {
    font-family: Trebuchet MS;
    color: #444444;
}

body,
div,
p,
span {
    font-size: 13px;
}

html {
    height: 100%;
    position: relative;
    min-width: 850px;
}

body {
    background: #ffffff;
    height: 100%;
    position: relative;
}

h1 {
    font-size: 22px;
    font-family: Trebuchet MS;
    margin-bottom: 20px;
    color: #35abdd;
    font-weight: bold;
}

a {
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

.wrap {
    height: 100%;
}

#container {
    min-height: 100%;
    position: relative;
}

#sidebar {
    position: absolute;
    left: 0;
    width: 250px;
    background: #e8e8e8;
    height: 100%;
}

#content {
    margin-left: 280px;
    padding-bottom: 60px
}

#footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    background: #666666;
    height: 40px;
}

.header_left {
    float: left;
    width: 300px;
    position: relative
}

.header_right {
    float: right;
    width: 610px;
    height: 180px;
    position: relative
}

.uab {
    position: absolute;
    top: 40px;
    right: 30px;
    color: #999999;
    font-size: 20px;
}

.phone {
    position: absolute;
    top: 70px;
    right: 30px;
    color: #444444;
}

.mail {
    position: absolute;
    top: 70px;
    right: 200px;
    color: #999999;
}

.link {
    position: absolute;
    top: 70px;
    right: 430px;
    color: #999999;
}

.wdate {
    position: absolute;
    top: 120px;
    right: 30px;
    color: #999999;
}

.phone img,
.mail img,
.link img {
    position: relative;
    top: 7px;
    left: -10px
}

.top {
    height: 180px;
    line-height: 180px;
}

.top h1 {
    color: #009bdc;
    font-weight: normal
}

#nav {
    box-shadow: 0px 0px 10px #aaa;
    padding-left: 30px;
    margin-bottom: 30px;
    margin-right: 30px;
}

#nav li {
    float: left;
    margin: 10px 30px 10px 0;
}

#nav a {
    font-size: 18px;
    color: #333333;
    text-decoration: none;
}

#nav a:hover {
    color: #049de3;
    text-decoration: underline;
}

.ico {
    float: left;
    width: 50px;
}

.href {
    float: left;
    line-height: 42px;
}

.name {
    padding: 10px 0px;
}

.name a {
    text-decoration: none;
}

.news_block {
    margin-bottom: 30px;
    margin-right: 30px;
    border: 1px solid #ebebeb;
    float: left;
    position: relative
}

.news_block .spacer {
    padding: 20px;
}

.fleft {
    float: left;
    color: #fff;
    line-height: 40px;
    padding-left: 20px;
}

.fright {
    float: right;
    color: #fff;
    line-height: 40px;
    padding-right: 20px;
}

.clearBlock {
    clear: both;
}

.clear {
    clear: both;
}


input,
select,
textarea {
    padding: 5px;
    background: #f7f7f7;
    border: 1px solid #e8e8e8;
    border-top: 1px solid #acacac;
}

.need_agree {
    margin: 10px;
    padding: 10px;
    border: 1px solid #f5c6cb;
    box-sizing: border-box;
    color: #721c24;
    background-color: #f8d7da;
}

.profile {
    display: inline-block;
    vertical-align: top;
}

.profile_links {
    text-align: left;
    margin-top: 20px;
}

.profile_links div {
    margin-top: 10px;
}

.profile_links a,
.profile_links a:visited {
    color: #009cd5;
    font-weight: bold;
    font-size: 15px;
    width: 160px;
    display: block;
    margin: 0 auto;
    padding-left: 30px;
    height: 25px;
    line-height: 25px;
}

.profile_links a.settings {
    background-image: url('../img/settings.png');
    background-size: 20px;
    background-repeat: no-repeat;
}

.profile_links a.logout {
    background-image: url('../img/logout.png');
    background-size: 20px;
    background-repeat: no-repeat;
}

.profile h1 {
    font-weight: normal;
}

.profile .block {
    width: 49%;
    margin-right: 1%;
    float: left;
}


.msgblock {
    width: 30%;
    border: 1px solid #ebebeb;
    float: right
}

.msgblock a {
    display: block;
    padding: 20px 40px;
    margin-left: -5px;
}

.msgblock a.active {
    color: #0099dd;
    text-decoration: none;
    background: url(../img/msgblock_active.jpg) no-repeat center left;
}

.table th {
    background: #666;
    padding: 10px;
    color: white;
    font-size: 14px;
}

.infoBlock {
    width: 31%;
    margin-bottom: 30px;
    float: left;
    border: 1px solid #ebebeb;
}

.infoBlock h1 {
    text-indent: 60px;
}

.login,
#left_menu {
    padding: 10px;
}

#left_menu {
    text-align: center;
}

#bad_login {
    margin-top: 10px;
    text-align: center;
    color: red;
    font-weight: bold;
}

#invoice_form {
    width: 210px;
}

#registration_form td,
#password_form td,
#invoice_form td {
    vertical-align: middle;
    padding-top: 7px;
}

#registration_form .hright,
#password_form .hright,
#invoice_form .hright {
    padding-right: 10px;
}

#registration_form input[type=text],
#registration_form input[type=password],
#registration_form input[type=tel],
#password_form input[type=text],
#password_form input[type=password],
#password_form input[type=tel],
#invoice_form input[type=text],
#invoice_form input[type=password],
#invoice_form input[type=tel] {
    width: 180px;
}

#registration_form select,
#password_form select {
    width: 193px;
}

#registration_form input.house,
#registration_form input.flat,
#password_form input.house,
#password_form input.flat {
    width: 78px;
}

input[type=submit] {
    outline: none;
    cursor: pointer;
    background-color: #666666;
    color: #fff;
    border: none;
    padding: 5px 10px 5px 10px;
}

.input_eror {
    border: 1px solid red;
}

input[type=submit]:hover {
    background-color: #555555;
}

.fancybox-close-small {
    background-color: #fff !important;
}