/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Fonts styles
   ========================================================================== */


@font-face {
    font-family: 'forumregular';
    src: url('../../templatenew/fonts/forum-regular-webfont.eot');
    src: url('../../templatenew/fonts/forum-regular-webfont.eot#iefix') format('embedded-opentype'),
         url('../../templatenew/fonts/forum-regular-webfont.woff') format('woff'),
         url('../../templatenew/fonts/forum-regular-webfont.ttf') format('truetype'),
         url('../../templatenew/fonts/forum-regular-webfont.svg#forumregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* ==========================================================================
   Base styles
   ========================================================================== */

A {
    text-decoration: underline;
}

A:hover {
    text-decoration: none;
}

P, UL, LI {
    margin: 0;
    padding: 0;
}

UL {
    list-style-type: none;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


BODY {
    background: url(../../templatenew/img/content-bg.jpg);
}


.fix-width {
    width: 1000px;
    margin: auto;
}


#main-header_wrap {
    min-height: 623px; /* для верхнего sky бекграунда */

    background: url(../../templatenew/img/sky_top_repeat.jpg) 0 0 repeat-x;

    position: relative;
    z-index: 300;
}

#main-header {
    background: url(../../templatenew/img/sky_top.jpg) 50% 0 no-repeat;
    height: 623px;

    position: relative;
}


#main-content {
    min-height: 503px; /* для нижнего sky бекграунда */
    position: relative;
    z-index: 2000;
}


#main-footer_wrap {
    height: 343px; /* для нижнего sky бекграунда */
    width: 100%;
    z-index: 1999;
    position: relative;
}

#main-footer_wrap:after {
    content: " ";
    display: block;

    position: absolute;
    top: -503px;
    left: 0;
    width: 100%;

    background: url(../../templatenew/img/sky_bottom_repeat.jpg) 0 0 repeat-x;
    height: 846px;
}

#main-footer {
    position: relative;
    z-index: 400;
}

#main-footer:before {
    content: " ";
    display: block;

    position: absolute;
    top: -503px;
    left: 0;
    width: 100%;

    background: url(../../templatenew/img/sky_bottom.jpg) 50% 0 no-repeat;
    height: 846px;
    z-index: 100;
}


#logo_header {
    display: block;

    position: absolute;
    top: 19px;
    left: 133px;

    background: url(../../templatenew/img/logo_header.png) 0 0 no-repeat;
    width: 272px;
    height: 72px;
}

#topmenu {
    display: table;
    width: 541px;

    position: absolute;
    top: 36px;
    right: 0;
}

.topmenu-line {
    display: table-row;
}

.topmenu-line + .topmenu-line > DIV > A {
    margin-top: 16px;
}

.topmenu-line > DIV {
    display: table-cell;
}

.topmenu-line > DIV + DIV {
    padding-left: 20px;
}

.topmenu-line > DIV > A {
    text-transform: uppercase;
    font: 20px/20px forumregular;
    color: #fff;
    text-shadow: 0 1px 0 #1b7595;

    display: block;
    background: url(../../templatenew/img/topmenu_list-style-type.png) 0 50% no-repeat;

    padding-left: 15px;

    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;

    text-decoration: none;
    overflow: hidden;
}

.topmenu-line > DIV > A:hover {
    color: #f8dc79;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFk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QtR8AAgwAutocCMV2h14AAAAASUVORK5CYII=) 0 50% no-repeat;
}


.topmenu-line > DIV > A > SPAN {
    display: block;
    padding-bottom: 2px;
    background: url(../../templatenew/img/topmenu_text-decoration.png) 0 100% repeat-x;
    display: block;
    float: left;
}

.topmenu-line > DIV > A:hover > SPAN {
    background: none;
}

#sugar-baby {
    background: url(../../templatenew/img/sugar-baby.png) 0 0 no-repeat;
    width: 508px;
    height: 507px;

    position: absolute;
    top: 105px;
    left: 13px;
}


#slogan {
    position: absolute;
    top: 136px;
    right: 10px;

    font: 30px/36px forumregular;
    color: #ad4c42;
    text-transform: uppercase;

    padding-top: 13px;

    width: 480px;
    height: 82px;

    background: url(../../templatenew/img/slogan_border-top.png) 0 0 no-repeat;
}

#slogan > DIV {
    margin-left: 3px;
    float: left;
}

#slogan > DIV + DIV {
    float: right;
    clear: both;
    margin-right: 2px;
}

#slogan:before {
    content: " ";
    display: block;

    background: url(../../templatenew/img/slogan_border-bottom.png) 0 0 no-repeat;
    width: 468px;
    height: 1px;

    position: absolute;
    bottom: 0;
    left: 0;
}


#cont-top {
    position: absolute;
    top: 276px;
    left: 514px;

    font: 18px/30px Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #3e5060;
}

#cont-top_house {
    position: absolute;
    top: 0;
    left: 0;

    background: url(../../templatenew/img/ico-house.png) 0 2px no-repeat;
    padding-left: 35px;
    min-height: 21px;
}

#cont-top_house > DIV {
    white-space: nowrap;
}

#cont-top_phone {
    position: absolute;
    top: 0;
    left: 296px;

    background: url(../../templatenew/img/ico-phone.png) 0 5px no-repeat;
    padding-left: 31px;
    min-height: 24px;
}

#cont-top_phone > DIV {
    white-space: nowrap;
}

#td-buttons {
    position: absolute;
    top: 643px;
    left: 139px;
    z-index: 1000;
}

[id^="td-buttons__"] {
    background: url(../../templatenew/img/3d-buttons-b__gradient_white.png) 0 0 repeat-y;
    width: 264px;
    padding-left: 93px;
    height: 62px;

    font: 24px/62px forumregular;
    color: #b93224;
    text-decoration: none;
    text-transform: uppercase;

    position: relative;
    z-index: 1000;
}

#td-buttons__1 {
    display: block;
}

#td-buttons__1:before {
    content: " ";
    display: block;

    background: url(../../templatenew/img/3d-buttons-b__house.png) 0 0 no-repeat;
    width: 156px;
    height: 104px;

    position: absolute;
    top: -21px;
    left: -66px;
}

#td-buttons__2 {
    display: block;
    margin-top: 49px;
}

#td-buttons__2:before {
    content: " ";
    display: block;

    background: url(../../templatenew/img/3d-buttons-b__board.png) 0 0 no-repeat;
    width: 156px;
    height: 104px;

    position: absolute;
    top: -14px;
    left: -54px;
}

#td-buttons__3 {
    display: block;
    margin-top: 51px;
}

#td-buttons__3:before {
    content: " ";
    display: block;

    background: url(../../templatenew/img/3d-buttons-b__map.png) 0 0 no-repeat;
    width: 156px;
    height: 104px;

    position: absolute;
    top: -3px;
    left: -49px;
}


#menu-services {
    position: relative;
    z-index: 1000;

    float: right;
    margin-top: 386px;
}

.menu-services-line {
    clear: left;
}

/* clearfix begin */

.menu-services-line:before,
.menu-services-line:after {
    content: " ";
    display: table;
}

.menu-services-line:after {
    clear: both;
}

.menu-services-line {
    *zoom: 1;
}

/* clearfix end */


.menu-services-line + .menu-services-line {
    margin-top: 45px;
}

.menu-services-item {
    float: left;
    width: 240px;
}

.menu-services-item + .menu-services-item {
    margin-left: 22px;
}

.menu-services-item__img {
    height: 132px;
    position: relative;
}

.menu-services-item__img > IMG {
    display: block;
}

#menu-services-item__img-1 {
    position: absolute;
    top: 0;
    right: 50%;
    margin-right: -131px;
}

#menu-services-item__img-2 {
    position: absolute;
    top: 0;
    right: 50%;
    margin-right: -66px;
}

#menu-services-item__img-3 {
    position: absolute;
    top: 0;
    right: 50%;
    margin-right: -63px;
}

#menu-services-item__img-4 {
    position: absolute;
    top: 0;
    right: 50%;
    margin-right: -65px;
}

.menu-services-item__title {
    font: 18px/18px Arial, "Helvetica Neue", Helvetica, sans-serif;
    text-transform: uppercase;
    color: #3e5060;
    text-align: center;
    margin-top: 15px;
}

.menu-services-item__list {
    margin-top: 13px;
}

.menu-services-item__list > LI {}

.menu-services-item__list > LI > A {
    display: block;
    text-align: center;
    color: #b93224;
    font: 14px/24px Arial, "Helvetica Neue", Helvetica, sans-serif;

    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

.menu-services-item__list > LI > A:hover {
    color: #2282b5;
}


.welcome {
    margin-top: 77px;
    margin-left: 15px;
    width: 590px;
    float: left;
}

.welcome__title {
    font: 30px/30px forumregular;
    color: #ad4c42;
    text-transform: uppercase;
}

.welcome__content {
    font: 14px/24px Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #3e5060;
    margin-top: 15px;
}
.welcome__content td, .welcome__content th {
padding: 3px 15px;
}

.welcome__content > P {
    text-align: left;
    margin: 10px 0 5px; 
}

.welcome__content > P:first-child {
    position: relative;
    left: -4px;
}

.welcome__content > P > IMG {
    display: block;
    float: left;

    margin: 30px 26px 20px 4px;
}


.banners {
    float: right;
    width: 374px;
    margin-top: 77px;
}

.banners__img {
    display: block;
}

.banners__img + .banners__img {
    margin-top: 44px;
}

.banners__img > IMG {}



.offer {
    clear: both;
    padding-top: 34px;
}

.offer-title {
    text-transform: uppercase;
    font: 30px/30px forumregular;
    color: #ad4c42;
    text-align: center;
}

.offer-content {
    margin-top: 21px;
    font: 14px/24px Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #3e5060;
    width: 760px;
}

.offer-cont-list {
    margin-left: 26px;
}

.offer-cont-list > LI {
    background: url(../../templatenew/img/topmenu_list-style-type.png) 0 10px no-repeat;
    padding-left: 20px;
}

.offer-cont-list > LI + LI {
    margin-top: 5px;
}





#menu-ser-foot_wrap {
    display: table;
    width: 100%;
    overflow: hidden;
    margin-top: 72px;
}

#menu-ser-foot {
    display: table-row;
}

#menu-ser-foot > LI {
    display: table-cell;
}

.menu-ser-foot-item__img {
    height: 97px;
    position: relative;
}

.menu-ser-foot-item__img > IMG {
    position: absolute;
    top: 0;
    left: 50%;
}

#menu-ser-foot-item__img-1 {
    margin-left: -54px;
}

#menu-ser-foot-item__img-2 {
    margin-left: -48px;
}

#menu-ser-foot-item__img-3 {
    margin-left: -54px;
}

#menu-ser-foot-item__img-4 {
    margin-left: -82px;
}

.menu-ser-foot-item__title {
    text-align: center;
    text-transform: uppercase;

    font: 18px/18px Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #3e5060;

    margin-top: 23px;
}

.menu-ser-foot-item__list {
    margin-top: 13px;
}

.menu-ser-foot-item__list > LI {}

.menu-ser-foot-item__list > LI > A {
    text-align: center;
    display: block;

    font: 14px/24px Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #b93224;

    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

.menu-ser-foot-item__list > LI > A:hover {
    color: #2282b5;
}



#baby-footer {
    background: url(../../templatenew/img/sweet-baby-sweet.png) 0 0 no-repeat;
    width: 335px;
    height: 237px;

    position: absolute;
    top: 26px;
    left: 6px;
    z-index: 200;
}


#cont-foot {
    position: absolute;
    top: 86px;
    left: 320px;

    font: 18px/30px Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #3e5060;
    z-index: 300;
}

#cont-foot_house {
    position: absolute;
    top: 0;
    left: 0;

    background: url(../../templatenew/img/ico-house.png) 0 2px no-repeat;
    padding-left: 35px;
    min-height: 21px;
}

#cont-foot_house > DIV {
    white-space: nowrap;
}

#cont-foot_phone {
    position: absolute;
    top: 0;
    left: 296px;

    background: url(../../templatenew/img/ico-phone.png) 0 5px no-repeat;
    padding-left: 31px;
    min-height: 24px;
}

#cont-foot_phone > DIV {
    white-space: nowrap;
}


#footer-line {
    background: url(../../templatenew/img/footer-line_bg.png) 0 0 repeat-x;
    height: 100px;
    margin-top: 202px;

    position: relative;
    z-index: 300;
}


#footer-line_inner {
    content: " ";
    display: block;

    position: absolute;
    top: 0;
    left: 0;

    background: url(../../templatenew/img/footer-line_bg.png) 0 0 repeat-x;
    height: 100px;
    width: 100%;
    margin-top: 202px;

    z-index: 100;
}


#footmenu_wrap {
    display: table;
    width: 630px;

    position: absolute;
    top: 223px;
    right: 19px;

    z-index: 300;
}

#footmenu {
    display: table-row;
}

#footmenu > LI {
    display: table-cell;
}

#footmenu > LI > A {
    display: block;
    text-align: center;

    font: 14px/51px Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #fff;
}


.footmenu__separator {
    width: 1px;
    background: url(../../templatenew/img/footer-menu__separator.png) 0 0 no-repeat;
}

#copyright {
    position: absolute;
    top: 318px;
    left: 15px;
    z-index: 400;

    font: 14px/14px Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #3e5060;
}



/* NEW YEAR THEME */

BODY.ny .nyElem {
    display: block;
}

BODY.ny #ny-wrap {
    overflow: hidden;
    min-width: 1000px;
    width: 100%;
}

BODY.ny .nyElem#ny-header-1 {
    position: absolute;
    top: 9px;
    left: -52px;

    background: url(../../templatenew/img/ny-el_header_1.png) 0 0 no-repeat;
    width: 217px;
    height: 199px;

    z-index: 2;
}

BODY.ny.inner .nyElem#ny-header-1 {
    top: 33px;
    left: -175px;
}

BODY.ny.inner #menu-ser-foot_wrap {
    z-index: 400;
    position: relative;
}

BODY.ny #logo_header,
BODY.ny #topmenu {
    z-index: 10;
}


BODY.ny .nyElem#ny-header-2 {
    position: absolute;

    top: 92px;
    left: 365px;

    background: url(../../templatenew/img/ny-el_header_2.png) 0 0 no-repeat;
    width: 122px;
    height: 119px;

    z-index: 2;
    
}

BODY.ny.inner .nyElem#ny-header-2 {
    top: 69px;
    left: 396px;
}

BODY.ny .nyElem#ny-header-3 {
    position: absolute;
    top: 0;
    left: 837px;

    background: url(../../templatenew/img/ny-el_header_3.png) 0 0 no-repeat;
    width: 59px;
    height: 100px;
    
}

BODY.ny .nyElem#ny-header-bg {
    position: absolute;
    top: 0;
    left: -452px;

    width: 1899px;
    height: 710px;
    
}

.webp BODY.ny .nyElem#ny-header-bg {
    background: url(../../templatenew/img/ny-el_header_bg.webp) 0 0 no-repeat;
}

.no-webp BODY.ny .nyElem#ny-header-bg {
    background: url(../../templatenew/img/ny-el_header_bg.png) 0 0 no-repeat;
}



BODY.ny .nyElem#ny-footer-bg {
    position: absolute;
    top: 29px;
    left: -452px;

    z-index: 250;

    width: 1820px;
    height: 313px;
}

.webp BODY.ny .nyElem#ny-footer-bg {
    background: url(../../templatenew/img/ny-el_footer_bg.webp) 0 0 no-repeat;
}

.no-webp BODY.ny .nyElem#ny-footer-bg {
    background: url(../../templatenew/img/ny-el_footer_bg.png) 0 0 no-repeat;
}









/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

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

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
