/*!
Theme Name: Fraylings and Sons
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Custom website for fraylings and sons
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fraylings
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

anheating is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*! normalize.css v3.0.2 | MIT License | git.io/normalize */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

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

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*
* Skeleton V2.0.4
* Copyright 2014, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 12/29/2014
*/

/* Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––
- Grid
- Base Styles
- Typography
- Links
- Buttons
- Forms
- Lists
- Code
- Tables
- Spacing
- Utilities
- Clearing
- Media Queries
*/

/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box; }
.column,
.columns {
  width: 100%;
  float: left;
  box-sizing: border-box; }

/* For devices larger than 400px */
@media (min-width: 400px) {
  .container {
    width: 85%;
    padding: 0; }
}

/* For devices larger than 750px */
@media (min-width: 750px) {
  .container {
    width: 80%; }
  .column,
  .columns {
    margin-left: 4%; }
  .column:first-child,
  .columns:first-child {
    margin-left: 0; }

  .one.column,
  .one.columns                    { width: 4.66666666667%; }
  .two.columns                    { width: 13.3333333333%; }
  .three.columns                  { width: 22%;            }
  .four.columns                   { width: 30.6666666667%; }
  .five.columns                   { width: 39.3333333333%; }
  .six.columns                    { width: 48%;            }
  .seven.columns                  { width: 56.6666666667%; }
  .eight.columns                  { width: 65.3333333333%; }
  .nine.columns                   { width: 74.0%;          }
  .ten.columns                    { width: 82.6666666667%; }
  .eleven.columns                 { width: 91.3333333333%; }
  .twelve.columns                 { width: 100%; margin-left: 0; }

  .one-third.column               { width: 30.6666666667%; }
  .two-thirds.column              { width: 65.3333333333%; }

  .one-half.column                { width: 48%; }

  /* Offsets */
  .offset-by-one.column,
  .offset-by-one.columns          { margin-left: 8.66666666667%; }
  .offset-by-two.column,
  .offset-by-two.columns          { margin-left: 17.3333333333%; }
  .offset-by-three.column,
  .offset-by-three.columns        { margin-left: 26%;            }
  .offset-by-four.column,
  .offset-by-four.columns         { margin-left: 34.6666666667%; }
  .offset-by-five.column,
  .offset-by-five.columns         { margin-left: 43.3333333333%; }
  .offset-by-six.column,
  .offset-by-six.columns          { margin-left: 52%;            }
  .offset-by-seven.column,
  .offset-by-seven.columns        { margin-left: 60.6666666667%; }
  .offset-by-eight.column,
  .offset-by-eight.columns        { margin-left: 69.3333333333%; }
  .offset-by-nine.column,
  .offset-by-nine.columns         { margin-left: 78.0%;          }
  .offset-by-ten.column,
  .offset-by-ten.columns          { margin-left: 86.6666666667%; }
  .offset-by-eleven.column,
  .offset-by-eleven.columns       { margin-left: 95.3333333333%; }

  .offset-by-one-third.column,
  .offset-by-one-third.columns    { margin-left: 34.6666666667%; }
  .offset-by-two-thirds.column,
  .offset-by-two-thirds.columns   { margin-left: 69.3333333333%; }

  .offset-by-one-half.column,
  .offset-by-one-half.columns     { margin-left: 52%; }

}


/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */
html {
  font-size: 62.5%; }
body {
  font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
  line-height: 1.6;
  font-weight: 400;
  font-family: "Poppins", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #2B3747;
	background: #263141;
}

@media (min-width: 750px) {
  body {
    font-size: 1.8em;
  }
}

/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 400;}

h1,
.h1 { font-size: 2.4rem; line-height: 1.2;  }
h2,
.h2 { font-size: 2.0rem; line-height: 1.25; }
h3,
.h3 { font-size: 1.6rem; line-height: 1.3; }
h4,
.h4 { font-size: 1.8rem; line-height: 1.35; }
h5,
.h5 { font-size: 1.6rem; line-height: 1.4;  }
h6,
.h6 { font-size: 1.5rem; line-height: 1.4; }

.hero-text {
  font-size: 1.8rem;
  line-height: 1.4;
}

@media (min-width: 750px) {
  h1,
  .h1 { font-size: 3.6rem; line-height: 1.2;  }
  h2,
  .h2 { font-size: 2.8rem; line-height: 1.25; }
  h3,
  .h3 { font-size: 2.4rem; line-height: 1.3; }
  h4,
  .h4 { font-size: 2.0rem; line-height: 1.35; }
  h5,
  .h5 { font-size: 1.8rem; line-height: 1.4;  }
  h6,
  .h6 { font-size: 1.5rem; line-height: 1.4; }

  .hero-text {
    font-size: 4.2rem;
  }
}




.reg-txt {
	font-weight: 300;
}

.semibold-txt {
	font-weight: 500;
}

.bold-txt {
	font-weight: 700;
}

.green-txt {
	color: #2b439b;
}

.white-txt {
	color: #fff;
}

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


p {
  margin-top: 0;
}

/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
  color: #1EAEDB;
	text-decoration: none;
}
a:hover {
  color: #0FA0CE; }


/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
	display: inline-block;
	height: 46px;
	padding: 0 15px;
	color: #fff;
	text-align: center;
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 46px;
	letter-spacing: 0;
	text-decoration: none;
	white-space: nowrap;
	letter-spacing: .1rem;
	background-color: #2b439b;
	border: 2px solid #2b439b;
	cursor: pointer;
	box-sizing: border-box;
  transition: all 0.3s ease-in;
}
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #fff;
	background-color: #3b58c1;
  border-color: #3b58c1;
  outline: 0; }
.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
  color: #2b439b;
  background-color: #FFF;
  border-color: #FFF; }
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
  color: #FFF;
  background-color: #2b439b;
  border-color: #FFF; }

.button.button-wt-grn,
button.button-wt-grn,
input[type="submit"].button-wt-grn,
input[type="reset"].button-wt-grn,
input[type="button"].button-wt-grn {
  color: #F6A526;
  background-color: #FFF;
  border-color: #FFF; }
.button.button-wt-grn:hover,
button.button-wt-grn:hover,
input[type="submit"].button-wt-grn:hover,
input[type="reset"].button-wt-grn:hover,
input[type="button"].button-wt-grn:hover,
.button.button-wt-grn:focus,
button.button-wt-grn:focus,
input[type="submit"].button-wt-grn:focus,
input[type="reset"].button-wt-grn:focus,
input[type="button"].button-wt-grn:focus {
  color: #FFF;
  background-color: #F6A526;
  border-color: #FFF; }

.button.button-wt-bl,
button.button-wt-bl,
input[type="submit"].button-wt-bl,
input[type="reset"].button-wt-bl,
input[type="button"].button-wt-bl {
  color: #2b439b;
  background-color: #FFF;
  border-color: #FFF; }
.button.button-wt-bl:hover,
button.button-wt-bl:hover,
input[type="submit"].button-wt-bl:hover,
input[type="reset"].button-wt-bl:hover,
input[type="button"].button-wt-bl:hover,
.button.button-wt-bl:focus,
button.button-wt-bl:focus,
input[type="submit"].button-wt-bl:focus,
input[type="reset"].button-wt-bl:focus,
input[type="button"].button-wt-bl:focus {
  color: #FFF;
  background-color: #0063A2;
  border-color: #FFF; }

@media (min-width: 750px) {
  .button,
  button,
  input[type="submit"],
  input[type="reset"],
  input[type="button"] {
  	height: 56px;
  	padding: 0 30px;
  	font-size: 2.0rem;
  	line-height: 56px;
  }
}

/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; }
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; }
textarea {
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #33C3F0;
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; }
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; }


/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
  list-style: none; }
ol {
  list-style: decimal inside; }
ol, ul {
  padding-left: 0;
  margin-top: 0; }
ul ul,
ul ol,
ol ol,
ol ul {
  margin: 0;
  font-size: 90%; }
li {
  margin-bottom: 0; }

/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  font-size: 90%;
  white-space: nowrap;
  background: #F1F1F1;
  border: 1px solid #E1E1E1;
  border-radius: 4px; }
pre > code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre; }


/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0; }


/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 1rem; }
input,
textarea,
select,
fieldset {
  margin-bottom: 1.5rem; }
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
  margin-bottom: 2.5rem; }


/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
  width: 100%;
  box-sizing: border-box; }
.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box; }
.u-pull-right {
  float: right; }
.u-pull-left {
  float: left; }


/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #E1E1E1; }


/* Clearing
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
  content: "";
  display: table;
  clear: both; }


/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/*
Note: The best way to structure the use of media queries is to create the queries
near the relevant code. For example, if you wanted to change the styles for buttons
on small devices, paste the mobile query code up in the buttons section and style it
there.
*/

/* Larger than mobile */
@media (min-width: 400px) {}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {}

/* Larger than tablet */
@media (min-width: 750px) {}

/* Larger than desktop */
@media (min-width: 1000px) {}

/* Larger than Desktop HD */
@media (min-width: 1200px) {}

/* Main
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.site-header {
  background: #fff;
  color: #2b439b;
}

.site-branding {
  float: left;
}

.site-branding a {
	display: block;
  width: 210px;
  padding: 50px 0 15px 0;
}

.site-branding img {
	width: 100%;
}

.site-header .telephone-number {
	position: absolute;
	background: red;
	color: #fff;
}

.site-header .telephone-number {
	position: absolute;
	background: #2b439b;
	color: #fff;
	top: 0;
	right:0;
	padding: 7px 16px 4px 12px;
	line-height: 24px;
	font-weight: 500;
	letter-spacing: 1px;
	display: flex;
	align-items: center;
	justify-content: center;
  box-sizing: border-box;
}

.site-header .telephone-number:hover,
.site-header .telephone-number:focus {
	background-color: #3b58c1;
}

.site-header .telephone-number img {
	width: 20px;
	margin: 0 5px 0 0;
}

/* Larger than tablet */
@media (min-width: 1024px) {
  .site-branding a {
    width: 310px;
    padding: 30px 0;
  }
}

/* Larger than 1100px */
@media (min-width: 1300px) {
  .site-branding a {
    width: 360px;
    padding: 30px 0;
  }
}

/* Nav
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.nav-menu {
  overflow: hidden;
  float: right;
  margin: 0;
}

.nav-menu li {
  float: left;
  display: block;
  margin: 0;
  padding: 10px 15px;
}

.nav-menu li:last-child {
  padding-right:0;
}

/* Larger than 1100px */
@media (min-width: 1300px) {
  .nav-menu {
    margin: 70px 0 0 0;
  }
}

.nav-menu a {
  float: left;
  display: block;
  color: #231f20;
  text-align: center;
  padding: 6px 0;
  text-decoration: none;
  font-size: 1.9rem;
  position: relative;
  font-weight: 300;
}

.nav-menu a:hover {
  background: none;
}

.nav-menu a:after {
  bottom: 0px;
  background: #2b439b;
  content: '';
  left: 0;
  height: 4px;
  right: 0;
  width: 0;
  position: absolute;
  -webkit-transition: width .3s ease;
  -o-transition: width .3s ease;
  transition: width .3s ease;
  border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after,
.nav-menu .current-page-ancestor  > a::after {
    width:100%;
}

.nav-menu .current-page-ancestor:hover > a::after {
  width:0;
}

.main-navigation .menu-toggle {
  display: none;
  padding: 0;
  background: none;
  border: 0;
  color: red;
  margin: 0;
  height: 40px;
}

.menu-item-has-children {
  float: left;
  overflow: hidden;
}

.menu-item-has-children .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.sub-menu {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  margin-top: 50px;
  z-index: 1;
}

.sub-menu li {
  float: none;
  padding: 0;
}

.sub-menu a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.menu-item-has-children:hover .sub-menu {
  display: block;
}

@media screen and (max-width: 1300px) {
  .nav-menu {
    width: 100%;
    padding: 15px 0;
    border-top: 1px solid #4c6077;
    margin: 15px 0 0;
  }
  .nav-menu li {
    width: 100%;
    padding: 0;
  }
  .sub-menu {
    display: block;
    margin-bottom: 10px;
    background-color: transparent;
  }
  .sub-menu a {
    color: white;
    padding: 7px 14px;
  }
  .menu-main-menu-container {
    display: none;
  }
  .main-navigation .menu-toggle {
    position: absolute;
    display: block;
    top: 53px;
    right: 20px;
  }
  .main-navigation.toggled .menu-main-menu-container {
    float: none;
    display: block;
    text-align: left;
  }
  .main-navigation.toggled .menu-item-has-children {float: none;}
  .main-navigation.toggled .sub-menu {position: relative;}
  .main-navigation.toggled .menu-item-has-children > a {
    display: block;
    width: 100%;
    text-align: left;
  }
}

/* ICON  ------------------------------------------------------------*/

.menu__btn__icon{
    position:relative;
    margin-left:13px;
    height: 34px;
    width: 40px;
    -webkit-transition:all .3s ease;
    -o-transition:all .3s ease;
    transition:all .3s ease;
    display:block;
    z-index:1000
}
.menu__btn__icon span{
    height:4px;
    background:#2b439b;
    width:100%;
    position:absolute;
    border-radius:5px;
    -webkit-transition:width .3s ease,background .3s ease 0s;
    -o-transition:width .3s ease,background .3s ease 0s;
    transition:width .3s ease,background .3s ease 0s
}
.menu__btn__icon span:first-child{
    left:0;
    -webkit-transition:width .3s ease .3s,background .3s ease 0s;
    -o-transition:width .3s ease .3s,background .3s ease 0s;
    transition:width .3s ease .3s,background .3s ease 0s;
    top:5px
}
.menu__btn__icon span:nth-child(2){
    left:0;
    top:50%;
    -webkit-transition:width .3s ease .4s,background .3s ease 0s;
    -o-transition:width .3s ease .4s,background .3s ease 0s;
    transition:width .3s ease .4s,background .3s ease 0s;
    -webkit-transform:translateY(-50%);
    -ms-transform:translateY(-50%);
    transform:translateY(-50%)
}
.menu__btn__icon span:nth-child(3){
    left:0;
    bottom:5px;
    -webkit-transition:width .3s ease .4s,background .3s ease 0s;
    -o-transition:width .3s ease .4s,background .3s ease 0s;
    transition:width .3s ease .4s,background .3s ease 0s
}
.menu__btn__icon span:nth-child(4){
    -webkit-transform:translate(-50%,-50%) rotate(45deg);
    -ms-transform:translate(-50%,-50%) rotate(45deg);
    transform:translate(-50%,-50%) rotate(45deg);
    top:50%;
    -webkit-transition:width .3s ease 0s,background .3s ease 0s;
    -o-transition:width .3s ease 0s,background .3s ease 0s;
    transition:width .3s ease 0s,background .3s ease 0s;
    left:50%;
    width:0
}
.menu__btn__icon span:last-child{
    -webkit-transform:translate(-50%,-50%) rotate(-45deg);
    -ms-transform:translate(-50%,-50%) rotate(-45deg);
    transform:translate(-50%,-50%) rotate(-45deg);
    -webkit-transition:width .3s ease .2s,background .3s ease 0s;
    -o-transition:width .3s ease .2s,background .3s ease 0s;
    transition:width .3s ease .2s,background .3s ease 0s;
    top:50%;
    left:50%;
    width:0
}
.toggled .menu__btn__icon span:first-child{
    width:0;
    -webkit-transition:width .3s ease 0s,background .3s ease 0s;
    -o-transition:width .3s ease 0s,background .3s ease 0s;
    transition:width .3s ease 0s,background .3s ease 0s
}
.toggled .menu__btn__icon span:nth-child(2){
    width:0;
    -webkit-transition:width .3s ease .1s,background .3s ease 0s;
    -o-transition:width .3s ease .1s,background .3s ease 0s;
    transition:width .3s ease .1s,background .3s ease 0s
}
.toggled .menu__btn__icon span:nth-child(3){
    width:0;
    -webkit-transition:width .3s ease .2s,background .3s ease 0s;
    -o-transition:width .3s ease .2s,background .3s ease 0s;
    transition:width .3s ease .2s,background .3s ease 0s
}
.toggled .menu__btn__icon span:nth-child(4){
    width:100%;
    -webkit-transition:width .3s ease .3s,background .3s ease 0s;
    -o-transition:width .3s ease .3s,background .3s ease 0s;
    transition:width .3s ease .3s,background .3s ease 0s
}
.toggled .menu__btn__icon span:last-child{
    width:100%;
    -webkit-transition:width .3s ease .4s,background .3s ease 0s;
    -o-transition:width .3s ease .4s,background .3s ease 0s;
    transition:width .3s ease .4s,background .3s ease 0s
}

/* Banner
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.finace-banner {
	background: white;
	padding: 20px 0;
}

.finace-banner-inner {
	display: flex;
	justify-content: space-between;
  flex-direction:column;
}

.finace-banner-inner p {
    margin: 10px 0;
}

@media (min-width: 750px) {
  .finace-banner {
  	padding: 40px 0;
  }
  .finace-banner-inner {
    flex-direction: row;
  }
}

/* Footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.site-footer {
	background: #231f20;
	color:#fff;
	padding: 25px 0;
}

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

.site-footer h3 {
	margin:20px 0 15px 0;
}

.site-footer .contact-details span {
	margin: 0 5px 0 0;
}

.company-small-details  {
	margin-top: 50px;
	padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.company-small-details span {
	color: rgba(255, 255, 255, .4);
	font-weight: 300;
	font-size: 1.4rem;
}

.social-media {
	display: flex;
}

.social-media li {
	margin: 0 10px 0 0;
}

.social-media a {
	display: block;
	width: 30px;
}

.social-media img {
	width: 100%;
}

@media (min-width: 750px) {
  .site-footer {
  	padding: 70px 0;
  }
  .site-footer h3 {
  	margin:0 0 15px 0;
  }
}

@media (max-width: 1025px) {
  .company-small-details .columns {
    width: 100%!important;
    margin: 0 0 10px 0!important;
  }
}

/* Main
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.main-content {
	background:#fff;
	color:#fff;
}

.three-heroes {
  padding: 30px 0;
  color: #2b439b;
  background: #f9f9f9;
}

.services-subheading {
  margin: 20px 0 45px;
}

.services-block {
  padding: 50px 20px;
  background: #ffffff;
  color: #2b439b;
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
  margin:0 0 15px;
}

.services-block p {
  margin: 15px 0;
  color: rgb(35 31 32);
  font-weight: 300;
}

.services-block .button {
  margin-bottom: 0;
}

.testimonial-content {
  text-align: center;
  background: #231f20;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.testimonial-block {
  padding: 20px;
  box-sizing: border-box;
}

.testimonial-block::before,
.testimonial-block::after {
  content: "";
  width: 40px;
  height: 40px;
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
}

.testimonial-block::before {
  background-image: url(img/quote-top.png);
  top: 0;
  left: -40px;
}

.testimonial-block::after {
  background-image: url(img/quote-bottom.png);
  bottom: -80px;
  right: 10px;
}

.testimonial-block p {
  margin:20px 0;
}

.testimonial-slider {
  margin:10px 0 0 0;
}

.break-line {
  background: #404B59;
  height: 3px;
  width: 100%;
  margin: 60px 0;
  position: relative;
}

@media (min-width: 750px) {
  .testimonial-content {
    padding: 100px 0;
  }
  .testimonial-slider {
    margin:65px 0 0 0;
  }
  .testimonial-block::after {
    bottom: 0;
    right: -40px;
  }
  .three-heroes {
    padding: 70px 0;
  }
  .services-block {
    margin:0;
  }
}


/* Finance Button Fix
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#TQ_Intro {
  padding: 0 25px!important;
}

/* Slider > Banner
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.hero-container .bx-wrapper {
  margin: 0 auto;
  max-height: 650px;
  overflow: hidden;
}

.hero-container .bx-wrapper .bx-viewport {
  max-height: 650px;
  min-height: 400px;
  background: #231f20;
}

.hero-container .bx-wrapper .hero-banner-slide {
  max-height: 650px;
  min-height: 400px;
}

.hero-container .bx-wrapper .bx-pager,
.hero-container .bx-wrapper .bx-controls-auto {
  bottom: 15px;
}

.hero-container .bx-wrapper .bx-pager.bx-default-pager a {
  background: #ffffff00;
}
.hero-banner-text {
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding:20px;
}
.hero-banner-text__inner {
  z-index: 1;
  position: relative;
  color: #fff;
  text-align: center;
}

.hero-banner-text .hero-text {
  font-weight: 700;
  margin-bottom: 5px;
}
.hero-banner-text .hero-subtext {
  font-size: 1.6rem;
}
.hero-banner-text .button {
  margin-top: 20px;
}

.hero-banner-text__logo {
  max-width: 170px;
  margin: 0 auto 20px;
  width: 100%;
}

@media (max-width: 749px) {
  .hero-container .bx-wrapper .hero-banner-slide {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
  }
}

@media (min-width: 750px) {
  .hero-container .bx-wrapper .bx-pager,
  .hero-container .bx-wrapper .bx-controls-auto {
    bottom: 60px;
  }
  .hero-banner-text {
    padding: 50px;
  }
  .hero-banner-text__logo {
    max-width: 320px;
    margin: 0 auto 40px;
  }
  .hero-banner-text {
    position: absolute;
  }
  .hero-banner-text::after {
    content: '';
    background: none;
    background: rgba(0, 0, 0, 0.8);
    height: 100%;
    width: 100%;
    position:absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }
  .hero-banner-text .hero-subtext {
    font-size: 2.0rem;
    max-width: 830px;
    margin: 0 auto;
  }
}

/* Main Content
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.main-page-title {
  padding: 10px 0;
  background: #2b439b;
  color: #ffffff;
}

.main-page-content {
  background: #E9E9E9;
}

.main-page-content-area {
  margin: 15px 0;
  background: #FFFFFF;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.08);
  border-radius: 6px;
  overflow: hidden;
}

.main-page-content-area .feature-image img {
  width: 100%;
}

.main-page-content-area__text {
  padding: 20px;
}

.main-page-content-area__text h1,
.main-page-content-area__text h2,
.main-page-content-area__text h3,
.main-page-content-area__text h4,
.main-page-content-area__text h5 {
  margin-bottom: 1.5rem;
}

.main-page-content-area__text p {
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.main-page-content-area__text p:last-child {
  margin: 0;
}

.main-page-content-area__text ul{
  list-style: none;
  margin: 0 0 20px 17px;
  font-weight: 500;
}

.main-page-content-area__text ul li::before {
  content: "\25A0";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: #2b439b;
  font-weight: bold;
  display: inline-block;
  width: 1.5em;
  margin-left: -1em;
}

@media (min-width: 750px) {
  .main-page-title {
    padding: 25px 0;
  }
  .main-page-content-area {
    margin: 40px 0;
  }
  .main-page-content-area__text {
    padding: 40px;
  }
}


/* Slider
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs a:focus,
.breadcrumbs a:hover {
  color: rgba(255, 255, 255, 1);
}

.breadcrumbs .current-item {
  color: white;
}


/* Slider
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.bx-wrapper {
  position: relative;
  margin:0 auto 60px;
  padding: 0;
  *zoom: 1;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
}
.bx-wrapper img {
  max-width: 100%;
  display: block;
  width: 100%;
  height: auto;
}
.bxslider {
  margin: 0;
  padding: 0;
}
ul.bxslider {
  list-style: none;
}
.bx-viewport {
	overflow: inherit!important;
  /*fix other elements on the page moving (on Chrome)*/
  -webkit-transform: translatez(0);
}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
  position: absolute;
  bottom: -60px;
  width: 100%;
}

/* Slider > Loader */

.bx-wrapper .bx-loading {
  min-height: 50px;
  background: url('img/bx_loader.gif') center center no-repeat #ffffff;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
}

/* Slider > Controls */

.bx-controls {
  position: absolute;
  left: 47%;
  left: calc(50% - 48px);
}

/* Slider > Pager */

.bx-wrapper .bx-pager {
  text-align: center;
  font-size: .85em;
  font-family: Arial;
  font-weight: bold;
  color: #666;
  padding-top: 20px;
  display: flex;
}
.bx-wrapper .bx-pager.bx-default-pager a {
  text-indent: -9999px;
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  outline: 0;
  border-radius: 25px;
  border: 2px solid #fff;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active,
.bx-wrapper .bx-pager.bx-default-pager a:focus {
  background: #fff;
  border: 2px solid #fff;
}
.bx-wrapper .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
  display: inline-block;
  vertical-align: bottom;
  *zoom: 1;
  *display: inline;
}
.bx-wrapper .bx-pager-item {
  font-size: 0;
  line-height: 0;
}

/* Slider > Controls */

.bx-wrapper .bx-prev {
  left: -170px;
}
.bx-wrapper .bx-next {
  right: -170px;
}
.bx-wrapper .bx-controls-direction a {
  position: absolute;
  top: 50%;
  margin-top: -16px;
  outline: 0;
  width: 32px;
  height: 32px;
  z-index: 9999;
	font-size:40px;
	color: white;
}
.bx-wrapper .bx-controls-direction a.disabled {
  display: none;
}

/* Form 7 Contact Page
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
}

.wpcf7-form textarea {
  min-height: 150px;
}

.wpcf7-form textarea {
  min-height: 150px;
}

.wpcf7-form span.required {
  color: #ff2626;
}

/* Form 7 Contact Page
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.sidebar-box {
  margin: 5px 0 20px 0;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.08);
  border-radius: 6px;
  color: #fff;
  padding: 20px;
  background: #231f20 url(img/help-img.png);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
}

.sidebar-box a {
  color: #fff;
  font-weight: 700;
}

.sidebar-box p {
  margin: 15px 0;
}

.sidebar-box .button {
  width: 100%;
}

@media (max-width: 1025px) {
  .sidebar-box h2 {
    font-size: 2.0rem;
  }
  .sidebar-box p {
    font-size: 1.6rem;
  }
}

@media (min-width: 750px) {
  .sidebar-box {
    margin: 40px 0;
    padding: 30px;
  }
}

/*------------------------------------------- Image Gallery ; */

.gallery {
  padding: 30px 40px;
  overflow: hidden;
  background: #f9f9f9;
  border-top: 1px solid #ececec;
}

.gallery h4 {
  margin: 0 0 15px 0;
  text-transform: capitalize;
  clear: both;
}

.thumbnail-gallery {
  overflow: hidden;
  margin:0 0 2em 0;
}

.thumbnail-image-gallery {
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
  clear: both;
  display: block;
  float: left;
}

.thumbnail-image-gallery li {
  padding:0 0.5em 0.5em 0;
  margin: 0;
  float: left;
}

.thumbnail-image-gallery a {
  display: block;
  width: 70px;
  line-height: 0;
  border: 4px solid white;
  box-shadow: 0px 1px 6px #00000040;
}

.thumbnail-image-gallery img {
  width:100%;
}

@media (min-width: 769px) {
	.thumbnail-image-gallery a {
	  width: 100px;
	}
}

._____TQ_Quote .Quote .Button__svg,
._____TQ_QuoteModal .Quote .Button__svg {
  height: auto;
}
