@font-face {
    font-family: 'bebas';
    src: url('../webfonts/bebasneuebold-webfont.woff2') format('woff2'),
         url('../webfonts/bebasneuebold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'helvetica_condensed_bold';
    src: url('../webfonts/helveticaneue-condensed_bold-webfont.woff2') format('woff2'),
         url('../webfonts/helveticaneue-condensed_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'helvetica_condensed_thin';
    src: url('../webfonts/helveticaneue-condensed_thin-webfont.woff2') format('woff2'),
         url('../webfonts/helveticaneue-condensed_thin-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'helvetica_condensed';
    src: url('../webfonts/helveticaneue-condensed-webfont.woff2') format('woff2'),
         url('../webfonts/helveticaneue-condensed-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body {
    margin: 0px;
    font-family: 'helvetica_condensed';
}

h1, h2, h3, h4 {
    font-family: 'bebas';
    text-transform: uppercase;
}

h3 {
    margin-bottom: 5px;
}

*, ::before, ::after {
    box-sizing: border-box;
}

.map_container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.map-loading {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: rgba(255, 255, 255, .8);
    z-index: 100;
    display: flex;
    align-items: center;
}

.loading-icon {
    margin: auto;
    max-width: 85%;
    max-height: 85%;
    width: max-content;
}

.loading-icon i {
    margin-right: 5px;
}

#map-menu {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 300px;
    height: 100%;
    background-color: rgba(255, 255, 255, .8);
    overflow: auto;
    scrollbar-width: thin;
}

#map-menu-container {
    margin: 40px 20px 20px 30px;
}

.map-menu-close {
    position: absolute;
    top: 0px;
    left: 0px;
    cursor: pointer;
    background-color: darkslategray;
    color: white;
    content: 'X';
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-weight: bolder;
}

#menu-filter, #menu-filter-option, #menu-filter-content {
    margin-top: 10px;
}

.option-list {
    list-style: none;
    padding: 0px;
    margin-top: 0px;
    max-height: 200px;
    overflow: auto;
    scrollbar-width: thin;
}

.option-list li {
    cursor: pointer;
    padding: 3px 0px 3px 0px;
}

.option-list li:hover {
    color: #fd7e14;
    font-weight: bold;
}

#menu-filter {
    display: inline-block;
}

.filter-element {
    font-size: 10px;
    padding: 5px;
    background-color: lightgray;
    border-radius: 3px;
    cursor: pointer;
    float: left;
    margin: 0px 5px 5px 0px;
}

.filter-element:hover {
    background-color: grey;
}

.filter-element::before {
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f00d";
    margin-right: 3px;
}

.button {
    background-color: #fd7e14;
    display: block;
    padding: 10px;
    border-radius: 5px;
    text-transform: uppercase;
    cursor: pointer;
    color: white;
    font-family: "bebas";
    text-align: center;
    
}

.login-button {
    display: inline-block;
    width: 200px;
}

.filter-button:before {
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f0b0";
    margin-right: 3px;
}

.button:hover {
    filter: brightness(125%);
}

.map-icon-container {
    cursor: pointer;
    padding: 10px;
    background-color: white;
    height: 40px;
    min-width: 40px;
    width: max-content;
    margin-top: 10px;
    margin-left: 10px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    display: flex;
    align-items: center;
}

.input-container {
    padding: 5px !important;
}

.subcontrol {
    display: none;
}

.map-icon-container.selected {
    background-color: #fd7e14;
    color: white;
}

.map-icon {
    font-size: 20px;
    margin: auto !important;
}

.map-icon-label {
    display: none;
    margin-left: 5px;
}

#map-search-input {
    padding: 5px;
    font-size: 12px;
    height: 30px;
    width: 200px;
}

#map-message {
   display: none;
   position: absolute;
   background-color: rgba(255, 255, 255, 0.8);
   -webkit-appearance: none;
   -webkit-box-shadow: rgba(0, 0, 0, 0.3) -2px 0px 4px 0px;;
   box-shadow: rgba(0, 0, 0, 0.3) -2px 0px 4px 0px;
   left: 50%;
   bottom: 25px;
   transform: translate(-50%, 0%);
   padding: 5px;
   overflow: auto;
   scrollbar-width: thin;
   max-width: 500px;
   max-height: 80%;
}

.popup-menu {
   cursor: pointer;
   display: none;
   position: absolute;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, .5);
   top: 0px;
   left: 0px;
   float: left;
}

.popup-menu-content {
   cursor: default;
   position: absolute;
   display: flex;
   flex-wrap: wrap;
   background-color: rgba(255, 255, 255, 1);
   -webkit-appearance: none;
   -webkit-box-shadow: rgba(0, 0, 0, 0.3) -2px 0px 4px 0px;;
   box-shadow: rgba(0, 0, 0, 0.3) -2px 0px 4px 0px;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
   padding: 20px 20px 20px 20px;
   overflow: auto;
   scrollbar-width: thin;
   width: 650px;
   //height: 700px;
   max-width: 90%;
   max-height: 90%;
   align-content: flex-start;
}

.menu-close {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: white;
    font-weight: bolder;
    background-color: darkslategray;
    text-align: center;
    cursor: pointer;
}

.inventory-label {
    margin-bottom: 2px;
    margin-top: 10px;
    border-style: solid;
    border-width: 0px 0px 2px 0px;
    border-color: #fd7e14;
    width: 100%;
    text-transform: uppercase;
    font-family: 'bebas';
    font-size: 20px;
    line-height: 20px;
    color: #fd7e14;
}

.inventory-label {
    margin-top: 0px !important;
    font-weight: bold;
}

.inventory_column p {
    margin: 0px 0px 5px 0px;
}

.inventory_row:after {
  content: "";
  display: table;
  clear: both;
}

.inventory_column {
  padding: 15px;
}

.inventory_column.full {
  width: 100%;
}

.inventory_column.half {
  width: 50%;
}

#image-container {
    background-repeat: no-repeat;
    background-size: contain;
    background-position-x: center;
    height: 200px;
}

.location-image, .logo {
    cursor: pointer;
    width: 100%;
    object-fit: contain;
}

.logo {
    width: 75%;
    object-fit: contain;
}

#inventory-title {
    color: #fd7e14;
    font-size: 25px;
    font-weight: normal;
    margin: 0px;
    width: 100%;
    text-align: center;
}

.pdf-button:before {
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f1c1";
    margin-right: 3px;
}

canvas {
    width: 100%;
    height: 200px;
}

/* Icon list */
.icon-list {
    list-style: none;
    padding-left: 0;
}

.icon-list img {
    width: 30px;
    margin-right: 5px;
}

.icon-list li {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

/* Location details */
.location-details {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    margin-left: -15px;
    margin-right: -15px;
    padding: 0px 15px 0px 15px;
    width: 100%;
}

.location-details label {
    width: 50%;
    padding: 5px 15px;
    font-weight: bold;
}

.location-details label span {
    display: inline-block;
    width: 100%;
    font-weight: normal;
}


@media screen and (max-width: 600px) {
  .inventory_column {
    width: 90%;
    padding: 20px;
  }
  
  .location-details label {
      width: 100%;
  }
}

.inventory-filter {
    cursor: pointer;
}

.inventory-filter.hide {
    cursor: pointer;
    text-decoration: line-through;
}

