/* Core CSS */

/*- #E0BE0A -*/

:root {
  --colour1: #E0BE0A;
  --colour2: #CEAD32;
  --colour3: #222222;
}

body
{
    font-family: "Montserrat", Helvetica, Arial, "sans-serif";
    display: grid;
    margin: 0;
}

h1, h2, h3, h4
{
    color: var( --colour1 );
    margin: 0;
    font-weight: 400;
}

p, li
{
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    margin: 0;
    color: #444;
}

b, strong
{
    color: var( --colour1 );
}

a
{
    margin: 0;
    
    text-decoration: none;
    
    color: var( --colour1 );
    transition: ease color .5s;
}

a:hover
{
    curor: pointer;
    color: var( --colour1 );
}

/*
a:visited
{
    color: var( --colour1 );
}
*/

.secondColour
{
	color: var( --colour2 );
}

/* - - - - - - - - - - */ 

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


.workspace
{
    grid-gap: 32px;
}

/* - - - - - - - - - */

.desktop-img
{
    display: none;
}

@media( min-width:768px)
{
    .desktop-img
    {
        display: block;
    }
    
    .mobile-img
    {
        display: none;
    }
}

/* New features */


.feature {
    
    display: grid;
    box-sizing: border-box;
    background-color: #333;
    margin-top: -96px;
    z-index: 3;
    padding: 40px 0;
    border-radius: 30px 0px 30px 0px;
}



@media( max-width: 768px )
{
    .feature
    {
        margin-bottom: 120px;
    }
}


@media( min-width: 768px )
{
    .feature
    {
        margin-top: -32px;
        margin-bottom: 120px;
    }
}

@media( min-width: 1200px )
{
    .feature
    {
        margin-top: -64px;
    }
}

@media( min-width: 1600px )
{
    .feature
    {
        width: 100%;
        margin-top: -128px;
    }
}

.feature-title {
    
    background-color: #fff;
    padding: 12px 10px;
    margin-bottom: -48px;
    z-index: 1;
    width: 75%;
    
}

.feature-title h2 {
    
    margin-left: 5%;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 500;
}

.feature-img {
    
    width: 100%;
    padding: 0px;
}

.feature-txt {
    
    background-color: #fff;
    margin: -40px 30px 0px;
    padding:  20px 20px;
    border-radius: 0px 0px 30px 0px;
}

.feature-txt p {
    font-size: 16px;
    line-height: 28px;
}



.feature-btn {
  background-color: var(--colour1);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: grid;
  font-size: 18px;
  font-weight: 600;
  outline: 0;
  border-radius: 30px 0px 30px 0px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: all .3s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
    margin: 1em 1em;
  text-transform: uppercase;
  margin-bottom: -60px;
  justify-self: center;
    width: 50%;
    height: 58px;
    align-content: center;
}

.feature-btn:before {
  background-color: initial;
  background-image: linear-gradient(#fff 0, rgba(255, 255, 255, 0) 100%);
  border-radius: 125px;
  content: "";
  height: 50%;
  left: 4%;
  opacity: .5;
  position: absolute;
  top: 0;
  transition: all .3s;
  width: 92%;
}

.feature-btn:hover {
  box-shadow: rgba(255, 255, 255, .2) 0 3px 15px inset, rgba(0, 0, 0, .1) 0 3px 5px, rgba(0, 0, 0, .1) 0 10px 13px;
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .feature-btn {
    padding: 8px 27px;;
  }
}

.feature-btn a, .feature-btn h4 {
    color: #fff!important;
    text-align: center;
    justify-self: center;
    
}



/* - */

.centered
{
    display: grid;
    justify-self: center;
    justify-content: center;
}

.centered h1, .centered h2, .centered h3, .centered h4, .centered p, .centered a
{
    justify-self: center;
}

/* - */

.stack
{
    align-self: start;
}

/* - */

.sec
{
    padding: 16px 0;
}

.heading
{
    grid-gap: 8px;
}

.heading h1
{
    color: var( --colour1 );
    font-size: 32px;
}

.heading h3
{
    color: #676767;
    border-top: solid 2px var( --colour1 );
    padding-top: 8px;
}


/* - */


.dark
{
    background-color: #222;
}


/* - */


.btn
{
	display: grid;
    border: solid var(--colour1) 2px;
    justify-self: start;
    padding: 8px 16px;
    font-weight: 400;
	font-size: 14px;
	transition: ease background .5s;
}

.btn:hover
{
    background-color: var(--colour1);
}

.btn h4 {
	text-transform: capitalize;
    color: var(--colour1);
    letter-spacing: 1px;
}

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

.list
{
 display: grid;
 align-content: center;
}
.list p
{
 align-content: center;
 display: grid;
 grid-template-columns: max-content auto;
}
.list p:before
{
 font-family: "Font Awesome 5 Pro";
    font-weight: 300;
 color: #E0BE0A;
 align-self: start;
 content: "\f1b0";
 margin-right: 8px;
 font-size: 16px;
 border-right: solid 2px;
 padding-right: 8px;
}

/* - */



/* - Testimonials - */ 

.testimonial-container
{
	display: grid;
	width: 100%;
	background-image: url('../img/testimonial-bg.jpg');

	background-position: center center;
	background-color: #111;
	background-repeat: no-repeat;
	background-size: cover;
	
	min-height: 400px;
}

@media(min-width: 992px) {
    .testimonial-container {
        background-attachment: fixed;
    }
}

.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: var( --colour2 );
	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;
	border: #fff solid 1px;
	align-self: center;
}

.testimonial-dot:hover
{
	cursor: pointer;
	border-color: #E0BE0A;	
}

.active-testimonial-dot
{
	background-color: var( --colour2 );
	border-color: var( --colour2 );	
	/*border: none;*/
}

/* - */

.contact-page-details
{
	display: none!important;  
}

.contact-page-details p, .contact-page-details a
{
	overflow-wrap: anywhere;
}

@media( min-width: 768px )
{
	.contact-page-details
	{
		display: grid!important;
	}
}


/* - */

hr
{
	width: 80%;
	height: 1px;
	background-color: var( --colour1 );
	border: none;
}

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

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

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

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


/* - Table - */

.w100 
{
	width: 100%;
}

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

thead
{
	background-color: var( --colour1 );
	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;
    color: #fff;
}

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;
}


/* - */

.contact-box
{
    border: solid 1px;
    border-top: none;
    color: #6f6f6f;
}

.contact-box-top
{
    display: grid;
    grid-template-columns: 32px max-content auto;
    grid-gap: 16px;
}

.contact-box-line
{
    border-top: 1px solid;
}

.contact-box-top h2
{
    margin-top: -16px;
}

.contact-box-content
{
    padding: 0px 32px 24px;
}

.anti-overflow {
 overflow-wrap: anywhere;
}

.gatehouse {
  	margin-block-start: 0px;
  	margin-block-end: 0px;
}

.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;
}

@media(max-width: 768px) {
    .roof .workspace .element {
        align-self: left;
        justify-self: left;
    }

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

.mobishow {
    display: none !important;
}

.mobihide {
    display: grid !important;
}

@media (max-width: 768px) {
     .mobishow {
      display: grid!important
      }
     .mobihide {
      display: none!important;
      }
}

.card
{
	padding: 32px;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
	transition : all ease .25s;
	cursor: pointer;
}

.card:hover
{
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

