

/* ========================================
   НОВОГОДНЯЯ ГИРЛЯНДА GETCOURSE
   ======================================== */

.gc-newyear-garland {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 115px;
    overflow: hidden;
    z-index: 9999;
    pointer-events: none;
}

/* Декоративная основа */

.gc-newyear-garland .b-head-decor {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    height: 115px;
    width: 100%;
    overflow: hidden;
    background: url(https://www.dropbox.com/s/v9lpxcfepsvin60/b-head-decor_newyear.png?dl=1) repeat-x 0 0;
    pointer-events: none;
}

.gc-newyear-garland .b-head-decor__inner {
    position: absolute;
    top: 0;
    left: 0;
    height: 115px;
    display: block;
    width: 373px;
}

.gc-newyear-garland .b-head-decor::before {
    content: '';
    display: block;
    position: absolute;
    top: -115px;
    left: 0;
    z-index: 3;
    height: 115px;
    width: 100%;
    box-shadow: 0 15px 30px rgba(0,0,0,0.75);
}

/* Шарики */

.gc-newyear-garland .b-ball {
    position: absolute;
}

.gc-newyear-garland .b-ball_n1 {
    top: 0;
    left: 3px;
    width: 59px;
    height: 83px;
}

.gc-newyear-garland .b-ball_n2 {
    top: -19px;
    left: 51px;
    width: 55px;
    height: 70px;
}

.gc-newyear-garland .b-ball_n3 {
    top: 9px;
    left: 88px;
    width: 49px;
    height: 67px;
}

.gc-newyear-garland .b-ball_n4 {
    top: 0;
    left: 133px;
    width: 57px;
    height: 102px;
}

.gc-newyear-garland .b-ball_n5 {
    top: 0;
    left: 166px;
    width: 49px;
    height: 57px;
}

.gc-newyear-garland .b-ball_n6 {
    top: 6px;
    left: 200px;
    width: 54px;
    height: 70px;
}

.gc-newyear-garland .b-ball_n7 {
    top: 0;
    left: 240px;
    width: 56px;
    height: 67px;
}

.gc-newyear-garland .b-ball_n8 {
    top: 0;
    left: 283px;
    width: 54px;
    height: 53px;
}

.gc-newyear-garland .b-ball_n9 {
    top: 10px;
    left: 321px;
    width: 49px;
    height: 66px;
}

/* Изображения шариков */

.gc-newyear-garland .b-ball_n1 .b-ball__i {
    background: url(https://www.dropbox.com/s/6uejpodl90ozcaj/b-ball_n1.png?dl=1) no-repeat;
}

.gc-newyear-garland .b-ball_n2 .b-ball__i {
    background: url(https://www.dropbox.com/s/ygy31out3i61ry8/b-ball_n2.png?dl=1) no-repeat;
}

.gc-newyear-garland .b-ball_n3 .b-ball__i {
    background: url(https://www.dropbox.com/s/uaffezwbvb4yuhd/b-ball_n3.png?dl=1) no-repeat;
}

.gc-newyear-garland .b-ball_n4 .b-ball__i {
    background: url(https://www.dropbox.com/s/j8q7itkqekxwt65/b-ball_n4.png?dl=1) no-repeat;
}

.gc-newyear-garland .b-ball_n5 .b-ball__i {
    background: url(https://www.dropbox.com/s/8d7jo6a8b7ngfcq/b-ball_n5.png?dl=1) no-repeat;
}

.gc-newyear-garland .b-ball_n6 .b-ball__i {
    background: url(https://www.dropbox.com/s/x9uqu3fe5cma2ra/b-ball_n6.png?dl=1) no-repeat;
}

.gc-newyear-garland .b-ball_n7 .b-ball__i {
    background: url(https://www.dropbox.com/s/vn9n8rsl3rfm5kx/b-ball_n7.png?dl=1) no-repeat;
}

.gc-newyear-garland .b-ball_n8 .b-ball__i {
    background: url(https://www.dropbox.com/s/kbba0lcmcbxjb6p/b-ball_n8.png?dl=1) no-repeat;
}

.gc-newyear-garland .b-ball_n9 .b-ball__i {
    background: url(https://www.dropbox.com/s/buok8jqo2plg1kh/b-ball_n9.png?dl=1) no-repeat;
}

/* Дополнительные элементы */

.gc-newyear-garland .b-ball_i1 .b-ball__i {
    background: url(https://www.dropbox.com/s/ao4okf3y6xl6zfu/b-ball_i1.png?dl=1) no-repeat;
}

.gc-newyear-garland .b-ball_i2 .b-ball__i {
    background: url(https://www.dropbox.com/s/o0c0co1gxur78pu/b-ball_i2.png?dl=1) no-repeat;
}

.gc-newyear-garland .b-ball_i3 .b-ball__i {
    background: url(https://www.dropbox.com/s/hs4frdr0g1sk8qy/b-ball_i3.png?dl=1) no-repeat;
}

.gc-newyear-garland .b-ball_i4 .b-ball__i {
    background: url(https://www.dropbox.com/s/by8955xypx3rwkx/b-ball_i4.png?dl=1) no-repeat;
}

.gc-newyear-garland .b-ball_i5 .b-ball__i {
    background: url(https://www.dropbox.com/s/lwub7a629rbdsgf/b-ball_i5.png?dl=1) no-repeat;
}

.gc-newyear-garland .b-ball_i6 .b-ball__i {
    background: url(https://www.dropbox.com/s/3d0vxlzgutik2xn/b-ball_i6.png?dl=1) no-repeat;
}

.gc-newyear-garland .b-ball_i1 {
    top: 0;
    left: 0;
    width: 25px;
    height: 71px;
}

.gc-newyear-garland .b-ball_i2 {
    top: 0;
    left: 25px;
    width: 61px;
    height: 27px;
}

.gc-newyear-garland .b-ball_i3 {
    top: 0;
    left: 176px;
    width: 29px;
    height: 31px;
}

.gc-newyear-garland .b-ball_i4 {
    top: 0;
    left: 205px;
    width: 50px;
    height: 51px;
}

.gc-newyear-garland .b-ball_i5 {
    top: 0;
    left: 289px;
    width: 78px;
    height: 28px;
}

.gc-newyear-garland .b-ball_i6 {
    top: 0;
    left: 367px;
    width: 6px;
    height: 69px;
}

/* Анимация */

.gc-newyear-garland .b-ball__i {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transform-origin: 50% 0;
    -moz-transform-origin: 50% 0;
    -o-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    pointer-events: none;
}

.gc-newyear-garland .b-ball_bounce .b-ball__right {
    position: absolute;
    top: 0;
    right: 0;
    left: 50%;
    bottom: 0;
    z-index: 9;
    pointer-events: auto;
    cursor: pointer;
}

.gc-newyear-garland .b-ball_bounce:hover .b-ball__right {
    display: none;
}

.gc-newyear-garland .b-ball_bounce .b-ball__right:hover {
    left: 0;
    display: block !important;
}

.gc-newyear-garland .b-ball_bounce.bounce > .b-ball__i {
    -webkit-transform: rotate(-9deg);
    -moz-transform: rotate(-9deg);
    -o-transform: rotate(-9deg);
    transform: rotate(-9deg);
}

.gc-newyear-garland .b-ball_bounce .b-ball__right.bounce + .b-ball__i {
    -webkit-transform: rotate(9deg);
    -moz-transform: rotate(9deg);
    -o-transform: rotate(9deg);
    transform: rotate(9deg);
}

.gc-newyear-garland .b-ball_bounce.bounce1 > .b-ball__i {
    -webkit-transform: rotate(6deg);
    -moz-transform: rotate(6deg);
    -o-transform: rotate(6deg);
    transform: rotate(6deg);
}

.gc-newyear-garland .b-ball_bounce .b-ball__right.bounce1 + .b-ball__i {
    -webkit-transform: rotate(-6deg);
    -moz-transform: rotate(-6deg);
    -o-transform: rotate(-6deg);
    transform: rotate(-6deg);
}

.gc-newyear-garland .b-ball_bounce.bounce2 > .b-ball__i {
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    -o-transform: rotate(-3deg);
    transform: rotate(-3deg);
}

.gc-newyear-garland .b-ball_bounce .b-ball__right.bounce2 + .b-ball__i {
    -webkit-transform: rotate(3deg);
    -moz-transform: rotate(3deg);
    -o-transform: rotate(3deg);
    transform: rotate(3deg);
}

.gc-newyear-garland .b-ball_bounce.bounce3 > .b-ball__i {
    -webkit-transform: rotate(1.5deg);
    -moz-transform: rotate(1.5deg);
    -o-transform: rotate(1.5deg);
    transform: rotate(1.5deg);
}

.gc-newyear-garland .b-ball_bounce .b-ball__right.bounce3 + .b-ball__i {
    -webkit-transform: rotate(-1.5deg);
    -moz-transform: rotate(-1.5deg);
    -o-transform: rotate(-1.5deg);
    transform: rotate(-1.5deg);
}

.gc-newyear-garland {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 115px;
    z-index: 99999;
    overflow: hidden;
    pointer-events: none;
}

.gc-newyear-garland .b-head-decor {
    display: block !important;
}
/* Расположение секций гирлянды */

.gc-newyear-garland .b-head-decor__inner_n1 {
    left: 0;
}

.gc-newyear-garland .b-head-decor__inner_n2 {
    left: 373px;
}

.gc-newyear-garland .b-head-decor__inner_n3 {
    left: 746px;
}

.gc-newyear-garland .b-head-decor__inner_n4 {
    left: 1119px;
}

.gc-newyear-garland .b-head-decor__inner_n5 {
    left: 1492px;
}

.gc-newyear-garland .b-head-decor__inner_n6 {
    left: 1865px;
}

.gc-newyear-garland .b-head-decor__inner_n7 {
    left: 2238px;
}
