/**
 * Theme Name:          Mai Law Pro
 * Theme URI............https://maitheme.com
 * Description:         Mai Law Pro is a custom child theme for The Genesis Framework.
 * Author:              Mike Hemberger, BizBudding Inc
 * Author URI:          https://bizbudding.com/
 * Version:             1.3.0
 *
 * Template:            genesis
 *
 * License:             GPL-2.0+
 * License URI:         http://www.opensource.org/licenses/gpl-license.php
 */


/* Table of Contents

	- Defaults
	- Media Queries (mobile-first)
	- Media Queries (mobile-second)

*/


/* # Defaults
---------------------------------------------------------------------------------------------------- */

@font-face{
	font-family: 'Montserrat';
	src: url('fonts/Montserrat-Bold.ttf');
	font-weight: 700;
}
@font-face{
	font-family: 'Montserrat';
	src: url('fonts/Montserrat-Regular.ttf');
	font-weight: 400;
}

/*=============================RESET STYLES==========================*/
body {
	font-family: 'Montserrat';
	font-weight: 400;
}

div.site-header-row{ justify-content: center; }

.banner-title,
.heading,
.widget-title,
.widgettitle {
	font-family: 'Montserrat';
	font-weight: 700;
	letter-spacing: 1px;
}

.heading {
	text-align: inherit;
}

html{
	box-sizing: border-box;
	scroll-behavior: smooth;
}

*,
*::before,
*::after{
	box-sizing: inherit;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat';
	font-weight: 700;
	line-height: 36px;
	color: #FFFFFF;
}

p{
	color: #595959;
	font-size: 14px;
	line-height: 19px;
	font-weight: 400;
}

p.sub-title-black, p.sub-title-white, p.sub-title-black > a{
	font-weight: 700;
	color: #1B1B1B;
	font-size: 22px;
	line-height: 25px;
}

p.sub-title-black > a{ text-decoration: underline; }

p.sub-title-white{
  color: #FFFFFF;
  font-weight: 400;
}

.wrapper-img{ 
  line-height: 0;
  width: 100%;
}

img{
  max-width: 100%;
  height: auto;
}

.entry-content a{
  text-decoration: none; 
  font-size: 14px;
}

.entry-content p, .quote-caption { margin-bottom: 12px; }
.site-footer{ 
  background-color: #FFFFFF;
  border-top: none;
}

.btn-transp a{
	border-radius: 5px;
	color: #FFFFFF;
	font-weight: 400;
	transition: all 500ms ease;
  display: flex;
  align-items: center;
}

.btn-transp a:hover{ color: #FFFFFF; }

.btn-transp a i{
  margin-left: 1rem;
  font-size: 16px;
}

.text .link-default{
  color: #1B1B1B;
}

.text .link-default:hover{
  color: #1B1B1B;
  opacity: .8;
}

/*=============================HOME STYLES==========================*/
/*.wrapper-banner{
  flex-direction: column;
}*/

section.banner-landing {
  background-image: url(https://publissoft.net/landingdivocco/wp-content/uploads/2022/11/banner_landing_divocco.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

.wrapper-banner .col-1, .wrapper-banner .col-2{
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.wrapper-banner .col-1 .wrapper-img img, 
.wrapper-banner .col-2 .wrapper-img img {
  width: 100%;
  object-fit: cover;
  height: 100%;
  min-height: 300px;
}

.wrapper-banner .col-1{
  margin-bottom: 5rem;
}

.wrapper-banner .col-1 .wrap-info-content, .wrapper-banner .col-2 .wrap-info-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem;
  background-color: rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  transition: all ease 500ms;
}

div.wrap-info-content p.sub-title-white{
  margin-bottom: 2rem;;
}

/*=============================FOOTER STYLES==========================*/
div.footer-credits .foo-col:not(:last-child){
  margin-bottom: 1rem;
}

/* # Media Queries (mobile-first)
---------------------------------------------------------------------------------------------------- */

@media only screen and (min-width: 545px) {
  /*=====================================STYLES RESET CSS=========================================*/
	h1, h2, h3, h4, h5, h6{ line-height: 48px; }
	p{ font-size: 16px; line-height: 21px; }
}

@media only screen and (min-width: 769px) {
  .wrapper-banner .col-1 .wrapper-img.mb,
  .wrapper-banner .col-2 .wrapper-img.mb{
    display: none;
  }
}

@media only screen and (min-width: 993px) {}

@media only screen and (min-width: 1024px) {
  /*=============================HOME STYLES==========================*/
  .wrapper-banner{
    flex-direction: row;
  }

  .wrapper-banner .col-1 .wrap-info-content,
  .wrapper-banner .col-2 .wrap-info-content{
    opacity: 0;
    visibility: hidden;
  }

  .wrapper-banner .col-1:hover .wrap-info-content,
  .wrapper-banner .col-2:hover .wrap-info-content{
    opacity: 1;
    visibility: visible;
  }

  .wrapper-banner .col-1 .wrap-info-content h2,
  .wrapper-banner .col-2 .wrap-info-content h2{
    transition: all ease 500ms;
  }

  .wrapper-banner .col-1:hover .wrap-info-content h2,
  .wrapper-banner .col-2:hover .wrap-info-content h2{
    font-size: 2.4em;
  }

  .wrapper-img{
    height: 100%;
  }

  .wrapper-banner .col-1,
  .wrapper-banner .col-2{
    width: calc(50% - 2rem);
  }

  div.wrap-info-content .sub-title-white{
    max-width: 430px;
  }

  .wrapper-banner .col-1{
    margin-right: 4rem;
    margin-bottom: 0;
    min-height: 400px;
  }

  .wrapper-banner .col-1 .wrapper-img img, 
  .wrapper-banner .col-2 .wrapper-img img{
    object-fit: initial;
  }

  /*=============================FOOTER STYLES==========================*/
  div.footer-credits .foo-col:not(:last-child){
    margin-bottom: 0;
    margin-right: 1rem;
  }

  div.footer-credits{ 
    display: flex;
    justify-content: space-between;
  }
}

@media only screen and (min-width: 1450px){
  .banner-landing .wrap{
    max-width: 1400px;
  }
}

@media only screen and (min-width: 1700px){
  .banner-landing .wrap{
    max-width: 1650px;
  }
}

/* # Media Queries (mobile-second)
---------------------------------------------------------------------------------------------------- */

@media only screen and (max-width: 1023px) {
  .wrapper-banner .col-1 .wrapper-img img, .wrapper-banner .col-2 .wrapper-img img{
    object-fit: initial;
  }
}

@media only screen and (max-width: 992px) {}

@media only screen and (max-width: 768px) {
  .wrapper-banner .col-1 .wrapper-img, .wrapper-banner .col-2 .wrapper-img{
    display: none;
  }

  .wrapper-banner .col-1 .wrapper-img.mb, .wrapper-banner .col-2 .wrapper-img.mb{
    display: block;
    max-height: 500px;
  }

  .wrapper-banner{ 
    max-width: 520px;
    margin: 0 auto; 
  }

  /*.section-content{
    padding-top: 6rem;
  }*/

  .wrapper-banner .col-1.active-hover .wrap-info-content,
  .wrapper-banner .col-2.active-hover .wrap-info-content{
    opacity: 1;
    visibility: visible;
  }

  .wrapper-banner .col-1 .wrapper-img.mb img, .wrapper-banner .col-2 .wrapper-img.mb img{
    /*max-height: 600px;*/
    object-position: 100% 100%;
    object-fit: cover;
  }
}

@media only screen and (max-width: 544px) {
  /*=============================HOME STYLES==========================*/
  .wrapper-sec2 {
    max-width: 190px;
    margin: 0 auto;
  }
}
