/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #6FA063;
  font-weight: bold;
}

/*
 * Base structure
 */

html,
body { 
  height: 100%;
  background-color: #fff;
  color: #000;
  text-align: center;
}

.widebanner {width: 100%; border: 1px solid #333; margin: 1rem 0rem;}

.h1, h1 {font-size: 1.75rem;}

#patprofile {float: left; margin: 0 20px 10px 0; border: 1px solid #333;}
#bacp-logo {float: none; margin: 1rem auto;}

@media (max-width: 500px) {
  #patprofile {float: none; margin: 0 auto 1rem 1rem;}
}

body.page-contact p.lead {font-size: 1rem;}
body.page-contact p.lead .phone {font-size: 1.5rem;}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

/* Padding for spacing */
.inner {
  padding: 2rem;
}

.inner p, .inner li {text-align: left;}

.inner p.lead {text-align: center;}

/*
 * Header
 */

.masthead-brand {
  margin-bottom: 0;
  font-weight: bold;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: bold;
  color: rgba(0,0,0,1);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(111,160,99,.40);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #000;
  border-bottom-color: rgba(0,127,70,.40);;
}

.masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }

/*
 * Cover
 */

.cover {
  padding: 1.5rem 1.5rem;
  background-color: rgba(255,255,255,.80);
}

.cover h3 {padding-bottom: 1rem;}

/*
 * Footer
 */

.mastfoot {
  color: rgba(0,0,0,.8);
}

.mastfoot p {text-align: center; font-weight: bold;}


/*
 * Affix and center
 */

@media (min-width: 40em) {
  /* Pull out the header and footer */
  .masthead {
    position: unset;
    top: 0;
  }
  .mastfoot {
    position: unset;
    bottom: 0;
  }

  /* Handle the widths */
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
}

@media (min-width: 62em) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 42rem;
  }
}

.google-maps {
        position: relative;
        padding-bottom: 75%;
        height: 0;
        overflow: hidden;
    }

.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 98% !important;
    height: 98% !important;
}