/***************************
* 
* stylemap.css for Guide theme
* for When I Guide CMS
* June 30 2021
* 
***************************/


/*
html {
	position: relative;
	min-height: 100%;
        max-width: 100%;
        overflow : scroll;
      }
*/
/*
body {
	Padding top for navbar 
	padding-top: 0px;
        max-width : 100%;
        height: 100vh;
       overflow : scroll;
        background: linear-gradient(to bottom, #ddd2bd 0%, #ffffff 100%);
}
*/
section {
	padding: 10px 0;
}

img {
	max-width: 100%;
}



form {
    display: block;
    margin-top: 0em;
}

.bg-img {
	background-image: url ("./assets/css/images/leaflet-search.jpg");
	min-height: 280px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	}

.footer
{
position: relative;
bottom: 0px;
width : 100%;
height :50px;
padding: 10px 0 10px 0; 
border-top: 1px solid #0170b5;

}

a.footer {
color: #000000;
margin: 20px;
background: transparent;
border: none;
text-decoration: none;
}

h1.title,
h2.title {
	font-size: 2.3rem;
}

@media screen and (max-width : 760px){
h1 {
 color: #576D22; 
    font-family: georgia, sans-serif; 
    font-size: 20px; 
    font-weight: 500; 
    line-height: 28px;
    padding-bottom: 10px;
    }
}
/* Style the header */
.header1 {
  height:150px;
  padding: 10px 10px;
  /*background: #555;
  color: #f1f1f1;*/
}

@charset "UTF-8";
/*.navigation {
  height: 20px;
  background: #0170b5;
  font-family: montserrat, sans-serif;
  font-weight: 400;
  font-style: normal;
  opacity: 0.88;
}

.nav-container {
  position:relative;
  margin: 0 auto;
}

nav {
  float: right;
}
nav ul {
  list-style: none;
}
nav ul li {
  float: right;
  position: relative;
}
nav ul li a,
nav ul li a:visited {
  display: block;
  padding: 20px;
  line-height: 30px;
  background: transparent;
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
}
nav ul li a:hover,
nav ul li a:visited:hover {
  background: none;
  color: #0170b5;
}
nav ul li a:not(:only-child):after,
nav ul li a:visited:not(:only-child):after {
  padding-left: 4px;
  content: " ▾";
}
nav ul li ul li {
  min-width: 190px;
}
nav ul li ul li a {
  padding: 15px;
  line-height: 20px;
}

.nav-dropdown {
  position: absolute;
  display: none;
  z-index: 1;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}
*/
/* Mobile navigation */
/*.nav-mobile {
  display: none;
  position: absolute;
  top: 1px;
  right: 2px;
  background: transparent;
  height: 50px;
  width: 50px;
}

@media only screen and (max-width: 798px) {
  .nav-mobile {
    display: block;
  
  }

  nav {
    width: 80%;
    float: right;
    padding: 10px;
    /*padding: 5px 0px 5px;*/
  }
  nav ul {
    display: none;
  }
  nav ul li {
    float: left;
  }
  nav ul li a {
    padding: 2px;
    line-height: 10px;
  }
  nav ul li ul li a {
    padding-left: 10px;
  }

  .nav-dropdown {
    position: static;
  }
}
@media screen and (min-width: 799px) {
  .nav-list {
    display: block !important;
  }
}
#nav-toggle {
  position: absolute;
  left: 10px;
  top: 1px;
  z-index: 10;
  cursor: pointer;
  padding: 1px 20px 10px 0px;
}
#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 5px;
  width: 35px;
  background: #ffffff;
  position: absolute;
  display: block;
  content: "";
  transition: all 300ms ease-in-out;
}
#nav-toggle span:before {
  top: -10px;
}
#nav-toggle span:after {
  bottom: -10px;
}
#nav-toggle.active span {
  background-color: transparent;
}
#nav-toggle.active span:before, #nav-toggle.active span:after {
  top: 0;
}
#nav-toggle.active span:before {
  transform: rotate(45deg);
}
#nav-toggle.active span:after {
  transform: rotate(-45deg);
}
.nav-link {
	font-size: 0.8em;
}

/* Style Grid and Map Nav*/
/* (A) CONTAINERS */
.tabNav, .tabCon {
  box-sizing: border-box;
  padding : 0px;
}
/* (B) TAB NAVIGATION */
.tabNav { 
  background: transparent; 
  min-height:40px;
  padding: 10px;
  float: left;
}
  
.tabNav .tabItem {
  display: inline-block;
  color: black;
  padding: 5px;
  margin-right: 5px;
  margin-left: 5px;
  text-decoration: none;
  cursor: pointer;
}
.tabNav .tabItem.active {
 display: inline-block;
 padding: 5px;
 background: #0170b5;
 color: white; 
 margin-right: 5px;
 margin-left: 5px;
 }

/* (C) TAB CONTAINER & SECTIONS */
.tabCon {
  padding: 0px;
  background: transparent;
}
.tabCon .tabSec { display: none; }
.tabCon .tabSec.active { 
  display: block;
  background: transparent; 
 }
 
/*button defined */
.search-button {
        background-color: #0170B5;
        color: #FFFFFF;
        width: 20%;
 padding: 10px;
 /*background: #2196f3;*/
 font-size: 17px;
 border: 1px solid grey;
 border-left: none;
 cursor: pointer;
    }
    
.button {
        background-color: #000000;
        color: #FFFFFF;
        padding: 10px;
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        margin:10px
    }
    
.button-filter {
       
        padding: 10px;
        border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        margin:10px
    }
    
    
.button-filter:hover {
     box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 25px 8px rgba(0, 0, 0, 0.3);
    }
    
.button-filter:active {  
    box-shadow: 0 5px #666;
    transform: translateY(4px);
    
    }

.buttongs {
    background: transparent;
    display: inline-block;
    }
    
.buttongs:hover {
     box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 25px 8px rgba(0, 0, 0, 0.3);
    }

.buttongs:active {
    box-shadow: 0 5px #666;
    transform: translateY(4px);
    
    }
    
.small-btn {
        width: 50px;
        height: 25px;
    }
    
.medium-btn {
        width: 70px;
        height: 30px;
    }
    
.big-btn {
        width: 90px;
        height: 40px;
    }

.bigger-btn {
        width: 250px;
        height: 40px;
    }
/*Strip the ul of padding and list styling*/
ul {
    list-style-type:none;
    float: right;
    
    margin:0;
    padding:0;
    /*position: absolute;*/
}
/*Create a horizontal list with spacing*/
li {
    display:inline-block;
    float: right;
    margin-right: 1px;
}
/*Create a horizontal list with spacing*/
li {
    display:inline-block;
    float: right;
    margin-right: 1px;
}
/*Style for menu links*/
li a {
    display:block;
    min-width:40px;
    height: 20px;
    text-align: left;
    line-height: 10px;
    font-size: 15px;
    font-weight: bold;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #fff;
    background: #2f3036;
    text-decoration: none;
}
/*Hover state for top level links*/
li:hover a {
    background: #19c589;
}
/*Style for dropdown links*/
li:hover ul a {
    background: #f3f3f3;
    color: #2f3036;
    height: 40px;
    line-height: 40px;
}
/*Hover state for dropdown links*/
li:hover ul a:hover {
    background: #19c589;
    color: #fff;
}
/*Hide dropdown links until they are needed*/
li ul {
    display: none;
}
/*Make dropdown links vertical*/
li ul li {
    display: block;
    float: none;
}
/*Prevent text wrapping*/
li ul li a {
    width: auto;
    min-width: 100px;
    padding: 0 20px;
}
/*Display the dropdown on hover*/
ul li a:hover + .hidden, .hidden:hover {
    display: block;
}
/*Style 'show menu' label button and hide it by default*/
.show-menu {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-decoration: none;
    color: #fff;
    background: #19c589;
    text-align: center;
    padding: 10px 0;
    display: none;
}
/*Responsive Styles*/
@media screen and (max-width : 760px){
    /*Make dropdown links appear inline*/
    ul {
        position: static;
        display: none;
    }
    /*Create vertical spacing*/
    li {
        margin-bottom: 1px;
    }
    /*Make all menu links full width*/
    ul li, li a {
        width: 100%;
    }
    /*Display 'show menu' link*/
    .show-menu {
        display:block;
    }
}
/* Style Guide Summary Page */

figuregs {
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 5px;
  width: 100%;
  background-color: #D4D4D4;
  overflow: hidden;
}


/* Style the grid */
.gridview {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* or space-around */
}

a.grid {
  display: inline-block;
  margin-bottom: 8px;
  width: calc(50% - 4px);
  text-decoration: none;
  color: black;
}
/*
a:hover img {
  transform: scale(1.15);
}
*/
a.grid:hover img {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 25px 8px rgba(0, 0, 0, 0.3);
}

figure {
  margin-top: 0;
  margin-left: 5px;
  margin-right: 0;
  margin-bottom: 5px;
  //width: 200px;
  //height: 144px;
  background-color: #D4D4D4;
  overflow: hidden;
}

figcaption {
  margin-top: 10px;
  margin-left: 4px;
  margin-right: auto;
  margin-bottom: 4px;
}

img {
  border: none;
  max-width: 100%;
  height: auto;
  display: block;
  background: transparent;
  transition: transform .2s ease-in-out;
}

.p a {
  display: inline;
  font-size: 13px;
  margin-top: 0;
  margin-left: 4px;
  margin-right: auto;
  margin-bottom: 4px;
  text-decoration: underline;
  color: blue;
}

.p {
  text-align: center;
  font-size: 13px;
  padding-top: 100px;
}

.gridDiv {
  width: 200px;
  height: 144px;
  margin-bottom: 5px;
  background-color: #D4D4D4;
  }


/* Style the marker popup html */
.site__name {
    margin: 0 0 .8em 0;
}

.site__address {
    font-size: 1.3em;
}

.site__availability {
    max-width: 16em;
}

.site__availability ul {
    padding: 0;
    margin: 0 0 1.5em;
    list-style: none;
}

.site__availability ul li {
    margin-bottom: .8em;
}

/* Property name */
.site__availability ul li span {
    font-size: 1.4em;
    font-weight: bold;
    line-height: 1.5;
}

/* Property value (icon) */
.site__availability__icon {
    width: 2em;
    float: right;
}

.leaflet-popup-content {
/* change size of margin */
        margin: 14px 14px;
/* make the line height smaller */
        line-height: 1.4;
        }

/* change color when the cursor hovers over the popup close button */
  .leaflet-container a.leaflet-popup-close-button:hover {
        color: #9d132a;
        }

/* change color of an unvisited link and the zoom symbols */
/*    a:link {
        color: #9d132a;
    }
*/
/* change color of a visited link */
 /*   a:visited {
        color: #84b819;
    }
*/
/* change color when the cursor hovers over a link */
 /*  a:hover {
        color: #e11b3c;
    }
*/
.map-container
{
    position: relative;
    height: 80%;
    width: 90%;
    border: 2px solid green;
    width: calc(100%-30px);
    padding:20px;
    margin-top: auto; 
    margin-bottom: auto;  
    margin-right: auto;  
    margin-left: auto;     
    
}
#map {
   /*width:90%;  Fallback incase the browser doesn't support */
   width:calc(100% - 50px); /* This will calculate the 100% viewport height minus 50px */
   height:500px;
   box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.3), 0 6px 25px 8px rgba(0, 0, 0, 0.3);
   padding : 10px;
   margin-top: auto;
   margin-bottom: auto;
   margin-right: auto;
   margin-left: auto;
   border: 2px solid black;
   position: relative;
}

#map1 {
  height : 550px;
  width  : 700px;
  border: 2px solid blue;
   border-radius: 4px;
 }


.map-content {
   flex: 1 1 auto;
}

.btn-outlined.btn-primary {
  color: #000;
}
.btn-outlined.btn-primary:active, .btn-outlined.btn-positive:active, .btn-outlined.btn-negative:active {
  color:#000;
}
.btn-block {
  display: block;
  width: 100%;
  padding: 15px 0;
  margin-bottom: 10px;
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

.columncheck {
 float: left;
 width: 30%;
 padding: 3px 3px;
 font: 14px/16px Arial, Helvetica, sans-serif;
 /*font-family: 'EB Garamond';*/
 background:transparent;
}



/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.filter-container
{
   font: 10px/12px Arial, Helvetica, sans-serif;
    background:transparent;

}


 .filter-container label {
      display: inline-block;
      padding-right: 0px;
      padding-left: 10px;
      text-indent: -10px;
       vertical-align: right;
    }
  @media screen and (max-width : 760px){  
  .filter-container label {
  font-size: 12px;
  }
  }
    

    .filter-container input {
      vertical-align: left;

    }

    .filter-container label span {
      vertical-align: left;
    }
