.scrollpadding{
  scroll-margin-top: 200px;
}

/* Core correction */
.content{ padding: 0px 0px 0px 0px;}
.clearer{padding-bottom:0px;}
#contentcontainer{padding-top:0px;}

.darktext{
color:#08191C;
}
.light{
border:1px solid #ffffff;
background-color:transparent !important;
}
.light:hover, .light:focus{
background-color:#FFAB00 !important;
}

#youarehere{display:none;}

.contactbar{
background-color:#064041;
transform:skew(-15deg);
display:inline-block;
float:right;
padding-right:20px;
font-family:'made_waffle_soft', Verdana, Arial;font-size:1.2em;
}
.menufixed .contactbar{
display:none;
}
.contacttel{
color:#ffffff;
transform:skew(15deg);
padding:0px 15px 2px 15px;
display:inline-block;
}
.contacttel a{
color:#ffffff;
}
.contactbook{
background-color:#13928A;
border-bottom-left-radius:5px;
border-bottom-right-radius:5px;
padding:4px 15px 5px 15px;
display:inline-block;
transform:skew(15deg);
position:relative;
margin-bottom:-5px;
color:#ffffff;
}
.contactbook:hover, .contactbook:focus{
background-color:#FFAB00;

}

#homeslide .flickity-prev-next-button.previous{
display:none;
}

.homeslideoverlay{
background: rgba(7,24,27,0.7);
clip-path: polygon(0 0, 61% 0, 50% 100%, 0% 100%);
height:100%;

  animation-delay: 0.2s;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.homeslide-slide.is-selected .homeslideoverlay{
-webkit-animation-name: slideInLeft;
  animation-name: slideInLeft;
}

@media only screen and ( max-width: 1099px )
        {
        .homeslideoverlay{
clip-path: polygon(0 0, 91% 0, 80% 100%, 0% 100%);
}
        .homeslide-contentinner{
        margin-left:20px;
        }
        .homeslide-content{
width:80%;
}
}
@media only screen and ( max-width: 700px )
        {
.contactbar{display:none;}
}
/* Nav */

#nav>ul>li:first-child{
display:none;
}

#nav>ul>li:nth-child(2){
background-color:#08191C;
}
#nav>ul>li:nth-child(2)::before{
border-right:5px solid #08191C;
border-bottom:19px solid #08191C;
}
#nav>ul>li:nth-child(2)::after{
border-left:5px solid #08191C;
border-top:18px solid #08191C;
}
#nav>ul>li:nth-child(3){
background-color:#064041;
}
#nav>ul>li:nth-child(3)::before{
border-right:5px solid #064041;
border-bottom:19px solid #064041;
}
#nav>ul>li:nth-child(3)::after{
border-left:5px solid #064041;
border-top:18px solid #064041;
}
#nav>ul>li:nth-child(4){
background-color:#009087;
}
#nav>ul>li:nth-child(4)::before{
border-right:5px solid #009087;
border-bottom:19px solid #009087;
}
#nav>ul>li:nth-child(4)::after{
border-left:5px solid #009087;
border-top:18px solid #009087;
}
#nav>ul>li:nth-child(5){
background-color:#FFAB00;
}
#nav>ul>li:nth-child(5)::before{
border-right:5px solid #FFAB00;
border-bottom:19px solid #FFAB00;
}
#nav>ul>li:nth-child(5)::after{
border-left:5px solid #FFAB00;
border-top:18px solid #FFAB00;
}
#nav>ul>li:nth-child(6){
background-color:#F77D0C;
}
#nav>ul>li:nth-child(6)::before{
border-right:5px solid #F77D0C;
border-bottom:19px solid #F77D0C;
}
#nav>ul>li:nth-child(6)::after{
border-left:5px solid #F77D0C;
border-top:18px solid #F77D0C;
}
#nav>ul>li:nth-child(7){
background-color:#D6122C;
}
#nav>ul>li:nth-child(7)::before{
border-right:5px solid #D6122C;
border-bottom:19px solid #D6122C;
}
#nav>ul>li:nth-child(7)::after{
border-left:5px solid #D6122C;
border-top:18px solid #D6122C;
}
@media only screen and ( min-width: 999px )
                {
#nav>ul>li:hover, #nav>ul>li:focus, #nav>ul>li.selected{
margin-top:-10px;
margin-right:2px;
margin-left:8px;
}
}


/* Widgets */

.outerpad{
padding-top:50px;
padding-bottom:50px;
}
.slant{
width:500%;
height:calc(100% + 100px);
background: rgb(15,107,100);
background: linear-gradient(49deg, rgba(15,107,100,0.53) 0%, rgba(15,107,100,0.53) 33%, rgba(35,120,113,0) 33%, rgba(255,255,255,0) 100%);
margin-left:-130%;

margin-top:-50px;
}

.outerarea h1{
color:#ffffff;
}
.outerarea p{
color:#ffffff;
font-size:1.2em;
}
#lowerhr, .pagebuttons{
display:none;
}

.buttonflip {
  text-align: center;
  width: 100%;
perspective: 1000px;

}

.buttonflip-inner {

  position: relative;
  width: 100%;
height:100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.buttonflip:hover .buttonflip-inner {
  transform: rotateY(180deg);
}

.buttonflip-front, .buttonflip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.buttonflip-front {
  border-radius:12px;
  display:flex; justify-content: center;
  align-items: center; flex-wrap:wrap;  align-content:center;
}

.buttonflip-back {
  transform: rotateY(180deg);
  border-radius:12px;
  background-size:cover;
  background-color:#08191C;
}
.buttonflip h5{
font-size:7.4em;
flex: 0 0 100%;
}
.buttonflip p{
font-family:'made_waffle_soft';
margin:0px;
padding:0px;
margin-top:-10px;
flex: 0 0 100%;
}

.gallerybutton a{
text-decoration:none;
}
.gallerybutton a:hover h5{
color:#009087;
}
.gallerybuttonbg{
border-radius:12px;
background-size:100%;
transition: all 0.5s;
}
.gallerybutton a:hover .gallerybuttonbg{
background-size: 120%;
}
.gallerybuttonbg h5{
font-size:3.6em;
}
.gallerybuttoninner{
border-top-right-radius:12px;
border-top-left-radius:12px;
background: rgb(8,8,8);
background: linear-gradient(180deg, rgba(8,8,8,0.5) 0%, rgba(8,8,8,0.5) 40%, rgba(8,8,8,0) 100%);
padding:10px 40px 0px 40px;
color:#ffffff;
}
.buttonslide{
background: rgb(8,8,8);
background: linear-gradient(0deg, rgba(8,8,8,0.8) 0%, rgba(8,8,8,0.8) 80%, rgba(8,8,8,0) 100%);
padding:20px;
margin-top:45%;
}
.buttonslide a:hover h5, .buttonslide a:active h5{
color:#009087;
}
.blockbutton{
padding: 5px 20px 5px 20px;
}
.blockbutton.bglight a.buttonlink{
color:#ffffff;
}

#googlecontainer{
display:flex;
}
#google-overview{
text-align:center;
flex:1 1 312px;
align-self:center;
}
#google-overview a{
text-decoration:none;
}
#google-overview .buttonlink{
display:inline-block;
margin-top:20px;
}
#google-overview .googlelogo{
width:50px;
display:block;
margin-left:auto;
margin-right:auto;
margin-bottom:15px;
}

#google-reviews{
flex:3 3 735px;
}
#google-reviews .review-item-long, #google-reviews .review-item{
width:calc(50% - 15px);
text-align:center;
background-color:#ffffff;
padding:20px;
margin-right:30px;
margin-top:40px;
}
#google-reviews .review-header{
text-align:center;
}
#google-reviews .review-author{
font-weight:bold;
margin:5px 0px 5px 0px;
display:block;
}
#google-reviews .review-picture{
width:65px;
display:block;
margin-left:auto;
margin-right:auto;
margin-top:-55px;
}
#google-reviews .review-date{
display:block;
margin-bottom:10px;
}
#google-reviews .review-text{
max-height:200px; overflow:hidden;
margin-bottom:0px;
color:#333333;
}
#google-reviews .review-text span{
position:absolute;
bottom:0;
}
#google-reviews .next{
display:none;
}
#google-reviews .previous{
margin-left:-45px;
color:#ffffff;
background:none;
width:35px;
height:35px;
}
.rating-stars{
margin:15px 0px 15px 0px;
}
.review-stars ul,
.rating-stars ul {
  display: inline-block;
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.review-stars ul li,
.rating-stars ul li {
  float: left;
  list-style: none !important;
  margin-right: 1px;
  line-height: 1;
}

.review-stars ul li i,
.rating-stars ul li i {
  color: #eb6e00;
  /* Google's Star Orange in Nov 2017 */
  font-size: 1.4em;
  font-style: normal;
}

.review-stars ul li i.inactive,
.rating-stars ul li i.inactive {
  color: #c6c6c6;
}

.review-stars ul li i.half-inactive,
.rating-stars ul li i.half-inactive {
  background: -webkit-linear-gradient(0deg, #eb6e00, #eb6e00 50%, #c6c6c6 0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.star:after {
  content: "\f005";
  font-family: "Font Awesome 6 Pro";  
  font-weight:900;
}

.readmore {
  position: relative;
  max-height: 100px;
  overflow: hidden;
  width:200px;
  border: solid 1px blue;
  padding: 10px;
  margin-bottom: 20px;

  transition:max-height 0.15s ease-out;

}

.review-text.expand{
  max-height: 5000px !important;
  transition:max-height 0.35s ease-in-out;
  overflow:visible!important;
  padding-bottom:20px;
}

.read-more{
  position: absolute;
  bottom: 0;
  right: 0;
  display: block;
  width:100%;
  height: 80px;
  text-align: center;
  color: blue;
  font-weight:bold;
  font-size:16px;
  padding-top:40px;
  background: rgb(7,24,27);
background: linear-gradient(180deg, rgba(7,24,27,0) 0%, rgba(7,24,27,1) 50%, rgba(7,24,27,1) 100%);

  cursor: pointer;
}

.read-more.expand {
  position: relative;
  background-image: none;
}

.read-more:after {
  content: "\2b";  
    font-family: "Font Awesome 6 Pro";
    color: #009087;
}
.read-more.expand:after{
 
  content: "\f068";  
    font-family: "Font Awesome 6 Pro"; 
    color: #009087; 
    
}

.containerright {
  background-position: calc(50% + 32vw), bottom;
  background-size: 60vw, auto;
  background-repeat: no-repeat, repeat-x;
}
@media only screen and ( max-width: 1100px )
        {
        .containerright{
        background-position:calc(50% + 40vw), bottom;
background-size:75vw, auto;
        }	
        }

@media only screen and ( max-width: 900px )
{
        .containerright{
        background-position:calc(50% + 52vw), bottom;
background-size:100vw, auto;
        }

.slant{
margin-left:-100%;
}

#google-reviews .review-item-long{
width:100%;
margin-right:0px;
}
}
@media only screen and ( max-width: 600px )
{
.containerright{ background-image:none !important;
        }
        .containerright .col3{
        width:100% !important;
        
        }
.slant{
margin-left:-40%;
}
#googlecontainer{
flex-wrap:wrap;
}
#google-reviews{
order:1;
margin-bottom:20px;
}
#google-overview{
order:2;
}

}

/* Footer */

#legalfooter{
background-color:#009087;
padding-bottom:20px;
}
.contactinset{
padding-left:35px;
}
.contactinset i{
color:#FFAB00;
font-size:1.1em;
position:absolute;
margin-left:-35px;
padding-top:4px;
}
#spectulise p{
font-size:1.2em;
}
.socialicon{
font-size:1.4em;
flex-grow:1;
margin-top:30px;
}
.socialicon span{
margin-bottom:15px;
}
.socialicon a .fa-circle{
color:#009087;
}
.socialicon a:hover .fa-inverse{
color:#08191C;
}
.booktab{
float:right;
background-color:#009087;
margin-top:-80px;
border-bottom-left-radius:6px;
border-bottom-right-radius:6px;
font-family:'made_waffle_soft', Verdana, Arial;font-size:1.2em;
}
.booktab:hover{
background-color:#FFAB00;
}
.booktab div{
padding:75px 15px 10px 15px;
}
.booktab:hover a{
text-decoration:none !important;
}

@media only screen and ( max-width: 800px )
                {
                .booktab{
                margin-top:-12px;border-radius:6px;
                }
                .booktab div{
padding:10px 15px 10px 15px;

}
                }

#logowhitecontainer.homeoverlay{
margin-bottom:-192px; position:relative; z-index:100;
background-color:transparent;
}
#logowhitecontainer.homeoverlay #logowhite{
background-color:transparent;
}

#logowhitecontainer.herooverlay{
margin-bottom:-192px; position:relative; z-index:100;
background-color:transparent;
}
#logowhitecontainer.herooverlay #logowhite{
background-color:transparent;
}
        @media only screen and ( max-height: 600px ) and (orientation:landscape)
                {
                #logowhitecontainer.homeoverlay{
margin-bottom:-134px; 
}
                }

@media only screen and ( max-width: 600px )
                {
                #logowhitecontainer.homeoverlay #logowhite, #logowhitecontainer.herooverlay #logowhite{
                background-color:#08191C;
                }
                 #logowhitecontainer.homeoverlay, #logowhitecontainer.herooverlay{
margin-bottom:0;
}

                
                }
                @media only screen and ( min-width: 999px )
        {
                #logowhitecontainer.homeoverlay #logowhite.menufixed, #logowhitecontainer.herooverlay #logowhite.menufixed{
background-color:#08191C;
}}

/* Cognito knowledge check */

#compform .cog-label{
text-align:center;
}

#compform .cog-checkable__item{
padding:40px 0px 40px 0px;
background-color:#08191C;
color:#ffffff;
text-align:center;
width:50%;
}
#compform .cog-checkable__item.is-checked{
background-color:#009087;
}
#compform .cog-checkable__item input{
text-align:center;
margin-left:auto;
margin-right:auto;
}
#compform .cog-content{
background-color:#F4F5F6;
padding:30px !important;
}
#compform .cog-content a, #compform .cog-button{
background-color:#009087;
padding:8px 15px 10px 15px;
border-radius:12px;
color:#ffffff;
text-decoration:none;
font-family:'Open Sans', Verdana, Arial;
display:inline-block;
margin-right:10px;
}
#compform .cog-button{
border:0px;
font-size:1em;
}
#compform .cog-page__navigation{
justify-content:center !important;
}

#compform .cog-content a:hover, #compform .cog-button:hover{
background-color:#FFAB00;
}