* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-size: 18px;
}

a {
    color: #faa307;
}


#post_blocks {
  background-color: red;
}


body {
  background-color: #F5F5F5;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
}

header {
  padding: 0 20px;
  background-color: #00bf63;
  height: 80px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid white;
}

header ul {
  list-style: none;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

header ul a{
  color: white;
  text-decoration: none;
  font-size: 18px
}

header ul li{
  padding: 5px 30px;
  margin-left: 10px;
}

header ul li:hover{
  transform: scale(1.1);
  transition: 0.3s;
}

#hamburger-icon {
  margin: auto 0;
  display: none;
  cursor: pointer;
}

#hamburger-icon div {
  width: 35px;
  height: 3px;
  background-color: white;
  margin: 6px 0;
  transition: 0.4s;
}
.open .bar1 {
  -webkit-transform: rotate(-45deg) translate(-6px, 6px);
  transform: rotate(-45deg) translate(-6px, 6px);
}

.open .bar2 {
  opacity: 0;
}

.open .bar3 {
  -webkit-transform: rotate(45deg) translate(-6px, -8px);
  transform: rotate(45deg) translate(-6px, -8px);
}

.open .mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: #353836;
  width: 90%;
  border: 2px solid white;
  border-left: none;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  height: calc(100vh - 50px);
  width: 100%;
}

.mobile-menu li {
  margin-bottom: 10px;
}

.websiteheading {
    margin-top:30px;
}
.websiteheading h1{
    font-size:30px;
    text-align: center;
    margin-bottom: 10px;
}
.websiteheading img {
    display: block;
    margin: 0 auto;
}
.websiteheading p {
    text-align: center;
    margin-bottom: 10px;
    font-size: 23px;
}

.home {
  margin: 0 auto;
  text-align: center;
}

.home .articles .articles_container {
  width: 400px;
  margin: 20px auto;
  font-weight: bold;
  display: inline-block;
}
.home .articles .articles_container .article_title {
  text-align: center;
  background-color: #00bf63;
  border-top: 1px solid black;
  border-bottom: 1px solid black;   
  border-left: 5px solid black;
  border-right: 5px solid black;
  border-radius: 15px;
  margin: 5px;
  margin-bottom: 10px;
}
.home .articles .articles_container .article_title a {
  text-decoration: none;
  color:  white;
  display: block;
  padding: 15px
}
.pagination {
    margin-top: 30px;
    margin-bottom: 70px;
}
.pagination .next,
.pagination .prev,
.pagination .page-numbers {
  background-color: black;
  color: white;
  text-decoration: none;
  border: px solid white;
  padding: 10px;    
}
.pagination .next {
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
}
.pagination .prev {
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}
.pagination .current {
  background-color: none;
  padding: 13px;
  border: 3px solid white;
  border-radius: 10px;
}


.main-blog-post {
  width: 90%;
  margin: 20px auto;
}

.main-blog-post .main-blog-post-title{
    background-color: black;
    text-align: center;
    padding: 22px 5px;
    margin-bottom: 5px;
    border-top: 2px solid white;
    color: white;
    border-right: 20px solid #00bf63;
    border-left: 20px solid #00bf63;
}
.main-blog-post .main-blog-post-title h1 {
  font-size: 25px;
}
.main-blog-post .main-blog-post-content {
  text-align: center;
  padding: 15px;
  line-height: 1.8;
  font-weight: bold;
  font-family: arial;
  text-indent: 15px;
}

.main-blog-post .main-blog-post-content h2 {
  color: white;
  width: 90%;
  margin: 50px auto 15px;
  padding: 7px;
  font-size: 24px;
  border-radius: 10px
  text-align: center;
  background-color: #00bf63;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-left: 5px solid black;
  border-right: 5px solid black;
  border-radius: 15px;
}
.main-blog-post .main-blog-post-content .distance {
    background-color: black;
    width: 150px;
    color: white;
    border-bottom-left-radius: 23px;
    border-bottom-right-radius: 23px;
    margin: 0 auto;
}
.main-blog-post .main-blog-post-content h3 {
    border: 10px solid #000000;
    margin: 30px auto 10px;
    width: 425px;
    color: #040404;
    text-align: center;
    padding: 5px;
    text-indent: 6px;
    border-right: 10px solid #00bf63;
    border-left: 10px solid #00bf63;
    font-size: 20px;
}

.main-blog-post .main-blog-post-content h3 {
    border-bottom: none;
}

.main-blog-post .main-blog-post-content p {
    margin: 0 auto;
    text-align: left;
    width: 90%;
}
.mapstyle {
    margin: 0 auto;
    padding: 5px;
    width: 90%;
    border: 2px solid white;
    border-top: 2px solid white;
}
.main-blog-post .main-blog-post-content p:first-child {
    border:none
}
.main-blog-post .main-blog-post-content a {
    color: #1000ff
}
.main-blog-post .main-blog-post-content .more a {
    border: 1px solid black;
    background-color: #faa307;
    border-radius: 15px
}
.main-blog-post .main-blog-post-content ul {
    text-indent: 10px;
    margin-bottom: 25px;
}

.main-blog-post .main-blog-post-content ul li {
    list-style: none;
    background: white;
    border: 1px solid;
    padding: 5px;
    border-radius: 20px;
    width: 600px;
    margin: 7px auto;
    border-right: 3px solid #0cc0df;
    border-left: 3px solid #0cc0df;
}
.main-blog-post .main-blog-post-content ul li a {
    padding: 10px;
    margin: 0 auto;
    color: white;
    background-color: #423f3f;
    display: block;
    width: 425px;
    text-align: center;
    text-decoration: none;
    border-bottom: 1px solid white;
    border-left: 10px solid #0cc0df;
    border-right: 10px solid #0cc0df;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.main-blog-post .main-blog-post-content ul li a:hover {
    background-color: white;
    color: black;
}
.main-blog-post .main-blog-post-content ul li a:first-child {
    border-top: 1px solid white;
}
.main-blog-post .main-blog-post-content .wp-block-image {
    text-indent: 0;
}
.main-blog-post .main-blog-post-content .wp-block-image img {
    border: 1px solid black;
}

.main-blog-post .main-blog-post-content table {
    background-color: #2062cf;
    border-top: 1px solid white;
    border-right: 1px solid white;
    box-shadow: 1px 2px 2px black;
}
.main-blog-post .main-blog-post-content tr {
    border-bottom: 1px solid white;
}
.main-blog-post .main-blog-post-content td {
    padding: 10px;
    width: 50%;
    border-left: 1px solid white;   
}
.main-blog-post .main-blog-post-content tr:first-child {
    background-color: #1d1f1d;
    height: 80px;
}
.main-blog-post .main-blog-post-content tr:first-child td {
    font-size: 24px;
}

.wpcf7-form-control {
    border: 2px solid black;
    padding:5px;
}

.article-sections-title {
    background-color: #141313;
    padding: 10px;
    color: white;
    font-size: 23px;
    border-bottom-right-radius: 60px;
    border-bottom-left-radius: 60px;
    border-right: 20px solid #faa307;
    border-left: 20px solid #faa307;
}
.search-form {
  margin: 50px;
}
#s {
  padding: 7px;
    border: 2px solid black;
}
#searchsubmit {
  padding: 7px;
  background-color: black;
  color: white;
  border-radius: 10px;
  margin: 5px;
}

.box {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}
.box-title {
  background-color: black;
  width: 500px;
  color: white;
  padding: 10px;
  margin: 55px auto 15px;
  font-size: 23px;
  border-right: 20px solid #00bf63;
  border-left: 20px solid #00bf63;
  border-radius: 10px;
}
.box a {
    width: 400px;
    background-color: #2362bb;
    text-decoration: none;
    color: white;
    padding: 15px;
    border-top: 1px solid black;
    border-bottom: 1px solid black; 
    border-left: 5px solid black;
    border-right: 5px solid black;
    border-radius: 15px;
    margin: 20px auto;
    display: block;
}
.sections-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 10px 0 100px;
}

.sections {
  width: 500px;
  margin: 10px;
}
.sections .sections-title {
  background-color: black;
  padding: 5px;
  font-size: 25px;
  color: white;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.sections .sections-content a {
  display: block;
  text-decoration: none;
  color: white;
  padding: 5px;
  background-color: #423f3f;
  text-align: center;
  border-bottom: 1px solid white;
  border-left: 10px solid #faa307;
  border-right: 10px solid #faa307;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.sections .sections-content a:hover {
  background-color: white;
  color: black;
}

.halfway-city-form form,
.halfway-city-results {
    background-color: #171718;
    width: 500px;
    color: white;
    margin: 19px auto;
    padding: 30px;
    border: 2px solid black;
    border-radius: 15px;
}
.halfway-city-form {
    margin: 40px auto;
}
.halfway-city-results-content {
    background-color: #171718;
    width: 400px;
    color: white;
    margin: 40px auto;
    padding: 30px;
}
.halfway-city-results-content p {
    margin: 15px;
    text-indent: 10px
}
.halfway-city-form form input {
    margin: 15px;
    padding: 3px;
}

.halfway-city-form form button {
    padding: 5px;
    border-radius: 7px;
    background-color: #ffeb00;
    font-weight: bold;
}
.halfway-city-intro p {
    margin: 40px auto;
}
iframe {
      margin-bottom: 190px
}
.map {
    text-align: center
}
#map,
#map2 {
    margin: 30px auto;
    width: 470px;
    height: 420px;
    border: 1px solid black
}
.tools-container{
  margin: 0 auto;
  background-color: #90e0ff;
  padding: 10px 5px;
  line-height: 1.5;
}
.tools-container form label {
  margin: 20px auto;
} 
.tools-container form input {
  margin: 20px auto;
  padding:5px;
  border: 2px solid black;
  width: 97%;
  font-weight: bold;
}
.tools-container form button {
  font-weight: bold;
  background-color:#20eaff; 
  width: 200px;
  padding: 10px
}
.tools-container p {
  margin-top: 10px;
}
.tools-heading {
    background-color: black;
    color: white;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 40px;
}
.tools-heading h1 {
    font-size: 22px
}
.tools-container .display-result h3{
    color: red
}
#distance-form {
    margin: 40px auto;
    padding-top: 20px;  
    padding-bottom: 20px;   
    background-color: #cdc8c8;
    border: 1px solid black;
    border-radius: 10px;
    width: 600px;
}

.display-result {
  width: 600px;
  margin: 40px auto;
  padding-top: 5px;
  line-height: 1.5;
}
.display_result_return a {
    display: block;
    padding: 10px;
    color: white;
    background-color: red;
}
.latlong-container {
    margin: 20px;   
}
.latlong-container span {
  display:block;
}
.custom-fields-container {
    background-color: red;
}
.custom-fields-container input {
    background-color: red;
}
footer {
    background-color: #00bf63;
    border-top: 1px solid white;
    color: white;
}
footer .copyright p {
    text-align: center;
    font-size: 18px;
	padding: 10px
}
footer .info-menu {
    text-align: center;
    border-bottom: 1px solid white;
	padding: 10px

}
.info-menu li a {
    text-decoration: none;
    font-size: 18px;
	background: white;
    color: black;
    padding: 5px;
    margin: 5px auto;
    display: block;
    width: 300px;
	border-radius: 10px;
}
#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #00A19D; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

.contact-form textarea {
    width: 500px;
    height: 200px;
    padding: 10px;
    text-indent: 15px;
}
.contact-form input {
    padding: 5px;
}
.contact-form label {
    display: block;
}
.sources-container {
    background-color: black;
    border: 1px solid white;
    border-radius: 10px;
    color: white;
    width: 500px;
    margin: 80px auto;
    clear: both
}
.sources-container a {
}

.sources-container .sources .sources-title {
    padding: 5px;
}
.sources-container .sources .sources-content {
    padding: 5px;
  background-color: #2362bb;
}
.related-content {
    border: 1px solid white;
    margin: 0 auto 165px;
    width: 650px;
    padding-top: 20px;
}
.related-content a {
    display: block;
    text-decoration: none;
    background-color: #1d1f1d;
    padding: 5px;
    text-align: center;
    margin: 20px auto;
    border: 1px solid #fffffffa;
}
.result-item ul li {
    background: #b8e8ff;
    width: 600px;
    margin: 10px auto;
    border: 2px solid;
    border-radius: 10px;    
}

@media only screen and (max-width: 1100px) {
.home .articles .articles_container {
  margin: 20px auto;
    float:none
}   
}
@media only screen and (max-width: 700px) {

.home .articles .articles_container .article_title a {
    padding: 5px;
}
.home .site_title p {
  font-size: 19px;
  width: 97%;
  margin: 0 auto;
  padding-left: 5px;
  padding-right: 5px;
}
.main-blog-post {
  width: 100%;
}
    
.home h2,
.main-blog-post .main-blog-post-content h2 {
  width: 97%;
  font-size: 23px;
  padding: 7px;
  text-indent: 0;
}
.main-blog-post .main-blog-post-content h2:first-child {
   margin: 15px auto 0;
}

.main-blog-post .main-blog-post-title {
    font-size: 19px;
}
.related-content {
        width: 97%;
}
.box-title {
    width: 95%
}
}
@media only screen and (max-width: 600px) {
  header nav {
    display: none;
  }
  #hamburger-icon {
    display: block;
  }
   .main-blog-post .main-blog-post-content p {
   width: 100%;     
}
  .mapstyle {
    width: 97%;
  }
    .halfway-city-form form,
    .halfway-city-results {
        width: 97%;
    }
    #distance-form {
        width: 97%;
    }
    .result-item ul li {
        width: 97%; 
    }
	.main-blog-post .main-blog-post-content ul li {
		width: 97%;
	}
}
@media only screen and (max-width: 500px) {
    .websiteheading p {
        text-align: center;
        margin-bottom: 10px;
        font-size: 20px;
    }
    .main-blog-post,
    .related-articles,
    .related-articles a,
    .incontent-related-articles {
        width: 97%
  }
    .related-articles-title {
        width: 97%;
    }
    .home .articles .articles_container {
      width: 95%;
    }
.main-blog-post .main-blog-post-content ul li a {
        width: 100%;
    }
.home .region .region-title p {
    width:97%
    }
.main-blog-post .main-blog-post-content .wp-block-image {
    text-align: center;
}

.wpcf7-form-control {
    width: 90%;
    border: 2px solid black;
}
.sources-container {
    width: 97%;
}

.contact-form textarea {
    width: 300px;
    margin: 0 auto;
}
    .halfway-city-results-content {
        background-color: #171718;
        width: 96%;
        color: white;
        padding-top: 30px;
}
#map,
#map2,

}

@media only screen and (max-width: 470px) {

    .pagination .next,
    .pagination .prev,
    .pagination .page-numbers {
        width: 60%;
        display: block;
        margin: 5px auto;
}
.display-result {
   width: 100%;
}
}

@media only screen and (max-width: 425px) {
    iframe {
      width: 97%;
    }
    .home .articles .title p {
      width: 97%;
      margin: 50px auto;    
    }
    .main-blog-post .main-blog-post-content h3,
    .main-blog-post .main-blog-post-content h4  {
      width: 97%;
    }
    .display-result,
    .box a {
      width: 97%;
    }
}
@media only screen and (max-width: 350px) {
    .contact-form textarea {
        width: 200px;
        margin: 0 auto;
    }
}   
@media only screen and (max-width: 300px) {
    .halfway-city-form form input {
    margin: 5px auto;
    padding: 3px;
    width: 90%;
    display: block;
    }
    .halfway-city-results-content p {
        width: 95%;
    }
	.info-menu li a {
		width: 97%;
	}
}   
@media only screen and (max-width: 270px) {
    .contact-form input {
        width: 170px;
        margin: 0 auto;
}   
    .contact-form label,
    .contact-form input,
    .contact-form textarea {
        width: 170px;
        margin: 0 auto;
}   
    .tools-container form button {
 width: 97%;

}
}