/*
Theme Name: AWM Location
Description: AWM Location Child theme for Avada theme
Author: Agent Reputation
Author URI: https://www.agentreputation.net
Template: Avada
Version: 1.1.03
Text Domain:  Avada
*/

/**Video Shortcodes**/
.ar-responsive-video {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin: 0 0 1.5em 0;
} 
.ar-responsive-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none !important;
}

/**Responsive Map**/
.ar-responsive-map {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin: 0 0 1.5em 0;
} 
.ar-responsive-map iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none !important;
}

/**fix feedback form**/
.ar-reputation > iframe {
	min-height: 1065px;
}

/**Image Blocks Widgets**/
div.menuImgLink {
    display: block;
    padding: 100px 50px;
    position: relative;
    text-align: center;
    overflow: hidden;
}
div.menuImgLinkBlock {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-transition: all 1s;
    transition: all 1s;
}
div.menuImgLinkBlock:before {
    content: ' ';
    background-color: rgba(0,0,0,0.3);
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
div.menuImgLink span {
    color: #ffffff;
    position: relative;
    text-shadow: #000000;
}
div.menuImgLink a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
div.menuImgLink:hover div.menuImgLinkBlock {
    transform: scale(1.2);
}

/**Style Fixes**/
body.home .avada-page-titlebar-wrapper {
    display: none;
}
body.home section#content > div.page > div.post-content > p {
    display: none;
    margin: 0!important;
}
body.home main#main {
    padding-top: 0;
    padding-bottom: 0;
}
.gfield_visibility_hidden {
    visibility: hidden;
    position: absolute;
    left: -9999px;
}
ul#gform_fields_2 label {
    visibility: hidden;
    position: absolute;
    left: -9999px;
}
.ginput_complex > span {
    margin-bottom: 15px;
}
ul#gform_fields_2 li {
    float: left;
    width: 100%;
}
li#field_2_1 {
    margin-bottom: 0;
}
ul#gform_fields_2 li#field_2_2 {
	float: left;
    width: 49%;
}
ul#gform_fields_2 li#field_2_3 {
	float: right;
    width: 49%;
}
@media only screen and (max-width: 800px) {
	li#field_2_2, li#field_2_3 {
		float: left;
    	width: 100%;
	}
}

#branchMapWrap {
    padding: 10px;
}
div#awmTeam {
    max-width: 1100px;
    margin: 0 auto;
}
.team_info p {
    margin-bottom: 5px;
}
.teamBtn {
    margin-top: 20px;
}
.agentToggles.fusion-accordian span.fusion-toggle-heading {
    font-weight: 300;
}
.agentToggles.fusion-accordian .fusion-panel .panel-title a:hover {
    color: var(--link_color);
}
.agentToggles.fusion-accordian .fusion-panel .panel-title a {
    color: #000000;
}

/**mcalcs**/
.mcalc-form-field {
    display: flex;
    margin-bottom: 20px;
}
.mcalc-form-field-wrap label {
    display: block;
    margin-bottom: 10px;
}
span.mcalc-form-field-addon {
    padding: 0 10px;
    line-height: 50px;
    display: inline-block;
}
span.mcalc-form-field-addon.mcalc-form-field-before {
    margin-right: 10px;
}
span.mcalc-form-field-addon.mcalc-form-field-after {
    margin-left: 10px;
}
div#mcalc-field-period {
    display: flex;
    flex-wrap: wrap;
}
div#mcalc-field-period label {
    width: 100%;
}
div#mcalc-field-period .mcalc-form-field {
    flex: 1;
}
select#mcalc-payments {
    width: 100%;
    padding: 0 15px;
}
.awm-calc-box-text h5 {
    margin-top: 0px;
    margin-bottom: 10px;
}
.awm-calc-box > .row {
    display: flex;
    justify-content: stretch;
    align-items: center;
}
div.mcalc-results-box {
    background-color: #1273b9;
    display: flex;
    justify-content: space-around;
}
div.mcalc-results-box > div {
    width: 100%;
    padding: 15px;
}
div.mcalc-results-box p {
    margin-top: 0;
    text-align: center;
    color: #ffffff;
    margin-bottom: 0;
}
div.mcalc-results-box h5 {
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
    color: #ffffff;
}