/* ============================================================================ *
        Structural Styles
    ---------------------------------------------------------------------------
        These are the styles which build the main site layout
        (headers, footers, body, etc.).

        If you are attempting to add styling for any elements placed inside of a 
        Wordpress Editor, use 'editor-content.css' stylesheet.
*/
:root {
  /* PRIMARY COLORS */
  --primary-color: #194461;
  --alt-primary-color-dark: #0c202e;

  /* ACCENT COLORS */
  --accent-color: #4f1f42;

  /* SECONDARY COLORS */
  --secondary-color: #e7e7e7;
  --alt-secondary-color-light: #f2f2f2;
  --alt-secondary-color-dark: #cccccc;

  /* FONTS */
  --heading-font: 'Prata', serif;
  --body-font: 'Lato', sans-serif;

  /* FONT AWESOME */
  /* --font-awesome-5: "Font Awesome 5 Free"; */
  --font-awesome-5: 'Font Awesome 6 Pro';
  --font-brands: 'Font Awesome 5 Brands';
}

body {
  color: #000;
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
}

a {
  color: var(--accent-color);
}

/* ======================================== *
        Header 1
 * ======================================== */
h1,
h1#page-title,
.editor-content h1 {
  color: #fff;
  font-size: 60px;
  font-family: var(--heading-font);
  font-weight: 400;
  line-height: normal;
  margin-bottom: 15px;
}
body:not(.home) h1,
body:not(.home) h1#page-title,
body:not(.home) .editor-content h1 {
  color: #fff;
  font-size: 54px;
  font-family: var(--heading-font);
  font-weight: 400;
}
@media screen and (max-width: 950px) {
  h1,
  h1#page-title,
  .editor-content h1 {
    font-size: 38px;
  }
}

/* ======================================== *
        Header 2
 * ======================================== */
h2,
.tmf-post > h2,
.editor-content h2 {
  color: #000;
  font-size: 36px;
  font-family: var(--heading-font);
  font-weight: 400;
  line-height: normal;
  margin: 20px 0 10px 0;
}
h2 a,
.tmf-post > h2 a,
.editor-content h2 a {
  color: var(--primary-color);
}
body:not(.home) h2,
body:not(.home) .tmf-post > h2,
body:not(.home) .editor-content h2 {
  color: #000;
  font-size: 36px;
  font-family: var(--heading-font);
  font-weight: 400;
}

@media screen and (max-width: 950px) {
  h2,
  .tmf-post > h2,
  .editor-content h2 {
    font-size: 32px;
  }
  body:not(.home) h2,
  body:not(.home) .tmf-post > h2,
  body:not(.home) .editor-content h2 {
    font-size: 32px;
  }
}

/* ======================================== *
        Header 3
 * ======================================== */
h3,
.tmf-post > h3,
h3.tmf-module-title {
  color: #000;
  font-size: 30px;
  font-family: var(--heading-font);
  font-weight: 400;
  line-height: normal;
  margin-bottom: 15px;
}
h3 a,
.tmf-post > h3 a,
h3.tmf-module-title a {
  color: var(--accent-color);
  text-decoration: none;
}
h3 a:hover,
.tmf-post > h3 a:hover,
h3.tmf-module-title a:hover {
  text-decoration: underline;
}
body:not(.home) h3,
body:not(.home) .tmf-post > h3,
body:not(.home) h3.tmf-module-title {
  color: #000;
  font-size: 30px;
  font-family: var(--heading-font);
  font-weight: 400;
}

@media screen and (max-width: 950px) {
  h3,
  .tmf-post > h3,
  h3.tmf-module-title {
    font-size: 26px;
  }
}

/* ======================================== *
        Header 4
 * ======================================== */
h4,
.tmf-post > h4 {
  color: #000;
  font-size: 24px;
  font-family: var(--body-font);
  font-weight: 700;
  line-height: normal;
  margin-bottom: 15px;
}
h4 a,
.tmf-post > h4 a {
  color: var(--accent-color);
  text-decoration: none;
}
h4 a:hover,
.tmf-post > h4 a:hover {
  text-decoration: underline;
}
body:not(.home) h4,
body:not(.home) .tmf-post > h4 {
  color: #000;
  font-size: 24px;
  font-family: var(--body-font);
  font-weight: 700;
}

@media screen and (max-width: 950px) {
  h4,
  .tmf-post > h4 {
    font-size: 22px;
  }
}

/* ======================================== *
        Header 5
 * ======================================== */
h5 {
  color: #000;
  font-size: 18px;
  font-family: var(--body-font);
  font-weight: 900;
  line-height: normal;
  margin-bottom: 15px;
}
h5 a {
  color: var(--accent-color);
  text-decoration: none;
}
h5 a:hover {
  text-decoration: underline;
}
body:not(.home) h5 {
  color: #000;
  font-size: 18px;
  font-family: var(--body-font);
  font-weight: 900;
}

/* ======================================== *
        Header 6
 * ======================================== */
h6 {
  color: #000;
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3em;
  margin-bottom: 15px;
}
h6 a {
  color: var(--accent-color);
  text-decoration: none;
}
h6 a:hover {
  text-decoration: underline;
}
body:not(.home) h6 {
  color: #000;
  font-size: 16px;
  font-family: var(--body-font);
  font-weight: 700;
}

/* ======================================== *
        Breadcrumbs
 * ======================================== */
#breadcrumbs {
  color: #000;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 400;
  margin: 0 0 25px;
  line-height: 22px;
  overflow: hidden;
}
#breadcrumbs span.bread-divider {
  margin: 0 5px;
  color: #8c8c8c;
}
#breadcrumbs a {
  color: #000;
  text-decoration: none;
}
#breadcrumbs .current {
  color: #000;
  font-weight: 600;
  font-size: 14px;
}

@media screen and (max-width: 700px) {
  #breadcrumbs {
    display: none;
  }
}

/* ======================================== *
        Call to Action
 * ======================================== */
/* body #call-to-action {
  position: relative;
  display: flex;
  align-items: center;
  background: transparent !important;
  margin: 25px 0;
  padding: 50px 0;
}
#call-to-action .left {
  background: var(--primary-color);
  border: 2px solid #fff;
  padding: 50px 20px;
  position: relative;
  z-index: 1;
}
#call-to-action .left h3 {
  color: #fff;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  margin-bottom: 0;
}
#call-to-action .right {
  background: var(--secondary-color);
  padding: 100px 25px;
  margin-left: -150px;
  padding-left: 180px;
  text-align: left;
}
#call-to-action .right p {
  color: #fff;
}
#call-to-action .right .tmf-button {
  color: #fff !important;
}
@media screen and (max-width: 1250px) {
  body #call-to-action {
    flex-direction: column;
  }
  #call-to-action .left {
    border-left: none;
    border-right: none;
  }
  #call-to-action .right {
    padding: 50px 25px;
    margin-left: unset;
  }
  body #call-to-action {
    padding: 20px 0;
  }
} */

/* ======================================== *
        Aside
 * ======================================== */
/* aside {
  float: right;
  box-sizing: border-box;
  width: 300px;
  margin: 0 10px;
  padding: 15px 27px;
  background: var(--alt-primary-color-light);
  border: 1px solid var(--alt-secondary-color-dark);
  color: #364a36;
  font-family: var(--body-font);
  font-size: 20px;
  font-weight: 700;
}
.editor-content aside p {
  font-family: var(--body-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 34px;
  color: #364a36;
}
@media screen and (max-width: 700px) {
  aside {
    float: none;
    width: 100%;
    margin: 15px 0px;
  }
} */

/* ======================================== *
        Callout
 * ======================================== */
#callout {
  position: relative;
  box-sizing: border-box;
  background: transparent;
  padding: 35px 45px;
  margin: 35px 0;
  position: relative;
}
#callout::before,
#callout::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 66px;
}
#callout::before {
  top: 0;
  left: 0;
  border-left: 8px solid #d9d9d9;
  border-top: 8px solid #d9d9d9;
}
#callout::after {
  bottom: 0;
  right: 0;
  border-right: 8px solid #d9d9d9;
  border-bottom: 8px solid #d9d9d9;
}
#callout h3,
#callout h4,
#callout p {
  font-family: var(--body-font);
  font-weight: 700;
  font-style: italic;
  font-size: 24px;
  line-height: 28px;
  margin: 0;
  text-align: center;
}

/* ======================================== *
        Sticky Header
 * ======================================== */
body #header-wrapper.sticky {
  transition: all 0.33s cubic-bezier(0.694, 0.0482, 0.335, 1);
  top: 0px;
  left: 0;
  position: fixed !important;
  -moz-background-clip: border;
  -webkit-background-clip: border;
  background-clip: border-box;
  -moz-background-clip: padding;
  -webkit-background-clip: padding;
  background-clip: padding-box;
  -moz-background-clip: content;
  -webkit-background-clip: content;
  background-clip: content-box;
  background: var(--secondary-color);
  border-bottom: none;
  min-height: auto;
  width: 100%;
  z-index: 2;
  box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
  padding: 10px 0;
}
/* Handles sticky when admin Bar is showing */
body #header-wrapper.sticky.sticky_animate {
  top: 0;
}
body.admin-bar #header-wrapper.sticky.sticky_animate {
  top: 32px;
}

/* ----- both cells ----- */
body #header-wrapper.sticky #header #header-cell-1,
body #header-wrapper.sticky #header #header-cell-2 {
  display: table-cell;
  vertical-align: middle;
}

/* ----- cell 1 ------ */
/* hides normal logo on sticky */
body #header-wrapper.sticky #header .logo {
  display: none;
}
body #header-wrapper.sticky #header .sticky-logo {
  max-width: 275px;
  height: auto;
  width: 100%;
  display: block;
  text-align: center;
  margin: 0 auto;
}
body #header-wrapper.sticky #header .sticky-logo-view {
  align-items: center;
  display: flex;
  width: 100%;
}

/* ----- cell 2 ----- */
body #header-wrapper.sticky #header-cell-2 {
  width: 100%;
  display: block;
}
body #header-wrapper.sticky #header-cell-2 .inner {
  display: table;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
body #header-wrapper.sticky .desktop-view {
  display: none;
}

/* sticky menu */
body #header-wrapper.sticky #header .sticky-logo-view #primary-nav-wrapper {
  flex-grow: 1;
}
body #header-wrapper.sticky #header #primary-nav-wrapper {
  margin-top: 0;
}
body #header-wrapper.sticky #header-cell-2 #primary-nav-container {
  max-width: 100%;
}
body #header-wrapper.sticky #primary-nav .menu {
  justify-content: space-between;
}
body #header-wrapper.sticky #primary-nav .menu > .menu-item > a {
  color: var(--alt-primary-color-dark);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: normal;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  padding: 10px 0;
  /* margin-bottom: 7px; */
  position: relative;
  height: auto;
}
body #header-wrapper.sticky #primary-nav .menu li a:hover {
  color: var(--alt-primary-color-dark);
}
#header-wrapper.sticky #primary-nav .menu > .menu-item.home-icon a::before {
  color: var(--alt-primary-color-dark);
}

/* sticky sub-menu */
body #header-wrapper.sticky #primary-nav .menu .sub-menu {
  min-width: 250px;
  top: 0;
  left: 0;
  box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
}

body #header-wrapper.sticky #primary-nav .menu > li.left-edge > div > ul {
  left: inherit;
  right: 0;
}

body #header-wrapper.sticky #primary-nav .menu .sub-menu .menu-item {
  background: var(--accent-color);
}

body #header-wrapper.sticky #primary-nav .menu .sub-menu .menu-item > a {
  font-size: 16px;
  padding: 10px 15px;
  color: #fff;
  font-weight: 500;
  transition: all 0.25s ease;
}

/* sticky sub menu's sub menu */
body #header-wrapper.sticky #primary-nav .menu .sub-menu .sub-menu {
  left: 100%;
}

body #header-wrapper.sticky #primary-nav .menu .sub-menu .menu-item:hover > a {
  background-color: var(--accent-color);
  color: #fff;
}
body #header-wrapper.sticky #primary-nav .menu .sub-menu .menu-item {
  background: var(--primary-color);
}

@media screen and (max-width: 1250px) {
  body #header-wrapper.sticky #header .sticky-logo-view {
    display: none;
  }
}

/* ======================================== *
      Header top Bar Section
* ======================================== */
#header-top-bar-wrapper {
  background: var(--alt-primary-color-dark);
  padding: 15px 0;
}
#header-top-bar-container {
  max-width: 90%;
}
#header-top-bar a {
  color: #fff;
  text-decoration: none;
}
#header-top-bar a:hover {
  text-decoration: underline;
}
#header-top-bar .phone-1 a {
  font-weight: 700;
  font-size: 20px;
}
#header-top-bar .phone-1 a::before {
  content: '\f095';
  margin-right: 5px;
  transform: rotate(10deg);
  color: #fff;
  font-size: 18px;
  font-family: 'Font Awesome 6 Pro';
  font-weight: 300;
  display: inline-block;
}
#header-top-bar .appointment a {
  position: relative;
}
#header-top-bar .appointment a::before {
  content: '\f783';
  margin-right: 10px;
  color: #fff;
  font-size: 16px;
  font-family: 'Font Awesome 6 Pro';
  font-weight: 300;
  display: inline-block;
}
#header-top-bar .header-top .tmf-module-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
}

@media screen and (max-width: 950px) {
  #header-top-bar-wrapper {
    display: none;
  }
}

/* ======================================== *
      Header Section
* ======================================== */
#header-wrapper {
  background: var(--secondary-color);
  padding: 15px 0;
}
.home #header-wrapper {
  background: transparent;
  position: absolute;
  width: 100%;
  z-index: 2;
}
#header-container {
  max-width: 90%;
}

/* cell 1 & 2 */
#header-cell-1,
#header-cell-2 {
  vertical-align: middle;
}
.header-top .tmf-module-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* cell 1 */
#header .logo {
  max-width: 330px;
  width: 100%;
  height: auto;
}
#header .sticky-logo-view {
  display: none;
}
#header-cell-1 {
  vertical-align: bottom;
}
#header-cell-1 .mobile-view {
  display: flex;
  justify-content: flex-end;
}
#header-cell-1 .mobile-view {
  display: none;
}
#header-cell-1 .mobile-view a {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

/* cell 2 */
#header-cell-2 .inner {
  padding-left: 0;
}
#header-cell-2 .desktop-view {
  display: flex;
  justify-content: flex-end;
}
#header .sticky-view {
  display: none;
}
#header-cell-2 .desktop-view a {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}
#header .header-top a:hover {
  text-decoration: underline;
}
#header .header-top .phone-1 a,
#header .header-top .email a {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
#header .header-top .phone-1 a::before,
#header .header-top .email::before {
  margin-right: 7px;
  width: 18px;
  height: 18px;
  color: var(--alt-accent-color-light);
  font-size: 18px;
  font-family: var(--font-awesome-5);
  font-weight: 600;
  display: inline-block;
  vertical-align: top;
}
#header .header-top .email::before {
  content: '\f0e0';
}
#header .sticky-view .phone-1 a::before,
#header .mobile-view .phone-1 a::before,
#header .desktop-view .phone-1 a::before {
  content: '\f095';
  transform: rotate(10deg);
}

@media screen and (max-width: 1450px) {
  #header-cell-2 .inner {
    padding: 0;
    display: block;
  }
}
@media screen and (max-width: 1200px) {
  #header-cell-1 {
    margin-bottom: 10px;
  }
  #header-cell-2 {
    padding-top: 0;
  }
  #header-cell-2 .inner {
    padding: 0;
    display: block;
  }
  .header-top-row {
    display: table;
    width: 100%;
  }
  #header .main-logo {
    box-sizing: border-box;
    display: table-cell;
    vertical-align: top;
  }
  #header .main-logo {
    width: 300px;
  }
  #header-cell-2 .desktop-view {
    display: none;
  }
  #header-cell-1 .mobile-view {
    display: flex;
  }
  #header-cell-1 .mobile-view .tmf-module-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 10px;
  }
}
@media screen and (max-width: 1050px) {
  #header-container {
    max-width: 95%;
  }
}

@media screen and (max-width: 950px) {
  .home #header-wrapper {
    background: var(--secondary-color);
    position: static;
  }
  .home .header-billboard-wrap .header-wrap {
    position: relative;
  }
  #header-cell-1 .inner {
    padding-right: 25px;
  }
  #header .main-logo {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0;
  }
  #header-cell-2 {
    position: unset;
  }
  #header-container {
    max-width: 100%;
  }
  #header-cell-1 .mobile-view {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  #header .logo {
    width: 100%;
    height: auto;
  }
}

/* ======================================== *
      Primary Navigation
* ======================================== */
#primary-nav-wrapper {
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 16px;
  margin-top: 10px;
}
#primary-nav-container {
  max-width: 100% !important;
  margin: 0 auto;
}
#primary-nav .menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
#primary-nav .menu > .menu-item > a {
  color: var(--alt-primary-color-dark);
  font-family: var(--body-font);
  font-size: 18px;
  line-height: normal;
  font-weight: 700;
  padding: 10px 0;
  text-decoration: none;
  position: relative;
  height: auto;
}
.home #primary-nav .menu > .menu-item > a {
  color: var(--alt-primary-color-dark);
  font-family: var(--body-font);
  font-size: 18px;
  line-height: normal;
  font-weight: 700;
  padding: 10px 0;
  text-decoration: none;
}

/* -- Menu Item Hover animation -- */
#primary-nav .menu > .menu-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 0%;
  height: 0;
  margin: 0 auto;
  background-position: center bottom;
  transition: width 0.35s ease-out;
}
#primary-nav .menu > .menu-item:hover > a::after,
#primary-nav .menu > .menu-item.current-menu-item > a::after,
#primary-nav .menu > .menu-item.current-menu-item > a:hover::after,
#primary-nav .menu > .menu-item.current-menu-item > a:focus::after {
  background-color: var(--accent-color);
  width: 80%;
  height: 2px;
}

/* --- Home Icon --- */
#primary-nav .menu > .menu-item.home-icon a {
  font-size: 0 !important;
}
#primary-nav .menu > .menu-item.home-icon a::before {
  content: '\f015';
  color: var(--alt-primary-color-dark);
  font-size: 20px;
  font-family: var(--font-awesome-5);
  font-weight: 700;
  display: inline-block;
  font-display: block;
}
#primary-nav .menu > .menu-item.home-icon a::after {
  display: none;
}

/* -- sub menu -- */
#primary-nav .menu .sub-menu {
  top: 0;
  left: 0;
  box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
  width: 250px;
  background: var(--primary-color);
}
#primary-nav .menu > li.left-edge > div > ul {
  left: inherit;
  right: 0;
}
#primary-nav .menu .sub-menu .menu-item {
  background: var(--primary-color);
}
#primary-nav .sub-menu-columns ul.sub-menu li {
  display: inline-block;
}
#primary-nav .menu .sub-menu .menu-item > a {
  font-size: 16px;
  padding: 10px 15px;
  color: #fff;
  font-weight: 600;
}
#primary-nav .menu .sub-menu .menu-item:hover > a {
  background-color: var(--accent-color);
  color: #fff;
  height: 100%;
  box-sizing: border-box;
}

/* sub menu's sub menu */
#primary-nav .menu .sub-menu .sub-menu {
  left: 100%;
}

@media screen and (min-width: 1650px) {
  #primary-nav .menu {
    justify-content: end;
    gap: 45px;
  }
}

@media screen and (max-width: 1300px) {
  #primary-nav .menu > .menu-item > a,
  .home #primary-nav .menu > .menu-item > a {
    font-size: 16px;
  }
}

@media screen and (max-width: 1200px) {
  #primary-nav-wrapper {
    width: 95%;
    margin: 0 auto;
  }
  #primary-nav .menu > .menu-item > a,
  .home #primary-nav .menu > .menu-item > a {
    font-size: 18px;
  }
}

/* ======================================== *
      Mobile Header Bottom Section
* ======================================== */
#mobile-header-bottom a.mh-button::before {
  background: #ffffff;
  border-radius: 50%;
  box-sizing: border-box;
  content: '\f155';
  color: #000000;
  font-size: 18px;
  font-family: var(--font-awesome-5);
  font-weight: 700;
  display: flex;
  width: 45px;
  height: 45px;
  margin: 0 auto 10px;
  align-items: center;
  justify-content: center;
}
#mobile-header-bottom {
  padding: 15px 0 15px;
}
#mobile-header-bottom .location-phone a,
#mobile-header-bottom .location-email a,
#mobile-header-bottom .location-phone a,
#mobile-header-bottom .location-email a,
#mobile-header-bottom .mobile-header-button a,
#mobile-header-bottom .menu-bar-container .menu-label {
  font-family: var(--body-font);
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  line-height: normal;
  display: block;
}
#mobile-header-bottom-cell-1,
#mobile-header-bottom-cell-2,
#mobile-header-bottom-cell-3,
#mobile-header-bottom-cell-4 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  max-width: 100%;
  width: auto;
  padding: 0 15px;
}
#mobile-header-bottom-row {
  display: flex;
  width: 100%;
  position: relative;
  align-items: flex-start;
  justify-content: center;
}
#mobile-header-bottom a.phone::before {
  content: '\f095';
}

/* ======================================== *
  Mobile Menu
* ======================================== */
#mobile-nav-wrapper {
  text-align: left;
}
#mobile-nav {
  padding: 0px 20px;
}
.hamburger-container {
  max-width: none;
  margin-bottom: 0;
}
#mobile-nav .menu-bar {
  width: 35px;
}
#mobile-nav a {
  color: #fff;
  font-size: 18px !important;
}
#mobile-nav .menu > .menu-item > a {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
#mobile-nav .menu .menu-item.display {
  background: var(--accent-color);
}
#mobile-nav .top-part .mob-cancel-button {
  color: #fff;
}
#mobile-nav .menu .sub-menu .menu-item {
  padding: 5px 30px;
}
#mobile-nav .menu > .current-menu-item,
#mobile-nav .menu > .menu-item:hover {
  background: var(--accent-color);
}
#mobile-nav .mobile-menu .current-menu-item {
  background: transparent;
}

/* ======================================== *
      Mobile Nav Menu Multiple Locations
* ======================================== */
.mobile-location .tmf-post-list {
  display: flex;
  flex-wrap: nowrap;
}
.tmf-post.location.mobile-location .location-small-1 {
  border: 0;
}
.tmf-post.location.mobile-location .location-small-container {
  max-width: 570px;
  margin: 0 auto;
  border-right: 1px solid var(--primary-color);
}
.tmf-post.location.mobile-location.last-post .location-small-container {
  border: none;
}
.tmf-post.location.mobile-location,
.tmf-post.location.mobile-location a {
  color: #000000 !important;
  position: relative;
}
.tmf-post.location.mobile-location .location-small-1 {
  padding: 0;
}
.tmf-post.location.mobile-location .map-label {
  font-size: 20px;
  top: 20px;
}

@media screen and (max-width: 600px) {
  .mobile-location .tmf-post-list {
    flex-wrap: wrap;
  }
  .mobile-location .tmf-post-list .first-post {
    margin-bottom: 0;
  }
  .mobile-location .tmf-post-list .last-post {
    margin-top: 0;
  }
  .tmf-post.location.mobile-location .location-small-container {
    border-right: none;
  }
}

/* ======================================== *
    Billboard
 * ======================================== */
#billboard-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--primary-color);
}
#billboard-container {
  max-width: 100%;
}
#billboard .billboard-content-container {
  box-sizing: border-box;
  padding: 0;
  position: absolute;
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
}
#billboard .billboard-content {
  box-sizing: border-box;
  position: relative;
  padding: 0;
}
#billboard h1 {
  margin: 0;
}

@media screen and (max-width: 950px) {
  #billboard .billboard-content-container {
    background: var(--alt-primary-color-dark);
    transform: inherit;
    padding: 20px 25px;
    width: 100%;
    position: relative;
    left: unset;
    bottom: unset;
  }
  #billboard .billboard-content {
    background: transparent;
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 550px) {
  #billboard .billboard-content {
    margin: 0 auto;
  }
}

@media screen and (max-width: 500px) {
  #billboard .billboard-content .tmf-module-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-between;
  }
}

/*---------------------------
*   Billboard Slider
*---------------------------*/
#billboard .billboard-slides {
  position: relative;
  height: 650px;
}
#billboard .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#billboard .slide img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
#billboard .mobile-view {
  position: relative;
  display: none;
}

/* @media screen and (min-width: 2400px) {
  #billboard .billboard-slides {
    height: 950px;
  }
}

@media screen and (min-width: 1951px) and (max-width: 2399px) {
  #billboard .billboard-slides {
    height: 950px;
  }
}

@media screen and (min-width: 1700px) and (max-width: 1950px) {
  #billboard .billboard-slides {
    height: 900px;
  }
}

@media screen and (min-width: 1450px) and (max-width: 1699px) {
  #billboard .billboard-slides {
    height: 750px;
  }
} */
@media screen and (min-width: 2950px) {
  #billboard .billboard-slides {
    height: 950px;
  }
}

@media screen and (min-width: 2500px) and (max-width: 2949px) {
  #billboard .billboard-slides {
    height: 850px;
  }
}

@media screen and (min-width: 1920px) and (max-width: 2499px) {
  #billboard .billboard-slides {
    height: 750px;
  }
}

@media screen and (max-width: 950px) {
  #billboard .billboard-slides {
    height: 400px;
  }
  #billboard .desktop-view {
    display: none;
  }
  #billboard .mobile-view {
    display: block;
  }
}

@media screen and (max-width: 750px) {
  #billboard .billboard-slides {
    height: 300px;
  }
}

@media screen and (max-width: 600px) {
  #billboard .billboard-slides {
    height: 275px;
  }
}

/* ======================================== *
        Under Billboard Blocks
 * ======================================== */
#under-billboard-container {
  max-width: 90%;
}
#under-billboard #under-billboard-row {
  margin-top: -50px;
}
/* Blocks */
#under-billboard .billboard-block {
  background: var(--secondary-color);
  padding: 25px 45px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 146px;
  border-radius: 5px;
}
#under-billboard .billboard-block::before {
  content: '';
  background: url('../images/sumner-pattern-white.png') repeat-x;
  opacity: 0.4;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  transition: background 0.25s ease;
}
#under-billboard .editor-content a {
  text-decoration: none;
}
#under-billboard .editor-content a:hover {
  text-decoration: none;
}
#under-billboard .billboard-block .icon i {
  font-size: 75px;
  color: var(--primary-color);
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
}
#under-billboard .billboard-block .info {
  position: relative;
  z-index: 1;
}
#under-billboard .billboard-block .title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  transition: all 0.25s ease;
}
#under-billboard .billboard-block .description {
  color: #000;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.25s ease;
}
/* block hover*/
#under-billboard .billboard-block:hover::before {
  content: '';
  background: url('../images/sumner-pattern.png') repeat-x;
  opacity: 0.3;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  transition: background 0.25s ease;
}
#under-billboard .billboard-block:hover .icon i {
  color: #fff;
}
#under-billboard .billboard-block:hover {
  background: var(--accent-color);
}
#under-billboard .billboard-block:hover .title {
  color: #fff;
}
#under-billboard .billboard-block:hover .description {
  color: #fff;
}

@media screen and (max-width: 1515px) {
  #under-billboard .billboard-block {
    min-height: 176px;
  }
  #under-billboard .billboard-block .icon i {
    font-size: 55px;
  }
}

@media screen and (max-width: 1435px) {
  #under-billboard .billboard-block {
    flex-direction: column;
    justify-content: center;
    gap: 0;
    text-align: center;
  }
  #under-billboard .billboard-block .icon i {
    margin-bottom: 10px;
  }
  #under-billboard .billboard-block {
    min-height: 220px;
  }
}
@media screen and (max-width: 1160px) {
  #under-billboard .billboard-block {
    padding: 25px 25px;
  }
}

@media screen and (max-width: 1000px) {
  #under-billboard #under-billboard-row {
    margin-top: 35px;
  }
  #under-billboard .billboard-block {
    padding: 25px 25px;
  }
  #under-billboard .billboard-block {
    padding: 25px 45px;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 15px;
    text-align: left;
    min-height: 146px;
  }
  #under-billboard .billboard-block .icon i {
    margin-bottom: 0;
  }
}
@media screen and (max-width: 550px) {
  #under-billboard-container {
    max-width: 100%;
  }
  #under-billboard .billboard-block {
    flex-direction: column;
    justify-content: center;
    gap: 0;
    text-align: center;
  }
  #under-billboard .billboard-block .icon i {
    margin-bottom: 10px;
  }
  #under-billboard .billboard-block {
    min-height: 220px;
  }
}

/* ======================================== *
        Int Billboard Section
 * ======================================== */
#int-billboard-wrapper {
  overflow: hidden;
}
#int-billboard-container {
  max-width: 100% !important;
}
#int-billboard .int-billboard-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 250px;
  -o-object-fit: cover;
  object-fit: cover;
}
#int-billboard-cell-1,
#int-billboard-cell-2 {
  vertical-align: middle;
}
#int-billboard-cell-1 .inner {
  padding: 0;
}
#int-billboard img {
  width: 100%;
  display: block;
}
#int-billboard .int-billboard-content {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  right: 0;
  z-index: 1;
  padding: 0;
  transform: translate(-50%, -50%);
}
#int-billboard .int-billboard-title {
  background: rgba(24, 67, 96, 0.8);
  box-sizing: border-box;
  display: inline-block;
  max-width: 100%;
  padding: 40px 25px;
  position: relative;
  width: 100%;
}
#int-billboard h1#page-title {
  color: #fff;
  margin-bottom: 0;
  text-align: center;
}
#int-billboard .sub-title {
  text-align: center;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-top: 10px;
}
#int-billboard .mobile-view {
  display: none;
}

@media screen and (max-width: 1680px) {
  #int-billboard .int-billboard-content {
    max-width: 100%;
  }
  #int-billboard h1#page-title {
    font-size: 44px;
    line-height: 50px;
  }
}

@media screen and (max-width: 950px) {
  #int-billboard .int-billboard-content {
    position: inherit;
    top: inherit;
    left: inherit;
    right: inherit;
    z-index: inherit;
    transform: inherit;
    max-width: 100%;
    /* padding: 0 5%; */
    background: var(--primary-color);
  }
  #int-billboard .int-billboard-title {
    display: block;
  }
  #int-billboard .int-billboard-title:before {
    display: none;
  }
  #int-billboard h1#page-title {
    font-size: 38px;
    line-height: 50px;
  }
}

/* ======================================== *
        Int Title Section
 * ======================================== */
#int-title-wrapper {
  background: var(--primary-color);
}
#int-title-wrapper .title-arrow {
  display: none;
}
#int-title-container {
  max-width: 90%;
}
#int-title {
  padding: 25px;
}
#int-title #int-title-cell-1 {
  padding: 25px 0 !important;
  position: relative;
}
#int-title #int-title-cell-2 {
  vertical-align: middle;
}
#int-title #int-title-cell-2 .inner {
  display: flex;
  justify-content: flex-end;
  padding: 0 25px;
}
#int-title #int-title-cell-2 #breadcrumbs {
  margin: 0;
}
#int-title h1#page-title {
  margin-bottom: 0;
  font-size: 44px;
}

@media screen and (max-width: 1050px) {
  #int-title #int-title-cell-1::after {
    content: '';
    background: var(--alt-accent-color-dark);
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    right: -100%;
  }
  #int-title #int-title-cell-2 {
    padding: 25px 0;
  }
}

@media screen and (max-width: 950px) {
  #int-title h1#page-title {
    font-size: 34px;
  }
}

@media screen and (max-width: 700px) {
  #int-title-cell-2 {
    display: none;
  }
}

/* ======================================== *
        Home Body Section
 * ======================================== */
#home-body-wrapper {
  padding: 150px 0 100px;
  overflow: hidden;
}
#home-body-container {
  max-width: 90%;
}

/* Cell 1 */
#home-body h2 {
  margin-top: 0;
}

/* Cell 2 */
#home-body-cell-2 {
  vertical-align: middle;
}
#home-body .video-img {
  position: relative;
  text-align: center;
}
#home-body .video-img:hover {
  cursor: pointer;
}
#home-body .video-img::after {
  content: '';
  display: block;
  position: absolute;
  right: -50%;
  top: -50px;
  bottom: -50px;
  background: var(--secondary-color);
  width: 100%;
  z-index: -1;
}

@media screen and (max-width: 1375px) {
  #home-body .video-thumb-img {
    width: 100%;
    height: auto;
    max-width: 534px;
  }
  #player-container iframe {
    max-width: 100%;
  }
}

@media screen and (max-width: 1000px) {
  #home-body-wrapper {
    margin-top: 0;
    margin-bottom: 0;
    padding: 50px 0 50px;
  }
  #home-body {
    text-align: left;
    margin-top: 0;
  }
  #home-body-cell-2 {
    padding: 50px 0 0;
  }
  #home-body .video-img::after {
    display: none;
  }
}

@media screen and (max-width: 550px) {
  #home-body-container {
    max-width: 100%;
  }
}

/* ======================================== *
        Body Section
 * ======================================== */
#body-container {
  max-width: 90%;
}
#body .custom-inner {
  padding: 0 25px;
}
#body-wrapper {
  padding: 50px 0;
}
#body #body-cell-2 {
  position: relative;
}

@media screen and (max-width: 1050px) {
  #body-wrapper {
    margin-top: 0;
    overflow: hidden;
  }
}

@media screen and (max-width: 550px) {
  #body-container {
    max-width: 100%;
  }
}

/* ======================================== *
        Home Practice Area Section
 * ======================================== */
#home-practice-areas-wrapper {
  background: url('../images/home_our-immig-srvcs_bg_3x.jpg') no-repeat center center/cover;
  box-sizing: border-box;
}
#home-practice-areas-container {
  max-width: 100%;
}
#home-practice-areas-row {
  max-width: 90%;
  margin: 0 auto;
  z-index: 1;
  position: absolute;
  bottom: -95px;
  left: 50%;
  transform: translateX(-50%);
}
#home-practice-areas {
  position: relative;
  min-height: 470px;
}

/* title row */
#home-practice-areas-title-row {
  padding-top: 100px;
}
#home-practice-areas h2 {
  text-align: center;
  color: #fff;
}

/* blocks*/
#home-practice-areas a {
}
#home-practice-areas a:hover {
  text-decoration: none;
}
#home-practice-areas .pa-block {
  background: var(--primary-color);
  padding: 45px;
  text-align: center;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}
#home-practice-areas .pa-block::before {
  content: '';
  background: url('../images/sumner-pattern.png') repeat-x;
  opacity: 0.3;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  transition: background 0.25s ease;
}
#home-practice-areas a:hover .pa-block {
  background: var(--accent-color);
}
#home-practice-areas .pa-block .read-more,
#home-practice-areas .pa-block .title,
#home-practice-areas .pa-block .pa-icon {
  position: relative;
  z-index: 1;
}
#home-practice-areas .pa-block .pa-icon i {
  color: #fff;
  font-size: 80px;
  margin-bottom: 10px;
}
#home-practice-areas .pa-block .title {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}
#home-practice-areas .pa-block .read-more {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

@media screen and (max-width: 1200px) {
  #home-practice-areas .pa-block {
    padding: 45px 25px;
  }
}

@media screen and (max-width: 1000px) {
  #home-practice-areas-title-cell-1 {
    padding-bottom: 25px;
  }
  #home-practice-areas-row {
    position: relative;
    transform: unset;
    left: unset;
    bottom: unset;
    margin-bottom: -100px;
  }
  #home-practice-areas .pa-block .pa-icon i {
    font-size: 35px;
  }
  #home-practice-areas-title-row {
    padding-top: 50px;
  }
  #home-practice-areas h2 {
    margin-bottom: 50px;
  }
  #home-practice-areas-row {
    position: absolute;
    left: 50%;
    bottom: -309px;
    transform: translatex(-50%);
    margin-bottom: 0;
  }
}

/* ======================================== *
        Practice Area Sidebar Section
 * ======================================== */
.tmf-module-practice-areas-sidebar {
  padding: 45px;
  background: url('../images/home_practice_areas_bg_3x.jpg') no-repeat center center/cover;
  outline-offset: -15px;
  outline: 2px solid #bfbba3;
}
.tmf-module-practice-areas-sidebar .tmf-post {
  padding: 0;
  margin: 0;
  border: 0;
  margin-bottom: 15px;
}
.tmf-module-practice-areas-sidebar .tmf-post .pa-listing a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 20px;
}
.tmf-module-practice-areas-sidebar .tmf-post .pa-listing a .title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.tmf-module-practice-areas-sidebar .tmf-post .pa-listing a .pa-icon {
  width: 38px;
  height: 33px;
  background: url('../images/icon_sprite_practice_areas_3x.png') no-repeat;
  background-size: 38px;
  transition: transform 0.25s ease;
}
.tmf-module-practice-areas-sidebar .tmf-post .pa-listing a:hover .pa-icon {
  transform: scale(1.2);
}
.tmf-module-practice-areas-sidebar .tmf-post .pa-listing.trial-services a .pa-icon {
  background-size: 42px;
  background-position: 1px 0;
}
.tmf-module-practice-areas-sidebar .tmf-post .pa-listing.criminal-defense a .pa-icon {
  background-position: 2px -49px;
}
.tmf-module-practice-areas-sidebar .tmf-post .pa-listing.lemon-law a .pa-icon {
  background-position: 0px -97px;
}
.tmf-module-practice-areas-sidebar .tmf-post .pa-listing.sex-trafficking a .pa-icon {
  background-position: 0px -147px;
}
.tmf-module-practice-areas-sidebar .tmf-post .pa-listing.sex-abuse a .pa-icon {
  background-position: 0px -196px;
}
.tmf-module-practice-areas-sidebar .tmf-post .pa-listing.personal-injury a .pa-icon {
  background-size: 40px;
  background-position: -2px -258px;
}

/* ======================================== *
        Home Attorney Section
 * ======================================== */
#home-attorney-wrapper {
  background: url('../images/home_attorney_theodore_bg_3x.jpg') no-repeat center center/cover;
}
#home-attorney-container {
  max-width: 90%;
}

/* cell 1 */
#home-attorney-cell-1 {
  padding-top: 50px !important;
}
#home-attorney-cell-1 img {
  display: block;
}

/* cell 2 */
#home-attorney-cell-2 {
  vertical-align: middle;
}
#home-attorney-cell-2 .inner {
  padding-left: 50px;
}
#home-attorney h3 {
  color: #fff;
}
#home-attorney p {
  color: #fff;
}

@media screen and (max-width: 1250px) {
  #home-attorney-cell-2 .inner {
    padding: 25px;
  }
  #home-attorney-cell-1 img {
    display: block;
    width: 100%;
    min-width: 400px;
    height: auto;
  }
}

@media screen and (max-width: 950px) {
  #home-attorney-row {
    display: flex;
    flex-direction: column-reverse;
  }
  #home-attorney-cell-1 img {
    max-width: 450px;
    margin: 0 auto;
    min-width: unset;
  }
  #home-attorney-cell-1 {
    padding-top: 25px !important;
  }
}

/* ======================================== *
        Home Testimonials Section
 * ======================================== */
#testimonials-wrapper {
  padding: 100px 0;
  background: url('../images/home_testimonial_bg_3x.jpg') no-repeat center center/cover;
}
#testimonials-container {
  max-width: 90%;
}
#testimonials {
  text-align: center;
}
#testimonials-row {
  box-sizing: border-box;
  margin: 0 auto;
}

/* cell 1 */
#testimonials-cell-1 h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* cell 2 */
#testimonials .bx-viewport {
  max-width: 100% !important;
  left: 0 !important;
  overflow: visible !important;
}

/* Post */
#testimonials .tmf-post.small {
  padding-bottom: 0;
  margin: 0;
}
#testimonials .excerpt {
  text-align: center;
  color: #000;
  margin: 0 auto;
  max-width: 50%;
}
#testimonials .tmf-post.testimonial.small .testimonial-description {
  margin-top: 20px;
  color: #000;
  text-align: center;
}
#testimonials .stars {
  color: var(--accent-color);
}

/* bxslider controls*/
#testimonials .bx-wrapper .bx-controls-direction span {
  position: absolute;
  top: 20%;
  outline: 0;
  width: 25px;
  height: 28px;
  font-size: 0;
  color: #c5c5c5;
  z-index: unset;
  cursor: pointer;
}
/* arrows */
#testimonials .bx-wrapper .bx-prev {
  display: none;
}
#testimonials .bx-wrapper .bx-next {
  display: none;
}

/* pager */
#testimonials .bx-wrapper .bx-pager {
  text-align: center;
  font-size: 0.85em;
  font-family: Arial;
  font-weight: bold;
  color: #666;
  padding-top: 25px;
}
.bx-wrapper .bx-pager.bx-default-pager span:hover,
.bx-wrapper .bx-pager.bx-default-pager span.active {
  background: var(--accent-color);
  border: 1px solid var(--accent-color);
}
.bx-wrapper .bx-pager.bx-default-pager span {
  width: 15px;
  height: 15px;
  background: transparent;
  border: 1px solid var(--accent-color);
  text-indent: -9999px;
  display: block;
  transition: all 0.15s ease;
  cursor: pointer;
  border-radius: 15px;
  margin: 0 5px;
}
#testimonials .bx-wrapper .bx-pager.bx-default-pager span:hover,
#testimonials .bx-wrapper .bx-pager.bx-default-pager span.active {
  background: var(--accent-color);
  border: 1px solid var(--accent-color);
}

@media screen and (max-width: 1250px) {
  #testimonials-cell-2 .tmf-module-area {
    max-width: 100%;
  }
  #testimonials-cell-1 .tmf-module-area {
    min-width: 280px;
  }
}

@media screen and (max-width: 1000px) {
  #testimonials .excerpt {
    max-width: 90%;
  }
}

@media screen and (max-width: 950px) {
  #testimonials-wrapper {
    padding: 60px 0 100px;
  }
  #testimonials-cell-2 {
    padding-top: 45px;
  }
  #testimonials-cell-1 .tmf-module-area {
    min-width: auto;
  }
}

@media screen and (max-width: 750px) {
  #testimonials .bx-wrapper .bx-pager {
    display: block;
  }
  #testimonials .bx-wrapper .bx-controls-direction {
    display: none;
  }
  #testimonials .excerpt {
    max-width: 100%;
  }
}

@media screen and (max-width: 525px) {
  #testimonials-cell-1 h3 {
    font-size: 30px;
  }
}

/* ======================================== *
        Home Section 2 Section
 * ======================================== */
#home-section-2-wrapper {
  background: var(--secondary-color);
  padding: 180px 0 100px;
}
#home-section-2-container {
  max-width: 90% !important;
}

/* cell 1 */
#home-section-2-cell-1 {
  padding-bottom: 25px;
}
#home-section-2-cell-1 .tmf-button {
  margin-top: 10px;
}

/* cell 2 */
#home-section-2-cell-2 {
  border-left: 2px solid #cccccc;
}
#home-section-2-cell-2 .editor-content ul li::before {
  content: '\f219';
  display: inline-block;
  font-family: 'Font Awesome 6 Pro';
  font-size: 14px;
  font-weight: 400;
  position: absolute;
  left: -13px;
  top: 13px;
  transform: translateY(-50%);
}
#home-section-2-cell-2 .editor-content ul li {
  position: relative;
  margin-bottom: 15px;
}
#home-section-2-cell-2 .mobile {
  display: none;
}

@media screen and (max-width: 1000px) {
  #home-section-2-wrapper {
    padding: 160px 0 60px;
  }
  #home-section-2-cell-1 {
    padding-bottom: 0;
  }
  #home-section-2-cell-1 .not-mobile {
    display: none;
  }
  #home-section-2-cell-2 {
    border: 0;
    padding-top: 0;
  }
  #home-section-2-cell-2 .mobile {
    display: block;
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;
    margin: 45px auto 0;
  }
  #home-section-2-wrapper {
    padding: 370px 0 60px;
  }
}

/* ======================================== *
        Home Latest Posts Section
 * ======================================== */
#home-latest-posts-wrapper {
  padding: 100px 0;
}
#home-latest-posts-container {
  max-width: 90%;
}
#home-latest-posts h3 {
  text-align: center;
  color: var(--alt-primary-color-dark);
  margin-bottom: 25px;
  font-size: 36px;
  font-weight: 400;
}
#home-latest-posts .tmf-post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
#home-latest-posts .tmf-post {
  margin: 0;
  border: 0;
  border-left: 2px solid var(--alt-secondary-color-dark);
  padding: 25px 0 25px 15px;
}
#home-latest-posts .tmf-post h4 {
  font-weight: 700;
  margin-bottom: 5px;
}
#home-latest-posts .tmf-post h4 a {
  color: #000;
}
#home-latest-posts .tmf-post .excerpt {
  margin-top: 0;
}
#home-latest-posts .tmf-post .read-more {
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent-color);
}
#home-latest-posts .tmf-post .read-more:hover {
  text-decoration: underline;
}

@media screen and (max-width: 1000px) {
  #home-latest-posts .tmf-post-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
  }
}

/* ======================================== *
        Single Practice Areas Pages
 * ======================================== */
.single-practice-area #body-wrapper {
  padding: 100px 0 100px;
  overflow: hidden;
}

/* Cell 1 */
.single-practice-area #body-cell-1 .editor-content .tmf-button {
  margin-top: 15px;
  /* margin-right:15px; */
}
.single-practice-area #body-cell-1 .editor-content .tmf-button:first-child {
  margin-right: 15px;
}

/* Cell 2 */
.single-practice-area #body-cell-2 {
  vertical-align: middle;
}
.single-practice-area #body .video-img {
  position: relative;
  text-align: center;
}
.single-practice-area #body .video-img:hover {
  cursor: pointer;
}
.single-practice-area #body .video-img::after {
  content: '';
  display: block;
  position: absolute;
  right: -50%;
  top: -50px;
  bottom: -50px;
  background: var(--secondary-color);
  width: 100%;
  z-index: -1;
}

@media screen and (max-width: 1375px) {
  .single-practice-area #body .video-thumb-img {
    width: 100%;
    height: auto;
    max-width: 534px;
  }
  #player-container iframe {
    max-width: 100%;
  }
}

@media screen and (max-width: 1050px) {
  .single-practice-area #body-wrapper {
    margin-top: 0;
    margin-bottom: 0;
    padding: 20px 0 50px;
  }
  .single-practice-area #body {
    text-align: left;
    margin-top: 0;
  }
  .single-practice-area #body-cell-2 {
    padding: 50px 0 0;
  }
  .single-practice-area #body .video-img::after {
    display: none;
  }
  .single-practice-area #body h2 br {
    display: none;
  }
}

/* ======================================== *
        Single Practice Areas Visas Section
 * ======================================== */
#visas-wrapper {
  padding: 100px 0;
  margin-top: 100px;
  background: var(--alt-secondary-color-light);
}
#visas-container {
  max-width: 90%;
}
#visas {
  margin-top: -150px;
}
#visas .visa-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  -moz-column-gap: 25px;
  column-gap: 25px;
  row-gap: 100px;
  text-align: center;
}
#visas .visa-list .section::before {
  content: '';
  display: block;
  background: url('../images/sumnerimmigration-Icon-Sprite_3x.png') no-repeat;
  width: 100px;
  height: 100px;
  background-size: 835px;
  margin: 0 auto 25px;
}
#visas .visa-list .section:nth-child(1)::before {
  background-position: -105px 0;
}
#visas .visa-list .section:nth-child(2)::before {
  background-position: -422px -112px;
}
#visas .visa-list .section:nth-child(3)::before {
  background-position: -530px -112px;
}
#visas .visa-list .section:nth-child(4)::before {
  background-position: 0 0;
}
#visas .visa-list .section:nth-child(5)::before {
  background-position: -210px 0;
}
#visas .visa-list .section:nth-child(6)::before {
  background-position: -314px 0;
}
#visas .visa-list .section:nth-child(7)::before {
  background-position: -422px 0;
}
#visas .visa-list .section:nth-child(8)::before {
  background-position: -530px 0;
}
#visas .visa-list .section:nth-child(9)::before {
  background-position: -632px 0;
}
#visas .visa-list .section:nth-child(10)::before {
  background-position: -737px 0;
}
#visas .visa-list .section h4 {
  border-bottom: 1px solid var(--alt-secondary-color-dark);
  font-weight: 700;
  font-size: 24px;
  padding-bottom: 15px;
}
#visas .visa-list .section p {
  max-width: 80%;
  margin: 0 auto;
}
#visas .visa-list .section p:first-of-type {
  margin-bottom: 5px;
}
#visas .visa-list .section a {
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  margin-top: 10px;
  display: block;
}
#visas .visa-list .section a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 1150px) {
  #visas .visa-list {
    grid-template-columns: repeat(3, 1fr);
  }
  #visas-wrapper {
    margin-top: 50px;
    padding: 100px 0 60px;
  }
}

@media screen and (max-width: 950px) {
  #visas .visa-list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 50px;
  }
}

@media screen and (max-width: 650px) {
  #visas-container {
    max-width: 80%;
  }
  #visas .visa-list {
    grid-template-columns: repeat(1, 1fr);
  }
  #visas .visa-list .section::before {
    width: 80px;
    height: 80px;
    background-size: 670px;
    margin: 0 auto 12px;
  }
  #visas .visa-list .section:nth-child(1)::before {
    background-position: -84px 0;
  }
  #visas .visa-list .section:nth-child(2)::before {
    background-position: -338px -91px;
  }
  #visas .visa-list .section:nth-child(3)::before {
    background-position: -425px -91px;
  }
  #visas .visa-list .section:nth-child(4)::before {
    background-position: 0 0;
  }
  #visas .visa-list .section:nth-child(5)::before {
    background-position: -168px -1px;
  }
  #visas .visa-list .section:nth-child(6)::before {
    background-position: -252px 0;
  }
  #visas .visa-list .section:nth-child(7)::before {
    background-position: -338px -1px;
  }
  #visas .visa-list .section:nth-child(8)::before {
    background-position: -425px 0;
  }
  #visas .visa-list .section:nth-child(9)::before {
    background-position: -507px 0;
  }
  #visas .visa-list .section:nth-child(10)::before {
    background-position: -590px 0;
  }
  #visas .visa-list .section h4 {
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  #visas .visa-list {
    row-gap: 55px;
  }
  #visas {
    margin-top: -139px;
  }
}

/* ======================================== *
        Practice Areas Accordion Section
 * ======================================== */
#pa-accordion-wrapper {
  padding: 100px 0;
}
#pa-accordion-container {
  max-width: 90%;
}
.single-practice-area .smk_accordion .accordion_in .acc_head {
  position: relative;
  background: var(--secondary-color);
  padding: 15px;
  color: #000;
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 700;
  display: block;
  cursor: pointer;
  margin-top: 20px;
  padding-left: 60px;
  border-radius: 3px;
}
.single-practice-area .smk_accordion .accordion_in .acc_head .acc_icon_expand {
  display: block;
  width: 14px;
  height: 14px;
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}
.single-practice-area .smk_accordion .accordion_in .acc_head .acc_icon_expand::before {
  content: '\f219';
  font-family: var(--font-awesome-5);
  font-size: 14px;
  font-weight: 400;
  color: #666666;
}
.single-practice-area .smk_accordion .accordion_in.acc_active .acc_head .acc_icon_expand::before {
  color: #fff;
}
.single-practice-area .smk_accordion .accordion_in.acc_active > .acc_head {
  color: #ffffff;
  background: var(--accent-color);
  border-radius: 3px;
}
.single-practice-area .smk_accordion .accordion_in.acc_active > .acc_head .title {
  font-weight: 700 !important;
}
.single-practice-area .smk_accordion .accordion_in > .acc_head .title {
  font-size: 16px;
  font-weight: 700;
}
.single-practice-area .smk_accordion .acc_content .learn-more {
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.single-practice-area .smk_accordion .acc_content .learn-more:hover {
  text-decoration: underline;
}

@media screen and (max-width: 1000px) {
  #pa-accordion-wrapper {
    padding: 25px 0 35px;
  }
}

@media screen and (max-width: 400px) {
  .single-practice-area .acc_content .editor-content ul {
    padding-left: 20px;
  }
}

/* ======================================== *
    Why Choose Us Section
 * ======================================== */
/* -- Styled Table-- */
.styled-table {
  margin: 45px 0;
  padding: 25px;
  background-color: #fff;
  background-image: linear-gradient(#ffffff, #f9f9f9);
  border-radius: 10px;
  box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.2);
}
.editor-content .styled-table table {
  border-collapse: separate;
  border-spacing: 0;
}
.editor-content .styled-table table tr {
  border-bottom: 1px solid #34353840;
  text-align: left;
}
.editor-content .styled-table table tr:last-child td {
  border-bottom: 0;
}
.editor-content .styled-table table tr th {
  border: none;
  border-bottom: 1px solid #34353840;
  padding: 12px 20px;
  font-size: 20px;
}
.editor-content .styled-table table tr th.left {
  border-right: 1px solid #34353840;
}
.editor-content .styled-table table tr td {
  border: none;
  border-bottom: 1px solid #34353840;
  border-right: 1px solid transparent;
  padding: 12px 20px;
}
.editor-content .styled-table table tr td.left {
  border-right: 1px solid #34353840;
}

/* -- Accordions -- */
.why-us-accordion.smk_accordion .accordion_in .acc_head {
  position: relative;
  background: var(--secondary-color);
  padding: 15px;
  color: #000;
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 700;
  display: block;
  cursor: pointer;
  margin-top: 20px;
  padding-left: 60px;
  border-radius: 3px;
}
.why-us-accordion.smk_accordion .accordion_in .acc_head .acc_icon_expand {
  display: block;
  width: 14px;
  height: 14px;
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}
.why-us-accordion.smk_accordion .accordion_in .acc_head .acc_icon_expand::before {
  content: '\f219';
  font-family: var(--font-awesome-5);
  font-size: 14px;
  font-weight: 400;
  color: #666666;
}
.why-us-accordion.smk_accordion .accordion_in.acc_active .acc_head .acc_icon_expand::before {
  color: #fff;
}
.why-us-accordion.smk_accordion .accordion_in.acc_active > .acc_head {
  color: #ffffff;
  background: var(--accent-color);
  border-radius: 3px;
}
.why-us-accordion.smk_accordion .accordion_in.acc_active > .acc_head .title {
  font-weight: 700 !important;
}
.why-us-accordion.smk_accordion .accordion_in > .acc_head .title {
  font-size: 16px;
  font-weight: 700;
}

/* ======================================== *
    Practice Areas When You Work Section
 * ======================================== */
#when-you-work-wrapper {
  background: url('../images/home_when-you-work_bg_3x.jpg') no-repeat center center/cover;
  padding: 100px 0;
}
#when-you-work-container {
  max-width: 90%;
}

/* cell 1 */
#when-you-work-cell-1 {
  color: #fff;
}
#when-you-work-cell-1 h2 {
  color: #fff;
  margin-top: 0;
}
#when-you-work-cell-1 ul li {
  margin-bottom: 20px;
}
#when-you-work-cell-1 ul li::before {
  color: #fff;
  content: '\f219';
  font-family: var(--font-awesome-5);
  font-size: 14px;
  font-weight: 400;
  margin-left: -35px;
  margin-right: 20px;
}

/* cell 2 */
#when-you-work-cell-2 img.when-you-work-img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  max-width: 549px;
}

@media screen and (max-width: 1000px) {
  #when-you-work-wrapper {
    padding: 50px 0;
  }
  #when-you-work-cell-1 h2 br {
    display: none;
  }
}

/* ======================================== *
        All Archives
 * ======================================== */

/* ======================================== *
        Rep cases archive
 * ======================================== */
.post-type-archive-representative-case #body-cell-1 .tmf-post {
  padding-bottom: 45px;
  margin-bottom: 45px;
}

/* ======================================== *
        Video archive
 * ======================================== */
.post-type-archive-video .tmf-post.medium img.thumbnail.mobile {
  display: none;
}
.post-type-archive-video #body-cell-1 .tmf-post-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: 50px;
  column-gap: 50px;
}
.post-type-archive-video #body-cell-1 .tmf-post.video h2 {
  margin-top: 0;
  font-size: 30px;
  font-family: var(--heading-font);
  font-weight: 400;
}
.post-type-archive-video #body-cell-1 .tmf-post.video h2 a {
  color: var(--primary-color);
}
/* for 2 column grid layout select left column bottom row to remove border and spacing */
.post-type-archive-video #body-cell-1 .tmf-post.video:nth-child(2n + 1):nth-last-child(-n + 2) {
  border: none;
  padding: 0;
  margin: 0;
}

@media screen and (max-width: 1250px) {
  .post-type-archive-video #body-cell-1 .tmf-post-list {
    display: block;
  }
  .post-type-archive-video #body-cell-1 .tmf-post.video:nth-child(2n + 1):nth-last-child(-n + 2) {
    padding-bottom: 45px;
    margin-bottom: 45px;
    border-bottom: 1px solid rgba(193, 191, 185, 0.4);
  }
}

@media screen and (max-width: 750px) {
  .post-type-archive-video .tmf-post.medium img.thumbnail.mobile {
    display: block;
  }
  .post-type-archive-video .tmf-post.medium img.thumbnail.not-mobile {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  .post-type-archive-video .tmf-post.medium img.thumbnail.mobile {
    display: none;
  }
  .post-type-archive-video .tmf-post.medium img.thumbnail.not-mobile {
    display: block;
    float: none;
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-right: 0;
  }
}

/* ======================================== *
        News & Articles archive
 * ======================================== */
.tmf-post.post.medium .excerpt img.thumbnail.mobile {
  display: none;
}
.social-buttons .facebook-like {
  width: 75px;
}
.blog #body-cell-1 .tmf-post-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: 50px;
  column-gap: 50px;
}
.blog #body-cell-1 .tmf-post.post h2 {
  margin-top: 0;
}
.blog #body-cell-1 .tmf-post.post h2 a {
  color: var(--primary-color);
  font-size: 30px;
  font-family: var(--heading-font);
  font-weight: 400;
}
/* for 2 column grid layout select left column bottom row to remove border and spacing */
.blog #body-cell-1 .tmf-post.post:nth-child(2n + 1):nth-last-child(-n + 2) {
  border: none;
  padding: 0;
  margin: 0;
}

@media screen and (max-width: 950px) {
  .blog #body-cell-1 .tmf-post-list {
    display: block;
  }
  .blog #body-cell-1 .tmf-post.post:nth-child(2n + 1):nth-last-child(-n + 2) {
    padding-bottom: 45px;
    margin-bottom: 45px;
    border-bottom: 1px solid rgba(193, 191, 185, 0.4);
  }
}

@media screen and (max-width: 750px) {
  .tmf-post.post.medium .excerpt img.thumbnail.mobile {
    display: block;
  }
  .tmf-post.post.medium img.thumbnail.not-mobile {
    display: none;
  }
}

/* ======================================== *
        Practice Area archive
 * ======================================== */
.post-type-archive-practice-area p {
  line-height: 1.7em;
  margin-bottom: 15px;
}
.post-type-archive-practice-area #body-cell-1 .tmf-post.practice-area {
  padding-bottom: 45px;
  margin-bottom: 45px;
}
.post-type-archive-practice-area #body-cell-1 .tmf-post.practice-area.last-post {
  margin-bottom: 0;
  padding-bottom: 25px;
}
.post-type-archive-practice-area .tmf-post.medium img.thumbnail.mobile {
  display: none;
}

@media screen and (max-width: 450px) {
  .post-type-archive-practice-area .tmf-post.medium img.thumbnail.not-mobile {
    display: none;
  }
  .post-type-archive-practice-area .tmf-post.medium img.thumbnail.mobile {
    display: block;
    float: unset;
    max-width: 100%;
  }
}
/* ======================================== *
        Location archive
 * ======================================== */
.post-type-archive-location #body #location-cell-1 .inner {
  padding: 0;
}
.post-type-archive-location #body #location-cell-2 .inner {
  padding: 0;
}
/* ======================================== *
        Attorney archive
 * ======================================== */
.post-type-archive-attorney .contact-information a {
  color: #333;
}

/* Body top section */
.post-type-archive-attorney #body-top-wrapper {
  padding: 50px 0 100px;
}

/* Body middle Section */
.post-type-archive-attorney #body-middle-wrapper {
  padding: 100px 0;
  background: var(--alt-secondary-color-light);
}
.post-type-archive-attorney #body-middle-wrapper .tmf-module .sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  gap: 50px;
  text-align: center;
  margin-top: -149px;
}
.post-type-archive-attorney #body-middle-wrapper .tmf-module .sections .section::before {
  content: '';
  display: block;
  background: url('../images/sumnerimmigration-Icon-Sprite_3x.png') no-repeat;
  width: 100px;
  height: 100px;
  background-size: 835px;
  margin: 0 auto 25px;
}
.post-type-archive-attorney #body-middle-wrapper .tmf-module .sections .section:nth-child(1)::before {
  background-position: 1px -111px;
}
.post-type-archive-attorney #body-middle-wrapper .tmf-module .sections .section:nth-child(2)::before {
  background-position: -106px -111px;
}
.post-type-archive-attorney #body-middle-wrapper .tmf-module .sections .section:nth-child(3)::before {
  background-position: -210px -111px;
}
.post-type-archive-attorney #body-middle-wrapper .tmf-module .sections .section {
  margin-bottom: 25px;
}
.post-type-archive-attorney #body-middle-wrapper .tmf-module .sections .section h4 {
  border-bottom: 1px solid var(--alt-secondary-color-dark);
  font-weight: 700;
  padding-bottom: 15px;
}
.post-type-archive-attorney #body-middle-wrapper .tmf-module .sections .section p {
  font-size: 16px;
  max-width: 80%;
  margin: 0 auto;
  line-height: 24px;
}
.post-type-archive-attorney #body-middle-wrapper .tmf-module .sections .section p.heading {
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto 5px;
}
.post-type-archive-attorney #body-middle-wrapper .tmf-module .content {
  text-align: center;
  max-width: 90%;
  margin: 50px auto 0;
}
.post-type-archive-attorney #body-middle-wrapper .tmf-module .content a.tmf-button {
  display: block;
  max-width: 180px;
  margin: 35px auto 0;
}

@media screen and (max-width: 1250px) {
  .post-type-archive-attorney #body-middle-wrapper .tmf-module .sections {
    grid-template-columns: repeat(2, 1fr);
    margin: -149px auto 0;
  }
  /* .post-type-archive-attorney
    #body-middle-wrapper
    .tmf-module
    .sections
    .section {
    margin-bottom: 45px;
  } */
}

@media screen and (max-width: 950px) {
  .post-type-archive-attorney #body-middle-wrapper .tmf-module .sections {
    grid-template-columns: repeat(1, 1fr);
    gap: 55px;
  }
}

@media screen and (max-width: 750px) {
  .post-type-archive-attorney #body-middle-wrapper .tmf-module .sections {
    width: 80%;
  }
}

@media screen and (max-width: 650px) {
  .post-type-archive-attorney #body-middle-wrapper .tmf-module .sections {
    margin-top: -139px;
  }
  .post-type-archive-attorney #body-middle-wrapper .tmf-module .sections .section::before {
    width: 80px;
    height: 80px;
    background-size: 670px;
    margin: 0 auto 10px;
  }
  .post-type-archive-attorney #body-middle-wrapper .tmf-module .sections .section:nth-child(1)::before {
    background-position: 1px -90px;
  }
  .post-type-archive-attorney #body-middle-wrapper .tmf-module .sections .section:nth-child(2)::before {
    background-position: -85px -90px;
  }
  .post-type-archive-attorney #body-middle-wrapper .tmf-module .sections .section:nth-child(3)::before {
    background-position: -169px -90px;
  }
  .post-type-archive-attorney #body-middle-wrapper .tmf-module .sections .section {
    margin-bottom: 0;
  }
  .post-type-archive-attorney #body-middle-wrapper .tmf-module .sections .section h4 {
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
}

/* main Body post listing */
.post-type-archive-attorney #body-wrapper {
  background: url('../images/meet-our-team_bg_3x.jpg') no-repeat center center/cover;
  padding: 50px 0 100px;
}
.post-type-archive-attorney #body-wrapper h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 50px;
}
.post-type-archive-attorney #body-wrapper .tmf-post-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
  gap: 15px;
  justify-content: center;
}
.post-type-archive-attorney #body-wrapper .tmf-post {
  background: #fff;
  border-radius: 5px;
  margin: 0;
  padding: 0;
  border: none;
  overflow: hidden;
  /* justify-self: center; */
  height: 100%;
  min-width: 281px;
  /* max-width: 315px; */
}
.post-type-archive-attorney #body-wrapper .tmf-post .attorney-img-wrap {
  overflow: hidden;
}
.post-type-archive-attorney #body-wrapper .tmf-post img {
  float: none;
  max-width: 100%;
  min-width: 281px;
  width: 100%;
  height: auto;
  max-height: unset;
  display: block;
  margin: 0;
  border-radius: 5px 5px 0 0;
  transition: transform 0.35s ease-in;
}
.post-type-archive-attorney #body-wrapper .tmf-post:hover img {
  transform: scale(1.05);
}
.post-type-archive-attorney #body-wrapper .tmf-post .attorney-information {
  padding: 15px;
}
.post-type-archive-attorney #body-wrapper .tmf-post h3 {
  margin: 0;
  line-height: 22px;
}

.post-type-archive-attorney #body-wrapper .tmf-post .attorney-information a {
  font-size: 16px;
  font-weight: 400;
  color: #000;
}
.post-type-archive-attorney #body-wrapper .tmf-post .attorney-information .email a {
  font-size: 14px;
}
.post-type-archive-attorney #body-wrapper .tmf-post .attorney-information h3.title a {
  color: var(--alt-primary-color-dark);
  font-size: 20px;
  font-weight: 700;
  font-family: var(--body-font);
}
.post-type-archive-attorney #body-wrapper .tmf-post .attorney-information .attorney-titles a {
  color: #086b32;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 15px;
}
.post-type-archive-attorney #body-wrapper .tmf-post .attorney-information .phone::before,
.post-type-archive-attorney #body-wrapper .tmf-post .attorney-information .email::before {
  display: none;
}
.post-type-archive-attorney #body-wrapper .tmf-post .attorney-information .phone .label {
  /* font-size: 16px; */
  font-size: 0;
}
.post-type-archive-attorney #body-wrapper .tmf-post .attorney-information .vcard .value {
  background: none;
}

@media screen and (max-width: 1550px) {
  /* .post-type-archive-attorney #body-wrapper .tmf-post-list {
    grid-template-columns: repeat(3, 1fr);
  } */
}
@media screen and (max-width: 1375px) {
  .post-type-archive-attorney #body-container {
    max-width: 95%;
  }
  .post-type-archive-attorney #body-cell-1 .inner {
    padding: 0;
  }
}
@media screen and (max-width: 1250px) {
  .post-type-archive-attorney #body-wrapper .tmf-post-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 950px) {
  .post-type-archive-attorney #body-wrapper .tmf-post-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .post-type-archive-attorney #body-cell-1 .inner {
    padding: 0 25px;
  }
}

@media screen and (max-width: 650px) {
  .post-type-archive-attorney #body-wrapper .tmf-post-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ======================================== *
        Single Attorney Page CSS
 * ======================================== */

/* --- attorney bio info header --- */
.attorney-bio-info {
  background: var(--alt-secondary-color-light);
  height: 466px;
}
.attorney-bio-info-container {
  max-width: 90%;
  margin: 0 auto;
}
.attorney-bio-info-row {
  display: table;
  width: 100%;
  height: 466px;
}
.attorney-bio-info .attorney-bio-box-1,
.attorney-bio-info .attorney-bio-box-2 {
  box-sizing: border-box;
  display: table-cell;
  vertical-align: middle;
}

/* attorney-bio-box-1 */
.attorney-bio-info .attorney-bio-box-1 {
  padding-left: 25px;
  width: 440px;
}
.attorney-bio-info .attorney-bio-box-1 .attorney-bio-info-inner {
  padding: 0;
}
.attorney-bio-info img.primary {
  box-sizing: border-box;
  border-radius: 0;
  display: block;
  position: relative;
  width: 364px;
}

/* attorney-bio-box-2 */
.attorney-bio-info .attorney-bio-box-2 .attorney-bio-info-inner {
  display: flex;
}
.attorney-bio-info .attorney-bio-box-2 .attorney-bio-info-inner .attorney-page-title {
  flex-shrink: 0;
  padding-right: 50px;
  margin-right: 50px;
  border-right: 2px solid var(--alt-secondary-color-dark);
}
.attorney-bio-info .attorney-bio-box-2 .attorney-bio-info-inner .title-section {
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.attorney-bio-info h1#page-title {
  color: #000 !important;
  font-size: 60px !important;
  margin-bottom: 0;
  font-style: normal;
  font-family: var(--heading-font);
  text-align: right;
}
.attorney-bio-info .attorney-titles {
  text-align: right;
}
.attorney-bio-info .attorney-titles a {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  font-family: var(--body-font);
}
.attorney-contact-info {
  padding-left: 0;
  width: 100%;
}
.attorney-bio-info .contact-information .tmf-button {
  color: #fff;
  margin-top: 25px;
  font-weight: 700;
}
.attorney-bio-info .contact-information a,
.attorney-bio-info .icon-container a,
.attorney-bio-info .speaking a {
  color: #000;
  font-weight: 400;
}
.attorney-bio-info .contact-information,
.attorney-bio-info .icon-container {
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
  vertical-align: top;
}
.attorney-bio-info .phone,
.attorney-bio-info .vcard,
.attorney-bio-info .resume,
.attorney-bio-info .fax,
.attorney-bio-info .email {
  display: block;
  padding-top: 5px;
  line-height: normal;
}
.attorney-bio-info .label {
  /* font-size: 18px; */
  font-size: 0;
}
.attorney-bio-info .vcard .label {
  font-size: 0;
}
.attorney-bio-info .email .label {
  font-size: 0;
}
.attorney-bio-info .vcard .value {
  background: transparent;
  height: auto;
  width: auto;
  margin-right: 0;
}
.attorney-bio-info .vcard::before,
.attorney-bio-info .resume::before,
.attorney-bio-info .phone-1::before,
.attorney-bio-info .phone-2::before,
.attorney-bio-info .fax::before,
.attorney-bio-info .email::before,
.attorney-bio-info .speaking::before {
  color: var(--alt-primary-color-light);
  font-size: 15px;
  font-family: var(--font-awesome-5);
  font-weight: 700;
  display: inline-block;
  vertical-align: middle;
  display: none;
}
.attorney-bio-info .phone-1::before,
.attorney-bio-info .phone-2::before {
  content: '\f095';
  margin-right: 5px;
  transform: rotate(10deg);
}
.attorney-bio-info .fax::before {
  content: '\f1ac';
  margin-right: 5px;
}
.attorney-bio-info .email::before {
  content: '\f0e0';
  margin-right: 5px;
}
.attorney-bio-info .vcard::before {
  content: '\f2bb';
}

/* --- attorney Body --- */
.single-attorney #body-row {
  display: flex;
  width: 100%;
}

/* cell 1 */
.single-attorney #body-cell-1 #page-content {
  margin-bottom: 50px;
}

/* Attorney Accordion */
.single-attorney .smk_accordion .accordion_in .acc_head {
  position: relative;
  background: var(--secondary-color);
  padding: 15px;
  color: #000;
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 700;
  display: block;
  cursor: pointer;
  margin-top: 20px;
  padding-left: 60px;
  border-radius: 3px;
}
.single-attorney .smk_accordion .accordion_in .acc_head .acc_icon_expand {
  display: block;
  width: 14px;
  height: 14px;
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}
.single-attorney .smk_accordion .accordion_in .acc_head .acc_icon_expand::before {
  content: '\f219';
  font-family: var(--font-awesome-5);
  font-size: 14px;
  font-weight: 400;
  color: #666666;
}
.single-attorney .smk_accordion .accordion_in.acc_active .acc_head .acc_icon_expand::before {
  color: #fff;
}

.single-attorney .smk_accordion .accordion_in.acc_active > .acc_head {
  color: #ffffff;
  background: var(--accent-color);
  border-radius: 3px;
}

.single-attorney .smk_accordion .accordion_in.acc_active > .acc_head .title {
  font-weight: 700 !important;
}

.single-attorney .smk_accordion .accordion_in > .acc_head .title {
  font-size: 16px;
  font-weight: 700;
}
@media screen and (max-width: 400px) {
  .single-attorney .acc_content .editor-content ul {
    padding-left: 20px;
  }
}
/* end accordion */

/* ---- Become an Attorney Section ---- */
.single-attorney #become-attorney-wrapper {
  padding: 100px 0;
  background: var(--alt-secondary-color-light);
}
.single-attorney #become-attorney-container {
  max-width: 90%;
}

/* cell 1 */
.single-attorney #become-attorney-cell-1 .inner {
  max-width: 90%;
}
.single-attorney #become-attorney-cell-1 .inner h2 {
  margin-top: 0;
}

/* cell 2 */
.single-attorney #become-attorney-cell-2 .inner {
  background: var(--secondary-color);
  padding: 0;
}
.single-attorney #become-attorney-cell-2 .inner img {
  width: 100%;
  height: auto;
}
.single-attorney #become-attorney-cell-2 .inner p {
  padding: 25px 50px;
}

@media screen and (max-width: 1850px) {
  .attorney-bio-info h1#page-title {
    font-size: 44px !important;
    line-height: 52px;
  }
}

@media screen and (max-width: 1600px) {
  .attorney-bio-info h1#page-title {
    font-size: 40px !important;
    line-height: 48px;
  }
  .attorney-bio-info .attorney-bio-box-2 .attorney-bio-info-inner .attorney-page-title {
    flex-shrink: 0;
    padding-right: 30px;
    margin-right: 30px;
    border-right: 2px solid var(--alt-secondary-color-dark);
  }
}

@media screen and (max-width: 1470px) {
  .attorney-bio-info .attorney-bio-box-1 {
    width: 380px;
  }
  .attorney-bio-info img.primary {
    width: 320px;
  }
  .attorney-bio-info h1#page-title {
    font-size: 38px !important;
    line-height: 46px;
  }
  .attorney-bio-info {
    height: 400px;
  }
  .attorney-bio-info-row {
    height: 400px;
  }
}

@media screen and (max-width: 1360px) {
  .attorney-bio-info h1#page-title {
    font-size: 30px !important;
    line-height: 38px;
  }
}

@media screen and (max-width: 1250px) {
  .attorney-bio-info .attorney-bio-box-1 {
    width: 340px;
  }
  .attorney-bio-info img.primary {
    width: 290px;
  }
  .attorney-bio-info {
    height: 360px;
  }
  .attorney-bio-info-row {
    height: 360px;
  }
  .attorney-bio-info h1#page-title {
    font-size: 28px !important;
    line-height: 36px;
  }
}

@media screen and (max-width: 1175px) {
  .attorney-bio-info .attorney-bio-box-1 {
    width: 350px;
  }
  .attorney-bio-info .attorney-bio-box-2 .attorney-bio-info-inner {
    display: flex;
    flex-direction: column;
  }
  .attorney-bio-info .attorney-bio-box-2 .attorney-bio-info-inner .attorney-page-title {
    padding-right: 0;
    margin-right: 0;
    border-right: none;
  }
  .attorney-bio-info .attorney-bio-box-2 .attorney-bio-info-inner .title-section {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(128, 128, 128, 0.3);
  }
  .attorney-bio-info h1#page-title {
    text-align: left;
  }
  .attorney-bio-info .attorney-titles {
    text-align: left;
  }
}

@media screen and (max-width: 1095px) {
  .attorney-bio-info img.primary {
    width: auto;
    height: 295px;
  }
  .attorney-bio-info .attorney-bio-box-1 {
    width: 370px;
  }
}

@media screen and (max-width: 1050px) {
  .single-attorney #body-row {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    padding: 50px 0;
  }
  .single-attorney #body-cell-1 {
    max-width: 100%;
  }
  .single-attorney #body #body-cell-1 .inner {
    width: 400px;
    padding: 50px 25px 50px;
  }
  .single-attorney #body-row {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    padding: 0;
  }
  .single-attorney #body-cell-1 {
    width: 100%;
  }
  .single-attorney #body #body-cell-1 .inner {
    width: 100%;
    padding: 0 25px;
  }
  .single-attorney #body-cell-1 #page-content {
    margin-bottom: 20px;
  }
  .attorney-bio-info .attorney-bio-box-2 {
    flex-grow: 1;
  }
  .single-attorney #body {
    padding: 0;
  }
  .single-attorney #body #body-cell-2 .inner {
    margin-top: 0;
  }
  .single-attorney #body-cell-2 {
    padding-top: 0;
  }
}

@media screen and (max-width: 950px) {
  .attorney-bio-box-2 .attorney-titles {
    text-align: center;
    margin-top: 10px;
  }
  .attorney-bio-box-2 .attorney-bio-info-inner .attorney-page-title .title-section {
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .attorney-bio-info {
    height: auto;
  }
  .attorney-bio-info-row {
    display: block;
    padding: 50px 0;
    height: auto;
  }
  .attorney-bio-info .attorney-bio-box-1 .attorney-bio-info-inner {
    padding: 0;
  }
  .attorney-bio-info .attorney-bio-box-1 {
    display: block;
    width: 100%;
  }
  .attorney-bio-info .attorney-bio-box-2 {
    padding-left: 0;
    width: 100%;
    display: block;
    height: auto;
    text-align: center;
  }
  .attorney-bio-info h1#page-title {
    text-align: center;
  }
  .attorney-bio-info .attorney-bio-box-2 .attorney-bio-info-inner {
    padding-left: 0;
  }
  .attorney-bio-box-2 .attorney-bio-info-inner .attorney-page-title {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0;
  }
  .attorney-bio-info h1#page-title {
    border-right: none;
    padding-right: 0;
  }
  .attorney-contact-info {
    align-items: center;
    gap: 10px;
  }
  .attorney-bio-info .contact-information {
    align-items: center;
    gap: 10px;
  }
  .attorney-bio-info .phone,
  .attorney-bio-info .fax,
  .attorney-bio-info .email {
    margin-right: 0;
    padding-right: 0;
  }
  .attorney-bio-info img.primary {
    width: 402px;
    height: auto;
    display: block;
    margin: 0 auto 25px;
  }
}

@media screen and (max-width: 700px) {
  .attorney-bio-info img.primary {
    width: 100%;
  }
  .attorney-bio-info-row {
    padding: 25px 0 35px;
  }
}

@media screen and (max-width: 500px) {
  .attorney-bio-box-2 .attorney-bio-info-inner .attorney-page-title .title-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
  }
}

/* ======================================== *
        Testimonial-blog Section
 * ======================================== */
#testimonial-blog-container {
  max-width: 100%;
}

/* cell 1 */
#testimonial-blog-cell-1 {
  padding: 60px 0 !important;
  background: url('../images/int-pages_testimonial_bg_3x.jpg') no-repeat center center/cover;
}
#testimonial-blog-cell-1 .inner {
  padding-left: 5%;
}
#testimonial-blog-cell-1 h3 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 30px;
}
#testimonial-blog-cell-1 .bx-wrapper .bx-pager {
  padding-top: 30px;
}

/* cell 2 */
#testimonial-blog-cell-2 {
  padding: 60px 0;
  background: var(--secondary-color);
}
#testimonial-blog-cell-2 .inner {
  padding-right: 5%;
}
#testimonial-blog-cell-2 h3 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 30px;
}
#testimonial-blog-cell-2 .tmf-post {
  text-align: center;
  border: none;
  padding: 0;
  max-width: 70%;
  left: 50%;
  transform: translateX(-50%);
}
#testimonial-blog-cell-2 .tmf-post h4 a {
  color: #000;
}
#testimonial-blog-cell-2 .tmf-post .read-more {
  color: var(--accent-color);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}
#testimonial-blog-cell-2 .tmf-post .read-more:hover {
  text-decoration: underline;
}
#testimonial-blog-cell-2 .tmf-button {
  display: block;
  margin: 50px auto 0;
}
#testimonial-blog-cell-2 .bx-wrapper {
  max-width: 70% !important;
  margin: 0 auto 25px;
}
#testimonial-blog-cell-2 .bx-wrapper .bx-controls-direction span {
  position: absolute;
  top: 43%;
  outline: 0;
  width: 20px;
  height: 20px;
  font-size: 0;
}
#testimonial-blog-cell-2 .bx-wrapper .bx-controls-direction span:hover {
  cursor: pointer;
}
#testimonial-blog-cell-2 .bx-wrapper .bx-controls .bx-pager {
  padding-top: 30px;
  display: none;
}
#testimonial-blog-cell-2 .bx-wrapper .bx-prev,
#testimonial-blog-cell-2 .bx-wrapper .bx-next {
  transition: 0.2s ease-in;
}
#testimonial-blog-cell-2 .bx-wrapper .bx-prev::before,
#testimonial-blog-cell-2 .bx-wrapper .bx-next::before {
  font-family: var(--font-awesome-5);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-color);
}
#testimonial-blog-cell-2 .bx-wrapper .bx-prev::before {
  content: '\f0d9';
}
#testimonial-blog-cell-2 .bx-wrapper .bx-next::before {
  content: '\f0da';
}
#testimonial-blog-cell-2 .bx-wrapper .bx-prev:hover {
  transform: translateX(-5px);
}
#testimonial-blog-cell-2 .bx-wrapper .bx-next:hover {
  transform: translateX(5px);
}
#testimonial-blog-cell-2 .bx-wrapper .bx-prev {
  left: -10px;
}
#testimonial-blog-cell-2 .bx-wrapper .bx-next {
  right: -10px;
}

/* ======================================== *
        Newsletter Section
 * ======================================== */
#newsletter-wrapper {
  background: url('../images/newsletter_bg_3x.jpg') no-repeat center center/cover;
  padding: 47px 0;
}
#newsletter-container {
  max-width: 90%;
}

/* cell 1 */
#newsletter-cell-1 .tmf-module-content {
  display: flex;
  gap: 15px;
  align-items: center;
}
#newsletter i {
  color: #fff;
  font-size: 40px;
}
#newsletter h3 {
  margin: 0;
  color: #ffffff;
}

/* cell 2 */
#newsletter-cell-2 {
  vertical-align: middle;
}
#newsletter-cell-2 .tmf-module-content {
  text-align: center;
}

@media screen and (max-width: 1050px) {
  #newsletter-cell-1 .tmf-module-content {
    justify-content: center;
  }
}

@media screen and (max-width: 950px) {
  #newsletter-cell-1 .tmf-module-content {
    display: block;
    text-align: center;
  }
  #newsletter i {
    margin-bottom: 15px;
  }
}

/* ======================================== *
        Footer Section
 * ======================================== */
#footer-wrapper {
  background: var(--secondary-color);
  padding: 100px 0;
}
#footer-container {
  max-width: 90%;
}
#footer {
  position: relative;
}

/* cell 1 */
#footer-bottom-cell-1 .inner {
  padding-left: 0;
}
#footer-bottom-cell-1 .logo {
  width: 263px;
  height: 73px;
  margin-bottom: 25px;
}
#footer-bottom-cell-1 .title {
  font-weight: 400;
}
#footer-bottom-cell-1 .address::before {
  display: none;
}
.streetAddress {
  color: #666666;
  font-size: 16px;
  line-height: 24px;
}
#footer-bottom-cell-1 .streetAddress::before {
  display: none;
}

/* cell 2 */
#footer-bottom-cell-2 {
  padding-top: 15px;
}
#footer #footer-bottom-cell-2 h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 10px 0;
}
#footer-bottom-cell-2 .tmf-post.small.location .phone-1::before {
  content: '\f095';
  margin-right: 5px;
  transform: rotate(10deg);
  width: 18px;
  color: var(--primary-color);
  font-size: 18px;
  font-family: var(--font-awesome-5);
  font-weight: 400;
  display: inline-block;
  vertical-align: middle;
}
#footer-bottom-cell-2 .tmf-post.small.location .fax::before {
  color: var(--primary-color);
  font-weight: 400;
  font-family: var(--font-awesome-5);
}
#footer-bottom-cell-2 .tmf-post.small.location .email::before {
  color: var(--primary-color);
  font-weight: 400;
  font-family: var(--font-awesome-5);
}
#footer-bottom-cell-2 .tmf-post.small.location .phone-1 .value a,
#footer-bottom-cell-2 .tmf-post.small.location .fax .value,
#footer-bottom-cell-2 .tmf-post.small.location .email .value {
  color: #666666;
  font-weight: 700;
  font-size: 16px;
}
#footer-bottom-cell-2 .tmf-post.small.location .phone-1,
#footer-bottom-cell-2 .tmf-post.small.location .fax {
  display: block;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--alt-secondary-color-dark);
}

/* cell 3 */
#footer-bottom-cell-3 {
  padding-top: 15px;
}
#footer-bottom-cell-3 .footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: 12px;
  column-gap: 12px;
  align-items: center;
}
#footer-bottom-cell-3 .footer-links .footer-link {
  padding-top: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--alt-secondary-color-dark);
  font-weight: 700;
  font-size: 16px;
  color: #666;
  text-decoration: none;
}
#footer-bottom-cell-3 .footer-links .footer-link:hover {
  text-decoration: underline;
}
#footer-bottom-cell-3 .footer-links .footer-link:nth-child(1),
#footer-bottom-cell-3 .footer-links .footer-link:nth-child(2),
#footer-bottom-cell-3 .footer-links .footer-link:nth-child(3) {
  padding-top: 0;
  padding-bottom: 24px;
}
#footer-bottom-cell-3 .footer-links .footer-link:nth-child(4),
#footer-bottom-cell-3 .footer-links .footer-link:nth-child(5),
#footer-bottom-cell-3 .footer-links .footer-link:nth-child(6) {
  padding-top: 20px;
  padding-bottom: 20px;
}
#footer-bottom-cell-3 .footer-links .footer-link:nth-child(7),
#footer-bottom-cell-3 .footer-links .footer-link:nth-child(8),
#footer-bottom-cell-3 .footer-links .footer-link:nth-child(9) {
  border: none;
  padding-top: 15px;
  padding-bottom: 15px;
}

/* cell 4 */
#footer-bottom-cell-4 .inner {
  padding-right: 0;
}
#footer-bottom-cell-4 img {
  height: auto;
  max-width: 90px;
}
#footer-bottom-cell-4 .tmf-module-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  place-items: center;
}

@media screen and (max-width: 1430px) {
  #footer-bottom-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 25px;
    column-gap: 25px;
  }
  #footer-bottom-cell-1,
  #footer-bottom-cell-2,
  #footer-bottom-cell-3,
  #footer-bottom-cell-4 {
    width: 100%;
  }
  #footer-bottom-cell-2 {
    padding-top: 15px;
    order: 3;
  }
  #footer-bottom-cell-2 .inner {
    padding: 0;
  }
  #footer-bottom-cell-3 {
    padding-top: 0;
    order: 2;
  }
  #footer-bottom-cell-3 .inner {
    padding: 0;
  }
  #footer-bottom-cell-4 {
    padding-top: 25px;
    order: 4;
  }
}

@media screen and (max-width: 1000px) {
  #footer-wrapper {
    padding: 50px 0;
  }
}

@media screen and (max-width: 950px) {
  #footer-bottom-row {
    display: block;
    text-align: center;
  }
  #footer-bottom-cell-1 .inner,
  #footer-bottom-cell-2 .inner,
  #footer-bottom-cell-3 .inner,
  #footer-bottom-cell-4 .inner {
    padding: 0 25px;
  }
  #footer-bottom-cell-3,
  #footer-bottom-cell-4 {
    padding-top: 25px;
  }
  #footer-bottom-cell-2 .tmf-post.small.location .phone-1,
  #footer-bottom-cell-2 .tmf-post.small.location .fax {
    border: none;
    padding: 0;
    margin: 0;
    line-height: 24px;
  }
}

@media screen and (max-width: 500px) {
  #footer-bottom-cell-3 .footer-links {
    display: grid;
    grid-template-columns: 1fr;
    -moz-column-gap: 12px;
    column-gap: 12px;
    align-items: center;
  }
  #footer-bottom-cell-3 .footer-links .footer-link:nth-child(1) {
    padding-top: 0;
    padding-bottom: 24px;
  }
  #footer-bottom-cell-3 .footer-links .footer-link:nth-child(2),
  #footer-bottom-cell-3 .footer-links .footer-link:nth-child(3),
  #footer-bottom-cell-3 .footer-links .footer-link:nth-child(4),
  #footer-bottom-cell-3 .footer-links .footer-link:nth-child(5),
  #footer-bottom-cell-3 .footer-links .footer-link:nth-child(6),
  #footer-bottom-cell-3 .footer-links .footer-link:nth-child(7),
  #footer-bottom-cell-3 .footer-links .footer-link:nth-child(8) {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--alt-secondary-color-dark);
  }
  #footer-bottom-cell-3 .footer-links .footer-link:nth-child(9) {
    border: none;
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

@media screen and (max-width: 400px) {
  #footer-bottom-cell-1 .logo {
    width: 100%;
    height: auto;
    margin-bottom: 25px;
  }
}

/* ======================================== *
        Copyright Section
 * ======================================== */
#copyright-wrapper {
  background: var(--alt-secondary-color-dark);
  overflow: hidden;
}
#copyright-container {
  max-width: 90%;
}
#copyright {
  padding: 25px 0;
}

#copyright p {
  color: #333333;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}

#copyright a {
  color: #333333;
  text-decoration: none;
  font-size: 14px;
}
#copyright a:hover {
  text-decoration: underline;
}
#copyright .divider {
  margin: 0 5px !important;
}

/* cell 1 */
#copyright #copyright-cell-1 .inner {
  padding: 0;
}

/* cell 2 */
#copyright #copyright-cell-2 {
  text-align: right;
}
#copyright #copyright-cell-2 .inner {
  padding: 0;
}

@media screen and (max-width: 950px) {
  #copyright-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #copyright #copyright-cell-1 {
    text-align: center;
    order: 2;
  }
  #copyright #copyright-cell-2 {
    order: 1;
    padding-bottom: 15px;
    padding-top: 0;
  }
  #copyright #copyright-cell-2 {
    text-align: center;
    order: 3;
    padding-top: 5px;
  }
}

/* ======================================== *
        Modules
 * ======================================== */
.tmf-multi-module-area .tmf-module {
  margin-bottom: 50px;
}
.tmf-multi-module-area .tmf-module:last-child {
  margin-bottom: 0;
}

/* For More information Form - sidebar */
/* body .tmf-module-22 {
  background: var(--alt-accent-color-dark);
  padding: 45px 45px;
  text-align: center;
  position: relative;
  min-width: 315px;
  box-sizing: border-box;
}

body .tmf-module-22 h3 {
  font-family: var(--heading-font);
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #fff !important;
}
body .tmf-module-22 .gform_legacy_markup_wrapper .hidden_label .gfield_label {
  display: none;
}

body .tmf-module-22 .gform_legacy_markup_wrapper .screen-reader-text,
.gform_legacy_markup_wrapper label.gform-field-label--type-sub {
  display: none;
}
body .tmf-module-22 .gform_legacy_markup_wrapper .gform_footer {
  text-align: center;
}
body .tmf-module-22 #gform_wrapper_1 input[type="submit"] {
  border: none;
  padding: 5px 25px;
  transition: all 0.15s ease-in;
  max-width: fit-content;
  font-size: 16px;
  font-weight: 700;
}
body .tmf-module-22 #gform_wrapper_1 input[type="submit"]:hover {
  background: var(--accent-color) !important;
  color: #fff !important;
}
body .tmf-module-22 .gform_legacy_markup_wrapper ul.gform_fields li.gfield {
  padding-right: 0;
}
.tmf-module-22 .editor-content ul {
  padding-left: 0;
  margin: 0;
}
.tmf-module-22
  .gform_legacy_markup_wrapper
  input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not(
    [type="button"]
  ):not([type="image"]):not([type="file"]) {
  background: #fff;
  border: 1px solid #fff;
  color: var(--alt-primary-color-dark);
}
.tmf-module-22 .gform_legacy_markup_wrapper textarea {
  background: #fff;
  border: 1px solid #fff;
  color: var(--alt-primary-color-dark);
}
.tmf-module-22 .gform_legacy_markup_wrapper input::placeholder {
  color: var(--alt-primary-color-dark);
  text-align: center;
  font-weight: 500;
  font-size: 14px;
}
.tmf-module-22 .gform_legacy_markup_wrapper textarea::placeholder {
  color: var(--alt-primary-color-dark);
  text-align: center;
  font-weight: 500;
  font-size: 14px;
}

@media screen and (max-width: 1395px) {
  body .tmf-module-22 {
    padding: 45px;
  }
}
@media screen and (max-width: 700px) {
  body .tmf-module-22 {
    min-width: 100%;
  }
}
@media screen and (max-width: 450px) {
  body .tmf-module-22 {
    padding: 35px;
  }
} */
/* End For More information Form - sidebar */

/* ======================================== *
        Inputs & Buttons
 * ======================================== */
input[type='text']::-webkit-input-placeholder,
input[type='tel']::-webkit-input-placeholder,
input[type='email']::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
  color: #333333;
}
input[type='text']::-moz-placeholder,
input[type='tel']::-moz-placeholder,
input[type='email']::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
  color: #333333;
}
input[type='text']:-ms-input-placeholder,
input[type='tel']:-ms-input-placeholder,
input[type='email']:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-ms-input-placeholder,
input[type='tel']::-ms-input-placeholder,
input[type='email']::-ms-input-placeholder,
textarea::-ms-input-placeholder,
select::-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-webkit-input-placeholder,
input[type='tel']::-webkit-input-placeholder,
input[type='email']::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
  color: #333333;
}
input[type='text']::-moz-placeholder,
input[type='tel']::-moz-placeholder,
input[type='email']::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
  color: #333333;
}
input[type='text']:-ms-input-placeholder,
input[type='tel']:-ms-input-placeholder,
input[type='email']:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-ms-input-placeholder,
input[type='tel']::-ms-input-placeholder,
input[type='email']::-ms-input-placeholder,
textarea::-ms-input-placeholder,
select::-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-webkit-input-placeholder,
input[type='tel']::-webkit-input-placeholder,
input[type='email']::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
  color: #333333;
}
input[type='text']::-moz-placeholder,
input[type='tel']::-moz-placeholder,
input[type='email']::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
  color: #333333;
}
input[type='text']:-ms-input-placeholder,
input[type='tel']:-ms-input-placeholder,
input[type='email']:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-ms-input-placeholder,
input[type='tel']::-ms-input-placeholder,
input[type='email']::-ms-input-placeholder,
textarea::-ms-input-placeholder,
select::-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-webkit-input-placeholder,
input[type='tel']::-webkit-input-placeholder,
input[type='email']::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
  color: #333333;
}
input[type='text']::-moz-placeholder,
input[type='tel']::-moz-placeholder,
input[type='email']::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
  color: #333333;
}
input[type='text']:-ms-input-placeholder,
input[type='tel']:-ms-input-placeholder,
input[type='email']:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-ms-input-placeholder,
input[type='tel']::-ms-input-placeholder,
input[type='email']::-ms-input-placeholder,
textarea::-ms-input-placeholder,
select::-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-webkit-input-placeholder,
input[type='tel']::-webkit-input-placeholder,
input[type='email']::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
  color: #333333;
}
input[type='text']::-moz-placeholder,
input[type='tel']::-moz-placeholder,
input[type='email']::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
  color: #333333;
}
input[type='text']:-ms-input-placeholder,
input[type='tel']:-ms-input-placeholder,
input[type='email']:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-ms-input-placeholder,
input[type='tel']::-ms-input-placeholder,
input[type='email']::-ms-input-placeholder,
textarea::-ms-input-placeholder,
select::-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-webkit-input-placeholder,
input[type='tel']::-webkit-input-placeholder,
input[type='email']::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
  color: #333333;
}
input[type='text']::-moz-placeholder,
input[type='tel']::-moz-placeholder,
input[type='email']::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
  color: #333333;
}
input[type='text']:-ms-input-placeholder,
input[type='tel']:-ms-input-placeholder,
input[type='email']:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-ms-input-placeholder,
input[type='tel']::-ms-input-placeholder,
input[type='email']::-ms-input-placeholder,
textarea::-ms-input-placeholder,
select::-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-webkit-input-placeholder,
input[type='tel']::-webkit-input-placeholder,
input[type='email']::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
  color: #333333;
}
input[type='text']::-moz-placeholder,
input[type='tel']::-moz-placeholder,
input[type='email']::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
  color: #333333;
}
input[type='text']:-ms-input-placeholder,
input[type='tel']:-ms-input-placeholder,
input[type='email']:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-ms-input-placeholder,
input[type='tel']::-ms-input-placeholder,
input[type='email']::-ms-input-placeholder,
textarea::-ms-input-placeholder,
select::-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-webkit-input-placeholder,
input[type='tel']::-webkit-input-placeholder,
input[type='email']::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
  color: #333333;
}
input[type='text']::-moz-placeholder,
input[type='tel']::-moz-placeholder,
input[type='email']::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
  color: #333333;
}
input[type='text']:-ms-input-placeholder,
input[type='tel']:-ms-input-placeholder,
input[type='email']:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-ms-input-placeholder,
input[type='tel']::-ms-input-placeholder,
input[type='email']::-ms-input-placeholder,
textarea::-ms-input-placeholder,
select::-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-webkit-input-placeholder,
input[type='tel']::-webkit-input-placeholder,
input[type='email']::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
  color: #333333;
}
input[type='text']::-moz-placeholder,
input[type='tel']::-moz-placeholder,
input[type='email']::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
  color: #333333;
}
input[type='text']:-ms-input-placeholder,
input[type='tel']:-ms-input-placeholder,
input[type='email']:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-ms-input-placeholder,
input[type='tel']::-ms-input-placeholder,
input[type='email']::-ms-input-placeholder,
textarea::-ms-input-placeholder,
select::-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-webkit-input-placeholder,
input[type='tel']::-webkit-input-placeholder,
input[type='email']::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
  color: #333333;
}
input[type='text']::-moz-placeholder,
input[type='tel']::-moz-placeholder,
input[type='email']::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
  color: #333333;
}
input[type='text']:-ms-input-placeholder,
input[type='tel']:-ms-input-placeholder,
input[type='email']:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-ms-input-placeholder,
input[type='tel']::-ms-input-placeholder,
input[type='email']::-ms-input-placeholder,
textarea::-ms-input-placeholder,
select::-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-webkit-input-placeholder,
input[type='tel']::-webkit-input-placeholder,
input[type='email']::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
  color: #333333;
}
input[type='text']::-moz-placeholder,
input[type='tel']::-moz-placeholder,
input[type='email']::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
  color: #333333;
}
input[type='text']:-ms-input-placeholder,
input[type='tel']:-ms-input-placeholder,
input[type='email']:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-ms-input-placeholder,
input[type='tel']::-ms-input-placeholder,
input[type='email']::-ms-input-placeholder,
textarea::-ms-input-placeholder,
select::-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-webkit-input-placeholder,
input[type='tel']::-webkit-input-placeholder,
input[type='email']::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
  color: #333333;
}
input[type='text']::-moz-placeholder,
input[type='tel']::-moz-placeholder,
input[type='email']::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
  color: #333333;
}
input[type='text']:-ms-input-placeholder,
input[type='tel']:-ms-input-placeholder,
input[type='email']:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-ms-input-placeholder,
input[type='tel']::-ms-input-placeholder,
input[type='email']::-ms-input-placeholder,
textarea::-ms-input-placeholder,
select::-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-webkit-input-placeholder,
input[type='tel']::-webkit-input-placeholder,
input[type='email']::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
  color: #333333;
}
input[type='text']::-moz-placeholder,
input[type='tel']::-moz-placeholder,
input[type='email']::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
  color: #333333;
}
input[type='text']:-ms-input-placeholder,
input[type='tel']:-ms-input-placeholder,
input[type='email']:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-ms-input-placeholder,
input[type='tel']::-ms-input-placeholder,
input[type='email']::-ms-input-placeholder,
textarea::-ms-input-placeholder,
select::-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-webkit-input-placeholder,
input[type='tel']::-webkit-input-placeholder,
input[type='email']::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
  color: #333333;
}
input[type='text']::-moz-placeholder,
input[type='tel']::-moz-placeholder,
input[type='email']::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
  color: #333333;
}
input[type='text']:-ms-input-placeholder,
input[type='tel']:-ms-input-placeholder,
input[type='email']:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-ms-input-placeholder,
input[type='tel']::-ms-input-placeholder,
input[type='email']::-ms-input-placeholder,
textarea::-ms-input-placeholder,
select::-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-webkit-input-placeholder,
input[type='tel']::-webkit-input-placeholder,
input[type='email']::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
  color: #333333;
}
input[type='text']::-moz-placeholder,
input[type='tel']::-moz-placeholder,
input[type='email']::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
  color: #333333;
}
input[type='text']:-ms-input-placeholder,
input[type='tel']:-ms-input-placeholder,
input[type='email']:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-ms-input-placeholder,
input[type='tel']::-ms-input-placeholder,
input[type='email']::-ms-input-placeholder,
textarea::-ms-input-placeholder,
select::-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-webkit-input-placeholder,
input[type='tel']::-webkit-input-placeholder,
input[type='email']::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
  color: #333333;
}
input[type='text']::-moz-placeholder,
input[type='tel']::-moz-placeholder,
input[type='email']::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
  color: #333333;
}
input[type='text']:-ms-input-placeholder,
input[type='tel']:-ms-input-placeholder,
input[type='email']:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-ms-input-placeholder,
input[type='tel']::-ms-input-placeholder,
input[type='email']::-ms-input-placeholder,
textarea::-ms-input-placeholder,
select::-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-webkit-input-placeholder,
input[type='tel']::-webkit-input-placeholder,
input[type='email']::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
  color: #333333;
}
input[type='text']::-moz-placeholder,
input[type='tel']::-moz-placeholder,
input[type='email']::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
  color: #333333;
}
input[type='text']:-ms-input-placeholder,
input[type='tel']:-ms-input-placeholder,
input[type='email']:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-ms-input-placeholder,
input[type='tel']::-ms-input-placeholder,
input[type='email']::-ms-input-placeholder,
textarea::-ms-input-placeholder,
select::-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-webkit-input-placeholder,
input[type='tel']::-webkit-input-placeholder,
input[type='email']::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
  color: #333333;
}
input[type='text']::-moz-placeholder,
input[type='tel']::-moz-placeholder,
input[type='email']::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
  color: #333333;
}
input[type='text']:-ms-input-placeholder,
input[type='tel']:-ms-input-placeholder,
input[type='email']:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
  color: #333333;
}
input[type='text']::-ms-input-placeholder,
input[type='tel']::-ms-input-placeholder,
input[type='email']::-ms-input-placeholder,
textarea::-ms-input-placeholder,
select::-ms-input-placeholder {
  color: #333333;
}
input[type='text']::placeholder,
input[type='tel']::placeholder,
input[type='email']::placeholder,
textarea::placeholder,
select::placeholder {
  color: #333333;
}
input[type='text']:focus,
textarea:focus {
  border: 1px solid #cccccc;
}
select.gfield_select {
  background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
  background-size: 5px 5px, 5px 5px, 1px 1.6em;
  background-repeat: no-repeat;
}
.tmf-button,
input[type='submit'] {
  font-size: 16px;
  padding: 7px 20px;
  display: inline-block;
  background: var(--accent-color);
  box-sizing: border-box;
  cursor: pointer;
  border-radius: 3px;
  cursor: pointer;
  text-align: center;
  text-decoration: none !important;
  color: #fff;
  font-family: var(--body-font);
  font-weight: 700;
  line-height: normal;
  position: relative;
  transition: all 0.15s ease-in;
}
.tmf-button:hover,
input[type='submit']:hover {
  background: #452647;
  text-decoration: none;
  color: #ffffff;
}
.tmf-button:active,
.page-numbers:active,
input[type='submit']:active {
  background: var(--primary-color);
  text-decoration: none;
  color: #ffffff;
}
.page-navigation .tmf-button,
.page-navigation .page-numbers {
  background: var(--accent-color);
  border: none;
  border-radius: 3px;
  box-shadow: none;
  font-size: 16px;
  font-weight: 700;
}
.page-navigation .tmf-button:active,
.page-navigation .page-numbers:active {
  background: var(--primary-color);
  border: none;
}
.page-navigation .tmf-button:hover,
.page-navigation .page-numbers:hover {
  background: var(--primary-color);
  border: none;
  text-decoration: none;
}
.page-numbers.current {
  background: var(--primary-color);
  border: none;
  color: #fff;
}
.tmf-button.large {
  font-size: 1.1em;
  padding: 7px 25px;
}
.tmf-button.medium {
  font-size: 0.95em;
  padding: 7px 25px;
}
.tmf-button.small {
  font-size: 0.85em;
  padding: 3px 15px;
}
.tmf-button.tiny {
  font-size: 0.75em;
  padding: 2px 7px;
}

/* ======================================== *
        Responsive Layout
 * ======================================== */
@media screen and (max-width: 500px) {
  #secondary-nav-wrapper {
    display: none;
  }
}

/* ======================================== *
        Miscellaneous
 * ======================================== */
/* tables */
.editor-content table {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
}
.editor-content table th,
.editor-content table td {
  box-sizing: border-box;
  padding: 10px;
  vertical-align: middle;
  width: 50%;
  border: 1px solid #000;
}

/* Button Animation */
.icon-fold {
  overflow: hidden;
  transition: all 0.2s linear 0s;
  width: 250px;
  padding: 7px 10px;
}
.icon-fold:hover {
  text-indent: 25px;
}
.icon-fold::before {
  content: '';
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0px;
  height: 100%;
  width: 25px;
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(0, 1);
  transform-origin: left center;
  transition: all 0.2s linear 0s;
  -webkit-clip-path: polygon(0% 0%, 50% 0, 101% 50%, 50% 101%, 0% 101%);
  clip-path: polygon(0% 0%, 50% 0, 101% 50%, 50% 101%, 0% 101%);
}
.icon-fold:hover::before {
  transform: scale(1, 1);
  text-indent: 0;
}
.icon-fold::after {
  content: '\f054';
  font-family: var(--font-awesome-5);
  font-size: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 11px;
  left: 5px;
  width: 10px;
  transform: scale(0, 1);
  transform-origin: left center;
  transition: all 0.2s linear;
}
.icon-fold:hover::after {
  transform: scale(1, 1);
  text-indent: 0;
}

/* ======================================== *
        Gravity Form
 * ======================================== */
.gform_wrapper.tmf-form_wrapper {
  margin: 0 !important;
}
.gform_legacy_markup_wrapper {
  max-width: 100% !important;
  margin: 0 auto !important;
}
#billboard .gform_legacy_markup_wrapper {
  max-width: 85% !important;
}
.gform_heading {
  display: none;
}
#gform_wrapper_1 .tmf-button,
.page-numbers,
input[type='submit'] {
  background: var(--accent-color);
  border: none;
  color: #fff;
  padding: 5px 15px;
  transition: all 0.15s ease-in;
}
.gform_wrapper.tmf-form_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container input[type='text'],
.gform_wrapper.tmf-form_wrapper input[type='text'],
.gform_wrapper.tmf-form_wrapper textarea {
  margin: 0;
}
.gform_legacy_markup_wrapper .gform_footer input.button,
.gform_legacy_markup_wrapper .gform_footer input[type='submit'],
.gform_legacy_markup_wrapper .gform_page_footer input.button,
.gform_legacy_markup_wrapper .gform_page_footer input[type='submit'] {
  margin: 0 !important;
  width: auto;
}
.gform_legacy_markup_wrapper input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='button']):not([type='image']):not([type='file']) {
  background: #e7e7e7;
  border-radius: 3px;
  border: 1px solid #fff;
  color: #333333;
}
.gform_legacy_markup_wrapper input::-webkit-input-placeholder {
  color: #333333;
}
.gform_legacy_markup_wrapper input::-moz-placeholder {
  color: #333333;
}
.gform_legacy_markup_wrapper input:-ms-input-placeholder {
  color: #333333;
}
.gform_legacy_markup_wrapper input::-ms-input-placeholder {
  color: #333333;
}
.gform_legacy_markup_wrapper input::placeholder {
  color: #333333;
}
.gform_legacy_markup_wrapper textarea {
  background: #e7e7e7;
  border-radius: 3px;
  border: 1px solid #fff;
  color: #333333;
}
.gform_legacy_markup_wrapper textarea::-webkit-input-placeholder {
  color: #333333;
}
.gform_legacy_markup_wrapper textarea::-moz-placeholder {
  color: #333333;
}
.gform_legacy_markup_wrapper textarea:-ms-input-placeholder {
  color: #333333;
}
.gform_legacy_markup_wrapper textarea::-ms-input-placeholder {
  color: #333333;
}
.gform_legacy_markup_wrapper textarea::placeholder {
  color: #333333;
}
body .gform_legacy_markup_wrapper ul li.gfield {
  margin-top: 0 !important;
}
.gform_wrapper.tmf-form_wrapper .top_label .gfield_label {
  margin-bottom: 0;
}
.gform_legacy_markup_wrapper .gform_footer {
  padding: 0 !important;
  margin: 0 !important;
}
.gform_wrapper.tmf-form_wrapper ul.gform_fields li.gfield {
  padding-right: 0 !important;
  margin-top: 0;
}
body .gform_wrapper.tmf-form_wrapper ul li.field_description_below div.ginput_container_checkbox {
  margin-top: 0;
  margin-bottom: 0;
}
.gform_wrapper.tmf-form_wrapper .gform_footer {
  padding: 0;
  margin: 15px 0 0;
  text-align: center;
}
.gform_legacy_markup_wrapper .gform_footer input.button,
.gform_legacy_markup_wrapper .gform_footer input[type='submit'],
.gform_legacy_markup_wrapper .gform_page_footer input.button,
.gform_legacy_markup_wrapper .gform_page_footer input[type='submit'] {
  margin: 0;
}
.gform_legacy_markup_wrapper .gform_footer button.gform_button {
  border: none;
  width: 130px;
}

@media screen and (max-width: 640px) {
  .gform_legacy_markup_wrapper form {
    margin-left: 0 !important;
  }
}

@media screen and (max-width: 500px) {
  .gform_legacy_markup_wrapper {
    max-width: 100% !important;
  }
}

/* ======================================== *
        Sidebar Gravity Form
 * ======================================== */
body .tmf-module-22 .gform_wrapper.tmf-form_wrapper ul li.gfield {
  margin-top: 8px !important;
  padding-top: 0;
}
.tmf-module-22 .gform_wrapper.tmf-form_wrapper .gform_footer input.button,
.tmf-module-22 .gform_wrapper.tmf-form_wrapper input[type='submit'] {
  border: 2px solid #ffffff;
  box-sizing: border-box;
  font-size: 18px;
  max-width: 150px;
  width: 100%;
  padding: 6px 5px;
  margin-right: 0;
  line-height: normal !important;
}

/* ======================================== *
        Video Lightbox
 * ======================================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(24, 68, 97, 0.6);
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: grid;
  place-items: center;
}
.lightbox .lightbox-content {
  position: relative;
  width: 50%;
  height: 50%;
}
.lightbox .lightbox-content iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 1.777;
}
.lightbox .lightbox-content .close-modal {
  background: var(--accent-color);
  background: #000;
  border: 1px solid #fff;
  border-radius: 50%;
  padding: 5px 7px;
  color: #fff;
  position: absolute;
  top: -18px;
  right: -14px;
  font-weight: 700;
}
.lightbox .lightbox-content .close-modal:hover {
  cursor: pointer;
}
@media screen and (max-width: 1350px) {
  .lightbox .lightbox-content {
    width: 70%;
  }
}

@media screen and (max-width: 1250px) {
  .lightbox .lightbox-content {
    width: 80%;
  }
}

@media screen and (max-width: 950px) {
  .lightbox .lightbox-content {
    width: 90%;
  }
}

/* ======================================== *
        Search
 * ======================================== */
a.search-menu-icon {
  font-size: 0;
}
a.search-menu-icon::before {
  border-radius: 50%;
  background: var(--accent-color);
  content: '\f002';
  color: #fff;
  font-size: 14px;
  font-family: var(--font-awesome-5);
  font-weight: 700;
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
}
#header-top-bar a.search-menu-icon:hover {
  text-decoration: none;
}
#search-lg input[type='search']::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.7);
}
#search-lg input[type='search' i]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 43%, #fff 45%, #fff 55%, rgba(0, 0, 0, 0) 57%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(135deg, transparent 0%, transparent 43%, #fff 45%, #fff 55%, transparent 57%, transparent 100%);
  display: inline-block;
  width: 10px;
  height: 10px;
  cursor: pointer;
}
#search-lg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(67, 26, 56, 0.9);
  transition: all 0.5s ease-in-out;
  opacity: 1;
  transition: opacity 350ms ease;
  transform: translate(0, -100%) scale(0, 0);
  display: none;
}
#search-lg.open {
  transform: translate(0, 0) scale(1, 1);
  opacity: 1;
  z-index: 9999999;
  display: block;
}
#search-lg input[type='search'] {
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: 0;
  max-width: 1300px;
  width: 80%;
  color: #fff;
  background: transparent;
  border-bottom: 2px solid #fff;
  font-size: 22px;
  font-weight: 400;
  text-align: center;
  outline: none;
  padding: 10px;
  margin: 0 auto;
  right: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  transform: translateY(-50%);
}
body #search-lg input[type='search']:-ms-input-placeholder {
  color: #fff;
  opacity: 1;
}
body #search-lg input[type='search']::-ms-input-placeholder {
  color: #fff;
  opacity: 1;
}
body #search-lg input[type='search']::-ms-input-placeholder,
body #search-lg input[type='search']::-moz-placeholder,
body #search-lg input[type='search']::-webkit-input-placeholder,
body #search-lg input[type='search']::placeholder {
  color: #fff;
  opacity: 1;
}
#search-lg .close {
  position: absolute;
  top: 50px;
  right: 25px;
  opacity: 1;
  font-size: 18px;
  color: #fff;
}
#search-lg .close::after {
  content: '\f00d';
  color: #fff;
  font-family: var(--font-awesome-5);
  font-size: 18px;
  font-weight: 700;
  position: absolute;
  top: 0;
  right: 0;
}
#search-lg .close:hover {
  color: #fff;
  cursor: pointer;
}

/* ======================================== *
        H1bcap page
 * ======================================== */
.page-id-2473 #body-cell-1 h2.heading {
  color: var(--primary-color);
  overflow: hidden;
  text-align: center;
}
.page-id-2473 #body-cell-1 h2.heading::before,
.page-id-2473 #body-cell-1 h2.heading::after {
  content: '';
  display: inline-block;
  width: 50px;
  border-top: 6px solid var(--primary-color);
  vertical-align: middle;
}
.page-id-2473 #body-cell-1 h2.heading::before {
  margin-left: -100%;
  width: 100%;
  margin-right: 20px;
}
.page-id-2473 #body-cell-1 h2.heading::after {
  margin-right: -100%;
  width: 100%;
  margin-left: 20px;
}
.page-id-2473 #body-cell-1 h3 {
  font-size: 26px;
}

.page-id-2473 #body-cell-1 img {
  max-width: 100%;
  height: auto;
}
.page-id-2473 #body-cell-1 .img-button-wrap {
  text-align: center;
  margin: 30px 0 40px;
}

.page-id-2473 #body-cell-1 a.img-button {
  color: #fff;
  text-decoration: none;
  background: var(--accent-color);
  padding: 15px 25px;
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: -8px;
  font-size: 20px;
  font-weight: 500;
  transition: 0.2s ease;
}
.page-id-2473 #body-cell-1 a.img-button:hover {
  cursor: pointer;
  background: var(--primary-color);
  outline: 2px solid rgba(255, 255, 255, 0.5);
}

/* ======================================== *
        Pets Page
 * ======================================== */
#pets-wrapper {
  background: #f2f2f2;
  padding-bottom: 100px;
  margin-top: 154px;
}
#pets-container {
  max-width: 90%;
}
.pets-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(308px, 1fr));
  gap: 100px 80px;
  margin-top: -114px;
}
.pet-img {
  width: 228px;
  height: 228px;
  position: relative;
  overflow: hidden;
  outline: 1px solid #4f1f42;
  outline-offset: 5px;
  transform: rotate(45deg);
  margin: 0 auto;
}
.pet-img img {
  width: 150%;
  height: 150%;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.pet .pet-name {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-top: 80px;
  position: relative;
}
.pet .pet-name::after {
  content: '';
  display: block;
  width: 220px;
  height: 2px;
  background: #cccccc;
  margin: 15px auto;
}
.pet .pet-bio {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  max-width: 360px;
  margin: 0 auto;
}
.pet .short-bio {
  display: inline;
}
.pet .full-bio {
  display: none;
}
.pet .read-more {
  cursor: pointer;
  font-weight: 600;
  display: inline;
  margin-left: 5px;
}
.page-template-page-pets-template #int-billboard .int-billboard-img.mobile {
  display: none;
}

@media screen and (min-width: 1700px) {
  .pets-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 1050px) {
  #pets-row {
    display: grid;
  }
}

@media screen and (max-width: 950px) {
  .page-template-page-pets-template #int-billboard .int-billboard-img.desktop {
    display: none;
  }
  .page-template-page-pets-template #int-billboard .int-billboard-img.mobile {
    display: block;
  }
}

@media screen and (max-width: 550px) {
  #pets-container {
    max-width: 100%;
  }
}

/* ======================================== *
        ACF Page  Template
 * ======================================== */
#acf-page-wrapper {
  background: #f2f2f2;
  /* padding-bottom: 100px;
	margin-top: 154px; */
  padding: 50px 0;
}
#acf-page-container {
  max-width: 90%;
}
.acf-post-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(308px, 1fr));
  gap: 100px 80px;
  /* margin-top: -114px; */
}
.acf-img {
  width: 228px;
  height: 228px;
  position: relative;
  margin: 0 auto;
}
.acf-img img {
  width: 100%;
  height: auto;
  display: block;
}
.acf-post .acf-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-top: 20px;
  position: relative;
}
.acf-post .acf-title::after {
  content: '';
  display: block;
  width: 220px;
  height: 2px;
  background: #cccccc;
  margin: 15px auto;
}
.acf-post .acf-desc {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  max-width: 360px;
  margin: 0 auto;
}
.acf-post .read-more {
  cursor: pointer;
  font-weight: 600;
  display: block;
  margin: 15px auto 0;
  text-align: center;
}

@media screen and (min-width: 1700px) {
  .acf-post-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 1050px) {
  #acf-page-row {
    display: grid;
  }
}

@media screen and (max-width: 550px) {
  #acf-page-container {
    max-width: 100%;
  }
}
