@keyframes lighting {
    0% {
        opacity: 0;
    }
    23% {
        opacity: 0;
    }
    27% {
        opacity: 1;
    }
    73% {
        opacity: 1;
    }
    77% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
@keyframes lighting2 {
    0% {
        opacity: 1;
    }
    23% {
        opacity: 1;
    }
    27% {
        opacity: 0;
    }
    73% {
        opacity: 0;
    }
    77% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

@keyframes snow {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px;
    }
    100% {
        background-position: 200% 200%, 200% 200%, 200% 200%;
    }
}
@keyframes snow {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px;
    }
    100% {
        background-position: 200% 200%, 200% 200%, 200% 200%;
    }
}
@-moz-keyframes snow {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px;
    }
    100% {
        background-position: 200% 200%, 200% 200%, 200% 200%;
    }
}
@-webkit-keyframes snow {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px;
    }
    100% {
        background-position: 200% 200%, 200% 200%, 200% 200%;
    }
}
@-ms-keyframes snow {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px;
    }
    100% {
        background-position: 200% 200%, 200% 200%, 200% 200%;
    }
}

.ny_theme_block {
    position: relative;
    padding-bottom: 80px;
}
.ny_theme_block_top {
    position: relative;
    padding-top: 40px;
}
.ny_theme_bottom_line1 {
    height: 122px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(img/ny_theme_bottom_line1.png) center bottom no-repeat;
    background-size: auto 100%;
}
.ny_theme_bottom_line2 {
    height: 114px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(img/ny_theme_bottom_line2.png) center bottom no-repeat;
    background-size: auto 100%;
}
.ny_theme_bottom_part {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(img/ny_theme_bottom-part.png) center bottom no-repeat;
    height: 105px;
    z-index: 1;
    background-size: auto 100%;
}
.ny_theme_top_part {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 133px;
    background: url(img/ny_theme_top-part.png) center bottom no-repeat;
    z-index: 1;
    background-size: auto 100%;
}
.ny_theme_garland {
    height: 207px;
    position: absolute;
    left: 0;
    right: 0;
    top: -95px;
    overflow: hidden;
    background: url(img/garland.png) center top no-repeat;
    z-index: 1;
    background-size: auto 100%;
}
.ny_theme_garland div {
    position: absolute;
    left: 0;
    right: 0;
    height: 207px;
    top: 0;
}
.ny_theme_garland div.yellow {
    opacity: 0;
    background: url(img/yellow_lighting.png) center top no-repeat;
    animation: lighting 5s linear infinite;
    background-size: auto 100%;
}
.ny_theme_garland div.green {
    background: url(img/green_lighting.png) center top no-repeat;
    animation: lighting2 5s linear infinite;
    background-size: auto 100%;
}
html,
body {
    height: auto;
    position: relative;
}
.ny_theme_balls {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.ny_theme_balls div {
    position: absolute;
    border-radius: 50%;
    background-size: contain !important;
    z-index: 50;
}
.ny_theme_balls .ball1 {
    width: 295px;
    height: 295px;
    background: url(img/ball1.jpg);
    box-shadow: 0px 40px 60px rgba(0,0,0,.1);
}
.ny_theme_balls .ball1.left {
    left: -93px;
}
.ny_theme_balls .ball1.right {
    right: -93px;
}
.ny_theme_balls .ball2 {
    width: 243px;
    height: 243px;
    background: url(img/ball2.jpg);
}
.ny_theme_balls .ball2.left {
    left: -70px;
    box-shadow: 5px 13px 20px rgba(0,0,0,.17);
}
.ny_theme_balls .ball2.right {
    right: -70px;
    box-shadow: -5px 13px 20px rgba(0,0,0,.17);
}
.ny_theme_balls .ball3 {
    width: 131px;
    height: 131px;
    background: url(img/ball3.jpg);
    box-shadow: 0px 26px 45px rgba(0,0,0,.12);
}
.ny_theme_balls .ball3.left {
    left: 50px;
}
.ny_theme_balls .ball3.right {
    right: 50px;
}
.ny_theme_balls .ball4 {
    width: 236px;
    height: 236px;
    background: url(img/ball4.jpg);
	box-shadow: 0px 20px 30px rgba(0,0,0,.13);
}
.ny_theme_balls .ball4.left {
    left: -47px;
}
.ny_theme_balls .ball4.right {
    right: -47px;
}
.ny_theme_balls .ball5 {
    width: 212px;
    height: 212px;
    background: url(img/ball5.jpg);
    box-shadow: 0 20px 30px rgba(0,0,0,.16);
}
.ny_theme_balls .ball5.left {
    left: -37px;
}
.ny_theme_balls .ball5.right {
    right: -37px;
}
.ny_theme_balls .ball6 {
    width: 305px;
    height: 305px;
    background: url(img/ball6.jpg);
	box-shadow: 0 30px 20px rgba(0,0,0,.14);
}
.ny_theme_balls .ball6.left {
    left: -145px;
}
.ny_theme_balls .ball6.right {
    right: -145px;
}
.ny_theme_balls .ball7 {
    width: 286px;
    height: 286px;
    background: url(img/ball7.jpg);
    box-shadow: 0 20px 30px rgba(0,0,0,.16);
}
.ny_theme_balls .ball7.left {
    left: -102px;
}
.ny_theme_balls .ball7.right {
    right: -102px;
}
.ny_theme_balls .ball8 {
    width: 249px;
    height: 249px;
    background: url(img/ball8.jpg);
    box-shadow: 0px 20px 30px rgba(0,0,0,.16);
}
.ny_theme_balls .ball8.left {
    left: -61px;
}
.ny_theme_balls .ball8.right {
    right: -61px;
}
.ny_theme_balls .ball9 {
    width: 161px;
    height: 161px;
    background: url(img/ball9.jpg);
    box-shadow: 0px 14px 18px rgba(0,0,0,.12);
}
.ny_theme_balls .ball9.left {
    left: 5px;
}
.ny_theme_balls .ball9.right {
    right: 5px;
}
.ny_theme_balls .ball10 {
    width: 164px;
    height: 164px;
    background: url(img/ball10.jpg);
	box-shadow: 0px 15px 20px rgba(0,0,0,.17);
}
.ny_theme_balls .ball10.left {
    left: -15px;
}
.ny_theme_balls .ball10.right {
    right: -15px;
}

@media all and (max-width: 1200px) {
	.ny_theme_balls {display: none;}
}

@media all and (max-width: 980px) {
	.ny_theme_block {padding-bottom: 60px;}
	.ny_theme_bottom_line1, .ny_theme_bottom_line2 {height: 100px;}
	.ny_theme_bottom_part {height: 80px;}
	.ny_theme_top_part {height: 101.3px;}
	.ny_theme_block_top {padding-top: 30px;}
	.ny_theme_garland {top: -75px;}
	.ny_theme_garland, .ny_theme_garland div {height: 170px;}
}

@media all and (max-width: 640px) {
	.ny_theme_block {padding-bottom: 25px;}
	.ny_theme_bottom_line1, .ny_theme_bottom_line2 {height: 65px;}
	.ny_theme_bottom_part {height: 50px;}
	.ny_theme_top_part {height: 63.2px;}
	.ny_theme_block_top {padding-top: 20px;}
	.ny_theme_garland {top: -55px;}
	.ny_theme_garland, .ny_theme_garland div {height: 120px;}
}

.snow-wr {
    transform: translateZ(0);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: url(img/particules_medium.png), url(img/particules_small.png) repeat 0px 0px;
    height: 100%;
    -webkit-animation: snow 100s linear infinite;
    -moz-animation: snow 100s linear infinite;
    -ms-animation: snow 100s linear infinite;
    animation: snow 100s linear infinite;
}