/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

.fusion-imageframe, .fusion-imageframe img {
	width: 100%;
}

/* Stretch hero image with mask */
.hero .fusion-layout-column.image .fusion-image-element,
.hero .fusion-layout-column.image .fusion-imageframe,
.hero .fusion-layout-column.image .fusion-image-element img{
    height: 100%;
	object-fit:cover;
}

.header-navigation .fusion-column-wrapper .fusion-builder-row {
	justify-content: flex-end;
}

/*.featured-post .fusion-button:hover {
	background: var(--awb-color4) !important;
}*/

/* Content Boxes */
.fusion-content-boxes .heading .content-box-heading {
	font-weight: 400 !important;
	line-height: 1.5 !important;
}

.fusion-content-boxes .content-box-wrapper.link-area-link-icon-hover h3 {
	color: var(--awb-color7) !important;
}

/* Gravity Forms */
.gform_legacy_markup_wrapper .gform_footer input[type=submit] {
	font-size: 14px !important;
}

/* Header Buttons */
.fusion-layout-column.get-connected-button {
	width: calc(100% - 83px);
}

.fusion-layout-column.hamburger-menu {
	width: 43px;
}

.fusion-layout-column.hamburger-menu .fb-icon-element {
	margin-right: 0 !important;
}

/* Button Annimations for extra buttons */
.awb-gallery-buttons a, .button.gform_button_select_files {
	z-index: 1;
	background-color: var(--button_gradient) !important;
	color: var(--awb-color1) !important;
}

.awb-gallery-buttons a:hover, .button.gform_button_select_files:hover {
	background-image: var(--button_gradient) !important;
}

.awb-gallery-buttons a:before, .button.gform_button_select_files:before {
  clip-path: polygon(100% 0, 150% 0, 100% 100%, 100% 100%);
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: clip-path .35s cubic-bezier(.21, .6, .35, 1);
  background: var(--button_gradient_hover, var(--button_gradient_top_color_hover));
  z-index: -1;
}

.awb-gallery-buttons a:hover:before, .button.gform_button_select_files:hover:before {
	clip-path: polygon(100% 0, 0 0, -50% 100%, 100% 100%);
}

/* Accordion */
.fusion-accordian .fusion-panel.fusion-toggle-no-divider.fusion-toggle-boxed-mode .panel-title a {
	color: var(--awb-color7);
}

/* Misc */
.fusion-title.highlighted .fusion-title-heading {
	width: fit-content;
	position: relative;
}
.fusion-title.highlighted .fusion-title-heading:after {
	content: "";
	background-color: var(--awb-custom_color_2);
	height: 30%;
	position: absolute;
	left: 0;
	margin-left: 0;
	top: 65%;
	width: calc(100% + 1rem);
	z-index: -1;
}

.to-top-right #toTop {
	height: 45px;
	line-height: 45px;
	right: 20px !important;
	bottom: 100px !important;
}

.no-break {
	white-space: nowrap;
}

.break-here { 
	display: block; 
}

sup, sub {
   vertical-align: baseline;
   position: relative;
   top: -0.4em;
}

sub { 
	top: 0.4em;
}

.fusion-imageframe.svg, .fusion-imageframe.svg img { 
	width: 100% !important; 
}

.gform_required_legend {
    display: none;
}

/* Gravity Forms buttons */
.gform-footer.gform_footer.top_label{
	width: fit-content;
    margin: 16px 0 10px 0;
    padding: 0;
	position: relative;
	background: linear-gradient(var(--button_gradient_angle, 180deg), var(--button_gradient_top_color) var(--button_gradient_start, 0%), var(--button_gradient_bottom_color) var(--button_gradient_end, 100%));
}

.gform-footer.gform_footer.top_label .gform_button{
	margin: 0;
	background-color: transparent !important;
    background-image: none !important;
    z-index: 2;
}

.gform-footer.gform_footer.top_label:before{
	    clip-path: polygon(100% 0, 150% 0, 100% 100%, 100% 100%);
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: clip-path .35s cubic-bezier(.21, .6, .35, 1);
    background: var(--button_gradient_hover, var(--button_gradient_top_color_hover));
    z-index: 1;
}

.gform-footer.gform_footer.top_label:hover:before{
	clip-path: polygon(100% 0, 0 0, -50% 100%, 100% 100%);
}

/* 404 */
.error404 #content {
min-height: 0;
margin-bottom: 0 !important;
}

/* WP2FA */
.wp-2fa-configuration-form {
	padding-top: 60px; /* adjust this to what is appropriate depending on the theme, if this is even necessary */
}

.wp-2fa-configuration-form h2 {
	font-size: 30px !important;
}

.wp-2fa-configuration-form h3 {
	font-size: 20px !important;
}

.wp-2fa-user-profile-form .button.button-primary.remove-2fa.enable_styling {
	--button_gradient: linear-gradient(var(--button_gradient_angle, 180deg), var(--button_gradient_top_color) var(--button_gradient_start, 0%), var(--button_gradient_bottom_color) var(--button_gradient_end, 100%));
    background-image: var(--button_gradient) !important;
    padding-top: var(--button_padding-top, 13px);
    padding-right: var(--button_padding-right, 29px);
    padding-bottom: var(--button_padding-bottom, 13px);
    padding-left: var(--button_padding-left, 29px);
    line-height: var(--button_line_height, 1);
    font-size: var(--button_font_size, 14px);
	background: var(--button_gradient_top_color);
    color: var(--button_accent_color) !important;
    border-color: var(--button_border_color) !important;
	border-radius: 0;
	border: none !important;
}

@media only screen and (max-width: 1500px) {
	.hero h1 {
		font-size: 60px !important;
	} 
}

@media only screen and (max-width: 1023px) {
	.hero .fusion-layout-column.image, .hero .fusion-layout-column.image .fusion-imageframe {
		max-height: 600px !important;
	}
	#footer.fusion-footer-copyright-area {
		padding-bottom: 0 !important;
	}
}

@media only screen and (max-width: 767px) { 
    .break-here { 
	    display: inline; 
    }
	.hero h1 {
		font-size: 50px !important;
	} 
}

@media only screen and (max-width: 640px) { 
	.fusion-title.highlighted .fusion-title-heading {
		margin: 0 auto !important;
	}
	.hero h1 {
		font-size: 40px !important;
	} 
}

@media only screen and (max-width: 600px) { 
    .no-break { 
	    white-space: inherit; 
    }
} 


/* mobile icon */
.awb-icon-bars:before{
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    content: "\f038" !important;
}
.fusion-mobile-menu-icons a{
    font-size: 36px !important;
}


@media only screen and (max-width: 1024px) {  
    .fusion-header { 
	    padding-left: 30px !important; 
	    padding-right: 30px !important; 
    } 
    .fusion-fullwidth:not(.stretch-100) { 
	    padding-left: 30px !important; 
	    padding-right: 30px !important; 
    }
	.hide-bg-on-mobile {
		background-image: none !important;
	}
}

@media only screen and (max-width: 767px) { 
    .break-here { 
	    display: inline; 
    } 
}

@media only screen and (max-width: 640px) { 
	.gform-footer.gform_footer.top_label{
	  width: 100%;
      margin: 20px 0 10px 0;
	}
}

@media only screen and (max-width: 600px) { 
    .no-break { 
	    white-space: inherit; 
    }
}

@media only screen and (max-width: 500px) {
    .fusion-layout-column.hamburger-menu .fb-icon-element {
		font-size: 39px;
	}
}
