/*
Theme Name: TCWD Framework 2026
Description: A minimalistic WordPress theme for custom designed sites.
Version: 1.0
Author: Greg Provians
Author URI: www.tropicalcoastwebdesign.com.au
*/

/******************************* LOAD FONTS *******************************/
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Poppins/Poppins-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Poppins/Poppins-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: Poppins-Bold;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Poppins/Poppins-Bold.ttf") format("truetype");
}

@font-face {
  font-family: SpecialGothic-Regular;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Special_Gothic/SpecialGothic-Regular.ttf");
}

@font-face {
  font-family: DMSerifDisplay-Regular;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/DM_Serif_Display/DMSerifDisplay-Regular.ttf");
}

body {
  font-family: "Poppins", Arial, sans-serif;
  margin: 0;
  padding: 0;
  font-size: 20px;
}

html {
  box-sizing: border-box;
  line-height: 1.5;
}

/**
 * Relax the definition a bit, to allow components to override it manually.
 */
*,
*::before,
*::after {
  box-sizing: inherit;
}

/******************************* HEADING STYLES *******************************/
h1 {
  font-family: DMSerifDisplay-Regular, Helvetica, Arial, "sans-serif";
  font-size: 2.4em;
  line-height: 1.2em;
  margin: 0 0 24px 0;
  color: #001040;
}

h1.hide-title {
  font-family: Montserrat-SemiBold, Arial, "sans-serif";
  font-weight: normal;
  font-size: 0.1em;
  line-height: 0.1em;
  color: #fff;
  padding: 0px;
  margin-bottom: 0px;
  width: 100%;
}

h2 {
  font-family: DMSerifDisplay-Regular, Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
  font-size: 2em;
  line-height: 1.3em;
  margin: 0 0 24px 0;
  color: #1E518A;
}

h2 span{
	font-family: Poppins-Regular, Helvetica, Arial, "sans-serif";
	font-weight: 300;
	font-size: 18px;
	line-height: 1.3em;
	margin: 0 0 0 2px;
	color: #FF7F00;
	display: block;
}

h3 {
  font-family: DMSerifDisplay-Regular, Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
  font-size: 1.6em;
  line-height: 1.1em;
  margin: 0 0 24px 0;
  color: #1E518A;
}

h3 span{
	font-family: Poppins-Regular, Helvetica, Arial, "sans-serif";
	font-weight: 300;
	font-size: 18px;
	line-height: 1.3em;
	margin: 0 0 0 2px;
	color: #FF7F00;
	display: block;
}

h5 {
  font-family: DMSerifDisplay-Regular, Cambria, "Times New Roman", "serif";
  font-size: 1.1em;
  line-height: 1.2em;
  margin: 0 0 20px 0;
  color: #1E518A;
}

#content .header-text p {
  font-family: DMSerifDisplay-Regular, Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
  font-size: 1.2em;
  line-height: 1.3em;
  margin: 0 0 24px 0;
  color: #1E518A;
}

/* HEADER - FEATURED IMAGE BACKGROUND
-------------------------------------------------------------------------------*/
.header-wrap {
  text-align: left;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
	margin-bottom: 100px;
}

.header-wrap-contents {
  width: 100%;
  max-width: 1400px;
  text-align: center;
  height: 100%;
  line-height: 100%;
  vertical-align: middle;
  margin: 0 auto;
  padding: 60px 30px 0;
}

.header-wrap h1.entry-title {
  color: #fff;
}

/******************************* GENERAL STYLING *******************************/
ul,
ol {
  margin: 0 0 24px;
  line-height: 1.714285714;
  padding: 0;
}

ul {
  list-style: disc outside;
}

ol {
  list-style: decimal outside;
}

ul ul,
ol ol,
ul ol,
ol ul {
  margin-bottom: 0;
}

#content li {
	font-size: .8em;
	color: #666;
}

li {
  margin: 0 0 0 24px;
	
}

#content li ol {
	margin: 10px 0 10px 20px;
}

#content li ol li{
	font-size: 1em;
}

td,
th {
  padding: 5px;
}

a:link, a:visited {
	color: #062547;
	text-decoration: none;
}

a:hover {
	color: #062547;
	text-decoration: underline;
}


/* TEXT ELEMENTS - Alignment -------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin: 12px 24px 12px 0;
  margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;
}

.alignright {
  display: inline;
  float: right;
  margin: 12px 0 12px 24px;
  margin: 0.857142857rem 0 0.857142857rem 1.714285714rem;
}

.aligncenter {
  clear: both;
  display: block;
  margin: 12px auto;
}

/******************************* GUTENBERG *******************************/
.alignfull {
  margin-left: calc(-100vw / 2 + 100% / 2);
  margin-right: calc(-100vw / 2 + 100% / 2);
  max-width: 100vw;
}

.alignwide {
  margin-left: calc(-80vw / 2 + 100% / 2);
  margin-right: calc(-80vw / 2 + 100% / 2);
  max-width: 80vw;
}

.aligncenter {
  max-width: 1400px;
  margin: 0 auto;
}

.wp-block-image.alignfull,
.wp-block-image.alignwide {
  max-width: none;
}

/******************************* HEADER *******************************/
#header {
  width: 100%;
  height: 130px;
  position: relative;
  background-color: #062544;
}

#header-main-contents {
  width: 100%;
  height: 130px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
	text-align: center;
}

#header-main-logo {
	width: 345px;
	height: auto;
	margin: 0 auto;
	position: relative;
	z-index: 99999;
}

#mobile-header-main-logo {
	width: 280px;
	height: auto;
	margin: 0 auto;
	position: relative;
	z-index: 99999;
}

#full-width-menu {
  width: 100%;
  height: 54px;
  margin-top: 0;
  position: absolute;
	left: 0;
	bottom: 5px;
	z-index: 99998;
}

#full-width-menu-contents {
  width: 100%;
  max-width: 1340px;
  height: 100%;
  margin: 0 auto;
}

/******************************* MENU STYLING *******************************/
#cssmenu,
#cssmenu ul,
#cssmenu li,
#cssmenu a {
  border: none;
  margin: 0;
  padding: 0;
  line-height: 1;
  box-sizing: content-box;
}

#cssmenu {
  display: block;
  padding: 0;
  margin: 0;
  width: auto;
  border-color: #080808;
}

/* TOP LEVEL MENU GRID */
#cssmenu > ul {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 350px minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Top-level items */
#cssmenu > ul > li {
  position: relative;
  display: block;
  list-style-type: none;
}

/* Place items into grid columns (skip centre logo column) */
#cssmenu > ul > li:nth-child(1) { grid-column: 1; }
#cssmenu > ul > li:nth-child(2) { grid-column: 2; }
#cssmenu > ul > li:nth-child(3) { grid-column: 3; }
#cssmenu > ul > li:nth-child(4) { grid-column: 5; }
#cssmenu > ul > li:nth-child(5) { grid-column: 6; }
#cssmenu > ul > li:nth-child(6) { grid-column: 7; }

/*--- Top-level links ---*/
#cssmenu > ul > li > a {
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 12px;
  text-align: center;
  text-decoration: none;
  font-weight: normal;
  text-transform: capitalize;
  font-size: 0.9em;
  font-family: SpecialGothic-Regular;
  color: #ffffff;
  white-space: nowrap;
}

#cssmenu li:first-child a {
  border-left: 0 none;	
}

/*--- Hover styles ---*/
#cssmenu > ul > li > a:hover {
  color: #ffff00;
}

/*--- Sub Menu Dropdown Arrow ---*/
#cssmenu > ul > li.has-sub > a{
  padding: 0 12px !important;
}

#cssmenu > ul > li.has-sub > a:after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 5px solid transparent;
  border-top: 5px solid #ffffff;
}

/*--- Main Navigation Item with Drop Down Menu Underneath ---*/
#cssmenu ul li.has-sub:hover > a {
  top: 0px;
  z-index: 999;
}

#cssmenu ul li.has-sub:hover > ul,
#cssmenu ul li.has-sub:hover > div {
  display: block;
}

/*--- Drop Down Sub Menu Position & Width ---*/
#cssmenu ul li > ul,
#cssmenu ul li > div {
  display: none;
  position: absolute;
  top: 54px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0;
  z-index: 999;
	border-top: 10px solid rgba(0,0,0,0.00);
}

#cssmenu ul li > ul {
  min-width: 180px;
}

#cssmenu li ul li a {
  width: auto;
  white-space: nowrap;
}

#cssmenu ul li > ul li {
  list-style: inside none;
  padding: 0;
  margin: 0;
  position: relative;
}

/*--- Drop Down Menu Items Styling ---*/
#cssmenu ul li > ul li a {
  outline: none;
  display: block;
  position: relative;
  margin: 0;
  padding: 18px 15px 16px;
  text-transform: capitalize;
  font-size: 0.9em;
  font-family: SpecialGothic-Regular;;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
background-color: #062544;
}

#cssmenu ul li > ul li:first-child > a {
	padding-top: 24px;
}

#cssmenu ul li > ul li:last-child > a {
	padding-bottom: 24px;
}

/*--- Drop Down Menu Items HOVER effect ---*/
#cssmenu ul ul a:hover {
  color: #ffff00;
}

#cssmenu ul li > ul li.has-sub > a:before {
  content: "";
  position: absolute;
  top: 23px;
  right: 5px;
  border: 5px solid transparent;
  border-left: 5px solid;
}

#cssmenu ul li > ul li.has-sub:hover > a:before {
  border-left-color: #ffff00;
}

#cssmenu ul ul ul li a {
  outline: none;
  display: block;
  position: relative;
  margin: 0;
  padding: 20px 25px 18px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  text-align: left;
  border-bottom: 1px dashed #266f41 !important;
  background-color: #001555;
}

#cssmenu ul ul ul li:last-child a {
  border-bottom: none !important;
}



#cssmenu ul li > ul li > ul {
  display: none;
  position: absolute;
  top: 0px;
  left: 216px;
  padding: 0;
  z-index: 999;
  border-left: 10px solid rgba(0, 0, 0, 0);
  background-color: rgba(0, 0, 0, 0);
}

/* ----------------------------------------------------
   MOBILE MENU
   Parent link = navigates
   Arrow button = toggles submenu
-----------------------------------------------------*/

/* Hide the mobile menu checkbox */
.mobile-menu-toggle {
  display: none;
}

/* Mobile hamburger toggle button */
.toggle-menu {
  display: block;
  cursor: pointer;
  z-index: 999999; /* Ensure toggle button appears above content */
  position: absolute;
  top: 0px;
  left: 0px;
  color: #fff;
  padding: 6px 18px;
  font-size: 1.4em;
}

/* Mobile menu container */
.mobile-menu {
  display: none;
  position: absolute;
  top: 70px; /* Adjust as needed */
  left: 20px; /* Adjust as needed */
  background-color: #fff;
  padding: 0 15px 0;
  z-index: 999999; /* Ensure it appears above content */
  animation-duration: 0.3s;
  animation-fill-mode: both;
  width: 80%;
  max-width: 260px;
  font-size: 0.8em;
  -webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.75);
  border: 2px solid #005ea6;
}

/* Slide animations */
@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Show the menu when the checkbox is checked */
.mobile-menu-toggle:checked + .toggle-menu + .mobile-menu {
  display: block;
  animation-name: slideIn;
}

/* Hide animation when unchecked (visual only) */
.mobile-menu-toggle:not(:checked) + .toggle-menu + .mobile-menu {
  animation-name: slideOut;
}

/* Basic list styling */
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  margin: 0;
  color: #444;
  font-family: Poppins-Regular, Helvetica, Arial, sans-serif;
  padding: 10px 10px 8px 15px;
  border-bottom: 1px solid #ddd;
}

.mobile-menu li:first-child {
  padding-top: 20px;
}

.mobile-menu li:last-child {
  padding-bottom: 18px;
  border-bottom: 0;
}

/* Top-level links */
.mobile-menu li > a {
  text-decoration: none;
  color: #444;
  display: block;
  padding-right: 30px; /* room for arrow button on parents */
}

.mobile-menu li > a > span {
  display: inline-block;
}

.mobile-menu li > a:hover {
  color: #016bb5;
  font-weight: bold;
}

/* ----------------------------------------------------
   SUBMENUS (YOUR MARKUP: <li class="menu-item-has-children has-sub"><a><span></span></a><ul>…</ul></li>)
-----------------------------------------------------*/

/* Ensure parent items can position the arrow button */
.mobile-menu li.menu-item-has-children,
.mobile-menu li.has-sub {
  position: relative;
}

/* IMPORTANT: override theme/walker default – keep submenus hidden by default */
.mobile-menu li.menu-item-has-children > ul,
.mobile-menu li.has-sub > ul {
  display: none !important; /* closed by default */
  padding-left: 0px;
  margin-top: 5px;
}

/* When JS toggles this class, show the submenu */
.mobile-menu li.menu-item-has-children > ul.submenu-open,
.mobile-menu li.has-sub > ul.submenu-open {
  display: block !important;
}

/* Submenu items */
.mobile-menu li.menu-item-has-children > ul li,
.mobile-menu li.has-sub > ul li {
  border-bottom: 0;
  font-size: 0.9em;
  padding: 6px 10px 6px 10px;
}

/* ----------------------------------------------------
   ARROW BUTTON FOR SUBMENUS
-----------------------------------------------------*/

/* We are NOT using ::after on the <a> anymore */
.mobile-menu li.menu-item-has-children > a::after,
.mobile-menu li.has-sub > a::after {
  content: none;
}

/* Arrow button inserted by JS */
.mobile-menu .submenu-toggle {
  position: absolute;
  right: 10px;
  top: 40%;
  transform: translateY(-50%);
  width: 24px;
  height: 19px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

/* Arrow icon */
.mobile-menu .submenu-toggle::before {
  content: "\2304"; /* ▼ */
  font-size: 1em;
  color: #444;
}

/* ----------------------------------------------------
   CLOSE BUTTON (X)
-----------------------------------------------------*/
.close-menu {
  position: absolute;
  top: 5px;
  right: 20px;
  cursor: pointer;
  font-size: 24px;
  color: #016bb5;
}

/* FOOTER MENU - Styles ---------------------*/
#footer #cssmenu,
#footer #cssmenu ul,
#footer #cssmenu li,
#footer #cssmenu a {
  border: none;
  margin: 0;
  padding: 0;
  box-sizing: content-box;
  list-style: disc;
  text-transform: none;
  text-align: left;
  line-height: 31px;
  vertical-align: middle;
  background-color: rgba(0, 0, 0, 0);
  display: list-item;
}

#footer-center h5 {
  margin-bottom: 22px;
}

#footer #cssmenu {
  height: auto;
  display: block;
  padding: 0;
  margin: 0;
  width: auto;
  border-color: #080808;
}

#footer #cssmenu > ul {
  display: block;
  align-items: baseline;
  justify-content: center;
  width: 100%;
  margin: 0 0 0 0;
  padding: 0;
}

#footer #cssmenu > ul > li {
  position: relative;
  display: inline-block;
  flex: none; /* Default */
  list-style-type: disc;
  width: 43%;
  margin-left: 20px;
}

/******************************* SLIDESHOW *******************************/
#slideshow-image {
  width: 100%;
  height: auto;
	margin-bottom: 0px;
}

/******************************* MAIN BODY *******************************/
/* CONTENT / BODY
-------------------------------------------------------------------------------*/
#wrapper {
  width: 100%;
  height: auto;
  margin: 0px auto;
  background-color: #fff;
  display: block;
  overflow: hidden;
}

#main {
  width: 100%;
  height: auto;
  position: relative;
}

#content {
  box-sizing: border-box;
  padding: 0 30px 100px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

#content p {
  font-size: 0.8em;
  margin: 0 0 24px 0;
	color: #666;
}

/******************************* FOOTER *******************************/
#footer {
  width: 100%;
  height: auto;
  padding: 80px 30px;
  background-color: #062544;
}

#footer h5 {
  color: #fff;
}

#footer a:link, #footer a:visited {
	text-decoration: none;
	color: #fff;
}

#footer a:hover {
	color: #ffff00;
}


#footer-contents {
  width: 100%;
  max-width: 1340px;
  height: auto;
  color: #fff;
  margin: 0 auto;
  overflow: hidden;
  clear: both;
}

#footer-left {
  width: 30%;
  height: auto;
  float: left;
  margin-right: 5%;
  line-height: 240px;
  vertical-align: middle;
	text-align: center;
}

#footer-left img {
  line-height: 240px;
  vertical-align: middle;
}

#footer-center {
  width: 30%;
  height: auto;
  float: left;
	padding-top: 0px;
}

#footer-center p {
	font-size: 0.77em;
	line-height: 2em;
	vertical-align: middle;
	margin-bottom: 0px;
}

#footer-center img{
	margin: 20px 20px 0 0;
}

#footer-center p img{
	line-height: 2em;
	vertical-align: middle;
	margin: 0 15px 0 0;
}

#footer-right {
  width: 30%;
  height: auto;
  float: right;
}

/******************************* COPYRIGHT / LOGIN / T&Cs *******************************/

#notice_footer {
  width: 100%;
  height: auto;
  min-height: 60px;
  background-color: #1063B6;
  display: block;
  overflow: hidden;
}

#notice_footer a:link,
#notice_footer a:visited {
  color: #fff;
  text-decoration: none;
}

#notice_footer a:hover {
  color: #ffff00 !important;
  text-decoration: underline;
}

#notice_footer_content {
  width: 100%;
  max-width: 1400px;
  height: auto;
  margin: 0 auto;
  padding: 0 30px;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  line-height: 60px;
  font-size: 14px;
  overflow: hidden;
  clear: both;
}

#notice_footer_mobile {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0 auto;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  line-height: 20px;
  font-size: 12px;
  display: block;
  overflow: hidden;
  padding: 20px 30px;
}

#notice_footer_left {
  width: 45%;
  max-width: 560px;
  height: auto;
  float: left;
  text-align: left;
  vertical-align: middle;
}

#notice_footer_right {
  width: 45%;
  max-width: 560px;
  height: auto;
  float: right;
  text-align: right;
  vertical-align: middle;
}

/******************************* CONTACT FORM 7 STYLES *******************************/

/******************************* FORCE POPPINS *******************************/
#two-column input,
#two-column textarea,
#two-column select {
  font-family: "Poppins", sans-serif !important;
}

/* Placeholders */
#two-column input::placeholder,
#two-column textarea::placeholder {
  font-family: "Poppins", sans-serif !important;
  color: #999;
}

/* Select (covers dropdown text properly) */
#two-column select {
  font-family: "Poppins", sans-serif !important;
}

/* Dropdown options (some browsers ignore this, but worth adding) */
#two-column select option {
  font-family: "Poppins", sans-serif;
}

.wpcf7-form {
  border: none;
  padding: 0;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  width: 100%;
  margin-bottom: 21px;
}

.email_terms {
  font-size: 13px !important;
  color: #444 !important;
}

#two-column {
  width: 100%;
}

#two-column input::placeholder {
  color: #999;
  font-family: Poppins-Regular;
}

#two-column #left {
  width: 48%;
  float: left;
}

#two-column #left p {
  line-height: 25px !important;
}

#two-column #right {
  width: 48%;
  float: right;
}

#two-column p {
  margin: 0px !important;
}

#two-column input[type="text"] {
  border: none;
  border: 1px solid #ddd;
  font-size: 1em;
  border-radius: 5px;
  padding: 10px 15px;
  margin-bottom: 15px;
  width: 100%;
}

#two-column input[type="email"] {
  border: none;
  border: 1px solid #ddd;
  font-size: 1em;
  border-radius: 5px;
  padding: 10px 15px;
  margin-bottom: 15px;
  width: 100%;
}

#two-column textarea {
  position: relative;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 100%;
  margin-bottom: 15px;
  font-size: 1em;
  font-family: Poppins-Regular;
}

#two-column textarea::placeholder {
  color: #999;
}

#two-column select {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px 15px 10px 10px;
  margin-bottom: 15px;
  width: 100%;
  color: #999; /* Initial color for placeholder */
  font-size: 1em;
  font-family: Poppins-Regular;
}

/* Ensure the placeholder option stays gray */
#two-column select option[value=""] {
  color: #999 !important;
}

/* Change the color when a valid option is selected */
#two-column select:valid {
  color: #333;
}

.wpcf7 select[name="select-an-option"] {
  color: #aaa;
  font-size: 0.9em;
}

.wpcf7 select[name="select-an-option"] option {
  color: #000 !important;
  font-size: 0.9em;
}

#two-column input[type="submit"] {
  padding: 11px 25px 9px;
  background-color: #1063B6;
  border: 1px solid #1063B6;
  color: #fff;
  text-transform: uppercase;
  float: right;
  border-radius: 5px;
  margin: 5px 0px 0px 0px;
	font-size: 1em;
	width: 100%;
}

#two-column input[type="text"]:focus,
#two-column textarea:focus,
#two-column input[type="email"]:focus {
  background: #f1f1f1;
}

#two-column input[type="submit"]:hover {
  background: #062544;
	border-color: #062544;
  color: #fff;
}

#content .wpcf7-not-valid-tip {
  font-size: 0.8em;
  margin-bottom: 10px;
  margin-top: -15px;
  text-align: right;
}

#content .wpcf7 form.invalid .wpcf7-response-output {
  border-color: #ff0000;
}

#content .wpcf7 form .wpcf7-response-output {
  padding: 0.5em 1em;
  border: 2px solid #008c00;
  font-size: 0.8em;
  margin: 40px 0px 10px;
}

.captcha-image {
	width: 100%;
    padding: 10px;
	background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
	margin-top: -7px;
	margin-bottom: 9px;
	color: #666;
	font-size: 1em;
}


/******************************* SMART PHONES  UNDER 800 PIXELS *******************************/
@media (max-width: 799px) {
	
	h2 {
		font-size: 1.8em;
	}
	
	#content p {
		font-size: .8em;
	}
	
  #header-contact-contents-left {
    display: none;
  }

  #header-main-menu {
    display: none;
  }

  #full-width-menu {
    display: none;
  }

  #header-contact-contents-right {
    width: 100%;
    margin-right: 24px;
  }

  #header-main-contents {
    height: auto;
    overflow: hidden;
    clear: both;
    padding: 0 10px 10px 10px;
  }

  #header-main-address {
    float: none;
    position: relative;
    right: initial;
    top: initial;
    width: 100%;
    text-align: center;
    font-size: 0.8em;
  }

  #mobile-header-main-logo {
    float: none;
    position: relative;
    top: initial;
    left: initial;
    width: 100%;
    text-align: center;
  }

#mobile-header-main-logo img {
	width: 100%;
	max-width: 280px;
    height: auto;
  }

  #footer {
    padding: 80px 20px 100px;
  }

  #footer p {
    font-size: 0.7em;
    line-height: 2em;
  }

#footer-left {
	width: 100%;
	margin-right: 0;
	float: none;
	margin-bottom: 50px;
	line-height: 100px;
}
	
#footer-center {
	width: 100%;
	margin-right: 0;
	float: none;
	text-align: center;
	margin-bottom: 70px;
}
	
#footer-center h5 {
	text-align: center;
}
		
#footer-center img {
    margin: 20px 10px 0 10px;
}

#footer-center p img {
    margin: 0 10px 0 0;
}
	
#footer-right {
	width: 100%;
	margin-right: 0;
	float: none;
	text-align: center;
}

  #footer #cssmenu > ul > li > a {
    font-size: 0.7em;
  }

  #footer #cssmenu > ul > li {
    width: 40%;
  }

  #notice_footer_content {
    display: none;
  }

  #smallgoogle {
    text-align: left;
    padding: 0 0px 10px;
  }

  #notice_footer_left,
  #notice_footer_right {
    width: 100%;
    max-width: none;
    float: none;
    text-align: center;
  }

	#header-main-logo {
		display: none;
	}
	

.railway-signal img {
	display: none;
}
	
#content .wpbc__field:has(.wpbc_calendar_wraper) > .bfb_element {
    padding: 15px !important;
}
	
#two-column #left, #two-column #right {
    width: 100%;
    float: none;
}
	
#content .contact-page-icons p img {
    margin: 0 10px 2px 0;
}
	
#content {
    padding: 0 20px 100px;
}

}

/******************************* TABLETS BETWEEN 800 & 1200 PIXELS *******************************/
@media screen and (min-width: 800px) and (max-width: 1199px) {
  #header-contact-contents-left {
    display: none;
  }

  #header-main-menu {
    display: none;
  }

  #full-width-menu {
    display: none;
  }

  #header-main-contents {
    padding: 0 30px;
    height: auto;
  }

  #header-main-address {
    float: none;
    position: relative;
    right: initial;
    top: initial;
    width: 100%;
    text-align: center;
  }

  #header-main-logo {
    float: none;
    position: relative;
    top: initial;
    left: initial;
    width: 100%;
    text-align: center;
  }
	
#footer {
    padding: 0px 30px 80px;
}

  #footer-left {
    width: 100%;
    margin-right: 0;
	  float: none;
  }

  #footer-center {
    width: 47%;
    float: left;
  }
	
#footer-center p {
    font-size: 0.7em;
}

  #footer-right {
    width: 47%;
    float: right;
  }

  #notice_footer_content {
    display: none;
  }
	
	#mobile-header-main-logo {
		display: none;
	}
	
}

/******************************* DESKTOPS AND NOTEBOOKS OVER 1200 PIXELS *******************************/

@media (min-width: 1200px) {
  .toggle-menu,
  .mobile-menu {
    display: none;
  }

  #notice_footer_mobile {
    display: none;
  }
	
	#mobile-header-main-logo {
		display: none;
	}
}

/******************************* CUSTOM PAGE CSS *******************************/

#content .header-text p {
  font-family: DMSerifDisplay-Regular, Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
  font-size: 1.2em;
  line-height: 1.2em;
  margin: 0 0 24px 0;
  color: #1E518A;
}

.header-text img {
	margin: 0 0 20px 0;
}

.blue-button .wp-block-button__link {
    color: #fff;
    background-color: #32373c;
    border-radius: 6px;
	text-transform: uppercase;
    padding: 12px 20px 10px 20px;
    font-size: .8em;
	margin-top: 10px;
}

#content .blue-divider p {
	font-size: .7em;
}

#content .blue-divider h3 {
	margin: 0 0 5px 0;
}

#content .kb-splide .splide__pagination, .kb-splide ul.splide__pagination.splide__pagination {
    bottom: -45px;
    left: 0;
    padding: 0 1em;
    position: absolute;
    right: 0;
    z-index: 1;
}

#content .contact-page-icons p {
	line-height: 32px; 
	vertical-align: middle;
}

#content .contact-page-icons p img{
	line-height: 32px; 
	vertical-align: middle;
	margin: 0 15px 2px 0;
}

/****************************** STRONG TESTIMONIALS CSS ******************************/

#content .wpmtst-testimonial {
	background-color: #fff;
	border-radius: 20px;
	padding: 30px 40px 20px;
	margin: 0 0 30px 0;
}

#content .wpmtst-testimonial h3 {
	font-size: 1em;
	font-weight: bold;
	background-image: url("../../../template-images/testimonial-icons.jpg");
	background-repeat: no-repeat;
	background-position: top left;
	padding-left: 105px;
	margin-bottom: 20px;
	display: flex;
	align-items: flex-end; /* THIS is the key */
	min-height: 40px; /* match or slightly less than image height */
}

#content .wpmtst-testimonial p {
	font-size: .75em;
	font-style: italic;
	margin: 0 0 15px;
}

#content .wpmtst-testimonial .wpmtst-testimonial-field {
	font-weight: normal;
	font-size: 0.75em;
	margin-top: 10px;
	color: #666;
	text-align: right;
	font-style: italic;
}

/****************************** BOOKINGS PAGE CSS ******************************/

.wpbc__field:has(.wpbc_calendar_wraper) > .bfb_element {
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    padding: 30px !important;
    box-sizing: border-box;
}

.wpbc__field:has(.wpbc_calendar_wraper) .wpbc_calendar_wraper {
    width: 100%;
    box-sizing: border-box;
}

h2.wpbc_static_text {
    margin: 15px 0 10px 0;
}

h3.wpbc_static_text {
    margin: 15px 0 10px 0;
}

.wp-core-ui div.wpbc_container.wpbc_form textarea, div.wpbc_container.wpbc_form textarea {
    font-family: "Poppins" !important;
}

#content .bfb_element p {
  font-size: 1em;
  margin: 0 0 24px 0;
	color: #666;
}

.wpbc_inline_checkbox .wpdev-list-item-label {
	margin-top: 4px !important;
}