html, div, span, h2, h3, h4, h5, h6, p, em, img, strong, sub, sup, b, u, i, dl, dt, dd, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td {
    background: none repeat scroll 0 0 transparent;
    outline: 0 none;
    vertical-align: baseline;
}

html {
    height: 100%;
    font-size: 100%;
    margin: 0;
    padding: 0;
}

input, textarea {
    font-size: 14px;
}

* {
    margin: 0 auto 0;
    padding: 0;
}

input:focus, textarea:focus {
    outline: 0 none;
}

button {
    cursor: pointer;
}

body {
    font-family: "r", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    text-align: center;
    color: #616263;
}

ul li {
    list-style: none !important;
}

.center {

}

.logo {
    display: block;
    width: 80px;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

#global {
    position: relative;
    width: 100%;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto 0;
    padding-top: 91px;
}

img.p {
    display: block;
    margin: 40px auto 0px;
}

/* mg.p.shadow {
    display: block;
    margin: 40px auto 0px;
    box-shadow: 0 0 30px #e7e7e7;
}*/

.cent {
    text-align: center;
}

/*/////////////menu////////////////*/
header {
    background: #f7f8f8;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #e1e1e1;
}

.header_container {
    max-width: 980px;
    height: 90px;
    margin: 0 auto;
    position: relative;
}

.logo {
    float: left;
    width: 169px;
    height: 52px;
    margin-top: 3px;
    display: inline-block;
    background: url("../images/layout/logo_bluesales.png") no-repeat;
    background-size: contain;
}

.menu_button {
    width: 40px;
    height: 40px;
    display: none;
    float: right;
    background: #414243 url("../images/layout/navbar-toggle.png") 50% 47% no-repeat;
    padding: 0;
    margin: 11px 0 0 0;
    border-radius: 25px;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
}

.nav {
    height: 90px;
    float: left;
    margin-left: 24px;
}

.nav li {
    float: left;
    margin-top: 5px;
}

.nav li a {
    padding: 0 14px;
    text-decoration: none;
    font-size: 16px;
    line-height: 83px;
    color: #222;
    font-weight: 300;
}

.reg {
    margin-top: 26px;
}

.red_button {
    float: left;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    color: #FFF;
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    padding: 9px 20px 8px 20px;
    background: #f84642;
    font-weight: bold;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    margin-top: 1px;
}

.red_button:active, .red_button:visited, .red_button:focus {
    text-decoration: none !important;
    color: #fff !important;
}

.red_button:hover {
    background: #ff4a45;
    color: #FFF;
    text-decoration: none;
}

.yellow_button {
    float: left;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    color: #FFF;
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    padding: 9px 20px 8px 20px;
    background: #FFCC00;
    font-weight: bold;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    margin-top: 1px;
}

.yellow_button:active, .yellow_button:visited, .yellow_button:focus {
    text-decoration: none !important;
    color: #fff !important;
}

.yellow_button:hover {
    background: #FFCC00;
    color: #FFF;
    text-decoration: none;
}

.nav li a:active, .nav li a:hover {
    color: #0f7cc5;
}

.head_container {
    width: 942px;
    height: 222px;
    margin: 0 auto;
}

.bann {
    background: url("../images/layout/visual4small.png") no-repeat top left;
    width: 160px;
    height: 160px;
    position: absolute;
    margin: 30px 0 0 100px;
}

.title-head {
    width: 69%;
    float: left;
    margin: 0 0 0 290px;
    color: #232323;
}

.title-head h2 {
    font-size: 36px;
    line-height: 1.1;
    margin: 70px 0 0 0;
    color: #222;
    font-weight: 300;
    letter-spacing: -0.06ex;
    text-align: left;
}

.login_link {
    float: left;
    line-height: 40px;
    text-decoration: none;
    font-size: 16px;
    color: #222;
    margin: 1px 0 0 20px;
    padding: 0 16px 0 0;
    /*background: url("../images/layout/login_icon.png") center right no-repeat;*/
    font-weight: 300;
}

.login_link:active {
    text-decoration: none;
    color: #616263 !important;
}

.login_link:hover {
    color: #27c539 !important;
    text-decoration: none;
}

.reg .phone {
    font-size: 16px;
    line-height: 40px;
    margin-left: 10px;
    float: left;
    margin-top: 2px;
    margin-right: 10px;
}

.col-xs-12 {
    width: 100%;
    padding-top: 9px;
    padding-bottom: 50px;
}
/*///////////green////////////////*/
.wr-green, .wr-green-light {
    width: 100%;
    overflow: hidden;
    background: #eaf1e3;
    /* margin-top: 91px; */
    padding: 0;
}

.wr-green-light {
    padding-top: 9px;
}

.wr-green-light, .wr-blue-light {
    background: #F5FCF6;
    margin-top: 0;
    padding-bottom: 10px;
}

.wr-blue-light {
    background: #F6F9FD;
    margin-top: 0;
    padding-top: 9px;
    padding-bottom: 25px;
    margin-bottom: 0;
}

.wr-green img {
    margin-top: 5px;
}

.title h2 {
    font-size: 36px;
    line-height: 40px;
    color: #222;
    text-align: left;
    font-weight: 300;
    margin-left: -3px;
    margin-top: 42px;
}

/*///////////next-block///////////////////*/
h2 {
    font-size: 36px;
    line-height: 46px;
    margin: 30px auto 0;
    color: #222;
    font-weight: 300;
    letter-spacing: -0.06ex;

}

p {
    color: #616263;
    font-weight: 300;
    font-size: 16px;
    margin-top: 21px;
    line-height: 19px;
    margin-bottom: 0;
}

.row {
    position: relative;
}

.wr-blue, .wr-black, .wr-gray {
    background: #4983D7;
    margin: 0 auto 0;
    overflow: hidden;
    padding: 23px 0 74px 0;
}

.wr-gray {
    background: #F7F7F7;
    padding: 9px 0 51px 0;
    margin: 0 auto 0;
}

.wr-black {
    background: #424344;
    margin: 0 auto 0;
    padding: 27px 0 70px 0;
}

.wr-blue h2, .wr-black h2 {
    color: white;
}


/*/////////стрелки ////////////////////*/

.wr-img div {
    width: 100%;
    position: absolute;
}

.wr-img div img {
    position: absolute;
}

/*///////////////*/
hr {
    margin-top: 20px;
    width: 80%;
    margin-bottom: 21px;
}

/*/////////////catalog//////////////////*/
.cat {
    margin: 0 0 50px 50px;
}

.cat.a {
    margin: 0 0 50px 111px;
}

.cat.b {
    margin: 0px 0 50px -89px;
}

.cat.c {
    margin: 0 0 50px -191px;
}

span.sp {
    font-size: 12px;
    line-height: 16px;
    display: inline-block;
    margin-bottom: 5px;
    color: #232323;
    font-weight: bold;
}

.cat li {
    height: 80px;
    display: table;
    margin: 40px auto -4px;
    text-align: left;
    font-size: 18px;
    padding-left: 100px;
    color: #616263;
}

.cat li span {
    width: 145px;
    display: table-cell;
    vertical-align: middle;
    line-height: 22px;
}

li em {
    display: none;
}

.cloud {
    display: none;
    width: 290px;
    height: 130px;
    position: absolute;
    padding: 10px 20px;
    margin: -20px 0 0 -255px;
    border: 5px solid #f1f2f2;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    background: #FFF;
    z-index: 9;
}

.cloud .icon {
    width: 36px;
    height: 36px;
    position: absolute;
    margin: -24px 0 0 -35px
}

.cloud .text {
    text-align: left;
    font-size: 12px;
    color: #848585;
    margin-top: 5px;
    line-height: 14px;
}

.detail {
    cursor: pointer;
    width: 160px;
    text-align: right;
    height: 32px;
    position: absolute;
    margin: 62px 0 0 100px;
    bottom: 0;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 12px;
    color: #848585;
    line-height: 32px;
    padding-right: 40px;
    background: url("../images/layout/island_detail.png") top right no-repeat;
}

/*//////////////popup-form///////////////*/
.popup {
    display: none;
    height: 270px;
    position: absolute;
    padding: 40px;
    margin: 90px 0 0 618px;
    background: #FFF;
    border: 1px solid #f0f1f1;
    box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.06);
    -moz-box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.06);
    z-index: 20;
}

.login_arr {
    width: 27px;
    height: 14px;
    position: absolute;
    margin: -54px 0 0 154px;
    z-index: 19;
    background: url("../images/layout/login_arr.png") no-repeat;
}

.popup label {
    float: left;
    line-height: 36px;
    margin-bottom: 20px;
    font-weight: 300;
    font-size: 16px;
}

.popup #mail, .popup #pass {
    height: 38px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border: 1px solid #f0f1f1;
    float: right;
    margin: 0 0 20px 0;
    padding: 0 10px;
    outline: 0;
    -webkit-font-smoothing: antialiased;
    width: 212px;
}

.popup input[type="submit"] {
    float: left;
    clear: both;
    outline: 0;
    border: 0;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    height: 34px;
    padding: 0px 11px;
    text-transform: uppercase;
    color: #FFF;
    font-weight: bold;
    font-size: 14px;
    font-family: 'r', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: #4d8cdf;
    -moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
    appearance: none;
}

.login_link:focus {
    text-decoration: none;
    color: #616263;
}

.popup input[type="submit"]:hover {
    background-color: #5499f3
}

.popup input[type="submit"]:active {
    background-color: #437ac2
}

.popup a {
    float: right;
    line-height: 35px;
    text-decoration: none;
    color: #457bcd;
    font-size: 16px;
}

.popup a:hover {
    text-decoration: underline;
}

.popup .partner {
    float: left;
    padding-top: 20px;
    line-height: 35px;
    text-decoration: none;
    color: #457bcd;
}

.detail:hover {
    color: #a6c1e8;
    background: url("../images/layout/island_detail_h.png") top right no-repeat
}

.cloud .text strong {
    display: inline-block;
    margin-bottom: 5px;
    color: #232323
}

.icon.pic1 {
    background: url("../images/pics/oppo_icons2.png") 0 0 no-repeat;
    background-size: 36px
}

.cloud .icon.pic2 {
    background: url("../images/pics/oppo_icons2.png") 0 -36px no-repeat;
    background-size: 36px
}

.cloud .icon.pic3 {
    background: url("../images/pics/oppo_icons2.png") 0 -72px no-repeat;
    background-size: 36px
}

.cloud .icon.pic4 {
    background: url("../images/pics/oppo_icons2.png") 0 -108px no-repeat;
    background-size: 36px
}

.cloud .icon.pic5 {
    background: url("../images/pics/oppo_icons2.png") 0 -144px no-repeat;
    background-size: 36px
}

.cloud .icon.pic6 {
    background: url("../images/pics/oppo_icons2.png") 0 -180px no-repeat;
    background-size: 36px
}

.cloud .icon.pic7 {
    background: url("../images/pics/oppo_icons2.png") 0 -216px no-repeat;
    background-size: 36px
}

.cloud .icon.pic8 {
    background: url("../images/pics/oppo_icons2.png") 0 -360px no-repeat;
    background-size: 36px
}

.cloud .icon.pic9 {
    background: url("../images/pics/oppo_icons2.png") 0 -288px no-repeat;
    background-size: 36px
}

.cloud .icon.pic10 {
    background: url("../images/pics/oppo_icons2.png") 0 -324px no-repeat;
    background-size: 36px
}

.cloud .icon.pic11 {
    background: url("../images/pics/oppo_icons2.png") 0 -647px no-repeat;
    background-size: 36px
}

.cloud .icon.pic12 {
    background: url("../images/pics/oppo_icons2.png") 0 -683px no-repeat;
    background-size: 36px
}

.cloud .icon.pic13 {
    background: url("../images/pics/oppo_icons2.png") 0 -719px no-repeat;
    background-size: 36px
}

.cloud .icon.pic14 {
    background: url("../images/pics/oppo_icons2.png") 0 -755px no-repeat;
    background-size: 36px
}

.cloud .icon.pic15 {
    background: url("../images/pics/oppo_icons2.png") 0 -504px no-repeat;
    background-size: 36px
}

.cloud .icon.pic16 {
    background: url("../images/pics/oppo_icons2.png") 0 -539px no-repeat;
    background-size: 36px
}

.cloud .icon.pic17 {
    background: url("../images/pics/oppo_icons2.png") 0 -575px no-repeat;
    background-size: 36px
}

.cloud .icon.pic18 {
    background: url("../images/pics/oppo_icons2.png") 0 -611px no-repeat;
    background-size: 36px
}

.cloud .icon.pic19 {
    background: url("../images/pics/oppo_icons2.png") 0 -647px no-repeat;
    background-size: 36px
}

.cloud .icon.pic20 {
    background: url("../images/pics/oppo_icons2.png") 0 -683px no-repeat;
    background-size: 36px
}

.cloud .icon.pic21 {
    background: url("../images/pics/oppo_icons2.png") 0 -719px no-repeat;
    background-size: 36px
}

.cloud .icon.pic22 {
    background: url("../images/pics/oppo_icons2.png") 0 -755px no-repeat;
    background-size: 36px
}

.head h2 {
    font-size: 24px;
    color: #257CB9;
    margin-top: 3px;
    float: left;
    width: 498px;
    margin-left: 58px;
}

.cat li.pic1 {
    background: url("../images/pics/oppo_icons2.png") 0 0 no-repeat;
}

li.pic2 {
    background: url("../images/pics/oppo_icons2.png") 0 -80px no-repeat;
}

li.pic3 {
    background: url("../images/pics/oppo_icons2.png") 0 -160px no-repeat;
}

li.pic4 {
    background: url("../images/pics/oppo_icons2.png") 0 -240px no-repeat;
}

li.pic5 {
    background: url("../images/pics/oppo_icons2.png") 0 -320px no-repeat;
}

li.pic6 {
    background: url("../images/pics/oppo_icons2.png") 0 -400px no-repeat;
}

li.pic7 {
    background: url("../images/pics/oppo_icons2.png") 0 -480px no-repeat;
}

li.pic8 {
    background: url("../images/pics/oppo_icons2.png") 0 -800px no-repeat;
}

li.pic9 {
    background: url("../images/pics/oppo_icons2.png") 0 -640px no-repeat;
}

li.pic10 {
    background: url("../images/pics/oppo_icons2.png") 0 -720px no-repeat;
}

li.pic11 {
    background: url("../images/pics/oppo_icons2.png") 0 -1440px no-repeat;
}

li.pic12 {
    background: url("../images/pics/oppo_icons2.png") 0 -1520px no-repeat;
}

li.pic13 {
    background: url("../images/pics/oppo_icons2.png") 0 -1600px no-repeat;
}

li.pic14 {
    background: url("../images/pics/oppo_icons2.png") 0 -1680px no-repeat;
}

/*////////////footer////////////////////*/
.footer {
    background: #EBEBEB;
    /* Пришлось убрать этот стиль, т. к. из-за него футер некорректно отображался
    после добавления дополнительных ссылок.
    */
    /* overflow: hidden; */
    padding-top: 30px;
    padding-bottom: 10px;
}

.footer ul a {
    color: #3b3c3d;
    text-decoration: none;
    line-height: 2.52;
}

.phone {
    font-size: 24px;
    line-height: 1.7;
    color: #3b3c3d;
}

.phone+p {
    font-size: 12px;
    text-align: right;
    line-height: 14px;
    white-space: pre-line;
    margin-right: 16px;
    margin-top: 0;
}

.footer #search {
    width: 181px;
    height: 42px;
    float: left;
    -webkit-appearance: textfield;
    -webkit-font-smoothing: antialiased;
    background: #d9d9d9;
    padding: 0 0 0 14px;
    color: #3b3c3d;
    font-size: 14px !important;
    border: 0;
    outline: 0;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    font: normal normal normal 13.3333330154419px/normal Arial;
}

#search_form {
    margin: 9px 0 3px -39px;
    width: 237px;
}

.footer input[type="submit"] {
    float: right;
    width: 40px;
    height: 42px;
    border: 0;
    margin: 1px 0 0 -4px;
    cursor: pointer;
    background: #d9d9d9 url("../images/layout/search_icon.png") no-repeat 50% 50%;
}

.google {
    margin: 32px 1px 4px 27px;
    float: left;
    overflow: hidden;
    display: inline-block;
}

.google a {
    color: #616263;
    text-decoration: none;
}

.google a:hover {
    color: #8795E5;
    text-decoration: none;
}

.wr-tel {
    width: 216px;
    margin: -21px 0 0 37px;
}

.footer ul a, .nex a, .corp a {
    color: #3b3c3d;
    text-decoration: none;
    line-height: 2.52;
}

.footer ul a:hover, .nex a:hover, .corp a:hover {
    color: #1f2021;
}

.wr-aic {
    margin: 36px 0 0 0px;
    width: 237px;
}

.wr-vk {
    margin: 15px 0 0 -43px;
    width: 188px;
}

.aic- {
    display: block;
    float: right;
    width: 49px;
    height: 25px;
    margin-top: -6px;
    background: url(../images/layout/aic.png) 0 0 no-repeat;
}

.aic-:hover {
    background-position: 0 -25px;
}

.aic {
    font-size: 14px;
    text-align: right;
    margin-top: 30px;
    color: #8a8a8b;
}

.aic a {
    color: #8a8a8b;
    text-decoration: none;
}

.aic a:hover {
    color: #8795E5;
}

.tt {
    padding: 0 4px 0 3px;
}

.corp a {
    display: block;
    float: right;
    width: 49px;
    height: 25px;
    margin-top: -6px;
    background: url(../images/layout/aic.png) 0 0 no-repeat;
}

.iv {
    display: block;
    float: right;
    width: 74px;
    height: 24px;
    margin-top: -3px;
    background: url(../images/layout/iversi.png) 0 0 no-repeat;
}

.vk, .fb {
    padding: 0;
    margin-bottom: 8px;
    width: 45px;
    height: 45px;
    background: url("../images/layout/social_sprite.png") -45px 0 no-repeat;
    display: inline-block;
}

.fb:hover {
    background-position: 0 -45px;
}

.vk:hover {
    background-position: -45px -45px;
}

.lang img {
    margin-top: 0;
    margin-right: 7px;
}

.fb {
    background: url("../images/layout/social_sprite.png") 0 0 no-repeat;
    margin-right: 3px;
}

a.lang {
    float: right;
    text-decoration: none;
    text-transform: uppercase;
    color: #3b3c3d;
    font-size: 12px;
    font-weight: bold;
    margin-right: 47px;
    letter-spacing: -0.8px;
}

.but {
    background: #f84642;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    color: #f7f8f8;
    padding: 9px 13px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    margin: 6px auto 20px;
    width: 206px;
    display: block;
    text-decoration: none;
}

.but:hover {
    background: #ff5a4d;
    color: white;
    text-decoration: none;
}

ul.sp.fl {
    margin-right: 98px;
    margin-left: 66px;
}

ul.sp li {
    text-align: left;
}

p.copy {
    font-size: 14px;
    margin: 27px 0 0 66px;
    float: left;
    color: #8a8a8b;
}

body {
    overflow-x: hidden;
    height: 100%;
}

.soc {
    margin: 33px 1px 1px 66px;
    float: left;
    overflow: hidden;
    display: inline-block;
}

.social {
    background: #FFF;
    color: #888889;
    border: 1px solid #eee;
    border-radius: 3px;
    line-height: 20px;
    position: relative;
    padding: 1px 4px 2px 30px;
    font-weight: 300;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    -webkit-transition: border .1s ease-in-out, color .2s ease-in-out;
    -moz-transition: border .1s ease-in-out, color .2s ease-in-out;
    -ms-transition: border .1s ease-in-out, color .2s ease-in-out;
    -o-transition: border .1s ease-in-out, color .2s ease-in-out;
    transition: border .1s ease-in-out, color .2s ease-in-out;
    cursor: pointer;
}

.likes {
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 22px;
    background: url("../images/layout/fb_like.png") no-repeat 0 0;
}

.social:hover {
    background: #c0cdf3;
    color: #253860;
    border: 1px solid #eee
}

.counter {
    background: #d7d7d7;
    border-color: transparent;
    position: relative;
    margin-left: 4px;
    padding: 1px 4px;
    font-weight: 400;
    color: #000;
    cursor: default;
}

.counter:after {
    top: 5px;
    left: -3px;
    border: 5px inset transparent;
    border-right: solid #d7d7d7;
    border-left-width: 0;
    content: "";
    position: absolute;
    width: 0;
    height: 0;
}

.cleared {
    clear: both;
}
.arrow{
    position: absolute;
}
/*/////////////////////////////media//////////////////////////////////////*/

@media (min-width: 1200px) {
    .cat.a {
        margin: 0 0 50px 139px;
    }

    .cat.b {
        margin: 0 0 50px -93px;
    }

    .cat.c {
        margin: 0 0 50px -220px;
    }

}

@media (max-width: 1200px) {
    .footer .container-fluid {
        width: 1134px;
    }
}

@media (max-width: 1120px) {
    ul.sp.fl {
        margin-right: 98px;
        margin-left: 55px;
    }

    .wr-tel {
        margin: -21px 0 0 33px;
    }

    .soc {
        margin: 33px 1px 1px 57px;
    }

    p.copy {
        margin: 27px 0 0 57px;
    }

}

@media (max-width: 1109px) {
    .cat.a {
        margin: 0 0 50px 37px;
    }

    .cat.c {
        margin: 0 0 50px -100px;
    }

    ul.sp.fl {
        margin-right: 98px;
        margin-left: 52px;
    }

    .soc {
        margin: 36px 1px 1px 52px;
    }

    p.copy {
        margin: 60px 0 0 55px;
    }
}

@media (max-width: 1100px) {
    .footer .container-fluid {
        width: 1084px;
    }
}

@media (max-width: 1050px) {
    ul.sp.fl {
        margin-left: 0;
    }

    .wr-tel {
        margin: -21px 0 0 20px;
    }

    .soc {
        margin: 36px 1px 1px 0;
    }

    p.copy {
        margin: 60px 0 0 0;
    }

    .wr-aic {
        margin: 36px 0 0 -17px;
    }
}

@media (max-width: 1000px) {
    ul.sp.fl {
        margin-left: 4px;
    }

    .soc {
        margin: 33px 1px 1px 5px;
    }

    p.copy {
        margin: 27px 0 0 5px;
    }
}

@media (min-width: 992px) {

}

@media (max-width: 980px) {
    ul.sp.fl {
        margin-left: 5px;
    }

    .soc {
        margin: 33px 1px 1px 7px;
    }

    p.copy {
        margin: 27px 0 0 7px;
    }

    .wr-tel {
        margin: -21px 0 0 -2px;
    }

    .wr-aic {
        margin: 39px 0 0 -41px;
    }

    .popup {
        margin: 270px 0 0 310px;
    }

    #search_form {
        margin: 9px 0 3px -60px;
    }

    .wr-vk {
        margin: 26px 0 0 -59px;
    }
}

@media only screen and (max-width: 977px) and (min-width: 0) {
    .p.big {
        width: 100%;
    }

    .wr-img {
        position: relative;
        width: 100%;
        margin: 0px auto 0px;
        height: 100%;
    }

    .row4 {
        margin-top: 33%;
        margin-left: 10%;
        width: 32% !important;
    }

    .row5 {
        margin-top: 18%;
        margin-left: -27%;
        width: 32% !important;
    }

    .header_container {
        height: 62px;
    }

    .bann {
        margin: 30px 0 0 108px;
    }

    .title-head {
        margin: 0 0 0 298px;
    }

    .logo {
        margin-top: 11px;
    }

    .wr-green {
        margin-top: 63px;
    }

    .nav {
        display: block;
        float: right;
        text-align: right;
        margin-left: 114px;
        height: 180px;
        margin-top: 90px;
    }

    .dropdown-label span {
        font-weight: 300;
        font-size: 20px;
    }

    .dropdown-label {
        background: url("../images/layout/login_icon.png") 111px 39px no-repeat;
        margin-top: -27px;
    }

    .sup {
        margin-top: 6px;
    }

    .reg {
        margin-top: 166px;
    }

    .nav li {
        float: none;
    }

    .nav li a {
        line-height: 30px;
        padding: 0;
        font-size: 20px;
    }

    .submenu {
        margin-left: -115px;
    }
}

@media (max-width: 978px) {
    .title h2 {
        padding-left: 0;
        text-align: center;
    }

    .popup {
        height: 270px;
        margin: 270px 0 0 145px;
        width: 364px;
    }
    .row img.p {
        width: 77%;
    }
.row img.p.big {
        width: 98%;
    }

}

@media (max-width: 910px) {
    .popup {
        margin: 270px 0 0 263px;
    }

    .cat.a {
        margin: 0 0 50px -10px;
    }

    .cat.b {
        margin: 0 0 50px -44px;
    }

    .cat.c {
        margin: 0 0 50px -23px;
    }

    ul.sp.fl {
        margin-right: 38px;
        margin-left: -1px;
    }

    .soc {
        margin: 36px 1px 1px -2px;
    }

    p.copy {
        margin: 60px 0 0 0;
    }
}

@media (max-width: 860px) {
    .wr-tel {
        margin: -21px 0 0 -30px;
    }

    .wr-aic {
        margin: 39px 0 0 -68px;
    }
    #search_form {
        margin: 9px 0 3px -73px;
    }
}

@media (max-width: 810px) {
    .cat li span {
        font-size: 16px;
    }

    .cat.a {
        margin: 0 0 50px 105px;
    }

    .cat.b {
        margin: 0 0 50px -18px;
    }

    .cat.c {
        margin: 0 0 50px 5px;
    }
}

@media (max-width: 767px) {
    .row1, .row2, .row3, .row4, .row5 {
        width: 56%;
        margin-top: 17%;
        margin-left: 37%;
    }

    .cat li span {
        font-size: 18px;
    }

    .row1 {
        margin-top: 1%;
        margin-left: 42%;
    }

    .row3 {
        margin-top: 50%;
        margin-left: -34%;
    }

    .row4 {
        margin-top: 29%;
        margin-left: 11%;
    }

    .row5 {
        margin-top: 13%;
        margin-left: -27%;
    }

    .wr-img {
        width: 100%;
        margin: 0 auto 0;
        height: 100%;
    }

    .footer .container-fluid {
        width: 752px;
    }

    .popup {
        margin: 269px 0 0 116px;
    }

    .logo {
        margin-left: 18%;
    }

    .title-head {
        width: 100%;
        margin: 10px auto 0px;
        float: right;
        text-align: center;
    }

    .nav {
        float: right;
        margin-right: -118px;
        margin-top: 90px;
    }

    .head_container {
        width: 100%;
        height: 178px;
    }

    .title-head h2 {
        text-align: center;
        margin: 20px 0 0 0;
    }

    .menu_button {
        margin: 11px 18% 0 0;
    }

    .footer .col-sm-5 {
        padding: 0 8% 0 19%;
    }

    .footer .col-sm-4 {
        padding: 0 8% 0 19%;
    }

    ul.sp.fl {
        margin-right: 93px;
        margin-left: -2px;
    }

    .phone+p {
        text-align: left;
        margin-left: 19px;
    }

    .footer .col-sm-3 {
        padding: 0 8% 0 18%;
    }

    #search_form {
        margin: 31px 0 3px -1px;
    }

    .google {
        margin: 31px 1px 1px 175px;
        float: none;
        clear: both;
    }

    p.copy {
        margin: -2px 0 0 0px;
        float: left;
    }

    .soc {
        margin: 30px 1px 1px 0;
        clear: both;
    }

    .wr-vk {
        margin: 49px 0 0 -91px;
    }

    .vk, .fb {
        margin-bottom: 15px;
    }

    .reg {
        margin-top: -54px;
        float: left;
        margin-left: 124px;
    }

    .footer .col-sm-2 {
        padding: 0 8% 0 77%;
    }

    .wr-aic {
        margin: 90px 0 0 -34px;
        width: 500px;
    }

    .row img.p {
        width: 75%;
    }

    .row img.p.big {
        width: 100%;
    }

    .wr-tel {
        margin: 0 0 0 -19px;
        width: 218px;
    }

    a.lang {
        float: none;
        display: block;
        clear: both;
        margin: -6px 0 0 -35px;
    }

    .h {
        margin-bottom: 26px;
    }

    .cat.b {
        margin: 0 0 50px 110px;
    }

    .cat.c {
        margin: 0 0 50px 118px;
    }

}

@media (max-width: 650px) {
    .footer .container-fluid {
        width: 731px;
    }

    .google {
        margin: 31px 1px 1px -48px;
    }

    .wr-aic {
        margin: 90px 0 0 -154px;
    }

    .wr-vk {
        margin: 49px 0 0 -160px;
    }
    .row img.p {
        width: 92%;
    }
    .footer .col-sm-2 {
        padding: 0 8% 0 71%;
    }
}

@media (max-width: 567px) {
    .footer .col-sm-5 {
        padding: 0 8% 0 6%;
    }

    .footer .col-sm-4 {
        padding: 0 8% 0 6%;
    }

    .footer .col-sm-3 {
        padding: 0 8% 0 5%;
    }

    .reg {
        margin-top: -74px;
        float: left;
        margin-left: 23px;
    }

    .google {
        margin: 31px 1px 1px -46px;
    }

    .footer .col-sm-2 {
        padding: 0 8% 0 58%;
    }

    .wr-aic {
        margin: 61px 0 0 -97px;
    }
}

@media (max-width: 510px) {
    .nav {
        margin-right: 9%;
        margin-top: 21px;
    }

    .login_link {
        font-size: 20px;
    }

    .reg {
        margin-top: 40px;
    }

    .red_button {
        margin-top: -63px;
        margin-left: 2%;
    }

    .login_link {
        margin-top: -60px;
        float: right;
        margin-right: 39%;
    }

    .reg .phone {
        float: right;
        font-size: 20px;
        margin: -14px -17% 15px 0;
    }

    .logo {
        margin-left: 9%;
    }

    .menu_button {
        margin: 11px 9% 0 0;
    }
}

@media (max-width: 460px) {
    .row1, .row2, .row3, .row4, .row5 {
        width: 62%;
    }

    .row1 {
        margin-top: 10%;
        margin-left: 42%;
    }

    .row2 {
        margin-top: 44%;
        margin-left: 60%;
    }

    .row3 {
        margin-top: 85%;
        margin-left: -34%;
    }

    .row4 {
        margin-top: 38%;
        margin-left: 9%;
        width: 44% !important;
    }

    .row5 {
        margin-top: 22%;
        margin-left: -42%;
        width: 47%;
    }

    .wr-aic {
        margin: 61px 0 0 -140px;
    }

    .wr-vk {
        margin: 49px 0 0 -151px;
    }

    .google {
        margin: 31px 1px 1px -124px;
    }

    .reg .phone {
        margin: -14px -5% 15px 0;
    }
}

@media (max-width: 375px) {
    ul.sp.fl {
        margin-right: 43px;
    }

    .footer .col-sm-2 {
        padding: 0 8% 0 40%;
    }

    .wr-aic {
        margin: 61px 0 0 -268px;
    }

    .google {
        margin: 31px 1px 1px -384px;
    }

    .red_button {
        margin-left: -5%;
    }

    .login_link {
        margin-right: 42%;
    }

    .reg .phone {
        margin: -14px 9% 15px 0;
    }
}

@media (max-width: 350px) {
    .login_link {
        margin-right: 35%;
    }
}

@media (max-width: 350px) {
    .login_link {
        margin-right: 28%;
    }
}

@media (min-width: 768px) and (max-width: 1050px) {
    .footer .container-fluid {
        width: 103%;
    }
}

@media (min-width: 975px) and (max-width: 1050px) {
    .footer .container-fluid {
        width: 102%;
    }
}

/*///////////////////ipad///////////////////////////*/
@media only screen and (max-device-width: 1024px)
and (orientation:portrait) {
    body {
        font-weight: 300 !important;
    }
}
