/*
Theme Name: Shazbates
Theme URI: https://arvinds-lab.com
Description: A starter child theme for Divi, built with best practices. Generated with Divi Extended Child Theme Generator.
Author: Divi Extended
Author URI: https://arvinds-lab.com
Template: Divi
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shazbates
Domain Path: /languages
*/


/*## Layout
 ------------------------------------------- */
	.alignfull{
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
	}
	body.home #main-content .container {
		padding-top: 0;
	}

/* ## Typography
------------------------------------------- */
	body{
		font-size: 16px;
	}
	h1,h2,h3,h4,h5,h6{
		line-height: 1.3;
		font-weight: 600;
	}
	h1{
		font-size: clamp(28px, calc(19.429px + 2.381vw), 48px);
		font-weight: 200;
	}
	h2{
		font-size: clamp(28px, calc(19.429px + 2.381vw), 48px);
		letter-spacing: -2px;
	}
	h3{
		font-size: 30px;
	}
	h4{
		font-size: 24px;
	}


/* ## Buttons/Links */
	a.wp-block-button__link{
		color: #fff;
		font-size: 20px;
		font-weight: 600;
		padding: 12px 32px;
		background-color: #f37d54;
		transition-duration: .6s;
		transition-property: all !important;
		&:hover{
			background-color: #333;
		}
	}
	.is-style-outline a.wp-block-button__link{
		color: #f37d54;
		background-color: #fff;
		border: none;
		outline: none;
		box-shadow: #f37d54 inset 0 0 0 1px;
		&:hover{
			border: none;
			background-color: #333;
			box-shadow: none;
			border-color: #fff;
			color: white;
		}
	}


/* ## Forms
------------------------------------------- */
.gform-theme--foundation .gform_fields {
  grid-row-gap: 15px !important;
}
/*set the Divi menu dropdown auto width*/
@media only screen and (min-width: 981px) {
	.nav li ul {
		width: fit-content;
		display: flex;
		flex-direction: column;
	}

	.nav li li {
		white-space: nowrap;
	}

	.nav li li a {
		width: auto !important;
	}
}

/* ## Header
------------------------------------------- */
	header.et-l--header .et_pb_section_1_tb_header{
		#siteLogo img{
			transition: all 1s ease;
		}
		&.et_pb_sticky{
			#siteLogo img{
				max-height: 65px !important;
			}
		}
	}

/* ## Banner Sliders */
	.banner-slider{
		h2,h3,h4{
			text-shadow: #000 0 2px 6px;
		}
	}
	.wp-block-cb-carousel-v2 .cb-button-prev::after {
		color: white;
		padding-left: 50px;
	}
	.wp-block-cb-carousel-v2 .cb-button-next::after {
		color: white;
		padding-right: 50px;
	}

/* ## Home Page
------------------------------------------- */
	body.home .entry-title.main_title{
		display: none;
	}