/**
 * Theme Name:      Ruck Child Theme
 * Theme URI:       https://www.elegantthemes.com/gallery/divi/
 * Description:     A child theme for Ruck Funeral Homes based o Divi 5. Created by Renegade Communciations.
 * Author:          Ruck Funeral Homes
 * Author URI:      https://www.renegadecommunications.com/
 * Template:         Divi
 * Version:         1.0.0
 * Text Domain:     ruck-child-theme
 * License:         GPL2
 * License URI:     https://www.gnu.org/licenses/gpl-2.0.html
 */
  
 
/* ---------------------- Theme customization starts here ---------------------- */

h1, h2, h3, .et_pb_button {
	font-family: area-extended, sans-serif;
	font-style: normal;
	line-height: 1.4;
}

p, h4, h5, h6 {
	font-family: area-normal, sans-serif;
	font-style: normal;
}

.display-font, .display-font p{
	font-family: "adventures-unlimited", sans-serif;
	font-style: normal;
}

.palatino{
	font-family: "palatino-linotype", sans-serif;
	font-weight: 400;
	font-style: normal;
}
.palatino-bold{
	font-family: "palatino-linotype", sans-serif;
	font-weight: 700;
	font-style: normal;
}


/*Fixed Header Styles*/
/*set the transition for the spacing shrinking action*/
.ruck-header, .et-db #et-boc .et-l .et_pb_section {
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
	background: none;
}
/*set the background color of the fixed header when scrolling*/
.ruck-header.ruck-fixed-header {
	padding: 0px .5rem !important;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
	background-color: var(--gcid-primary-color) !important;
}
.ruck-header .et_pb_row_0_tb_header{
	top: 0;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}
.ruck-header.ruck-fixed-header .et_pb_row_0_tb_header{
	display: none;
}
/*set the background color of the fixed header when scrolling*/
.ruck-header.ruck-fixed-header .et_pb_row_1_tb_header {
	padding-top: 0em !important;
    padding-right: 1em !important;
    padding-bottom: 0em !important;
    padding-left: 1em !important;
}

/*change the logo size when the header shrinks*/
.ruck-fixed-header .et_pb_image_0_tb_header img {
	padding-top: 7px;
	padding-bottom: 5px;
	max-width: 70%;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}
.header-cta {
	scale: 1;
    border: 1px solid var(--gcid-primary-color);
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

.ruck-fixed-header .header-cta {
	scale: 0.9;
    border: 1px solid white;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

.ruck-fixed-header .et_pb_menu_0_tb_header.et_pb_menu ul li a  {
	font-size: 15px;
}

/*Menu compensations */
@media (max-width: 1300px){
	#menu-main-menu{
		padding-right: 0.7em !important;
	}
}

/*Mobile Menu Styles */
.et_mobile_menu {
	font-family: area-normal;
	border-bottom: 4px solid var(--gcid-primary-color);
    box-shadow: 0px 5px 10px;
    width: 100%;
    margin-top: 25px;
	overflow-y: scroll;
	height: 90vh;
	padding-bottom: 2em;
	z-index: 100;
}

@media(max-width: 786px){
	.ruck-fixed-header .et_pb_image_1_tb_header .et_pb_image_wrap img {
		height: 63px;
	}
}
@media(max-width: 484px){
	.et_pb_row_1_tb_header {
		display: none;
	}
}

/*HUBSPOT FORM STUFF */
.ruck-form .hsfc-Form .hsfc-NavigationRow__Buttons>*{
	font-family: area-extended;
    font-weight: 300;
    font-size: 23px;
    padding-top: 15px;
    padding-bottom: 10px;
    width: 90%;
}
@media (max-width: 430px){
	.ruck-form .hsfc-Form .hsfc-NavigationRow__Buttons>*{
	font-family: area-extended;
    font-weight: 300;
    font-size: 23px;
    padding-top: 15px;
    padding-bottom: 10px;
    width: 90%;
}
}


/*Icon Button Fix*/
.icon-button:after{
	padding: 1px 10px;
    scale: .8;
}