/*
Theme Name: Plexaweb Bespoke Theme
Author: Plexaweb
Author URI: https://www.plexaweb.co.uk
Description: Bespoke website theme by Plexaweb.
Version: 2.1
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: plexaweb
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

body
{
text-align: left;
padding: 0px;
margin: 0px;
}

* {
    outline-width: 0px !important;
    text-decoration: none;
}

.hamburger.is-active:hover, .hamburger:hover, .hamburger:active, .hamburger {
    outline-width: 0px;
}
#ttr_sidebar
{
border-left: 1px solid black;
}
#ttr_footer
{
width: 100%;
border-top: 1px #a2a2a2 solid;
text-align: center;
}
.title
{
font-size: 11pt;
font-family: verdana;
font-weight: bold;
}

*:hover, *:active, *:focus {
    outline: 0;
  }

  input::-moz-focus-inner { 
    border: 0; 
  }

  * {
      border: 0;
  }

  a, a:active, a:focus{
    outline: none; /* Works in Firefox, Chrome, IE8 and above */ 
}

input[type="reset"],
input[type="button"],
input[type="submit"],
input[type="file"]
 {
    border: none;
}

.logo {
max-width: 100%;
width: 250px;
}

img {
    max-width: 100%;
    height: auto;
}

.top-nav {
    width: calc(100% - 250px);
  
}
.top-nav ul {
    list-style: none;
}

.top-nav ul li {
    display: inline-block;
}

.hamburger {
    display: none;
}

/* Styles for align-wide and align-full */

.alignwide {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
}

.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}


/* Global font setup */
body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    background-color: #fff;
    margin: 0;
    padding: 0;
  }
  
  /* Headings use Merriweather */
  h1, h2, h3, h4, h5, h6, .p-header {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #111;
  }
  
  /* Optional: Specific sizes and weights for each heading level */
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3, .p-header {
    font-size: 1.75rem;
  }
  
  h4 {
    font-size: 1.5rem;
  }
  
  h5 {
    font-size: 1.25rem;
  }
  
  h6 {
    font-size: 1rem;
    font-weight: 600;
  }
  

  .footer {
      background-color: #022033;
      margin-top: 80px;
      padding-top: 60px;
      padding-bottom: 100px;
      color: #fff;
  }


  .footer h2, .footer h3, .footer h4, .footer .p-header {
      color: #fff;
  }
  .pweb {
      font-size: 14px;
      text-align: right;
      margin-top: 90px;
      display: inline-block;
      width: 100%;
  }

  .pweb a {
      
      color: #fff;
  }

  .menu-main-menu-container ul {
      list-style: none;
      text-align: center;
  }

  .menu-main-menu-container ul li {
      display: inline-block;
  }

  .menu-main-menu-container ul li a {
      display: inline-block;
      padding: 18px;
      color: #022033;
  }

  .top-nav {
      width: 100%;
      margin: 0px;
      padding: 0px;
      margin-bottom: 20px;
  }

  .logo {
    max-width: 100%;
    width: 225px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px;
    margin-bottom: 30px;
  }

  .join-button a {
      background: #fff;
      border-radius: 3px;
      display: inline-block;
      color: #022033 !important;
      padding: 8px;
  }

 /* gallery tile setup */
.gallery-icon,
.gallery-icon > a{
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 12px; /* optional */
}

/* image zoom animation */
.gallery-icon img{
  display:block;
  width:100%;
  height:auto;
  transform:scale(1);
  transition:transform 400ms ease;
}

.gallery-icon:hover img{
  transform:scale(1.08);
}


/* FULL IMAGE WHITE OVERLAY + CENTERED TEXT */
.gallery-icon > a::after{
  content: attr(aria-label);

  position:absolute;
  inset:0;                      /* fills entire image */

  display:flex;
  align-items:center;           /* vertical centre */
  justify-content:center;       /* horizontal centre */
  text-align:center;

  background:rgba(255,255,255,0.35);   /* lighter transparency */
  color:#111;

  font-size: clamp(20px,2.2vw,34px);
  font-weight:700;
  letter-spacing:.02em;

  transition: background 300ms ease;
  pointer-events:none;
  font-family: 'Merriweather', serif;
  backdrop-filter: blur(2px); /* subtle optional glass look */
}

/* optional: make overlay slightly darker on hover */
.gallery-icon:hover > a::after{
  background:rgba(255,255,255,0.45);
}

/* ===== Contact Form 7 – modern minimal ===== */
.wpcf7 form{
    --r: 12px;                 /* corner radius */
    --bg: #ffffff;
    --ink: #0f172a;
    --muted: #64748b;
    --line: rgba(2,32,51,.18);
    --brand: #022033;          /* your button/navy */
    --ring: rgba(2,32,51,.25);
  }
  
  /* Labels (if you use them) */
  .wpcf7 form label{
    display:block;
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 14px;
  }
  
  /* Inputs + textarea */
  .wpcf7 form .wpcf7-text,
  .wpcf7 form .wpcf7-email,
  .wpcf7 form .wpcf7-tel,
  .wpcf7 form .wpcf7-url,
  .wpcf7 form .wpcf7-number,
  .wpcf7 form .wpcf7-date,
  .wpcf7 form .wpcf7-select,
  .wpcf7 form .wpcf7-textarea{
    width: 100%;
    box-sizing: border-box;
    background: var(--bg);
    color: var(--ink);
  
    border: 1px solid var(--line);
    border-radius: var(--r);
  
    padding: 12px 14px;
    font-size: 16px;
    line-height: 1.35;
  
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
  }
  
  /* Textarea specifics */
  .wpcf7 form .wpcf7-textarea{
    min-height: 140px;
    resize: vertical;
  }
  
  /* Focus state */
  .wpcf7 form .wpcf7-text:focus,
  .wpcf7 form .wpcf7-email:focus,
  .wpcf7 form .wpcf7-tel:focus,
  .wpcf7 form .wpcf7-url:focus,
  .wpcf7 form .wpcf7-number:focus,
  .wpcf7 form .wpcf7-date:focus,
  .wpcf7 form .wpcf7-select:focus,
  .wpcf7 form .wpcf7-textarea:focus{
    border-color: rgba(2,32,51,.55);
    box-shadow: 0 0 0 4px var(--ring);
  }
  
  /* Placeholder */
  .wpcf7 form ::placeholder{
    color: rgba(15,23,42,.45);
  }
  
  /* Submit button */
  .wpcf7 form .wpcf7-submit{
    appearance: none;
    border: 0;
    background: var(--brand);     /* #022033 */
    color: #fff;
  
    padding: 12px 18px;
    border-radius: 999px;         /* pill */
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .02em;
  
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
    box-shadow: 0 10px 24px rgba(2,32,51,.20);
  }
  
  /* Button hover + active */
  .wpcf7 form .wpcf7-submit:hover{
    filter: brightness(1.06);
    transform: translateY(-1px);
  }
  .wpcf7 form .wpcf7-submit:active{
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(2,32,51,.18);
  }
  
  /* Reduce spacing quirks CF7 adds */
  .wpcf7 form p{
    margin: 0 0 14px;
  }
  
  /* Validation / messages */
  .wpcf7 form .wpcf7-not-valid-tip{
    margin-top: 8px;
    font-size: 13px;
  }
  .wpcf7 form .wpcf7-response-output{
    border-radius: var(--r);
    padding: 12px 14px;
  }

  .top-banner {
      margin-bottom: 30px;
  }

  .gmap {
      width: 100%;
  }

  /* Default (desktop above 1024px) */
.hamburger {
    display: none;
  }
  
  .menu-main-menu-container {
    display: block;
  }
  
  /* Show hamburger and hide menu at 1024px and below */
  @media (max-width: 1024px) {
    .hamburger {
      display: block; /* or flex if you're using flexbox */
      float: right;
      position: relative;
      top: 80px;
    }
  
    .menu-main-menu-container {
      display: none;
      clear: both;
    }

    .menu-main-menu-container li {
        display: block;
        width: 100%;
        margin: 0px;
        padding: 0px;
    }

    .menu-main-menu-container li a {
        display: block;
        width: 100%;
        padding: 8px;
    }

    .logo {
        margin-left: 0px;
        margin-right: 0px;
        float: left;
    }
  }

  .show-menu {
      display: block;
    
  }

    /* Main nav */
    .top-nav,
    .top-nav ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }
  
    .top-nav {
      display: flex;
      align-items: center;
      gap: 0;
      position: relative;
    }
  
    .top-nav>li {
      position: relative;
    }
  
    .top-nav>li>a {
      display: block;
      padding: 14px 18px;
      text-decoration: none;
    }
  
    /* Sub-menu desktop */
    .top-nav .sub-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 220px;
      background: #fff;
      z-index: 999;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }
  
    .top-nav .sub-menu li {
      width: 100%;
    }
  
    .top-nav .sub-menu li a {
      display: block;
      padding: 12px 16px;
      white-space: nowrap;
      text-decoration: none;
    }
  
    /* Show submenu on hover */
    .top-nav>li:hover>.sub-menu,
    .top-nav>li:focus-within>.sub-menu {
      display: block;
    }
  
    /* Mobile toggle button */
    .submenu-toggle {
      display: none;
      background: none;
      border: 0;
      cursor: pointer;
      font-size: 20px;
      line-height: 1;
      padding: 0 12px;
      color: inherit;
    }
  
    /* Optional: keep parent link + toggle aligned */
    .top-nav li.menu-item-has-children {
      position: relative;
    }
  
    /* Mobile styles */
    @media (max-width: 768px) {
      .top-nav {
        display: block;
      }
  
      .top-nav>li {
        border-bottom: 1px solid #ddd;
      }
  
      .top-nav>li>a {
        display: inline-block;
        width: calc(100% - 50px);
        padding: 14px 15px;
        vertical-align: middle;
      }
  
      .submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 48px;
        vertical-align: middle;
      }
  
      /* Disable hover dropdown behaviour on mobile */
      .top-nav>li:hover>.sub-menu,
      .top-nav>li:focus-within>.sub-menu {
        display: none;
      }
  
      .top-nav .sub-menu {
        position: static;
        min-width: 100%;
        box-shadow: none;
        background: #f7f7f7;
      }
  
      .top-nav li.open>.sub-menu {
        display: block;
      }
  
      .top-nav .sub-menu li a {
        padding: 12px 20px;
      }
    }

    /* Main nav */
.top-nav,
.top-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-nav {
  display: flex;
  justify-content: center;   /* THIS centres the whole menu */
  align-items: center;
  flex-wrap: wrap;
}

.top-nav > li {
  position: relative;
}

.top-nav > li > a {
  display: block;
  padding: 14px 18px;
  text-decoration: none;
  text-align: center;
}

.top-nav .sub-menu li a {
  display: block;
  padding: 12px 16px;
  text-align: center;
}

.midbanner {
    margin-top: 80px;
    margin-bottom: 80px;
}

.socials {
    list-style: none;
    margin: 0px;
    padding: 0px;

}

.socials li {
    margin: 0px;
    padding: 0px;
}

.socials li a {
    color: #fff;
    font-size: 48px;
}