/*!
Theme Name: Glasser & Glasser
Author: TechArk
Author URI: https://gotechark.com/
Description: This is a custom theme developed by TechArk Team for Glasser & Glasser.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: glasser

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Glasser&Glasser is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

img[width][height] {
  aspect-ratio: attr(width) / attr(height);
}

.skip-link {
  position: absolute;
  /* left: 8px;
  top: 8px; */
  background: #DDD;
  color: #00072c;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  /* z-index: 999999; */
  z-index: 1000000;
  transform: translateY(-150%);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(10px);
  margin-left: 10px;
}

.menu-item-has-children.open > ul {
  display: block;
}

.menu-item-has-children ul a {
  display: block;
}


.menu-item-has-children.open > .sub-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto !important;
}


/* GTranslate keyboard focus styles */
.gt_float_switcher .gt-selected:focus-visible,
.gt_float_switcher .gt_options a:focus-visible {
  outline: 3px solid #0b5ed7;
  outline-offset: 3px;
}

/* Ensure dropdown is usable when opened via keyboard */
.gt_float_switcher .gt_options {
  pointer-events: auto;
}



/*for our attorney page filter issue */

/* Ensure filters are keyboard focusable */
.filter-block select,
.filter-block button {
  pointer-events: auto !important;
}

/* FORCE visible focus on native selects */
select:focus,
select:focus-visible, .wpcf7-form-control:focus {
  outline: 3px solid #0b5ed7 !important;
  outline-offset: 2px;
}
.team-img a:focus {
	outline: 2px solid #0b5ed7 !important;
}

/* Extra safety for WOW / animated sections */
.filter-block select:focus,
.filter-block select:focus-visible {
  outline: 3px solid #0b5ed7 !important;
  outline-offset: 2px;
}


/* Visible focus for news cards */
.news-item:focus-visible {
  outline: 3px solid #0b5ed7;
  outline-offset: 6px;
}

/* Ensure WOW never blocks keyboard */
.news-item {
  pointer-events: auto;
}


/* ================================
   Footer Payment Portal – Focus
   ================================ */

.footer-top .btn:focus,
.footer-top .btn:focus-visible {
  outline: 3px solid #ffffff !important; /* white ring works on dark footer */
  outline-offset: 4px;
}

/* Prevent focus ring from being clipped */
.footer-top .btn {
  position: relative;
  overflow: visible;
}



/* css for partner images */
.partner-image img {
  width: 100%;
  height: auto;
}

/* CSS for solving CLS error  */
/* Reserve space for hero slider BEFORE JS loads */
.slider-section {
  min-height: 520px;
}

.mySwiper,
.mySwiper .swiper-wrapper,
.mySwiper .swiper-slide {
  min-height: 520px;
}


@media (max-width: 768px) {
  .slider-section,
  .mySwiper,
  .mySwiper .swiper-wrapper,
  .mySwiper .swiper-slide {
    min-height: 420px;
  }
}

/* CSS for solving CLS error  for height of announcement bar and notification bar */
.announcement-bar {
  min-height: 48px;
}

.notification-bar {
  min-height: 40px;
}



