/**
* Theme Name: holmesportfolio
* Theme URI: https://holmesportfolio.co.uk/
* Description: A theme designed with accessibility in mind
* Author: David Holmes
* Author URI: https://holmesportfolio.co.uk/
* Requires PHP: 7
* Tested up to: 6.5
* Version: 4.3
* License: holmesportfolio Commercial License
* License URI: https://holmesportfolio.co.uk/hwlicense
* Text Domain: holmesportfolio
*
* @package holmesportfolio
*/

.navbar ul > li a {
  background-color: #fff;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
                Responsive nav menu 
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.navbar ul {
  text-align: center;
  max-width: 100%;
}

.navbar-wrapper {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  position: relative;
  background-size: 100%;
  padding: 5px;
}

.menu-toggle {
  display: block;
  cursor: pointer;
  padding: 14px;
  position: relative;
  top: 0px;
  left: 10px;
  border: 3px solid;
}

.menu-toggle-icon {
  display: block;
  width: 30px;
  height: 4px;
  position: relative;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: inherit;
  position: absolute;
  left: 0;
  transition: transform 0.3s ease;
}

.menu-toggle-icon::before {
  top: -10px;
}

.menu-toggle-icon::after {
  top: 10px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

.navbar.expanded {
  display: block;
}

.navbar .sub-menu {
  display: block;
}

.navbar ul,
.navbar ul ul,
.navbar ul ul ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.navbar ul > li,
.sub-menu ul > li {
  position: relative;
  margin: 0;
}

.navbar ul > li a,
.sub-menu ul > li a {
  display: block;
  padding: 12px 20px;
  border: 3px solid;
  border-radius: 0 !important;
  text-align: left;
  position: relative;
  margin: 0;
  text-decoration: none;
  font-weight: bold;
}

.navbar ul > li.menu-item-has-children > a::after {
  content: " > ";
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: #000;
  font-weight: 1000;
}

/* Submenu items */

.sub-menu {
  display: block;
}

.sub-menu li {
  display: block;
}

.sub-menu ul {
  display: none;
}

.sub-menu ul.sub-menu {
  display: block;
}

.sub-menu ul li {
  position: relative;
}

/* Webkit-based browsers google and apple */
.navbar::-webkit-scrollbar {
  width: 10px;
}

.navbar::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.navbar::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

.navbar::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.no-js .navbar {
  display: block;
}

.js .navbar {
  display: none;
}

@media screen and (min-width: 700px) {
  .navbar {
    position: relative;
    bottom: auto;
    right: 0;
    max-width: 60%;
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
    top: 0px;
  }
}

@media screen and (max-width: 700px) {
  .navbar {
    position: relative;
    bottom: auto;
    right: 0;
    max-width: 100%;
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
    top: 0px;
  }
}

/*Text change for top of menu*/

.centerParentText {
  text-align: center !important;
  pointer-events: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  position: initial !important;
  margin: 0 !important;
  font-weight: normal !important;
}
