/*! ==========================================================================
    Theme Name: Delta Marine
    Theme URI: http://www.deltamarine.com.au
    Author: Hopping Mad Design
    Author URI: http://www.hoppingmad.com.au
    Description: Website for Delta Marine by Hopping Mad Design
========================================================================== */
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700);

html {
  box-sizing: border-box;
  font-size: 100%;
  margin: 0;
}

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

body {
  color: #1f1c1d;
  font-family: 'Open Sans', Arial, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

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

/* ==========================================================================
   @ normalize.css v3.0.1 | MIT License | git.io/normalize
   ========================================================================== */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

/* ==========================================================================
   @ Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6, p, ul {
  margin: 0 0 1rem 0;
  padding: 0;
}

h1 {
  font-size: 1.5rem;
}

.title-home {
  font-size: 1.875rem;
  text-align: center;
}

h2 {
  font-size: 1.375rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1rem;
}

h2, h3, h4 {
  color: #333366;
  margin: 1.5rem 0 0.2rem 0;
}

li {
  margin-left: 17px;
}

p {
  margin-bottom: 2rem;
}

a {
  color: #333366;
  text-decoration: none;
}

/* ==========================================================================
   @ Grid
   ========================================================================== */
.grid:after {
  content: "";
  display: table;
  clear: both;
}

[class*='grid-'] {
  float: left;
  padding: 0 20px 0 0;
}

.grid-2-3 {
  width: 66.66%;
}

.grid-1-2 {
  width: 50%;
}

.grid-1-3 {
  width: 33.33%;
}

.grid-1-4 {
  width: 25%;
}

.grid-1-8 {
  width: 12.5%;
}

.grid-pad {
  padding: 20px 0 20px 20px;
}

.grid-pad [class*='grid-']:last-of-type {
  padding-right: 20px;
}

/* ==========================================================================
   @ Navigation
   ========================================================================== */
.main-nav {
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  padding-bottom: 10px;
  width: 100%;
}

.main-nav ul {
  margin: 0;
}

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

.current-menu-item > a {
}

.main-nav a {
  color: #414042;
  display: block;
  text-decoration: none;
  margin-right: -1px;
  padding: 0 60px;
}

.main-nav a:hover {
}

.open-nav {
  background: url(images/ui/open-nav.png) no-repeat;
  background-size: 100%;
  display: none;
  float: right;
  height: 24px;
  position: absolute;
  top: 75%;
  right: 5px;
  width: 24px;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
}

.footer-nav ul,
.footer-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  display: inline;
}

/* ==========================================================================
   @ Layout
   ========================================================================== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 10px;
  position: relative;
}

.site-header {
  background: white;
  height: 145px;
  padding: 20px 0;
  position: relative;
  width: 100%;
}

.site-logo {
  background: url(images/logo/site-logo.png) no-repeat;
  display: block;
  float: left;
  height: 71px;
  width: 347px;
}

.site-footer {
  background: #5f5f5f;
  color: white;
  font-size: 0.750rem;
  min-height: 300px;
  padding: 20px 0;
}

.site-footer a {
  color: white;
}

.main-content {
  padding-bottom: 40px;
  padding-top: 40px;
}

.page-banner {
  height: 150px;
  position: relative;
  width: 100%;
}

.page-banner-home {
  height: 290px;
}

.page-banner-title {
  color: white;
  font-size: 1.375rem;
  line-height: 2rem;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

.page-banner-title span {
  font-size: 1.875rem;
}

/* ==========================================================================
   @ Homepage
   ========================================================================== */
.page-links {
  margin-top: 25px;
}

.page-link {
  background-size: cover;
  display: block;
  height: 320px;
  position: relative;
  text-align: center;
  width: 47%;
}

.page-link-title {
  bottom: 20px;
  color: white;
  font-size: 1.375rem;
  position: absolute;
  width: 100%;
}

.page-link:last-of-type {
  float: right;
}

/* ==========================================================================
   @ Contact
   ========================================================================== */
.acf-map {
  width: 100%;
  height: 310px;
  margin-top: 20px;
}

.contact-form {
  background: #e5e4e4;
  color: #58595b;
  padding: 30px 20px 10px 20px;
}

.contact-form p {
  margin-bottom: 1rem;
}

.contact-form br {
  display: none;
}

.form-label {
  display: block;
  margin-bottom: 10px;
}

.wpcf7-text,
.wpcf7-textarea {
  box-shadow: inset 0px 3px 5px 0px rgba(0,0,0,0.2);
  border: none;
  height: 43px;
  font-size: 1rem;
  margin: 0 0 10px 0;
  padding: 0 5px;
  width: 100%;
}

.wpcf7-textarea {
  height: 185px;
  padding: 10px 5px;
}

.wpcf7-submit {
  background: #292c79;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1.250rem;
  padding: 12px 60px;
  text-transform: uppercase;
}

.form-indicate {
  display: block;
  font-size: 0.688rem;
  font-style: italic;
  margin-top: -25px;
}

div.wpcf7-validation-errors,
div.wpcf7-mail-sent-ok {
  background: #a90000;
  border: none;
  color: white;
  margin: 0;
  padding: 15px;
}

div.wpcf7-mail-sent-ok {
  background: green;
}

.quote-form {
  background: rgba(83,123,189, 0.90);
  display: none;
  padding: 30px 10px 20px 20px;
  position: absolute;
  right: 10px;
  top: 60px;
  width: 360px;
  z-index: 5;
}

.quote-label {
  color: white;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  width: 20%;
}

.quote-form .wpcf7-text,
.quote-form .wpcf7-textarea {
  display: inline-block;
  margin-bottom: 15px;
  max-width: 75%;
}

.quote-form span.wpcf7-not-valid-tip {
  color: #a90000;
  margin-top: -5px;
}

/* ==========================================================================
   @ Miscellaneous
   ========================================================================== */
hr {
  border: 0;
  height: 1px;
  background: #ccc;
  margin: 20px 0;
}

.aligncenter {
  text-align: center;
}

.alignright {
  float: right;
  margin: 0 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 0 20px 20px 0;
}

.button {
  background: #4d6fa8;
  color: white;
  display: inline-block;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  padding: 15px 40px;
}

.button:after {
  background: url('images/icon/icon-arrow-white.png') no-repeat;
  content: '';
  display: inline-block;
  height: 17px;
  margin-left: 15px;
  width: 14px;
}

.button-header {
  background-color: #f5ed5e;
  color: black;
  font-size: 1rem;
  float: right;
  margin-top: 20px;
  padding: 10px 50px;
  width: 288px;
}

.button-header:after {
  background: url('images/icon/icon-arrow.png') no-repeat;
  margin: 0 0 -2px 5px;
}

.button-submit {
  background-image: url('images/icon/icon-arrow.png');
  background-position: 90% 10px;
  background-repeat: no-repeat;
  font-size: 0.813rem;
  margin: 0 10px 0 0;
  max-width: 75%;
  padding: 10px 10px;
}

.ir {
  border: 0;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
}

.clear:before,
.clear:after {
  content: " ";
  display: table;
}

.clear:after {
  clear: both;
}

/* ==========================================================================
   @ Form(s)
   ========================================================================== */


/* ==========================================================================
   @ Responsive - Tablet
   ========================================================================== */
@media screen and (max-width: 850px) {
  .main-nav a {
    padding: 0 20px;
  }
}

@media screen and (max-width: 720px) {
  [class*='grid-'] {
    float: none;
    padding: 0;
    width: 100%;
  }

  .site-header {
    height: auto;
  }

  .site-logo {
    margin-bottom: 20px;
  }

  .main-nav {
    display: none;
    width: 100%;
  }

  .main-nav li {
    margin: 0;
  }

  .main-nav li,
  .main-nav a {
    width: 100%;
  }

  .main-content {
    padding: 20px 0;
  }

  .open-nav {
    display: block;
  }

  .button-header {
    clear: left;
    float: none;
    display: block;
  }

  .quote-form {
    left: 10px;
    top: 133px;
  }

  .quote-form p {
    margin: 0;
  }

  .alignright,
  .alignleft {
    float: none;
    display: block;
    max-width: 100%;
    margin: 0 auto 20px auto;
  }

  .gallery-item {
    width: 50%;
  }

  .google-map {
    margin: 0 0 20px 0;
  }

  .page-link {
    margin-bottom: 20px;
  }

  .page-link:last-of-type {
    float: none;
    margin: 0;
  }
}

/* ==========================================================================
   @ Responsive - Mobile
   ========================================================================== */
@media screen and (max-width: 440px) {
  html {
    font-size: 80%;
  }

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

  .button {
    font-size: 1.25rem;
  }

  .button-header {
    float: none;
    font-size: 1rem;
    padding: 8px 10px;
    max-width: 90%;
  }

  .button-submit {
    background-position: 90% 7px;
    max-width: 100%;
  }

  .quote-form {
    top: 112px;
    padding: 20px 20px 0 20px;
    max-width: 90%;
  }

  .site-logo {
    background-size: 100%;
    height: 57px;
    float: none;
    margin: 0 auto 20px auto;
    width: 280px;
  }
}
