
html {
  font-size: 18px;
}

body {
  color: #000000;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
a {
  transition: all 0.3s ease;
}

a:hover,
a:focus {
  text-decoration: none;
}

a:focus {
  outline: none;
}

.btn {
  padding: 8px 32px;
}

.btn:hover {
  background-color: #ced4da;
}

.tm-section-pad-top {
  padding-top: 80px;

  margin-bottom: 50px;

}
.tm-section-pad-top-2 {
  padding-top: 80px;

  margin-bottom: 50px;

}

.tm-text-primary {
  color: #3496d8;
}
.tm-text-banner {
  color: #FFFFFF;
  padding-top: 50px;
  text-shadow: 2px 2px 2px #333;
}	

.tm-font-big {
  font-size: 1.25rem;
}

.tm-btn-primary {
  color: white;
  background-color: #3496d8;
  padding: 14px 20px;
  border-radius: 5px;
}

.tm-btn-primary:hover,
.tm-btn-primary:focus {
  color: white;
  background-color: #73c1f6;
}

/* Navbar */




.tm-navbar {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: all 0.3s ease;
}

.tm-navbar.scroll {
  background-color: white;
  border-bottom: 1px solid #e9ecef;
}

.navbar-brand {
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
}

.navbar-brand:hover,
.tm-navbar.scroll .navbar-brand:hover {
  color: #3496d8;
}

.tm-navbar.scroll .navbar-brand {
  color: #000000;
}

.nav-item {
  list-style: none;
}

.tm-nav-link {
  color: white;
}

.tm-navbar.scroll .tm-nav-link {
  color: #000000;
}

.tm-navbar.scroll .tm-nav-link:hover,
.tm-navbar.scroll .tm-nav-link.current,
.tm-nav-link:hover {
  color: #3496d8;
}

.navbar-toggler {
  border: 1px solid white;
  padding-left: 10px;
  padding-right: 10px;
}

.navbar-toggler-icon {
  color: white;
  padding-top: 6px;
}

.tm-navbar.scroll .navbar-toggler {
  border: 1px solid #8f8f8f;
}

.tm-navbar.scroll .navbar-toggler-icon {
  color: #8f8f8f;
}

.img-overide{
	font-size: 1.25rem;
}

/*Landing Banner*/

#hero {
  background-image: url(../img/castle_gate_house_day.jpg.JPG);
  background-repeat: no-repeat;
  height: 100vh;
  min-height: 375px;
  position: relative;
  background-size: cover;
}

@media (min-height: 830px) {
  #hero {
    background-position: center -210px;
  }
}

@media (min-height: 680px) and (max-height: 829px) {
  #hero {
    background-position: center -300px;
  }
   [class*="tm-hero-text-container-inner"] {
    margin-top: -200px !important;
}
}

@media (min-height: 500px) and (max-height: 679px) {
  #hero {
    background-position: center -400px;
  }
   [class*="tm-hero-text-container-inner"] {
    margin-top: -400px !important;
}
[class*="tm-hero-title"] {
    font-size: 2.5rem !important;
    text-shadow: 2px 2px 2px #333 !important;
}
}

@media (max-height: 499px) {
  #hero {
    background-position: center -450px;
  }
  [class*="tm-hero-text-container-inner"] {
    margin-top: -200px !important;
}
}
#faq {
 background-color: #FFFFFF;

}


.tm-hero-text-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.tm-hero-text-container-inner {
  margin-top: -90px;
}

.tm-hero-title {
  font-size: 3.5rem;
  text-shadow: 2px 2px 2px #333;
}

.tm-intro-next {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
}

@media (max-height: 480px) {
  .tm-hero-text-container-inner {
    margin-top: -40px;
  }

  .tm-intro-next {
    bottom: 20px;
  }
}

.tm-down-arrow-link {
  display: block;
  margin-top: 18%;
}

.tm-down-arrow {
  color: #3496d8;
  cursor: pointer;
  background: white;
  border-radius: 50%;
  padding: 10px 22px 8px;
  transition: all 0.3s ease;
}

.tm-down-arrow:hover,
.tm-down-arrow:focus {
  color: white;
  background: #3496d8;
}

/* Abouts us & becoming a mason */

#becomeamason{
	  color: white;
   background-color:#1B1B1B;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 150px;
  position: relative;
 
  padding-top: 80px;
}
.white-text{
	 color: #FFFFFF;
}
.videoResponsive {
	padding-bottom:56.25%;
  height:0;
  position:relative;
	padding-top:30px;
	overflow:hidden;
}
.videoResponsive video{
	position:absolute;
	left:12%;
  top:0;
	width:75%;
	height:75%;
}


.tm-section-title {
  font-size: 2.6rem;
  font-weight: normal;
}

.tm-intro-text {
  font-size: 1.2rem;
  line-height: 1.4;
}

.tm-history-text{
  font-size: 1.2rem;
  line-height: 1.4;
  color: #000000;
padding: 0 10px !important;
}
.tm-history-text-links{
  font-size: 1.2rem;
  line-height: 1.4;
  color: #000000;
padding: 0 10px !important;
text-align: center !important;
color: #0000FF;
}

.tm-icon {
  display: block;
  margin-bottom: 55px;
  color: #3496d8;
}

.banner-colour{
	background-color:#3496d8;
	color: #FFFFFF;
}
.video-padding{
	color: #3496d8;
	padding-top: 20px;
	text-align:center;
}
.ml-10{
	margin-left: 35%;
	display:inline-block;
}

#contact_form{
	background-color: #FFFFFF;
	border: 2px solid #FFFFFF;
  border-radius: 5px;
  padding: 10px;


}


.red{
	color: #fc4154;
}



/* Contact */



#contact {
  color: white;
   background-color:#1B1B1B;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 150px;
  position: relative;
 
  padding-top: 80px;
}
.error {
  color: red;
}
.success {
  color: green;
}
.tm-underline {
  border-top: 2px solid white;
  height: 8px;
  width: 100%;
}

.tm-underline-inner {
  width: 25%;
  height: 8px;
  background: white;
}

.tm-contact-item {
  margin-bottom: 75px;
}

.tm-contact-item-link {
  display: flex;
  align-items: center;
}

.tm-contact-item-link i,
.tm-contact-item-link span {
  color: white;
  transition: all 0.3s ease;
}

.tm-contact-item-link:hover i,
.tm-contact-item-link:hover span {
  color: #3496d8;
}

.tm-input {
  padding: 8px 10px;
  border-radius: 3px;
  border: 1px solid #000000;
  background: transparent;
  color: #000000;
  width:100%;
}

.tm-btn-contact {
  color: white;
  background-color: #3496d8;
  padding: 7px 30px;
  border-radius: 10px;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #000000;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #000000;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #000000;
}

.tm-btn-submit {
  margin-left: 20px;
}


/* Gallery */

/* Lazy Load Styles */
.{
	display: block;
	min-height: 20rem; /* layout hack */
	background: #fff center center no-repeat;
	background-size: cover;
	filter: blur(3px); /* blur the lowres image */
}

.card-image > img {
	display: block;
	width: 100%;
	opacity: 0; /* visually hide the img element */
}

.card-image.is-loaded {
	filter: none; /* remove the blur on fullres image */
	transition: filter 1s;
}




/* Layout Styles */
html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	font-size: 16px;
	font-family: sans-serif;
}

.card-list {
	display: block;
	margin: 1rem auto;
	padding: 0;
	font-size: 0;
	text-align: center;
	list-style: none;
}

.gallery-card {
	display: inline-block;
	width: auto;
	max-width: 50%;
	margin: 1rem;
	font-size: 1rem;
	text-decoration: none;
	overflow: hidden;
	box-shadow: 0 0 3rem -1rem rgba(0,0,0,0.5);
	transition: transform 0.1s ease-in-out, box-shadow 0.1s;
}
.gallery-card img{
	width:40rem;
	height:auto;
}

.gallery-card:hover {
	transform: translateY(-0.5rem) scale(1.0125);
	box-shadow: 0 0.5em 3rem -1rem rgba(0,0,0,0.5);
}

.card-description {
	display: block;
	padding: 1em 0.5em;
	color: #515151;
	text-decoration: none;
}

.card-description > h2 {
	margin: 0 0 0.5em;
}

.card-description > p {
	margin: 0;
}


/* Footer */

#footer{
  color: white;
   background-color:#1B1B1B;

  min-height: 50px; 

}

.tm-footer {

padding-top: 10px;
padding-bottom: 20px;
}

.tm-footer-link {
  color: white;
}

.tm-footer-link:hover,
.tm-footer-link:focus {
  color: #3496d8;
  text-decoration: none;
}


p {
  line-height: 1.9;
}




/* FAQ */

.footer-text {
  color: white;
  font-size: 1.4rem;

}

.faq-section {
    background: #fdfdfd;
    min-height: 100vh;
    padding: 15vh 0 0;
}
.faq-title h2 {
	color:#000000;
  position: relative;
  margin-bottom: 15px;
  display: inline-block;
  font-weight: 600;
  line-height: 1;
  margin-top:45px;
}

.faq-title p {
  padding: 0 190px;
  margin-bottom: 10px;
  text-align: justify;
}

.faq {
  background: #FFFFFF;
  box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.06);
  border-radius: 4px;
}

.faq .card {
  border: none;
  background: none;
  border-bottom: 1px dashed #CEE1F8;
}

.faq .card .card-header {
  padding: 0px;
  border: none;
  background: none;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.faq .card .card-header:hover {
    background: rgba(52, 150, 216, 0.1);
    padding-left: 10px;
}
.faq .card .card-header .faq-title {
  width: 100%;
  text-align: left;
  padding: 0px;
  padding-left: 30px;
  padding-right: 30px;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 1px;
  color: #3B566E;
  text-decoration: none !important;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  cursor: pointer;
  padding-top: 20px;
  padding-bottom: 20px;
}

.faq .card .card-header .faq-title .badge {
  display: inline-block;
  width: 25px;
  height: 20px;
  line-height: 14px;
  float: left;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;
  text-align: center;
  background: #3496d8;
  color: #fff;
  font-size: 12px;
  margin-right: 20px;
}

.faq .card .card-body {
  padding: 30px;
  padding-left: 35px;
  padding-bottom: 16px;
  font-weight: 400;
  font-size: 16px;
  color: #6F8BA4;
  line-height: 28px;
  letter-spacing: 1px;
  border-top: 1px solid #F3F8FF;
}

.faq .card .card-body p {
  margin-bottom: 14px;
}

@media (max-width: 991px) {
  .faq {
    margin-bottom: 30px;
  }
  .faq .card .card-header .faq-title {
    line-height: 26px;
    margin-top: 10px;
  }
}


/* Blog */



.list-wrapper {
	padding: 15px;
	overflow: hidden;
}

.list-item {
	border: 1px solid #EEE;
	background: #FFF;
	margin-bottom: 10px;
	padding: 10px;
	box-shadow: 0px 0px 10px 0px #EEE;
}

.list-item h2 {
	color: #3496d8;
	font-size: 25px;
	margin: 0 0 5px;	
}

.list-item p {
	margin: 0;
	font-size:18px;
	color:#6F8BA4;
}

.simple-pagination ul {
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	text-align: center;
}

.simple-pagination li {
	display: inline-block;
	margin-right: 5px;
}

.simple-pagination li a,
.simple-pagination li span {
	color: #666;
	padding: 5px 10px;
	text-decoration: none;
	border: 1px solid #EEE;
	background-color: #FFF;
	box-shadow: 0px 0px 10px 0px #EEE;
}

.simple-pagination .current {
	color: #FFF;
	background-color: #3496d8;
	border-color: #3496d8;
}

.simple-pagination .prev.current,
.simple-pagination .next.current {
	background: #3496d8;
}

/* Blog Post */
.post-section {
    background: #fdfdfd;
    min-height: 80vh;
    padding: 15vh 0 0;
}
.post-background {
	border: 1px solid #EEE;
	background: #FFF;
	margin-bottom: 10px;
	padding: 20px;
	box-shadow: 0px 0px 10px 0px #EEE;
	width:75%;
	margin-left: 12.5%;
}
.post-background h2 {
		color: #3496d8;
	font-size: 30px;
	margin: 0 0 5px;
	text-align: center;
	padding:25px;
}

.post-background h3 {
		color: #e1e3e5;
	font-size: 15px;
	margin: 0 0 5px;
	text-align: center;
	padding:25px;
}

.post-background p {
		color: #000000;
	font-size: 100%;
	margin: 5px;
	padding-bottom:15px;
	text-align: justify;
}


.post-title-underline{
	display: block;
width: 25px;
height: 2px;
margin-top: 20px;
margin-bottom: 20px;
margin-right: auto;
margin-left: auto;
background-color: #000000;
}

.post-card-list {
	display: block;
	margin: 1rem auto;
	padding: 0;
	font-size: 0;
	text-align: center;
	list-style: none;
}

.post-card {
	display: inline-block;
	width: auto;
	max-width: 50%;
	margin: 1rem;
	font-size: 1rem;
	text-decoration: none;
	overflow: hidden;
	box-shadow: 0 0 3rem -1rem rgba(0,0,0,0.5);
	transition: transform 0.1s ease-in-out, box-shadow 0.1s;
}
.post-card-img{
	width:100%;
	height:auto;
}

.post-card:hover {
	transform: translateY(-0.5rem) scale(1.0125);
	box-shadow: 0 0.5em 3rem -1rem rgba(0,0,0,0.5);
}

.post-card-description {
	display: block;
	padding: 1em 0.5em;
	color: #515151;
	text-decoration: none;
}

.post-card-description > h2 {
	margin: 0 0 0.5em;
}

.post-card-description > p {
	margin: 0;
}

.buy-button-text{
  font-size: 1.2rem;
  line-height: 1.4;
}

.buy-button-primary{
  color: white;
  background-color: #FF0000;
  padding: 14px 20px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  height: auto;
  width: auto;
}

.buy-button-container{
  color: white;
  display: flex;
  justify-content: center;
  width: auto;
  height: auto;
}

@media only screen and (max-width: 829px) {



[class*="post-card"] {
	max-width: 100%;
}
[class*="post-card-img"]{
	max-width:100%;
	height:auto;
}
[class*="post-background"]{
	width:95%;
	margin-left: 2.5%;
}


}


/* Social Media */





@media (min-width: 1300px) {
  .container {
    max-width: 100%;
  }

  .tm-container-gallery {
    max-width: 1290px;
	z-index: 100;
  }

  .tm-container-contact {
    max-width: 1063px;
  }
  .diary-central{

  margin: auto;

  width: 33%;


  padding: 25px;
}

}




@media (max-width: 1300px) {
  .tm-btn-submit {
    display: block;
    margin-left: 0;
    margin-top: 20px;
  }
}





