/*
Theme Name: Fairstone
Author: Your Name
Author URI: https://blairramsay.co.uk
Description: A custom theme for the Fairstone website
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blank

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.
*/

/*=======================================
              Import Fonts
========================================*/

@import url("https://fonts.googleapis.com/css?family=Montserrat:300,400,400i,500,600,700&display=swap");

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@200;300;400;500;600;700;800&display=swap');

/*=======================================
      Reset Styles for Main Elements
========================================*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/*=======================================
              Box Sizing
========================================*/

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

/*=======================================
          Default Body Styles
========================================*/

body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.2;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500 !important;
}

div{
	  font-weight: 400 !important;
}

/*=======================================
   Set Display Role for Older Browsers
========================================*/

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

/*=======================================
                Quotes
========================================*/

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

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

.container {
  width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

@media (max-width: 1260px) {

  .container {
    width: 100%;
  }

}

@media (max-width: 600px) {

  .container {
    padding: 0 20px;
  }

}

/*=======================================
              Helper Classes
========================================*/

.clearfix {
  clear: both;
}

.centered {
  text-align: center;
}

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

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

.green-phone-number{
	color: #29bb89;
	font-weight: bold;
}

.location-bold-paragraph-block{
	font-weight: bold !important;
}

.location-name-thin {
	font-weight: 300;
	font-size: 52px;
	color: #fff;
}

.location-name-bold {
	font-weight: 600;
	font-size: clamp(24px, 5vw, 52px); /* scales between 24px and 52px */
    color: #fff;
    white-space: nowrap; /* forces single line */
    overflow: hidden;
}

/*=======================================
              Flex Grid
========================================*/

.flex-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.top-header .flex-row{
    flex-wrap: nowrap;
}

/*=======================================
          Link Default Styles
========================================*/

a {
  text-decoration: none;
}

a.cover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

a:hover {
  text-decoration: underline;
}

a:not([class]) {
  color: #2c3e50;
  text-decoration: none;
  border-bottom: 1px solid #29bb89;
  margin-bottom: -1px;
}

a:not([class]):hover {
  color: #29BB89;
}

.text-container a:not([class]) {
  color: #2c3e50;
  text-decoration: none;
  border-bottom: 1px solid #29bb89;
  margin-bottom: -1px;
}

.text-container a:not([class]):hover {
  color: #29BB89;
}

/*=======================================
          Button Default Styles
========================================*/

.button {
}

.button:hover {
}

/*=======================================
            List Default Styles
========================================*/

ul[class],
ol[class] {
  list-style: none;
}

ul {
}

ol {
}

/*=======================================
            Table Default Styles
========================================*/

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

table th {
}

table td {
}

/*=======================================
              Form Elements
========================================*/

input,
button,
textarea,
select {
  font: inherit;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
textarea,
select {
  font-size: 16px;
  color: #333;
  background: #fff;
  border: 2px solid #333;
  display: inline-block;
  padding: 6px 10px;
  margin: 5px 0;
  outline: none;
}

label {
  cursor: pointer;
}

/*=======================================
          Image Default Styles
========================================*/

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

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

a.button {
  padding: 11px 20px 11px;
  font-weight: bold;
  font-size: 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 0.3s ease-in-out;
  display: inline-block;
}

a.button.purple {
  color: #24174c;
  border: 1px solid #24174c;
  padding: 11px 30px 11px;
  transition: all 0.3s ease-in-out;
}

a.button.purple:hover {
  color: white;
  border: 1px solid #24174c;
  background-color: #24174c;
}

a.button.green {
  background-color: #29bb89;
  border: 1px solid #29bb89;
  color: white !important;
}

a.button.green:hover {
  background-color: #1E8D67;
  border: 1px solid #1E8D67;
  transform: scale(0.95);
}

a.button.trans-green {
  background-color: transparent;
  border: 1px solid #29bb89;
  color: #29bb89;
}

a.button.trans-green:hover {
  color: white!important;
  background-color: #29bb89;
  transform: scale(0.95);
}

a.arrow.green {
  position: relative;
  display: block;
  font-size: 15px;
  font-weight: bold;
  line-height: normal;
  letter-spacing: 0.3px;
  color: #29bb89;
  padding-right: 25px;
  text-decoration: none;
}

a.arrow.green:after {
  content: "";
  background-image: url('/wp-content/themes/fairstone/img/icons/right-chevron.svg');
  background-size: contain;
  background-repeat: no-repeat;
  width: 12px;
  height: 12px;
  position: absolute;
  right: 0;
  top: 4px;
  transition: all 0.3s ease-in-out;
}

a.arrow.green:hover:after {
  right: -8px;
}

a.button.trans-green.arrow {
  background-color: transparent;
  border: 1px solid #29bb89;
  color: #29bb89;
  text-align: left;
  position: relative;
}

a.button.trans-green.arrow:after {
  content: "";
  background-image: url('/wp-content/themes/fairstone/img/arrow-chevron-right-green.svg');
  background-size: contain;
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
  position: absolute;
  right: 10px;
  top: 9px;
}

a.button.trans-green.arrow:hover {
  color: white;
  background-color: #29bb89;
  transform: none;
}

a.button.trans-green.arrow:hover:after {
  background-image: url('/wp-content/themes/fairstone/img/arrow-chevron-right-white.svg');
}




#firefox footer .footer-top .footer-right input[type="submit"] {
    top: 2px;
    height: 45px;
}

#firefox footer .footer-top .footer-right .form::after {
	top: 16px;
	right: 38px;
}




#ie header .main-header .logo,
#ie footer .footer-top .footer-left .logo {
    width: 140px;
}

#ie footer .footer-top .footer-right input[type="submit"] {
    top: 2px;
    height: 45px;
}

#ie footer .footer-top .footer-right .form::after {
	top: 16px;
	right: 38px;
}


#ie .icon-block .columns .column .icon img {
    height: auto;
    width: auto;
}

#ie .did-you-know .point .bullet img {
    width: auto;
    height: auto;
}

#ie .gf_browser_ie.gform_wrapper.gravity-theme .gform_fields .gfield {
    border-width: 0;
}

#ie .gf_browser_ie.gform_wrapper.gravity-theme .gform-body {
    margin: 0;
}


#safari footer .footer-top .footer-right input[type="submit"] {
    height: 45px;
    top: 4px;
}
