/*
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
*/

.avada-footer-scripts {
	/*display: none !important;*/
}

.location-search-result {
	display: flex;
    flex-direction: column-reverse;
}

.location-search-result #mapDiv {
	clear: both;
    width: 100%;
    height: 350px;
    position: relative;
    overflow: hidden;
}
.location-search-result .locations-list-wrapper {
	width: 100%;
}

.location-search-result #mapDiv .map-content .firstHeading {
	font-size: 20px;
	margin-top: 0 !important;
}
.location-search-result #mapDiv .map-content p {
	margin-bottom: 5px !important;
}
.locations-list-title {
	font-size: 22px !important;
    color: #555759 !important;
    margin-top: 2rem;
    text-transform: none !important;
    text-align: left;
    padding-left: 20px;
}
.location-search-result .locations-list {
	margin-right: 0;
    position: relative;
}
.location-search-result .locations-list .location-block {
    display: block;
    padding: 0 10px;
    margin-bottom: 3px;
}
.location-search-result .locations-list .location-block .address {
	margin-bottom: 0 !important;
	margin-top: 0 !important;
}
.location-search-result .locations-list .location-block .block-title .address {
	text-transform: uppercase;
    font-size: 15px;
}
.location-search-result .locations-list .location-block .block-sm {
	margin-bottom: 0;
}
.location-search-result .locations-list .location-block-wrapper {
	padding: 20px 10px;
	border-bottom: 1px solid #CCC;
}
.location-search-result .locations-list .location-block h3 {
	font-size: 25px;
    margin-bottom: 0 !important;
    line-height: 1.5 !important;
}
.location-search-result .locations-list .location-block .field-title {
	font-size: 14px;
	text-transform: uppercase;
	color: #98a3ad;
	letter-spacing: 3px;
}
.location-search-result .locations-list .location-block a.direction {
	color: #f79723;
}
.location-search-result .locations-list .location-block a.direction:hover {
	color: #ff4713;
}
.location-search-result .locations-list .location-block p.address {
	margin-bottom: 5px !important;
	line-height: 1;
}
.location-search-result .locations-list .location-block p.phone {
	margin: 0 !important;
	margin-bottom: 15px !important;
	line-height: 1;
}
.location-search-result .locations-list .location-block p.phone a {
}
.location-search-result .locations-list .location-block p.distance {
	margin-bottom: 0 !important;
	margin-top: 0 !important;
}
.location-form .form-wrapper {
	text-align: left;
}
.location-form .form-wrapper input[type="submit"] {
	color: #FFF;
	margin-top: 1rem;
	width: 100%;
}
.location-form {
	margin-bottom: 2rem;
}
#search_location_form_wrapper .use_current_location {
	color: #FFF;
	margin-top: 1rem;
	margin-left: 1rem;
}
#search_location_form_wrapper .search-addr-wrapper #use_current_location {
	display: none;
}

#search_location_form_wrapper form > .use_current_location {
	width: 100%;
	margin-left: 0;
}
body #sliders-container {
	display: block;
}


/* Quiz page */
.quiz-wrapper h3 {
	font-size: 4.8em !important;
	text-transform: uppercase;
  font-family: 'Bebas Neue' !important;
  line-height:.8em !important;
  margin-bottom:10px;
  padding-top:10px;
}
.quiz-wrapper h3 span {
	font-size: 25px;
	display: block;
	color: var(--body_typography-color);
}
.quiz-wrapper h3.red {
	color: #ff4713;
}
.quiz-wrapper h3.green {
	color: #08AD7A;
}
.quiz-wrapper h3.yellow {
	color: #FFFD77;
}
.quiz-wrapper h3.blue-sky {
	color: #d2b8ff;
}
.quiz-wrapper h5 {
	margin: 0;
	 font-weight: 800 !important;
}
.quiz-wrapper h5.white {
	color: #FFFD77;
}
.quiz-wrapper p.red {
	color: #ff4713;
}
.quiz-wrapper p.white {
	color: white;
}
.quiz-wrapper .quiz-box {
	padding: 20px;
	margin-bottom: 20px;
	background-size: cover;
	background-position: right top;
	min-height: calc(100vh - 74px);
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
}
body.admin-bar .quiz-wrapper .quiz-box {
	min-height: calc(100vh - 120px);
}


.quiz-wrapper .quiz-box.yellow {
	background-color: #FFFD77;
}
.quiz-wrapper .quiz-box.green {
	background-color: #08AD7A;
}
.quiz-wrapper .quiz-box.blue-sky {
	background-color: #d2b8ff;
}
.quiz-wrapper .quiz-box.red {
	background-color: #ff4713;
}
.quiz-wrapper .quiz-box.yellow {
	background-color: #FFFD77;
}
.quiz-wrapper .quiz-box.strange {
	background-color: #b8e1ff;
}
.quiz-wrapper .quiz-box a {
	border-radius: 25px;
    padding: 10px 20px;
    width: 100%;
    display: block;
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
}



.quiz-wrapper .quiz-box a.green {
	background-color: #08AD7A;
	color: white;
}
.quiz-wrapper .quiz-box a.red {
	background-color: #ff4713;
	color: white;
}
.quiz-wrapper .quiz-box a.yellow {
	background-color: #FFFD77;
}
.quiz-wrapper .quiz-box a.blue-sky {
	background-color: #d2b8ff;
}

.upsize {
	font-size:24px !important;
	line-height: 28px !important;
}


.quiz-wrapper .quiz-box .options-wrapper.passed a:not(.active) {
	opacity: 0.8;
}


.quiz-wrapper .quiz-box.quiz-result p {
	font-size: 17px;
}
.quiz-wrapper .quiz-box.quiz-result {
	display: none !important;
}
.quiz-wrapper .quiz-box.quiz-result.show {
	display: flex !important;
}
@media (min-width: 481px) {
	.quiz-wrapper {
		width: 400px;
		margin: 0 auto;
	}
	.quiz-wrapper .quiz-box {
		height: 700px;
		min-height: auto;
	}
}
@media (min-width: 768px) {
	.quiz-wrapper .quiz-box .options-wrapper {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
}
@media (min-width: 1025px) {
	.quiz-wrapper {
		margin-top: 50px;
	}
}
/* --- Quiz page --- */


@media (min-width: 425px) {
	.location-form .form-wrapper input[type="submit"] {
		width: auto;
	}
	#search_location_form_wrapper form > .use_current_location {
		width: auto;
		margin-left: 1rem;
	}
}


#search_location_form_wrapper {
	position: relative;
}
#search_location_form_wrapper.loading:before {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	content: "";
	opacity: 0.5;
	background-color: #FFF;
	z-index: 1;
}

#search_location_form_wrapper .fusion-slider-loading {
	z-index: 2;
	display: none;
}

@media (min-width: 750px) {
	.location-search-result {
		display: flex;
	    flex-direction: row-reverse;
	}
	.location-search-result #mapDiv {
		clear: both;
	    width: 60%;
	    height: 600px;
	    position: relative;
	    overflow: hidden;
	}
	.location-search-result .locations-list-wrapper {
		width: 40%;
	}
	.locations-list-title {
		margin-top: 0;
	}
	.location-search-result .locations-list {
		margin-right: 2rem;
		height: 600px;
		overflow-y: scroll;
	}
	#search_location_form_wrapper .search-addr-wrapper {
		position: relative;
	}
	#search_location_form_wrapper .search-addr-wrapper #use_current_location {
		top: 1px;
		margin: 0;
		right: 1px;
		position: absolute;
		padding: 11px;
		line-height: 1;
		display: flex;
		align-items: center;
	}
	#search_location_form_wrapper .search-addr-wrapper #use_current_location span {
		display: none;
	}
	#search_location_form_wrapper form > .use_current_location {
		display: none;	
	}
}
