/* ---- GENERAL STYLES ---- */

body {
	margin: 0;
	padding: 0;
	font-family: 'PT Sans', Helvetica, sans-serif;
	letter-spacing: 1px;
	font-size: 16px;
	color: #4f4f4f;
}

h1, h2, h3, h4, h5 {
	font-family: 'Cinzel', sans-serif;
	text-transform: uppercase;
	margin: 0 0 25px 0;
}

a {
	text-decoration: none;
	color: #91343b;
}

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

.img-responsive {
	width: 100%;
}

/* --- BASE STRUCTURE --- */

.container-fluid {
	padding: 60px 8%;
}

.row {
	padding: 20px 0;
}

/* --- TOOLS --- */

.bg-beige {
	background-color: #e5e1d8;
}

.accented-text {
	font-size: 20px;
	font-weight: bold;
}

.accented-text .fa {
	margin-right: 10px;
	color: #91343b;
}

.accented-text a {
	color: #4f4f4f;
}

.red {
	color: #91343b;
}

.bold {
	font-weight: bold;
}

/* ---- TOP BAR ---- */

#top-bar {
	display: flex;
	flex: row nowrap;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 15px 8%;
}

#top-bar-contact {
	width: 30%;
	font-size: 16px;
}

#top-bar-contact p {
	margin-bottom: 5px;
}

#top-bar-contact p:last-child {
	font-size: 14px;
}

/* Decrease envelope right margin slightly */
#top-bar-contact p:last-child .fa-envelope{
	margin-right: 3px;
}

#top-bar-contact .fa {
	margin-right: 5px;
	color: #91343b;
}

#top-bar-cta {
	width: 30%;
	text-align: right;
}

.logo-container {
	width: 25%;
	min-width: 210px;
	max-width: 260px;
}

#logo {
	width: 100%;
}

/* --- NAVIGATION --- */

.navbar {
	border: none;
	background-image: linear-gradient(#474747, #4f4f4f, #474747);
	border-radius: 0;
	margin-bottom: 6px;
}

.navbar .container-fluid {
	padding: 0 8%;
}

.navbar-nav {
    width: 100%;
    text-align: center;
}

.navbar-nav > li {
	float: none;
	display: inline-block;
}

.nav > li > a {
	padding-left: 20px;
	padding-right: 20px;
}

.navbar-default .navbar-nav > li > a {
	color: #fff;
	text-transform: uppercase;
	text-shadow: 1px 1px #363636;
}

.navbar-default .navbar-nav > li > a:hover {
	background-color: #91353b;
	color: #fff;
}

.navbar-default .navbar-nav > li > a:active {
	background-color: #91353b;
}

/* Dropdowns */
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
	background-color: #91353b;
	color: #fff;
}

.navbar-nav .dropdown-menu {
	background-color: #4f4f4f;
	min-width: 230px;
	padding: 0;
	top: calc(100% - 1px);
}

.dropdown-menu > li > a {
	color: #fff;
	padding: 15px 30px;
	text-transform: uppercase;
	font-size: 13px;
}

.dropdown-menu > li.active > a {
	background-color: #91353b;
	color: #fff;
}

.navbar-nav .dropdown-menu a:hover {
	background-color: #3f3f3f;
	color: #fff;
}

.navbar-default .navbar-nav > .active > a {
	background-color: #91353b;
	color: #fff;
}

.navbar-default .navbar-nav > .active > a:hover {
	background-color: #91353b;
	color: #fff;
}

/* --- CAROUSEL/HERO --- */

#myCarousel {
	margin-bottom: 6px;
}

.carousel-inner > .item > img {
	min-height: 200px;
	max-height: 500px;
	object-fit: cover;
	object-position: 50% 50%;
	width: 100%;
}

/* Hero text */
#hero-text-box {
	display: flex;
	flex-flow: row wrap;
	align-content: flex-start;
	align-items: center;
	position: absolute;
	top: 80px;
	right: 0;
	min-width: 500px;
	width: 40%;
	padding: 30px;
	background-color: rgba(0, 0, 0, 0.6);
	color: #fff;
}

#hero-text-box h1 {
	width: calc(100% - 105px);
	margin-bottom: 10px;
	font-weight: bold;
}

#hero-text-box h2 {
	width: 100%;
	font-family: 'PT Sans', Helvetica, sans-serif;
	font-size: 24px;
	text-transform: none;
	margin-bottom: 0;
	padding-left: 10px;
}

#hero-text-box #hero-icon-container {
	width: 90px;
	margin-right: 15px;
	margin-bottom: 10px;
}

#hero-text-box #hero-icon-container img {
	width: 100%;
	float: right;
}

/* Change position of indicators */
.carousel-indicators {
	left: 8%;
}

/* --- PAGES --- */

/* - Home - */

#intro {
	padding-bottom: 40px;
}

#our-surveys {
	background-image: linear-gradient(#e5e1d8, #e5e1d8 50%, #fff 50%, #fff);
	padding-top: 0px;
	padding-bottom: 100px;
}

.survey-col {
	padding-top: 40px;
	padding-bottom: 40px;
}

.survey-col h3 {
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 10px;
	min-height: 44px;
}

.survey-text-box {
	padding: 15px;
	background-color: #e5e1d8;
}

.survey-text-box .cta {
	padding: 10px 15px;
	font-size: 15px;
	margin-top: 10px;
	margin-bottom: 0px
}

.survey-text-box .cta::after {
	content: "\f015";
	right: 15px;
	top: 10px;
	font-size: 15px;
}

/* Home Buyers Survey/Home Condition Survey */
#home-buyers-survey {
	margin-bottom: 6px;
}

ul.custom-list {
	list-style: none;
  	padding: 10px 0 20px 0;
  	margin: 0;
}

ul.custom-list li {
	font-size: 18px;
	padding-left: 1em; 
  	text-indent: -.7em;
  	font-weight: bold;
}

ul.custom-list.no-bold li {
  	font-weight: normal;
}

ul.custom-list li::before {
  content: "• ";
  color: #91343b;
  font-size: 20px;
}

ul.custom-list.large-list li {
	font-size: 22px;
	margin-bottom: 15px;
}

ul.custom-list.large-list {
	padding-top: 30px;
}

/* Building Survey */

/* Toggle panels */
.panel-list {
	margin: 25px 0;
}

.panel-list .panel {
	border-radius: 2px;
	border: none;
	box-shadow: none;
}

.panel-list .panel-heading {
	padding: 8px 0;
	background-color: #e5e1d8;
}

.panel-list .panel-heading h4 {
	font-family: 'PT Sans', Helvetica, sans-serif;
	text-transform: unset;
	font-weight: bold;
	font-size: 18px;
	color: #4f4f4f;
}

.panel-list .panel-default .panel-collapse > .panel-body {
	background-color: #e5e1d8;
	padding: 15px 0 10px 0;
	border-top: none;
}

/* Buy To Let Survey */
#buy-to-let-survey .row:nth-child(2) {
	padding-top: 0px;
}

/* Compare Surveys */

#compare-surveys {
	padding-bottom: 40px;
}

#survey-table-section {
	padding-bottom: 100px;
}

#survey-table-section .row {
	padding-top: 0px;
	overflow-x: scroll;
}

#table-scroll-text {
	display: none;
	font-size: 18px;
}

/* Table */
#survey-table {
	width: 100%;
	font-size: 20px;
}

#survey-table th {
	font-size: 24px;
	color: #91343b;
	text-align: center;
	padding: 12px 0;
}

#survey-table tr {
	border-bottom: 1px solid #c8c1b1;
}

#survey-table tr td {
	text-align: center;
	padding: 15px 10px;
	min-width: 100px;
}

#survey-table tr td:first-child {
	text-align: left;
	font-weight: bold;
}

#survey-table tr td .fa-check {
	color: #64be76;
	font-size: 24px
}

#survey-table tr td .fa-times {
	color: #91343b;
	font-size: 24px
}

/* FAQs */

.faq-panels {
	margin-top: 40px;
}

.faq-panels .panel {
	border: none;
	border-radius 2px;
	margin-bottom: 30px;
}

.faq-panels .panel-heading {
	color: #fff;
	padding: 20px;
	background-color: #4f4f4f;
}

.faq-panels .panel-body {
	padding: 20px;
}

/* Contact */

#contact-right .fa {
	margin-right: 10px;
	color: #91343b;
}

#contact-right p {
	margin-bottom: 18px;
	font-size: 18px;
}

#contact-right p:first-of-type {
	padding-top: 5px;
}

#c_form input[type="submit"] {
	background-color: #91343b;
	color: #fff;
	text-transform: uppercase;
	padding: 10px 35px;
	border: none;
	border-radius: 2px;
	font-size: 18px;
	transition: background-color .2s ease;
}

#c_form input[type="submit"]:hover {
	background-color: #CE343B;
}

.parsley-errors-list {
	margin: 10px 0;
}

/* Privacy Policy */

#privacy-policy h3 {
	margin-top: 40px;
}

#privacy-policy h4 {
	margin-top: 20px;
}

/* --- BUTTONS --- */

.tb-cta {
	display: inline-block;
	padding: 10px 20px;
	box-sizing: border-box;
	text-transform: uppercase;
	background-color: #91343b;
	color: #fff;
	font-size: 16px;
	transition: background-color .2s ease;
	border-radius: 2px;
	text-align: center;
}

.tb-cta:hover {
	color: #fff;
	background-color: #CE343B;
}

.tb-cta::after {
	font-family: 'Font Awesome\ 5 Free';
	content: "\f105";
	position: relative;
	top: 1px;
	font-size: 16px;
	color: #fff;
	font-weight: 900;
	margin-left: 10px;
}

.cta {
	position: relative;
	display: inline-block;
	width: 100%;
	padding: 15px 25px;
	box-sizing: border-box;
	text-transform: uppercase;
	background-color: #91343b;
	color: #fff;
	font-size: 20px;
	transition: background-color .2s ease;
	border-radius: 2px;
	margin: 20px 0;
}

.cta:hover {
	color: #fff;
	background-color: #CE343B;
}

.cta::after {
	font-family: 'Font Awesome\ 5 Free';
	content: "\f101";
	position: absolute;
	top: 15px;
	right: 25px;
	font-size: 20px;
	color: #fff;
	font-weight: 900;
}

/* --- CONTACT FORM --- */

footer .form-group input, footer .form-group textarea {
	border-radius: 2px;
	border: none;
	background-color: #878787;
	color: #bbbbbb;
}

footer ::placeholder {
	color: #bbbbbb !important;
}

footer :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #bbbbbb !important;
}

footer ::-ms-input-placeholder { /* Microsoft Edge */
    color: #bbbbbb !important;
}


/* --- FOOTER --- */

footer {
	background-color: #4f4f4f;
}

footer#footer {
	padding-top: 30px;
	padding-bottom: 30px;
}

footer h3 {
	font-family: 'PT Sans', Helvetica, sans-serif;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	margin-top: 30px;
}
footer p, footer a {
	color: #bbbbbb;
	transition: color .2s ease;
}

footer a:hover {
	color: #fff;
	text-decoration: underline;
}

/* Make the current page in the footer menu bold */
footer a.current-page {
	font-weight: bold;
}

/* Form */

footer .form-50 {
	display: inline-block;
	width: 48.75%;
	margin-right: 2.5%;
}

footer textarea.form-control {
	height: 80px;
}

footer .form-50:nth-child(2) {
	margin-right: 0;
}

footer #f_form input[type="submit"] {
	background-color: #2e2e2e;
	padding: 6px 40px;
	text-transform: uppercase;
	transition: background-color .2s ease;
}

footer #f_form input[type="submit"]:hover {
	background-color: #212121;
}

/* Parsley errors */
footer .parsley-errors-list {
	color: #fff;
}

.footer-menu a {
	text-transform: uppercase;
}

footer .footer-info {
	font-size: 15px;
	word-break: break-all;
}

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

.accred-container {
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
	align-items: center;
	width: 75%;
	min-height: 350px;
	max-height: 400px;
	min-width: 185px;
	max-width: 195px;
	margin: 30px auto 0 auto;
	border: 1px solid #878787;
	padding: 10px;
	box-sizing: border-box;
}

.accred-container img {
	width: 100%;
	margin-bottom: 10px;
}

.accred-container img:last-child {
	margin-bottom: 0;
}

#accred-title {
	display: none;
}

.bottom-bar {
	background-color: #2e2e2e;
	color: #aaaaaa;
	text-align: center;
	padding: 20px 8%;
	font-size: 14px;
}

.bottom-bar p {
	margin-bottom: 0;
}

.bottom-bar a{
	color:#CE343B !important;
	
}


/* --- MEDIA QUERIES --- */

@media all and (min-width: 1500px) {

	#hero-text-box {
		padding: 40px 30px;
	}

	#hero-text-box h1 {
		font-size: 42px;
	}

	#hero-text-box h2 {
		font-size: 30px;
		margin-top: -10px;
		font-style: italic;
		padding-left: 100px;
	}

	#intro-right {
		max-width: 450px;
		float: right;
		padding-top: 0;
	}

	#hbs-right {
		max-width: 500px;
	}

	#our-surveys {
		padding-top: 0px;
	}

	.survey-col h3 {
		min-height: 0;
	}
}

@media all and (min-width: 991px) and (max-width: 1180px) {
	.survey-col h3 {
		font-size: 18px;
	}

	.survey-text-box .cta {
		text-align: center;
		font-size: 14px;
	}

	.survey-text-box .cta::after {
		display: none;
	}
}


@media all and (max-width: 990px) {

	/* Remove text from top bar contact info */
	.tb-contact-text {
		display: none;
	}

	/* Make the top bar contact icons inline blocks so they sit on one line */
	#top-bar-contact p {
		display: inline-block;
		font-size: 22px;
		margin-bottom: 0px;
	}

	#top-bar-contact p .fa {
		margin-right: 12px;
	}

	/* Set email icon bigger than phone icon */
	#top-bar-contact .fa-envelope {
		font-size: 26px;
		position: relative;
		top: 2px;
	}

	#top-bar-cta .tb-cta {
		font-size: 14px;
		padding: 8px 12px;
	}

	#top-bar-cta .tb-cta::after {
		font-size: 14px;
	}

	#hero-text-box {
		top: 20%;
	}

	#our-surveys {
		background-image: none;
		background-color: #fff;
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.survey-col {
		padding-top: 25px;
		padding-bottom: 25px;
	}

	.survey-col h3 {
		font-size: 24px;
		min-height: 52px;
	}

}


@media all and (max-width: 767px) {

	h2 {
		font-size: 26px;
	}

	.navbar-toggle {
		margin: 0;
		padding: 5px 0px 5px 5px;
	}

	.navbar-toggle .icon-bar {
		border: 2px solid #91343b;
		width: 25px;
	}

	#top-bar-cta .tb-cta {
		display: none;
	}

	.navbar .container-fluid {
		padding: 0;
	}

	.navbar-nav {
		margin: 0;
		background-color: #4f4f4f;
	}

	.navbar-nav > li {
		float: left;
		display: block;
		width: 100%;
	}

	.navbar-collapse {
		padding: 0;
	}

	.navbar {
		background-image: none;
		background-color: #fff;
		min-height: 0px;
		margin-bottom: 0;
	}

	.logo-container {
		min-width: 160px;
	}

	#top-bar {
		align-items: flex-end;
	}

	#top-bar-contact p .fa {
		margin-right: 8px;
		font-size: 20px;
	}

	/* Set email icon bigger than phone icon */
	#top-bar-contact p .fa-envelope {
		font-size: 24px;
	}

	/* Dropdown menu styling */
	.navbar-default .navbar-nav .open .dropdown-menu > li > a {
		padding: 10px 30px;
		text-align: center;
		color: #fff;
		font-size: 16px;
	}

	.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
		background-color: #212121;
		color: #fff;
	}

	.navbar-default .navbar-nav .open .dropdown-menu > li.active > a {
		background-color: #91343b;
		color: #fff;
	}

	#hero-text-box {
		justify-content: center;
		align-items: center;
		top: calc(100% + 6px);
		width: 100%;
		box-sizing: border-box;
		background-color: #4f4f4f;
		padding: 30px 8%;
		border-bottom: 6px solid #fff;
		min-width: initial;
	}

	#hero-text-box h1 {
		width: 100%;
		font-size: 24px;
		text-align: center;
	}

	#hero-text-box h2 {
		margin-top: 0px;
		text-align: center;
		padding-left: 0;
		font-size: 20px;
	}

	#hero-text-box #hero-icon-container {
		width: 100%;
		margin-right: 10px;
		text-align: center;
	}

	#hero-text-box #hero-icon-container img {
		width: 90px;
		float: none;
	}

	#intro, #home-buyers-survey, #building-survey, #buy-to-let-survey, #compare-surveys, #faqs, #contact-us {
		padding-top: calc(310px - 10vw);
	}

	#home-condition-survey {
		padding-top: calc(340px - 10vw);
	}

	#hbs-right {
		padding-top: 20px;
	}

	.survey-col h3 {
		min-height: initial;
	}

	#table-scroll-text {
		display: block;
	}

	/* Table */
#survey-table {
	font-size: 16px;
}

#survey-table th {
	font-size: 20px;
	padding: 10px 0;
}

#survey-table tr td {
	padding: 12px 8px;
	min-width: 75px;
}

#survey-table tr td .fa-times, #survey-table tr td .fa-check {
	font-size: 20px
}

#contact-right {
	padding-top: 20px;
}

	.accred-container {
		flex-flow: row nowrap;
		width: 100%;
		max-width: none;
		margin-top: 30px;
		min-height: initial;
		min-width: initial;
		border: none;
	}

	.accred-container img {
		width: 30%;
		margin-bottom: 0;
	}

	#accred-title {
		display: block;
	}

}

@media all and (max-width: 414px) {

	#top-bar-contact p .fa-envelope {
		display: none;
	}

	#top-bar-contact p .fa {
		margin-right: 0px;
		font-size: 22px;
	}

}

/* ------ BROWSER HACKS ------ */

/* IE 11 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.accred-container {
		display: none;
	}
}

/* EDGE */
@supports (-ms-ime-align: auto) {
  .accred-container {
        display: none;
  }
}