@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500,700);
@import url(https://fonts.googleapis.com/earlyaccess/notokufiarabic.css);
@font-face {
  font-family: RobotoFallback;
  font-style: normal;
  font-weight: 300;
  src: local("Roboto Light"), local("Roboto-Light"), url("fonts/Roboto-300.woff2") format("woff2"), url("fonts/Roboto-300.woff") format("woff"), url("fonts/Roboto-300.ttf") format("truetype")
}

@font-face {
  font-family: RobotoFallback;
  font-style: normal;
  font-weight: 400;
  src: local("Roboto"), local("Roboto-Regular"), url("fonts/Roboto-400.woff2") format("woff2"), url("fonts/Roboto-400.woff") format("woff"), url("fonts/Roboto-400.ttf") format("truetype")
}

@font-face {
  font-family: RobotoFallback;
  font-style: normal;
  font-weight: 500;
  src: local("Roboto Medium"), local("Roboto-Medium"), url("fonts/Roboto-500.woff2") format("woff2"), url("fonts/Roboto-500.woff") format("woff"), url("fonts/Roboto-500.ttf") format("truetype")
}

@font-face {
  font-family: RobotoFallback;
  font-style: normal;
  font-weight: 700;
  src: local("Roboto Bold"), local("Roboto-Bold"), url("fonts/Roboto-700.woff2") format("woff2"), url("fonts/Roboto-700.woff") format("woff"), url("fonts/Roboto-700.ttf") format("truetype")
}

/* Default styles for layout */
body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #363640;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
}

/* Flexbox layout for full-height responsive design */
body {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: stretch;
  background-image: url(/assets/background-image.jpg);
  background-size: cover;
  background-position: center;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: none;
  color: #fff;
  
  font-size: 12px;
  font-family: Roboto, RobotoFallback, "Noto Kufi Arabic", Helvetica, Arial, sans-serif;
  line-height: 1.2857
}

/* Header styling */
.app-header {
  width: 100%;
  max-height: 50px;
  font-size: 24px;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

/* Main content area */
.app-body {
  flex-grow: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Small logo/icon styling */
.logo-small {
  width: 32px;
  height: 32px;
  background-image: url(/assets/icon-small.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#login-logo {
  width: 150px;
  height: 150px;
  background-image: url(/assets/icon-large.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: auto;
  display: none;
}

/* Large logo styling */
#logo-large {
  width: 150px;
  height: 150px;
  background-image: url(/assets/icon-large.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  bottom: 10px;
  left: 10px;
}
.layout-header {
  display: flex;
  align-items: baseline;
  flex-flow: column;
  justify-content: center;
  padding: 5px 5px 5px 10px;
  max-height: 50px;
  min-height: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.header-item{
  align-self: baseline;
  display: flex;
  flex-flow: row nowrap;
  align-items: baseline;
  justify-items:baseline;
  align-content: baseline;
  
}
.layout-content {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 5px 5px 10px;
  font-size: medium;
  
}
.layout-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  padding: 0px 0px 0px 0px;
  max-height: 50px;
  min-height: 50px;
}
.column-layout-widget{
  width: 100%;
  height:100%;
  display: flex;
  flex-flow: row;
  align-items: flex-start;
  justify-content: stretch;
}
.column-layout-item{
  align-self: stretch;
  justify-self: stretch;
  flex-grow: 1;
}
.row-layout-widget{
  width: 100%;
  height:100%;
  display: flex;
  flex-flow: column;
  align-items: stretch;
  justify-content: stretch;
}
.row-layout-item{
    align-self: stretch;
  justify-self: stretch;
  flex-grow: 1;
}
.app-page-widget{
    
    margin: auto auto;
    width: 100%;
    min-width:475px;
    max-width:1280px;
    height: 100%;
    min-height: 600px;
    max-height: 99%;
    display:flex;
    flex-flow: column;
    border-radius: 5px 5px;
    background-color: #363640;
    gap: 5px;
    
}
.page-title{
  font-weight:200;
  font-size: x-large;
}
.hidden{
    opacity: 0;
  display:none;
}
.map-widget{
  width: 100%;
  height: 100%;
}
@media (max-width: 900px) {
  #logo-large {
    display: none
  }

  #login-logo {
    width: 150px;
    height: 150px;
    background-image: url(/assets/icon-large.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: auto;
    display: inherit;
  }
  .maplibregl-ctrl-bottom-right {
    opacity: 0 !important;
  }
}