/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ## Box Sizing
--------------------------------------------- */

*,
input[type="search"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* ## Float Clearing
--------------------------------------------- */

.author-box:before,
.clearfix:before,
.entry:before,
.entry-content:before,
.footer-widgets:before,
.nav-primary:before,
.nav-secondary:before,
.pagination:before,
.site-container:before,
.site-footer:before,
.site-header:before,
.site-inner:before {
  content: " ";
  display: table;
}

.author-box:after,
.clearfix:after,
.entry:after,
.entry-content:after,
.footer-widgets:after,
.nav-primary:after,
.nav-secondary:after,
.pagination:after,
.site-container:after,
.site-footer:after,
.site-header:after,
.site-inner:after {
  clear: both;
  content: " ";
  display: table;
}

/* # Defaults
---------------------------------------------------------------------------------------------------- */

/* ## Typographical Elements
--------------------------------------------- */

body {
  background: #fff;
  color: #666666;
  font-family: "Century Gothic";
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.5px;
  margin: 0;
}

body.services {
  font-size: 18px;
}

a,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button,
.gallery img {
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

::-moz-selection {
  background-color: #333;
  color: #fff;
}

::selection {
  background-color: #333;
  color: #fff;
}

a {
  color: #0f3e69;
  text-decoration: none;
}

a:hover {
  color: #e6c4b9;
  text-decoration: none;
}

p {
  margin: 0 0 40px;
  padding: 0;
  line-height: 2;
}

ol,
ul {
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
}

b,
strong {
  font-weight: 700;
}

blockquote,
cite,
em,
i {
  font-style: italic;
}

.alignleft {
  float: left;
  margin: 0 40px 17px 0;
}

.alignleft.clear {
  clear: left;
}

.alignright {
  float: right;
  margin: 0 0px 17px 40px;
}

.alignright.clear {
  clear: right;
}

/* ## Headings
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #0f3e69;
  line-height: 1.2;
  font-weight: normal;
  margin: 0 0 10px;
}

h1 {
  font-size: 36px;
  margin-bottom: 40px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

#content h1 {
  text-align: center;
}

#content h2 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 30px;
}

#content h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 30px 0;
}

#content h4 {
  font-size: 24px;
  font-weight: normal;
  text-align: center;
  color: #000;
  margin: 0px 0 40px;
}

.backlink {
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 14px;
}

/* ## Objects
--------------------------------------------- */

embed,
iframe,
img,
object,
video,
.wp-caption {
  max-width: 100%;
}

img {
  height: auto;
}

.featured-content img,
.gallery img {
  width: auto;
}

/* ## Forms
--------------------------------------------- */

input,
select,
textarea {
  background-color: #fff;
  border: 1px solid #ddd;
  color: #1e1e1e;
  font-size: 18px;
  font-weight: 300;
  padding: 16px;
  width: 100%;
}

input:focus,
textarea:focus {
  border: 1px solid #999;
  outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
  width: auto;
}

::-moz-placeholder {
  color: #848688;
  opacity: 1;
}

::-webkit-input-placeholder {
  color: #848688;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button {
  font-family: "BMW Type Global Pro Regular";
  background-color: #063864;
  border: 1px solid #063864;
  box-shadow: 0 0 0 3em #063864 inset;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  padding: 10px 42px;
  text-align: center;
  border-radius: 4px;
  text-transform: uppercase;
  width: auto;
}

.entry-content .more-link {
  display: table;
}

button:hover,
input:hover[type="button"],
input:hover[type="reset"],
input:hover[type="submit"],
.button:hover {
  background-color: transparent;
  color: #063864;
  border: 1px solid #063864;
  box-shadow: 0 0 0 1px #063864 inset;
  text-decoration: none;
}

.button {
  display: inline-block;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button {
  display: none;
}

/* ## Tables
--------------------------------------------- */

table {
  border-collapse: collapse;
  border-spacing: 0;
  line-height: 2;
  margin-bottom: 40px;
  width: 100%;
}

tbody {
  border-bottom: 1px solid #ddd;
}

td,
th {
  text-align: left;
}

td {
  border-top: 1px solid #ddd;
  padding: 6px 0;
}

th {
  font-weight: 400;
}

/* ## Column Classes
--------------------------------------------- */
/* Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css */

.five-sixths,
.four-sixths,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
.three-fourths,
.three-sixths,
.two-fourths,
.two-sixths,
.two-thirds {
  float: left;
  margin-left: 2.564102564102564%;
}

.one-half,
.three-sixths,
.two-fourths {
  width: 48.717948717948715%;
}

.one-third,
.two-sixths {
  width: 31.623931623931625%;
}

.four-sixths,
.two-thirds {
  width: 65.81196581196582%;
}

.one-fourth {
  width: 23.076923076923077%;
}

.three-fourths {
  width: 74.35897435897436%;
}

.one-sixth {
  width: 14.52991452991453%;
}

.five-sixths {
  width: 82.90598290598291%;
}

.first {
  clear: both;
  margin-left: 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ## Box Sizing
--------------------------------------------- */

*,
input[type="search"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.wrap {
  max-width: 1800px;
  margin: 0 auto;
}

#content .wrap {
  max-width: 1220px;
}

/*.contact #content .wrap,
.full-width #content .wrap {
  max-width: 810px;
}*/

/* # Site Header
---------------------------------------------------------------------------------------------------- */

.site-header {
  background: #fff;
  width: 100%;
}

.site-header.smaller {
  position: fixed;
  z-index: 999999;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* keeps it flexible */
  gap: 1rem;
  min-height: 252px;
  padding-bottom: 51px;
  align-items: flex-end;
}

.site-header.smaller .wrap {
  min-height: 120px;
  padding-bottom: 10px;
}

.site-header .wrap .left {
  text-align: left;
  margin-right: auto;
}
.site-header .wrap .center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.site-header .wrap .right {
  text-align: right;
  margin-left: auto;
}

.site-header .wrap .right li {
  display: inline-block;
  line-height: 1;
  vertical-align: bottom;
}

.site-header .wrap .right li i {
  font-size: 36px;
}

#logo {
  margin-bottom: 7px;
}

.site-header.smaller #logo {
  max-width: 90px;
  margin: 10px auto;
}

/*---------- Header Right --------------*/

#navigation {
  font-size: 14px;
  text-transform: capitalize;
}

#navigation ul li {
  position: relative;
  display: inline-block;
  margin: 0 15px;
  text-transform: uppercase;
}

#navigation ul > li:last-child {
  margin-right: 0;
}

#navigation ul li a {
  display: block;
  color: #0f3e69;
  line-height: 1;
  padding: 10px 0 7px;
}

/*#navigation ul li.active a,
#navigation ul li a:hover {
  text-decoration: none;
  border-bottom: 1px solid #848689;
}*/

#navigation ul li a::after {
    border-bottom: 1px solid #fff;
  bottom: -.0625rem;
  content: "";
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s cubic-bezier(.5,0,.8,1),opacity .8s cubic-bezier(.5,0,.8,1);
  will-change: transform,opacity;

}

#navigation ul li.active a::after,
#navigation ul li a:hover::after {
  border-bottom: 1px solid #848689;
  opacity: 1;
  transform: scaleX(1);
  transition: transform .5s cubic-bezier(.2,0,.5,1),opacity .3s ease-out .1s;
}

/*#navigation > div > ul > li:last-child a {
  color: #fff;
  background: #ffc046;
  padding: 20px 32px;
  border-radius: 6px;
}

#navigation > div > ul > li:last-child a:hover {
  color: #fff;
  background: #818282;
}*/

#main-menu > li > ul {
  opacity: 0;

  visibility: hidden;

  background-color: #fff;

  text-align: left; /* This is for the text when box is dropped down, centered isnt always totally in the middle so best to have on the left */

  position: absolute;

  top: 55px; /* This is for the drop down annimation */

  left: 50%;

  margin-left: -40px;

  width: 200px;

  z-index: 99999;

  -webkit-transition: all 0.3s 0.1s;

  -moz-transition: all 0.3s 0.1s;

  -o-transition: all 0.3s 0.1s;

  transition: all 0.3s 0.1s;
}

#main-menu > li:hover > ul {
  opacity: 1;

  top: 42px; /* This is how far from the top the drop down annimation will go  */

  visibility: visible;
}

#main-menu ul > li {
  position: relative;
  display: block;
  margin: 0;
}

#main-menu ul li a {
  /* This is the drop down menu, change font or size when its drops down */

  color: #96837e;

  font-size: 12px;

  background-color: #fff;

  padding: 10px;

  display: block;

  text-transform: none;

  -webkit-transition: background-color 0.1s;

  -moz-transition: background-color 0.1s;

  -o-transition: background-color 0.1s;

  transition: background-color 0.1s;
}

#main-menu ul li a:hover {
  background-color: #063864;
  color: #96837e;
}

#main-menu ul ul {
  /* In this build i havent included a sub sub menu in, but here is the code if ever needed */

  visibility: hidden;

  opacity: 0;

  position: absolute;

  top: -16px;

  left: 206px; /* This is for a sub sub menu */

  padding: 16px 0 20px 0;

  background-color: rgb(250, 250, 250);

  text-align: left;

  width: 160px;

  -webkit-transition: all 0.3s;

  -moz-transition: all 0.3s;

  -o-transition: all 0.3s;

  transition: all 0.3s;
}

#main-menu ul > li:hover > ul {
  opacity: 1;

  left: 196px;

  visibility: visible;
}

#main-menu ul ul a:hover {
  background-color: #063864;

  color: #96837e;
}

/* Responsive Menu
--------------------------------------------- */

.responsive-menu-icon {
  background-color: transparent;
  cursor: pointer;
  display: none;
}

.responsive-menu-icon::before {
  content: "\f333";
  display: block;
  color: #79797a;
  font: normal 40px/1 "dashicons";
  margin: 0 auto 0;
  text-align: center;
}

.responsive-menu-icon:hover::before {
  color: #063864;
}

/* # Banner
---------------------------------------------------------------------------------------------------- */

#banner {
  position: relative;
  max-height: 722px;
  overflow: hidden;
}

.rebel #banner {
  max-height: none;
}

#banner img {
  display: block;
  width: 100%;
}

#banner img {
  width: 100%;
  animation: move 40s ease;
  /* Add infinite to loop. */

  -ms-animation: move 40s ease;
  -webkit-animation: move 40s ease;
  -0-animation: move 40s ease;
  -moz-animation: move 40s ease;
}

@-webkit-keyframes move {
  0% {
    -webkit-transform-origin: center;
    -moz-transform-origin: center;
    -ms-transform-origin: center;
    -o-transform-origin: center;
    transform-origin: center;
    transform: scale(1);
    -ms-transform: scale(1);
    /* IE 9 */

    -webkit-transform: scale(1);
    /* Safari and Chrome */

    -o-transform: scale(1);
    /* Opera */

    -moz-transform: scale(1);
    /* Firefox */
  }
  100% {
    transform: scale(1.2);
    -ms-transform: scale(1.2);
    /* IE 9 */

    -webkit-transform: scale(1.2);
    /* Safari and Chrome */

    -o-transform: scale(1.2);
    /* Opera */

    -moz-transform: scale(1.2);
    /* Firefox */
  }
}

/* # Home CTA
---------------------------------------------------------------------------------------------------- */

#home-cta {
  color: #666666;
  line-height: 1;
  margin-top: -128px;
  text-align: center;
}

#home-cta .wrap {
  max-width: 950px;
  padding: 60px 20px;
  background: #fff;
}

#home-cta h2 {
  color: #0f3e69;
  font-size: 36px;
  margin-bottom: 50px;
}

#home-cta .button {
  margin-top: 60px;
  width: 240px;
}

/* # Home Content
---------------------------------------------------------------------------------------------------- */

#home-content {
  text-align: center;
  text-align: center;
  padding: 80px 0 80px 0;
  background: #0b3b66;
}

#home-content h2 {
  font-family: "Century Gothic";
  font-weight: bold;
  font-size: 36px;
  color: #fff;
  margin-bottom: 80px;
  text-transform: uppercase;
}

#home-content .button {
  padding: 30px 132px;
  color: #0b3b66;
  font-size: 19px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 3em #fff inset;
}

#home-content .button:hover {
  color: #fff;
  background: transparent;
  box-shadow: 0 0 0 1px #fff inset;
}

#home-content-bottom .wrap {
  display: flex;
  gap: 50px;
  padding: 33px 0;
  justify-content: center;
}

#home-content-bottom .image-right {
  flex: 1;
  max-width: 33.555%;
}

#home-content-bottom .content-left {
  flex: 1;
  font-size: 18px;
  max-width: 66.333%;
}

#home-content-bottom .content-left h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

#home-content-bottom .content-left p:last-child {
  margin-bottom: 0;
}

/* # Home Services
---------------------------------------------------------------------------------------------------- */

#home-services .wrap {
  display: flex;
  gap: 4px;
  padding: 4px 0;
  justify-content: center;
}

/*.service-column {
    flex: 1;
    max-width: 33.333%;
}*/

#home-services .service-column {
  position: relative;
}

#home-services .service-column .mask {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  align-items: center; /* vertical centering */
  justify-content: center; /* horizontal centering */
  text-align: center;
  opacity: 0;
  padding: 0 1%;
  transition: opacity 0.4s ease;
  background: rgba(11, 59, 102, 0.87);
}

#home-services .service-column .mask h3 {
  font-family: "Century Gothic";
  font-weight: bold;
  color: #fff;
  margin: 0;
  text-transform: none;
  font-size: 40px;
}

#home-services .service-column:hover .mask {
  opacity: 1;
}

#home-services h3 {
  font-size: 30px;
  margin-top: 40px;
  text-transform: uppercase;
  color: #666666;
}

#home-services h3 a {
  color: #666666;
}

#home-services .one-third:hover h3 a {
  color: #b0b0b1;
}

#home-services .one-third:hover img {
  opacity: 1;
}

/* # Home Testimonials
---------------------------------------------------------------------------------------------------- */

#home-testimonials {
  text-align: center;
  padding: 60px 0 0px 0;
}

#home-testimonials .grey-container {
  background: #e2e2e3;
  padding: 40px 0;
}

#home-testimonials h2 {
  text-transform: uppercase;
  font-size: 36px;
  color: #063864;
  margin-bottom: 36px;
}

#home-testimonials .wrap {
  max-width: 1132px;
}

#home-testimonials .row {
  display: flex;
  column-gap: 16px;
  justify-content: space-around;
}

#home-testimonials .wrap .column {
  position: relative;
  display: flex;
  box-sizing: border-box;
  padding: 100px 70px 70px 70px;
  color: #858789;
  font-size: 22px;
  align-items: center;
  justify-content: center;
  background: #fff;
}

#home-testimonials .wrap .column p {
  position: relative;
}

#home-testimonials .wrap .column p::before {
  display: block;
  position: absolute;
  content: "";
  width: 69px;
  height: 57px;
  top: -54px;
  left: -59px;
  background: url(../images/quote-open.png) no-repeat;
}

#home-testimonials .wrap .column p::after {
  display: block;
  position: absolute;
  content: "";
  width: 69px;
  height: 57px;
  right: 0;
  bottom: -24px;
  background: url(../images/quote-close.png) no-repeat;
}

#home-testimonials .wrap .column h3 {
  color: #858789;
  font-size: 22px;
  font-weight: bold;
}

/* # About
---------------------------------------------------------------------------------------------------- */

#content {
  padding: 35px 0;
}

#content h1 {
  font-size: 36px;
}

/* # Projects
---------------------------------------------------------------------------------------------------- */

#projects-gallery {
}

#projects-gallery .row {
  display: flex;
  gap: 50px;
  justify-content: center;
}

.project-item {
  flex: 1;
  text-align: center;
  max-width: 33.333%;
}

.project-item h3 {
  font-size: 20px;
  font-weight: 400 !important;
  text-align: center;
  margin: 24px 0 50px 0 !important;
  color: #007bbb;
}

.project-details {
  padding: 45px 50px;
}

/* # Contact
---------------------------------------------------------------------------------------------------- */

.contact #content{
  padding: 35px 0 100px;
}

.contact #content .wrap{
  max-width: 1190px;
}

.contact #content .wrap > p{
  margin-bottom: 0;
}


#contact-form-container {
  display: flex;
  column-gap: 50px;
  justify-content: start;
}

#contact-form {
  width: 55%;
  max-width: 560px;
  margin-top: 40px;
}

#business-address h2 {
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #fff;
  font-size: 33px;
}

.entry-content #contact-form p,
.entry-content #contact-form span {
  margin-top: 0;
  margin-bottom: 0;
}

.contact-bottom{
  position: relative;
}

span.wpcf7-spinner{
  position: absolute;
  margin: 20px auto !important;
  left: 0;
  right: 0;
}


.entry-content .wpcf7 .wpcf7-form.invalid input[type="text"], 
.entry-content .wpcf7 .wpcf7-form.invalid input[type="email"], 
.entry-content .wpcf7 .wpcf7-form.invalid textarea{
  margin-bottom: 0px !important;
}


.entry-content .wpcf7 .wpcf7-form.invalid span.wpcf7-not-valid-tip{
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

.entry-content .wpcf7 .wpcf7-response-output{
  font-size: 14px;;
  text-align: center;
}

.entry-content .wpcf7 form.sent .wpcf7-response-output{
  color: #636161;
  font-size: 20px;
  border-color: transparent;
}


#business-address {
  width: 45%;
  max-width: 530px;
  color: #fff;
  margin-left: auto;
  padding: 100px 80px;
  background: #0b3b66;
}

/* # Contact
---------------------------------------------------------------------------------------------------- */


/* # Misc
---------------------------------------------------------------------------------------------------- */

#left-column {
  width: 600px;
  float: left;
}

#right-column {
  width: 380px;
  float: right;
}

#right-column .button {
  width: 237px;
  margin-bottom: 25px;
}

#right-column li {
  display: inline-block;
  margin-bottom: 10px;
}

form .one-half {
  margin-bottom: 0;
}

.entry-content ol,
.entry-content ul {
  margin-bottom: 40px;
  margin-left: 30px;
}

.entry-content ol > li {
  list-style-type: decimal;
}

.entry-content ul > li {
  margin-left: 0px;
}

.entry-content ul li {
  position: relative;
  list-style: none; /* remove default bullets */
  padding-left: 16px; /* space for custom bullet */
}

.entry-content ul li::before {
  content: "•"; /* custom bullet */
  color: #0b3b66; /* your bullet color */
  position: absolute;
  left: 0;
  top: 5px;
  font-size: 1.1em; /* adjust bullet size */
  line-height: 1.2;
}

.entry-content ol ol,
.entry-content ul ul {
  margin-bottom: 0;
}

.entry-content p span {
  display: block;
  margin: 20px 0 0 0;
  font-weight: bold;
  font-style: italic;
}

/* # Site Footer
---------------------------------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  font-size: 18px;
  line-height: 1;
  text-align: center;
  padding: 15px 0 15px;
  color: #fff;
  background: #0b3b66;
}

.site-footer #footersocial {
  text-align: center;
}

.site-footer #footersocial ul li {
  display: block;
  margin: 0px 0 25px 0;
}

.site-footer #footersocial ul li i {
  font-size: 50px;
}

.site-footer #footersocial ul li .button {
  padding: 30px 132px;
  color: #0b3b66;
  font-size: 19px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 3em #fff inset;
}

.site-footer #footersocial ul li .button:hover {
  color: #fff;
  background: transparent;
  box-shadow: 0 0 0 1px #fff inset;
}

.site-footer p {
  font-family: "Avenir Book";
  margin-top: 55px;
  margin-bottom: 135px;
}

.site-footer p:last-child {
  margin-top: 0px;
  margin-bottom: 0px;
}

.site-footer a {
  color: #ffffff;
}

.site-footer p a {
  color: #cccccc;
}

.site-footer a:hover {
  color: #cccccc;
}

.entry-content .wpcf7 {
  width: 100%;
  margin: 20px auto;
}

#hideform {
  width: 100%;
}

.entry-content div.wpcf7-mail-sent-ok {
  text-align: center;
  font-weight: bold;
  border: none;
  padding: 0px;
  font-size: 18px;
  color: #fff;
}

.entry-content div.wpcf7-mail-sent-ok {
  font-size: 18px;
  color: #1e1e1e;
}

.entry-content .wpcf7 {
  margin: 0 auto;
}

#footer-bottom .entry-content .wpcf7 {
  max-width: 100%;
}

.entry-content .wpcf7 input[type="text"],
.entry-content .wpcf7 input[type="email"],
.entry-content .wpcf7 textarea {
  font-family: Arial, Helvetica, sans-serif;
  width: 100%;
  color: #848688;
  font-size: 18px;
  padding: 25px 20px;
  line-height: 1;
  border: none;
  margin: 0px 0px 22px 0px;
  background: #f0eff5;
}

.entry-content .wpcf7 input[type="text"],
.entry-content .wpcf7 input[type="email"],
.entry-content .wpcf7 textarea {
  background: #f0eff5;
}

.entry-content .wpcf7 textarea {
  height: 179px;
  padding: 30px 20px;
}

#footer-bottom .entry-content .wpcf7 textarea {
  height: 279px;
}

.safari .entry-content.wpcf7 textarea {
  height: 182px;
}

.safari #footer-bottom .entry-content .wpcf7 textarea {
  height: 282px;
}

.entry-content .wpcf7 .contact-bottom {
  text-align: left;
}

.entry-content .wpcf7 .contact-bottom .button {
  border-radius: 0px !important;
}

#footer-bottom .entry-content .wpcf7 .contact-bottom {
  text-align: left;
}

.entry-content .wpcf7 input[type="submit"] {
  width: 260px;
  font-size: 18px;
  color: #e7e7e7;
  line-height: 1;
  padding: 16px;
  text-transform: uppercase;
  border: none;
  border-radius: 0px !important;
  background: #063864;
  border: 1px solid #063864;
}

.entry-content .wpcf7 input[type="submit"]:hover {
  color: #063864;
  background: #fff;
}

#scrollUp {
  width: 49px;
  height: 49px;
  bottom: 20px;
  right: 20px;
  background: url(../images/arrow.png) no-repeat;
  background-size: 49px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

/* # Media Queries
---------------------------------------------------------------------------------------------------- */

@media only screen and (max-width: 1880px) {
  .wrap {
    padding-left: 5%;
    padding-right: 5%;
  }

  #home-cta {
    margin-top: -64px;
  }

  #home-content-bottom .content-left {
    padding-left: 20px;
  }

  #home-services .service-column .mask h3 {
    font-size: 30px;
  }

  #business-address {
  padding: 100px 35px;
}


}

@media only screen and (max-width: 1200px) {
  .wrap {
    max-width: 920px;
  }

  #home-cta {
    margin-top: 0px;
  }

  #navigation {
    margin-right: 0;
  }

  #navigation > ul > li {
    margin: 0 10px;
  }

  #home-testimonial {
    font-size: 12px;
  }

  #home-services .service-column .mask h3 {
    font-size: 26px;
  }

  #left-column {
    width: 65%;
  }

  #right-column {
    width: 30%;
  }

  #home-testimonials .row {
    display: block;
  }

  #home-testimonials .wrap .column {
    width: 100%;
    font-size: 18px;
  }

  #home-testimonials .wrap .column p::before {
    left: 0px;
  }

  .site-footer p {
    margin-top: 25px;
    margin-bottom: 25px;
  }
}

@media only screen and (max-width: 960px) {
  .wrap {
    max-width: 760px;
  }

  .site-header .wrap .center {
    position: relative;
    order: 1;
    left: auto;
    width: 100%;
    padding-top: 20px;
    text-align: center;
    transform: none;
  }

  .site-header .wrap .left {
    order: 2;
    width: 100%;
  }

  .site-header .wrap .right {
    order: 3;
    width: 100%;
    text-align: center;
  }

  #navigation {
    text-align: center;
    margin-top: 0;
  }

  #navigation ul li a {
    padding: 10px 15px;
  }

  #home-testimonial h2 {
    font-size: 18px;
  }

  #home-services .service-column .mask h3 {
    font-size: 22px;
  }

  #projects-gallery .row {
    display: block;
    gap: 10px;
    text-align: center;
    justify-content: center;
  }

  .project-item {
    max-width: 100%;
  }

  #contact-form-container {
    display: block;
    column-gap: 20px;
    justify-content: space-around;
  }

  #contact-form {
    width: 100%;
  }

  .entry-content .wpcf7 .contact-bottom {
    text-align: center;
  }

  #business-address h2 {
    text-align: center;
  }

  #business-address {
    width: 100%;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
  }
}

@media only screen and (max-width: 800px) {
  .wrap {
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
  }

  .site-header {
    width: 100%;
  }

  .site-header.smaller {
    position: relative;
  }

  #home-content {
    padding: 40px 0 40px 0;
  }

  #home-content h2 {
    margin-bottom: 40px;
  }

  #home-content .button {
    padding: 30px;
  }

  #navigation ul,
  #navigation ul:last-child {
    float: none;
    text-align: center;
  }

  #banner .banner_text {
    padding: 10px;
    top: 0;
    left: 0;
    transform: none;
  }

  #banner .banner_text h1 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  #banner .banner_text .button {
    font-size: 10px;
    padding: 8px;
  }

  #home-testimonials .wrap .column {
    width: 100%;
    margin-bottom: 40px;
  }

  .five-sixths,
  .four-sixths,
  .one-fourth,
  .one-half,
  .one-sixth,
  .one-third,
  .three-fourths,
  .three-sixths,
  .two-fourths,
  .two-sixths,
  .two-thirds {
    margin: 0 0 40px 0;
    width: 100%;
  }

  #content,
  .sidebar,
  .home #content,
  .home .sidebar {
    width: 100%;
  }

  #home-services .wrap {
    flex-direction: column;
    gap: 20px;
  }

  .service-column {
    max-width: 100%;
    text-align: center;
  }

  #home-content-bottom .wrap {
    display: block;
  }

  #home-content-bottom .content-left,
  #home-content-bottom .image-right {
    flex: 1;
    padding: 10px;
    text-align: center;
    max-width: 100%;
  }

  .site-footer #footersocial ul li .button {
    padding: 30px;
  }
}

@media only screen and (max-width: 720px) {
  #wpadminbar {
    position: fixed;
  }

  #logo,
  #navigation {
    width: 100%;
    text-align: center;
  }

  .site-footer .footer-logo {
    position: relative;
    display: block;
  }
}

@media only screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed !important;
  }
}

@media only screen and (max-width: 500px) {
  #main-menu > li > ul {
    width: 100%;
    margin-left: -50%;
  }

  #navigation.responsive-menu > .menu-item > .sub-menu,
  #navigation.responsive-menu {
    display: none;
  }

  #navigation ul.responsive-menu .menu-item,
  .responsive-menu-icon {
    display: flex;
    order: 2;
    width: 100%;
    text-align: center;
  }

  #navigation.responsive-menu {
    background: #0b3b66;
  }

  #navigation ul.responsive-menu .menu-item:hover {
    position: static;
  }

  #navigation.responsive-menu li a,
  #navigation.responsive-menu li a:hover {
    border: none;
    color: #fff;
    text-align: center;
    border-bottom: none;
    display: block;
    line-height: 1;
    padding: 10px;
  }

  #navigation.responsive-menu .menu-item-has-children {
    cursor: pointer;
  }

  #navigation.responsive-menu .menu-item-has-children > a {
    margin-right: 60px;
  }

  #navigation ul li {
    display: block;
    border: none;
    min-height: 20px;
    max-width: 100%;
    width: 100%;
    margin-left: 0;
  }

  #navigation li a {
    max-width: 100%;
    width: 100%;
    min-height: 20px;
    font-size: 16px;
    text-align: left;
    /*background-color: #D1D1D1;*/
  }

  #navigation.responsive-menu > .menu-item-has-children:before {
    content: "\f140";
    float: right;
    font: normal 20px/1 "dashicons";
    height: 20px;
    padding: 12px 20px;
    right: 0;
    text-align: right;
    z-index: 9999;
  }

  #navigation.responsive-menu .menu-open.menu-item-has-children:before {
    content: "\f142";
  }

  #navigation.responsive-menu .sub-menu {
    display: none;
    background-color: #d1d1d1;
    border: none;
    left: auto;
    opacity: 1;
    padding-left: 20px;
    position: relative;
    width: 100%;
    z-index: 99;
  }

  #navigation.responsive-menu .sub-menu .sub-menu {
    margin: 0;
    -webkit-transition: height 0s;
    -moz-transition: height 0s;
    -ms-transition: height 0s;
    -o-transition: height 0s;
    transition: height 0s;
  }

  #navigation.responsive-menu .sub-menu li a,
  #navigation.responsive-menu .sub-menu li a:hover {
    padding: 12px 16px;
    position: relative;
    text-transform: none;
    width: 100%;
  }

  #navigation.responsive-menu .sub-menu li a {
    background: #f75d00;
  }

  .home-blocks,
  .home-blocks.last {
    width: 300px;
  }

  #bottom-contact .contact-left,
  .entry-content .wpcf7 .contact-left {
    width: 100%;
    padding-right: 0;
  }

  #bottom-contact .contact-right,
  .entry-content .wpcf7 .contact-right {
    width: 100%;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

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

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
