.intro {
  background-image: url(wyoming-road2-opt.jpg);
  background-position: center bottom;
}

.top-shadow {
  /* Use tool at https://codepen.io/yaphi1/pen/oNbEqGV to calculate optimal opacity */
  background: linear-gradient(to bottom, rgba(0, 57, 118, 0.533), transparent);
}

.title-text h1,h2, h2>a {
    font-size: calc(var(--fontSize) * 1.5);
    margin-top: calc(var(--fontSize) * 1);
    font-weight: calc(var(--fontWeight) * 7);
    /* -webkit-text-stroke: 1px var(--brandshadow); */
    color: white;
    /* text-shadow:
        1px 1px 0 var(--brandshadow),
        -1px -1px 0 var(--brandshadow),  
        1px -1px 0 var(--brandshadow),
        -1px 1px 0 var(--brandshadow),
        1px 1px 0 var(--brandshadow); */
}

.top-link {
  color: white;
  font-size: calc(var(--fontSize) * 1);
  font-weight: calc(var(--fontWeight) * 7);
  text-shadow: 1px 0 0 #003976, 0 -1px 0 #003976, 0 1px 0 #003976, -1px 0 0 #003976;
}

.top-link:hover {
  color: white;
}

.nickname {
  display: none;
}

.contact-small {
    font-size: calc(var(--fontSize) * 1.5);
    line-height: calc(var(--fontSize) * 2);
    color: white;
    text-align: center;
}

.contact-small a {
    font-size: calc(var(--fontSize) * 1.5);
    font-weight: calc(var(--fontWeight) * 7);
    line-height: calc(var(--fontSize) * 2);
    color: white;
}

.contact-small p {
    font-size: calc(var(--fontSize) * 1.5);
    line-height: calc(var(--fontSize) * 2);
    color: white;
    text-align: center;
}

.intro hr {
    width: 90%;
    margin-top: 0px;
    color: white;
    border-bottom: 2px solid white;
}

.intro.display-table {
    height: 400px;
}

.logo-image {
    text-align: center;
    margin: calc(var(--fontSize) * 1) auto;
    margin-left: 1rem;
}

.more-button {
    margin: calc(var(--fontSize) * 2) auto;
}

.SBlogo {
    margin-top: calc(var(--fontSize) * 0.5);
    margin-bottom: calc(var(--fontSize) * 0.5);
}

.bottom-div-text {
    color: var(--brandshadow);
    text-align: right;
    font-size: calc(var(--fontSize) * 0.75);
    margin-bottom: calc(var(--fontSize) * 0.75);
    margin-right: 10px;
}

.bottom-div-image {
  font-size: calc(var(--fontSize) * 3);
  color: var(--brandcolor);
  opacity: 0.75;
  position: absolute;
  left: auto;
  right: auto;
  bottom: 0;
}

.close-button {
  color: var(--brandshadow);
}
.close-button:hover {
  color: var(--brandcolor);
}

.fa-envelope {
  vertical-align: middle;
}

@media print {
  .intro {
    display: none;
  }
}

.top-bar {
  position: sticky;
  top: 0px;
  z-index: 200;
}

.title-bar {
  position: sticky;
  top: 0px;
  z-index: 200;
}

#offCanvas {
  z-index: 300;
}

.print-title {
  margin-top: 0;
}

h3 {
    overflow: hidden;
    text-align: center;
    color: var(--brandshadow);
}

h3:before,
h3:after {
    background-color: #003976;
    content: "";
    display: inline-block;
    height: 2px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}

h3:before {
    right: 0.5em;
    margin-left: -50%;
}

h3:after {
    left: 0.5em;
    margin-right: -50%;
}

h3 {
    margin-top: calc(var(--fontSize) * 2);
    margin-bottom: calc(var(--fontSize) * 2);
}


h4 {
  font-size: var(--fontSize);
}

.map_canvas img {
  	max-width: none !important;
}

.map {
    width: 100%;
    height: 476px;
    isolation: isolate;
}

.modal {
  color: var(--brandshadow);
}

.modal:hover {
  font-weight: calc(var(--fontWeight) * 7);
  cursor: pointer;
}

@media screen and (max-width:39.9375em) {
  .map { width: 90%;}
}

.contact-left {
    text-align: center;
    color: white;
    margin-bottom: calc(var(--fontSize) * 2);
}

/* .delayed {
  display: none;
} */

.contact-left a {
    color: white;
}

.contact-right {
    text-align: center;
    color: white;
    margin-bottom: calc(var(--fontSize) * 2);
}

.contact-right a {
    color: white;
}

@media print {
  .contact-div {
    display: none;
  }
  .mapprint {
    width: 100%;
  }
}

.anchor-links {
  text-align: left;
}

.intouch {
    color: var(--brandshadow);
    margin-top: 2em;
}

.intouch-text {
    text-align: left;
}

.tabs {
  border-radius: 25px 25px 0px 0px;
}

.tabs-title {
		width: 50%;
}

.em15 {
		font-size: calc(var(--fontSize) * 1);
    color: var(--brandshadow);
}

#emailto:hover {
  font-weight: calc(var(--fontWeight) * 4);
  cursor: text;
}

#emailto {
    font-size: calc(var(--fontSize) * 1);
    color: var(--brandshadow);
}

.em15:hover {
    font-weight: bold;
}

.sendto {
	float:left;
	margin-right:10px;
}

.mugshot {
  border: 3px solid #fff;
}

.reveal {
    width: 30%;
    height: 75%
}

@media screen and (max-width:39.9375em) {
  .reveal {
    width: 80%;
  }
}

.reveal#mapModal {
    width: 55%;
    height: 80%
}

.red {
    color: red;
}

.has-float-label {
  display: block;
  position: relative;
  color: var(--brandshadow);
}
.has-float-label label, .has-float-label > span {
  color: var(--brandshadow);
  position: absolute;
  left: 0;
  top: 0;
  cursor: text;
  /* font-size: 50%; */
  font-size: calc(var(--fontSize) * 0.5);
  opacity: 1;
  -webkit-transition: all .2s;
          transition: all .2s;
}
.has-float-label select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.has-float-label input, .has-float-label textarea {
  /* font-size: inherit; */
  font-size: var(--fontSize);
  padding-top: 1.5em;
  padding-bottom: 0.5em;
  margin-bottom: 2px;
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid rgba(0, 0, 0, 0.3);
}
.has-float-label input::-webkit-input-placeholder, .has-float-label textarea::-webkit-input-placeholder {
  opacity: 1;
  -webkit-transition: all .2s;
          transition: all .2s;
}
.has-float-label input:placeholder-shown:not(:focus)::-webkit-input-placeholder, .has-float-label textarea:placeholder-shown:not(:focus)::-webkit-input-placeholder {
  opacity: 0;
}
.has-float-label input:placeholder-shown:not(:focus) + *, .has-float-label textarea:placeholder-shown:not(:focus) + * {
  font-size: 100%;
  /* opacity: .5; */
  opacity: 0.75;
  top: .25em;
}
.has-float-label input:focus, .has-float-label textarea:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.5);
}

.help-text {
  margin-top: 5px;
  font-size: calc(var(--fontSize) * 0.5);
  line-height: calc(var(--fontsize));
}

.map-help {
  text-align: left;
  font-size: calc(var(--fontSize) * 0.75);
  line-height: calc(var(--lineHeight) * 0.75);
}

.map-attr {
  font-size: calc(var(--fontSize) * 0.75);
}

hr {
  width: 100%;
}

hr.before-footer {
  border-bottom: 2px solid var(--brandshadow);
  margin-top: calc(var(--fontSize) * 2);
}
