#content .inner {
    width: 100%;
}

#genplan {
    width: 100%;
    height: 0;
    padding-bottom: 54%;
    position: relative;
}

#genplan svg {
    position: absolute !important;
    width: 100%;
    height: 100%;
}

/*Выноска камеры из админки прячется так же, как нарисованные вручную: её показывает наведение на метку*/
#genplan .cam-trace {
    opacity: 0;
}

/*Слой с плашками позиций и метками — ровно по подложке генплана (IZ-730)*/
.genplan-layer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.genplan-layer > * {
    pointer-events: auto;
}

.genplan-layer .pos-group,
.genplan-layer .pos.other.cam-pos {
    transform: translate(-50%, -50%);
}

#pos1, #pos2, #pos3, #pos4, #pos5, #pos6, #pos7, #pos21, #pos3_1 {
    opacity: 0.4 !important;
    cursor: pointer;
}

/*#cam-trace,#cam-tace2,#cam-trace4{*/
/*    display: none;*/
/*    transition: .3s all;*/
/*}*/
#cam-group2:hover #cam-tace2 {
    display: block;
}

#genplan .inner {
    display: none;
}

.pos-group {
    position: relative;
    display: inline-flex;
    position: absolute;
}

.pos-group:hover .pos_info_block, .pos-group.hover .pos_info_block {
    display: flex;
    animation: .5s linear slidein;
    animation-fill-mode: forwards;

}

.pos-group .pos_num {
    width: 47px;
    height: 47px;
    background: #DF282A;
    border: 2px solid #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 15px;
    line-height: 1;
    /* identical to box height */
    cursor: pointer;
    text-align: center;

    color: #FFFFFF;
}

.pos-group.op .pos_num, .pos-group.yk .pos_num {
    background: #3396E2;
}

.pos_info_block {
    z-index: 5;
    width: calc(168px * 1.5);
    border-radius: 5px;
    box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.5);
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    position: absolute;
    left: 35px;
    transform: translateY(-50%);
    display: none;
    opacity: 0;
    transition: .3s all;
    border: 2px solid #fff;
}

.pos_img {
    width: 100%;
    height: 150px;
    background: #d8d8d8;
    border-radius: 5px 5px 0px 0;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;

}

.pos_text_block {
    display: flex;
    flex-direction: column;
    padding: 0 13px;
    background: transparent;
    margin-bottom: 16px;
    position: relative;
    height: calc(100% - 150px);
    justify-content: space-between;
    width: 100%;
}

.pos_text_block > div {
    text-align: center;
    margin-bottom: 6px;
}

.pos_status {
    position: absolute;
    background: #F94244;
    border-radius: 2px 0px 0px 2px;
    font-family: Fira Sans;
    font-style: normal;
    font-weight: 500;
    font-size: 11.6364px;
    line-height: 14px;
    /* identical to box height */
    padding: 5px 7px;

    top: 11px;
    right: 0;
    color: #FFFFFF;
}

.pos_title {
    font-family: Fira Sans;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
    margin: 17px 0 6px 0;
    color: #191919;
}

.pos_address {
    font-family: Fira Sans;
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;

    color: #636363;
}

.pos_info {
    font-family: Fira Sans;
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;

    color: #191919;
}

.pos_descr {
    position: absolute;
    background: #3396e2e8;
    border-radius: 2px 0px 0px 2px;
    font-family: Fira Sans;
    font-style: normal;
    font-weight: 500;
    font-size: 11.6364px;
    line-height: 14px;
    padding: 5px 7px;
    top: 40px;
    right: 0;
    color: #FFFFFF;
}

.pos_phone a {
    font-family: Fira Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 17px;
    /* identical to box height */


    color: #454545;
}

.link_btn {
    width: 111px;
    height: 30px;
    margin: 0 auto;
    background: #59B457;
    border-radius: 1.64444px;
    transition: .3s all;
    margin-top: 15px;
}

.link_btn a {
    //display: block;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Fira Sans;
    font-style: normal;
    font-weight: 500;
    font-size: 9.34235px;
    line-height: 10px;
    /* identical to box height */
    text-transform: uppercase;
    color: #FFFFFF;
}

.link_btn:hover {
    background: #469d44;
}

.pos-group.op .link_btn:hover, .pos-group.yk .link_btn:hover {
    background: #2184d0;
}


.pos-group.op .link_btn, .pos-group.yk .link_btn {
    background: #3396E2;
}

.cam_btn {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    top: -4px;
    left: 5px;
    border-radius: 100%;
    background: red;
    border: 0.785714px solid #FFFFFF;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;

}

.cam_btn:before {
    content: '';
    width: 40px;
    height: 40px;
    background-image: url(/i/icon-camhand.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@keyframes slidein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}










.pos19_1 .pos_num {
    font-size: 14px;
}


.pos_ot {
    left: 22%;
    bottom: 32%;
}

.pos_uk {
    left: 18%;
    bottom: 36%;
}

.pos {
    content: "";
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid #FFF;
    background-size: cover;
    z-index: 5;
    background-color: #e12325;
    border-radius: 100%;
    cursor: pointer;
    transition: .3s all;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    line-height: 1;
    font-weight: 600;
    color: #FFF;
    font-size: 18px;
}

/*.svg-cam2:hover,.svg-cam1:hover{
    opacity: 0.4 !important
}*/
.pos.other {
    width: 35px;
    height: 35px;
    background-color: #89cfe9;
    background-image: url(/i/webcam.svg);
    background-size: 65%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
}

.pos.other:before {
    background-color: #89cfe9;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    text-align: center;
    position: absolute;
    line-height: 1.2;
    font-weight: 400;
    z-index: 2;
    transition: .3s all;
    color: #fff;
    right: -80px;
    top: -60px;
    min-width: 120px;
    display: none;
}

.pos.other:hover::before, .pos.other.ds1:hover::after, .pos.other.ds2:hover::after, .pos.other.school:hover::after, .pos.other.sale_office:hover::after, .pos.other.tc:hover::after {
    display: block;
}

.pos.other.ds1:after, .pos.other.ds2:after, .pos.other.school:after, .pos.other.sale_office:after, .pos.other.tc:after {
    border: 33px solid transparent;
    border-left: 10px solid #89cfe9;
    border-top: 20px solid #89cfe9;
    content: '';
    position: absolute;
    left: 16px;
    bottom: 13px;
    transition: .3s all;
    display: none;

}

.pos.other.ds1, .pos.other.ds2 {
    background-image: url(/i/map/ds.svg);
}

.pos.other.ds1:before, .pos.other.ds2:before {
    content: "Детский сад"
}

.pos.other.school {
    background-image: url(/i/map/school.svg);
    top: 6%;
    left: 58%;
}

.pos.other.school:before {
    content: "Школа";
}

.pos.other.sale_office {
    background-image: url(/i/map/sale-office.svg);
    left: 40%;
    bottom: 34%;
}

.pos.other.sale_office:before {
    content: "Отдел продаж, ул. Д. Средина, 7, т. 32-00-22";
    top: -105px;
    right: -125px;
}

.pos.other.tc {
    background-image: url(/i/map/tc.svg);
    right: 15.5%;
    bottom: 26%;
}

.pos.other.tc:before {
    content: "Торговый центр";
    top: -85px;
}

.pos.other.ds1 {
    right: 28%;
    bottom: 58%;
}

.pos.other.ds2 {
    right: 54.5%;
    bottom: 54%;
}

.pos.other.cam-pos {
    background-size: cover;
    width: 25px;
    height: 25px;
}

.pos.other.cam1:hover, .pos.other.cam2:hover, .pos.other.cam3:hover, .pos.other.cam4:hover .pos.other.cam7:hover {
    background-image: url(/i/webcam.svg) !important;
    background-color: #fff;
}





/*.pos_yk{
    top: 3%;
    left: 28%;
}
.pos3_1{
    right: 50.5%;
    top: 48%;
}
.pos7{
    right: 36%;
    top: 51%;
}*/


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

    .pos-group .pos_num {
        width: 35px;
        height: 35px;
        font-size: 12px
    }

}

@media screen and (max-width: 740px) {
    .genplan-layer {
        display: none;
    }

    #genplan .inner {
        display: block;
    }

    .pos-group {
        position: relative;
        top: unset;
        left: unset;
        right: unset;
        bottom: unset;
    }

    .sale_block, .sold-block, .ot_uk_block {
        display: flex;
        flex-wrap: wrap;
        margin-left: -20px;
        justify-content: center;
        margin-bottom: 20px;
    }

    .sale_title, .sold_title {
        margin-bottom: 15px;
        width: 100%;
        margin-left: 20px;
        font-size: 20px;
        font-weight: 400;
    }

    #genplan {
        padding-bottom: 0 !important;
        height: unset !important;
        display: flex;
        flex-wrap: wrap;
        width: 90% !important;
        margin: 0 auto;
        justify-content: center;


    }

    #genplan svg {
        display: none;
    }

    .pos_info_block {
        display: flex;
        position: unset;
        left: unset;
        transform: unset;
        opacity: 1;
        width: 100%;
        box-shadow: 2px 5px 6px 0px rgba(0, 0, 0, 0.5)
    }

    .pos-group .pos_num {
        display: none;
    }

    .pos-group, .ot_uk_block {
        margin-left: 20px;
        margin-bottom: 20px;
        width: calc(33% - 20px);
        min-width: 168px;
    }

    .ot_uk_block .pos-group {
        width: 100%;
        margin: 0;
    }

    .pos-group:hover .pos_info_block, .pos-group.hover .pos_info_block {
        animation: unset;
    }

    .pos {
        display: none;
    }

    .cam_btn {
        width: 40px;
        height: 40px;
    }
    .cam_btn:before{
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 600px) {
    .pos-group {
        width: calc(50% - 20px);
    }

}

@media screen and (max-width: 600px) {
    .pos-group {
        width: 100%;
        margin-left: 0;
    }

    .sale_block, .sold-block, .sale_title, .sold_title, .ot_uk_block {
        margin-left: 0;
    }

    .pos_text_block {
        width: 90%;
    }

    .pos_img {
        height: 110px;
        background-size: contain;
        background-color: rgba(236, 236, 236, 0.64);

    }
}

/*.pos {
    content: "";
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid #FFF;
    background-size: cover;
    z-index: 5;
    background-color: #e12325;
    border-radius: 100%;
    cursor: pointer;
    transition: .3s all;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    line-height: 1;
    font-weight: 600;
    color: #FFF;
    font-size: 18px;
    cursor: pointer;
}
.pos-number {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.pos span {
    font-size: 13px;
}
.pos-info {
    display: none;
    transition: .3s all;
    position: absolute;

    height: 50px;
    width: 200px;
    background-color: #fff;
    border-radius: 23px;
    min-height: 50px;
    box-shadow: 0px 0px 15px;
    padding: 13px 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #000;
    z-index: 100;
}
.pos-name {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    font-weight: 400;
    font-size: 20px;
}
.info-icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
    margin: 0 auto;
    margin-bottom: 10px;
}
.info-icon li {
    content: "";
    display: block;
    width: 25px;
    height: 25px;
    background-size: cover;
    transition: .3s all;
    opacity: 0.7;
    position: relative;
}
.info-icon li a{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    z-index: 15;
}
.build-time {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    margin: 0 auto;
}
.build-time span {
    font-size: 20px;
}
.pos-info.sale_h .pos-address{
    padding: 0;
}
.pos-info.sale_h .build-time span{
    font-size: 15px;
    color: red;
    font-weight: bold;
}
.info-icon li:hover{
    opacity: 1;
}
.info-icon .webcam{
    background-image: url(/i/webcam.svg);
}
.info-icon .tour{
    background-image: url(/i/map/3d.svg);
}
.info-icon .buy{
    background-image: url(/i/map/buy.svg)
}
.buy-text{
    text-align: center;

}
.buy-text a{
    color: #279c27;
    border-bottom: 1px solid transparent;
    transition: .3s all;
    font-size: 17px;
    font-weight: 500;
}
.buy-text:hover a{
    border-bottom: 1px solid #279c27;
}
.pos-address{
    font-size: 15px;
    font-weight: 300;
    padding-bottom: 5px;
    text-align: center;
}
.pos-progress{
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 10px;
    color: #279c27;
    text-align: center;
}
.pos-aparts{
    font-size: 15px;
    font-weight: 300;
    text-align: center;
    color: red;
    padding-bottom: 15px;
}


.pos.pos20,.pos-info.pos20{
    right: 52%;
    top: 22%;
}
.pos.pos3_1, .pos-info.pos3_1{
    right: 50.5%;
    top: 48%;
}
.pos.pos7,.pos-info.pos7{
    right: 36%;
    top: 51%;
}
.pos.pos1,.pos-info.pos1 {
    left: 3.3%;
    top: 10%;
}
.pos.pos2,.pos-info.pos2 {
    left: 5.8%;
    top: 3%;
}

.pos.pos3,.pos-info.pos3 {
    left: 11.5%;
    top: 3%;
}
.pos.pos4,.pos-info.pos4 {
    left: 21%;
    top: 6%;
}
.pos.pos5,.pos-info.pos5 {
    left: 31%;
    top: 10%;
}
.pos.pos6,.pos-info.pos6 {
    left: 15%;
    top: 20%;
}
.uk-block,.sale-office{
    position: absolute;


}
.uk-block {
    top: 3%;
    left: 28%;
}
.sale-office {
    top: 12%;
    left: 10%;
}
.uk-icon,.sale-icon{
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border:2px solid #fff;
    background-color: #89cfe9;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
}
.uk-block:hover  .uk-info,.sale-office:hover .sale-info{
    display: flex;
    opacity: 1;
    z-index: 100;
}
.uk-info,.sale-info{
    display: none;
    position: absolute;
    top: 0;
    opacity: 0;
width: 500px;
    padding: 20px;
    background-color: #89cfe9;
    border-radius: 20px;
    border:2px solid #fff;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    transition: .3s all;
}
.uk-img,.sale-img{
    margin-right: 30px;
    content: '';
    background-image: url(/i/sale-office.JPG);
    background-size: cover;
    width: 200px;
    height: auto;
    padding-bottom: 30%;

}
.uk-img{
    background-image: url(/i/teh2.jpg)
}
.uk-text,.sale-text{
    color: #fff;
    width: 250px;
}
.uk-text > div,.sale-text > div{
    margin-bottom: 5px;
}
.uk-title,.sale-title{

}
.uk-address,.sale-address{

}
.uk-phone{

}*/
#cam-trace {
    transition: .3s all;
}

#cam-group:hover #cam-trace {
    display: block;
    opacity: 0.7 !important;
}

#genplan .webcams-frame, .webcams-frame2 {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    height: 50vw;
    max-height: 90%;
    min-width: 320px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid red;
    z-index: 200;
    transition: .3s all;

}

.webcams-frame.web-open, .webcams-frame2.web-open {
    display: block;
    transition: .3s all;
}

.webcams-frame iframe, .webcams-frame2 iframe {
    width: 100%;
    height: 100%;
}

.close-btn-block {
    border-radius: 100%;
    border: 1px solid red;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 4px;
    right: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

.popup_close-btn.frame {
    cursor: pointer;
    font-size: 18px;
    color: #BABABA;
    background: url(/i/cancel.svg) no-repeat center;
    width: 15px;
    height: 15px;
    background-size: 100%;
    padding: 0px 7px;
    transition: all 0.25s ease;
}

.popup_close-btn.frame:hover {
    transform: scale(1.1);
}

@media screen and (max-width: 640px) {
    .webcams-frame {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        padding: 0;
    }

    .webcams-frame iframe {
        margin: 0;
    }
}

@media screen and (max-width: 800px) {
    .uk-img, .sale-img {
        display: none
    }

    .uk-text, .sale-text {
        width: 200px;
        font-size: 15px;
    }
}

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


}

@media screen and (max-width: 900px) {
    /*        .pos-info{
                left: -5px;
                bottom: -5px;
            }*/
    .pos {
        width: 30px;
        height: 30px;
        font-size: 95%;
    }

    .pos-number > span {
        display: none;
    }

    .pos.other, .uk-icon, .sale-icon {
        width: 27px;
        height: 27px;
        font-size: 90%;
    }
}

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

}

@media screen and (max-width: 560px) {
    #content {
        overflow: hidden;
    }

    #content .inner {
        width: 145%;
    }

    .pos {
        width: 25px;
        height: 25px;
    }

    .pos.other, .uk-icon, .sale-icon {
        width: 20px;
        height: 20px;
        font-size: 80%;
    }

    .pos_address {
        font-size: 15px;
    }

    .pos_info {
        font-size: 15px;
    }
}

@media screen and (max-width: 485px) {
    .pos-group {
        width: 100%;
    }

    .pos-group.pos27, .pos-group.pos19 {
        display: none;
    }

    .pos_info_block {
        margin-bottom: 40px;
    }

    .pos_img {
        height: 0;
        padding-bottom: 68%;
    }

    .pos_title {
        margin-top: 35px;
    }

    .link_btn {
        width: auto;
        padding: 10px 35px;
        height: auto;
        margin-top: 15px;
    }

    .link_btn a {
        font-size: 14px;
    }

    .pos_info {
        line-height: 1.3;
    }

    .ot_uk_block {
        width: 100%;
    }
}


@media screen and (max-width: 360px) {
    .pos-number {
        font-size: 58%;
    }

    .pos {
        width: 15px;
        height: 15px;
    }

    .uk-icon, .sale-icon {
        width: 15px;
        height: 15px;
        font-size: 40%;
    }
}



