/* -----------------------------------------------------------------  MAIN -- */
.table td, .table th {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}
body{
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #636466;
    font-size: 1em;
    background-image: url(../images/bg-pattern.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
  }
    

h1, h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5em;
}

strong {

}
section{

}
.spacer {
  height: 150px;

}
p {
  line-height: 1.8em;
}
.p-large {
  padding-top: 50px;
  padding-bottom: 50px;
}
.pb-large {
  padding-bottom: 50px;
}
.pt-large {
  padding-top: 50px;
}
.p-testimonials{
  padding: 20px 60px;

}
a{
color: inherit;
text-decoration: none;
}
.bg-coloured{
  background-color: #f2f2ef;
}

.full-width-div-top {
  position: absolute;
  width: 100%;
  left: 0;
  top: -200px;
}

.full-width-div {
  position: absolute;
  width: 100%;
  left: 0;
}

hr {
  margin: 1rem 0;
  color: #79b4be;
  border: 0;
    border-top-width: 0px;
    border-top-style: none;
    border-top-color: #79b4be;
  border-top: var(--bs-border-width) solid;
  opacity: .6;
}
#affinityone hr {
  color: #90c3a0;
  border: 0;
    border-top-width: 0px;
    border-top-style: none;
    border-top-color: #90c3a0;
  border-top: var(--bs-border-width) solid;
}
/* -----------------------------------------------------------------  COLOURS -- */
.table > :not(caption) > * > * {
  color: inherit;
}
th {
  color: #90c3a0;
}
.text-green {
    color: #90c3a0;
}
.bg-green {
    background-color: #e8f3eb;
}
.text-blue {
  color: #79b4be;
}
.bg-blue {
  background-color: #e9f2f4;
}
.text-spec p {
  color: #79b4be;
}
.text-spec-green p{
  color: #90c3a0;
}
.text-spec-blue p{
  color: #79b4be;
}
.bg-pattern02 {
  background-image: url(../images/bg-pattern-bottom02.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: bottom;
}
.bg-pattern03 {
  background-image: url(../images/bg-pattern-bottom03.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: bottom;
}

/* -----------------------------------------------------------------  TYPOGRAPHY -- */
h1, h2, h4{
    text-transform: uppercase;
    font-weight: 300;
    
}
h4 {
  color: #79b4be;
  font-size: 1.3rem;
}
#affinityone h4 {
  color: #90c3a0;
}
ul {
  margin: 0;
}
ul.dashed {
  list-style-type: none;
  padding-left: 0;
}
ul.dashed > li {
  margin-left: 20px;
}
ul.dashed > li:before {
  content: "-";
  margin-left: -16px;
  position: absolute;
}

.btn-group-lg > .btn, .btn-lg {
  --bs-btn-padding-y: 0.5rem;
  --bs-btn-padding-x: 1rem;
  --bs-btn-font-size: 1.25rem;
  --bs-btn-border-radius: 0;
  text-transform: uppercase;
}
.bold {
  font-weight: 600;
}
/* -----------------------------------------------------------------  ANIMATE DRIVE TIMES -- */
.animate img {
	height: 15px;
	width: 50px;
	animation: width 3s linear;
	animation-fill-mode: forwards;
	animation-delay: 0s;
}
@keyframes width {
	0% {
		width: 0%;
		height: 15px;
	}
	100% {
		width: 100%;
		height: 15px;
	}
}
.table > :not(caption) > * > * {
  padding: 0;
}
/* -----------------------------------------------------------------  CARDS -- */

.card{
    border-radius: 0;
    border: 0;
    background-color: transparent;
}
.card-title {
    margin-bottom: 50px;
  }
.card-footer {
    border-top: 0;
    background-color: inherit;
}
/*.image-box{
  max-height: 500px;
  min-height: 400px;
}
*/
.imagebox_item {
  min-height: 400px;
}
.imagebox_img {
  height: 100%;
  width: 100%;
  object-fit: cover;
} 
.imagebox_text{
  width: 100%;
} 


/* -----------------------------------------------------------------  CAROUSEL -- */
.card-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fa-stack.small { font-size: 1em; }
i { vertical-align: middle; }

#herobanner .carousel .carousel-item {
    height: 300px;
    background-color: #005269;
  }
  
  #herobanner .carousel-item .carouselimg {
      object-fit: cover;
      opacity: 0.2;
  }
  .signature {
    width: 230px;
  }

  #herobanner .carousel-caption {
    color: #fff;
    text-align: left;
    position: absolute;
    right: 15%;
    bottom: 0;
    left: 15%;
    padding-top: 0;
    padding-bottom: 0;
}
#slider .card {
  font-size: 22px;
  border-radius: 0;
  border: 0;
  padding-left: 10px;
  padding-right: 10px;
  height: 300px
}
#slider2 .card {
  font-size: 22px;
  border-radius: 0;
  border: 0;
  padding-left: 10px;
  padding-right: 10px;
  height: 200px
}
#carouselplan .carousel-caption {
  color: #000;
  text-align: right;
  position: relative;
  left: 0;
  bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}
#carouselplan .carousel-indicators [data-bs-target] {
  background-color: #79b4be;
}
#affinityone #carouselplan .carousel-indicators [data-bs-target] {
  background-color: #90c3a0;
}
#carouselplan .carousel-indicators {
  bottom: -100px !important;
}
#carouselplan .carousel-control-prev {
  top: 0;
  bottom: -700px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: left;
  width: 15%;
  padding: 0;
  color: #79b4be;
  text-align: center;
  border: 0;
  opacity: .5;
  transition: opacity .15s ease;
}
#affinityone #carouselplan .carousel-control-prev, #affinityone #carouselplan .carousel-control-next {
  color: #90c3a0
}
#carouselplan .carousel-control-next  {
  top: 0;
  right: 0;
  bottom: -700px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: right;
  width: 15%;
  padding: 0;
  color: #79b4be;
  text-align: center;
  border: 0;
  opacity: .5;
  transition: opacity .15s ease;
}
.carousel-inner .carousel-item img, .carousel-inner .carousel-item img {
  display: block;
  line-height: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  }

  #slider .card img {
    display: block;
    line-height: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
#slider .carousel-control-prev{
    position: absolute;
    top: 0;
    bottom: -350px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: left;
    width: 15%;
    padding: 0;
    color: #79b4be;
    text-align: center;
    border: 0;
    opacity: .5;
    transition: opacity .15s ease;
  }


  #slider .carousel-control-next, #slider .carousel-control-next {
    position: absolute;
    top: 0;
    bottom: -350px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: right;
    width: 15%;
    padding: 0;
    color: #79b4be;
    text-align: center;
    border: 0;
    opacity: .5;
    transition: opacity .15s ease;
  }
  #affinityone #slider .carousel-control-next, #slider .carousel-control-next {
    color: #90c3a0;
  }

  #slider .carousel-indicators{
    position: absolute;
    right: 0;
    bottom: -50px;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 1rem;
    margin-left: 15%;
  }
  #slider .carousel-indicators [data-bs-target] {
    background-color: #79b4be;
  }
  #affinityone #slider .carousel-indicators [data-bs-target] {
    background-color: #90c3a0;
  }
.invisible-div {
  min-height: 300px;
}

/* -----------------------------------------------------------------  FOOTER -- */
#enquiries p{
  font-size: 13px;
}
#enquiries a{
  color: inherit;
}
#enquiries ul{
  list-style-type: none;
  font-size: 13px;
  padding: 0;
}

/* -----------------------------------------------------------------  MEDIA QUERIES -- */




/* // Responsive fix for stacking columns */
@media (max-width: 992px) {

   }
   
   /* // Small devices (landscape phones, 576px and up) */
   @media (min-width: 576px) { 
     
   }
   
   /* // Medium devices (tablets, 768px and up) */
   @media (min-width: 768px) {
   

   
   }
   
   /* // Large devices (desktops, 992px and up) */
   @media (min-width: 992px) {
   
    #herobanner .carousel .carousel-item {
        height: 650px;
        background-color: #005269;
      }
      
    .carousel-item .carouselimg {
          height: 100%;
          width: 100%;
  
      }
  .offset-up{
    position
  }
   }
   
   /* // X-Large devices (large desktops, 1200px and up) */
   @media (min-width: 1200px) { 
   

   }
   
   /* // XX-Large devices (larger desktops, 1400px and up) */
   @media (min-width: 1400px) {

   }

   @media (max-width: 767px) {
		#slider .carousel-inner .carousel-item > div {
			display: none;
		}
		#slider .carousel-inner .carousel-item > div:first-child {
			display: block;
		}
	}

	#slider .carousel-inner .carousel-item.active,
	#slider .carousel-inner .carousel-item-next,
	#slider .carousel-inner .carousel-item-prev {
		display: flex;
	}

	/* medium and up screens */
	@media (min-width: 768px) {

		#slider .carousel-inner .carousel-item-end.active,
		#slider .carousel-inner .carousel-item-next {
			transform: translateX(25%);
		}

		#slider .carousel-inner .carousel-item-start.active, 
		#slider .carousel-inner .carousel-item-prev {
			transform: translateX(-25%);
		}
	}

	#slider .carousel-inner .carousel-item-end,
	#slider .carousel-inner .carousel-item-start { 
		transform: translateX(0);
	}


