.archive.post-type-archive-standish_map header.entry-header {
    background-color: #0D6C38 !important;
}

.archive.post-type-archive-standish_map header.entry-header h1 {
    padding-left: 0;
    letter-spacing: 3px !important;
    color: #32BDA8;
    font-weight: 700;
}

#standish_map{
    /* height: 300px; */
/*    height: 100%; */
    height: calc(100vh - 152px);
    width: 100%;
}

#standish_map .screen-reader-text, #standish_map [aria-hidden="true"] {
    display: inherit;
}

section.standish_map .sidebar {
    position: absolute;
    top: 0;
    right: 0;
}
section.standish_map .sidebar .mdl-card__title {
    background-color: #0D6C38 !important;
}

@media screen and (max-width: 450px) {
  section.standish_map .sidebar {
    width: 100%;
  }
  
  section.standish_map .sidebar .mdl-card__title {
    /* display: none; */
  }
}

section.standish_map .sidebar.subsidebar {
  right: 410px;
  max-width: 400px;
  padding-top: 8px;
}
@media screen and (max-width: 800px) {
    section.standish_map .sidebar.subsidebar {
        right: 16px;
        z-index: 100;
        padding: 0;
    }

    section.standish_map .sidebar.subsidebar .standish_map_content {
        /*height: calc(75vh - 80px); */ /* Removed because of Safari :D */
    }
}
@media screen and (max-width: 450px) {
    section.standish_map .sidebar.subsidebar {
        right: 0;
        max-width: 100%;
    }
    section.standish_map .sidebar.subsidebar .standish_map_content {
        min-height: calc(75vh - 80px);
        height: inherit;
    }
}

section.standish_map .content {
    position: relative;
}

section.standish_map .standish_map_panel {
    min-width: 400px;
}

@media screen and (max-width: 450px) {
  section.standish_map .standish_map_panel {
      min-width: inherit;
      padding: 0;
      margin: 0;
  }
  section.standish_map .standish_map_panel > div.mdl-cell {
    margin: 0;
    padding: 0;
    width: 100%;
  }
}

section.standish_map .standish_map_panel .magog-blog-widget {
  margin-bottom: 0;
}

section.standish_map .standish_map_panel .mdl-cell {
    /*overflow-y: auto;*/ /* scroll not working in iPad ... */

    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;

    max-height: calc(75vh - 80px);
}

@media screen and (max-height: 700px) {
  section.standish_map .standish_map_panel .mdl-cell {
      max-height: calc(75vh - 100px);
  }
}

body.archive.post-type-archive-standish_map #back-to-top {
  display: none;
}

.standish_map_content > .loading {
  background-image: url('../images/loading.gif');
  background-repeat: no-repeat;
  width: 100%;
  min-height: 200px;
  background-position: center;
}

.standish-map-post-content {
  padding: 10px 48px;
}

img.standish-map-image {
  max-width: 100%;
  height: auto;
}

h2.standish-map-address {
  font-size: 20px;
  margin-bottom: 4px;
  line-height: 24px;
}

p.google-map-link a {
  color: #0a8dc9;
  text-decoration: underline;
}

h3.standish-map-service {
  color: #0a8dc9;
  font-size: 16px;
  margin: 3px 0;
line-height: 18px;
padding-top: 12px;
}

img.standish-map-category-icon {
  width: 32px;
  padding-right: 8px;
}
p.standish-map-service {
    padding: 0;
    margin: 0;
}
.categories {
    padding-bottom: 10px;
}


div.sidebar.subsidebar .mdl-card__title-text {
  flex-direction: column;
  font-weight: 400;
  flex-grow: 1;
}
h3.mdl-card__title-text.mdl-color-text--primary-contrast{
  font-weight:400;
}

div.sidebar.subsidebar .mdl-card__title-text .subtitle {
font-size: 18px;
}

.sidebar.subsidebar a.back-button {
    color: #ffffff;
    padding-left: 16px;
}

@media screen and (min-width: 799px) {
    .sidebar.subsidebar a.back-button {
        /* display: none; */
    }
}


.single-standish_map header.entry-header {
    background-color: #0D6C38 !important;
}

.single-standish_map header.entry-header h1 {
    display: inline-block;
}
.single-standish_map header.entry-header h1 {
    color: white;
    padding-left: calc(8.3333333333% + 24px);
    padding-right: calc(8.3333333333% + 24px);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

@media screen and (max-width: 800px) {
  .archive.post-type-archive-standish_map header.entry-header h1 {
    font-size: 24px;
  }
}

@media screen and (max-width: 450px) {
  .archive.post-type-archive-standish_map header.entry-header h1 {
    font-size: 14px;
  }
  .standish_map_tabs {
    flex-direction: column;
  }
}

@media screen and (max-width: 479px) {
  .standish_map_tabs {
    padding-bottom: 16px;
  }
}

.standish_map_tabs {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 16px;
  flex-wrap: wrap;
}

.standish_map_tabs a {
  /* display: block; */
  color: #ffffff;
  margin-left: 32px;
}

h3.standish-map-service.no-dog {
    background-image: url(../images/no-dog.png);
    background-repeat: no-repeat;
    background-size: 42px;
    background-position: left center;
    padding-left: 52px;
    min-height: 51px;
}

.footer_standish_map_links {
  background-color: #0D6C38;
}

.footer_standish_map_links .mdl-cell {
    display: flex;
    padding: 10px 0;
}

.footer_standish_map_links a {
  display: block;
  color: #ffffff;
  width: 50%;
  text-align: center;
}

@media screen and (max-width: 450px) {
  .footer_standish_map_links .mdl-cell {
    flex-wrap: wrap;
  }
}

.standish_map_panel > .mdl-card__title {
  width: 100%;
    margin: 0 8px;
    margin-bottom: -8px;
}

@media screen and (max-width: 450px) {
  .standish_map_panel > .mdl-card__title {
    margin: 0;
  }
  section.standish_map .sidebar .mdl-card__title {
    min-height: 81px;
  }
  div.sidebar.subsidebar .mdl-card__title-text, div.sidebar h3.mobile_title {
    align-self: center;
  }
}

li.menu-item-type-post_type ul.submenu {
  dislplay: none !important;
}

@media screen and (max-width: 799px) {
  body.post-type-archive-standish_map header.entry-header {
    display: none;
  }
}

.standish_map_panel .mobile_title {
  display: none;
}

@media screen and (max-width: 799px) {
  .standish_map_panel .desktop_title {
    display: none;
  }
  .standish_map_panel .mobile_title {
    display: inherit;
    font-size: 18px;
  }
}

@media screen and (min-width: 800px) {
  body.archive.post-type-archive-standish_map .menu-item-has-child > a.is_active {
    background-color: #cccccc;
  }
}


body.single-standish_map .vc_images_carousel .vc_carousel-indicators li {
  border: 1px solid #fff !important;
  background-color: #0D6C38 !important;
}

body.single-standish_map .vc_images_carousel .vc_carousel-indicators .vc_active {
  border: 1px solid #fff !important;
  background-color: transparent !important;
}