.clear {
	clear: both;
}

div#franchise_map {
	height: 460px;
	width: 100%;
	background: #aaa;
}

.findtechsearchbox{
    background: #4e8833;
    color: #fff;
    display: block;
    padding: 6px 0;
    text-transform: uppercase;
    font-size: 25px;
    position: relative;
    width: 100%;
    margin: 0 auto;
    letter-spacing: 0.5px;
    text-align: center;
}

.findtechsearchbox .text{
    display: inline-block;
    margin-right: 10px;
    position: relative;
    top: -2px;
}

.page-id-7582 .findtechsearchbox .text{
	font-size: 18px;
	top: -5px;
	position: relative;
}

.findtechsearchbox .searchfield input[type="text"]{
    border: none;
    padding: 0 40px 0 10px;
    width: 225px;
    height: 35px;
    font-size: 16px;
    float: left;
}

.findtechsearchbox .searchfield{
    position: relative;
    display: inline-block;
    top: 5px;
}

.findtechsearchbox .searchfield input[type="button"],
.findtechsearchbox .searchfield input[type="submit"]{
    position: absolute;
    background: url(../images/search-button-2.jpg) no-repeat center center #ffbd31;
    border: none;
    border-radius: 0px;
    width: 45px;
    height: 35px;
    text-indent: -9999px;
    right: 0;
}

/**** Franchise Manager ****/
ul#franchise_countries { margin: 20px auto 0; padding: 0; text-align: center; }
ul#franchise_countries li{ list-style-type: none; display: inline-block; margin-right: 60px; }
ul#franchise_countries li:last-child{ margin-right: 0; }

div#franchise_map{ height: 460px; width: 100%; background: #aaa; }

div.locationsearchtop #postal_search_2 #inputpostal2,
div.locoptions #postal_search #inputpostal { border: 1px solid #959596; font-size: 14px; height: 27px; margin: 0; padding-bottom: 0; padding-left: 20px; padding-top: 4px; width: 180px; -webkit-border-radius: 0; }
div.locationsearchtop #postal_search_2 #submitpostal2,
div.locoptions #postal_search #submitpostal{ background: #569943; border: none; color: #fff; margin-left: -5px; padding: 4px 10px; cursor: pointer; -webkit-border-radius: 0; -webkit-appearance: none; -moz-appearance: none }
div.locoptions span#viewby{display: inline-block; font-size: 19px; margin-left: 50px;}
div.locoptions span#viewby a{ display: inline-block; margin: 0 5px; }

div.locationsearchtop{ margin-bottom: 30px; text-align: center; }

div#franchise_profiles a{ text-decoration: none; }
div#franchise_profiles a:hover{ color: #165686; }
div#franchise_profiles > ul{ width: 85%; margin: 0 auto; }
div#franchise_profiles > ul li{list-style-type: none; float: left; width: 49%; text-align: left; margin-bottom: 20px; padding-left: 20px; min-height: 170px; line-height: 22px; }
div#franchise_profiles > ul li span{ display: block; float: left; min-width: 185px;}
div#franchise_profiles > ul.available-territory-state li{ min-height: 140px; }

div#franchise_profiles ol{ margin: 0; float: left; width: 100%; }
div#franchise_profiles ol li{list-style-type: inherit; float: left; width: 45%; text-align: left; margin-bottom: 20px; padding-left: 20px; min-height: 170px; line-height: 22px; }
div#franchise_profiles ol li span{ display: block; float: left; min-width: 185px; max-width: 200px; }

div#franchise_profiles ol#closest_franchise{ width: 765px; margin: 0 auto; display: block; float: none; }

div#franchise_profiles h2 a{ color: #165686; }
div#franchise_profiles h2 a:hover{ color: #6f1113; }

div#franchise_profiles .foundtext{ float: left; margin-left: 40px; }
div#franchise_profiles .foundtext a{ color: #6f1113; }


ol#closest_franchise{ margin-left: 0; padding-right: 0; list-style-type: none; }
ol#closest_franchise li { counter-increment: step-counter; }
ol#closest_franchise li::before { content: counter(step-counter) ")"; float: left; font-size: 20px; margin-left: -20px; font-weight: bold; }

div#franchise_profiles h2{ font-size: 35px; margin-bottom: 20px; text-transform: uppercase; text-align: center; }
div#franchise_profiles h3{ background: #6f1113; font-size: 20px; font-weight: bold; margin-bottom: 20px; padding: 10px; color: #fff; text-align: center; }

div#franchise_profiles ul li a.moredetails{background: #569943; color: #fff; display: inline-block; font-size: 18px; margin-top: 5px; padding: 4px 10px;}
/*div#franchise_profiles ul li img{float: left; margin-left: 10px; max-height: 105px; max-width: 105px; }*/

div#franchise_profiles ul li a.moredetails.comingsoon{ background: #750813; }

div#franchise_profiles ol li a.moredetails{background: #569943; color: #fff; display: inline-block; font-size: 18px; margin-top: 5px; padding: 4px 10px;}
div#franchise_profiles ol li img{float: left; margin-left: 10px;}

#franchise_map a{ text-decoration: none; }

#mapoptions{
	display: block;
	float: right;
	margin-top: -20px; 
	margin-bottom: 10px;
}

#mapoptions a{
	font-size: 16px; 
	font-weight: 600;
}



.map-contact-info{
	/*width: 280px;*/
	position: relative;
	z-index: 10;
	/* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
  line-height: 25px;
}

.map-contact-info a{
	color: #000;
}

.getaquote{
	margin-top: 10px;
}

.getaquote a{
	background: #00b400;
	color: #fff;
	font-size: 20px;
	font-weight: 400;
	font-family: jaf-bernino-sans-condensed,sans-serif;
	display: inline-block;
	padding: 8px 15px;
	margin-top: 10px;
}

.map-bubble-container .contactuslogo{
	display: none;
}

.assignpostal{
	margin-top: 10px;
	color: #878787;
	line-height: 20px;
	font-size: 12px;
	max-width: 370px;
	word-wrap: break-word;
}

.contactuslogo{
	position: absolute;
	width: 120px;
	height: 106px;
	right: 0;
}

#searchresulttext{
	margin: 0px;
	background: #275a87;
	text-align: center;
	color: #fff;
}

.map-bubble-container{
	min-height:190px;
	padding-right: 10px;
	padding-bottom: 10px;
	font-size: 16px;
  	line-height: 22px;
	min-width: 280px;
	padding-right: 50px;
}

@media screen and (max-width: 900px) {
	.getaquote{
		margin-left: 0 !important;
	}
}

#franchise-locations-map{
	max-width: 1440px;
	margin: 30px auto 0;
}

.page-id-39007 #franchise-locations-map{
	margin-top: -10px;
}

.page-id-7582 .map-contact-info,
.page-id-39007 .map-contact-info{
	text-align: left;
}

.page-id-7582 .franchise-name,
.page-id-39007 .franchise-name{
	font-size: 26px;
	font-weight: 700;
	font-family: jaf-bernino-sans-condensed,sans-serif;
}

.page-id-7582 .franchise-resale-text,
.page-id-39007 .franchise-resale-text{
	font-size: 20px;
	margin-top: 10px;
	line-height: 26px;
	font-family: jaf-bernino-sans-condensed,sans-serif;
}

.page-id-7582 .franchise-resale-link,
.page-id-39007 .franchise-resale-link{
	margin-top: 10px;
}

.page-id-7582 .franchise-resale-link a,
.page-id-39007 .franchise-resale-link a{
	color: #000;
	text-decoration: underline !important;
	font-size: 24px;
	font-weight: 700;
	font-family: jaf-bernino-sans-condensed,sans-serif;
}

.page-id-7582 .map-bubble-container,
.page-id-39007 .map-bubble-container{
	min-height: auto;
}

.page-id-7582 .map-contact-info .getaquote,
.page-id-39007 .map-contact-info .getaquote{
	text-align: left;
	margin-top: 6px;
}

.page-id-7582 .map-contact-info .getaquote a,
.page-id-39007 .map-contact-info .getaquote a{
	color: #fff !important;
}

.page-id-7582 .franchise-contact-info,
.page-id-39007 .franchise-contact-info{
	font-size: 15px;
	line-height: 22px;
	margin-top: 5px;
}

.page-id-7582 .franchise-contact-info a,
.page-id-39007 .franchise-contact-info a{
	color: #000;
}

#franchise_search_label h2{
	font-size: 35px;
	margin-bottom: 20px;
	text-transform: uppercase;
	margin-top: 20px;
	display: none;
}

#franchise_search_label p{
	margin-top: 20px;
}

#franchise_search_label strong{
	display: inline-block;
	margin-top: 20px;
}

#closest_franchise li .left_franchise_info,
.franchise-list li {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	margin-bottom: 20px;
}

#closest_franchise li .right_franchise_info{
	padding-left: 30px;
}

div#franchise_profiles #closest_franchise .franchise-avatar-block img{
	max-width: inherit;
	float: none;
	margin-left: 0;
}

.franchise-avatar-block {
	width: 110px;
	min-width: 110px;
	height: 145px;
	overflow: hidden;
	/*display: flex;*/
	justify-content: center;
	align-items: center;
	background-color: #fff;
	border: 1px solid #f2f2f2;
	position: relative;
}

.franchise-avatar-block img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	position: relative;
	z-index: 2;
}

.franchise-info-block {
	margin-left: 5px;
}

.franchise-avatar-bgblur {
	background-size: auto 100%;
	background-position: center;
	background-color: #f2f2f2;
	filter: blur(20px);
	-webkit-filter: blur(20px);
	width: 100%;
	height: 100%;
	cursor: pointer;
	position: absolute;
	z-index: 0;
	opacity: 0; /* start invisible */
	animation: fadeInBlur 0.5s ease 0.4s forwards; /* delay + fade in */
}

/* Keyframes for fade-in */
@keyframes fadeInBlur {
	to {
		opacity: 1;
	}
}

@media screen and (max-width: 765px) {
	div#franchise_profiles ol#closest_franchise{ width: 100%; }
	div#franchise_profiles ol#closest_franchise div{ margin-bottom: 20px; }
}

@media screen and (max-width: 650px) {
	div#franchise_profiles ol#closest_franchise .right_franchise_info{ width: 100% !important; padding: 0; float: none !important; }
	div#franchise_profiles ol#closest_franchise .left_franchise_info{ width: 100% !important; float: none; }
}

@media screen and (max-width: 500px) {
	div#franchise_profiles ol#closest_franchise{
		padding: 0 10px;
	}

	div#franchise_profiles > ul{
		width: 95%;
		padding: 0;
	}
	div#franchise_profiles ul li{
		width: 100%;
	}

	.map-bubble-container{
		max-width: 270px;
		min-width: auto;
	}

	ul#franchise_countries li{
		float: left;
	}

	div#franchise_profiles ol li span{
		max-width: 65%;
	}
}
@media screen and (max-width: 420px) {
	.map-bubble-container{
		min-width: 0;
	}
	.map-contact-info{
		width: 230px;
	}
	
	.getaquote a:first-child{
		font-size: 19px;
		bottom: 7px;
	}
	
	.assignpostal{
		width: 100%;
	}
	
	.contactuslogo{
		width: 80px;
		height: 71px;
	}
	
	span.forsale{
		margin: 0;
	}
}

.availability-row ul{
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.availability-row li{
	list-style-type: none;
	line-height: 34px;
}

.availability-row li{
	margin-right: 20px;
}

.availability-row li:last-child{
	margin-right: 0;
}

.availability-row li a{
	text-decoration: none;
	display: flex;
	color: #000;
	font-size: 22px;
}

.availability-row li a strong{
	padding-top: 2px;
}

.availability-row li img{
	margin: 0;
}

.red{
	color: red;
}

.franchise-conditionally-sold{
	background: red;
	color: #fff;
	display: inline-block;
	padding: 2px 8px;
	margin-top: 5px;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 14px;
}

@media screen and (max-width: 800px) {
	.availability-row ul{
		flex-direction: column;
		align-items: center;
	}

	.availability-row ul li{
		margin-bottom: 10px;
	}
}

.gm-style .gm-style-iw-d {
	margin-top: -32px;
}

.page-template-location-page .franchise-name {
	font-size: 26px;
	font-weight: 700;
	font-family: jaf-bernino-sans-condensed,sans-serif;
}

.page-template-location-page .franchise-resale-link a {
	color: #000;
	text-decoration: underline !important;
	font-size: 24px;
	font-weight: 700;
	font-family: jaf-bernino-sans-condensed,sans-serif;
}

.page-template-location-page .franchise-resale-text {
	font-size: 20px;
	margin-top: 10px;
	line-height: 26px;
	font-family: jaf-bernino-sans-condensed,sans-serif;
}

.page-template-location-page .franchise-resale-link {
	margin-top: 10px;
}