/* 
 * Used for Services page that contains the map. 
 */
div.sticky {
  position: sticky;  
  top: 0;
  width: 100%;
  height: 800px;
}
div.title {
  font-family: verdana;
  font-size: 16px;
  font-weight: bold;
  color: black;
}
div.region {
  font-family: verdana;
  font-size: 13px;
  font-weight: bold;
  color: gray;
  float: right;
  padding-right: 20px;
}
.owncontent {
  font-family: verdana;
  font-size: 13px;
}
.program {
  font-family: verdana;
  font-size: 13px;
  font-weight: bold;
  padding-left: 10px;
}
.indentation {
  padding-left: 10px;
}
span.distance {
  font-family: verdana;
  font-size: 12px;
  font-weight: bold;
  color: white;
  margin-left: 10px;
  background-color: black;
  padding: 2px 5px 2px 5px; /*top right bottom left*/
  border: 1px solid black;
  border-radius: 8px
}
.subtitle {
  font-family: verdana;
  font-size: 15px;
  color:darkblue;
}
.smallsubtitle {
  font-family: verdana;
  font-size: 14px;
  color:darkblue;
}
table {
  border: 1px solid black;
  border-collapse: collapse;
  border-style: none;
}
th, td {
  border-style: hidden;
}
tr:nth-child(even) {
  background-color: #D6EEEE;
}
.button {
  background-color: #2596be;
  border: none;
  border-radius: 4px;
  color: white;
  padding: 10px 24px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  width: 150px;
}

/*Dropdown Menu*/
.dropbtn {
  background-color: #2596be;
  color: white;
  padding: 10px 24px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  width: 100%;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f6f6f6;
  min-width: 230px;
  overflow: auto;
  border: 1px solid #ddd;
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #0d7196;}

#searchInput {
  box-sizing: border-box;
  background-image: url('searchicon.png');
  background-position: 14px 12px;
  background-repeat: no-repeat;
  font-size: 16px;
  padding: 14px 20px 12px 45px;
  border: none;
  border-bottom: 1px solid #ddd;
}

#searchInput:focus {outline: 3px solid #ddd;}

/*Two columns format*/
ul.twocolumn {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

li {
  font-family: verdana;
  font-size: 13px;
  font-weight: normal;
}

/*Section format*/
div.section {
width: 100%;
padding: 10px;
border: 1px solid lightgray;
border-radius: 10px;
-moz-border-radius: 10px;
margin-bottom: 10px;
}
div.subsection {
width: 100%;
padding: 10px;
border: 1px solid lightgray;
border-radius: 10px;
-moz-border-radius: 10px;
margin-bottom: 10px;
}

hr.section {
  width: 75%; 
  margin: 0 auto; /* Centers the hr element */
  border: 1px solid lightgray; 
}

/*Pagination*/
.pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  cursor: pointer;
}

.pagination a.active {
  background-color: #4CAF50;
  color: white;
  border-radius: 5px;
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
  border-radius: 5px;
}

/*collapsibles*/
.collapsible {
  background-color: #fff;
  color: black;
  cursor: pointer;
  padding: 5px;
  width: 100px;
  border: 1px solid #ccc;
  border-radius: 2px;
  text-align: center;
  outline: none;
  font-size: 13px;
}

.active, .collapsible:hover {
  background-color: lightgray;
}
.collapsible_p {
  background-color: #fff;
  cursor: pointer;
  width: 100%;
  text-align: left;
  outline: none;
  font-family: verdana;
  font-size: 15px;
  color:darkblue;
  border: none;
}

.active, .collapsible_p:hover {
  background-color: lightgray;
}

/*toggle switch*/
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 22px;
}

.slider.round:before {
  border-radius: 50%;
}