/* CHILD THEME STYLESHEET */

/* Common Styles */
.module {
	padding: 70px 0;
}

/* HERO */
.home-hero {
  background: #000;
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: 30%;
  height: auto;
  position: relative;
}

.home-hero .row,
.home-hero .row > .columns {
  height: 100%;
}

.home-hero-inner {
  display: block;
  height: 100%;
  
}

.home-hero-mobile-image {
  background-image: url(images/mobile/hero_01_mobile.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  height: 300px;
  width: 100%;
margin-top: 80px;
}

.home-hero-large-form {
  padding: 30px 15px;
}

.home-hero-large-form label {
  color: #fff;
}

.home-hero-large-form-title {
  margin-bottom: 30px;
margin-top:50px;
}

.home-hero .form-container {
  padding: 0;
  background: none;
}

.home-hero-large-form-title h2 {
    color: #fff;
    text-transform: uppercase;
    font-family: 'Reem Kufi', sans-serif;
    letter-spacing: 1px;
	font-size:2.2rem;
}

.home-hero .home-hero-navigation {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18, 37, 71, 1);
}

.home-hero-navigation .sub-menu {
  display: none !important;
}

.scrolled .home-hero .home-hero-navigation {
  display: none;
}

.home .header .module-header-e-lower {
  opacity: 0;
  visibility: hidden;
  /* display: none; */
}

.scrolled .header .module-header-e-lower {
  /* display: block; */
  opacity: 1;
  visibility: visible;
  transition: all .5s ease;
}

.module-intro-a {
    padding-left: 20px!important;
    padding-right: 20px!important;
}


@media screen and (min-width: 550px) {
  .home-hero-mobile-image {
    height: 425px;
  }
}

@media screen and (min-width: 768px) {
  .home-hero {
    height: auto;
	  /*background-image: url(images/hero_01.jpg);*/
    background-image: url(/wp-content/uploads/2024/11/fred-gianni-new-home.png);

  }

  .home-hero-large-form {
    margin-left: auto;
    width: 45%;
  }

  .home-hero-mobile-image {
    display: none;
  }

  .home-hero-inner {
    display: flex;
    align-items: center;
    margin: 0;
  }
}

@media screen and (min-width: 1025px) {
  .home-hero {
    height: 100vh;
	
  }

  .home-hero-large-form .form-input-row .form-input-group {
    margin-bottom: 10px;
  }

  .home-hero-large-form .form-input-row .form-input-group:last-of-type {
    margin-right: 0;
  }
}

@media screen and (max-height: 780px) {
 
}

/* INTRO */
.module-intro-c .flex-container {
  flex-wrap: wrap;
  align-items: flex-start;
}

.module-intro-c-side .youtube-player {
  margin-top: 0;
}

.module-intro-c-content,
.module-intro-c-side {
  width: 100%;
}

.module-intro-c-content {
  margin-bottom: 40px;
}

.module-intro-c-content p:last-of-type {
  margin: 0;
}

@media screen and (min-width: 1025px) {
  .module-intro-c .flex-container {
    flex-wrap: nowrap;
  }

  .module-intro-c-content {
    width: 58%;
    margin: 0 80px 0 0;
  }

  .module-intro-c-side {
    flex: 1;
  }
}


/* PRACTICES */
.module-practices-a {
  padding: 0;
}

.module-practices-a .practices-single {
  width: 100%;
  height: 225px;
/*  background-image: url(images/_background_practice_area.jpg);
  background-repeat: no-repeat;
  background-size: cover;*/
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  text-decoration: none;
  position: relative;
}
.module-practices-a .practices-single img {
	width: 100%;
	height: auto;
}

.module-practices-a .practices-single:before {
  content:"";
  position:absolute;
  width:100%;
  height:100%;
  bottom:0;
  left:0;
  background:rgba(19,37,71,0.8);
  pointer-events: none;
  opacity: 0.4;
  -webkit-transition: opacity 200ms ease-out;
  -moz-transition: opacity 200ms ease-out;
  -ms-transition: opacity 200ms ease-out;
  -o-transition: opacity 200ms ease-out;
  transition: opacity 200ms ease-out;
}

.module-practices-a .practices-single:hover:before,
.module-practices-a .practices-single:focus:before {
  opacity: 1.0;
}

.module-practices-a .practices-single .practices-single-title {
	position: absolute;
	margin-left: auto;
	margin-right: 20px;
	margin-bottom: 20px;
	bottom: 20px;
	right: 20px;
}

.module-practices-a .practices-single h3 {
  margin: 0;
  color: #fff;
  font-size: 1.0rem;
  text-align:center;
}

.module-practices-a .practices-single .practices-single-content {
	display: none;
	color: #fff;
	position: absolute;
	flex-direction: column;
	margin: 0;
	padding: 15px 30px;
	font-size: 1.4rem !important;
	align-items: center;
	justify-content: center;
	text-align: center;
	bottom: 45%;
	width: 100%;
}

.module-practices-a .practices-single:hover .practices-single-content span {
  display: block;
  font-weight: 700;
  margin-top: 8px;
}

.module-practices-a .practices-single:hover .practices-single-content,
.module-practices-a .practices-single:focus .practices-single-content {
  display: flex;
  -webkit-animation: fadeIn 200ms ease-out;
  animation: fadeIn 200ms ease-out;
}

.module-practices-a .practices-single:hover .practices-single-title,
.module-practices-a .practices-single:focus .practices-single-title {
	display:none

}

@media screen and (min-width: 768px) {
  .module-practices-a-inner {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
  }

  .module-practices-a .practices-single {
    width: 50%;
    min-height: 253px;
    height: auto;
  }
}

@media screen and (min-width: 1024px) {
  .module-practices-a .practices-single {
    width: 20%;
  }
}

/* CTA BLOCK */
.module-cta-a-inner {
  margin-top: 40px;
}

.module-cta-a-inner .button {
  width: 100%;
  margin-bottom: 20px;
}

.module-cta-a-inner .button:last-of-type {
  margin: 0;
}

@media screen and (min-width: 640px) {
  .module-cta-a-inner {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .module-cta-a-inner .button {
    margin: 0 2%;
    width: auto;
  }
}

/* BADGES */
.module-badges-c {
  padding: 0;

}

.module-badges-c-single {
  padding: 40px;
  border-bottom: 1px solid #C0C3D3;
  text-align: center;

}

@media screen and (min-width: 768px) {
  .module-badges-c-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .module-badges-c-single {
    border-right: 1px solid #C0C3D3;
  }

  .module-badges-c-single:nth-child(3n + 3) {
    border-right: none;
  }
}

@media screen and (min-width: 1025px) {
  .module-badges-c-inner {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .module-badges-c-single:nth-child(3n + 3) {
    border-right: 1px solid #C0C3D3;
  }

  .module-badges-c-single:nth-child(4n + 4) {
    border-right: none;
  }
}