:root {
    --map-hover-width: 250px;
    --map-width: 100px;
    /*Mobile screen*/
    --map-width-mobile: 200px;
    --map-height-mobile: 300px;
    /* --map-sweep-marker-color:rgb(0, 0, 0); */
    --map-sweep-color: #353535;
    --map-sweep-active-color: #ff3158;
    --map-sweep-hover-color: #ff3158;
    --map-sweep-opacity: 0.5;
    --map-sweep-display: none
}

.at_showcase_container {
    position: relative;
    margin: 0 auto 10px auto;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
}

.at_map_container { 
    opacity: 0;
    line-height: 0;
    position: absolute;
    /* top: 10px;
    right: 10px; */
    background: #222;
    transition: opacity 0.75s;
}

.at_standalone_map_container {
    line-height: 0;
    position: absolute;
    background: #222;
    transition: opacity 0.75s;
}

.at_map_container.topLeft {
    /* top: 10px; 
    left: 0; // old implementation */
    top: calc(var(--position-top) + 0.5rem);
    left: 0;
}

.at_map_container.topRight {
    /* top: 10px;
    right: 0; // old implementation */
    top: calc(var(--position-top) + 0.5rem);
    right: 0;
    z-index: 1;
}

.at_map_container.bottomLeft {
    bottom: 10px;
    left: 0;
}

.at_map_container.bottomRight {
    bottom: 10px;
    right: 0;
}

/* Display Minimap -- this class is removed in scenarios where it should not be displayed */
body.minimap .at_map_container {
opacity: 1;
}

#at-map {
z-index: 99;
width: var(--map-width);
background: rgba(0, 0, 0, 0.5);
transition: width 0.5s;
position: relative !important;
}

#at-map:hover {
width: var(--map-hover-width);
}
#at-map canvas {
width: 100%;
-webkit-user-drag: none;
-khtml-user-drag: none;
-moz-user-drag: none;
-o-user-drag: none;
}

#at-map img {
    width: 100%;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}


#at-map button {
display: var(--map-sweep-display);
position: absolute;
padding: 0 0;
margin: 0;
height: 0.8rem;
width: 0.8rem;
margin-top: 0.8rem;
margin-left: -0.6rem;
border: 0.1rem solid #353535;
color: transparent;
background: var(--map-sweep-color);
opacity: var(--map-sweep-opacity);
border-radius: 50%;
box-sizing: content-box;
font-size: 10px;
cursor: pointer;
transition: border-color 0.5s;
background: 0.5s;
opacity: 0.5s; 
color: 0.5s;
}
#at-map button:hover {
color: #fff;
opacity: 1;
}
#at-map button.active {
background: var(--map-sweep-active-color);
opacity: 1;
}
#at-map button:hover {
border: 0.1rem solid #ff3158;
background: var(--map-sweep-hover-color);
}

#at-map.floor0:hover button.floor0,
#at-map.floor1:hover button.floor1,
#at-map.floor2:hover button.floor2,
#at-map.floor3:hover button.floor3,
#at-map.floor4:hover button.floor4,
#at-map.floor5:hover button.floor5,
#at-map.floor6:hover button.floor6,
#at-map.floor7:hover button.floor7,
#at-map.floor8:hover button.floor8,
#at-map.floor9:hover button.floor9,
#at-map.floor10:hover button.floor10,
#at-map.floor11:hover button.floor11,
#at-map.floor12:hover button.floor12,
#at-map.floor13:hover button.floor13 {
display: inline-block;
}

.at_custom_dropdown_option {
    padding: 8px 8px;
}

/*CUSTOM MINIMAP CSS*/
.at_overlay_left_minimap{
    position: absolute;
    width: 379px;
    height: 379px;
    max-width: 856px;
    max-height: 379px;
    z-index: 99;
    display: block;
    background: rgb(31, 32, 35);
    line-height: 0;
}

.at_overlay_left_minimap.topLeft {
    /* bottom: calc(var(--position-bottom) + 48vh);
    left: 0; */
    top: calc(var(--position-top) + 0.5rem);
    left: calc(var(--position-left) + 0.5rem);
}

.at_overlay_left_minimap.topRight {
    /* bottom: calc(var(--position-bottom) + 48vh);
    right: 0; */
    top: calc(var(--position-top) + 0.5rem);
    right: calc(var(--position-right) + 4.5rem);
}

.at_overlay_left_minimap.bottomLeft {
    bottom: 10px;
    left: 0;
    transition: bottom .4s ease-out; 
}

.at_overlay_left_minimap.bottomRight {
    bottom: 10px;
    right: 0;
    transition: bottom .4s ease-out; 
}

/* Adjust position when settings are visible */
.at_overlay_left_minimap.bottomRight.show-settings {
    bottom: calc(var(--position-bottom) + 20.5rem);
    transition: bottom .4s ease-in; 
}

.at_overlay_left_minimap.bottomLeft.show-settings {
    bottom: calc(var(--position-bottom) + 20.5rem);
    transition: bottom .4s ease-in; 
}

.at_custom_map_canvas {
    position: absolute;
    max-width: 856px;
    max-height: 379px;
    z-index: 1;
}


.at_overlay_left_minimap .at_custom_map{
    width: 379px;
    height: 379px;
}

.at_custom_map img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.at_custom_minimap_settings{
    position: absolute;
    left: 0px;
    z-index: -1;
    top: 0;
    width: 100%;
    transition: all .4s ease-out;
    height: auto;
    background: rgb(51, 51, 51);
    border: 1px solid rgb(51, 51, 51);
    padding: 20px;
    box-sizing: border-box;
    visibility: hidden;
    
}

.at_custom_minimap_settings.show{
  top: 379px;
  transition: all .4s ease-in; 
  visibility: visible;
  
}

.at_custom_minimap_settings.no-transition {
  transition: none;
}


.at_overlay_left_minimap .at_close_minimap,
.at_overlay_left_minimap .at_map_positions,
.at_overlay_left_minimap .at_setting_icon {
  width: 2em;
  height: 2em;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  position: absolute;
  font-size: 0.7em;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2; 
  cursor: pointer;
}

.at_overlay_left_minimap .at_close_minimap{
    bottom: unset;
    top: 0;
}

.at_overlay_left_minimap .at_map_positions {
  top: 0;
  left: 0;
  right: unset;
  bottom: unset;

}


.at_custom_minimap_settings .at_custom_button_row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 8px;
}
  
.at_custom_minimap_settings  .at_custom_setting_button {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #ccc;
    color: black;
    padding: 6px 10px;
    border: none;
    cursor: pointer;
    font-size: 14px;
  }

  .at_custom_minimap_settings .at_custom_button_settings{
    background-color: rgba(214, 212, 212, 0.8) !important; 
    font-size: 14px;
    color: black;
    font-weight: bold;
    font-family: inherit;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 8px; 
    padding: 8px 16px;
    border: none;
    cursor: pointer;
  }
  
.at_custom_minimap_settings  .at_custom_slider_group {
    display: flex;
    flex-direction: column;
    gap: 3.5vh;
    margin-top: 20px;
    margin-left: 0.5vh;
  }
  
.at_custom_minimap_settings  .at_custom_slider_row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 0.5vh;
  }

  
.at_custom_slider_row input[type="range"] {
    flex: 1;
    -webkit-appearance: none; 
    appearance: none; 
    height: 0.7vh; 
    background: rgb(105, 105, 105); 
    border-radius: 5px; 
    outline: none; 
    
}

.at_custom_slider_row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; 
    appearance: none; 
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgb(189, 189, 189); 
    cursor: pointer; 
}


.at_custom_slider_row input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgb(189, 189, 189); 
    cursor: pointer;
}


.at_custom_slider_row input[type="range"]::-ms-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgb(189, 189, 189); 
    cursor: pointer;
}



.at_svg_icon_container{
    width: 1em;
    height: 1em;
    transform: scale(1.8);
    display: flex;
    justify-content: center; 
    align-items: center;
}

.at_svg_icon_container img {
    filter: invert(1) grayscale(1) contrast(100%);
}

.at_custom_button_settings span.mdi {
    font-size: 1.3rem; 
}

.at_custom_map .at_custom_sweep, .at_custom_map .at_custom_sweep:visited {
	color: transparent;
	display: inline-block;
	position: absolute;
	padding: 0 0;
	margin: 0;
	height: 0.5rem;
	width: 0.5rem;
    opacity: var(--map-sweep-opacity);
	/* border: 0.20rem solid rgba(255, 255, 0, 0.79); */
	/* border: 0.20rem solid var(--map-sweep-color); */
	border-radius: 50%;
	box-sizing: content-box;
	background-color: transparent;
	font-size: 15px;
    cursor: pointer;
}

.at_sweep_color_edit {
  border: 0.20rem solid rgba(255, 255, 0, 0.79);
}

.at_sweep_color_default {
  border: 0.20rem solid var(--map-sweep-color);
}

.at_custom_sweep.active {
	background-color: orangered;
	/* background-color: var(--map-sweep-color); */
    opacity: var(--map-sweep-opacity);
	border: 0.23rem solid rgba(255, 255, 0, 0.79);
	/* border: 0.23rem solid var(--map-sweep-color); */
}

.at_custom_sweep:hover {
	/* background-color: rgba(255, 255, 0, 0.79); */
	background-color: var(--map-sweep-hover-color);
}


