/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
}


/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    /* position: fixed;
    top: 51px;
    bottom: 0;
	padding: 20px;*/
    left: 0;
    z-index: 1000;
    display: block;

    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > div {
  padding-right: 20px;
  padding-left: 20px;
    position: relative;
    display: block;
    padding: 10px 15px;
}
.nav-sidebar > .main-title,
.nav-sidebar > .main-title:hover,
.nav-sidebar > .main-title:focus {
  color: #fff;
  background-color: #428bca;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

/*----------------------------------*/
body{
	font-family: Roboto, Arial, sans-serif;
}
ol, ul {
	list-style: none;
}
.footnote {
	position:absolute;
    bottom: 0;
    height: 100px;
	width: 100%;
    border: solid;
    border-width: thin;
    word-wrap: break-word;
	z-index:1000;
}
.sidebar-container{
	display:none;
}
@media (min-width: 992px) {
  .sidebar-container {
	position:fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: auto;
    background-color: #337ab7 /* #f5f5f5; */
    border-right: 1px solid #eee;
  }
}

@media (max-height: 660px) {
  .footnote {
    display: none;
  }
}

.sidebar{
	overflow-y:scroll;
	height:calc(100% - 100px);
	position:absolute; /* necessary to set max-height = calc */
	width:100%;
}
.footer-logo{
	padding:0;
}

#map{
	height: calc(100vh - 51px);
	padding:0;
	margin:0;
}
.col-nogap{
	padding:0;
}
.col-minusgap{
	margin-left:-15px;
	padding-left:0;
}
.pac-container.pac-logo{
	z-index:1500;
}	

.query.button{
    min-height: 20px;
    padding-left: 20px;
    margin-bottom: 0;
    cursor: pointer;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
}

button[id='checkall']{
	width:100%;
	overflow:hidden;
}

.scroll-box{
	-ms-overflow-style: -ms-autohiding-scrollbar;
	outline-offset: -2px;
    overflow-x: hidden;
    overflow-y: hidden;
}
.scroll-box::-webkit-scrollbar {
    width: 10px;
}
.scroll-box::-webkit-scrollbar-thumb {
    background-color: #888;
}
.scroll-box::-webkit-scrollbar-track {
    background-color: #f0f0f0;
}
.pad-side-6{
	padding-left:6px;
	padding-right:6px;
}

.nav-sidebar{
	width:100%;
}
.btn-file>input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    transform: translate(-300px, 0) scale(4);
    font-size: 23px;
    direction: ltr;
    cursor: pointer;
}

.form-group input[type="checkbox"] { /*https://bootsnipp.com/snippets/featured/fancy-bootstrap-checkboxes*/
    display: none;
}

.form-group input[type="checkbox"] + .btn-group > label span {
    width: 20px;
}

.form-group input[type="checkbox"] + .btn-group > label span:first-child {
    display: none;
}
.form-group input[type="checkbox"] + .btn-group > label span:last-child {
    display: inline-block;   
}

.form-group input[type="checkbox"]:checked + .btn-group > label span:first-child {
    display: inline-block;
}
.form-group input[type="checkbox"]:checked + .btn-group > label span:last-child {
    display: none;   
}
.form-group .btn-group{
	display: block;
}
.btn-group>.col-md-10{
	width: 83%;
	overflow:hidden;
}
.btn-group>.col-md-2{
	width: 16%;
	overflow:hidden;
}

.geoxml3_infowindow.geoxml3_style_ h3{
	display:none;
}
.geoxml3_infowindow.geoxml3_style_ br{
	display:none;
}

 .horizontal-break{
	border-top:solid;
	margin-top:20px;
	margin-bottom:20px;
}


/*-------------------LEGEND---------------*/

#legend{
	height: calc(100vh - 150px);
	overflow-y: auto;
	margin-right: -15px;
}

.leftpane-scroll{
	height: calc(100vh - 150px);
	overflow-y: auto;
	margin-right: -15px;
	padding-right: 15px;
}
/*-----------------GROUP-----------------*/

#pagelet_reminders{
	height: calc(100vh - 150px);
	overflow-y: auto;
	overflow-x: hidden;
	margin-right: -15px;
}

.pagelet-detail{
	height: calc(50vh - 150px);
}


/*------------------IMAGE-------------------*/

.img-12{
	width: 100%;
}

ul[class="infowindow"]{
	padding-left:0;	
	margin:0;
}
.infowindow ul{
	padding-left:0;
	margin:0;	
}
.gm-style-iw ul{
	padding-left:0;
}
.gm-ui-hover-effect > span {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><line x1="6" y1="6" x2="14" y2="14" stroke="black" stroke-width="2"/><line x1="14" y1="6" x2="6" y2="14" stroke="black" stroke-width="2"/></svg>');
  /*background-size: 50%;             /* Half of the 24px span (i.e., 12px) */
  background-repeat: no-repeat;
  background-position: center;
}