html,body {
    margin:0;
    padding:0;
}
* {
    font-family: Verdana;
    box-sizing: border-box;
}
.clr {
    clear: both;
}
main, nav ul, footer section, header section, #helper section {
    max-width: 1100px;
    margin: 0 auto;
}

header section {
    position: relative;
    height: 135px;
    padding-top: 40px;
}

#logo img {
    float: left;
    max-height: 100%;
    margin-top: -2px;
    margin-right: 13px;
}

#logo {
    position: absolute;
    top: 22px;
    left: 0;
    text-wrap: none;
    color: black;
    text-decoration: none;
    height: 85px;
    font-family: HeliosCond;
    font-weight: bold;
    font-size: 45px;
    letter-spacing: -2px;
    padding-top: 2px;
}

#logo span {
    display: block;
    font-family: Arial;
    font-size: 16px;
    color: black;
    font-weight: normal;
    letter-spacing: 0;
    margin-top: -2px;
}

address {
    position: absolute;
    font-style: normal;
    text-align: right;
    right: 0;
    top: 30px;
}
#phone {
    color: #000;
    font-size: 45px;
    line-height: 0px;
    margin-bottom: 4px;
    text-align: right;
    letter-spacing: -2px;
}
#phone .code {
    font-weight: normal;
    font-family: HeliosCond;
}
#phone .phone {
    font-weight: bold;
    font-family: HeliosCond;
}
#email, #email * {
    color: #0072bc;
    font-size: 16px;
    text-align: right;
    text-decoration: none;
    font-family: Arial;
}
#callback:hover {
    opacity: 0.9;
}
#callback {
    background: url("../img/callback.png");
    width: 284px;
    height: 55px;
    cursor: pointer;
    overflow: hidden;
    padding-left: 284px;
    position: absolute;
    top: 40px;
    left: 42%;
}
#mcallback:before,#mcallback:after {
    content: "";
    position: absolute;
    top:0;
    left: -10px;
    background: url("../img/mc1.png");
    width: 90px;
    height: 93px;
}
#mcallback:after {
    background: url("../img/mc2.png");
    width: 10px;
    left: auto;
    right: -10px;
}
#mcallback {
    display: none;
    height: 93px;
    margin: 0 10px;
    margin-top: -28px;
    position: relative;
    background: url("../img/mc3.png") repeat-x;
    cursor: pointer;
    z-index: 9;
    padding-left: 80px;
    text-align: center;
}
#mcallback img.cb-text-1 {
    margin-top: 40px;
    max-width: 500px;
    width: 100%;
}
#mcallback img.cb-text-2 {
    display: none;
}

nav {
    height: 65px;
    background: url("../img/menu2.png");
    overflow: hidden;
}
nav ul {
    display: block;
    text-align: center;
    list-style-type: none;
    padding: 0;
}
nav ul li {
    display: inline-block;
    background: url("../img/spacer2.png") no-repeat top right;
    position: relative;
    padding: 0 2px 0 0;
}
nav ul li.default:before {
    content: "";
    display: block;
    height: 72px;
    left: -2px;
    position: absolute;
    top: 0;
    width: 2px;
    background: url("../img/spacer2.png") no-repeat top left;
}
nav ul li a:hover,nav ul li.active a {
    background: url("../img/hover2.png");
}

nav ul li a{
    display: inline-block;
    padding: 18px 54px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    font-family: HeliosCond;
    font-size: 24px;
    font-weight: bold;
}

#helper section {
    position: relative;
    height: 300px;
}

#man {
    position: absolute;
    background: url("../img/man.png") no-repeat;
    width: 491px;
    height: 289px;
    bottom: 0;
    right: 190px;
}

#woman {
    position: absolute;
    background: url("../img/woman.png") no-repeat;
    width: 194px;
    height: 284px;
    bottom: 0;
    right: 0;
}

#helper section ul {
    list-style-type: none;
    padding: 30px 0 0 0;
    margin: 0;
}

#helper section ul li{
    font-family: HeliosCond;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 19px;
    padding-left: 90px;
    text-transform: uppercase;
    padding-top: 3px;
}

#helper section ul li#i1 {
    color: #18749b;
    background: url("../img/i1.png") no-repeat;
}

#helper section ul li#i2 {
    color: #925522;
    background: url("../img/i2.png") no-repeat;
}

#helper section ul li#i3 {
    color: #1d7760;
    background: url("../img/i3.png") no-repeat;
}

#helper section ul li span {
    color: #000;
    display: block;
    font-family: Arial;
    font-size: 16px;
    font-weight: normal;
    margin-top: 3px;
    padding-bottom: 5px;
    text-transform: none;
}

aside {
    float:left;
    width: 34%;
}
aside ul {
    padding: 0;
    display: block;
    margin: 0;
}

aside ul li {
    display: block;
}
aside ul li a {
    display: block;
    background: #f6f8f8 url("../img/li.png") no-repeat 13px 15px;
    padding: 15px 10px 15px 40px;
    color: #0072bc;
    font-size: 15px;
    font-weight: bold;
    line-height: 17px;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid #e3e6e4;
    font-family: Arial;
}
aside ul li.item-132 a {
    background: #f88000;
    color: #fff;
    font-size: 28px;
}
aside ul li a:hover {
    color:#000;
    background-color: #e1f2e1;
}
aside ul li a span {
    color: #565656;
    font-size: 14px;
    line-height: 15px;
    text-transform: none;
    font-weight: normal;
    display: block;
}
aside ul li a:hover span {
    color: #000;
}
article {
    margin-left: 36%;
}
main {
    clear: both;
	display:block;
}
h1, h1 *, h2, h2 *, h3, h3 * {
    color: #425677;
    font-family: HeliosCond;
    font-weight: bold;
}
h1,.content-category h2{
    font-size: 35px;
    line-height: 38px;
    margin-bottom: 25px;
}

h2 {
    font-size: 22px;
    line-height: 25px;
    margin-bottom: 25px;
}
h3 {
    margin-top: 0;
}
footer {
    height: 100px;
    margin-top: 50px;
}

footer section {
    display: block;
}

footer ul {
    display: block;
    margin: 0;
    padding: 29px 0 0;
    float: left;
}

footer ul li {
    display: inline-block;
}


footer ul li a {
    display: inline-block;
    color: #000;
    font-size: 16px;
    margin: 0 30px 0 0;
    font-family: Arial;
    text-decoration: none;
}
footer ul li a:hover {
    text-decoration: none;
}
footer .right {
    border-top: 13px solid #3997FC;
    margin-left: 36%;
}
#copyright {
    float: left;
    border-top: 13px solid #8eca00;
    width: 34%;
    font-family: Arial;
    font-size: 16px;
    line-height: 44px;
    padding-top: 19px;
}
#copyright img {
    float: left;
    margin-right: 20px;
}
#counter {
    float: right;
    margin-top: 25px;
}
div.head {
    font-size: 35px;
    line-height: 38px;
    margin-bottom: 25px;
    color: #425677;
    font-family: HeliosCond;
    font-weight: bold;
}

#spravki {
    background-color: #f8f6ec;
    border-radius: 8px;
    padding: 25px 28px 20px 30px;
}

#spravki input, #spravki textarea, #spravki select {
    background-color: #fff;
    border: 1px solid #dddbcb;
    border-radius: 4px;
    display: block;
    font-family: Arial;
    font-size: 16px;
    margin: 0 2% 2% 0;
    padding: 10px;
    width: 48%;
    float: left;
}


#popup input, #popup textarea {
    background-color: #fff;
    border: 1px solid #dddbcb;
    border-radius: 4px;
    display: block;
    font-family: Arial;
    font-size: 16px;
    margin:0 2px 8px 0;
    padding: 10px 10px;
    width: 100%;
}

#spravki textarea {
    height:72px;
}

#spravki #spravka {
    padding:8px 10px;
}

#spravki p {
    margin: 0;
    color: #fc4016;
    font-family: Arial;
    font-size: 16px;
}

#order {
    background: url("../img/order.png") no-repeat center center;
    height: 72px;
    cursor: pointer;
    width: 48%;
    margin: 0 2% 2% 0;
    float: left;
}

.s-table {
    font-size: 16px;
    line-height: 17px;
    width: 100%;
}
.s-table .s-table-header td{
    background-color: #e1f2e1 !important;
    font-size: 24px;
    color: #425677 !important;
    border: none !important;

}

.s-table tr:nth-child(odd) td{
    background-color: #f6f8f8;
    border-top: 1px solid #edefee;
    border-bottom: 1px solid #edefee;
}

.s-table strong {
    font-family: HeliosCond;
    font-size: 22px;
}
.s-table tr.tr-odd {
    background-color: #f6f6f6;
}
.s-table td {
    padding: 12px 15px;
}
#mobile {
    background: url("../img/mbg.png");
    height: 60px;
    position: fixed;
    top:0;
    left: 0;
    display: none;
    z-index: 10;
    width: 100%;
    cursor: pointer;
}
span.mobile {
    background: url("../img/mobile.png");
    width: 49px;
    height: 40px;
    position: fixed;
    top:8px;
    right: 10px;
    cursor: pointer;
    z-index: 11;
    display: none;
}
#ajax {
    background: #000 url("../img/ajax.png") no-repeat center center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 102;
    opacity: 0.5;
}
#overlay, #overlay2 {
    background: #000;
    opacity: 0.6;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 100;
}
#overlay2 {
	z-index: 102;
}
#popup {
    display: none;
    z-index: 101;
}
#message, #popup {
    display: none;
    z-index: 101;
    position: fixed;
    top:50%;
    left: 50%;
    width: 300px;
    height: auto;
    background-color: #f8f6ec;
    border-radius: 8px;
    margin-top: -75px;
    margin-left: -150px;
}
#message {
	z-index:102;
}
#popup {
    width:400px;
    margin-left: -200px;
    height:500px;
    margin-top: -170px;
}

#popup .head {
    text-align: left;
    padding: 10px 0 0 20px;
    margin-bottom: 0;
}

#message div {
    padding: 10px;
    text-align: center;
}
#message div b {
    font-family: HeliosCond;
    font-size: 20px;
    color: #425677;
}
#message > i, #close {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    background: url("../img/close.png");
    width: 24px;
    height: 24px;
    cursor: pointer;
}
#popup form {
    padding: 20px;
}
#popup #send {
    background: url("../img/button.png") no-repeat center center;
    height: 72px;
    cursor: pointer;
}
.error {
    border: 1px solid red;
    box-shadow: 0 0 10px #f45c5f inset;
}
.article {
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e6e5;
}
.article .title {
    font-size: 22px;
    line-height: 25px;
    margin-bottom: 10px;
    color: #425677;
    font-family: HeliosCond;
    font-weight: bold;
}
.article .desc p{
    margin-top: 0;
}
.article .ar {
    text-align: right;
    padding-bottom: 15px;
}
.article .more {
    background: #f8f8f7 url("../img/li.png") no-repeat 3px center;
    border-radius: 6px;
    color: #0072bc;
    display: inline-block;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    line-height: 12px;
    padding: 7px 0 7px 17px;
    text-align: center;
    text-decoration: none;
    width: 130px;
}
.article .more:hover {
    color: #000;
    background: #e1f2e0 url("../img/li.png") no-repeat 3px center;
}

.pagination ul {
    text-align: center;
    list-style-type: none;
    display: block;
    margin: 0 80px;
    padding: 0;
}

.pagination ul li{
    display: inline;
}

.pagination a {
    background: #f8f8f7;
    border-radius: 6px;
    color: #0072bc;
    display: inline-block;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    line-height: 12px;
    padding: 7px 15px;
    text-decoration: none;
    margin: 0 5px;
}

.pagination a:hover, .pagination a.current{
    background: #e1f2e0;
}

.pagination a.back {
    float:left;
    text-transform: uppercase;
}
.pagination a.forward {
    float:right;
    text-transform: uppercase;
}

@media only screen and (max-width: 1100px){
    nav ul li a {
        padding: 18px 45px;
    }
}

@media only screen and (max-width: 1035px){
    #man {
        right: 0;
    }
    #woman {
        display:none;
    }
}

@media only screen and (max-width: 1020px){
    nav ul li a {
        padding: 18px 35px;
    }
}

@media only screen and (max-width:999px) {
    #callback {
        left: 40%;
    }
}


@media only screen and (max-width:980px) {

    #logo {
        height: 55px;
        left: 4px;
        top: 4px;
        z-index: 10;
        font-size: 31px;
        position: fixed;
    }

    header section {
        height: 100px;
    }

    #logo span {
        font-size: 9px;
    }

    address {
        right: 1%;
    }

    #callback {
        left: 1%;
    }

    #popup {
        width:360px;
        margin-left: -180px;
        height:340px;
        margin-top: -170px;
    }
    body {
        padding-top: 40px;
    }
    aside {
        position: fixed;
        top:60px;
        left: 0;
        width: 100%;
        float: none;
        display: none;
        z-index: 12;
		overflow-y:auto;
    }
    aside .head {
        display: none;
    }
    aside ul {
        margin: 0;
    }
    aside ul li {
        margin: 0;
    }
    aside ul li a {
        background: #f6f8f8 url("../img/li.png") no-repeat 13px 9px;
        border-radius: 0;
        font-size: 11px;
        line-height: 15px;
        padding: 10px 10px 10px 40px;
        text-decoration: none;
        text-transform: uppercase;
    }
    aside ul li a span {
        font-size: 11px;
        line-height: 10px;
    }
    aside.show {
        display: block;
    }
    aside li {
        margin: 0;
    }
    main {
        padding: 10px 20px;
        margin-top: 0;
    }
    article {
        margin: 0;
    }
    nav {
        display: none;
    }
    #mobile {
        display: block;
    }
    span.mobile {
        display: block;
    }
    #copyright {
        float: none;
        margin: 0;
        padding: 15px 0 5px;
        text-align: center;
        width: auto;
        border-left-width: 8px;
        line-height: 18px;
    }
    #copyright img {
        margin: -5px 5px 5px;
    }
    footer .right {
        border: 0;
        margin: 0;
    }
    footer ul {
        display: block;
        text-align: center;
        padding: 0 0 20px;
        float:none;
    }
    footer ul li {
        display: inline-block;
    }
    footer section {
        padding-top: 17px;
    }
    #counter {
        float: none;
        margin-top: 0;
        text-align:center;
    }
}

@media only screen and (max-width:845px) {
    #man {
        display: none;
    }
    #woman {
        display: block;
    }
}

@media only screen and (max-width:700px) {
    #spravki .form {
        margin: 0;
    }
    #girl {
        display: none;
    }
    footer {
        margin-top: 0;
    }
}

@media only screen and (max-width:660px) {
    #woman {
        display: none;
    }
}

@media only screen and (max-width:600px) {
    #callback {
        position: relative;
        margin: 0 auto;
        top: auto;
        left: auto;
    }
    address {
        position: relative;
        top: auto;
        right: auto;
    }
    #phone, #email {
        text-align: center;
    }
    #email {
        margin-bottom: 9px;
    }
    header section {
        padding-top: 20px;
        height: 135px;
    }
    #helper section ul {
        margin: 0 15px;
    }
}


@media only screen and (max-width:550px) {

    #spravki {
        padding: 15px;
    }

    #order {
        border-radius: 6px;
        overflow: hidden;
    }

    #spravki input, #spravki textarea, #spravki select, #order {
        float: none;
        width: 98%;
    }

    .s-table td {
        font-size: 15px;
        padding: 12px 10px;
        width: auto !important;
    }

    .s-table strong {
        font-size: 18px;
    }

}

@media only screen and (max-width:520px) {

    #helper section ul li {
        font-size: 22px;
        margin-bottom: 5px;
    }
    #helper section ul li span {
        font-size: 14px;
        padding-bottom: 15px;
    }

    #helper section {
        height: auto;
    }
    h1, .content-category h2 {
        font-size: 30px;
        line-height: 34px;
    }
    article {
        font-size: 14px;
    }
}

@media only screen and (max-width:410px) {
    #helper section ul {
        margin: 0 5px;
    }
}

@media only screen and (max-width:390px) {
    #helper section ul li {
        font-size: 20px;
    }
    #helper section ul li span {
        padding-bottom: 16px;
    }
    .s-table td {
        font-size: 13px;
    }
}

.foxbutton{cursor:pointer;background:#FF4528;border-radius:10px;padding:15px 30px 15px 30px;margin-left:18%;color:#fff;float:left;font-weight:600;font-size:18px;}
.foxbutton:hover{background:#E8EAEA;color:#000;}