/*!
Theme Name: ryblaw-core
Theme URI: http://underscores.me/
Author: ryblaw
Author URI: http://underscores.me/
Description: Optimize custom theme for federal and main website
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: ryblaw
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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

ryblaw 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.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

p {
  margin-top: 0;
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: #4169e1;
}

a:visited {
  color: #800080;
}

a:hover,
a:focus,
a:active {
  color: #191970;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
  cursor: pointer;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
  display: block;
  width: 100%;
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgb(0 0 0 / 6%);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}

.main-navigation ul ul a {
  width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {
  .main-navigation ul {
    display: flex;
  }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.updated:not(.published) {
  display: none;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

.page-template-page-contact .site-footer {
  margin: 0 !important;
}

.reviewCard {
  background: #e9eaec !important;
  border-top: 4px solid #6a87bd;
}

.site-footer a {
  color: #fff !important;
}

@media (max-width: 1199.98px) {
  .team-card {
    margin: 6px 32px;
  }
}

/* FAQ ACCORDION APP
--------------------------------------------- */
.faqaccord {
  margin: 0 auto;
}

.faqaccord p {
  padding-top: 0.725em;
  padding-bottom: 0.725em;
}

.faqaccord-header {
  display: flex;
  align-items: center;
  padding: 15px;
  cursor: pointer;
}

.faqaccord-header h2 {
  margin: 0;
  padding-left: 10px;
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  font-family: "Montserrat", sans-serif;
}

.faqaccord-header::before {
  content: "+";
  font-size: 35px;
  transition: transform 0.2s;
  color: #c45c1b;
}

.faqaccord-item.active .faqaccord-header::before {
  content: "-";
}

.faqaccord-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  padding: 0;
  border-bottom: 2px solid #ddd;
}

.palp-img {
  height: 300px;
  border-radius: 10px;
  background-size: cover !important;
}
.palp-card {
  padding: 10px;
  margin-bottom: 20px;
}
.palp-card--title {
  font-size: 23px;
}
.palp-card--desc {
  font-size: 17px;
}

.sticky-lp {
  position: fixed !important;
  left: 0;
  right: 0;
  z-index: 10;
}

.featured-image {
  /*padding: 0 28px;*/
  background: #f5f5f5;
  margin-bottom: 22px;
}

.featured-image img {
  display: block;
}

/**** Modal ****/
.modal {
  display: none;
  position: fixed;
  z-index: 1005;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  max-width: 800px;
}
.close {
  color: #aaa;
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover {
  color: black;
}
.open-modal-btn {
  padding: 10px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.open-modal-img-btn {
  padding: 0;
  border: 0;
  cursor: pointer;
}
.open-modal-btn:hover {
  background-color: #45a049;
}
.yt-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio (height/width) */
  overflow: hidden;
}
.yt-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*google card*/
.ggl-phone {
  position: fixed;
  bottom: 19px;
  right: 19px;
  display: inline-block;
  padding: 10px 20px;
  background: #c4672d;
  font-size: 34px;
  border-radius: 80px;
  color: #fff;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26) !important;
}

.ggl-card:hover {
  cursor: pointer;
}

.ggl-card__info {
  padding-right: 10px;
}

.ggl-card {
  position: fixed;
  font-size: 12px;
  bottom: 20px;
  left: 20px;
  border-top: 4px solid rgb(64, 166, 86);
  padding: 7px 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26) !important;
  display: flex;
  max-width: 220px;
}

.ggl-card__img {
  padding: 12px 11px;
  padding-left: 9px;
}

.ggl-card img {
  width: 30px;
  height: 30px;
  display: block;
}

.ggl-card--title {
  font-weight: 500;
  line-height: 15px;
}
.ggl-card--rating {
  color: #dc6d04;
  font-size: 17px;
  line-height: 17px;
}
.ggl-card--based {
  color: #555;
  line-height: 15px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 1em;
  font-family: Arial, sans-serif;
}

table th,
table td {
  border: 1px solid #000;
  padding: 8px 12px;
  text-align: left;
}

/* Responsive container for horizontal scrolling */
.wp-block-table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* For smooth scrolling on touch devices */
}

/* faq styling */
.faq-container {
  padding-bottom: 30px;
}
details {
  margin-bottom: 10px;
}

.accordian-title {
  font-family: serif;
  font-size: 27px;
  cursor: pointer;
  position: relative;
  background: transparent;
  padding: 15px;
  padding-right: 18px;
  border-bottom: 1px solid #1c273b;
  color: #1c273b;
}
.entry-content p {
  margin-bottom: 28px;
}

.accordian-text {
  font-size: 20px;
  padding: 0 15px 15px;
  margin-bottom: 0;
  background: transparent;
}

details[open] .accordian-title {
  border-color: transparent;
  color: #b85619;
}

details[open] .accordian-text {
  border-bottom: 1px solid #1c273b;
}

details summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Add custom icons */
summary::before {
  content: "";
  width: 2px;
  height: 21px;
  background: #b85619;
  position: absolute;
  right: 27px;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 20px;
}
summary::after {
  content: "";
  width: 21px;
  height: 2px;
  background: #b85619;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 20px;
}

details[open] summary::before {
  background: transparent;
}

.widget-title {
  color: #1e2733;
  font-size: 31px;
}
.widget-toc .widget-title {
  background: #f9f9f9;
  border-bottom: 2px solid #e9e9e9;
  padding: 15px 17px;
}
.widget-toc {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 17px 0;
  padding-top: 0;
}

.widget-toc a,
.widget-toc a:visited {
  color: #222;
  width: 100%;
  display: block;
  padding: 10px 17px;
}

.widget-toc a:hover {
  color: #b85619;
  background: #f6f6f6;
  text-decoration: none;
}

.widget-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.widget-toc ul li {
  margin: 0;
  padding: 0;
}

/* toc everything */
/* For below lg (max-width: 991.98px) */
@media (max-width: 991.98px) {
  .widget-toc {
    display: none;
  }
}

.table-of-contents {
  position: fixed;
  width: 100%;
  background-color: #f4f8fb;
  top: -135px;
  left: 0;
  z-index: 9999;
  transition: top 0.2s ease;
}

.table-of-contents h2 {
  font-size: 1.175rem;
  line-height: 154.3%;
  font-weight: 400;
  margin: 0 0 16px 0;
}

.table-of-contents .content {
  border-left: 2px solid #0062bc;
  padding-left: 16px;
  padding-bottom: 16px;
}

.in-view {
  padding: 17px 16px 0 16px;
}

.toc-items {
  margin: 0;
  padding: 0 36px 0 20px;
  overflow-x: scroll;
}

.toc-items li {
  padding: 0;
  font-size: 17px;
}

.table-of-contents a,
.table-of-contents a:visited {
  color: #024d94;
  text-decoration: none;
}

.table-of-contents a:hover,
.table-of-contents a:focus {
  color: #024d94;
}

.table-of-contents.visible {
  top: 0;
}

.reviewpg-title {
  margin: auto;
  max-width: 900px;
  text-align: center;
  padding: 28px 0;
  font-size: 28px;
  line-height: 39px;
}
/* For lg and up (min-width: 992px) */
@media (min-width: 992px) {
  .table-of-contents {
    display: none !important;
  }
  .siderba {
    padding-left: 40px;
  }
  .reviewpg-title {
    font-size: 60px;
    line-height: 63px;
  }
}

.toc {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

#fixedNav {
  transition: top 0.2s ease;
}

#fixedNav.invis {
  top: -50px;
}

.table-of-contents .icon-toc::before {
  content: "\e905";
}

.table-of-contents.open .icon-toc::before {
  content: "\e906";
}

.toc-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-items li a {
  display: none;
}

.toc-items li a:hover,
.toc-items li a:active {
  text-decoration: none;
}

.table-of-contents.open .toc-items li a {
  display: block;
  margin-bottom: 12px;
}

.toc-items li .text-active {
  display: block;
}

.table-of-contents.open .toc-items {
  max-height: 89vh;
}

/* Add this as it's own dark.css file and linked on all pages */
/*-- -------------------------- -->
<---      Core Dark Stylles      -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0rem) {
  :root {
    --dark: #172744;
    --medium: #282828;
    --accent: #404040;
    --bodyTextColorWhite: #fafbfc;
  }
  body.dark-mode {
    background-color: var(--dark);
  }
  body.dark-mode p,
  body.dark-mode li,
  body.dark-mode h1,
  body.dark-mode h2,
  body.dark-mode h3,
  body.dark-mode h4,
  body.dark-mode h5,
  body.dark-mode h6,
  body.dark-mode .cs-title,
  body.dark-mode .cs-text,
  body.dark-mode .cs-li,
  body.dark-mode table,
  body.dark-mode .entry-content {
    color: var(--bodyTextColorWhite);
    /* color: #dae7ff; */
  }
  body.dark-mode table th,
  body.dark-mode table td {
    border: 1px solid #fbfbfb;
  }
  body.dark-mode .light {
    display: none;
  }
  body.dark-mode .dark {
    display: block !important;
  }
  body.dark-mode .site-page .banner {
    padding: 0 0 110px;
    background: var(--dark);
  }
  body.dark-mode a,
  body.dark-mode a:visited {
    color: #d2611b;
  }
  body.dark-mode .btn,
  body.dark-mode .main-phone-bbtn,
  body.dark-mode .btn:hover,
  body.dark-mode .main-phone-bbtn:hover {
    color: #fff;
  }
  body.dark-mode .side-contact-form {
    box-shadow: 0 0 1px 1px #ffffffdb;
    background: #26395c;
    border-radius: 4px;
  }
  body.dark-mode .widget-toc,
  body.dark-mode .widget-area {
    box-shadow: 0 0 1px 1px #ffffffdb;
    border: 0;
    background: #26395c;
  }
  body.dark-mode .widget-toc .widget-title,
  body.dark-mode .widget-area .widget-title{
    background: transparent;
    border-bottom: 0;
  }
  body.dark-mode .widget-toc a,
  body.dark-mode .widget-toc a:visited,
  body.dark-mode .widget-area a,
  body.dark-mode .widget-area a:visited {
    color: #fff;
  }
  body.dark-mode .widget-toc a:hover,
  body.dark-mode .widget-area a:hover{
    color: #fff;
    background: #00000026;
  }
  body.dark-mode .site-footer {
    background: #0f1b31;
  }
  body.dark-mode .mapmin {
    background: #26395c;
    border: 1px solid #a3a9b5;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1019607843);
    color: #f1f1f1;
  }
  body.dark-mode .mapmin .title {
    color: #f1f1f1;
  }

  body.dark-mode .reviewCard {
    background: #0000003b !important;
    border-top: 4px solid #ffffff42;
    color: #f1f1f1;
  }

  body.dark-mode .team-card {
    background: #0000004a;
  }

  body.dark-mode .team-card .team-card__name,
  body.dark-mode .team-card .team-card__title,
  body.dark-mode .main-phone-bbtn-mobile {
    color: #f1f1f1;
  }

  body.dark-mode .table-of-contents {
    background-color: #13161a;
    color: #f1f1f1;
  }

  body.dark-mode .table-of-contents .toc-items li a {
    color: #f1f1f1;
  }

  body.dark-mode .table-of-contents .content {
    border-left: 2px solid #c4672d;
  }

  body.dark-mode #site-navigation .menu {
    background: #2e4366;
  }
  body.dark-mode #site-navigation #primary-menu li a,
  body.dark-mode .dropdown-button {
    color: #fff;
  }

  body.dark-mode #site-navigation .sub-menu {
    background: #0003;
    border-left: 43px solid #161a2b;
  }

  body.dark-mode #site-navigation #primary-menu li {
    border-top: 1px solid rgb(25 31 67 / 81%);
  }

  body.dark-mode .accordian-title {
    border-bottom: 1px solid #dcdcdc;
    color: #f0f0f0;
  }
  body.dark-mode details[open] .accordian-title {
    color: #95b3e9;
    border-color: transparent;
  }
  body.dark-mode details[open] .accordian-text {
    border-bottom: 1px solid #f1f1f1;
  }
  body.dark-mode summary::after,
  body.dark-mode summary::before {
    background: #f1f1f1;
  }
  body.dark-mode .btn:hover,
  body.dark-mode .btn:visited:hover {
    color: #b85619;
  }

  .dark {
    /* class used to hide elements that only need to be seen when dark mode is enabled */
    display: none;
  }
}
/*-- -------------------------- -->
<---      Dark Mode Toggle      -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0rem) {
  body.dark-mode #dark-mode-toggle .cs-sun {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
  body.dark-mode #dark-mode-toggle .cs-moon {
    transform: translate(-50%, -150%);
    opacity: 0;
  }
  #dark-mode-toggle {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 3.75rem;
    width: 3rem;
    height: 3rem;
    background: transparent;
    border: none;
    overflow: hidden;
    padding: 0;
  }
  #dark-mode-toggle img,
  #dark-mode-toggle svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1.5625rem;
    height: 1.5625rem;
    pointer-events: none;
  }
  #dark-mode-toggle .cs-moon {
    z-index: 2;
    transition: transform 0.3s, opacity 0.3s, fill 0.3s;
    fill: #333;
  }
  #dark-mode-toggle .cs-sun {
    z-index: 1;
    transform: translate(-50%, 100%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
  }
}
/* Desktop */
@media only screen and (min-width: 64rem) {
  #dark-mode-toggle {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    margin-left: 1.875rem;
    margin-bottom: 0rem;
  }
  #dark-mode-toggle .cs-moon {
    /* change to whatever you need it to be */
    /* fill: #fff; */
  }
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 83px;
  right: 16px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 32px;
  border: 1px solid #ffffff4d;
  background: #e3e3e3;
  padding: 5px;
  font-size: 35px;
  color: #333;
}

body.dark-mode #myBtn {
  border: 1px solid #ffffff4d;
  background-color: #3f4652;
  color: #f1f1f1;
}

#myBtn:hover {
  background-color: #b8561a;
}

.bottom-btn-container {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #fff;
  color: red;
  text-align: center;
  padding: 10px;
  box-shadow: 0 0 2px 2px #0000001a;
  display: none;
  background: #17294b;
  box-shadow: 0 0 1px 1px #ffffff1a;
  z-index: 10;
}
.bottom-btn-container .btn {
  font-size: 20px;
  padding: 14px 23px;
  border-radius: 13px;
}
body.dark-mode .bottom-btn-container {
  background: #151b25;
  box-shadow: 0 0 1px 1px #ffffff1a;
}
.darkmode-container {
  position: fixed;
  left: 0;
  width: 116px;
  height: 53px;
  bottom: 20px;
}
#dark-mode-toggle {
  border: 1px solid #ffffff4d;
  background: #e3e3e3;
  border-radius: 50px;
  margin-bottom: 30px;
}
body.dark-mode #dark-mode-toggle {
  border: 1px solid #00000008;
  background: #ececec;
  border-radius: 50px;
  margin-bottom: 30px;
}
/* location section */
.grey-section {
  padding: 40px;
  background: #f1f1f1;
}
body.dark-mode .grey-section {
  background: transparent;
}
.locbox {
  background: #fff;
  padding: 20px 40px;
}
body.dark-mode .locbox {
  background: #0000006e;
  color: #fff;
  border: 1px solid #d2d6db52;
}

@media (max-width: 991.98px) {
  .locbox {
    background: #fff;
    padding: 20px 30px;
    border: 4px solid #7b8cac;
    margin-bottom: 29px;
  }
  .locbox .map-embed {
    display: none;
  }
  .footer-area {
    text-align: center;
    margin-top: 10px;
  }
  .site-footer {
    padding-bottom: 145px !important;
  }
  .footer-section-full {
    padding: 35px;
  }
  #snippet-goto img {
    display: none;
  }
  #snippet-goto .goto-card {
    margin-bottom: 20px;
  }
  #snippet-goto .goto-card .goto-title {
    padding-top: 0;
    padding-bottom: 11px;
  }
  #snippet-about {
    padding-bottom: 0;
  }
}

body.dark-mode .practice_area_card {
  color: #fff !important;
}
body.dark-mode .practice_area_card .practice_area_card__inner {
  background: #25344f;
}
body.dark-mode .practice_area_card:hover .practice_area_card__inner {
  transition: 0.25s;
  background: #c35b1aab;
}
body.dark-mode .grey-bg {
  background: transparent;
}
body.dark-mode .blogCard {
  background: rgba(0, 0, 0, 0.19);
  border-bottom: 2px solid #b1b1b11e;
}
body.dark-mode .blogCard--title {
  color: #eaeaea;
}

.footer-section-full {
  font-family: "Cinzel", serif;
  font-size: 26px;
  text-align: center;
}
.footer-section-full .menu {
  font-size: 18px;
  font-family: "Open Sans", sans-serif;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 8px;
}
.footer-section-full .menu li {
  padding: 7px 0;
}
body.dark-mode #site-footer-contact .cf8-title {
  color: #172744;
}
/*update*/
body.dark-mode #primary {
    background: transparent;
}

body.dark-mode .btn,
body.dark-mode .main-phone-bbtn,
body.dark-mode .btn:hover,
body.dark-mode .main-phone-bbtn:hover {
    color: #fff;
}
