html, body { color: #333; font-family: "Roboto", sans-serif; -webkit-font-smoothing: antialiased; height: 100%; width: 100%; }
.container { height: 100%; padding: 0; width: 100%; }

/* Links */
a { transition: background-color .2s, color .2s; }
a:hover,
a:focus { text-decoration: none; }

/* Headers */
h1 { font-size: 3.3em; margin: 30px 0 22px; }
h2 { font-size: 2.2em; margin: 12px 0 0; }
h3 { font-size: 1.8em; margin: 28px 0 0; }
h4 { font-size: 1.6em; margin: 28px 0 0; }
h5 { font-size: 1.4em; margin: 26px 0 0; }
h6 { font-size: 1.3em; margin: 26px 0 0; }

/* Paragraphs & Lists */
p { line-height: 1.5em; margin: 16px 0 6px; }
ul, ol { margin: 16px 0 10px; }
li {  line-height: 1.4em; margin-bottom: 8px; }

/* Forms */
form { margin: 18px 0; }
label { display: block; margin: 10px 0 8px; width: 100%; }
input[type="text"] { margin-bottom: 8px; padding-left: 3px; width: 100%; }
textarea { height: 80px; margin-bottom: 8px; padding: 3px 5px; resize: none; width: 100%; }
input[type="checkbox"],
input[type="radio"] { margin: 0 4px 0 2px; }
input[type="checkbox"] + label,
input[type="radio"] + label { display: inline-block; margin-right: 14px; position: relative; top: -1px; width: auto; }
input[type="submit"],
input[type="reset"] { background-color: #F1AE2C; border-radius: 14px; border: 0; color: #fff; letter-spacing: .05em; margin-top: 14px; padding: 4px 16px; transition: background-color .2s; }
.button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover { background-color: #bf8617; }

/* Map Specific */
#map-area { height: 100%; overflow: hidden; position: relative; width: 100%; }
#map { height: 100%; width: 100%; }
#flash { background-color: transparent; border-radius: 50%; height: 350px; left: 50%; margin: -195px 0 0 -175px; position: absolute; top: -100%; transition: background-color .3s, height .3s, width .3s, margin .3s, top 0s ease-in-out .3s; width: 350px; }
#flash.go { background-color: rgba(125,0,0,.6); height: 250px; margin: -145px 0 0 -125px; top: 50%; transition: 0s; width: 250px; }

#form-area { background-color: rgba(0,0,0,.8); height: 100%; padding: 12px 30px; position: absolute; right: 0; top: -100%; transition: top .8s; width: 100%; }
#form-area.showing { top: 0; transition: top 1.1s; }
#form-area form input[type="submit"] { float: right; font-size: 1.2em; }

#form-area > div { background-color: #eee; box-shadow: 2px 68px 84px 0 #000; height: 80%; margin: -66px auto 0; overflow: auto; padding: 18px 38px 84px; transition: 1.3s ease-in-out .3s; width: 60%; }
#form-area.showing > div { box-shadow: 2px 18px 44px 0 #000; margin-top: 36px; }

#thank-you { background-color: #fff; border: 2px solid #0C5464; border-radius: 8px; box-shadow: 3px 8px 24px 0 #444; padding: 6px 34px 6px 26px; position: absolute; top: -264px; transition: top .8s; left: 28px; }
#thank-you span { cursor: pointer; font-size: 1.4em; line-height: .6em; padding: 8px; position: absolute; right: 0; top: 0; }
#thank-you p { margin-top: 8px; }
#thank-you.showing { top: 185px; }

#buttons { top: 24px; height: 80px; padding: 28px; position: absolute; z-index: 100; }
#buttons button { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; background-color: #F1AE2C; border: 0; box-shadow: 0 0 11px -1px #333; color: #0C5464; cursor: pointer; float: left; font-size: .9em; font-weight: 700; height: 100px; letter-spacing: .07em; line-height: 1.2em; position: absolute; text-align: center; top: 0; transition: background-color .2s, top .6s ease-in-out 0s; width: 104px;  }
#buttons button:hover { background-color: #bb8215; }
#buttons button img { display: block; height: 30px; margin: 10px auto 10px; }
#buttons #view-comment-button { left: 146px; transition: background-color .2s, top .6s ease-in-out .15s; }
#buttons #cancel-add-button,
#buttons #cancel-view-button { background-color: #a00; color: #fff; left: 28px; top: -150px; transition: background-color .2s, top .6s; }
#buttons #cancel-add-button:hover,
#buttons #cancel-view-button:hover { background-color: #690101; }
#buttons #cancel-form-button { background-color: #6999a9; color: #fff; left: 146px; top: -150px; }
#buttons #cancel-form-button:hover { background-color: #567985; }
.gm-style-iw-d div { padding: 5px; max-width: 200px; font-size: 16px; font-weight: 600; padding-top: 0; width: fit-content; text-align: center; }
.gm-style-iw-d div a { background-color: #F1AE2C; border-radius: 6px; color: #0C5464; display: block; font-size: 1.3em;font-weight: 700; margin: 0 auto; padding: 4px; text-align: center; width: 190px; }
.gm-style-iw-d div a:hover { background-color: #ca8d16; }

#buttons.adding #add-comment-button,
#buttons.viewing #add-comment-button { top: -150px; transition: background-color .2s, top .6s ease-in-out .15s; }
#buttons.adding #view-comment-button,
#buttons.viewing #view-comment-button { top: -150px; transition: background-color .2s, top .6s ease-in-out 0s; }
#buttons.adding #cancel-add-button,
#buttons.viewing #cancel-view-button { top: -4px; transition: background-color .2s, top .8s ease-in-out .4s; }
#buttons.commenting #cancel-form-button { top: -4px; }

#search { position: absolute; top: 116px; }
#search input { background-color: #fff;color: #333; margin: 0; padding: 6px 4px; width: 220px; }
::placeholder { color: #333; }
:-ms-input-placeholder { color: #333; }
::-ms-input-placeholder { color: #333; }
.adding #search,
.commenting #search { display: none; }

/*********************************************/
/****** Media Queries ************************/
/*********************************************/
@media screen and (max-width: 1270px) {
     #form-area > div { margin: -66px 0 0 34%; width: 56%; }   
 }
 
 @media screen and (max-width: 790px) {
     #form-area { padding: 0; }
     #form-area > div { height: 78%; margin: -66px auto 0; padding: 6px 12px 54px; width: 90%; }
     #form-area.showing > div { margin-top: 70px; }
     label { font-size: .8em; margin: 4px 0 1px; }
     input[type="text"],
     textarea { font-size: .9em; }
     #form-area form input[type="submit"] { font-size: .8em; }
     #thank-you { left: 14px; padding: 2px 14px 5px; width: 210px; }
     #thank-you p { font-size: .85em; line-height: 1.2em; }
     #thank-you.showing { top: 74px; }
     #back-to-site-link { font-size: .9em; height: 26px; padding: 4px 8px; }
     #search { left: 0; top: 66px; }
     #search input { width: 184px; }

     #buttons { padding: 0; top: 0; }
     #buttons button { box-shadow: 0; font-size: .7em; height: 60px; left: 0; line-height: 1.1em; top: 0; width: 90px; }
     #buttons button img { display: block; height: 16px; margin: 2px auto 5px; }
     #buttons #view-comment-button,
     #buttons #cancel-form-button { left: 96px; }
     #buttons #cancel-add-button, #buttons #cancel-view-button { left: 0; }
     .gm-style-iw-d div { font-size: 1em; padding: 1px; min-width: 0; }
     .gm-style-iw-d div a { font-size: 1.4em; line-height: 1em; margin-top: 10px; padding: 6px 6px; width: 90%; }
 }