/*

 Theme Name:     Divi Child Theme

 Theme URI:      https://www.elegantthemes.com/gallery/divi/

 Description:    Divi Child Theme

 Author:         Elegant Themes

 Author URI:     https://www.elegantthemes.com

 Template:       Divi

 Version:        1.0.0

*/

 

@import url("../Divi/style.css");

 

/* =Theme customization starts here

------------------------------------------------------- */


@font-face {
	font-family: 'Friz Quadrata Regular';
	font-style: normal;
	font-weight: normal;
	src: local('Friz Quadrata Regular'), url('https://hcwlegal.com/wp-content/themes/divi-child/friz-quadrata-regular.woff') format('woff');
}


body, h1, h2, h3, h4, h5, p, #main-content ul li, #main-content ol li  {
	font-family: Friz Quadrata Regular, Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif";
}

a {
	color: #F37021;
}

a:hover {
	color: #005496;
}



/* Heading Styles */

h1 {
	font-family: Friz Quadrata Regular, Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif";
	padding-bottom: 20px;
	color: #005496;
}

h2 {
	font-family: Friz Quadrata Regular, Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif";
	color: #005496;
}

h3 {
	font-family: Friz Quadrata Regular, Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif";
	color: #777C83;
}

h4 {
	font-family: Friz Quadrata Regular, Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif";
}



/* MENU styles */

#top-menu li li a {
	padding: 6px!important;
}

#top-menu .reg_nav a {
    color: #005496 !important; /* Default menu item color */
    transition: color 0.3s ease-in-out;
}

#top-menu .reg_nav a:hover {
    color: #F37021 !important; /* Change to orange */
}

/* Keep the hover effect consistent in the fixed header */
.et-fixed-header #top-menu .reg_nav a {
    color: #005496 !important; /* Default white in fixed header */
}

.et-fixed-header #top-menu .reg_nav a:hover {
    color: #F37021 !important; /* Change to orange when hovering */
}
.et-fixed-header #top-menu .cta_button a {
    color: #fff !important;  
}


@media only screen and (min-width: 981px) {
    #logo {
		max-width: 350px!important;
	}
}



/* CTA button styles */
.cta_button a {
    color: #fff !important;
    background-color: #005496;
    font-size: 16px !important;
    border-radius: 50px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    text-align: center;
    line-height: 9px;
    font-weight: 600;
    padding: 18px 16px !important;
    display: block;
     margin-top: 10px;
       margin-bottom: 10px;
       padding-left: 25px !important;
    padding-right: 25px !important;
    border: 0px;
}

.et-fixed-header #top-menu a {
	color: #fff !important;
}

/* Flexbox layout for header 
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Keep the logo aligned 
.logo_container {
  flex-shrink: 0;
}

/* Make the menu and buttons behave nicely 
#top-menu-nav {
  flex-grow: 1;
}

#top-menu {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}*/

/* CTA buttons on the right */
.cta-buttons {
  display: flex;
  gap: 1rem;
}

.cta-buttons .btn {
  background-color: #002D74;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.cta-buttons .btn:hover {
  background-color: #0043b0;
}

/* #et-top-navigation,
#top-menu-nav {
  float: none !important;
  padding-left: 0 !important;
} */


/* Media query to ensure hover styles are only applied to desktop */

@media (min-width: 981px) {
    
    /* Hover styles for our CTA Button */
    .cta_button a:hover {
        opacity: 1 !important;
        color: #fff !important; 
        background-color: #F37021;
         transition: background-color 0.3s ease, transform 0.3s ease;
        transform: scale(1.1); /* If you don't want the button to get bigger when you hover on it, delete this line */
    }
}
.et_mobile_menu li a:hover, .nav ul li a:hover {
       color: #F37021;
}

.et_mobile_menu li.cta_button a:hover,
.nav ul li.cta_button a:hover {
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #F37021;
}

    
/* Fix the padding in the primary menu to accomodate the button */
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
    padding-top: 0px;
    padding-bottom: 0px;
}
 
/* Make sure that the alignment in the menu is correct */
.et_pb_menu .et_pb_menu__menu>nav>ul>li {
    align-items: center;
}


/* Footer */

.footer-widget .fwidget {
	margin-bottom: 20px !important;
}

.footer-widget h2 {
	font-size: 20px !important;
	font-weight: 200 !important;
}

.footer-widget p {
	font-weight: 200 !important;
}

#main-footer {
	background-image: url('https://hcwlegal.com/wp-content/themes/divi-child/HCWLegal-side-white-5.png');
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: cover;
}