html {
    height: 100%;
    font-family: Tahoma, Helvetica, Arial, sans-serif;
    color: #555555;
    font-size: 14px;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    background: url('/media/images/top-line.png') top left repeat-x;
    font-family: 'Ubuntu', sans-serif;
}

.layout {
    min-height: 100%;
    margin: 0 auto -122px;
}

.wrap {
    width: 995px;
    margin: 0 auto;
}

.layout:after {
    content: "";
    display: block;
}
.footer, .layout:after {
    height: 122px;
}

.footer {
    background: url('/media/images/footer-pattern.png') bottom left repeat-x;
    position: relative;
}

.wrap:before, .wrap:after {
    content: " ";
    display: table;
}

.wrap:after {
    clear: both;
}

.wrap::before, .wrap::after {
    content: " ";
    display: table;
}

.wrap::after {
    clear: both;
}

.clearfix:after {
    content: " ";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.header>div {
    float: left;
}

.logo {
    padding: 34px 0;
}

.profile_block {
    margin-left: 510px;
    padding-top: 42px;
}

.profile_block .login {
    color: #2f2f2f;
    font-size: 15px;
    line-height: 22px;
}

.profile_block .login .button {
    background: #b0b0b0;
    width: 84px;
    height: 25px;
    margin-left: 20px;
    color: #ffffff;
    font-size: 15px;
    line-height: 22px;
    /*display: inline-block;*/
    text-align: center;
    text-decoration: none;
}

.profile_block .login .button img {
    vertical-align: middle;
    margin-left: 10px;
}

.profile_block .settings a {
    color: #fa921c;
    font-size: 13px;
    line-height: 22px;
    text-decoration: none;
    display: inline-block;
}

.profile_block .settings img {
    vertical-align: middle;
    margin-right: 5px;
}

.user_menu {
    background: #ededed;
    width: 100%;
    height: 63px;
}

.user_menu .wrap {
    height: 100%;
}

.user_menu .wrap .menu {
    display: table;
    width: 100%;
    height: 100%;
}

.user_menu .wrap .menu>div {
    display: table-cell;
    width: 20%;
    vertical-align: middle;
    position: relative;
}

.user_menu .wrap .menu>div .icon {
    background-image: url("/media/images/user_menu_sprites.png");
    display: inline-block;
    vertical-align: middle;
    margin-right: 7px;
}

.user_menu .sprite1{
    background-position: 0 0;
    width: 23px;
    height: 25px;
}
.user_menu .sprite2{
    background-position: -50px 0;
    width: 20px;
    height: 20px;
}
.user_menu .sprite3{
    background-position: -100px 0;
    width: 24px;
    height: 24px;
}
.user_menu .sprite4{
    background-position: -150px 0;
    width: 22px;
    height: 24px;
}
.user_menu .sprite5{
    background-position: -200px 0;
    width: 23px;
    height: 23px;
}

.user_menu .wrap .menu>div .active .sprite5 {
    background-image: url("/media/images/sprite5_a.png");
    background-position: 0 0;
}

.user_menu .wrap .menu>div .active::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    border: 10px solid transparent;
    border-bottom: 10px solid #fff;
}

.user_menu .wrap .menu a {
    color: #231f20;
    font-size: 15px;
    line-height: 22px;
    text-decoration: none;
}

.main h1 {
    color: #231f20;
    font-size: 21px;
    font-weight: 400;
    margin: 50px 0 30px;
}

.main {
    color: #1f1f1f;
    font-size: 14px;
}

.main h3 {
    font-size: 16px;
}

.main .half {
    float: left;
    width: 470px;
    margin-right: 25px;
}

.main .half + .half {
    padding-left: 25px;
    width: 445px;
}

.footer>div {
    background-color: #231f20;
    width: 100%;
    height: 66px;
    position: absolute;
    bottom: 10px;
}

.footer .wrap {
    height: 100%;
}

.footer .wrap>div {
    float: left;
    width: 50%;
    color: #ffffff;
    font-size: 13px;
    line-height: 66px;
}

.footer .wrap a {
    color: #ffffff;
}

.footer .rpart {
    text-align: right
}

.footer .rpart a {
    line-height: 22px;
    display: inline-block;
    font-size: 14px;
}

.footer .rpart a + a {
    margin-left: 50px;
}

.footer img {
    vertical-align: middle;
    margin-right: 13px;
}

.search {
    padding: 30px 0 20px;
    color: #1f1f1f;
    font-size: 15px;
    line-height: 22px;
}

.search label {
    margin-right: 15px;
}

.search input {
    width: 131px;
    height: 22px;
    border: 0;
    padding-left: 9px;
    background: transparent;
}

.search #search_input {
    width: 163px;
    height: 25px;
    border: 0;
    border-bottom: 1px solid #c2c2c2;
    background: url("/media/images/close.png") 140px 50% no-repeat #f6f6f6;
    display: inline-block;
}

.search a {
    text-decoration: none;
    width: 17px;
    height: 17px;
    display: inline-block;
    vertical-align: middle;
}

.search input{
    outline:none;
}

.address .add {
    float: right;
    color: #f8911d;
    font-size: 13px;
    line-height: 20px;
    text-decoration: none;
    margin-top: 39px;
}

.address .add img {
    vertical-align: middle;
}

.address .add a {
    float: right;
    color: #f8911d;
    text-decoration: none;
    border-bottom: 1px dashed #f8911d;
    margin-left: 7px;
}

.address table {
    width: 100%;
}

.address table tr {
    border-bottom: 1px solid #e3e3e3;
}

.address table th, .address table td {
    text-align: left;
    padding: 20px 0;
}

.address table th a {
    border-bottom: 1px solid #cdcdcd;
    color: #1f1f1f;
    text-decoration: none;
}

.address .arrow-up {
    display: inline-block;
    width: 14px;
    height: 14px;
    vertical-align: bottom;
    background: url("/media/images/arrow_up.png") center no-repeat;
}

.address .arrow-down {
    display: inline-block;
    width: 14px;
    height: 14px;
    vertical-align: bottom;
    background: url("/media/images/arrow_down.png") center no-repeat;
}