.two_text_buttons{display: flex; flex-wrap: wrap; align-items: center; padding: 3rem 0 0 0; justify-content: center;}
.two_text_buttons a{margin: 0;}
.two_text_buttons a:not(:last-child){border-right: 0.1rem solid var(--black); margin: 0 3rem 0 0; padding: 0 3rem 0 0;}
.postprocessing_txt{
    font-size: 2rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--deep-red);
}

.postprocessing_image_wrapper{padding: 0 6rem; display: block;}
.postprocessing_image_wrapper ul{ display: grid; grid-gap:1.5rem; grid-template-columns: repeat(4, 1fr); margin: 2rem 0;}
.postprocessing_image_wrapper .btn_fill{margin: 0 auto; width: 15.2rem;}
.tagplace_holder{position: absolute; top: 1rem; left: 0.8rem; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(2px); border-radius: 1.2rem; font-size: 1.2rem; font-weight: normal; z-index: 1; padding: 0 1rem; color: var(--gray-two);}
.tagplace_holder_active{background: rgba(255, 255, 255, 0.8); position: absolute; top: 1rem; left: 0.8rem; backdrop-filter: blur(2px); border-radius: 1.2rem; font-size: 1.2rem; font-weight: 600500; z-index: 1; padding: 0 0.5rem; color: var(--black); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;}
.tagplace_holder_active a{width: 1.6rem; height: 1.6rem; margin: 0 0 0 0.6rem;}
.tagplace_holder_active a img{width: auto; height: auto; object-fit: unset; position: unset;}

.two_buttons_wrapper{display: flex; flex-wrap: wrap; align-items: center; justify-content: center;}
.two_buttons_wrapper input[type="submit"]{margin: 0;}
.two_buttons_wrapper a.btn_outline{
    background: var(--white);
    border-radius: 0.4rem;
    border: 0.1rem solid var(--deep-red);
    color: var(--deep-red);
    width: 15.2rem;
    height: 3.6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 500;
    text-decoration: none;
    margin: 0 1.8rem 0 0;
}
.two_buttons_wrapper a.btn_outline:hover{
    background: var(--deep-red);
    color: var(--white);
}
.top_slider_bar h4{font-weight: 600;}
.right_dropdown_block{width: 22rem;}
.right_dropdown_block .listing_dropdown_opt{background: var(--white); border-radius: 0.6rem;}
.right_dropdown_block .white_dropdown{width: 22rem; top: 5rem; z-index: 2;}

.right_elments_holder{top: 1rem; right: 0.8rem; z-index: 1; position: absolute;}

.radio_wrapper{margin: 0;padding: 0;}

.radio_wrapper input.common_check[type="checkbox"] + label.label_text {
    background: var(--white);
    font-size: 1.6rem;
    color: var(--black);
    line-height: 2rem;
    padding-left: 2.5rem;
    position: relative;
    cursor: pointer;
    font-weight: 400;    
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    display: block;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.25);
  }
.radio_wrapper input.common_check[type="checkbox"] + label.label_text::before {
    position: absolute;
    left: 0.5rem;
    top: 0.4rem;
    content: "";
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
  }
  .radio_wrapper input.common_check[type="checkbox"]:checked + label.label_text::before {
    background: var(--deep-red);
  }
  .radio_wrapper input.common_check[type="checkbox"]:checked + label.label_text {
    color: var(--blue);
  }
  .enlarge_item img{width: 2.4rem; height:2.4rem; object-fit: unset; position: unset;}

  /******************* Gallery DETAILS WRAPPER ********************/
  .outline_color_details_wrapper{margin: 0;padding: 0; background: var(--black); min-height: 100vh; display: flex; flex-direction: column; position: relative;}
  .overlay_header{
    background-color: rgba(0, 0, 0, 0.40);
    padding:2.5rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1;
  }
  .overlay_header h2{color: var(--white); font-weight: 600; font-size: 1.8rem;}
  .overlay_header .count_text{font-size: 1.8rem; color: var(--white);}
  .overlay_header a.backto{color: var(--white); font-size: 2rem; font-weight: 600; text-decoration: none;}

.main_photogallery{width: 120rem; margin: 0 auto !important; margin: 0 0 2rem 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;}
.main_photogallery .gallery_image_holder{height: 52rem; width: 83rem; margin: 0 10rem;position: relative;}
.main_photogallery .gallery_image_holder img{width: 100%; height: 100%; object-fit: cover;}
.buttons_holder_elements{
  background: var(--slate);
  width: 18rem;
  height: 6rem;
  border-radius: 1rem;
  padding: 1rem;
  z-index: 2;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto 1rem;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
}
a.savebtn{width: 7rem; height: 3.6rem; background: var(--deep-red); border-radius: 0.6rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; color: var(--white); font-size: 1.6rem; font-weight: 500; text-decoration: none;}
.elements_wrapper{width: 7.8rem; height: 3.6rem; background: rgba(203, 213, 225, 1); border-radius: 0.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; padding:0.2rem 0.4rem; align-items: center;}
.elements_wrapper a{width: 3rem; height: 2.8rem; border-radius: 0.6rem; background: var(--white); display: flex; flex-wrap: wrap; justify-content: center; align-items: center;}
.elements_wrapper a:hover{background: var(--deep-red);}
.elements_wrapper a:hover .pencil,
.elements_wrapper a:hover .eraser{filter: brightness(0) invert(1);}
.pencil{background: url(../images/pencil.svg) no-repeat 0 0; width: 1.3rem; height: 1.3rem; display: block;}
.eraser{background: url(../images/eraser.svg) no-repeat 0 0; width: 1.4rem; height: 1.4rem; display: block;}
.pointer{background: url(../images/pointer.svg) no-repeat 0 0; width: 1.2rem; height: 1.2rem; display: block;}
.pointeractive{background:  var(--deep-red) !important;}

.bottom_photo_scroller{
  width: 100%;
  margin-top: auto;
  position: relative;
}
.bottom_photo_scroller .postprocessing_image_wrapper{padding: 0;}
.bottom_photo_scroller .postprocessing_image_wrapper ul{
  display: flex;
  flex-wrap: nowrap;
  overflow: auto;  
  padding-bottom: 1rem;
  margin: 1rem 0 0 0;
  justify-content: center;
}

.bottom_photo_scroller .postprocessing_image_wrapper ul li{min-width: 25.4rem;}

.bottom_photo_scroller .postprocessing_image_wrapper ul::-webkit-scrollbar-track{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: var(--slate);
}

.bottom_photo_scroller .postprocessing_image_wrapper ul::-webkit-scrollbar{
	width:0.5rem;
  height: 0.5rem;
	background-color: var(--slate);
}

.bottom_photo_scroller .postprocessing_image_wrapper ul::-webkit-scrollbar-thumb{
	background-color: var(--deep-red);
}

.blackpatch{
  background: var(--black);
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 30rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}
.inner_red_block{
  background: var(--deep-red);
  border-radius: 1rem;
  width: 25.4rem;
  height: 15rem;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}
.inner_red_block p{color: var(--white); font-size: 1.6rem; font-weight: 600; padding: 0 2rem; text-align: center; line-height: 2.2rem;}
/******************* END Gallery DETAILS WRAPPER ********************/

.popup_biginner{
  max-width: 90rem;
  background: var(--white);
  border-radius: 3rem;
  margin: 4rem auto 0;
  padding: 2rem;
}
.popup_biginner .heading_wrapper{
border-bottom: 0.1rem solid var(--black);
display: flex; 
flex-wrap: wrap;
align-items: center;
padding: 0 0 1.5rem 0;
margin: 0 0 2rem 0;
}
.popup_biginner .heading_wrapper h2{
  font-size: 1.8rem;
  font-weight: 600;
  flex: 1;
}
.popup_biginner .inner_photo_holder{
  margin: 0;padding: 0;
}
.selecteditem{width: 20rem; height: 12.5rem; margin: 0 0 2rem 0;}
.mid_navigation_wrapper{
  margin: 0;padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.mid_navigation_wrapper .left_wrapper{
  flex: 0 0 19.9rem;
  margin: 0 2rem 0 0;
}
.mid_navigation_wrapper .left_wrapper .white_dropdown{width: 100%; top: 5rem; z-index: 2;}
.mid_navigation_wrapper ul.scroll_navi{flex: 1; max-width: 62rem; display: flex; flex-wrap: nowrap; overflow: auto; padding: 0 0 0.5rem 0;}
.mid_navigation_wrapper ul.scroll_navi li:not(:last-child){margin: 0 1rem 0 0;}
.mid_navigation_wrapper ul.scroll_navi li a{
  padding:0 2rem;
  border-radius: 0.6rem;
  border: 0.1rem solid rgba(203, 213, 225, 1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  height:4.5rem;
  text-decoration: none;
  font-size: 1.6rem;
  color: var(--black);
  white-space: nowrap;
}
.mid_navigation_wrapper ul.scroll_navi li a:hover{background: rgba(203, 213, 225, 1);}

.mid_navigation_wrapper ul.scroll_navi::-webkit-scrollbar-track{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background: rgba(203, 213, 225, 1);
}

.mid_navigation_wrapper ul.scroll_navi::-webkit-scrollbar{
	width:0.5rem;
  height: 0.5rem;
	background: rgba(203, 213, 225, 1);
}

.mid_navigation_wrapper ul.scroll_navi::-webkit-scrollbar-thumb{
	background-color: var(--deep-red);
}

.photo_grid_wrapper .postprocessing_image_wrapper{padding: 0;margin: 0;}
.photo_grid_wrapper .postprocessing_image_wrapper ul{
  grid-template-columns:repeat(3, 1fr);
}
.photo_grid_wrapper .count_block{position: absolute; top: 1rem; left: 1rem;}

.photo_wrapper_info{display: none;}
.two_grid_block{display: flex; flex-wrap: wrap; justify-content: center; margin: 0 0 2rem 0;}
.two_grid_block .small_item_card{width: 25.4rem;}
.two_grid_block .small_item_card:not(:last-child){margin: 0 4rem 0 0;}
.message_wrapper h3{font-size: 1.8rem; font-weight: 600; margin: 0 0 2rem 0;}
.message_wrapper p{font-size: 1.2rem; font-weight: 400; margin: 0 0 1rem 0; display: block;}
.message_wrapper textarea{width: 100%; height: 7.8rem; border: 0.1rem solid rgba(203, 213, 225, 1); border-radius: 1rem; resize: none; margin: 0 0 0.3rem 0; outline: none; padding: 2rem; font-size: 1.4rem;}
.message_wrapper span{display: block; font-size: 1.2rem; font-weight: 400; text-align: right;}
.message_wrapper .two_buttons_wrapper{justify-content: flex-start !important;}
.message_wrapper .two_buttons_wrapper input[type="submit"],
.message_wrapper .two_buttons_wrapper a.btn_outline{width: 13.6rem;}

.buttons_holder_elements_vertical{position: absolute; top: 14rem; right:2.4rem; width: 9.4rem; border-radius: 1rem; background: var(--slate); padding: 1rem;}
.buttons_holder_elements_vertical .inner_block{background: var(--gray); border-radius: 1rem; padding: 1rem 0.5rem;}
.buttons_holder_elements_vertical .inner_block ul{list-style: none; display: flex; flex-wrap: wrap; flex-direction: column; justify-content: center;}
.buttons_holder_elements_vertical .inner_block ul li:not(:last-child){border-bottom: 0.1rem solid var(--black); margin: 0 0 0.5rem 0; padding: 0 0 0.5rem 0;}
.buttons_holder_elements_vertical .inner_block ul li{font-size: 1.2rem; text-align: center; font-weight: 500; display: flex; flex-direction: column; justify-content: center; align-items: center;}
.buttons_holder_elements_vertical .inner_block ul li a{
  width: 3rem;
  height: 2.8rem;
  border-radius: 0.6rem;
  background: var(--white);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.buttons_holder_elements_vertical .inner_block ul li a:hover,
.buttons_holder_elements_vertical .inner_block ul li a.homeactive{
  background: var(--deep-red);
}
.buttons_holder_elements_vertical .inner_block ul li a:hover img,
.buttons_holder_elements_vertical .inner_block ul li a.homeactive img{filter: brightness(0) invert(1);}
.buttons_holder_elements_vertical .inner_block ul li img{width: 1.8rem; height: auto;}
.red_save_button{
  background: var(--deep-red); color: var(--white); outline: none; border: 0; cursor: pointer; font-size: 1.6rem; font-weight: 600;
  position: absolute; left: 0; right: 0; margin: 0 auto; bottom: 2rem; width: 7rem; height: 3.6rem; border-radius: 0.6rem;
}
.marker_element_wrapper{max-width: 33rem; position: absolute; left: 6rem; top: 18rem; display: flex; flex-direction: column; justify-content: center; align-items: center; display: none;}
.marker_element_wrapper .icon_holder{width: 4.4rem;}
.marker_element_wrapper .element_info_block{background: rgba(27, 27, 27, 0.54); border-radius: 1rem; padding: 1.5rem; display: flex; flex-wrap: wrap;}
.marker_element_wrapper .element_info_block p{font-size: 1.4rem; text-align: center; color: var(--white); flex: 1;}
.marker_element_wrapper .element_info_block .buttons_icon_block{display: flex; flex-wrap: wrap;}
.marker_element_wrapper .element_info_block .buttons_icon_block a{width: 2.4rem; height: 2.4rem;}
.marker_element_wrapper .element_info_block .buttons_icon_block a:not(:last-child){margin: 0 1.5rem 0 0;}
.edit_wrapper{position: absolute; left: 0; right: 0; bottom: 2rem; z-index: 2; max-width: 57rem; background: rgba(27, 27, 27, 0.42); border-radius: 1rem; margin: 0 auto; padding: 1rem; display: none;}
.edit_wrapper p{font-size: 1.1rem; color: var(--white);}
.edit_wrapper .bottom_block{
  background: var(--white);
  padding: 1rem;
  border-radius: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.edit_wrapper .bottom_block textarea{
  flex: 1;
  resize: none;
  outline: none;
  border: none;
  font-size: 1.2rem;
  color: var(--slate);
}
.edit_wrapper .bottom_block input[type="submit"],
.edit_wrapper .bottom_block input[type="button"]{
  background: var(--deep-red); color: var(--white); outline: none; border: 0; cursor: pointer; font-size: 1.6rem; font-weight: 600;
  display: flex; justify-content: center; align-items: center; padding: 1rem; border-radius: 0.4rem;
}

.delete_element_pop_wrapper{
  background: var(--white);
  width: 50rem; margin: 0 auto; border-radius: 1rem;
  padding: 1.5rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 12rem;
  z-index: 4;
  display: none;
}
.delete_element_pop_wrapper .heading_wrapper{display: flex; flex-wrap: wrap; align-items: center; border-bottom: 0.2rem solid var(--black); padding-bottom: 1rem; margin-bottom: 2rem;}
.delete_element_pop_wrapper .heading_wrapper h2{flex: 1; margin: 0 1rem 0 0; font-size: 1.8rem; font-weight: 500;}
.delete_element_pop_wrapper .inner_content_wrapper{margin: 0;padding: 0;}
.delete_element_pop_wrapper .inner_content_wrapper h2{font-size: 1.8rem; font-weight: 600; margin: 0 0 1.5rem 0;}
.delete_element_pop_wrapper .inner_content_wrapper .two_buttons_wrapper{margin: 6rem 0 0 0; justify-content: flex-start;}
.delete_element_pop_wrapper .inner_content_wrapper .two_buttons_wrapper a,
.delete_element_pop_wrapper .inner_content_wrapper .two_buttons_wrapper input[type="submit"]{width: 8.6rem;}

.direction_arrow_wrapper{
  width: 6.5rem;
  height: 6.5rem;
  position: absolute;
  top: 10rem;
  right: 18rem;
  z-index: 2;
  display: none;
}
.direction_arrow_wrapper .inner{position: relative; width: 100%; height: 100%; /*display: grid; grid-template-rows: repeat(3); grid-gap: 0.3rem;*/}
.direction_arrow_wrapper .inner a{
  background: var(--white);
  border: 0.1rem solid var(--slate);
  border-radius: 0.3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 1.8rem;
  height: 1.8rem;
  position: absolute;
}
.direction_arrow_wrapper .inner a:hover,
.direction_arrow_wrapper .inner a.active{background: var(--deep-red);}

.direction_arrow_wrapper .inner a:hover img,
.direction_arrow_wrapper .inner a.active img{filter: brightness(0) invert(1);}
.direction_arrow_wrapper .inner a img{width:1.2rem !important; height: auto !important; object-fit: unset !important;}

.direction_arrow_wrapper .inner a:first-child{top: 0;  left: 0; }
.direction_arrow_wrapper .inner a:nth-child(2){top: 0; right: 0; left: 0; margin: 0 auto;}
.direction_arrow_wrapper .inner a:nth-child(3){top: 0; right: 0;}
.direction_arrow_wrapper .inner a:nth-child(4){top: 2.3rem; left: 0;}
.direction_arrow_wrapper .inner a:nth-child(5){top: 2.3rem; right: 0;}
.direction_arrow_wrapper .inner a:nth-child(6){bottom: 0; left: 0;}
.direction_arrow_wrapper .inner a:nth-child(7){bottom: 0; right: 0; left: 0; margin: 0 auto; }
.direction_arrow_wrapper .inner a:last-child{bottom: 0; right: 0;}



.direction_arrow_wrapper .inner a:first-child img{transform: rotate(-45deg);}
.direction_arrow_wrapper .inner a:nth-child(3) img{transform: rotate(45deg);}
.direction_arrow_wrapper .inner a:nth-child(4) img{transform: rotate(269deg);}
.direction_arrow_wrapper .inner a:nth-child(5) img{transform: rotate(90deg);}
.direction_arrow_wrapper .inner a:nth-child(6) img{transform: rotate(222deg);}
.direction_arrow_wrapper .inner a:nth-child(7) img{transform: rotate(180deg);}
.direction_arrow_wrapper .inner a:last-child img{transform: rotate(134deg);}

.openinfopop .delete_element_pop_wrapper{display: block;}

@media only screen and (max-width: 767px){
  .two_text_buttons a:not(:last-child){margin: 0 1rem 0 0; padding: 0 1rem 0 0;}
  .two_text_buttons a{font-size: 1.5rem !important;}

  .inner_slider_wrapper .top_slider_bar{flex-direction: column;}
  .inner_slider_wrapper .top_slider_bar h4{font-size: 1.4rem; text-align: center; margin: 0 0 1.5rem 0;}
  .inner_slider_wrapper .top_slider_bar .right_dropdown_block{width: 100%;}
  .postprocessing_image_wrapper{padding: 0 2rem;}
  .postprocessing_image_wrapper ul{grid-template-columns:repeat(2, 1fr); grid-gap: 0.5rem;}
  .postprocessing_image_wrapper .small_item_card{height: 10rem;}
  .postprocessing_image_wrapper .small_item_card .count_block{font-size: 1.1rem;}
  .tagplace_holder,
  .tagplace_holder_active{font-size: 1rem; padding: 0 0.5rem;}
  .right_elments_holder{top: 1rem; right:0.5rem; width: 2.4rem;}
  .radio_wrapper input.common_check[type="checkbox"] + label.label_text{width: 2rem !important; height: 2rem; padding-left: 0;}
  .radio_wrapper input.common_check[type="checkbox"] + label.label_text::before{width: 1.2rem; height: 1.2rem; left: 0.4rem;}
  .overlay_header{padding: 1.5rem; position: relative;}
  .main_photogallery{width: 100%; position: relative; margin:0 !important;}
  .main_photogallery .gallery_image_holder{width: 100%; height: 40rem; margin: 0;}
  .prev{position: absolute; left: 1rem; z-index: 1;}
  .next{position: absolute; right: 1rem; z-index: 1;}
  .prev,
  .next{background: var(--slate); border-radius: 100%; width: 3rem; height: 3rem;}
  .bottom_photo_scroller{padding: 2rem;}
  .bottom_photo_scroller .postprocessing_image_wrapper ul{display: grid; grid-gap: 1rem;}
  .bottom_photo_scroller .postprocessing_image_wrapper ul li{min-width: 100%;}
  
  .blackpatch{position: unset; width: 100%; margin: 0 0 2rem 0;}
  .inner_red_block{flex-direction: row; flex-wrap: wrap; align-items: center; width:100%; height: auto; padding: 1.5rem;}
  .inner_red_block p{flex: 1; text-align: left; margin: 0 0 0 1rem; padding: 0;}

  .popup_biginner{margin: 4rem 1rem 0;}
  .selecteditem{width: 100%; height: 18.2rem;}
  .mid_navigation_wrapper{flex-direction: column;}
  .mid_navigation_wrapper .left_wrapper{width: 100%; flex: 1; margin: 0 0 1.5rem 0;}
  .mid_navigation_wrapper ul.scroll_navi{max-width: 100%;}
  .mid_navigation_wrapper ul.scroll_navi::-webkit-scrollbar{display: none;}
  .photo_grid_wrapper .postprocessing_image_wrapper ul{grid-template-columns: repeat(1,1fr);}
  .photo_grid_wrapper .postprocessing_image_wrapper .small_item_card{height: 16rem;}
  .two_grid_block{flex-direction: column;}
  .two_grid_block .small_item_card:not(:last-child){margin: 0 0 2rem 0;}
  .two_grid_block .small_item_card{width: 100%;}
  .message_wrapper textarea{height: 10rem;}
  .message_wrapper .two_buttons_wrapper{justify-content: center !important; margin: 2rem 0 0 0;}

  .overlay_header h2{flex-basis: 100%; margin: 2rem 0 0 0;}
  .backto{position: absolute; top: 1.5rem; right: 2rem;}

  .buttons_holder_elements_vertical{top: unset; left: 0; right: 0; bottom:5.5rem; width:60%; margin: 0 auto; padding:0rem;}
  .buttons_holder_elements_vertical .inner_block{padding: 0;}
  .buttons_holder_elements_vertical .inner_block ul{ flex-direction: row;}
  .buttons_holder_elements_vertical .inner_block ul li{padding: 0.5rem; flex: 1;}
  .buttons_holder_elements_vertical .inner_block ul li:not(:last-child){
    border-bottom: 0;
    border-right: 0.1rem solid var(--black);
    margin: 0;
    padding: 0;
  }

  .red_save_button {bottom: 1rem;}
  
  .marker_element_wrapper{left: 0; right: 0; margin: 0 auto; top:12rem; padding: 1rem 0.5rem; max-width: 29rem;}
  .marker_element_wrapper .element_info_block .buttons_icon_block a:not(:last-child){margin-right: 0.5rem;}
  .marker_element_wrapper .element_info_block .buttons_icon_block{margin:-1rem -0.9rem 0 0}
  .marker_element_wrapper .element_info_block .buttons_icon_block a{width: 2rem; height: 2rem;}
  .delete_element_pop_wrapper{max-width:90%; width: auto; top: 4rem;}
  .delete_element_pop_wrapper .inner_content_wrapper .two_buttons_wrapper{margin: 3rem 0 0 0;}

  .direction_arrow_wrapper{top:6rem;}

  .two_buttons_wrapper a.btn_outline,
  .two_buttons_wrapper input[type="submit"]{width: 13rem;}
}

@media only screen and (min-width: 768px) and (max-width: 1023px){
  .postprocessing_image_wrapper{padding: 0;}
  .postprocessing_image_wrapper .small_item_card{height: 10rem;}
  .postprocessing_image_wrapper .small_item_card .count_block{font-size: 1.1rem;}
  .tagplace_holder{font-size: 1.1rem; padding: 0 0.5rem;}
  .postprocessing_image_wrapper ul{grid-gap: 0.5rem;}
  .radio_wrapper input.common_check[type="checkbox"] + label.label_text{width: 2rem !important; height: 2rem; padding-left: 0;}
  .radio_wrapper input.common_check[type="checkbox"] + label.label_text::before{width: 1.2rem; height: 1.2rem; left: 0.4rem;}

  .overlay_header{padding: 1.5rem;}
  .main_photogallery{width: 100%;}
  .main_photogallery .gallery_image_holder {width: 100%; margin: 0;}
  .prev{position: absolute; left: 1rem; z-index: 1;}
  .next{position: absolute; right: 1rem; z-index: 1;}
  .prev,
  .next{background: var(--slate); border-radius: 100%; width: 3rem; height: 3rem;}
  .bottom_photo_scroller{padding: 2rem;}
  .bottom_photo_scroller .postprocessing_image_wrapper ul{display: grid; grid-gap: 1rem; grid-template-columns:repeat(3, 1fr);}
  .bottom_photo_scroller .postprocessing_image_wrapper ul li{min-width: unset;}
  .bottom_photo_scroller .postprocessing_image_wrapper ul li .small_item_card{height: 14rem;}

  .blackpatch{position: unset; width: 100%; margin: 0 0 2rem 0;}
  .inner_red_block{flex-direction: row; flex-wrap: wrap; align-items: center; width: 32rem; height: auto; padding: 1.5rem;}
  .inner_red_block p{flex: 1; text-align: left; margin: 0 0 0 1rem; padding: 0;}
}

@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .postprocessing_image_wrapper{padding: 0;}
  .main_photogallery{width: 100%;}
  .main_photogallery .gallery_image_holder{margin: 0 2rem; height: 48rem;}
}

.postprocessing_image_wrapper {display: none;}
.post-processing-top-bar {display: none;}
.twilight-tag-checkbox{display: none !important;}
.tagplace_holder_input{border: 0px; width: 12rem;}
.tagplace_holder_active a img{ vertical-align: top;}
.active-post-processing-dropdown{background: var(--gray); border-radius: 0.4rem;}
.custom-thumb-outer .lg-thumb-item {
  position: relative;
  display: inline-block;
  height: 100px; /* Or match LightGallery's thumbnail height */
  overflow: hidden;
}

.custom-thumb-outer .lg-thumb-item img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: cover;
}

.thumb-index {
  position: absolute;
  top: 15rem;
  left: 13rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  pointer-events: none;
  font-family: sans-serif;
  z-index: 10;
  margin:auto auto 0;
  border-radius: 6rem;
  padding: 0.1rem 1.4rem;
  font-size: 1.4rem;
  border: 0.1rem solid var(--slate);
}

.custom-thumb-outer .lg-thumb-item {
  /* width: 300px !important; */
  height: 200px !important;
  /* margin-left: 1rem; */
}

.virtual-staging-lightgallery .lg-item.lg-complete.lg-zoomable .lg-image {
  background-size: cover;
}

.custom-thumb-outer .lg-thumb-item:first-child {
  margin-left: 0;
}

.custom-thumb-outer .lg-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.custom-thumb-outer {
  height: 200px !important;
}


.outline-color-buttons {bottom: 100px !important;}
button.savebtn{width: 7rem; height: 3.6rem; background: var(--deep-red); border-radius: 0.6rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; color: var(--white); font-size: 1.6rem; font-weight: 500; text-decoration: none;border-color: var(--deep-red);}
.lg-outer.virtual-staging-lightgallery .lg-sub-html {
  position: absolute !important;
  right: 0 !important;
  left: auto !important;
  top: auto !important;
  bottom: 0px !important;
  width: 300px;
  max-width: 100%;
  height: 195px;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.5); /* optional */
  z-index: 9999;
  text-align: right;
}

/* Shrink main image wrapper to accommodate right panel */
/* .lg-outer.virtual-staging-lightgallery .lg-thumb-item {
  width: 280px !important;
  height: 200px !important;
} */
.virtual-staging-popup{ z-index: 9999 !important;}
.mid_navigation_wrapper ul.scroll_navi li a.active{background: rgba(203, 213, 225, 1);}
#virtualStagingModalLoader {
  position: absolute;
  z-index: 999999;
  margin: 5rem 5rem;
}
.marker-save-button{bottom: 11rem;}
.marker-item li {color: var(--charcoal);}
.main_photogallery .marker-gallery-holder { height: auto !important;}
.marker-gallery-holder .buttons_holder_elements_vertical {top: auto !important; bottom: 27rem;}
.marker-gallery-holder .marker_element_wrapper {top: auto !important; bottom: 32rem;}
.marker-gallery-holder .direction_arrow_wrapper {top: auto !important; bottom: 47rem;}
.marker-gallery-holder .edit_wrapper { bottom: 11rem;}
.marker-gallery-holder .edit_wrapper p {text-align: left;}
.marker-gallery-holder .delete_element_pop_wrapper { z-index: 999999; top: auto !important; bottom: 23rem;}
.delete_element_pop_wrapper { color: var(--charcoal); text-align: left; }
.delete_element_pop_wrapper p { font-size: 1.6rem;}
.marker-type.active { background: var(--deep-red) !important;}
.marker-type.active img {filter: brightness(0) invert(1) !important;}
.marker-address{ margin-right: 1rem !important;}
.marker-lightgallery .lg-toolbar.lg-group, .outline-lightgallery .lg-toolbar.lg-group {height: 2px !important;}
.marker-lightgallery .lg-inner, .outline-lightgallery .lg-inner{ height: 72.5vh !important;}
.marker-lightgallery .lg-inner .lg-current .canvas-container, .marker-lightgallery .lg-inner .lg-current .canvas-container canvas{height: 100% !important; background-size: cover;}
.outline-lightgallery .lg-inner .lg-current canvas {height: 100% !important; background-size: cover;}
.virtual-staging-lightgallery .lg-inner{ height: 70vh !important;}
.virtual-staging-lightgallery .lg-current .lg-object.lg-image{height: 100% !important; background-size: cover;}
