#content .inner {
    width: 100%;
}

#genplan {
    width: 100%;
/ / padding-bottom: 57.7 %;
    position: relative;
    margin-bottom: 30px;
}

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

.cam-trace {
    opacity: 0 !important;
    display: none;
}

.cam-trace.hover {
    opacity: 0.36 !important;
    display: inline;
    z-index: 1;
    position: relative;
}

#pos1, #pos2, #pos3, #pos4, #pos5, #pos6, #pos7, #pos20, #pos3_1, #pos6_1, #pos4_1, #pos5_1, #pos9, #pos10 {
    opacity: 0.4 !important;
    cursor: pointer;
}

#cam-trace, #cam-trace2, #cam-trace3, #cam-trace5, #cam-trace8 {
    display: none;
    transition: .3s all;

}

#cam-group2:hover #cam-trace2, #cam-group:hover #cam-trace-group, #cam-group3:hover #cam-trace3, #cam-group5:hover #cam-trace5, #cam-group8:hover #cam-trace8 {
    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: 'Geologica', 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;
    /*height: 200px;*/
    width: 300px;
    border-radius: 10px;
    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: 55px;
    transform: translateY(-50%);
    display: none;
    opacity: 0;
    transition: .3s all;
}

.pos_img {
    width: 100%;
    height: 200px;
    background: #d8d8d8;
    border-radius: 10px 10px 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% - 86px);
    justify-content: space-between;
}

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

.pos_status {
    position: absolute;
    background: #C53212;
    border-radius: 2px 0px 0px 2px;
    font-family: 'Geologica', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 11.6364px;
    line-height: 14px;
    /* identical to box height */
    padding: 5px 7px;

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

.pos_title {
    font-family: 'Geologica', sans-serif;
    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: 'Geologica', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;

    color: #636363;
}

.pos_info {
    font-family: 'Geologica', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;

    color: #191919;
}

.pos_descr {
    position: absolute;
    background: #1B7734;
    border-radius: 2px 0px 0px 2px;
    font-family: 'Geologica', sans-serif;;
    font-style: normal;
    font-weight: 500;
    font-size: 11.6364px;
    line-height: 14px;
    padding: 5px 7px;
    top: 50px;
    right: 0;
    color: #FFFFFF;
}

.pos_phone a {
    font-family: 'Geologica', sans-serif;;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 17px;
    /* identical to box height */


    color: #454545;
}

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

.link_btn a {
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    display: inline-block;
    justify-content: center;
    align-items: center;
    font-family: 'Geologica', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17.5px;
    /* identical to box height */
    text-decoration: none;
    text-transform: lowercase;

    color: #FFFFFF;
}

.link_btn a::first-letter {
    text-transform: uppercase;
}

.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: 0;
    left: -50px;
    border-radius: 100%;
    background-color: #C53212;
    border: 1px solid #FFF;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

}

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


@keyframes slidein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.pos_ot {
    top: 56%;
    left: 6%;
}

.pos_yk {
    top: 3%;
    left: 28%;
}


.pos1 {
    top: 50%;
    left: 21%;
}

.pos2 {
    right: 78.2%;
    top: 53.5%;
}

.pos3 {
    top: 60%;
    left: 28%;
}

.pos4 {
    top: 35%;
    left: 33%;
}

.pos5 {
    top: 77%;
    left: 25%;
}

.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;
}

.pos.other {
    width: 35px;
    height: 35px;
    background-color: #89cfe9;
    background-image: url(/i/svg/webcam.svg);
    background-size: 65%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    position: absolute;
    cursor: pointer;
}

.pos.other.cam1 {
    left: 50%;
    bottom: 49.5%;
    width: 25px;
    height: 25px;
    background-size: cover;
}

.pos.other.cam2 {
    left: 53%;
    bottom: 35%;
    width: 25px;
    height: 25px;
    background-size: cover;
}

.pos.other.cam3 {
    right: 82.8%;
    bottom: 31%;
    width: 25px;
    height: 25px;
    background-size: cover;

}
.pos.other.cam4 {
    right: 78%;
    bottom: 29%;
    width: 25px;
    height: 25px;
    background-size: cover;

}


#video_box video {
    width: 100% !important;
    height: 100% !important;
    background-color: #000000;
}


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


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

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

}

@media screen and (max-width: 740px) {
    .pos.other.cam1, .pos.other.cam2,.pos.other.cam3,.pos.other.cam4 {
        display: none;
    }

    #genplan > .pos-group {
        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;
        width: 100%;
    }

    /* Отключаю временно заголовок Сданные дома с проданными квартирами */
    .sold-block.sold {
        display: none;
    }

    .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;
    }

    #genplan image {
        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 {
        margin-left: 20px;
        margin-bottom: 20px;
        width:50%;
        min-width: 168px;
    }

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

    #genplan .pos1 {
        left: auto;
        top: auto;
    }

    #genplan .pos2 {
        left: auto;
        top: auto;
    }

    #genplan .pos3 {
        left: auto;
        top: auto;
    }

    .webcams-frame, .webcams-frame2 {
        position: absolute;
        top: 0% !important;
        left: 50% !important;
        transform: translate(-50%, 0%);
        height: auto !important;
        width: 100% !important;
    }
}

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


    .sale_title, .sold_title {
        font-size: 30px;
        margin-bottom: 40px;
        line-height: 1.3;
    }

    .sold_title {
        margin-top: 70px;
    }

    .pos-group {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-bottom: 45px;
    }

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

    .pos_text_block {
        width: 90%;
    }

    .pos_img {
        height: 300px;
        background-size: cover;
        background-position: top;
        background-color: rgba(236, 236, 236, 0.64) !important;
        margin-bottom: 15px;
    }

    .pos_text_block {
        height: auto;
    }

    .pos_address {
        font-size: 15px;
    }

    .pos_info {
        font-size: 15px;
        line-height: 1.3;
    }

    .pos_info br {
        display: none;
    }

    .pos_status {
        font-size: 14px;
    }

    .link_btn {
        width: auto;
        padding: 10px 35px;
        height: auto;
        background: #1B7734;
    }

    .pos_text_block > div.link_btn {
        margin-top: 10px;
    }

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

    .cam_btn {
        top: -14px;
        left: 0;
    }

    .genplan-wrapper h2:not(.sale_title) {
        display: none;
    }
}


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

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

#cam-group4:hover #cam-trace4 {
    display: block;
    opacity: 0.7 !important;
}

#cam-trace4 {
    display: none;
}

#cam-group9:hover #cam-trace9 {
    display: block;
    opacity: 0.7 !important;
}

#cam-trace9 {
    display: none;
}

.webcams-frame, .webcams-frame2 {
    display: none;
    position: absolute;
    top: 16%;
    left: 20%;
    width: 63%;
    height: 69%;
    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/svg/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%;
    }


}

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

    .pos_img {
        height: 300px;
    }
}

@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%;
    }
}



