@import url('https://fonts.googleapis.com/css?family=Roboto:400,700');

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    -webkit-text-size-adjust: 100%;
}

.grecaptcha-badge {
    visibility: hidden;
}

input, textarea, .button {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: 'Roboto', sans-serif;
}

.topnav {
    height: 3.5em;
    margin: 0 auto;
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: row;
    overflow: hidden;
    box-shadow: 0 0 0.4em 0 #aaa;
    z-index: 1;
}

.topnav a {
    height: 100%;
    padding: 0 1.2em;
    float: left;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
}

.topnav a:hover {
    background-color: #eee;
}

.topnav a.active {
    font-weight: bold;
}

.topnav a.menu {
    margin-left: auto;
    display: none;
}

#logo img {
    height: 1.9em;
}

img.icon {
    height: 1em;
    width: auto;
}

article {
    max-width: 1920px;
    margin: 3.5em auto 0 auto;
    color: #004;
    line-height: 1.7;
}

article.home {
    margin: 0 auto;
}

.content {
    padding: 1em 1em 1em;
}

.section {
    margin: 0 0 5em 0;
}

.container {
    box-shadow: 0 0 1em 0.3em #eee;
    margin: 2em 0 5em 0;
    padding: 1.5em 2em 2.5em 2em;
}

h1 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
    color: #F35100;
}

h4 {
    margin: 0;
}

ul {
    line-height: 1.9;
}

a {
    color: #004;
}

a.clean-link {
    text-decoration: none;
}

a.clean-link:hover {
    text-decoration: underline;
}

a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}

input {
    margin-bottom: 1em;
    border: none;
    border-radius: 0;
    color: #004;
}

input.text {
    width: 30em;
    max-width: 93%;
    padding: 0.6em;
    border-bottom: 0.2em solid #eee;
    font-size: 0.95em;
    transition: 0.2s;
}

input.text:focus {
    border-bottom: 0.2em solid #004;
    outline: none;
    transition: 0.2s;
}

textarea {
    width: 40em;
    max-width: 92%;
    margin-bottom: 1em;
    padding: 0.6em;
    border: 0.2em solid #eee;
    border-radius: 0;
    font-size: 0.95em;
    color: #004;
    resize: none;
    transition: 0.2s;

}

textarea:focus {
    border: 0.2em solid #004;
    outline: none;
    transition: 0.2s;
}

.button {
    display: flex;
    width: 8.6em;
    height: 2.6em;
    margin: 1em 0;
    padding: 0;
    border: 0.2em solid #004;
    justify-content: center;
    align-items:center;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s;
    background-color: white;
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
}

.button:hover {
    background-color: #004;
    color: white;
    cursor: pointer;
}

.grid {
    display: flex;
    flex-wrap: wrap;
}

.item {
    max-width: 25%;
    flex: 25%;
}

.box {
    vertical-align: top;
    box-shadow: 0 0 1em 0.3em #eee;
    margin: 1em 0;
}

.box.large {
    margin: 2em 0 4em 0;
}

.grid .box {
    margin: 1em 2em 1em 0;
}

.item:last-child .box {
    margin-right: 0;
}

.box-image-container {
    position: relative;
    overflow: hidden;
}

.box-image {
    width: 100%;
    height: auto;
    display: block;
}

.box-image.small {
    display: none;
}

.box-content {
    padding: 2.5em 1.5em;
}

.box-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #F35100;
    margin-bottom: 1em;
}

.box-image-title {
    position: absolute;
    bottom: 0.5em;
    left: 1em;
    font-size: 2.5em;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 1em #000;
}

.box-list {
    margin-left: -1em;
}

.box-section {
    border-top: 1px solid #ccc;
}

.box-section .bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6em 1em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.box-section:last-child {
    border-bottom: 1px solid #ccc;
    margin-bottom: 0.5em;
}

.box-section .hoverable:hover {
    background-color: #eee;
    cursor: pointer;
}

.box-bar .menu {
    padding-left: 0.5em;
}

.box-section .dropdown-list {
    display: none;
    font-size: 0.95em;
    margin: 1em 2em 2em 1em;
}

.home_image {
    width: 100%;
}

.home_image.small {
    display: none;
}

img.angle {
    height: 0.7em;
    width: auto;
    vertical-align: middle;
}

img.angle.up {
    display: none;
}

.map.container {
    padding: 0;
}

.map-details {
    padding: 2em;
}

#map {
    height: 60vh;
    max-height: 50em;
}

footer {
    width: 100%;
    padding: 0 6% 2em 6%;
    margin-top: 2em;
    border-top: 1px solid #004;
    box-sizing: border-box;
    font-size: 0.8em;
    line-height: 2;
    color: #004;
}

.footer-section {
    width: 49%;
    display: inline-block;
    margin: 2em 0 2em 0;
    vertical-align: top;
}

.footer-header {
    font-weight: bold;
}

.footnote {
    margin-top: 1em;
    font-size: 0.9em;
}

@media (hover: none) {
    .topnav a:hover, .box-section .hoverable:hover, .button:hover {
        background-color: inherit;
    }
}

@media screen and (min-width: 900px) {
    .topnav {
        padding: 0 6%;
    }
    
    .content {
        margin: 1em 6%;
    }
}

@media screen and (max-width: 1600px) {
    .item {
        flex: 50%;
        max-width: 50%;
    }
    
    .item:nth-child(even) .box {
        margin-right: 0;
    }
    
    .footer-section {
        width: 40%;
        margin: 1.5em;
    }
    
    .footnote {
        margin: 1em 1.5em 0 1.5em;
    }
}

@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {
        display: none;
    }
    
    .topnav a.menu {
        display: flex;
    }
    
    .topnav.responsive {
        height: auto;
        flex-direction: column;
    }
    
    .topnav.responsive .menu {
        position: absolute;
        right: 0;
        top: 0;
    }
    
    .topnav.responsive a {
        height: 3.5em;
        padding: 0 1.2em;
        float: left;
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #000;
    }
    
    footer {
        padding: 2em;
    }
    
    .footer-section {
        width: 90%;
    }
    
    .container {
        padding: 1em 1.5em 2em 1.5em;
    }
    
    .home_image.wide {
        display: none;
    }
    
    .home_image.small {
        display: block;
    }
    
    .item {
        flex: 100%;
        max-width: 100%;
    }
    
    .grid .box {
        margin: 1em 0;
    }
    
    .box-content {
        padding: 2em 1em;
    }
    
    .box-section {
        font-size: 0.9em;
    }
    
    .box-image.small {
        display: block;
    }
    
    .box-image.narrow {
        display: none;
    }
    
    .box-image-title {
        font-size: 8vw;
        bottom: 0.2em;
        left: 0.6em;
    }
    
    .map-details {
        padding: 2em 1.5em;
    }
}
