/* TOURS */
.tours_wrap{
    position: relative;
    overflow: hidden;
}
.tours_bl_1{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #63bbf0;
    text-align: center;
    padding-top: 9rem;
    position: relative;
}
.tours_bl_1_title{
    font-size: 4.8rem;
    color: #fff;
    margin: 7rem 0;
    z-index: 2;
}
.tours_bl_1_bg{
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    z-index: 1;
}
.tours_bl_2{
    padding: 6.5rem 0 0;
}
.tours_bl_2_cont{
    width: calc(21.5vw + 98.7rem);
    margin: auto;
    width: 100%;
    padding: 0 6rem;
    max-width: 100%;
    padding-bottom: 11.7rem;
}
.tours_wr{
    display: grid;
    grid-template-columns: 58.6rem 58.6rem;
    justify-content: center;
    align-items: center;
    grid-gap: 9rem;
}
.tours_item_wrap{

}
.tours_item_title{
    font-size: 2.2rem;
    color: #4c5d67;
    line-height: 36px;
    margin-bottom: 1.9rem;
    font-weight: 400;
    transition: all .9s cubic-bezier(.19,1,.22,1);
}
.tours_item_wr{
    position: relative;
    overflow: hidden;
    height: 33rem;
}
.tours_item_prev{
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e1e1e1;
}
.tours_item_prev:before {
    content: '';
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, .2);
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all .9s cubic-bezier(.19,1,.22,1);
    z-index: 2;
}
.tours_item_img{
    max-width: 100%;
    max-height: 100%;
    display: block;
    transition: all .9s cubic-bezier(.19,1,.22,1);
}
.tours_item_icon{
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    bottom: 0;
    transform: scale(.8);
    z-index: 2;
    transition: all .9s cubic-bezier(.19,1,.22,1);
    opacity: 0;
}
.tours_item_prev:after {
    content: '';
    left: 50%;
    top: 50%;
    border: 1px solid #a9a1a1;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: all .9s cubic-bezier(.19,1,.22,1);
    z-index: 2;
    transform: translate(-50%, -50%);
}
.tours_item_btns{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: all .9s cubic-bezier(.19,1,.22,1);
    transform: translateY(-100%);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    z-index: 3;
}
.tours_item_wrap:hover .tours_item_btns{
    transform: translateY(0);
}
.tours_item_btn{
    cursor: pointer;
    height: 4rem;
    width: 4rem;
    background-color: #ededed;
    border-radius: 4px;
    transition: opacity 0.2s ease-in-out;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .9s cubic-bezier(.19,1,.22,1);
}
.tours_item_btn:hover{
    opacity: 0.5;
}
.tours_item_btn_icon{
    pointer-events: none;
    max-width: 80%;
    max-height: 80%;
}
.tour_edit_create_room_btn{
    background: #a6d747;
    padding: 1rem 2rem;
    font-size: 2rem;
    display: inline-block;
    cursor: pointer;
}
.tour_edit_create_room_btn:hover{
    opacity: 0.5;
}
.tours_btn_save{
    color: #fff;
    text-align: center;
    font-size: 1.4rem;
    height: 5rem;
    text-transform: uppercase;
    background: #a6d747;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18rem;
    cursor: pointer;
    display: inline-flex;
    transition: all .9s cubic-bezier(.19,1,.22,1);
}
.tours_btn_save:hover{
    opacity: 0.5;
}
.tours_edit_plan_wrap{
    width: 33.3rem;
    height:	19.8rem;
    border: 1px solid #E1E1E1;
    border-radius: 4px;
    position: relative;
    overflow: hidden;

    transition: all .9s cubic-bezier(.19,1,.22,1);
}

.tours_edit_plan_wr{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.tours_edit_plan_wr img{
    max-width: 100%;
    max-height: 100%;
}
.tours_edit_plan_btns {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, .5);
    transition: all .9s cubic-bezier(.19,1,.22,1);
    transform: translateY(-100%);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    z-index: 3;
}
.tours_edit_plan_wrap_active:hover .tours_edit_plan_btns {
    transform: translateY(0);
}
.tours_edit_plan_btn {
    cursor: pointer;
    height: 4rem;
    width: 4rem;
    background-color: #ededed;
    border-radius: 4px;
    transition: opacity .2s ease-in-out;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .9s cubic-bezier(.19,1,.22,1);
}
.tours_edit_plan_btn:hover {
    opacity: .5;
}
.tours_edit_plan_btn_icon {
    pointer-events: none;
    max-width: 80%;
    max-height: 80%;
}
.tours_edit_plan_title{
    font-size: 1.8rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.tours_edit_plan_wrap:hover .tours_edit_plan_title{
    opacity: 0.5;
}
.tours_edit_plan_wrap_active .tours_edit_plan_title{
    display: none;
}
.tour_back_btn{
    border: 1px solid #e1e1e1;
    text-transform: uppercase;
    padding: 1rem 2rem;
    font-size: 1.8rem;
    border-radius: 4px;
    color: #242424;
    transition: all .9s cubic-bezier(.19,1,.22,1);
}
.tour_back_btn:hover{
    opacity: 0.5;
}
.tour_edit_lable{
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.tour_edit_title{
    border: 1px solid #e1e1e1;
    min-height: 5rem;
    font-size: 2rem;
    padding: 1rem;
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}
.tour_edit_rooms_wr{
    padding: 1rem 0;
}
.tour_edit_room_item{
    display: flex;
    align-items: center;
}
.tour_edit_drag{
    width: 4rem;
    margin-right: 2rem;
    cursor: move;
}
.tour_edit_icon_drag{
    width: 100%;
}
.tour_edit_room_checkbox_input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.tour_edit_room_checkbox_input+label::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    box-shadow: inset 0 0 0 1px #adb5bd;
    border-radius: 4px;
    margin-right: 10px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
    top: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
    left: 0;
}
.tour_edit_room_checkbox_input:checked+label::before {
    box-shadow: inset 0 0 0 1px #FF9800;
    background-color: #FF9800 !important;
}
.tour_edit_room_checkbox_input+label{
    padding-left: 40px;
    color: #A0A0A0;
    position: relative;
    cursor: pointer;
}
.tour_edit_room_item_title{
    border: 1px solid #e1e1e1;
    min-height: 5rem;
    font-size: 2rem;
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    white-space: nowrap;
    overflow: hidden;
}
.tour_edit_room_item_btns {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 1rem;
    margin-left: 2rem;
    justify-content: space-between;
}
.tour_edit_room_item_btn {
    cursor: pointer;
    height: 4rem;
    width: 4rem;
    background-color: #ededed;
    border-radius: 4px;
    transition: opacity .2s ease-in-out;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .9s cubic-bezier(.19,1,.22,1);
}
.tour_edit_room_item_btn:hover {
    opacity: .5;
}
.tour_edit_room_item_btn_icon {
    pointer-events: none;
    max-width: 80%;
    max-height: 80%;
}
.tour_edit_select_room_wrap{
    position: relative;
    cursor: pointer;
    z-index: 1;
    display: inline-block;
    border: 1px solid #e1e1e1;
}
.tour_edit_select_room_wr{
    display: flex;
    align-items: center;
    color: #4a5c65;
    font-size: 14px;
    padding: 1rem;
    min-height: 5rem;
}
.tour_edit_select_room_active{
    overflow: hidden;
    white-space: nowrap;

    font-size: 2rem;

}
.tour_edit_select_room_arrow{
    width: 1.5rem;
    margin-left: 1rem;
    transition: all .9s cubic-bezier(.19,1,.22,1);
}
.tour_edit_select_room_wrap:hover .tour_edit_select_room_arrow{
    transform: rotate(180deg);
}
.tour_edit_select_room_dropdawn{
    top: calc(100% - 1px);
    left: 0;
    z-index: -1;
    overflow: hidden;
    position: absolute;
    min-width: fit-content;
    pointer-events: none;
}
.tour_edit_select_room_wrap:hover .tour_edit_select_room_dropdawn {
    pointer-events: all;
}
.tour_edit_select_room_dropdawn_fix{
    transform: translateY(-100%);
    transition: all .9s cubic-bezier(.19,1,.22,1);
    padding-top: 1px;
    border: 1px solid #e1e1e1;
    transition: all .9s cubic-bezier(.19,1,.22,1);
}
.tour_edit_select_room_wrap:hover .tour_edit_select_room_dropdawn_fix {
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, .2);
    transform: translateY(0%);
}
.tour_edit_select_room_option{
    display: flex;
    align-items: center;
    height: 4rem;
    font-family: "Roboto-Light", sans-serif;
    font-weight: 300;
    font-size: 1.8rem;
    background: #fff;
    transition: all .9s cubic-bezier(.19,1,.22,1);
    margin-bottom: 1px;
    padding: 0 1.2rem 0 1rem;
    white-space: nowrap;
    position: relative;
}
.tour_edit_select_room_option:hover {
    color: #ffd119;
    background: #2f2f2f;
}
.tour_edit_select_room_option_active{
    pointer-events: none;
    color: #ffd119;
    background: #2f2f2f;
}
.tours_edit_dot_wrap{
    position: relative;
    width: 800px;
    border: 1px solid #e1e1e1;
}
.tours_edit_dot_plan_img{
    max-width: 100%;
}
.marker_drag{
    position: absolute;
    width:1px;
    height: 1px;
    top: 0;
    left: 0;
}
.marker_drag_icon{
    position: absolute;
    z-index: 1200;
    top: 0px;
    left: 0px;
    width: 14px;
    height: 21px;
    transform: translate(-50%, -100%);
    cursor: pointer;
}
.tours_edit_pano_wrap{
    position: relative;
    height: 60vh;
    min-height: 500px;
    border: 1px solid #e1e1e1;
}
.tours_edit_pano_wr{
    height: 100%;
    width: 100%;
}
.sniper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border: 5px solid #fff;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}
.sniper:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 5px;
    height: 100%;
    background: #fff;
    transform: translateX(-50%);
}
.sniper:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 5px;
    background: #fff;
    transform: translateY(-50%);
}
.get_dot_coord_btn{
    position: absolute;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    background: #a6d747;
    padding: 1rem 3rem;
    font-size: 1.4rem;
    text-transform: uppercase;
}
.edit_tour_error_empty{

}
.edit_tour_error_empty_text{
    margin-bottom: 3rem;
    font-size: 1.8rem;
}
/* END TOURS */
/* POPUP 2D */
.popup_2d_wrap {
    height: 100%;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    overflow: hidden;
    transition: all .9s cubic-bezier(.19,1,.22,1);
    opacity: 0;
    pointer-events: none;
    z-index: 101;
    text-align: center;
    perspective: 800px;
    min-height: 550px;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center
}

.popup_2d_wrap_open {
    top: 0;
    opacity: 1;
    pointer-events: auto;
    transition: all .9s cubic-bezier(.19,1,.22,1)
}

.popup_2d_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(76,93,103,.9)
}

.popup_2d_close {
    top: 1rem;
    right: 2rem;
    width: 3rem;
    cursor: pointer;
    height: 3rem;
    z-index: 2;
    position: absolute
}

.popup_2d_close_icon {
    width: 100%;
    pointer-events: none
}

.popup_2d_close_icon path {
    transition: all .9s cubic-bezier(.19,1,.22,1);
    pointer-events: none
}

.popup_2d_close_icon:hover path {
    fill: #ffd119
}

.popup_2d_wr {
    width: 90%;
    height: 90%;
    background: #fff;
    position: relative;
    display: grid;
    grid-template-rows: auto auto;
    grid-gap: 3rem;
    padding: 2rem;
}
.popup_2d_items{
    display: grid;
    grid-template-columns: repeat(3, calc(33% - 2rem));
    overflow: auto;
    grid-gap: 3rem;
}
.popup_2d_item{
    height: 22rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    border: 1px solid #e1e1e1;
}
.popup_2d_item:hover{
    opacity: 0.5;
}
.popup_2d_item_active{
    pointer-events: none;
}
.popup_2d_item:after{
    content: '';
    position: absolute;
    top: 0%;
    left: 0%;
    width: calc(100%);
    height: calc(100%);
    background: #ff6f6f;
    opacity: 0;
}
.popup_2d_item_active:after{
    opacity: 0.5;
}
.popup_2d_items img{
    max-width: 100%;
    max-height: 100%;
    display: block;
}
.popup_2d_btn_wrap{
    display: flex;
    justify-content: center;
}
.popup_2d_btn_wrap_hidden{
    opacity: 0.5;
    pointer-events: none;
}
.popup_2d_btn{
    color: #fff;
    text-align: center;
    font-size: 1.4rem;
    height: 5rem;
    text-transform: uppercase;
    background: #a6d747;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18rem;
    cursor: pointer;
    display: inline-flex;
    transition: all .9s cubic-bezier(.19,1,.22,1);
}
.popup_2d_btn:hover{
    opacity: 0.5;
}
/* END POPUP 2D */
/* TOUR */
.tour_wrap{
    width:100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
#tour{
    width:100%;
    height: 100%;
}
#progress {
    width: 0;
    height: 5px;
    position: fixed;
    top: 0;
    background: #fff;
    -webkit-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
    z-index: 2;
}

#progress.finish {
    opacity: 0;
}
.tour_plan_wrap {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    max-width: 42rem;
    max-height: 42rem;
}
.tour_plan_img {
    max-width: 42rem;
    display: block;
    max-height: 42rem;
}
.tour_plan_dot{
    position: absolute;
    width: 1px;
    height: 1px;
    top: 0;
    left: 0;
    cursor: pointer;
}
.tour_plan_dot:after {
    content: '';
    position: absolute;
    background: url(/Assets/images/tours/marker_drag.png) no-repeat;
    background-size: cover;
    width: 50px;
    height: 51px;
    transform: translate(-50%, -50%);
}
.tour_plan_dot_active:after {
    background: url(/Assets/images/tours/marker_drag_active.png) no-repeat;
    background-size: cover;
}
.tour_plan_dot span {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    display: block;
    left: 50%;
    bottom: 50%;
    padding: 5px 8px;
    font-size: 1.4rem;
    background: #81e7ff;
    z-index: 12;
    white-space: nowrap;
}
.tour_plan_dot:hover span, .tour_plan_dot_show span {
    opacity: 1;
}
.tour_plan_dot_right_tips span{
    left: auto;
    right: 50%;
}


#indicator_wrap{
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;

}

/*#indicator_wr{
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
    transform: translate(-50%, -50%) rotate(90deg);
    transform: translate(-50%, -50%) rotate(90deg) scale(5);
    transform: translate(-50%, -50%) rotate(45deg) scale(5);
    position: absolute;
    width: 100px;
    height: 100px;

}
#panolens-view-indicator-container{
    fill: red;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    width: 30px;
    height: 30px;
    transform: translate(-51.5%, -55%);
    opacity: 1!important;
}

#panolens-view-indicator-container .st2{
    display:none;
}*/
#indicator_wr{
    position:absolute;
    transform: rotate(180deg);
}
.indicator_img_wr{
    position: absolute;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    pointer-events: none;


}
.indicator_img{
    width: 100%;
    height: 100%;
    background: url(/Assets/images/tours/indikator_3.png) no-repeat;
    background-size: cover;
    user-select: none;
    cursor: -webkit-grab;
}
#indicator_wr_hidden{
    position:absolute;
    opacity: 0;
    pointer-events: none;
}
/* ROOMS */
.pano_rooms_wrap{
    position: absolute;
    z-index: 1;
    bottom: 2rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    transition: all .9s cubic-bezier(.19,1,.22,1);
}
.rejum_perehody .pano_rooms_wrap{
    opacity: 0;
    pointer-events: none;
}
.pano_rooms_cont{
    display: flex;
}
.pano_rooms_wr{
    display: flex;
}
.pano_room{
    width: 10rem;
    height: 10rem;
    margin-right: 1rem;
    cursor: pointer;
    border: 3px solid #66abf3;
    position: relative;
    transition: all .9s cubic-bezier(.19,1,.22,1);
}
.pano_room_active{
    border: 3px solid #9DD900 !important;
}
.pano_room_tips{
    opacity: 0;
    pointer-events: none;
    position: absolute;
    display: block;
    left: 90%;
    top: -15%;
    padding: 5px 8px;
    font-size: 1.4rem;
    background: #81e7ff;
    z-index: 12;
    white-space: nowrap;
}
.pano_room_show .pano_room_tips,
.pano_room:hover .pano_room_tips {
    opacity: 1;
}
.pano_room_item{
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.pano_room_img{
    width: 100%;
    height: 100%;
    object-fit:cover;
    overflow: hidden;
}
.pano_room_title_wr{
    position:absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 0 0 11px 11px;
    overflow: hidden;
    z-index: 2;
}
.pano_room_title_wr input {
    width: 100%;
    height: 3rem;
    padding: 0 0.5rem;
    text-align: center;
}

/* END ROOMS */
/* END TOUR */
.panolens-infospot{
    margin-top: -20px;
}

@media screen and (max-width: 480px),(max-height: 480px)  {
    html, body{
        min-width: 100vw;
        min-height: 100%;
    }
    .tour_plan_wrap {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
        max-width: 100%;
    }
    .tour_plan_img {
        max-width: 100%;
        max-height: 58vmin;
    }
    .pano_rooms_wrap {
        bottom: 0;
    }
    .pano_rooms_cont{
        overflow: auto;
        width: 100%;
        display: inline-block;
    }
    .pano_rooms_wr {
        display: inline-flex;
        min-width: 100%;
        justify-content: center;
    }
    .pano_room:first-child {
        margin-left: 1vmin;
    }
    .pano_room{
        width: 15vmin;
        height: 15vmin;
        margin-right: 1vmin;
    }
}
@media  (orientation: landscape) and (max-height: 480px){
    .tour_plan_img {
        max-height: 36vmin;
    }
}