/*
Theme Name: 	Building Consultation
Version: 		1.0
Author: 		Daniel Hutton
Author URI: 	http://www.dh-designs.co.uk
*/

/*
===========================
CONTENTS:

01 Shared Styles / Imports
02 Typography
03 Header / Navigation
04 Main Content
05 Sidebars
06 Footer
07 Plugins / Icon Fonts
08 Media queries 
===========================
*/

/* ---------------------------------------------------------------------------------------------------------- 
01 Shared Styles / Imports ----------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

:root {
	--theme-color: #faf8df;
}

@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700);
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');

@font-face {
  font-family: "moderatbold";
  src: url("fonts/moderat/moderat-bold-webfont.woff2") format("woff2"),
    url("fonts/moderat/moderat-bold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "moderatregular";
  src: url("fonts/moderat/moderat-regular-webfont.woff2") format("woff2"),
    url("fonts/moderat/moderat-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

    @font-face {
    font-family: 'Trebuchet MS';
    font-style: normal;
    font-weight: normal;
    src: local('Trebuchet MS'), url('fonts/trebuc.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Trebuchet MS Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Trebuchet MS Italic'), url('fonts/Trebuchet-MS-Italic.woff') format('woff');
    }

.merriweather-bold-italic {
  font-family: "Merriweather", serif;
  font-weight: 600;
	font-style: italic;
}

html,
body {
  font-family: "Trebuchet MS", sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
}

.page-wrapper {
  min-height: 100%;
  position: relative;
  background: url(/wp-content/uploads/2024/11/oldtownnewbury-bg15-scaled.jpg);
}

/* .oldtownnewbury-bg {
	background-image: url('/wp-content/uploads/2024/11/oldtownnewbury-bg15-scaled.jpg');
	background-size: cover;
	background-position: center;
} */

.page-container {
  padding-top: 12px;
  padding-bottom: 34px;
}

h1,
h2,
h3,
h4,
h5 {
  text-transform: uppercase;
  font-family: "Trebuchet MS", sans-serif;
}

strong,
b {
  font-family: "Trebuchet MS", sans-serif;
}

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

[type=checkbox]:checked {
background-image: url(data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e);
color: red;
}

.aligncenter {
	text-align: center;
}

.wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 1.6rem;
}

/* .boxed {
  font-weight: 700;
  display: inline-block;
  background: #e06d42;
  color: #fff;
  text-transform: uppercase;
  font-size: 26px;
  line-height: 26px;
  padding: 11px 30px 10px 30px;
  box-shadow: 0px 0px 0px 2px #e06d42;
  border: 3px solid #fff;
  margin-bottom: 24px;
}

h3.boxed,
#comments h3 {
  font-weight: 700;
  display: inline-block;
  background: #e06d42;
  color: #fff;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 18px;
  padding: 11px 22px 10px 22px;
  box-shadow: 0px 0px 0px 2px #e06d42;
  border: 3px solid #fff;
  margin-bottom: 24px;
} */

.page-section {
  margin: 2px 0;
  padding: 14px 0;
}

.page-section:not(:first-child) {
  border-top: 1px solid #e9e9e9;
}

.page-section:not(:last-child) {
  border-bottom: 1px solid #e9e9e9;
}

.hero-wrapper {
	background-color: #1e1f23;
}

.hero {
  width: 100%;
  max-height: 450px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  border-top: 1px solid #33322d;
}

/* .hero.home-hero {
	background-size: initial;
  background-image: url('https://www.eaglequarter.com/wp-content/uploads/2023/09/eagle-quarter-ii-banner-2.png');
} */

.hero.home-hero {
	background-color: #2b2b2d;
	display: flex;
	align-content: center;
	place-items: center;
	flex-direction: column;
	max-height: 382px !important; 
	padding-top: 16px; 
	border-bottom: 0;
}

.hero.home-hero img {
	height: 350px;
	width: 350px;
}

.hero-tagline {
	background-color: #2b2b2d; 
	padding-bottom: 16px; 
	color: #DE4343; 
	text-align: center;
}

.hero-tagline-inner {
	max-width: 700px; 
	margin: auto; 
	margin-top: -8px;
	font-size: 20px;
}

.hero-tagline-inner p:first-child {
	font-size: 34px;
}

.wp-video,
.mejs-container {
	width: 100% !important;
}

.mb {
	margin-bottom: 1rem;
}

.mb-large {
	margin-bottom: 2rem;
}

.mb-xlarge {
	margin-bottom: 4rem;
}

.mt {
	margin-top: 1rem;
}

.mt-large {
	margin-top: 2rem;
}

.mt-xlarge {
	margin-top: 4rem;
}

.valign {
	display: flex;
    flex-direction: column;
	place-content: center;
	align-items: center;
}

.valign ol {
	padding-left: 0;
}

/* ---------------------------------------------------------------------------------------------------------- 
02 Typography -----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------------------------------------- 
03 Header / Navigation ---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

#header .navbar-default {
  background: #0d0c12;
  color: #fff;
}

body #main-navigation {
  border-bottom: 6px solid #faf8df;
}

body.home #main-navigation.navbar {
  margin-bottom: 0;
}

#main-navigation > li.active:after {
  content: "";
  width: 100%;
  height: 6px;
  background: #faf8df;
  position: absolute;
  bottom: 0;
  left: 0;
}

#main-navigation .navbar-nav > li:hover:after {
  content: "";
  width: 100%;
  height: 6px;
  background: #faf8df;
  position: absolute;
  bottom: 0;
  left: 0;
}

#main-navigation .navbar-nav > li > .dropdown-menu {
  text-align: left;
}

.scrolled #main-navigation .navbar-brand img,
#main-navigation .navbar-brand img {
  width: 190px;
  height: 59px;
}

/* ---------------------------------------------------------------------------------------------------------- 
04 Main Content ---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

.c-accordion__item {
} /* The accordion item container */
.c-accordion__item.is-open {
} /* is-open is added to open accordion items */
.c-accordion__item.is-read {
} /* is-read is added to accordion items that have been opened at least once */
.c-accordion__title {
  background: #0d0c12;
  color: #faf8df;
  padding: 24px 30px;
  font-size: 16px;
  margin-bottom: 0;
  margin-top: 8px;
} /* An accordion item title */

.c-accordion__title::after {
  display: none;
} /* An accordion item title */
.c-accordion__title--button {
} /* An accordion item title that is using a `<button>` tag */
.c-accordion__title:hover {
} /* To modify the style when hovering over an accordion item title */
.c-accordion__title:focus {
} /* To modify the style when an accordion item title currently has broswer focus */
.c-accordion__content {
  padding: 18px 30px;
  border: 1px solid #cacaca;
  border-top: 0;
} /* An accordion item content container */

.icons-table img {
  max-width: none;
  margin-right: 20px;
  margin-bottom: 18px;
}

/***
*
* Home Page
*
***/

/* .welcome-text span {
  font-size: 34px;
  margin-right: 18px;
} */

.welcome-text .welcome-socialicons a {
  color: #33322d;
}

.welcome-text .welcome-socialicons a:hover {
  color: #faf8df;
  text-decoration: none;
}

/***
*
* Latest News & Case Studies
*
***/

.post-row {
  margin: 30px 0 15px 0;
}

.post-row .col-md-3:first-child {
  padding-left: 0;
}

.post-row .col-md-3:last-child {
  padding-right: 0;
}

.post-wrapper {
  padding: 14px;
  border: 1px solid #e9e9e9;
  margin-bottom: 30px;
  margin-left: 0;
}

.blogpost-title:hover {
  color: #faf8df;
  text-decoration: none;
}

.blogpost-title h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

.post-content {
  font-size: 12px;
  margin-bottom: 14px;
}

.the_time {
  margin: 15px 0;
}

.btn.back-to-all {
  font-size: 12px;
}

.single-post h2 {
  line-height: 1em;
}

/***
*
* Discussion Pages
*
***/

.discussion-types ul {
  padding-left: 0;
  list-style: none;
}

.discussion-types ul li {
  padding: 6px;
}

.discussion-types ul li:not(:last-child) {
  border-bottom: 1px solid #e9e9e9;
}

.forums #comment-image-wrapper,
.polls #comment-image-wrapper,
.news #comment-image-wrapper,
.audio.clips #comment-image-wrapper,
.videos #comment-image-wrapper,
.image.galleries #comment-image-wrapper,
.polls .leave-comment,
.yop-poll-name,
.yop-poll-question,
.polls #comments,
.polls hr,
.polls .your-comments-header,
.galleries .your-comments-header,
.galleries #comments,
.form-allowed-tags,
.comment-form-comment label,
#comments h2,
.yop_poll_result_link {
  display: none;
}

.comment-form-url {
  display: none;
}

#comments ol {
  list-style: none;
  padding-left: 0;
}

#comments img.avatar {
  max-width: 48px;
  float: left;
  margin-right: 18px;
}

#comments ol li article p {
  margin-top: 12px;
}

#comments ol li:not(:last-child) {
  padding-bottom: 12px;
  border-bottom: 1px solid #e9e9e9;
}

#comments ol li:not(:first-child) {
  padding-top: 12px;
  margin-top: 2px;
  border-top: 1px solid #e9e9e9;
}

.comment-respond {
  border-top: 1px solid #e9e9e9;
}

/***
*
* Planning Timetable
*
***/

.planning-timetable table td:first-child {
  padding-right: 24px;
}

/***
*
* Gallery Page
*
***/

.media-thumbnail {
  margin-top: 14px;
}

.gallery .post-thumbnail span {
  top: 0;
}

.gallery .post-thumbnail a:hover {
  text-decoration: none;
}

.media-icon-container {
  background: #fff;
  border: 1px solid #e9e9e9;
  padding: 12px 0;
}

/***
*
* Questionnaire
*
***/

.dropdown-label {
  margin-left: 14px;
}

body.questionnaire ol li {
  margin-bottom: 3rem;
}

body.questionnaire ol li p:first-child {
  margin-bottom: 0.6rem;
}

/***
*
* The Team
*
***/

.team-images {
  margin-bottom: 12px;
}

.team-images img {
  margin-bottom: 12px;
}

body.the-team .wp-block-columns {
  margin-bottom: 2rem;
}

body.the-team .wp-block-column {
  border: 1px solid #cecccc;
  padding: 1.4rem 1.8rem;
  font-size: 1.8rem;
}

body.the-team .wp-block-column.no-content {
  border: 0;
}

body.the-team .wp-block-column img {
  max-width: 70%;
}

/***
*
* Exhibition
*
***/

.exhibition-boards img {
  margin-bottom: 12px;
}

.exhibition-boards p {
  display: inline-block;
  margin-bottom: 18px;
  margin-right: 18px;
  text-align: center;
}

.panel-default > .panel-heading {
  background: #0d0c12;
  color: #faf8df;
  padding: 24px 30px;
}

.panel-default > .panel-heading a {
  cursor: pointer;
}

/* ---------------------------------------------------------------------------------------------------------- 
05 Sidebars --------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

.quick-links {
  list-style: none;
}

.quick-links li {
  margin-bottom: 8px;
}

.quick-links-icon {
  text-align: center;
  margin-right: 14px;
  position: relative;
  top: 9px;
}

.quick-links-icon span,
.quick-links-icon a,
.quick-links-icon #searchform,
.quick-links-icon .fb-share-button,
.quick-links-icon .fb-like {
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
}

.quick-links-icon span {
  font-size: 34px;
  width: 34px;
  position: relative;
  left: 0px;
  top: 0;
  z-index: 999;
}

.quick-links-icon a,
.quick-links-icon .fb-share-button,
.quick-links-icon .fb-like {
  opacity: 0;
  position: absolute;
  left: 50%;
  color: #33322d;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.8);
}

.quick-links-icon #searchform {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 30%;
}

.quick-links-icon:hover span {
  left: -30%;
}

.quick-links-icon:hover a,
.quick-links-icon:hover #searchform,
.quick-links-icon:hover .fb-share-button,
.quick-links-icon:hover .fb-like {
  opacity: 1;
}

.quick-links-icon #searchsubmit {
  display: none;
}

/* ---------------------------------------------------------------------------------------------------------- 
06 Footer --------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

.footer {
  font-size: 12px;
  width: 100%;
  background: #0d0c12;
  color: #fff;
  border-top: 3px solid #faf8df;
}

.footer-top {
  padding: 36px 0 18px 0;
}

.footer-top img {
  margin-bottom: 18px;
}

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

.footer-top h5 {
  margin-top: 0;
}

.footer-top ul {
  list-style: none;
  font-size: 1.4rem;
  margin-left: 0;
  padding-left: 0;
}

.footer-top ul li:not(:last-child) {
  margin-bottom: 6px;
}

.footer-top span {
  top: 0;
}

.footer-bottom {
  padding: 12px 0;
  background: #000;
  color: #faf8df;
}

.footer-bottom a {
  color: #fff;
  color: #faf8df;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------------------------------------------------------------------------------------------------------- 
07 Plugins / Icon Fonts -------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

/***
*
* YOP Polls
*
***/

.yop-poll-container label {
  font-size: 16px !important;
  padding-left: 14px !important;
}

/***
*
* Contact Form 7
*
***/

.wpcf7-validation-errors {
  border-color: #d9534f !important;
}

/***
*
* Icon Fonts
*
***/

@font-face {
  font-family: "icomoon";
  src: url("fonts/icomoon.eot?-x8di8u");
  src: url("fonts/icomoon.eot?#iefix-x8di8u") format("embedded-opentype"),
    url("fonts/icomoon.woff?-x8di8u") format("woff"),
    url("fonts/icomoon.ttf?-x8di8u") format("truetype"),
    url("fonts/icomoon.svg?-x8di8u#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"],
[class*=" icon-"] {
  font-family: "icomoon";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  font-size: 34px;
  position: relative;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[class^="icon-"]:not(.icon-bar),
[class*=" icon-"]:not(.icon-bar) {
  margin-right: 14px;
}

.icon-thumbs-up:before,
.icon-like:before {
  content: "\e60b";
}
.icon-question-sign:before,
.icon-frequentlyaskedquestions:before {
  content: "\e602";
}
.icon-info-sign:before {
  content: "\e604";
}
.icon-camera:before,
.icon-imagelibrary:before {
  content: "\e605";
}
.icon-file-alt:before,
.icon-planningdocuments:before {
  content: "\e606";
}
.icon-twitter:before,
.icon-tweet:before {
  content: "\e600";
}
.icon-facebook:before,
.icon-share:before {
  content: "\e601";
}
.icon-google-plus:before,
.icon-googleplus:before {
  content: "\e607";
}
.icon-phone:before {
  content: "\e603";
}
.icon-search:before {
  content: "\e608";
}
.icon-pencil:before {
  content: "\e611";
}
.icon-envelope:before {
  content: "\e609";
}
.icon-edit:before {
  content: "\e612";
}
.icon-eye-open:before {
  content: "\e60c";
}
.icon-flag:before,
.icon-sitevisit:before {
  content: "\e60d";
}
.icon-note:before,
.icon-registerforupdates:before {
  content: "\e60a";
}
.icon-picture:before {
  content: "\e60e";
}
.icon-play:before {
  content: "\e60f";
}
.icon-music:before {
  content: "\e610";
}
.icon-brush:before,
.icon-artistsimpressions:before {
  content: "\e613";
}
.icon-book:before {
  content: "\e614";
}

/* ---------------------------------------------------------------------------------------------------------- 
08 Media queries  -------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

@media screen and (min-width: 768px) {
  .page-wrapper {
    padding-bottom: 280px;
  }

  #main-navigation {
    text-align: right;
    margin-bottom: 0;
  }

  .navbar-collapse {
    padding-right: 0px;
    padding-left: 0px;
  }

  .navbar-brand {
    padding: 22px 0;
  }

  .navbar-nav > li {
    margin: 0 8px;
  }

  .scrolled #main-navigation .navbar-nav,
  #main-navigation .navbar-nav {
    padding-top: 28px;
  }

/*   .hero {
    height: 450px;
  } */

  .quick-links {
    padding-left: 0;
    border-left: 1px solid #e9e9e9;
  }

  .quick-links:before {
    content: "";
    width: 1px;
    height: 277px;
    background: #e9e9e9;
    position: absolute;
    left: 12px;
  }

  .discussion-types .col-md-4 {
    padding-left: 18px;
  }

  .quick-links,
  .discussion-types .col-md-4:not(:first-child) {
    border-left: 1px solid #e9e9e9;
  }

  .discussion-types .col-md-4:not(:first-child):before {
    content: "";
    width: 1px;
    height: 100%;
    background: #e9e9e9;
    position: absolute;
    left: 2px;
  }

  .blog .post-thumbnail {
    float: left;
    margin-right: 18px;
  }

  .gallery .post-thumbnail {
    margin-bottom: 14px;
  }
}

@media screen and (min-width: 993px) {
  .footer {
    position: absolute;
    bottom: 0;
  }
}

@media screen and (max-width: 1199px) {
}

@media screen and (min-width: 1199px) {
}

@media screen and (max-width: 992px) {
  .quick-links-sidebar {
    display: none;
  }

  .footer .col-md-6 {
    text-align: center !important;
  }

  .footer .col-md-3:not(:first-child) {
    padding-top: 14px;
  }

  .footer .col-md-3:not(:last-child) {
    padding-bottom: 14px;
    border-bottom: 1px solid #e9e9e9;
  }

  .navbar-toggle {
    position: absolute;
    float: none;
    right: 14px;
  }
}

@media screen and (max-width: 767px) {
	.hero-tagline-inner {
		padding-left: 8px;
		padding-right: 8px;
	}
	.hero-tagline-inner p:first-child {
		font-size: 28px;
	}

  .quick-links-sidebar {
    display: none;
  }

  #main-navigation .navbar-nav > li > .dropdown-menu {
    width: 100%;
    display: none;
  }

  #main-navigation .caret {
    display: none;
  }
}

/* Retina Display
@media screen and (-webkit-min-device-pixel-ratio: 2) {
  .page-wrapper {
    background: url(images/bg-images/brickwall_@2X.png);
  }
} */


