/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  --toggler-line-size: calc(30px / (3 + 3 - 1));
  --primary-color:#C13169;
  --secondary-color:#DE7D51;
  --primary-font:'Montserrat', sans-serif;
  --secondary-font:'Georgia', serif;
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  text-align: left;
  font-family: var(--primary-font);
}

.preload * {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
}

.preload .hide-preload {display:none; }

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

.contact-us textarea {
  resize: vertical;
}

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}


/* ==========================================================================
   Theme Styles
   ========================================================================== */

/* Base Styles */
body {
  font-size:1.15rem;
}

main {
  margin:100px 0 150px 0;
  display: inline-block;
  width: 100%;
}

article#full-width {
	width: 100%;
    padding: 0;
    text-align: center;
}

p {
  margin:1em 0;
  color:000;
  font-family:var(--primary-font);
}

a {
  color:var(--secondary-color);
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family:var(--primary-font);
  margin:5px 0;
}

h1 {
  font-size:2.8rem;
}

h2 {
  font-size:2.5rem;
}

h3 {
  font-size:2rem;
}

h4 {
  font-size:1.8rem;
}

h5 {
  font-size:1.4rem;
}

h6 {
  font-size:1.2rem;
}

ul, ol {
  margin:1em;
  padding: 1em;
  font-family:var(--primary-font);
}

ul li, ol li {}

blockquote {
  font-family:var(--primary-font);
}

.wrapper {
  width: 95%;
  max-width: 1300px;
  margin: 0 auto;
}

.button {
  background:var(--secondary-color);
  color:#fff;
  text-decoration: none;
  font-weight: 600;
  border-radius:5px;
  padding: 12px 25px;
  display: inline-block;
  border:3px solid transparent;
  transition: all 0.3s ease-in-out;
}

.button:hover {
  border:3px solid var(--secondary-color);
  background:transparent;
  color:var(--secondary-color);
}

.button-white {
  background:#fff;
  color:#222;
  text-decoration: none;
  font-weight: 600;
  border-radius:5px;
  padding: 12px 25px;
  display: inline-block;
  border:3px solid transparent;
  transition: all 0.3s ease-in-out;
  white-space: nowrap;
}

.button-white:hover {
  border:3px solid #fff;
  background:transparent;
  color:#fff;
}

/* Base Styles - small screens */
@media only screen and (max-width: 550px) {
  main {
    margin:50px 0;
  }
}

/* Header */
#main_header {
  position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    transition: all 0.3s ease;
}

#main_header:before {
  position: absolute;
  height:100%;
  width:100%;
  background-color:var(--primary-color);
  content:'';
  transition: all 0.3s ease;
}

.transparent-menu #main_header:before {
  opacity: 0.4;
}
 
#main_header.activescroll:before {
  opacity: 0.9;
}

#main_header.activescroll .branding {
  max-width: 100px;
  transition: all 0.3s ease;
}

#main_header.activescroll .wrapper {
  padding: 10px 0;
}

#main_header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 20px 0;
  transition: all 0.3s ease;
}

#main_header .branding {
  max-width:180px;
  transition: all 0.3s ease;
}

#main_header .branding img {
  width:100%;
  height:auto;
}

/* Navigation - Desktop */
@media only screen and (min-width: 1201px) {
  #menuToggler {
    display: none;
  }

ul#menubar {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding:0;
  list-style:none;
}

ul#menubar li {
  position: relative;
  margin:0 10px;
}

ul#menubar li a {
  text-decoration: none;
  text-transform: uppercase;
  color:#fff;
  font-weight: 600;
  font-size: 1rem;
  padding:0 7px;
  transition: all 0.3s ease-in-out; 
}

ul#menubar li a:hover {
  color:var(--secondary-color);
}

ul#menubar li.has-child a {
    position: relative;
  }

ul#menubar li.has-child a.menu__link:after {
      position: absolute;
      top: auto;
      right: -0.4em;
      bottom: auto;
      left: auto;
      color: #fff;
      content: "\25BE";
  }

ul#menubar li.has-child ul.sub-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    margin:0 0 0 10px;
    padding:5px 0;
    left: 0;
    list-style: none;
    background:#fff;
    transition: all 0.3s ease-in-out;
  }

ul#menubar li.has-child:hover ul.sub-menu {
    display: block;
    visibility: visible;
    opacity: 1;
  }

ul#menubar li.has-child .fas {
    display: none;
  }

ul#menubar ul.sub-menu li {
    margin:0;
  }

ul#menubar ul.sub-menu li a {
  white-space: nowrap;
  color:var(--primary-color);
  padding: 5px 10px;
    display: inline-block;
}

ul#menubar ul.sub-menu li a:hover {
  color:var(--secondary-color);
}
}

/* Navigation - Touch Screen */
@media only screen and (max-width: 1200px) {
  .sidebar,
  .content {
    transition: all 0.3s ease-in-out; 
  }

  .sidebar {
    width: 100%;
    transform: translateX(calc(100% * -1));
    background: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
    display: flex;
    justify-content: center;
    align-items: normal;
    position: fixed;
    top: 0;
    left:0;
    height: 100vh;
    opacity: 0.5;
  }

  .content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .menu {
    list-style-type: none;
  }

  .menu__link {
    color: white;
    font-weight: 100;
    text-decoration: none;
    font-size: 2rem;
    transition: all 0.3s ease-in-out; 
  }
  .menu__link:hover, .menu__link:focus, .menu__link:active {
  }

  .menu-toggler {
    border-radius: calc(var(--toggler-line-size) / 2);
    display: block;
    width: 40px;
    height: 30px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 1;
  }

  .menu-toggler__line {
    height: var(--toggler-line-size);
    background: #fff;
    position: absolute;
    border-radius: calc(var(--toggler-line-size) / 2);
    left: 0;
    right: 0;
    transition: all 0.3s ease-in-out; 
  }
  .menu-toggler__line:nth-child(1) {
    top: calc( var(--toggler-line-size) * 1 + (var(--toggler-line-size) * (1 - 2)) );
  }
  .menu-toggler__line:nth-child(2) {
    top: calc( var(--toggler-line-size) * 2 + (var(--toggler-line-size) * (2 - 2)) );
  }
  .menu-toggler__line:nth-child(3) {
    top: calc( var(--toggler-line-size) * 3 + (var(--toggler-line-size) * (3 - 2)) );
  }

  .input-toggler {
    position: absolute;
    left: -100%;
  }
  .input-toggler:focus ~ .menu-toggler {
    outline: 1px dotted;
  }
  .input-toggler:checked ~ .menu-toggler .menu-toggler__line:not(:first-child):not(:last-child) {
    opacity: 0;
  }
  .input-toggler:checked ~ .menu-toggler .menu-toggler__line:first-child,
  .input-toggler:checked ~ .menu-toggler .menu-toggler__line:last-child {
    background-color: #fff;
  }
  .input-toggler:checked ~ .menu-toggler .menu-toggler__line:first-child {
    transform: translateY(calc(var(--toggler-line-size) * (3 - 1))) rotate(45deg);
  }
  .input-toggler:checked ~ .menu-toggler .menu-toggler__line:last-child {
    transform: translateY(calc(-1 * var(--toggler-line-size) * (3 - 1))) rotate(-45deg);
  }
  .input-toggler:checked ~ .sidebar {
    transform: translateX(0);
    opacity: 0.98;
  }

  .sb-link {
    display: flex;
    height: 50px;
    align-content: center;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #bb5555;
    transition: background 0.3s;
  }

  .sb-link:hover,
  .sb-link:focus,
  .sb-link:active {
    background: #f7f7f7;
  }

  ul#menubar {}

  ul#menubar li {
    position: relative;
    margin: 15px 0;
  }

  ul#menubar li a {}

  ul#menubar li ul {
  }

  ul#menubar li.has-child .link-dropdown {
    position: absolute;
    width: 100%;
    height: 50px;
    z-index: 10;
    top: 0;
  }

  ul#menubar li.has-child .fas {
    display: inline-block;
    transition: all 0.3s ease-in-out; 
    color:#fff;
    float: right;
    margin-right: 50px;
    margin-top: 15px;
  }

  ul#menubar li.has-child a.menu__link:after {
    content: none;
  }

  ul#menubar li.has-child .rotate {
    -ms-transform:rotate(90deg);     /* Internet Explorer 9 */
      -webkit-transform:rotate(90deg); /* Chrome, Safari, Opera */
      transform:rotate(90deg); 
       
  }

  ul#menubar li.has-child ul.sub-menu {
    transition: all 0.4s;
      max-height: 0;
      display: block;
      overflow: hidden;
      opacity: 1;
      margin: 0 0 0 20px;
      padding: 0;
  }

  ul#menubar li.has-child ul.sub-menu.active {
      max-height: 500px;
      opacity: 1;
      overflow: auto;
      position: relative;
  }

  ul#menubar li.has-child ul.sub-menu li {}

  ul#menubar li.has-child ul.sub-menu li a {
    color:#fff;
    text-decoration: none;
    font-size: 1.8rem;
  }
}

/* Navigation - Mobile screen */
@media only screen and (max-width: 550px) {
  #main_header .branding {
    max-width: 120px;
  }

  #main_header .wrapper {
    padding:10px 0;
  }

  .menu-toggler {
    right:0;
  }
}

/* Page Title */
#hero {
  width: 100%;
  background-color:var(--primary-color);
  position: relative;
  background-position: center;
  background-size: cover;
}

#hero h1 {
  text-align: center;
  color:#fff;
  margin: 0;
  padding: 250px 0 50px 0;
  text-transform: uppercase;
  line-height: 1;
}

/* Main Text Area */
main article {
  width: 65%;
  float: left;
  padding-right: 10%;
}

main aside {
  width: 35%;
  float: right;
}

main aside img {
  width: 100%;
}

/* Main Text Area - Small screen */
@media only screen and (max-width: 880px) {
  main article {
  width: 100%;
  padding-right: 0;
}

main aside {
  width: 100%;
  margin-top:30px;
}
}

@media only screen and (max-width: 550px) {
  main article {
    text-align: center;
  }
}

/* Homepage - Carousel Styles */
#hero .carousel-nav {
  position: absolute;
    z-index: 5;
    bottom: -20px;
    left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%)
}

#hero .carousel-nav .slick-arrow {
    color: #fff;
    cursor: pointer;
    opacity: 0.9;
    transition: all 0.3s ease-in-out;
    float: left;
    border-radius: 25px;
    background: var(--secondary-color);
    height: 50px;
    width: 50px;
    position: relative;
}

#hero .carousel-nav .slick-arrow:hover {
  opacity: 1;
}

#hero .carousel-nav .slick-arrow .fas {
      position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
}

.carousel .container {
  height:700px;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.carousel .container .inner {
      position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translatex(-50%);
}

.carousel .container .textbox {
  position: relative;
  width: 400px;
    margin: 0 auto;
    padding: 30px;
}

.carousel .container .textbox:before {
      position: absolute;
    height: 100%;
    width: 100%;
    background-color: var(--primary-color);
    content: '';
    opacity: 0.6;
    left:0;
    top:0;
    z-index: -1;
}

.carousel .container .button-white {
  position: relative;
    top: -30px;
}

#hero .carousel .container .textbox h1 {
  padding:0;
}

.carousel .container .textbox p {
  color:#fff;
}

/* Homepage:Carousel - Small screen */
@media only screen and (max-width: 750px) {
  .carousel .container {
    height:550px;
  }

  .carousel .container .inner {
    width:90%;
  }

  .carousel .container .textbox {
    width: 100%;
  }
}

/* Homepage:Carousel - Small screen */
@media only screen and (max-width: 550px) {
  #hero .carousel .container .textbox h1 {
    font-size:1.8rem;
  }

  .carousel .container .textbox p {
    font-size: 1rem;
  }
}

/* Homepage - Intro Styles */
article#intro h2 {
  text-transform: uppercase;
  font-weight: 300;
  line-height: 1.1;
}

article#intro .button {
  margin-top:20px;
}

aside#front-intro h3 {
  text-transform: uppercase;
  margin:40px 0 0 0;
}

aside#front-intro h3:first-of-type {
	margin:0;
}

aside#front-intro p {
  margin:0.7em 0;
}

aside#front-intro a {
  font-weight:600;
}

/* Homepage:Intro - Small screen */
@media only screen and (max-width: 880px) {
  article#intro {
    text-align: center;
  }

  aside#front-intro {
    text-align: center;
  }
}

/* Homepage - Listings Styles */
#listings {
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
  padding:150px 0;
}

#listings:before {
  position: absolute;
  height:100%;
  width: 100%;
  background-color: var(--primary-color);
    content: '';
    opacity: 0.5;
    left: 0;
    top: 0;
    z-index: -1;
}

#listings .wrapper {
  display: flex;
  justify-content: space-between;
}

#listings .box {
  position: relative;
  width: 45%;
  padding: 50px;
}

#listings .box:before {
  position: absolute;
  height:100%;
  width: 100%;
  background-color: var(--primary-color);
    content: '';
    opacity: 0.5;
    left: 0;
    top: 0;
    z-index: -1;
}

#listings .box h4 {
  color:#fff;
  text-transform: uppercase;
  text-align: center;
}

#listings .box ul {
  list-style: none;
  margin:20px 0 90px 0;
  padding:0;
}

#listings .box ul li {
  color:#fff;
  font-size: 1rem;
  overflow: hidden;
	margin-bottom: 15px;
}

#listings .box ul li a {
  color:#fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  width:56%;
  margin-right:2%;
  float:left;
  display: inline-block;
}

#listings .box.two ul li a {
  width:91%;
}

#listings .box ul li a:hover {
  color:var(--secondary-color);
}

#listings .box ul li .date {
	width: 35%;
	float: left;
	display: inline-block;
}

#listings .box ul li .fas {
	float: left;
	display: inline-block;
	text-align: right;
	width: 7%;
}

#listings .box .button-white {
  position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translatex(-50%);
}

/* Homepage:Listings - Small screen */
@media only screen and (max-width: 920px) {
	#listings .wrapper {
	  flex-direction: column;
	}

	#listings .box {
		width: 100%;
		margin: 20px 0;
		padding: 30px;
	}
}

/* Homepage:Listings - Mobile screen */
@media only screen and (max-width: 550px) {
	#listings {
		padding:50px 0;
	}

	#listings .box ul {
		margin:20px 0 120px 0;
	}

	#listings .box ul li {
		position: relative;
	}

	#listings .box ul li a {
		width: 90%;
	}

	#listings .box ul li .date {
		width: 100%;
	}

	#listings .box ul li .fas {
		position: absolute;
		top:0;
		right:0;
	}
}

/* Homepage - Advert with image Styles */
#advert-image {
	margin:150px 0;
}

#advert-image .wrapper {
	display: flex;
    align-items: center;
}

#advert-image .content {
	float:left;
	width:60%;
	position: relative;
	background:var(--secondary-color);
	padding:100px 150px 100px 70px;
	color:#fff;
}

#advert-image .content h4 {
	text-transform: uppercase;
	font-weight: 300;
}

#advert-image .content p {
	margin-bottom:50px;
}

#advert-image .content p a {
	color:#fff;
}

#advert-image .image {
	width: 50%;
    height: 550px;
    margin-left: -70px;
    z-index: 5;
    background-position: center;
    background-size: cover;
}

/* Homepage:Advert with image - Small screen */
@media only screen and (max-width: 920px) {
	#advert-image .wrapper {
		flex-direction: column;
	}

	#advert-image .content {
		padding:50px;
		width: 100%;
		text-align: center;
	}

	#advert-image .image {
		width: 100%;
		margin:0;
		height:350px;
	}
}

/* Homepage:Advert with image - Mobile screen */
@media only screen and (max-width: 550px) {
	#advert-image {
		margin:70px 0;
	}

	#advert-image .content {
		padding:30px;
	}

	#advert-image .image {
		height:250px;
	}
}

/* Highlight Styles */
#highlights {
  padding:0 0 150px 0;
  display: inline-block;
  width:100%;
}

#highlights .eight {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px 20px;
  grid-template-areas:
    ". . . ."
    ". . . .";
}

#highlights .six {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px 20px;
  grid-template-areas:
    ". . ."
    ". . .";
}

#highlights .four {
  display: flex;
  justify-content: space-between;
}

#highlights .four a {
        width: 24%;
}

#highlights .three {
  display: flex;
  justify-content: space-between;
}

#highlights .three a {
        width: 32%;
}

#highlights a {
  background-size:cover;
  background-position: center;
  display: block;
  position: relative;
  height:350px;
}

#highlights a:before {
  position: absolute;
    height: 100%;
    width: 100%;
    background-color: #000;
    content: '';
    opacity: 0.3;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

#highlights a:hover:before {
    background-color: var(--primary-color);
  }

#highlights a .text {
    position: absolute;
    z-index: 2;
    color: white;
    bottom: 20px;
    padding: 20px;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

#highlights a:hover .text {
  bottom: 60px;
  text-align: center;
}

#highlights a .text h3 {
  font-size: 1.6rem;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 15px 0;
}

#highlights a .text p {
  margin:0;
  font-size: 1rem;
}

/* Highlights - Small screen */
@media only screen and (max-width: 880px) {
  #highlights .eight {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    grid-template-areas:
      ". ."
      ". ."
      ". ."
      ". .";
  }
  #highlights .six {
         grid-template-columns: 1fr 1fr;
         grid-template-rows: 1fr 1fr 1fr;
         grid-template-areas:
           ". ."
           ". ."
           ". .";
       }
 
   #highlights .four {
       flex-wrap: wrap;
   }
 
   #highlights .four a {
               width: 49%;
               margin-bottom: 20px;
  }
}

/* Highlights - Mobile screen */
@media only screen and (max-width: 550px) {
  #highlights .wrapper {
    display: block;
  }

  #highlights .four a {
		width: 100%;
		margin-bottom:10px;
	}

  #highlights .three a {
		width: 100%;
		margin-bottom:10px;
	}


  #highlights a {
    margin-bottom:10px;
    height: 200px;
  }

  #highlights a .text {
    position: absolute;
    z-index: 2;
    color: white;
    bottom: 10px;
    padding: 20px;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

  #highlights a:hover .text {
    bottom: 40px;
    text-align: center;
  }

  #highlights {
    padding: 50px 0;
  }
}

/* Side Highlight Styles */
aside#highlights {
	width:35%;
	padding:0;
}

aside#highlights a {
	height:auto;
	text-decoration: none;
	margin:10px 0;
}

aside#highlights a .text {
	position: relative;
	bottom: 0;
	padding: 30px;
}

aside#highlights a:hover .text {
	bottom: 0;
}

/* Highlights - Small screen */
@media only screen and (max-width: 880px) {
	aside#highlights {
		width:100%;
	}
}

/* Contact Form Styles */
.contact-us form {
	width:50%;
	display: inline-block;
}

.contact-us form input {
	width: 100%;
	margin: 0 0 30px 0;
    padding: 0px 0px 10px 0;
    border:none;
    border-bottom:2px solid var(--secondary-color);
}

.contact-us form textarea {
	width:100%;
	margin: 0 0 20px 0;
    padding: 0px 0px 10px 0;
    border:none;
    border-bottom:2px solid var(--secondary-color);
}

/* Contact Form Styles - Small screen */
@media only screen and (max-width: 880px) {
	.contact-us form {
		width:80%;
	}
}

/* Team page Styles */
.team {
	display: flex;
	margin-bottom: 70px;
}

.team .image {
	background-image: url(../img/bg-image.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    height: 300px;
    flex: 1 1 0;
    margin-right:50px;
}

.team .image .text {
	position: absolute;
    z-index: 2;
    color: white;
    width: 100%;
    bottom: 0px;
    padding: 15px;
}

.team .image .text:before {
	position: absolute;
	height: 100%;
	width: 100%;
	content: '';
	background-color:var(--primary-color);
	opacity:0.4;
	z-index:-1;
    left: 0;
    bottom: 0;
}

.team .image .text h2 {
	font-size: 1.4rem;
	text-transform: uppercase;
	margin:0;
	line-height: 1.1;
}

.team .image .text p {
	margin:0;
}

.team .bio {
	flex: 3 1 0;
	text-align: left;
}

.team .bio p:first-of-type {
	margin-top:0;
}

.team .bio .contact {
	margin-right: 50px;
}

.team .bio strong {
	color:var(--secondary-color);
}

.team .bio .contact a {
	color: #222;
	text-decoration: none;
}

.team .bio .contact a:hover {
	color:var(--secondary-color);
}

/* Team page - Small screen */
@media only screen and (max-width: 880px) {
	.team .bio {
		flex: 1 1 0;
	}
}

@media only screen and (max-width: 620px) {
	.team {
		display: flex;
		flex-direction: column;
		    align-items: center;
	}

	.team .image {
	    height: 250px;
	    flex: inherit;
	    margin-right:0px;
	    margin-bottom: 20px;
	    width:250px;
	}
	
	.team .bio {
		text-align: center;
	}

	.team .bio .contact {
		margin-right: 0px;
		clear: both;
		display: block;
	}
}


/* Advert styles */
#advert {
  max-width:1020px;
  width:95%;
  margin: 0 auto;
  text-align: center;
  border-top:2px solid #343434;
  padding:130px 0 150px 0;
}

#advert h3 {
  font-weight: 600;
  text-transform: uppercase;
  padding: 0 20%;
  line-height: 1;
  font-size:2.5rem;
}

#advert p {
  padding:0 10%;
  margin: 25px 0 60px 0;
  font-size: 1.3rem;
}

/* Advert - Small screen */
@media only screen and (max-width: 750px) {
  #advert h3 {
    padding:0;
  }

  #advert p {
    padding: 0;
  }
}

/* Advert - Mobile screen */
@media only screen and (max-width: 550px) {
  #advert {
    padding:50px 0 70px 0;
  }
}

/* Footer styles */
footer {
  background:#343434;
  color: #fff;
}

footer .wrapper {
  display: flex;
  padding: 80px 0;
}

footer .wrapper div {
  flex:1;
}

footer ul {
  margin: 0;
  padding:0;
  list-style: none;
}

footer ul a {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out; 
}

footer ul a:hover {
  color:var(--secondary-color);
}

footer .social {
  text-align: center;
}

footer .social span {
  margin:0 0 20px 0;
  display: inline-block;
}

footer .social .fab {
  font-size: 2em;
  color:#fff;
  margin:0 5px;
  transition: all 0.3s ease-in-out; 
}

footer .social .fab:hover {
  color:var(--secondary-color);
}

footer .social p {
  margin:0;
  line-height: 1.6;
}

footer .safeguarding p {
  padding-left:120px;
  margin:0;
  font-size: 0.9rem;
}

footer .copyright {
  width: 100%;
  font-size:0.7em;
  text-align: center;
  padding: 0 10px 20px 10px;
    margin: 0;
}

#activitybooking-buttons button, #activitybooking-counts button {
	font-size: 13px;
}

/* Footer - Small screen */
@media only screen and (max-width: 880px) {
  footer .wrapper {
    padding: 50px 0;
    flex-direction: column;
  }

  footer ul {
    text-align: center;
  }

  footer .social {
    margin:60px 0;
  }

  footer .safeguarding p {
    padding:0;
    text-align: center;
  }
}
