@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:wght@400;700&display=swap');

/* ==========================================================================
   Base styles
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 1em;
    line-height: 1.4;
    scroll-behavior: smooth;
}

body {
    font-family: 'Playfair Display', serif;
    color: #002948;
    font-size: 15px;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

::-moz-selection {
    background: #b29557;
    color: #fff;
    text-shadow: none;
}
::selection {
    background: #b29557;
    color: #fff;
    text-shadow: none;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.wrapper {
    width: 95%;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 5px;
    padding-bottom: 50px;
}

/* ==========================================================================
   Header
   ========================================================================== */

#header {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    background: #ffffff;
    position: relative;
    padding: 5px 0;
    z-index: 1000;
}

#header .wrapper {
    padding-bottom: 0;
}

#header::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 170px solid transparent;
    border-right: 170px solid transparent;
    border-top: 20px solid #ffffff;
    position: absolute;
    bottom: -20px;
    left: 50%;
    margin-left: -170px;
}

/* Hamburger Menu */
.menu {
    position: absolute;
    top: 50px;
    left: 100%;
    width: 24px;
    height: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    transition: left 0.5s ease;
    display: block;
    background: none;
    border: none;
}

.open .menu {
    left: 0;
}

.menu span {
    width: 100%;
    height: 4px;
    background: #002948;
    display: block;
    margin: 0 0 6px;
    transition: transform 0.5s ease, opacity 0.5s ease;
    pointer-events: none;
}

.open .menu span:nth-child(1) {
    transform: matrix(0.707,0.707,-0.707,0.707,0,10);
}
.open .menu span:nth-child(2) {
    opacity: 0;
}
.open .menu span:nth-child(3) {
    transform: matrix(0.707,-0.707,0.707,0.707,0,-10);
}

/* Navigation */
nav.main {
    text-transform: uppercase;
    text-align: center;
}

nav.main ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav.main li {
    display: inline-block;
    margin: 0 10px;
}

nav.main a {
    text-decoration: none;
    color: #002948;
    padding: 10px;
    display: block;
    position: relative;
}

nav.main a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #b29557;
    transition: width 0.3s ease, left 0.3s ease;
}

nav.main a:hover::after,
nav.main a.active::after {
    width: 80%;
    left: 10%;
}

/* ==========================================================================
   Banner / Hero
   ========================================================================== */

#banner {
    position: relative;
    overflow: hidden;
}

.banner-title {
    font-family: 'Source Sans Pro', sans-serif;
    color: #b29557;
    padding: 50px 0 0 30px;
    text-transform: uppercase;
    text-align: center;
}

.banner-title h1 {
    font-size: 40px;
    margin: 10px 0;
}

/* Banner Slider */
.main_banner {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

.main_banner li {
    overflow: hidden;
    display: none;
}

.main_banner li:first-child {
    display: block;
}

.main_banner li.active {
    display: block;
}

.main_banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Banner Controls */
.controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#banner .controls .prev,
#banner .controls .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    cursor: pointer;
    pointer-events: all;
    z-index: 10;
    border: none;
    background: rgba(0,41,72,0.5);
    border-radius: 50%;
    transition: background 0.3s ease;
}

#banner .controls .prev:hover,
#banner .controls .next:hover {
    background: rgba(178,149,87,0.8);
}

#banner .controls .prev {
    left: 20px;
}

#banner .controls .next {
    right: 20px;
}

#banner .controls .prev::after,
#banner .controls .next::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}

#banner .controls .prev::after {
    left: 55%;
    transform: translate(-50%, -50%) rotate(-135deg);
}

#banner .controls .next::after {
    right: 55%;
    transform: translate(50%, -50%) rotate(45deg);
}

/* Scroll indicator */
.scroll {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 12px;
    display: block;
    z-index: 5;
}

.mouse {
    position: relative;
    display: block;
    margin: 0 0 10px;
}

@keyframes mouse-anim {
    0% { height: 6px; }
    50% { height: 10px; }
    100% { height: 6px; }
}

.mouse::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -2px;
    width: 3px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    animation: mouse-anim 1.5s infinite;
}

/* ==========================================================================
   Content area
   ========================================================================== */

#content {
    line-height: 1.7;
    position: relative;
    background: url(../img/texture.jpg) #eaeaea;
}

/* ==========================================================================
   Our Story section
   ========================================================================== */

#story {
    background: #ffffff;
}

#story .wrapper {
    padding-bottom: 0;
}

.section {
    padding: 30px 0;
}

.title {
    font-size: 21px;
    color: #b29557;
    font-family: 'Source Sans Pro', sans-serif;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
}

.image,
.text {
    display: inline-block;
    vertical-align: top;
    margin: 20px 0;
}

.image {
    width: 38%;
    padding: 0 20px;
}

.text {
    width: 60%;
    padding: 0 0 0 50px;
}

.text h1,
.text h2:not(.title),
.text h3 {
    margin-top: 0;
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 30px;
}

#news .text h3 {
    font-size: 22px;
    margin: 5px 0 0;
}

#news .text .title {
    font-size: 18px;
    margin-bottom: 5px;
}

#news .text .learn_more {
    margin: 5px 0;
    padding: 10px 10px 5px;
}

#story .text {
    margin-bottom: 0;
}

.align-center {
    text-align: center;
}

/* Learn More links */
.learn_more {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 12px;
    color: #002948;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    display: inline-block;
    padding: 15px 10px 10px;
    margin: 10px 0;
    position: relative;
    transition: color 0.5s;
}

.learn_more:hover {
    color: #b29557;
}

.services .learn_more,
.services .learn_more:hover,
#team .learn_more,
#team .learn_more:hover {
    color: #ffffff;
}

.all-news .learn_more:hover {
    color: #002948;
}

.learn_more::before {
    content: "";
    width: 42px;
    height: 2px;
    background: #002948;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -21px;
    transition: background 0.5s;
}

.learn_more:hover::before {
    background: #b29557;
}

.services .learn_more::before,
.services .learn_more:hover::before,
#team .learn_more::before,
#team .learn_more:hover::before {
    background: #ffffff;
}

.all-news .learn_more:hover::before {
    background: #002948;
}

/* ==========================================================================
   Overlay for team/services
   ========================================================================== */

.overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 41, 72, 0.85);
    color: #ffffff;
    text-align: center;
    padding: 20px;
    font-size: 24px;
    transition: top 0.5s ease;
}

/* Button */
.bt {
    background: #b29557;
    color: #ffffff;
    padding: 12px 25px;
    font-family: 'Source Sans Pro', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    display: inline-block;
    transition: background 0.3s ease;
}

.bt:hover {
    background: #9a7f44;
}

/* ==========================================================================
   News section
   ========================================================================== */

#news {
    position: relative;
    background: url(../img/news_pattern.jpg) center repeat;
}

.news {
    margin: 0;
    padding: 0;
    list-style: none;
}

.news li {
    position: relative;
    display: none;
}

.news li:first-child {
    display: block;
}

.news li.active {
    display: block;
}

.news .image,
.news .text {
    width: 50%;
    text-align: center;
    padding: 30px 8%;
    margin: 0;
    min-height: 300px;
}

.news .image {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.empty {
    width: 0;
    padding-bottom: 60%;
    display: inline-block;
    vertical-align: middle;
}

.text_wrapper {
    display: inline-block;
    vertical-align: middle;
}

.date {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    font-size: 15px;
    margin: 15px 0 0;
    display: inline-block;
}

/* News Controls (homepage) */
#news .controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    height: auto;
    text-align: center;
    top: auto;
}

#news .controls .prev,
#news .controls .next {
    display: inline-block;
    width: 40px;
    height: 40px;
    cursor: pointer;
    pointer-events: all;
    background: rgba(0,41,72,0.5);
    border-radius: 50%;
    position: relative;
    margin: 0 5px;
    border: none;
    transition: background 0.3s ease;
}

#news .controls .prev:hover,
#news .controls .next:hover {
    background: rgba(178,149,87,0.8);
}

#news .controls .prev::after,
#news .controls .next::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

#news .controls .prev::after {
    left: 55%;
    transform: translate(-50%, -50%) rotate(-135deg);
}

#news .controls .next::after {
    right: 55%;
    transform: translate(50%, -50%) rotate(45deg);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

#testimonial {
    text-align: center;
    background: #ffffff;
    position: relative;
}

#testimonial blockquote {
    font-size: 18px;
    padding: 30px 0 0;
    position: relative;
    margin: 0;
}

#testimonial blockquote::before {
    position: absolute;
    top: -25px;
    left: 0;
    content: "\201C";
    font-size: 120px;
    line-height: 1;
    color: #b29557;
    opacity: 0.3;
}

#testimonial .name {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    display: block;
    margin-top: 15px;
}

/* Internal testimonials page */
.internal #testimonial {
    background: url(../img/testimoinial_bg.jpg) center no-repeat;
    background-size: cover;
}

.internal .testimonials {
    margin: 0;
    padding: 0;
    list-style: none;
}

.testimonial-content {
    width: 80%;
    max-width: 780px;
    margin: 20px auto 80px;
    text-align: center;
    background: url(../img/news_pattern.jpg) center repeat;
    padding: 80px 30px;
    position: relative;
}

.testimonial-content::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border: 1px solid #b29557;
    z-index: 0;
    pointer-events: none;
}

/* Testimonials page controls */
#testimonial .controls {
    position: relative;
    text-align: center;
    padding: 20px 0 40px;
    height: auto;
    top: auto;
    left: auto;
}

#testimonial .controls .prev,
#testimonial .controls .next {
    display: inline-block;
    width: 40px;
    height: 40px;
    cursor: pointer;
    pointer-events: all;
    background: rgba(0,41,72,0.5);
    border-radius: 50%;
    position: relative;
    margin: 0 5px;
    border: none;
    transition: background 0.3s ease;
}

#testimonial .controls .prev:hover,
#testimonial .controls .next:hover {
    background: rgba(178,149,87,0.8);
}

#testimonial .controls .prev::after,
#testimonial .controls .next::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

#testimonial .controls .prev::after {
    left: 55%;
    transform: translate(-50%, -50%) rotate(-135deg);
}

#testimonial .controls .next::after {
    right: 55%;
    transform: translate(50%, -50%) rotate(45deg);
}

/* ==========================================================================
   Team section (About page)
   ========================================================================== */

.team {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.team li {
    display: inline-block;
    margin: 10px;
    position: relative;
    overflow: hidden;
}

.team li a,
.team li .team-member {
    display: block;
    text-decoration: none;
    cursor: default;
}

.team li:hover .overlay {
    top: 0;
}

.team .o_wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    padding: 20px;
    transform: translate(0, -50%);
}

/* ==========================================================================
   Services section
   ========================================================================== */

.services {
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    text-align: center;
    background: #002948;
    display: flex;
    flex-wrap: wrap;
}

.services li {
    width: 50%;
    padding-top: 39.84%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.services .overlay {
    background: none;
    top: 0;
    padding: 50% 20px 10%;
    transition: background 0.5s ease, padding 0.5s ease;
}

.services li:hover .overlay {
    padding: 35% 20px 0;
    background: rgba(0, 41, 72, 0.85);
}

.services li .overlay.open {
    padding: 10% 40px 20px;
    background: rgba(0, 41, 72, 0.85);
}

.overlay .link > * {
    display: block;
}

.overlay .detail {
    display: none;
}

.overlay.open .detail {
    font-size: 20px;
    display: block;
}

/* ==========================================================================
   Equipment section
   ========================================================================== */

#equipment .wrapper p {
    text-align: center;
}

.equipment {
    background: url(../img/texture_blue.jpg) #002948;
    margin: 0;
    padding: 20px;
}

.equipment h2 {
    font-family: 'Source Sans Pro', sans-serif;
    color: #b29557;
    text-align: center;
    font-size: 21px;
    text-transform: uppercase;
    margin: 20px 0;
    display: block;
}

.equipment h3, .equipment h4 {
    color: #fff;
    text-align: center;
    margin: 0;
}

.equipment h4 {
    font-weight: lighter;
}

.equipment ul {
    margin-bottom: 30px;
    padding: 0;
    list-style: none;
    text-align: center;
}

.equipment h3 {
    margin: 20px 0 0;
}

.equipment li img {
    width: 100%;
    height: auto;
}

.equipment li {
    width: 23%;
    margin: 0 1%;
    display: inline-block;
    vertical-align: top;
}

@media only screen and (max-width: 800px) {
    .equipment li {
        width: 46%;
        margin-bottom: 30px;
    }
}

@media only screen and (max-width: 500px) {
    .equipment li {
        width: 90%;
        margin: 0 auto 40px;
        display: block;
    }
    .equipment ul {
        text-align: center;
    }
    .equipment h3 {
        font-size: 20px;
        margin: 15px 0 5px;
    }
    .equipment h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

/* ==========================================================================
   Contact section
   ========================================================================== */

.contact {
    width: 100%;
    max-width: 1000px;
    background-color: rgba(199,199,199,0.3);
    margin: 20px auto 40px;
    padding: 4% 0;
    text-align: center;
}

.contact h2 {
    font-family: 'Source Sans Pro', sans-serif;
    color: #b29557;
    text-transform: uppercase;
    font-size: 21px;
    margin: -10px 0 10px 0;
}

.contact form, .contact address {
    display: inline-block;
    vertical-align: top;
    width: 45%;
    text-align: left;
}

.contact address {
    font-style: normal;
    padding-right: 10px;
}

.contact form {
    overflow: auto;
}

.contact input {
    width: 47%;
    margin-bottom: 20px;
    padding: 10px;
    border: none;
}

.contact input.full, .contact textarea {
    width: 100%;
    padding: 10px;
    border: none;
    margin-bottom: 20px;
}

.contact textarea {
    height: 130px;
    resize: none;
}

.contact input.left {
    float: left;
}

.contact input.right {
    float: right;
}

.contact input, .contact textarea {
    color: #002948;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: bold;
}

.contact button {
    background-color: #002948;
    color: #fff;
    font-family: 'Playfair Display', serif;
    border: none;
    width: 47%;
    text-align: left;
    font-size: 16px;
    padding: 10px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact button:hover {
    background-color: #b29557;
}

.contact button::before, .contact button::after {
    position: absolute;
    content: "";
    width: 2px;
    height: 10px;
    background-color: #fff;
    right: 10px;
    top: 50%;
    margin-top: -5px;
}

.contact button::before {
    transform: rotate(45deg);
    margin-top: -2px;
}

.contact button::after {
    transform: rotate(-45deg);
    margin-top: -8px;
}

.contact input:focus, .contact button:focus, .contact textarea:focus {
    outline: 2px solid #b29557;
    outline-offset: 2px;
}

.contact *::placeholder {
    color: #002948;
}

/* Google Map */
#map {
    width: 100%;
    height: 400px;
    margin-top: 20px;
    background: #eaeaea;
}

#map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   News page (all news listing)
   ========================================================================== */

#news .banner-title,
#testimonial .banner-title {
    background: none;
}

.filter {
    position: relative;
    background: #002948;
    display: inline-block;
    width: 200px;
    text-align: left;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    text-transform: none;
    color: #eaeaea;
    margin: 0 0 30px;
    user-select: none;
}

.filter::after {
    content: '▼';
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 10px;
}

.filter .current {
    display: block;
    padding: 10px 42px 10px 20px;
}

.filter .list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #eaeaea;
    display: none;
    z-index: 100;
}

.filter .list.open {
    display: block;
}

.filter .list li {
    padding: 10px 20px;
    background: #002948;
    border-bottom: 1px solid #eaeaea;
    transition: background 0.3s ease;
}

.filter .list li:hover {
    background: #003a63;
}

.all-news {
    margin: 0;
    padding: 0;
    list-style: none;
}

.all-news li {
    border-top: 1px solid #cccccc;
    text-align: center;
    transition: background 0.3s ease;
}

.all-news li:hover {
    background: rgba(255, 255, 255, 0.5);
}

.all-news a {
    color: #002948;
    text-decoration: none;
    display: block;
    padding: 20px 20px 10px;
}

.all-news .date {
    margin: 0;
}

.all-news h1,
.all-news h2 {
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0 auto 10px;
    line-height: 1.2;
    max-width: 550px;
}

/* ==========================================================================
   Privacy Policy / internal text pages
   ========================================================================== */

.internal .wrapper h1 {
    text-align: center;
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 400;
    margin: 20px 0;
    color: #002948;
}

.internal .wrapper h2 {
    font-size: 22px;
    color: #002948;
    margin: 25px 0 15px;
}

.internal .wrapper p {
    margin: 10px 0;
    line-height: 1.7;
}

.internal .wrapper ol,
.internal .wrapper ul {
    margin: 10px 0 10px 20px;
    line-height: 1.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */

#footer {
    padding: 15px 20px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 11px;
    text-align: center;
    text-transform: uppercase;
    color: #b29557;
    background: #002948;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

#footer a:hover {
    color: #b29557;
}

.social {
    margin: 0;
    padding: 0;
    list-style: none;
}

.social li {
    display: inline-block;
    padding: 10px;
    position: relative;
    margin: 10px 12px;
}

.social li a {
    width: 24px;
    height: 24px;
    display: block;
    background-image: url(../img/social.png);
    position: relative;
    z-index: 10;
}

.social li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #b29557;
    display: block;
    transform: rotate(45deg);
    transition: background 0.5s;
}

.social li:hover::before {
    background: #b29557;
}

.social .twitter { background-position: 0 0; }
.social .facebook { background-position: 0 -24px; }
.social .youtube { background-position: 0 -48px; }
.social .addthis { background-position: 0 -72px; }
.social li:hover .twitter { background-position: -24px 0; }
.social li:hover .facebook { background-position: -24px -24px; }
.social li:hover .youtube { background-position: -24px -48px; }
.social li:hover .addthis { background-position: -24px -72px; }

.social,
.middle,
.quote {
    display: inline-block;
    vertical-align: middle;
    margin: 10px 20px;
    flex-grow: 1;
    width: 30%;
}

.social {
    text-align: left;
}

.quote {
    text-align: right;
}

.mobile {
    display: none;
}

/* ==========================================================================
   Utility classes
   ========================================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==========================================================================
   Responsive: Tablet (1024px and below)
   ========================================================================== */

@media only screen and (max-width: 1024px) {
    body {
        padding: 100px 0 0;
    }

    #header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    #header::after {
        display: none;
    }

    .scroll {
        display: none;
    }

    nav.main {
        position: fixed;
        top: 0;
        left: -100%;
        padding: 100px 0 0;
        background: #ffffff;
        width: 100%;
        height: 100vh;
        overflow-y: auto;
        transition: left 0.5s ease;
        z-index: 999;
    }

    nav.main.open {
        left: 0;
    }

    nav.main li {
        display: block;
        text-align: left;
        border-bottom: 1px solid #ebebeb;
        margin: 0;
    }

    nav.main li:first-child {
        border-top: 1px solid #ebebeb;
    }

    nav.main a {
        padding: 15px 20px;
        font-size: 16px;
    }

    nav.main a::after {
        display: none;
    }

    nav.main li.logo {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #ffffff;
        text-align: center;
        border: none;
        z-index: 1000;
        padding: 10px 0;
    }

    #footer {
        display: block;
        text-align: center;
    }

    .social, .middle, .quote {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .quote:not(.mobile) {
        display: none;
    }

    .services {
        display: block;
    }

    .services li {
        width: 100%;
        padding: 0;
    }

    .services li:hover .overlay,
    .services li .overlay {
        position: relative;
        top: 0;
        padding: 30% 20px 20px;
    }

    .services li .overlay.open {
        padding: 20% 20px 10%;
    }

    .overlay {
        top: 0;
        background: rgba(0, 41, 72, 0.55);
    }

    .mobile {
        display: block;
    }
}

/* ==========================================================================
   Responsive: Small tablet (800px and below)
   ========================================================================== */

@media only screen and (max-width: 800px) {
    .news .image, .news .text {
        width: 100%;
    }

    .news .text {
        background: rgba(235, 235, 235, 0.8);
        padding: 50px 10%;
        min-height: auto;
    }

    .empty {
        padding-bottom: 80%;
    }

    .news .image {
        left: 0;
        z-index: -1;
    }

    .contact form, .contact address {
        width: 100%;
        padding: 20px;
    }

    .testimonial-content {
        width: 90%;
        padding: 60px 20px;
    }
}

/* ==========================================================================
   Responsive: Mobile landscape (700px and below)
   ========================================================================== */

@media only screen and (max-width: 700px) {
    .image,
    .text {
        width: 100%;
        padding: 0 10px;
    }

    .text {
        padding: 0 10px;
    }

    .all-news h1,
    .all-news h2,
    .text h1,
    .text h2:not(.title) {
        font-size: 22px;
    }

    #testimonial blockquote {
        font-size: 15px;
    }

    .banner-title h1 {
        font-size: 28px;
    }
}

/* ==========================================================================
   Responsive: Mobile portrait (500px and below)
   ========================================================================== */

@media only screen and (max-width: 500px) {
    body {
        font-size: 14px;
    }

    #testimonial blockquote {
        font-size: 14px;
    }

    .main_banner img,
    #banner > img {
        width: 100%;
        max-width: none;
    }

    nav.main li.logo {
        min-height: 80px;
    }

    nav.main li.logo img {
        max-width: 70%;
    }

    .services li {
        width: 100%;
    }

    .testimonial-content {
        margin: 20px auto 60px;
        padding: 40px 15px;
    }

    .date {
        font-size: 15px;
    }

    .all-news h1, .all-news h2, .text h1, .text h2:not(.title) {
        font-size: 18px;
    }

    .contact button {
        width: 100%;
    }

    #map {
        height: 300px;
    }

    .wrapper {
        padding-bottom: 30px;
    }
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a, a:visited {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }

    #header, #footer, .controls, .scroll {
        display: none !important;
    }

    img {
        max-width: 100% !important;
    }

    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
}
