:root {
	--font-open-sans: "Open Sans", sans-serif;
	--font-oswald: "Oswald", sans-serif;
}

body {
  border-top: 20px solid #00663A; /* formerly #034a2a */
  font-family: var(--font-open-sans);
  background: #f4fff2;
}

#top-bar-nav-outer {
  position: relative;
}

#top-bar-nav {
  position: absolute;
  z-index: 100000;
  top: -20px;
  right: 0;
  display: flex;
  flex-direction: row;
  justify-content: end;
}

.top-btn {
  position: relative;
  padding: 10px 20px;
  text-align: center;
  font-family: var(--font-oswald);
  font-weight: bold;
  font-size: 20px;
  color: #fff;
  background: #00663A;
  text-decoration: none;
  cursor: pointer;
  border-right: 1px solid #fff;
  transition: 0.3s;
}

.top-btn:hover {
  background: #02331d;
}

.top-btn:first-child {
  border-radius: 0 0 0 16px;
}

.top-btn:last-child {
  border-right: none;
  border-radius: 0 0 16px 0;
}
a {color:#0068b1;/*changed ADA compliance*/}
#logo-row {
  background: #fffdf7;
  padding: 10px 0;
}

.top-address {
  display: block;
  margin: 0;
  font-family: var(--font-oswald);
  font-weight: 300;
  font-size: 20px;
}

.dgreen {
  color: #00663A;
}

.dblue {
  color: #00528b;
}

.jwb-scroll-banner {
	font-family: var(--font-oswald);
	font-size:28px;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5 {
  font-family: var(--font-oswald);
  font-weight: 400;
}

h1 {
  color:#00528b;
  font-size:42px;
}

h2 {
  color:#00663A;
}

.oswald {
    font-family: var(--font-oswald);
}

#footer-outer {
  background: #00528b;
}

.submenu-toggle i {
  font-size: 0.7rem;
}

.hls-hero{
  position: relative;
  overflow: hidden;
  background: #00663A;

  /* This creates the “nice hero height” but still allows growth */
  min-height: calc(100vw * (var(--h) / var(--w)));

  /* Optional cap so it doesn’t get absurdly tall on ultrawide screens */
  max-height: 900px;

  /* Let content increase height beyond min-height */
  height: auto;

  /* Use grid so overlay contributes to layout height */
  display: grid;
}

/* Both video + overlay occupy the same grid cell */
.hls-hero__video,
.hls-hero__overlay{
  grid-area: 1 / 1;
}

.hls-hero__video{
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* IMPORTANT: stops Chrome “video overlay plane” behavior */
  filter: brightness(1);
  border-radius:0 0 0 80px;
}

/* Overlay is vertically centered, but also allows top/bottom padding */
.hls-hero__overlay{
  z-index: 1;
  display: flex;
  align-items: center;

  /* padding so when #homebox gets tall, it doesn’t touch edges */
  padding-block: clamp(24px, 5vw, 72px);
}


#herobox {
  padding: 50px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 0 0 0 80px;
}

#herobox-title {
  display:block;
  font-family: var(--font-oswald);
  font-weight: bold;
  color: #0068b1;
  font-size: 45px;
  position:relative;
  padding-bottom:20px;
  margin-bottom:20px;
}

#herobox-title:after {
  display:block;
  content:"";
  width:40%;
  height:1px;
  background:rgba(0,0,0,.5);
  position:absolute;
  bottom:0;
  left:0;
}

#bbblink {
	position:absolute;
	right:3px;
	bottom:8px;
	z-index:100;
}

.homepara::before{
  content:"";
  position:absolute;
  left:0;
  top:-1px;
  width:100%;
  height:50px;
  background: #f4fff2;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 40%);
}

.homepara::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-1px;
  width:100%;
  height:50px;            
  background: #f4fff2; 
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

#footer-topper {
  height:50px;
  position:relative;
}
#footer-topper::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-1px;
  width:100%;
  height:50px;            
  background: #00528b; 
  clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
}

figcaption {
	font-size:13px;
	text-align:center;
}

.clearfix {
	clear:both!important;
}

/**FORM STYLES*/
.pdq-scale {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.25rem;
  align-items: start;
}
.pdq-choice {
  text-align: center;
}
.pdq-choice input[type="radio"] {
  display: block;
  margin: 0 auto 0.15rem;
}

.form-label {
  font-size:15px;
  font-weight:600;
}

input.error {
	border: 2px solid red;
}
.errormsg {
	color: red;
}

#captcha {
	display: inline-block;
}
input.error, select.error, textarea.error {
	border: 1px solid red;
}
.errormsg {
	display: block;
	width: 100%;
	position: relative;
}
.red {
	color: red!important;
}
label.error {
	color: red!important;
	font-size: 13px!important;
	z-index: 1000;
	font-weight: normal;
	width: auto;
	position: absolute;
	top: -3px;
	left: 10px;
	background: #FFF;
	border: 1px solid #bbb;
	border-radius: 5px;
	padding: 8px;
	box-shadow: 2px 2px 4px rgba(0,0,0,0.15);
}
label.error:before {
	content: "";
	position: absolute;
	border-style: solid;
	border-color: #bbb transparent;
	display: block;
	width: 0;
	top: -10px;
	bottom: auto;
	left: 20px;
	border-width: 0 10px 10px;
}
label.error:after {
	content: "";
	position: absolute;
	border-style: solid;
	border-color: #fff transparent;
	display: block;
	width: 0;
	top: -9px;
	bottom: auto;
	left: 21px;
	border-width: 0 9px 9px;
}

/**END FORM STYLES*/

/**TEAM/SERVICES/CONDITIONS STYLES*/
.bio-modal .modal-content,
.info-modal .modal-content {
  background: #f4fff1;
  border-radius: 0px 0px 0px 80px;
}

.bio-content,
.info-content {
  background: #fff;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-close {
  z-index: 1000000;
}

.team-outer,
.condition-outer,
.service-outer {
  height:100%;
  background: #fffdf8;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
  display:flex;
  flex-direction:column;
}

.team-outer h2,
.condition-outer h2,
.service-outer h2 {
  color: #00528b;
  font-size: 30px;
  font-weight: 700;
  margin-bottom:15px;
}

.condition-outer h2,
.service-outer h2 {
  margin-top:auto;
}

.team-outer h2 {
  padding-top: 10px;
  margin-bottom: 5px;
}

.team-outer .btn,
.condition-outer .btn,
.service-outer .btn{
  margin-left:auto;
  margin-right:auto;
}

.team-outer .btn {
  margin-top:auto;
}

.team-outer h3,
.condition-outer h3,
.service-outer h3 {
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 15px;
}


.team-img,
.condition-img,
.service-img {
  box-shadow: -5px 5px 0px #005999;
  border-radius: 0px 0px 0px 50px;
}

.condition-img,
.service-img {
  margin-top:auto;
}

.condition-img,
.service-img {
  margin-bottom:20px;
}

.team-img-full,
.condition-img-full,
.service-img-full {
  box-shadow: -8px 8px 0px #005999;
  border-radius: 0px 0px 0px 80px;
}

.condition-img-full,
.service-img-full {
  width: 100%!important;
  height: 100%!important;
  object-fit: cover!important;
}

.btn-primary{
	background-color: #005999!important;
	border-color:#005999!important;
}

.team-outer .btn-primary,
.condition-outer .btn-primary,
.service-outer .btn-primary,
#herobox .btn-primary {
  border-radius: 0;
  font-weight: 600;
  font-family: "Oswald", sans-serif;
  font-size: 19px;
  padding-left: 25px;
  padding-right: 25px;
}

.btn-primary:hover {
  background-color: #00365c;
}

.btn-success {
  background-color: #00663A!important;
  border-color:#00663A!important;
}

.btn-success:hover {
  background-color: #035934!important;
}

.bio-outer,
.info-outer {
  position: relative;
}

.bio-content h2.h1,
.info-content h2.h1 {
  color: #00528b;
}

.bio-content h2.h1 small,
.info-content h2.h1 small {
  color: #000;
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
  font-size: 30px;
}

.bio-content h3,
.info-content h3 {
  color: #00528b;
  font-size: 24px;
}

#footer-phone,
#footer-address,
#footer-appointment {
  display:block;
  font-family: "Oswald", sans-serif;
  font-weight: bold;
  font-size: 22px;
  color: #fff;
  line-height:50px;
  text-decoration:none;
}



/**END TEAM/SERVICES/CONDITIONS STYLES*/


/**BEGIN TESTIMONIALS STYLES*/

.t_carousel {
  position: relative;
  width: 100%;
}

.t_carousel_viewport {
  overflow: hidden;
  width: 100%;
}

.t_carousel_track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.t_carousel_slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
}


.t_carousel_arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.t_carousel_arrow_prev {
  left: 10px;
}

.t_carousel_arrow_next {
  right: 10px;
}

.t_carousel_dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 14px 10px 0;
}

.t_carousel_dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
  padding: 0;
}

.t_carousel_dot.active {
  background: #333;
}

.t_carousel_arrow:focus-visible,
.t_carousel_dot:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .t_carousel_arrow {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .t_carousel_track {
    transition: none;
  }
}

.t_carousel_slide_content {
  font-size:24px;
}

.test_masonry h2 {
  font-size:26px;
}

.t_carousel_slide_content h2 small, .test_masonry h2 small {
  font-size:15px;
  color:#333;
  font-weight:normal;
}

.testimonial_img {
  border: 1px solid #5a93ba;
  border-radius: 160px !important;
  height: 150px;
  padding: 3px;
  width: 150px;
}

.testimonial_title small {
  color:#00663A;
}

.test_masonry {
    column-count: 1;
    column-gap: 1.5rem;
}

.test_masonry_item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

/**END TESTIMONIALS STYLES*/

/************************/
/**SIZE SPECIFIC STYLES**/
/************************/
/**COMBINATIONS**/
/**SM & DOWN*/
@media (max-width: 767px) {
  body {
    border-top: none;
  }

  #page-wrap {
    transition: filter 0.3s;
  }
  #page-wrap.navactive {
    filter: blur(5px);
  }
  #main-nav {
    transition: 0.3s;
    z-index: 1000;
  }
  #nav-wrap {
    position: fixed;
    top: 0;
    right: -100%;
    left: 100%;
    bottom: 0;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    padding-top: 45px;
  }
  .main-nav_ul {
    margin: 0;
    padding: 0;
  }
  .main-nav_ul li {
    list-style: none;
  }

  .main-nav_ul li a {
    text-decoration: none;
    display: block;
    font-size: 19px;
    color: #fff;
    padding: 8px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
  }
  .main-nav_ul li a:hover {
    text-decoration: none;
    background: rgba(0, 0, 0, 0.5);
  }

  .main-nav_ul li.menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .main-nav_ul li.menu-item-has-children > a {
    flex: 1 1 auto;
    margin: 0;
  }

  .main-nav_ul li.menu-item-has-children > .submenu-toggle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav_ul li.menu-item-has-children > .sub-wrap {
    width: 100%;
  }

  button#navbtn {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    line-height: 1;
  }
  button#navbtn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
  }

  #navbtn {
    display: block;
    width: 25px;
    height: 25px;
    position: absolute;
    z-index: 9000000;
    right: 15px;
    top: 12px;
    cursor: pointer;
    transition: 0.3s;
  }
  #navbtn .bar1,
  #navbtn .bar2,
  #navbtn .bar3 {
    display: block;
    height: 2px;
    width: 100%;
    position: absolute;
    background: #fff;
    transition: 0.3s;
    outline: 1px solid #00542b;
  }
  #navbtn .bar1 {
    top: 2px;
  }
  #navbtn .bar2 {
    top: 12px;
    opacity: 1;
  }
  #navbtn .bar3 {
    bottom: 1px;
  }
  .navactive #navbtn .bar2 {
    opacity: 0;
  }
  .navactive #navbtn .bar1 {
    transform: rotate(45deg) translateY(8px) translateX(6px);
    outline: none;
  }
  .navactive #navbtn .bar3 {
    transform: rotate(-45deg) translateY(-8px) translateX(6px);
    outline: none;
  }
  .navactive #navbtn {
    display: block;
  }
  .navactive #nav-wrap {
    right: 0;
    left: 0;
  }

  .submenu-toggle {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    margin: 0;
    cursor: pointer;
    color: #fff;
  }

  .submenu-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
  }

  .submenu-toggle:hover {
    background: rgba(0, 0, 0, 0.5);
  }

  .submenu-toggle i {
    font-size: 1.15rem;
    line-height: 1;
  }

  .sub-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: 0.3s;
  }
  .sub-menu {
    overflow: hidden;
    padding-left: 0;
  }
  .sub-menu a {
    padding-left: 1.75rem !important;
    font-size: 17px;
    background: rgba(0, 0, 0, 0.15);
  }

  .menu-item-has-children.is-sub-open .sub-wrap {
    grid-template-rows: 1fr;
  }

  #top-bar-nav-row {
    background: #00663A;
    padding-right: 50px;
  }

  #top-bar-nav {
    position: relative;
    top: 0;
    z-index: 10;
    justify-content: start;
  }

  .top-btn {
    border-radius: 0 !important;
  }

  .bio-modal .modal-content,
  .info-modal .modal-content {
    border-radius: 0;
  }
	
	.hls-hero__overlay{
		padding-bottom:65px;
	}
	
	#bbblink {
		bottom:8px;
		left:0;
		right:0;
		text-align:center;
	}

	.btmnav a {
	  font-family:"Oswald";
	  text-align:center;
	  display:block;
	  color:#FFF;
	  text-decoration:none;
	}
}

/**MD & DOWN*/
@media (max-width: 991px) {
}
/**LG & DOWN**/
@media (max-width: 1199px) {
}

/**MD & UP*/
@media (min-width: 768px) {
  #navbtn {
    display: none;
  }

  .submenu-toggle {
    display: none;
  }

  #main-nav {
    position: relative;
    z-index: 1000;
    background: #fff;
    transition: 0.3s;
    display: block;
    border-top: 1px solid #808080;
    border-bottom: 1px solid #bbbbbb;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
  }
  .main-nav_ul {
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  .main-nav_ul:hover {
    overflow: visible;
  }
  .main-nav_ul > li {
    margin: 0;
    padding: 0;
    display: inline-block;
    list-style: none;
    position: relative;
  }
  .main-nav_ul > li > a {
    display: block;
    position: relative;
    font-size: 15px;
    color: #4e4e4e;
    text-align: center;
    transition: 0.3s;
    padding: 8px 15px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
  }
  .main-nav_ul > li:hover > a {
    text-decoration: none;
    color: #0068b1;
  }

  .sub-wrap {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: -100;
    opacity: 0;
    transition: opacity 0.3s;
    min-width: 105%;
  }
  .sub-menu {
    margin: 0;
    padding: 0;
  }
  .sub-menu > li {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .sub-menu > li > a {
    display: block;
    padding: 5px 17px;
    color: #4e4e4e;
    font-weight:600;
    background: #FFF;
    white-space: nowrap;
    text-align: left;
    text-decoration: none;
  }
  .sub-menu > li > a:hover {
    text-decoration: none;
    color: #0068b1;
  }

  .main-nav_ul > li:hover > .sub-wrap,
  .main-nav_ul > li:focus-within > .sub-wrap {
    z-index: 10000000;
    opacity: 1;
  }

  .nav-fill {
    display: flex;
  }
  .nav-fill > li {
    flex: 1 1 auto;
    text-align: center;
  }
  .nav-fill > li > a {
    width: 100%;
  }

  .bio-content{
    position: absolute;
    top: 20px;
    right: 10px;
    left: 0;
    bottom: 0;
    overflow-y: scroll;
  }

   .info-content {
    top: 20px;
    right: 10px;
    left: 0;
    bottom: 0;
    min-height:100%;
  }

  .team-col-last .team-outer,
  .service-col-last .service-outer,
  .condition-col-last .condition-outer {
    border-top-right-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
  }

  .featured-col:nth-child(3n + 1) .service-outer {
    border-top-left-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
  }

  .featured-col:nth-child(3n) .service-outer {
    border-top-right-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
  }
	
	.h-md-100 {
    height: 100% !important;
  }

	.btmnav {
	  padding-right:10px;
	  display:flex;
	  flex-direction:column;
	  border-right:1px solid rgba(255,255,255,.5);
	  justify-content: space-between;
	}

	.btmnav a {
	  font-family:"Oswald";
	  text-align:right;
	  display:block;
	  color:#FFF;
	  text-decoration:none;
	}
	
}

/**LG & UP**/
@media (min-width: 992px) {
  .team-col:nth-child(4n + 1) .team-outer,
  .service-col:nth-child(4n + 1) .service-outer,
  .condition-col:nth-child(4n + 1) .condition-outer {
    border-top-left-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
  }

  .team-col:nth-child(4n) .team-outer,
  .service-col:nth-child(4n) .service-outer,
  .condition-col:nth-child(4n) .condition-outer {
    border-top-right-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
  }

  .test_masonry {
      column-count: 3;
  }
}

/**XLG & UP**/
@media (min-width: 1200px) {
}

/**XXLG & UP**/
@media (min-width: 1400px) {
}

/**INDIVIDUAL SIZES**/
/**XS**/
@media (max-width: 575px) {
  .modal-dialog.modal-xxl {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

/**SM**/
@media (min-width: 576px) and (max-width: 767px) {
  .modal-dialog.modal-xxl {
    max-width: 90%;
  }
}

/**MD**/
@media (min-width: 768px) and (max-width: 991px) {
  .top-btn {
    font-size: 16px;
    padding: 7px 15px;
  }

  .main-nav_ul > li > a {
    font-size: 12px;
  }
  .modal-dialog.modal-xxl {
    max-width: 99%;
  }

  .team-col:nth-child(odd) .team-outer,
  .service-col:nth-child(odd) .service-outer,
  .condition-col:nth-child(odd) .condition-outer {
    border-top-left-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
  }

  .team-col:nth-child(even) .team-outer,
  .service-col:nth-child(even) .service-outer,
  .condition-col:nth-child(even) .condition-outer {
    border-top-right-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
  }

  .test_masonry {
        column-count: 2;
    }

}

/**LG**/
@media (min-width: 992px) and (max-width: 1199px) {
  .modal-dialog.modal-xxl {
    max-width: 99%;
  }
}

/**XLG**/
@media (min-width: 1200px) and (max-width: 1399px) {
  .modal-dialog.modal-xxl {
    max-width: 1170px;
  }
}

/**XXLG**/
@media (min-width: 1400px) {
  .modal-dialog.modal-xxl {
    max-width: 1300px;
  }
}
