/*!
Theme Name: richborough
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: richborough
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	font-size: 18px;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

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

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1rem;
}

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

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1rem;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

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

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

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

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #1a5031;
	font-family: "interstate", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #ffffff;
}

a:focus {
	outline: thin dotted;
}

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

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 0px solid;
	border-radius: 1px;
	background-color: #555868;
	line-height: 1;
	padding: 20px 40px;
	color: #ffffff;
	transition: all .4s ease;
	-webkit-transition: all .4s ease;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background-color: #696b77;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #fce791;
	border-radius: 1px;
	padding: 3px;
	margin-top: 8px;
	width: 100%;
	background-color: #fce791;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
	background-color: #ffffff;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Custom
--------------------------------------------------------------*/

.container {
width: 100%;
max-width: 1600px;
margin-left: auto;
margin-right: auto;
}

.flex-box {
	display:flex;
	flex-wrap: wrap;
}

.col-1 {
	width: 8.33%;
}
.col-2 {
	width: 16.66%;
}
.col-3 {
	width: 25%;
}
.col-4 {
	width: 33.33%;
}
.col-5 {
	width: 41.66%;
}
.col-6 {
	width: 50%;
}
.col-7 {
	width: 58.33%;
}
.col-8 {
	width: 66.66%;
}
.col-9 {
	width: 75%;
}
.col-10 {
	width: 83.33%;
}
.col-11 {
	width: 91.66%;
}
.col-12 {
	width: 100%;
}

.col-3-to-col-6 {
	width: 25%;
}

.col-2-to-col-6 {
	width: 16.66%;
}

.offset-1 {
	margin-left: 8.33%;
}

.offset-2 {
	margin-left: 16.66%;
}

.offset-3 {
	margin-left: 25%;
}

.offset-4 {
	margin-left: 33.33%;
}

 [class*="col-"] {
 padding: 14px;
 box-sizing:border-box;
}

h1 {
	font-size: 2.8rem;
	margin: 80px 0 20px 0;
	font-weight: 600;
	color: #ffffff;
	line-height: 1.1;
}

h1 span {
	font-weight: 300;
}

h2 {
	font-size: 1.35rem;
	letter-spacing: 3px;
	margin: 0 0 20px 0;
	font-weight: 600;
}

.bold {
	font-weight: 600;
}

.regular {
	font-weight: 300;
}

.bg-green {
	background-color: #1a5031;
}

.bg-l-green {
	background-color: #e8edea;
}

.bg-white {
	background-color: #ffffff;
}

.text-white {
	color: #ffffff;;
}

.text-black {
	color: #000000;
}

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

.remove-marg {
	margin: 0;
}

.section {
	width: 100%;
	padding: 90px 0;
}

.header-section {
	position: relative;
	padding-bottom: 56.26%;
	overflow: hidden;
	max-width: 100%;
	height: auto;
	background-position: center; 
	background-size: cover; 
	background-repeat: no-repeat; 
}

.header-section iframe {
	position: absolute;
  	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
  	z-index: 1;
}

.header-inner {
	position: absolute;
   	top: 50%;
   	transform: translateY(-50%);
   	z-index: 3;
  	text-align: center;
	width: 100%;
}

.header-logo {
	width: 100%;
	max-width: 500px;
	display: block;
    margin-left: auto;
    margin-right: auto;
}

.for-sale {
	color: #ffffff;
	margin: 25px 0 10px 0;
}

.offers {
	color: #c0cd60;
	margin: 0 0 100px 0;
}

.scroll-text {
	width: 100%;
	text-align: center;
	text-transform: uppercase;
  	font-weight: 400;
  	font-size: 18px;
  	letter-spacing: 3px;
	text-decoration: none;
	color: #ffffff;
	z-index: 2;
	transition: all .4s ease;
	-webkit-transition: all .4s ease;
}

.scroll-text:visited {
	color: #ffffff;
}

.scroll-text:hover {
	text-decoration: underline;
	color: #afc410;
}

.main-section-left {
	width: 200px;
	border-right: 1px solid #1a5031;
	position: relative;
}

.main-section-left-inner {
	position: sticky;
  	top: 0px;
  	left: 0px;
  	margin-top: 0px;
  	z-index: 9999;
	height: 100vh;
	padding: 40px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
    flex-direction:column;
}

.main-section-left-icon {
	width: 100%;
	max-width: 100px;
	max-height: 100px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.main-section-left-h3-wrapper {
	width: 100%;
	height: calc(100vh - 220px);
}

h3 {
	width: calc(100vh - 220px);
  	margin-left: 38%;
  	transform-origin: top left;
  	transform: rotate(-90deg) translate(-100%);
  	margin-top: 0px;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.1;
}

.main-section-right {
	width: calc(100% - 200px);
	background-image: linear-gradient(#1a5031, #1a5031);
	background-size: 1px 100%;
	background-repeat: no-repeat;
	background-position: center center;
}

.box-pad {
	padding-left: 90px;
	padding-right: 90px;
}

.box-pad-form {
	padding-left: 90px;
	padding-right: 90px;
}

.misrep {
	width: 100%;
	background-color: #ffffff;
	font-weight: 400;
	font-size: 0.76rem;
}

.misrep .container p {
	margin: 0;
	padding: 25px 0px;
	font-size: 0.6rem;
}

.misrep .container p a {
	text-decoration: none;
	color: #1a5031;
	transition: all .4s ease;
	-webkit-transition: all .4s ease;
}

.misrep .container p a:hover {
	color: #edefbd;
}

.contact-box {
	margin-top: 40px;
}

.contact-box-photo {
	margin-top: 40px;
	display: flex;
	flex-wrap: wrap;
}

.photo-box {
	width: 150px;
	height: 150px;
	margin: 25px 30px 0 0;
	position: relative;
}

.contact-box-inner {
	width: calc(100% - 180px);
}

.photo-border {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background-position: center; 
	background-size: cover; 
	background-repeat: no-repeat; 
	padding-top: 100%;
	background-image: url("/wp-content/themes/richborough/images/photo-border.png");
	transition: all .4s ease;
	-webkit-transition: all .4s ease;
}

.client-photo-box {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background-position: center; 
	background-size: cover; 
	background-repeat: no-repeat; 
	padding-top: 100%;
	transition: all .4s ease;
	-webkit-transition: all .4s ease;
}

.agent-container {
	margin-top: 50px;
}

.contact-name {
	margin: 25px 0 0 0;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: #ffffff;
}

.job-title {
	color: #ffffff;
	margin: 18px 0;
}

.contact-link {
	color: #ffffff;
	text-decoration: none;
	transition: all .4s ease;
	-webkit-transition: all .4s ease;
}

.contact-link:visited {
	color: #ffffff;
	text-decoration: none;
}

.contact-link:hover {
	color: #edefbd;
}

.agent-logo-container {
	width: 100%;
	max-width: 350px;
	height: auto;
	margin-top: 40px;
}

.agent-logo {
	max-height: 130px;
	width: auto;
	object-fit: contain;
	display: block;
	
}

label {
	color: #ffffff;
}

.wpcf7-form p {
	margin-bottom: 1em;
}

.gdpr-container {
	width: 100%;
	display: flex;
}

.gdpr-tick {
	width: 30px;
}

.gdpr-tick p {
	margin: 0px;
}

.wpcf7-list-item {
	margin-left: 0px;
}

.gdpr-text {
	font-size: 0.7rem;
	line-height: 1.5;
	color: #ffffff;
	width: calc(100% - 30px);
	padding-top: 1px;
}

.gdpr-text p {
	margin: 0;
}

.gdpr-link {
	color: #ffffff;
	text-decoration: none;
	transition: all .4s ease;
	-webkit-transition: all .4s ease;
}

.gdpr-link:visited {
	color: #ffffff;
}

.gdpr-link:hover {
	color: #b2ac80;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  color: #fff;
}

.plan-text {
	margin: 10px 0 60px 0;
}

.plan-img {
	margin: 60px 0 0 0;
}

.gallery-image-1 {
	margin: 0 0 20px 0;
}

.gallery-image-2 {
	margin: 0;
}

.gallery-image-3 {
	margin: 0 0 20px 0;
}

.gallery-image-4 {
	margin: 0;
}

.gallery-image-1, .gallery-image-2, .gallery-image-3, .gallery-image-4 {
	display: block;
}

.descrip-bullets {
	color: #555868;
	margin: 0;
	padding-left: 15px;
}

.descrip-bullets li {
	padding-left: 10px;
	padding-bottom: 10px;
}

.dataroombutton {
	background-color: #afc410;
	padding: 24px;
	color: #fff;
	letter-spacing: 3px;
	font-size: 18px;
	margin-top: 24px;
  	display: inline-block;
	text-decoration: none;
	margin-top: 40px;
	transition: all .4s ease;
	-webkit-transition: all .4s ease;
}

.dataroombutton:visited {
	background-color: #afc410;
	color: #fff;
}

.dataroombutton:hover {
	background-color: #c0cd60;
	color: #fff;
}

.preloader {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: white; 
	z-index: 9;
}

.loading-icon {
	width: 100%;
	max-width: 75px;
	position: absolute;
   	top: 50%;
	left:50%;
   	transform: translateY(-50%);
	transform: translateX(-50%);
}

.wpcf7 form.sent .wpcf7-response-output {
	color: #ffffff;
}

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


@media only screen and (max-width: 1300px) {
	 
.box-pad-form {
	padding-left: 30px;
	padding-right: 90px;
}

.contact-box-inner {
  width: 100%;
}

.contact-box-photo {
  margin-top: 20px;
}

.photo-box {
  margin: 0 30px 0 0;
}
	 
}

@media only screen and (max-width: 1100px) {
	 
.main-section-left {
	display: none;
}

.main-section-right {
	width: 100%;
}

.box-pad {
	padding-left: 30px;
	padding-right: 30px;
}

.box-pad-form {
	padding-left: 30px;
	padding-right: 30px;
}
	 
}

@media only screen and (max-width: 1000px) {
	
.header-logo {
	max-width: 400px;
}	

h1 {
	font-size: 2rem;
	margin: 60px 0 20px 0;
}

.for-sale {
	margin: 20px 0 5px 0;
}

.offers {
	margin: 0 0 50px 0;
}

.scroll-text {
  	font-size: 18px;
}
	 
}



@media only screen and (max-width: 800px) {
	 
 [class*="col-"] {
 padding: 14px;
width:100%;
}

 [class*="offset-"] {
 margin-left: 0px;
}
	 	 		
.section {
	padding: 20px 0;
}

.box-pad {
	padding-left: 30px;
	padding-right: 30px;
}

.box-pad-form {
	padding-left: 30px;
	padding-right: 30px;
}

.data-room-mob-pad {
	margin-top: 30px;
}

.plan-text {
	margin: 10px 0 20px 0;
}

.plan-img {
	margin: 20px 0 0 0;
}

.gallery-pad {
	padding-bottom: 0px;
}

.gallery-image-2 {
	margin-bottom: 6px;
}
	 
.bg-white-mobile {
	background-color: #ffffff;
	padding: 1px 0 30px 0;
}

.dataroombutton {
	font-size: 15px;
}

}

@media only screen and (max-width: 700px) {
	
.header-logo {
	max-width: 300px;
}	

h1 {
	font-size: 2rem;
	margin: 30px 0 20px 0;
}

.for-sale {
	margin: 20px 0 5px 0;
}

.offers {
	margin: 0;
}

.scroll-text {
  	display: none;
}
	 
}

@media only screen and (max-width: 550px) {
	
.header-logo {
	max-width: 230px;
}	

h1 {
	font-size: 1.3rem;
	margin: 10px 0 10px 0;
	padding: 0 5px;
}

.for-sale {
	margin: 5px 0 5px 0;
	font-size: 0.8rem;
	padding: 0 5px;
	line-height: 1.1;
}

.offers {
	margin: 0;
	font-size: 0.8rem;
	padding: 0 5px;
	line-height: 1.1;
}

.scroll-text {
  	display: none;
}
	 
}