@-webkit-keyframes range {
    0% {
        background-position: -25px 50%, 0 0;
    }
    100% {
        background-position: 85px 50%, 0 0;
    }
}

@keyframes range {
    0% {
        background-position: -25px 50%, 101% 100%;
    }
    100% {
        background-position: 85px 50%, 101% 100%;
    }
}

/*----------common---------*/
.page-images {
    position: absolute;
}

.page-images p {
    font-size: 18px;
    color: #ffffff;
}

/*--------index page-----------*/

.page-images.index {
    width: 499px;
    height: 576px;
    top: -600px;
    left: 360px;
    background: url("../images/main/dynamic.png") no-repeat;
    background-size: 100%;
}

.page-images.index .switcher > img {
    position: absolute;
    margin: auto;
    top: 38px;
    left: -7px;
    right: 0;
    bottom: 0;
    -webkit-transition: 1s;
    transition: 1s;
    -webkit-transform-origin: 98px 99px;
    -ms-transform-origin: 98px 99px;
    transform-origin: 98px 99px;
}

.page-images.index .switcher .radio-button-img {
    top: -18px;
    left: -22px;
    width: 160px;
    opacity: 0;
    -webkit-transition: 1s;
    transition: 1s;
}

.page-images.index .switcher .radio-button-img.active {
    opacity: 1;
}

.page-images.index .radio-button {
    position: absolute;
    width: 84px;
    height: 84px;
    background: url("../images/main/range.png") no-repeat, url("../images/main/station-button-bg.png") no-repeat;
    background-position: -25px 50%, 0 0;
    background-size: auto 127%, 101% 100%;
    border-radius: 32px;
    text-align: center;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.6);
}

.page-images.index .radio-button:hover {
    cursor: pointer;
    -webkit-animation: range 3s infinite;
    animation: range 3s infinite;
}

#content .page-images.index .radio-button p {
    text-align: center;
    font-size: 15px;
    color: #949ba9;
    font-weight: bold;
    margin-top: 5px;
    -webkit-transition: 1s;
    transition: 1s;
}

#content .page-images.index .radio-button:hover p,
#content .page-images.index .radio-button.active:hover p {
    color: #ffffff;
}

.page-images .radio-button:nth-of-type(2) {
    top: 43px;
    left: 199px;
}

.page-images .radio-button:nth-of-type(3) {
    top: 102px;
    left: 341px;
}

.page-images .radio-button:nth-of-type(4) {
    top: 232px;
    left: 400px;
}

.page-images .radio-button:nth-of-type(5) {
    top: 367px;
    left: 348px;
}

.page-images .radio-button:last-of-type {
    top: 429px;
    left: 199px;
}

.station-block > div {
    text-align: center;
}

.station-block h2 {
    color: #d3f4ff;
    font-size: 30px;
}

.station-block img {
    -webkit-transition: 1s;
    transition: 1s;
}

.station-block img:hover {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.partners-holder {
    position: absolute;
    top: -225px;
    left: 40px;
}

#content .partners-holder h4 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 10px;
}
#content .partners-holder > div {
    margin-bottom: 10px;
}
#content .taxi-t-53{
    background: #00ADE5;
    border-radius: 11px;
}
/*----------------about page---------------*/
.page-images.about {
    top: -427px;
    left: 0;
}

.about {
    text-align: center;
}

/*----------------services page-----------*/
.page-images.services {
    top: -465px;
    left: 0;
}

.viewport {
    width: 500px;
    height: 500px;
}

.services .pop-up-news{
    position: fixed;
    text-align: center;
    display: none;
    overflow-y:scroll;
    overflow-x:hidden;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, 0.7);
}
.services .pop-up-news.active{
    display: block;
}
.services .pop-up-news:before{
    display: inline-block;
    width:  0;
    height: 100%;
    vertical-align: middle;
    content: ''
}
.services .pop-up-news .content{
    display: inline-block;
    position: relative;
    text-align: start;
    margin: 40px 0;
    max-width: 800px;
    /*width: 800px;*/
    padding: 20px;
    border: 5px solid #00A9E2;
    border-radius: 15px;
    box-shadow: inset 0 2px 2px 2px rgba(0,0,0,.4);
    background: url('../images/bg_main.jpg');
    vertical-align: middle
}
.services .close-button{
    position: absolute;
    cursor: pointer;
    background-image: url("../images/close_button.png");
    background-size: cover;
    background-color: #00A9E2;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    right: -20px;
    top: -20px;
    -weblit-transition: 500ms;
    transition: 500ms;
}
.services .close-button:hover{
    background-color: red;
}
.services .hidden-info-block{
    display: none;
}
.services .top-part-popup{
    margin-bottom: 20px;
    text-align: center;
}
.services .news-popup-content{
    font-size: 18px;
    color: #ffffff;
}
/*.services .top-part-popup > *{
    display: inline-block;
    vertical-align: middle;
    width: 49%;
    text-align: center;
}*/
.services .top-part-popup .description{
    font-size: 20px;
    font-weight: bold;
}
.services-news{
    color: #6399cd;
}
.services-news:hover{
    cursor: pointer;
    color: #FFFF00;
}

/*----------------production page---------*/
.production{
    text-align: center;
}
.page-images.production {
    top: -571px;
    left: 0;
}

/*----------------news page---------*/
.page-images.news {
    top: -501px;
    left: 0;
}

/*.new{
    text-align: center;
}
.news .demo-img,
.news .short-description{
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 40px;
}
.news .demo-img{
    width: 370px;
}
.news p b{
    font-size: 100px;
}
.news .short-description{
    width: 537px;
    text-align: center;
}
#content .news .short-description{
    font-size: 30px;
}
.news .short-description span{
    font-size: 0.5em;
}
#content .news .news-signature{
    text-align: left;
    font-size: 12px;
    color: grey;
    padding-top: 15px;
    border-top: dashed 1px grey;
}*/
#content .news .new {
    display: inline-block;
    vertical-align: top;
    width: 290px;
    text-align: center;
    margin: 0 8px 0 0;
    -webkit-transition: 200ms;
    transition: 200ms;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    border-color: rgba(0, 169, 269, 0);
}
#content .news .new:last-of-type{
    margin-right: 0;
}
#content .new:hover{
    border-color: rgba(0, 169, 269, 1);
    cursor: pointer;
}

#content .demo-img {
    width: 290px;
}

#content .news .short-description {
    font-size: 19px;
    color: #ffffff;
}
.news .pop-up-news{
    position: fixed;
    text-align: center;
    display: none;
    overflow-y:scroll;
    overflow-x:hidden;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, 0.7);
}
.news .pop-up-news.active{
    display: block;
}
.news .pop-up-news:before{
    display: inline-block;
    width:  0;
    height: 100%;
    vertical-align: middle;
    content: ''
}
.news .pop-up-news .content{
    display: inline-block;
    position: relative;
    text-align: start;
    margin: 40px 0;
    max-width: 800px;
    /*width: 800px;*/
    padding: 20px;
    border: 5px solid #00A9E2;
    border-radius: 15px;
    box-shadow: inset 0 2px 2px 2px rgba(0,0,0,.4);
    background: url('../images/bg_main.jpg');
    vertical-align: middle
}
.news .close-button{
    position: absolute;
    cursor: pointer;
    background-image: url("../images/close_button.png");
    background-size: cover;
    background-color: #00A9E2;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    right: -20px;
    top: -20px;
    -weblit-transition: 500ms;
    transition: 500ms;
}
.news .close-button:hover{
    background-color: red;
}
.news .hidden-info-block{
    display: none;
}
.news .top-part-popup{
    margin-bottom: 40px;
}
.news .top-part-popup > *{
    display: inline-block;
    vertical-align: middle;
    width: 49%;
    text-align: center;
}
.news .top-part-popup .description{
    font-size: 20px;
    font-weight: bold;
}
/*::-webkit-scrollbar {
    background: #DEDEDE;
    width: 5px !important;
}

::-webkit-scrollbar-thumb {
    background: #7A7A7A;
    border-radius: 5px;
    width: 9px !important;
}*/
/*------for ckeditor-------*/
#cke_News_text{
    max-width: 800px;
}
/*----------------contacts page---------*/
.page-images.contacts {
    top: -359px;
    left: 0;
}

.contacts {
    text-align: center;
}

.contacts h1 {
    margin-top: 45px;
}

.contacts p {
    position: relative;
}

.contacts p:before {
    content: "";
    position: absolute;
    left: 200px;
    width: 532px;
    height: 100%;
    background: url("../images/contacts/phone_mail.png") no-repeat center;
    background-size: 100%;
}

.contacts button {
    position: relative;
    width: 130px;
    height: 50px;
    background: url("../images/contacts/button_mail.png") no-repeat;
    background-size: 100%;
    padding: 0;
    border: none;
    cursor: pointer;
}
.contacts button:active{
    top: 2px;
}
.contacts .pop-up-contacts{
    position: fixed;
    text-align: center;
    display: none;
    overflow-y:scroll;
    overflow-x:hidden;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, 0.7);
}
.contacts .pop-up-contacts.active{
    display: block;
}
.contacts .pop-up-contacts:before{
    display: inline-block;
    width:  0;
    height: 100%;
    vertical-align: middle;
    content: ''
}
.contacts .pop-up-contacts .content{
    display: inline-block;
    position: relative;
    text-align: start;
    margin: 40px 0;
    max-width: 800px;
    /*width: 800px;*/
    padding: 20px;
    border: 5px solid #00A9E2;
    border-radius: 15px;
    box-shadow: inset 0 2px 2px 2px rgba(0,0,0,.4);
    background: url('../images/bg_main.jpg');
    vertical-align: middle
}
.contacts .pop-up-contacts input,
.contacts .pop-up-contacts textarea{
    display: block;
    max-width: 100%;
    width: 300px;
    margin: 10px;
}
.contacts .pop-up-contacts input{
    height: 26px;
}
.contacts .pop-up-contacts input[type=submit]{
    width: 100px;
    margin: 18px auto 0;
}
.contacts .close-button{
    position: absolute;
    cursor: pointer;
    background-image: url("../images/close_button.png");
    background-size: cover;
    background-color: #00A9E2;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    right: -20px;
    top: -20px;
    -weblit-transition: 500ms;
    transition: 500ms;
}
.contacts .close-button:hover{
    background-color: red;
}
