/*
Theme Name: Plexaweb Bespoke Theme
Author: Plexaweb
Author URI: https://www.plexaweb.co.uk
Description: Bespoke website theme by Plexaweb.
Version: 2
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;
}

.e404 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.header {

}

.header-i {
    background-image: url("/wp-content/themes/plexaweb-theme/header1.jpg");
    background-position-x: 50%;
background-position-y: 0%;
background-repeat: no-repeat;
border-bottom-color: rgb(0, 128, 0);
border-bottom-style: solid;
border-bottom-width: 0px;
border-image-outset: 0;
border-image-repeat: stretch;
border-image-slice: 100%;
border-image-source: none;
border-image-width: 1;
border-left-color: rgb(0, 128, 0);
border-left-style: solid;
border-left-width: 0px;
border-right-color: rgb(0, 128, 0);
border-right-style: solid;
border-right-width: 0px;
border-top-color: rgb(0, 128, 0);
border-top-style: solid;
border-top-width: 0px;
clear: both;

font-family: Arial, Helvetica, sans-serif;
font-size: 12.8px;
height: 205px;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
padding-bottom: 0px;
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;
position: relative;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
}

.main-menu {
    position: relative;
    background-color: #3366AA;
  }
  
  .main-menu::before {
    .box {
        --mask:
          radial-gradient(174.41px at 50% calc(100% - 234px),#000 99%,#0000 101%) calc(50% - 156px) 0/312px 100%,
          radial-gradient(174.41px at 50% calc(100% + 156px),#0000 99%,#000 101%) 50% calc(100% - 78px)/312px 100% repeat-x;
        -webkit-mask: var(--mask);
                mask: var(--mask);
      }
  }
  
  .main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-menu li {
    position: relative;
    display: inline-block;
    white-space: nowrap; /* Prevent text wrapping */
}

.main-menu a {
    color: #fff;
    padding: 8px; /* Adjust padding as needed */
    display: inline-block;
    text-decoration: none;
}

.main-menu > ul > li {
    display: block;
}

.main-menu ul.sub-menu {
    display: none;
    position: absolute;
    top: calc(100% - 2px); /* Adjust positioning */
    left: 0;
    transition: 0.7s; /* Add transition */
    z-index: 1;
    
}

 

.main-menu > ul > li:after {
    content: ' >';
}

.main-menu > ul > li > a:after {
    content: ' >';
    display: inline-block;
    visibility: hidden;
}

.main-menu > ul > li:hover > a:after {
    visibility: visible;
}
.main-menu ul.sub-menu a {
background-color: #00ADEF;
transition: 0.7s;
display: block;
}

.main-menu ul.sub-menu li {
    display: block;
}

.main-menu li:hover > ul.sub-menu,
.main-menu ul.sub-menu:hover,
.main-menu ul.sub-menu a:hover ~ ul.sub-menu, .main-menu li:hover > ul.sub-menu,
.main-menu ul.sub-menu:focus-within {
    display: block;
    transition: .7s; /* Add transition */
}

.main-menu {
    font-size: 0px;
}

.main-menu * {
    font-size: 0px;
}

.main-menu a {
    font-size: 17px;
}

.alignwide {
    margin-left  : -80px;
    margin-right : -80px;
}
.alignfull {
    margin-left  : calc( -100vw / 2 + 100% / 2 );
    margin-right : calc( -100vw / 2 + 100% / 2 );
    max-width    : 100vw;
}
.alignfull img {
    width: 100vw;
}

.newsflash {
    background-color: #f0f0f0;
	background-color: #e3391b;
    padding: 14px;
    border-radius: 2px;
}

.newsflash * {
	color: #fff !important;
}

.homebanner {
    margin-bottom: 40px;
}

.footer {
    background-color: #3366AA;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    margin-top: 40px;
}

.footer a {
    color: #d6e2f3;
}

.header {
    margin-bottom: 30px;

}

.front-page {
    margin-bottom: 0px !important;
}

body {
    overflow-x: hidden !important;
}

.w-content {
    min-height: calc(100vh - 200px);
}

.newsletter-list li {
    background-image: url(/wp-content/themes/plexaweb-theme/waterbg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: inline-block;
    width: calc(33.33% - 10px);
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
    height: 200px;
    color: #000;
    border-radius: 3px;
}

.newsletter-list li a {
    color: #000;
    font-size: 30px;
    padding-top: 85px;
    padding-bottom: 85px;
    line-height: 30px;
    width: 100%;
    display: block;
    text-align: center;
}

.newsletter-list li a:hover {
    cursor: pointer;
    background-color: #00000036;
    text-decoration: none;
}

.newsletter-list {
    margin-left:-10px;
    margin-right: -10px;
    font-size: 0px;
    padding: 0px;
}



  h1, h2, h3, h4, h5, h6, ul, li, a, div, body, p {
    font-family: 'Lato';
  }

  .homebanner h1 {
    font-weight: 600;
  font-size: 4.4vw;

  color: #fff !important;
  }

  .homebanner {
    position: relative;
  }
  
  .homebanner:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
    display: block;
    z-index: 9; /* Make sure this is less than the z-index of the text */
  }
  
  .homebanner .entry-content {
    position: relative;
    z-index: 99; /* Ensures the text is on top of the overlay */
  }
  
  @media only screen and (max-width: 1200px) {
    .main-menu a {
        font-size: 15px;
		padding: 5px;
    }
  }

  @media only screen and (max-width: 990px) {
    .homebanner h1 {
        font-size: 64px;
    }

    .hamburger {
        display: block;
        position: absolute;
        top: 30px;
        right: 10px;

    }

    .header-i {
        position: relative;  /* This makes sure the pseudo-element positions relatively to the header */
    }
    
    .header-i:before {
        content: '';  /* Necessary for the pseudo-element to show */
        position: absolute;  /* Positions the pseudo-element absolutely within the header */
        top: 0;  /* Aligns the top of the pseudo-element with the header */
        left: 0;  /* Aligns the left of the pseudo-element with the header */
        right: 0;  /* Aligns the right of the pseudo-element with the header */
        bottom: 0;  /* Aligns the bottom of the pseudo-element with the header */
        background: rgba(255, 255, 255, 0.85);  /* Semi-transparent white background */
        z-index: 1;  /* Positions the background above the actual background but below the content */
    }
    
    .container, .row, .col-sm-12 {
        position: relative;
        z-index: 2;  /* Ensures that the content is above the semi-transparent background */
    }

    .main-menu li {
        display: block;
    }
    .main-menu a {
        font-size: 15px;
        width: 100%;
        display: block;
		padding: 15px;
    }
    
   .sub-menu {
    width: 100%;
   }
    .menu-item {
      position: relative;
    }
    
    .menu-item .sub-menu {
      display: none; /* Hide sub-menus by default */
    }
    
    .menu-item.has-sub-menu > a::after {
      content: '+'; /* Default symbol */
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 20px;
    }
    
    .menu-item.has-sub-menu.open > a::after {
      content: '-'; /* Symbol when sub-menu is open */
    }
  
    .menu-item {
        position: relative;
      }
      
      .menu-item .sub-menu {
        display: none; /* Hide sub-menus by default */
      }
      
      .menu-item.has-sub-menu > a::after {
        content: '+'; /* Default symbol */
        position: absolute;
        right: 0px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 34px; /* Font size for + symbol */
        width: 36px; /* Fixed width */
        text-align: center; /* Center the symbol */
        display: inline-block; /* Ensure it respects width and height */
      }
      
      .menu-item.has-sub-menu.open > a::after {
        content: '-'; /* Symbol when sub-menu is open */
        font-size: 36px; /* Font size for - symbol */
      }

      .menu-main-menu-container {
        display: none;
      }
  }

  .show-m {
    display: block !important;
  }

  p, ul, td {
    font-weight: 600;
    font-size: 17px;
}

