.demo {
    margin: -5px auto 60px auto;
    position: relative;
    width: 255px;
    text-align: left !important;
    font-family: "Rubik";
    background: none !important;
}

.demo-form {
    border: 3px solid #000;
    border-radius: 13px;
    padding: 20px 28px 10px 20px;
    margin-bottom: 45px;
    margin-top: 15px;
}

@media screen and (max-width: 767px) {
    
}

@media screen and (min-width: 768px) {
    .demo {
        margin: 38px 0 0 -8.25%;
        width: 356px;
    }
}

@media screen and (min-width: 1025px) {
    .demo {
        width: 495px;
        margin: 0 0 175px 1.75%;
    }
}


/*.demo__bg {
    width: 244px;
    height: 234px;
    -webkit-transform: perspective(200px) rotateY(-3deg);
    transform: perspective(200px) rotateY(-3deg);
    position: relative;
}

*/

@media screen and (min-width: 768px) {
    .demo__bg {
        width: 335px;
        height: 318px;
    }
}

@media screen and (min-width: 1025px) {
    .demo__bg {
        width: 464px;
        height: 430px;
        -webkit-transform: perspective(200px) rotateY(-3deg);
        transform: perspective(200px) rotateY(-3deg);
        position: relative;
    }
}

.demo__bg-top {
    position: absolute;
    right: 0;
    left: 7px;
    top: -6px;
    margin: auto;
    /* background: url("/images/demo__bg-top.png") no-repeat; */
    width: 17px;
    height: 20px;
    z-index: 100;
    background-size: 100%;
}

@media screen and (min-width: 768px) {
    .demo__bg-top {
        top: -9px;
        width: 27px;
    }
}

@media screen and (min-width: 1025px) {
    .demo__bg-top {
        left: 15px;
        top: -11px;
        width: 35px;
        height: 26px;
    }
}

.demo__bg-bottom {
    position: absolute;
    left: 1px;
    right: 0;
    bottom: -80px;
    margin: auto;
    background: url("/images/demo__bg-bottom.png") no-repeat;
    width: 20px;
    height: 173px;
    z-index: 100;
    background-size: 100%;
}

@media screen and (min-width: 768px) {
    .demo__bg-bottom {
        left: 6px;
        bottom: -166px;
        width: 26px;
        height: 173px;
    }
}

@media screen and (min-width: 1025px) {
    .demo__bg-bottom {
        left: 12px;
        bottom: -80px;
        width: 38px;
        height: 173px;
    }
}

.demo__bg-font1 {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
    line-height: 18px;
    margin: 8px 0 0 4px;
    letter-spacing: 2px;
}

@media screen and (min-width: 768px) {
    .demo__bg-font1 {
        font-size: 24px;
        line-height: 30px;
        margin: 12px 0 0 6px;
    }
}

@media screen and (min-width: 1025px) {
    .demo__bg-font1 {
        font-size: 30px;
        margin: 18px 0 0 5px;
        letter-spacing: 4.25px;
    }
}

.demo__bg-font1__en {
    margin: 0 0 0 5px;
}

@media screen and (min-width: 768px) {
    .demo__bg-font1__en {
        margin: 0px 0 0 6px;
    }
}

@media screen and (min-width: 1025px) {
    .demo__bg-font1__en {
        margin: 6px 0 0 5px;
    }
}

.demo__bg-font1__en__small {
    text-transform: lowercase;
    letter-spacing: 1px;
}

.demo__bg-font1__fix {
    margin: 6px 0 0 0;
    font-size: 16px;
    height: 18px;
}

@media screen and (min-width: 768px) {
    .demo__bg-font1__fix {
        margin: 3px 0 0 0;
        font-size: 20px;
        height: 30px;
    }
}

@media screen and (min-width: 1025px) {
    .demo__bg-font1__fix {
        margin: 15px 0 0 0;
        font-size: 30px;
        letter-spacing: 1.25px;
    }
}

.demo__bg-font2 {
    text-transform: uppercase;
    font-size: 21px;
    font-weight: 500;
    line-height: 20px;
    margin: 0px 0 0 5px;
}

@media screen and (min-width: 768px) {
    .demo__bg-font2 {
        font-size: 29px;
        line-height: 23px;
        letter-spacing: 0.5px;
    }
}

@media screen and (min-width: 1025px) {
    .demo__bg-font2 {
        font-size: 43px;
        line-height: 30px;
        margin: 6px 0 0 6px;
        letter-spacing: 1px;
    }
}

.demo__bg-font2__en {
    margin: 11px 0 0 5px;
}

@media screen and (min-width: 768px) {
    .demo__bg-font2__en {
        margin: 18px 0 0 5px;
    }
}

@media screen and (min-width: 1025px) {
    .demo__bg-font2__en {
        margin: 24px 0 0 5px;
    }
}

.demo__bg-font2__fix {
    margin: 12px 0 0 -1px;
    font-size: 22px;
    letter-spacing: 1px;
    height: 20px;
}

@media screen and (min-width: 768px) {
    .demo__bg-font2__fix {
        margin: 24px 0 0 0px;
        font-size: 29px;
        letter-spacing: 0;
        height: 23px;
    }
}

@media screen and (min-width: 1025px) {
    .demo__bg-font2__fix {
        margin: 33px 0 0 0px;
        font-size: 43px;
        letter-spacing: -2px;
        height: 30px;
    }
}

.demo__bg-font3 {
    float: right;
    font-size: 22px;
    font-weight: 500;
    margin: 19px -20px 0 0;
}

@media screen and (min-width: 768px) {
    .demo__bg-font3 {
        font-size: 29px;
        margin: 25px -25px 0 0;
    }
}

@media screen and (min-width: 1025px) {
    .demo__bg-font3 {
        float: right;
        font-size: 30px;
        margin: 33px -36px 0 0;
    }
}

.demo__bg-font4 {
    text-transform: uppercase;
    font-size: 21px;
    font-weight: 500;
    line-height: 20px;
    margin: 10px 0 0 0px;
    color: #fff;
    background: #2e3192;
    display: inline-block;
    vertical-align: top;
    padding: 2px 6px;
    letter-spacing: 1.2px;
    border-radius: 5px;
}

@media screen and (min-width: 768px) {
    .demo__bg-font4 {
        font-size: 29px;
        line-height: 30px;
        margin: 14px 0 0 0px;
    }
}

@media screen and (min-width: 1025px) {
    .demo__bg-font4 {
        font-size: 43px;
        line-height: 30px;
        margin: 19px 0 0 0px;
        padding: 8px 6px;
        border-radius: 5px;
    }
}

.demo__bg-item {
    z-index: 200;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.demo__bg-item:nth-child(1) {
    border: 2px solid black;
    border-bottom: none;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    height: 58px;
}

@media screen and (min-width: 768px) {
    .demo__bg-item:nth-child(1) {
        border: 3px solid black;
        height: 77px;
    }
}

@media screen and (min-width: 1025px) {
    .demo__bg-item:nth-child(1) {
        height: 109px;
    }
}

.demo__bg-item:nth-child(2) {
    border: 2px solid black;
    height: 58px;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    margin-top: -2px;
}

@media screen and (min-width: 768px) {
    .demo__bg-item:nth-child(2) {
        border: 3px solid black;
        height: 77px;
        margin-top: -3px;
    }
}

@media screen and (min-width: 1025px) {
    .demo__bg-item:nth-child(2) {
        height: 109px;
    }
}

.demo__bg-item:nth-child(3) {
    border: 2px solid black;
    border-radius: 14px;
    background: #fff200;
    height: 71px;
    margin-top: 2px;
}

@media screen and (min-width: 768px) {
    .demo__bg-item:nth-child(3) {
        border: 3px solid black;
        height: 96px;
    }
}

@media screen and (min-width: 1025px) {
    .demo__bg-item:nth-child(3) {
        height: 137px;
    }
}

.demo__bg-item-arrow {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
    height: 34px;
}

@media screen and (min-width: 768px) {
    .demo__bg-item-arrow {
        height: 52px;
    }
}

@media screen and (min-width: 1025px) {
    .demo__bg-item-arrow {
        height: 69px;
    }
}

.demo__bg-item-arrow__rotate90 {
    transform: rotate(90deg);
}

.demo__bg-item-arrow__rotate90-2 {
    display: none;
}

.demo__bg-item-arrow__rotate180 {
    transform: rotate(180deg);
}

.demo__bg-item-arrow__rotate270 {
    transform: rotate(270deg);
}

.demo__bg-item-left {
    position: relative;
    float: left;
    height: 100%;
    width: 49px;
}

.rightarrow {
    display: none;
}

@media screen and (min-width: 768px) {
    .demo__bg-item-left {
        width: 71px;
    }
}

@media screen and (min-width: 1025px) {
    .demo__bg-item-left {
        width: 100px;
    }
}

.demo__bg-item-center {
    float: left;
    width: 160px;
}

@media screen and (min-width: 768px) {
    .demo__bg-item-center {
        width: 194px;
    }
}

@media screen and (min-width: 1025px) {
    .demo__bg-item-center {
        width: 270px;
    }
}

.demo__bg-item-center__wide {
    width: 185px;
}

@media screen and (min-width: 768px) {
    .demo__bg-item-center__wide {
        width: 253px;
    }

}

@media screen and (min-width: 450px) {
 
    .demo__bg-item-arrow__rotate90-2 {
        transform: rotate(90deg);
        left: 220px !important;
    }
}

@media screen and (min-width: 1025px) {
    .demo__bg-item-center__wide {
        width: 358px;
    }
}

.demo__bg-item-right {
    height: 100%;
    position: relative;
    float: left;
    height: 100%;
}

@media screen and (min-width: 768px) {
    .demo__bg-item-right {
        width: 54px;
    }
}

@media screen and (min-width: 1025px) {
    .demo__bg-item-right {
        width: 88px;
    }
}

.demo__desk {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 900;
}

.demo__desk-item {
    font-size: 12px;
    line-height: 14px;
    position: absolute;
    font-weight: 300;
    z-index: 300;
    color: #000;
}

@media screen and (min-width: 768px) {
    .demo__desk-item {
        font-size: 16px;
        line-height: 20px;
        color: #626f78;
    }
}

.demo__desk-item:nth-child(1) {
    right: 0;
    top: -50px;
    width: 100px;
}

@media screen and (min-width: 768px) {
    .demo__desk-item:nth-child(1) {
        right: 0;
        top: -100px;
        width: 100px;
    }

    .demo__desk-item:nth-child(1):before {
        height: 72px !important;
        width: 1px !important;
        left: 36px !important;
        top: 41px !important;
    }
}

@media screen and (min-width: 1025px) {
    .demo__desk-item:nth-child(1) {
        right: auto;
        top: -85px;
        right: 5px;
    }

    .demo__desk-item:nth-child(1):before {
        height: 93px !important;
        width: 1px !important;
        left: 44px !important;
        top: 42px !important;
    }
}

@media screen and (min-width: 1200px) {
    .demo__desk-item:nth-child(1) {
        right: -148px;
        top: 31px;
        width: 100px;
    }

    .demo__desk-item:nth-child(1):before {
        width: 82px !important;
        height: 1px !important;
        left: -90px !important;
        top: 9px !important;
    }
}

.demo__desk-item:nth-child(1):before {
    content: '';
    background: #c4c2c9;
    position: absolute;
    height: 44px;
    width: 1px;
    left: 36px;
    top: 18px;
}

.demo__desk-item:nth-child(2) {
    left: 0;
    top: -50px;
    width: 100px;
}

@media screen and (min-width: 768px) {
    .demo__desk-item:nth-child(2) {
        left: 0;
        top: -100px;
        width: 100px;
    }

    .demo__desk-item:nth-child(2):before {
        height: 92px !important;
        width: 1px !important;
        left: 42px !important;
        top: 41px !important;
    }
}

@media screen and (min-width: 1025px) {
    .demo__desk-item:nth-child(2) {
        top: -85px;
        left: 15px;
    }

    .demo__desk-item:nth-child(2):before {
        height: 93px !important;
        width: 1px !important;
        left: 44px !important;
        top: 42px !important;
    }
}

@media screen and (min-width: 1200px) {
    .demo__desk-item:nth-child(2) {
        left: auto;
        right: -158px;
        top: 234px;
        width: 110px;
    }

    .demo__desk-item:nth-child(2):before {
        width: 83px !important;
        height: 1px !important;
        left: -94px !important;
        top: 10px !important;
    }
}

.demo__desk-item:nth-child(2):before {
    content: '';
    background: #c4c2c9;
    position: absolute;
    height: 45px;
    width: 1px;
    left: 29px;
    top: 34px;
}

.demo__desk-item:nth-child(3) {
    z-index: 100;
    top: 310px;
    width: 250px;
    text-align: center;
}

@media screen and (min-width: 768px) {
    .demo__desk-item:nth-child(3) {
        right: 0;
        top: auto;
        width: 300px;
        bottom: -142px;
        left: 0;
        margin: auto;
        z-index: 100 !important;
    }
}

@media screen and (min-width: 768px) {
    .demo__desk-item:nth-child(3) {
        bottom: -162px;
    }
}

@media screen and (min-width: 1200px) {
    .demo__desk-item:nth-child(3) {
        right: -168px;
        top: 336px;
        width: 120px;
        text-align: left;
        left: auto;
    }

    .demo__desk-item:nth-child(3):before {
        content: '';
        width: 79px;
        height: 1px;
        background: #c4c2c9;
        position: absolute;
        left: -90px;
        top: 9px;
    }
}

.demo__desk-item:nth-child(4) {
    top: 242px;
    width: 119px;
    right: 0;
}

@media screen and (min-width: 768px) {
    .demo__desk-item:nth-child(4) {
        top: 359px;
        width: 161px;
        right: 0;
    }

    .demo__desk-item:nth-child(4):before {
        height: 65px !important;
        width: 1px !important;
        left: 12px !important;
        top: -68px !important;
    }
}

@media screen and (min-width: 1025px) {
    .demo__desk-item:nth-child(4) {
        width: 200px;
        left: 321px;
        bottom: -60px;
        right: auto;
        top: auto;
    }

    .demo__desk-item:nth-child(4):before {
        height: 79px !important;
        width: 1px !important;
        left: 6px !important;
        top: -88px !important;
    }
}

.demo__desk-item:nth-child(4):before {
    content: '';
    height: 27px;
    width: 1px;
    background: #c4c2c9;
    position: absolute;
    left: 12px;
    top: -28px;
}

.demo__desk-item:nth-child(5) {
    width: 125px;
    left: 9px;
    top: auto;
    top: 242px;
}

@media screen and (min-width: 768px) {
    .demo__desk-item:nth-child(5) {
        top: 338px;
        width: 150px;
        left: 9px;
    }

    .demo__desk-item:nth-child(5):before {
        height: 41px !important;
        width: 1px !important;
        left: 10px !important;
        top: -44px !important;
    }
}

@media screen and (min-width: 1025px) {
    .demo__desk-item:nth-child(5) {
        width: 195px;
        left: 25px;
        bottom: -50px;
        right: auto;
        top: auto;
    }

    .demo__desk-item:nth-child(5):before {
        height: 50px !important;
        width: 1px !important;
        left: 5px !important;
        top: -63px !important;
    }
}

.demo__desk-item:nth-child(5):before {
    content: '';
    height: 25px;
    width: 1px;
    background: #c4c2c9;
    position: absolute;
    left: 10px;
    top: -27px;
}

.demo-form__ttl {
    margin-top: 18px;
}

.demo-form__text {
    font-size: 16px;
    line-height: 24px;
    color: #626f78;
    font-weight: 300;
    margin: 0 0px 9px 0;
    letter-spacing: 0.15px;
}

@media screen and (max-width: 767px) {
    .demo-form__text {
        margin: 0 auto 9px auto;
    }
}

@media screen and (min-width: 768px) {
    .demo-form__text {
        margin: 0 30px 9px 0;
    }
}

@media screen and (min-width: 1025px) {
    .demo-form__text {
        margin: -4px 30px 16px 0;
    }
}

.demo-form__input, .demo-form__input:focus, .demo-form__input:active {
    padding: 8px 9px 8px 9px !important;
    width: 99%; 
    border: 1px solid #1f1f1f !important;
}

@media screen and (min-width: 768px) {
    .demo-form__input {
       /* width: 151px; */
        box-sizing: content-box;
    }
}

.demo-form__input-cont {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 7px;
}

@media screen and (min-width: 768px) {
    .demo-form__input-cont {
        margin-bottom: 12px;
    }
}

.demo-form__input-comment {
    font-size: 11px;
    line-height: 22px;
    color: #999999;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    height: 22px;
    margin: auto;
}

.demo-form__arrows {
    margin-bottom: 36px;
    margin-top: 12px;
}

@media screen and (min-width: 768px) {
    .demo-form__arrows {
        margin-top: 0;
        margin-bottom: 46px;
    }
}

@media screen and (min-width: 1025px) {
    .demo-form__arrows {
        margin-top: 20px;
        margin-bottom: 30px;
    }
}

.demo-form__arrows-item {
    width: 36px;
    height: 36px;
    background: #f6f7f7;
    display: inline-block;
    vertical-align: top;
    margin-right: 4px;
    position: relative;
}

.demo-form__arrows-item.active {
    background: #fff200;
}

.demo-form__arrows-item-pic {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 16px;
    margin: auto;
}

.demo-form__arrows-item-pic__rotate90 {
    transform: rotate(90deg);
}

.demo-form__arrows-item-pic__rotate180 {
    transform: rotate(180deg);
}

.demo-form__arrows-item-pic__rotate270 {
    transform: rotate(270deg);
}

.demo-form__buttons {
    text-align: center;
}

@media screen and (min-width: 768px) {
    .demo-form__buttons {
        text-align: left;
    }
}
