/* CSS Document */

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


h1, h2, h3, h4
{
font-family: "urbana", sans-serif;
font-weight: 700;
font-style: normal;
    color:#333437;
}

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

b, strong
{
    color: #D8A790;
}

a
{
	text-decoration: none;
	color: #D8A790;
}

.heading
{
	font-weight: 300;
	width: 100%;
	border-bottom: 1px solid #333437;
	padding-bottom: 16px;
}

.secondColour
{
	color: rgb( 45, 49, 49);
}

/* - */

hr
{
	width: 80%;
	height: 1px;
	background-color: rgb( 246, 243, 240);
	border: none;
}

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

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

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

#page-content
{
	display: grid;
    width: 100%;
    grid-gap: 32px;
    padding: 75px 0 75px;
    background-color:#F7F3F0;
}

.workspace
{
	grid-gap: 32px;
}

/* - */

.btn
{
	display: grid;	
	justify-self: start;
	border-radius: 32px;
	margin: 8px;
	background-color: rgb( 246, 243, 240);
	font-weight: 300;
	letter-spacing: 1px;
}

.btn h4
{
	grid-row: 1;
	grid-column: 1;
	z-index: 2;
	border-radius: 32px;
	border: none;
	color: #fff;
	padding: 16px 32px;
	text-align: center;
	font-size: 16px;
	box-shadow: 0 1px 1px rgba(0,0,0,0.05), 0 2px 2px rgba(0,0,0,0.05), 0 4px 4px rgba(0,0,0,0.05), 0 8px 8px rgba(0,0,0,0.05), 0 16px 16px rgba(0,0,0,0.05);
	
	transition: ease .25s;
}

.btn::before
{	
	content: "";
	
	grid-row: 1;
	grid-column: 1;
	z-index: 1;
	background-color: rgb( 45, 49, 49);
	
	width: 0;
	height: 0;
	
	border-radius: 32px;
	border: 0px solid rgb( 45, 49, 49);
	
	transition: ease .25s;
	
	color: #fff;
	
	overflow: hidden;
	
	justify-self: center;
	align-self: center;
}

.btn:hover 
{
	cursor: pointer;
}

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

.btn:hover::before
{
	height: 100%;
	width: 100%;
	border: 2px solid rgb( 45, 49, 49);
}

/* - */

.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-bg2.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( 246, 243, 240);
}

#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: #ead9ca;
}

/* - */



/* - */

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

.contact-icon
{
	grid-row: 1;
	color: #D8A790;
	align-self: center;
	justify-self: start;
	border-right: solid 1px;
	padding-right: 12px;
	font-size: 20px;
}

.contact-items h3
{
	color: #D8A790;
	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: #D8A790;
	background-repeat: no-repeat;
	background-size: cover;
	border-top: 3px solid #734833;
	
	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: #333437;
	justify-self: center;
	font-size: 32px;
}

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

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

.star
{
	color: #333437;
	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: #333437;
	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: #333437 solid 1px;
	align-self: center;
}

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

.active-testimonial-dot
{
	background-color: #333437;	
	border-color: #333437;	
	/*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( 246, 243, 240);
	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;
}

.container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F7F3F0;
}

.button-container {
  position: relative;
        /*margin-left: -334px;*/
    margin-top:26px;

  button {
    color: #ead9ca;
    padding: 10px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    background-color: #333437;
    border: 5px solid #ead9ca;
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
  }
  
  &:hover {
    .dog {
      transform: translate(20px, -55px) rotate(15deg);
      transition-delay: 0.6s;
    }
    
    .paw {
      transition-delay: 0.3s;
      right: -5px;
      
      &::after {
        transition-delay: 0s;
        left: 0;
      }
      
      &.top {
        transition-delay: 0.4s;
        right: 40px;
        top: -8px;
      }
    }
    
    .tail {
      opacity: 1;
      transition-delay: 0.6s;
    }
  }
}

.dog {
  position: absolute;
  width: 65px;
  height: 58px;
  top: -10px;
  right: 1px;
  transform: translate(0, 0) rotate(0);
  transition: 0.3s transform cubic-bezier(0.33, 1, 0.68, 1);
  
  div {
    position: absolute;
  }
  
  .tail {
    width: 10%;
    height: 35%;
    left: -50%;
    bottom: -34%;
    transform: rotate(-25deg);
    transition: 0.1s opacity;
    transition-delay: 0s;
    opacity: 0;
    
    &::after {
      content: '';
      position: absolute;
      transform-origin: bottom center;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border-radius: 50% 50% 0 0;
      background-color: #E1A46E;
      animation: infinite alternate tailSkew .3s cubic-bezier(0.65, 0, 0.35, 1);
    }
  }
  
  @keyframes tailSkew {
    from {
      transform: skewX(15deg);
    }
    
    to {
      transform: skewX(-15deg);
    }
  }

  
  .body {
    width: 70%;
    height: 50%;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #9F6A43;
    border-radius: 50% 50% 0 0;
  }
  
  .head {
    width: 65%;
    height: 70%;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 80% 80% 60% 60%;
    background-color: #E1A46E;
  }
  
  .nuzzle {
    width: 70%;
    height: 40%;
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
    
    &::before,
    &::after {
      content: '';
      width: 50%;
      height: 100%;
      display: inline-block;
      position: absolute;
      top: 0;
      left: 0;
      background-color: #C28E5F;
      border-radius: 70% 30% 50% 20%;
      z-index: 1;
    }
    
    &::after {
      left: auto;
      right: 0;
      transform: scaleX(-1);
    }
  }
  
  .mouth {
    width: 50%;
    height: 90%;
    border-radius: 100%;
    background-color: #111827;
    left: 50%;
    bottom: -20%;
    transform: translateX(-50%);
  }
  
  .tongue {
    width: 50%;
    height: 50%;
    background-color: #ef4444;
    left: 50%;
    transform: translateX(-50%);
    bottom: 5%;
    border-radius: 50%;
    animation: 0.3s alternate tongueBounce infinite cubic-bezier(0.45, 0, 0.55, 1);
  }
  
  @keyframes tongueBounce {
    from {
      bottom: 20%;
    }
    
    to {
      bottom: 15%;
    }
  }
  
  .nose {
    width: 30%;
    height: 20%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 10;
    
    &::before {
      content: '';
      width: 100%;
      height: 60%;
      top: -50%;
      left: 0;
      position: absolute;
      display: inline-block;
      background-color: #1f2937;
      border-radius: $fullyRound $fullyRound 0 0;
    }
    
    &::after {
      content: '';
      width: 100%;
      height: 100%;
      top: 10%;
      left: 0;
      position: absolute;
      display: inline-block;
      background-color: #1f2937;
      border-radius: 0 0 $fullyRound $fullyRound;
    }
    
    .nostrils {
      width: 90%;
      height: 100%;
      top: 0;
      z-index: 1;
      left: 50%;
      transform: translateX(-50%);
      
      &::before {
        content: '';
        display: inline-block;
        width: 30%;
        left: 10%;
        height: 100%;
        position: absolute;
        background-color: #000;
        border-radius: 100%;
      }
      
      &::after {
        content: '';
        display: inline-block;
        width: 30%;
        right: 10%;
        height: 100%;
        position: absolute;
        background-color: #000;
        border-radius: 100%;
      }
    }
    
    
    .highlight {
        top: -50%;
        left: 50%;
        width: 80%;
        height: 30%;
        transform: translateX(-50%);
        background-color: #fff;
        border-radius: $fullyRound $fullyRound 0 0;
        background: linear-gradient(#fff, rgba(255, 255, 255, 0));
        opacity: 0.3;
      }
  }
  
  .eyes {
    width: 80%;
    height: 35%;
    top: 25%;
    transform: translateX(-50%);
    left: 50%;
    
    .left,
    .right {
      border-radius: $fullyRound;
      background-color: #111;
      width: 25%;
      height: 52%;
      top: 50%;
      transform: translateY(-50%);
      
      &::after {
        content: '';
        display: inline-block;
        position: absolute;
        width: 30%;
        height: 30%;
        background-color: #fff;
        opacity: 0.7;
        border-radius: $fullyRound;
        left: 15%;
        top: 15%;
      }
    }
    
    .left {
      left: 15%;
    }
    
    .right {
      right: 15%;
    }
  }
  
  .ears {
    width: 90%;
    height: 90%;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    div {
      width: 30%;
      height: 50%;
      left: 0;
      top: 0;
      background-color: #9F6A43;
      transform: rotate(15deg);
      border-radius: 60% 20% 80% 10%;
      z-index: 1;
    }
    
    div.right {
      transform: rotate(-15deg) scaleX(-1);
      left: auto;
      right: 0;
    }
  }
}

.paw {
  position: absolute;
  right: -20px;
  top: 15px;
  overflow: hidden;
  width: 20px;
  height: 20px;
  transition: .3s right cubic-bezier(0.33, 1, 0.68, 1);
  
  &::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #E1A46E;
    transition: .3s left cubic-bezier(0.33, 1, 0.68, 1);
    transition-delay: .3s;
  }
  
  &.top {
    transform: rotate(-90deg);
    top: -20px;
    right: 40px;
    transition: .3s top cubic-bezier(0.33, 1, 0.68, 1);
  }
}


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

.colorback p {
    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: #444744;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
    padding: 15px;
        height: 640px;

}

.card p {
    color: #fff;
}



.card:hover {
     background-color: #b0a56a;
	transform: scale(1.0)
    
}

.card:hover p {
     color: white;
    
}

.card:hover h1 {
     color: #444744;
    
}

.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: #D8A790;
    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;
}
.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;
    }
}
