html, body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
}

.root {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.maplibregl-ctrl-attrib-inner,.maplibregl-ctrl-bottom-right  {
  display: none !important;
}

#oneTouchDiv{
  z-index:999999999;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  height:60%;
  width: 60%;
  text-align: center;
}

#oneTouchButton {
  height:100%;
  width: 100% !important;
  opacity: 0.8;
  align-items: center;
  text-align: center !important;
  background: #ba76bd;
  border: 0;
  border-radius: 8px;
  box-shadow: -60px -60px 180px 0 #242323,60px 60px 180px 0 #1d0dca17;
  box-sizing: border-box;
  color: #f6f5f8;
  cursor: pointer;
  display: flex;
  font-family: "Cascadia Code",Consolas,Monaco,"Andale Mono","Ubuntu Mono",monospace;
  font-size: 3rem;
  justify-content: center;
  line-height: 2.5rem;
  padding: 15px;
  position: relative;
  text-align: left;
  transition: .2s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  /* white-space: pre; */
  width: max-content;
  word-break: normal;
  word-spacing: normal;
}

#oneTouchButtonImg{
  background-image: url(/SafeFetch_round.png);
  width: 300px;
  height: 300px;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  background-repeat: no-repeat;
  background-size: 100%;
}

#oneTouchButton:hover {
  background: #C8A4D4;
  text-align: center !important;
  box-shadow: -15px -15px 30px 0 #fff, 15px 15px 30px 0 #1d0dca17;
}

@media (min-width: 768px) {
  #oneTouchButton {
    padding: 24px;
  }
}

/* #statusCard>.MuiPaper-root{
  height: 610px;
  width: 600px;
} */

#statusCard{
  bottom:15px;
}

#statusPicture{
  max-height: 40vh;
  min-height: 200px;
}

#focusDiv{
  position: absolute;
  width: 0px;
  height: 0px;
  top: 320px;
  left: 645px;
  z-index: -1;
  display:none;
  border-right: 500px solid transparent;
  opacity: 0.5;
  border-top: 612px solid #5f2121;
}

#geofenceHeader{
  width: 100%;
    height: 3rem;
    position: absolute;
    /* background: #795695; */
    z-index: 2;
    display: inline-flex;
}

#headerspacer {
  width: 380px;
  height: 100%;
  display: inline-block;
}


#geofenceLogo{
  margin-top: 2px;
  margin-bottom: 2px;
  /* margin-left: 380px; */
  height: 96%;
  width: 3rem;
  background: white;
  background-repeat: no-repeat;
  background-size: 96% 96%;
  display: inline-block;
}

#geofenceName{
  padding: 8px;
    font-size: 1.5rem;
    font-weight: bold;
    /* overflow-x: scroll; */
    white-space: nowrap;
    display: inline-block;
    max-width: 200px;
}

#geofenceGroupFilter{
  padding: 2px;
  margin-left: 10px;
  font-size: 1rem;
}

.custom_marker{
  background-image: url(/target.png) !important;
  width: 48px;
  height: 48px;
}

.custom_marker g{
  display:none !important;
}

.deviceList span[class*="MuiListItemText-primary"]{
  font-size: 2rem !important;
  font-weight:bold;
}

.announcing {
  background:#795695;
}

@media screen and (max-height: 800px) {
  #statusCard p{
    font-size: 3rem !important;
  }
}
        

/* For screen size less than 600px */
@media screen and (max-width: 600px) {

  #statusCard {
    bottom: 0px;
    width: 100%;
    /* left:215px; */
}

#statusCard>.MuiPaper-root {
  width: 100%;
  color:#795695;
}

#statusCard p{
  font-size: 3rem !important;
}

#focusDiv {
display:none;
}
  #geofenceHeader{
    width: 100%;
        height: 50px;
        position: absolute;
        background: #795695;
        z-index: 99;
        display: flex;
        top: 0px;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: flex-start;
  }

  #headerspacer {
    width: 0px;
    height: 100%;
    display: inline-block;
}

  #geofenceLogo{
    margin-top: 2px;
        margin-bottom: 2px;
        height: 96%;
        width: 60px;
        background: white;
        background-repeat: no-repeat;
        background-size: 96%;
  }
  
  #geofenceName{
    padding: 8px;
        font-size: 0.9rem;
        font-weight: bold;
  }

  #geofenceGroupFilter {
    font-size: 0.7rem;
    padding-left: 5px;
    padding-right: 5px;
}

  #oneTouchDiv {
    z-index: 999999999;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    height: 85%;
    width: 85%;
    text-align: center;
}

  #oneTouchButton {
    height: 100%;
    width: 100% !important;
    opacity: 0.8;
    align-items: center;
    text-align: center !important;
    background: #ba76bd;
    border: 0;
    border-radius: 8px;
    box-shadow: -60px -60px 180px 0 #242323, 60px 60px 180px 0 #1d0dca17;
    box-sizing: border-box;
    color: #f6f5f8;
    cursor: pointer;
    display: flex
;
    font-family: "Cascadia Code", Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
    font-size: 2rem;
    justify-content: center;
    line-height: 2.5rem;
    padding: 15px;
    position: relative;
    text-align: left;
    transition: .2s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    /* white-space: pre; */
    width: max-content;
    word-break: normal;
    word-spacing: normal;
}
}
