/* CSS Document */

body
{		
	font-family: 'Montserrat', sans-serif;
}


h1, h2, h3, h4
{
font-family: "the-seasons", sans-serif;
font-weight: 400;
font-style: normal;
}

p, li
{
	font-weight: 300;
	font-size: 17px;
	line-height: 23px;
	letter-spacing: .5px;
	color: #444;
}

b, strong
{
    color: rgb( 157, 156, 154);
}

a
{
	text-decoration: none;
	color: rgb( 157, 156, 154);
}

.heading
{
	font-weight: 400;
	width: 100%;
	border-bottom: 1px solid rgb( 157, 156, 154);
	padding-bottom: 16px;
}

#page-content
{
	display: grid;
    width: 100%;
    grid-gap: 32px;
    padding: 64px 0 32px;
}

.workspace
{
	grid-gap: 32px;
}

.secondColour
{
	color: rgb( 10, 4, 4);
}

/* - */

#header
{
	background-color:#060000;
	display: grid;	
}

.header-inner
{
	display: grid;
	width: 100%;
	grid-gap: 16px;
	padding-bottom: 32px;
}

@media( min-width:768px)
{
	#header
	{
		
	}
}

@media( min-width:992px)
{
	#header
	{
		grid-template-columns: auto 950px auto;
	}

	.header-inner
	{
		grid-column: 2;
		grid-template-columns: repeat( 3, 33% );
		padding: 32px 0;
		grid-gap: 0;
	}
}

@media( min-width:1200px)
{
	#header
	{
		grid-template-columns: auto 1200px auto;
	}
}

/* - */

.social-container
{
	display: grid;
	justify-self: center;
	align-self: center;
	
	grid-gap: 16px;	
	margin-top:16px;	
}

@media( min-width: 992px)
{
	.social-container
	{
		justify-self: start;		
		margin: 0;
	}
}

.social-container a
{
	grid-row: 1;
}

.social-icon
{
	font-size: 40px;
}

#logo-container
{
	display: grid;
	align-self: center;
	justify-self: center;
}

#logo
{
	max-height: 152px;
	justify-self: center;
}

@media( max-width: 600px )
{
	#logo
	{
		justify-self: center;	
		max-width: 320px;	
	}
	
}

.contact-details
{	
	display: grid;
	justify-content: center;
	grid-gap: 16px;
    align-self: center;
}

@media( min-width: 992px)
{
	.contact-details
	{
		justify-self: end;	
	}
}

/* - */

.contact-details a
{
	display: flex;
	/* grid-row: 1; */
	justify-self: center;
	align-content: center;
	grid-gap: 8px;
}

.contact-details-icon
{
	grid-row: 1;
	align-self: center;
}

.contact-details h4
{
	grid-row: 1;
	align-self: center;
	width: max-content;
}

/* - */





























hr
{
	width: 80%;
	height: 1px;
	background-color: rgb( 157, 156, 154);
	border: none;
}

@media( min-width: 768px )
{
	hr
	{
		width: 750px;
	}
}

@media( min-width: 992px )
{
	hr
	{
		width: 950px;
	}
}

@media( min-width: 1200px )
{
	hr
	{
		width: 1200px;
	}
}

/* - */

.btn
{
	display: grid;	
	justify-self: start;
	
	background-color: rgb( 157, 156, 154);
}

.btn h4
{
	grid-row: 1;
	grid-column: 1;
	z-index: 2;
	
	border: none;
	color: #fff;
	padding: 16px 32px;
	text-align: center;
	font-size: 16px;	
	transition: ease .25s;
}

.btn::before
{	
	content: "";
	
	grid-row: 1;
	grid-column: 1;
	z-index: 1;
	background-color: #111;
	
	width: 0;
	height: 100%;
	
	transition: ease .25s;
	
	color: #fff;
	
	overflow: hidden;
	
	justify-self: end;
	align-self: center;
}

.btn:hover 
{
	cursor: pointer;
}

.btn:hover h4
{
	color: #fff;
}

.btn:hover::before
{
	height: 100%;
	width: 100%;
}

/* - */

.banner {
	display: grid;
}

#banner-image
{
	display: grid;
	grid-row: 1;
	grid-column: 1;
    z-index: 1;
	
    width: 100%;
    height: 128px;
    background-size: cover;
	background-image: url('../img/banner-bg.jpg');
	background-attachment: fixed;
	background-position: center center;
	background-repeat: no-repeat;
}

#banner-overlay
{
	display: grid;
	grid-row: 1;
	grid-column: 1;
    z-index: 2;
	
    width: 100%;
    height: 128px;
    background-size: cover;
    opacity: 0.65;
	
	background-color: rgb( 157, 156, 154);
}

#banner-container
{
	display: grid;
	grid-row: 1;
	grid-column: 1;
	z-index: 3;
	
	width: 100%;
	height: 128px;
	align-content: center;
	justify-content: center;
}

@media ( min-width: 768px )
{
	#banner-image
	{
		height: 256px;
	}
	#banner-overlay
	{
		height: 256px;
	}
	#banner-container
	{
		height: 256px;
	}
}

#banner-container h1
{
	color: #fff;
}

/* - */



/* - */

.contact-items
{
	grid-gap: 20px;
}

.contact-icon
{
	grid-row: 1;
	color: rgb( 157, 156, 154);
	align-self: center;
	justify-self: start;
	border-right: solid 1px;
	padding-right: 12px;
	font-size: 20px;
}

.contact-items h3
{
	color: rgb( 157, 156, 154);
	grid-row: 1;
	margin: 0;
	
	align-self: center;
	justify-self: start;
}

.contact-items p
{
	grid-row: 1;
	margin: 0;
	
	align-self: center;
	justify-self: start;
}

.contact-items .element
{
	align-content: start;
	justify-content: start;
	grid-gap: 16px;
}







/* Testimonials */ 

.testimonial-container
{
	display: grid;
	width: 100%;
	background-image: url('../img/testimonial-bg.jpg');
	background-attachment: fixed;
	background-position: center center;
	background-color: #111;
	background-repeat: no-repeat;
	background-size: cover;
	
	min-height: 400px;
}

.testimonial
{
	display: grid;
	align-self: center;
	justify-self: center;
	
	grid-row: 1;
	grid-column: 1;
	
	grid-gap: 16px;
	
	width: 512px;
	max-width: 80vw;
	
	opacity: 1;
	
	transition: opacity ease .5s;
	
	z-index: 3;
}

.opacity-0
{
	opacity: 0!important;
}

.testimonial h3
{
	color: #fff;
	justify-self: center;
	font-size: 32px;
}

.testimonial p
{
	color: #fff;
	justify-self: center;
	text-align: center;
}

.star-container
{
	display: grid;
	align-content: center;
	justify-content: center;
}

.star
{
	color: rgb( 157, 156, 154);
	grid-row: 1;
}


.testimonial-controls
{
	display: grid;
	z-index: 1;
	grid-row: 2;
	grid-column: 1;
	align-content: center;
	padding: 0 32px;
}

@media( min-width: 992px )
{
	.testimonial-controls
	{
		grid-row: 1;
		grid-column: 1;
	}
}


.testimonial-arrow
{
	color: #fff;
	font-size: 32px;
	grid-row: 1;
	grid-column: 1;
	
	transition: opacity .5s ease;
}

.testimonial-arrow:hover
{
	cursor: pointer;
	opacity: 0.5;
}

.testimonial-left
{
	justify-self: start;
}

.testimonial-right
{
	justify-self: end;
}

.testimonial-dots
{
	display: grid;
	grid-gap: 8px;
	justify-content: center;
	justify-self: center;
	align-self: center;
	z-index: 3;
	
	grid-row: 2;
	grid-column: 1;
}

.testimonial-dot
{
	grid-row: 1;
	width: 8px;
	height: 8px;
	border-radius: 16px;
	background-color: #fff;
	align-self: center;
}

.testimonial-dot:hover
{
	cursor: pointer;
	background-color: rgb( 157, 156, 154);	
}

.active-testimonial-dot
{
	background-color: rgb( 157, 156, 154);	
	/*border: none;*/
}


/* - Table - */

.w100 
{
	width: 100%;
}

.elem-table
{
	border: 1px solid #fff;
	background-color: #fff;
	width: 100%;
	text-align: left;
	border-collapse: collapse;
}

thead
{
	background-color: rgb( 157, 156, 154);
	border-bottom: 2px solid #fff;
}

th
{
	font-size: 14px;
	font-weight: bold;
	color: #FFFFFF;
	border-left: 2px solid #fff;
	text-transform: uppercase;
	letter-spacing: 2px;
	border: solid 1px;
	
	height: 20px;
}

th h1
{
	font-size: 14px;
}

tr:nth-child(2n) {
    background: rgba(222,222,222,0.30);
}


/*** TABLE STYLING ***/

table {
  border: 1px solid #fff;
  background-color: #fff;
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}

table td, table th {
  border: 1px solid #fff;
  padding: 10px 10px;
}

table tbody td {
  font-size: 13px;
}

table thead th:first-child {
  border-left: none;
}

table tfoot td {
  font-size: 14px;
}

table tfoot .links {
  text-align: right;
}

/* Catch-all Centering Class */
.cent{
justify-self:center;
text-align:center;
}




.colorback {
     padding: 30px 0px;
    background-color: #9d9c9a;
    color: white;
}

.imageback {
    padding: 50px 0px;
    background-color: #7592b9;
    background-image: url("../img/wave.png");
    background-repeat: no-repeat;
    background-size: cover;
	opacity: 0.5;
}


.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #9d9c9a;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
    padding: 15px;
	height:550px;
}

.card p {
    color: #060000;
}

.card:hover {
     background-color: #060000;
	transform: scale(1.1)
    
}

.card:hover p {
     color: #fff;
    
}

.card:hover h1 {
     color: #9d9c9a;
    
}

.card-img-top {
    width: 100%;
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}

.zoom {
    transition: transform .2s;
}

.zoom:hover {
  transform: scale(1.2);
}

hr { 
    background: url("../img/hr.png") no-repeat top center;
	
    background-size: contain;
    display: block;
    height: 50px;
    border: 0;
    position: relative;
}
hr:before,
hr:after {
    content: '';
    display: block;
    position: absolute;
    background: #9d9c9a;
    height: 1px;
    top: 22px;
}
hr:before {
    left: 0;
    right: 60%;
    margin-right: 10px;
    margin-left: 70px;
}
hr:after {
    right: 0;
    left: 60%;
    margin-left: 10px;
    margin-right: 70px;
}


.maincontainer
{
    width: 302px;
    height: 299px;
    margin: 10px;
    float: left; /* stack each div horizontally */
}

img
{
   border-radius: 10px;
}

.back h2
{
    position: absolute;
}

.back p
{
    position: absolute;
    top: 50px;
    font-size: 15px;
	margin-top:35px;
	margin-right: 5px;
	margin-left: 5px;
}

.front h2
{
    position: absolute;
    padding: 3px;
    top: 200px;
    color: #fbf6d8;

/*		-webkit-text-stroke: 1px #222;*/

}

/* style the maincontainer class with all child div's of class .front */
.maincontainer > .front
{
    position: absolute;
    transform: perspective(600px) rotateY(0deg);
    
    width: 302px;
    height: 290px;
    
    backface-visibility: hidden; /* cant see the backside elements as theyre turning around */
    transition: transform .5s linear 0s;
}

/* style the maincontainer class with all child div's of class .back */
.maincontainer > .back
{
    position: absolute;
    transform: perspective(600px) rotateY(180deg);
    background: #36390c;
    color: #36390c;
    width: 302px;
    height: 290px;
    border-radius: 10px;
    backface-visibility: hidden; /* cant see the backside elements as theyre turning around */
    transition: transform .5s linear 0s;
	padding: 20px;
}

.maincontainer:hover > .front
{
    transform: perspective(600px) rotateY(-180deg);
}

.maincontainer:hover > .back
{
    transform: perspective(600px) rotateY(0deg);
}


.box {
  border-radius: 10px;
  filter: drop-shadow(0 5px 10px 0 #ffffff);
  width: 400px;
  height: 180px;
  background-color: #ffffff;
  padding: 20px;
  position: relative;
  z-index: 0;
  overflow: hidden;
  transition: 0.6s ease-in;
}

.box::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -15px;
  right: -15px;
  background: #0e245e;
  height:220px;
  width: 25px;
  border-radius: 32px;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 0.25s ease-out;
}

.box:hover::before{
    transition-delay:0.2s ;

  transform: scale(40);
}

.box:hover{
    color: #ffffff;

}

.box p{
    padding: 10px 0;
}


.cloister {
	padding: 0px;
}

.cloister .workspace {
	background-color: #E3E5E4;
}

.cloister .workspace .element {
	text-align: center;
	justify-self: center;
	margin: 5px 20px;
}

.cloister .workspace .outline {
/*	border: 0.2rem solid #0e245e;*/
	transition: box-shadow .3s;
	border-radius: 10px;
}

.cloister .workspace .outline:hover {
  box-shadow: 0 0 11px rgba(33,33,33,.2); 
}

.cloister .workspace .innerline {
	display: grid;
	margin: 20px 0px;
}

.cloister img {
	max-height: 75px;
	max-width: 75px;
}


.roof .workspace .element {
    align-self: center;
    justify-self: center;
}

.roof .workspace .element .element h1, .roof .workspace .element .element h3, .roof .workspace .element .element p {
    justify-self: center;
    text-align: center;
}

.butt{
  align-items: center;
  background-color: #e3e5e4;
  border: 2px solid #0e245e;
  border-radius: 8px;
  box-sizing: border-box;
  color: #111;
  cursor: pointer;
  display: flex;
  font-family: Inter,sans-serif;
  font-size: 16px;
  height: 48px;
  justify-content: center;
  line-height: 24px;
  max-width: 100%;
  padding: 0 25px;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.butt:after {
  background-color: #0e245e;
  border-radius: 8px;
  content: "";
  display: block;
  height: 48px;
  left: 0;
  width: 100%;
  position: absolute;
  top: -2px;
  transform: translate(8px, 8px);
  transition: transform .2s ease-out;
  z-index: -1;
}

.butt:hover:after {
  transform: translate(0, 0);
}

.butt:active {
  background-color: #e3e5e4;
  outline: 0;
}

.butt:hover {
  outline: 0;
}

@media (min-width: 768px) {
  .butt {
    padding: 0 40px;
  }
}


/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
  background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: white;
  display: none;
  overflow: hidden;
}

.accordion:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #777;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}