body {
  font-size: .875rem;
}

.feather {
  width: 18px;
  height: 18px;
  vertical-align: text-bottom;
  stroke: #9ed115;
}

main{margin-top:48px !important}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  /* rtl:raw:
  right: 0;
  */
  bottom: 0;
  /* rtl:remove */
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.col-lg-2.collapsed{width:54px}
.col-lg-2.collapsed + .col-md-9{width:calc(100vw - 54px)}
.col-lg-2.collapsed .nav-link span{display:none}
button.nav-link{border: none;
width: 100%;
text-align: left;
background-color: inherit;}

#main-menu-icons img{max-width:45%}
.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #727272;
}

.sidebar .nav-link.active {
  color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}


#selected .position-relative .position-absolute{visibility: hidden}
#selected .position-relative:hover .position-absolute{visibility: visible}
#selected .btn .feather{stroke:#FFF}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
  top: .25rem;
  right: 1rem;
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}


h3{margin-bottom:1rem}

.badge .feather{stroke:#FFF}
.twitter-typeahead,.tt-menu{width:100%}
.tt-menu{position:relative !important}

.hideIcons{opacity: 0}
.list-group-item:hover .hideIcons{opacity: 1}

#map {
  height: 300px;
  width: 100%;
}


#homes .card,
#rooms .card{overflow: hidden}
#homes .card.ratio img,
#rooms .card.ratio img{
  opacity:.5;
  transition:opacity 500ms linear;
  position: absolute;
  top:-100%;left:0;right:0;bottom:-100%;
  margin: auto;
  height:auto}
#homes .card:hover img,
#rooms .card:hover img{opacity:1;transition:opacity 1ms linear}


.deleteImage{position:absolute;top:0;right:0;padding:.15rem .3rem}
.deleteThis .feather,
.deleteImage .feather,
.deleteSetting .feather,
.deleteSelected .feather,
.deletePDF .feather{stroke:#FFF}
#rooms .card .deleteRoom{position:absolute;top:0;right:0;padding:.1rem .2rem;}
#rooms .card .deleteRoom .feather,
#rooms .card .measurement .feather{stroke:#FFF}
#rooms .card .measurement{position:absolute;bottom:0;right:5px;margin-bottom:0;font-size:0.78rem}
#rooms .card .btn.btn-sm{padding:0.15rem 0.3rem}

.position-relative>.deleteImage{visibility: hidden}
.position-relative:hover>.deleteImage{visibility: visible}

.form-check-input.choosen:checked{background-color:green;border-color:green}
.form-check-input.choosen{width: 30px;height: 30px}
#selected .position-relative .position-absolute[type=checkbox]:checked{visibility: visible}

.deleteImage,
.deleteRoom{padding:0 0.2rem}

.deleteImage .feather,
.deleteRoom .feather{
  width: 15px;
  height: 15px;
}

button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
}
.modal-body > .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5rem 0.75rem;
    z-index: 1;
}

#toggleDeleteInventory.form-check-input:checked{
	background-color: #dc3545;
	border-color: #dc3545;
}
.inventory_item.delete>a::after{
	content: "";
	width:100%;
	height:100%;
	position: absolute;
	top:0;
	left:0;
	background-color:rgba(220,53,69,0.70);
}
.sticky-top{z-index:99;overflow:auto;top:48px}

.tags{
  position: absolute;
  top: 0;
  right: 5px;
}
.tag{
  float:left;
  margin-right:5px;
  opacity: 0.4;
  width: 0px;
  height: 20px;
  box-sizing: border-box;
  border: 1px solid #000;
  border-bottom: 10px solid transparent;
  border-top: none;
  border-left: 15px solid #000;
  border-right: 15px solid #000;
  margin-left: -27px;
}
.tag:hover{height:40px}
.tags:hover .tag{margin-left:0}


@media only screen and (max-width: 576px) {
  .ratio-16x9 {
    --bs-aspect-ratio: 42%;
  }
	.ratio-21x9 {
		--bs-aspect-ratio: 32%;
	}
}

@media only screen and (min-width: 576px) {
  .btn{padding:.15rem .35rem}
  .btn .feather,
  .nav-item .feather{width: 18px;height: 18px}
  
  #map {
    height: 450px;
  }
  
}