@import url("reset.css");
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400i,500,500i&subset=cyrillic');
@import url('roboto-light.css');
@import url('font-awesome/font-awesome.min.css');

html {
    font-size: 100.01%;
}
body {
	font-family: 'Roboto', sans-serif;
	color: white;
    background-color: #f4f4f4;
}
#mainmenu {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url('../img/gid_promo/mainmenu.jpg');
    width: 100%;
    z-index: 999;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}
#mainmenu .content {
    width: 1000px;
    margin: 0px auto;
    padding-top: 200px;
    text-align: right;
}
#mainmenu a {
    color: #fff;
    font-size: 3em;
    text-decoration: none;
    font-weight: 700;
    color: #fff;
    position: relative;
}
#mainmenu a.active:after {
    content:'';
    position:absolute;
    width:100%;
    height:10px;
    left:0; top:30px;
    background:#d52c69;
}
#main_header {
    position:fixed;
    top: 0;
    right: 0;
    z-index: 10;
    width: 100%;
}
.magcity_logo {
    text-align: center;
    padding-top: 24px;
    display: block;
    width: 166px;
    position: absolute;
    left: 50%;
    margin-left: -83px;
}
.mainmenu_link {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    text-align: center;
    width: 68px;
    height: 53px;
    line-height: 51px;
    background-image: url('../img/gid_promo/main_menu_btn_bg.png')
}
.mainmenu_link i {
    vertical-align: middle;
}
#mainmenu_link {
    color: #fff;
    text-decoration: none;
}
.rightmenu {
    position:fixed;
    top: 190px;
    right: 66px;
    z-index: 10;
    text-align: right;
}
.rightmenu a {
    color: rgba(255,255,255,0.3);
    font-size: 0.9em;
    text-decoration: none;
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
.rightmenu a.active, .rightmenu a:hover {
    color: rgba(255,255,255,1);
}
.rightmenu a:after {
    content: '●';
    display: inline-block;
    margin-left: 8px;
    color: rgba(255,255,255,0.3);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
.rightmenu a.active:after, .rightmenu a:hover:after {
    color: rgba(255,255,255,1);
}
.slides .slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
#slide1 {
    background-image: url("../img/gid_promo/slide1.jpg");
}
#slide2 {
    background-image: url("../img/gid_promo/slide2.jpg");
}
#slide3 {
    background-image: url("../img/gid_promo/slide3.jpg");
}
#slide4 {
    background-image: url("../img/gid_promo/slide4.jpg");
}
#slide5 {
    background-image: url("../img/gid_promo/slide5.jpg");
}
.content-wrap {
    width: 100%;
    position: absolute;
    text-align: center;
}
.content-wrap.bottom {
    bottom: 0;
    left:0;
}
.content-wrap.top {
    top:80px;
    left:0;
}
.slide h1 {
    font-size: 4em;
    text-align: center;
    margin-top: 18px;
    font-weight: 700;
    line-height: 1;
}
.slide h1.withbg, span.withbg {
    position: relative;
}
span.withbg {font-weight: 500;}
.slide h1.withbg:before, span.withbg:before
{
    content: "";
    position: absolute;
    width: 738px;
    height: 85px;
    margin-left: -40px;
    margin-top: -10px;
    z-index: -1;
    background-color: #d52c69;
    -webkit-transform: rotate(-1deg);
    -moz-transform: rotate(-1deg);
    -ms-transform: rotate(-1deg);
    -o-transform: rotate(-1deg);
    transform: rotate(-1deg);
}
#slide3 h1.withbg:before {
    width: 650px;
}
#slide3 span.withbg:before {
    width: 478px;
    height: 55px;
}
#slide3 p:last-child {
    margin-top: 25px;
}
.slide .content {
    font-size: 1.5em;
    font-weight: 300;
    margin-top: 38px;
    margin-bottom: 60px;
}
.slide .content p {
    text-align: center;
    line-height: 1.4;
}
#slide1 .citygid_logo {
     text-align: center;
     margin-bottom: 30px;
}
#slide1 .citygid_logo img {
    width: 238px;
    height: auto;
    display: block;
    margin: 0px auto;
}
#slide1 .mousenav {
    text-align: center;
    margin-bottom: 40px;
}
#slide1 .mousenav i, #slide1 .mousenav img {
    vertical-align: middle;
}
#slide1 .mousenav i {
    text-transform: uppercase;
    font-size: 0.6em;
}
#slide1 .mousenav i:first-child {
    margin-right: 36px;
}
#slide1 .mousenav i:last-child {
    margin-left: 36px;
}
#slide1 .mousenav .mouse {
    border: 2px solid #FFFFFF;
    border-radius: 13px;
    display: inline-block;
    height: 46px;
    width: 26px;
    vertical-align: middle;
}
#slide1 .mousenav .mouse span {
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    animation-name: scroll;
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid transparent;
    border-radius: 4px;
    display: block;
    height: 4px;
    margin: 6px auto;
    width: 4px;
}
@keyframes scroll {
0% {
    opacity: 1;
    transform: translateY(0px);
}
100% {
    opacity: 0;
    transform: translateY(20px);
}
}
#slide2 h1:before {
    width: 700px;
    margin-left: -24px;
}
#slide2 .circles {
    width: 1000px;
    margin: 0px auto;
    position: relative;
    height: 430px;
    margin-top: 24px;
}
#slide2 .circles .circle {
    width: 200px;
    margin-left: 50px;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}
#slide2 .circles .circle .text {
    text-align: center;
}
#slide2 .circles .circle .shape img {
    max-width: 100%;
}
#slide2 .circles .circle.slick-current {
    width: 418px;
}
#slide2 .circles .circle:not(.slick-current) {
    margin-top: 110px;
}
#slide2 .circles .slick-arrow {
    text-indent: -9999px;
    background-image: url('../img/gid_promo/circles_arrow.png');
    width: 53px;
    height: 54px;
    background-repeat: no-repeat;
}
#slide2 .circles .slick-prev {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}
#circles_text .content-slide {
    height: 140px;
}
#circles_text .content-slide p {
    padding: 0 40px;
    position: relative;
}
#circles_text .content-slide p:before {
    content: "";
    position: absolute;
    width: 800px;
    height: 85px;
    margin-left: -40px;
    margin-top: -10px;
    z-index: -1;
    background-color: #d52c69;
    -webkit-transform: rotate(-1deg);
    -moz-transform: rotate(-1deg);
    -ms-transform: rotate(-1deg);
    -o-transform: rotate(-1deg);
    transform: rotate(-1deg);
}
#circles_text .content-slide:nth-child(1) p:before {
    width: 1160px;
    height: 64px;
}
#circles_text .content-slide:nth-child(2) p:before {
    width: 860px;
    height: 150px;
}
#circles_text .content-slide:nth-child(3) p:before {
    width: 726px;
    height: 64px;
}
#circles_text .content-slide:nth-child(4) p:before {
    width: 1085px;
    height: 64px;
}
#slide3 {
    padding-top: 100px;
}
#slide3 .content .circle2 {
    display: none;
}
#slide3 .circles {
    width: 446px;
    margin: 0px auto;
    margin-top: 100px;
}
#slide3 .circles:after {
    content: ""; 
	display: table; 
	clear: both;
} 
#slide3 .circles a {
    display: block;
    float: left;
    z-index: 3;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    width: 253px;
    font-size: 0.75em;
    font-weight: 500;
    opacity: 0.6;
    position: relative;
    color: #fff;
}
#slide3 .circles a img {
    display: block;
}
#slide3 .circles a.circle2 {
    margin-left: -60px;
}
#slide3 .circles a:hover {
    z-index: 4;
    opacity: 1;
}
#slide3 .circles a .play {
    position: absolute;
    left: 53px;
    top: 53px;
    display: none;
}
#slide3 .circles a:hover .play {
    display: block;
    cursor: pointer;
}
#slide3 .circles a .circle_img {
    margin-bottom: -50px;
}
#slide3 .content .circle {
    display: none;
}
#slide5 {
    padding-top: 80px;
    position: relative;
}
#slide5 h1:before {
    width: 390px;
}
#slide5 h1 {
    margin-bottom: 80px;
}
#slide5 .very_big_citygid_logo, #slide5 .go_citygid {
    text-align: center;
}
#slide5 .go_citygid a {
    color: #fff;
    text-decoration: none;
    font-size: 0.75em;
    font-weight: 500;
    text-transform: uppercase;
}
#slide5 .content strong {
    font-weight: 500;
}
#slide5 .znak_logo {
    text-align: center;
    width: 130px;
    position: absolute;
    bottom: 60px;
    left: 50%;
    margin-left: -65px;
}
#slide4 {
    padding-top: 80px;
}
#slide4 h1 {
    margin-bottom: 20px;
}
#slide4 h1:before {
    width: 675px;
}
#slide4 .example {
    width: 692px;
    position: relative;
    margin:  0px auto;
    margin-top: 40px;
}
#slide4 p {
    text-align: center;
}
#example_page {
    z-index: 1;
    margin-top: -20px;
}
#slide4 .very_big_citygid_logo {
    width: 213px;
    position: absolute;
    left: -250px;
    top: 250px;
    text-align: center;
}
#slide4 .very_big_citygid_logo img {
    width: 213px;
}
#slide4 .very_big_citygid_logo a {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.75em;
}
#slide4 .example_dot {
    position: absolute;
    display: block;
    width: 23px;
    height: 25px;
    background-image: url('../img/gid_promo/example_dot.png');
    z-index: 2;
    background-color: transparent;
    border: none;
}
#example_dot1 {
    top: 86px;
    left: 325px;
}
#example_dot2 {
    top: 177px;
    left: 197px;
}
#example_dot3 {
    top: 236px;
    left: 283px;
}
#example_dot4 {
    top: 209px;
    left: 407px;
}
#example_dot5 {
    top: 266px;
    left: 407px;
}
#example_dot6 {
    top: 347px;
    left: 283px;
}
#example_dot7 {
    top: 430px;
    left: 283px;
}
#slide4 .popover .popover-title {
    color: #5e6977;
    font-weight: 300;
    font-size: 1.5em;
}
#slide4 .popover .popover-content {
    font-size: 0.9em;
    color: #86939e;
}
#mainmenu .close {
    position: absolute;
    right: 20px;
    top: 0;
    text-align: right;
    line-height: 45px;
    opacity: 1;
}
#mainmenu .close i {
    vertical-align: middle;
    font-size: 32px;
    opacity: 1;
}
#mainmenu .close a {
    color: #fff;
    text-decoration: none;
    opacity: 1;
}
@media screen and (max-device-width: 1400px) {
    .rightmenu {
        top: 240px;
    }
}
@media screen and (max-device-width: 1250px) {
    #slide2 h1 {
        margin-bottom: 100px;
    }
    .rightmenu {
        top: 260px;
    }
}
@media screen and (max-device-width: 1200px) {
    #slide4 .very_big_citygid_logo {
        left: -160px;
    }
}
@media screen and (max-device-width: 1024px) {
    #slide4 .very_big_citygid_logo {
        display: none;
    }
    .rightmenu {
        display: none;
    }
    #slide2 .circles {
        width: 800px;
        height: 313px;
    }
    #slide2 .circles .circle {
        width: 174px;
        margin-left: 69px;
    }
    #slide2 .circles .circle.slick-current {
        width: 300px;
    }
    #slide2 .circles .circle:not(.slick-current) {
        margin-top: 70px;
    }
}
@media screen and (max-device-width: 920px) {
    #slide2 .circles {
        width: 635px;
        height: 206px;
    }
    #slide2 .circles .circle {
        width: 174px;
        margin-left: 62px;
    }
    #slide2 .circles .circle.slick-current {
        width: 170px;
    }
    #slide2 .circles .circle:not(.slick-current) {
        margin-top: 0px;
    }
    .content p {
        font-size: .8em;
    }
}