@font-face {
  font-family: 'ITC Avant Garde Std Md';
  src: url('../fonts/ITCAvantGardeStd-Md.eot'); /* IE9 Compat Modes */
  src: url('../fonts/ITCAvantGardeStd-Md.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/ITCAvantGardeStd-Md.woff') format('woff'), /* Modern Browsers */
       url('../fonts/ITCAvantGardeStd-Md.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('../fonts/ITCAvantGardeStd-Md.svg#6ef6409daa8097d55f74072283d9f15c') format('svg'); /* Legacy iOS */
       
  font-style:   normal;
  font-weight:  400;
}

@font-face {
  font-family: 'ITC Avant Garde Std Bk';
  src: url('../fonts/ITCAvantGardeStd-Bk.eot'); /* IE9 Compat Modes */
  src: url('../fonts/ITCAvantGardeStd-Bk.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/ITCAvantGardeStd-Bk.woff') format('woff'), /* Modern Browsers */
       url('../fonts/ITCAvantGardeStd-Bk.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('../fonts/ITCAvantGardeStd-Bk.svg#52bc9fd504b621176d57f308965c98a4') format('svg'); /* Legacy iOS */
       
  font-style:   normal;
  font-weight:  400;
}

* {
	font-family: inherit;
}

.clear {
	clear: both;
}

.defaultText { 
		width: 300px; 
}

.defaultTextActive { 
	color: #0000; 
	font-family: Verdana, Geneva, Arial, sans-serif;
	font-size: 16px;
}

.clearme {
	width: 1px;
	height: 1px;
	display: block;
	clear: both;
}

#content-area{
	margin: 0px;
	margin-top: 30px;
}

#overlay{
	position:absolute;
	top: 50px;
	left: 10%;
	width: 80% !important;
	height: 1000px;
	border: solid 5px #7e7e7e;
	background-color: #fff;
	z-index: 99;
	display:none;
	color: #7e7e7e;
	overflow: scroll;
	padding-bottom: 0px;
	margin-bottom: 0px;
}

#overlay #info_holder{
	width: 100%;
	padding:20px;
}


#overlay #info_holder #close{
	width:18px;
	height:17px;
	background-image: url("../images/store_locator/close.png");
	background-repeat: no-repeat;
	position: absolute;
	right: 15px;
}

#overlay #info_holder #title_bar{
	width: 70%;
}

#overlay #info_holder #titlebar #store_name{ 
	width: 297px;
	margin-top: 10px;
	color: #000;
	font-size: 25px;
	line-height: 120%;
	font-size: 36px;
	font-family: 'ITC Avant Garde Std Md';	
}

#overlay #info_holder #top{
	width: 100%;
}



#overlay #info_holder #top #left{
	width: 48%;
	height: auto !important;
	color: #262626;
	float:left;
	padding-top: 5px;
}

#overlay #info_holder #top #left .overlay_line{
	width:190px;
	height:17px;
	margin-bottom: 17px;
	border-bottom: 1px solid #b8b8b8;
}

#overlay #info_holder #top #right{
	width: 48%;
	height:260px;
	color: #262626;
	float: right;
	margin-top:15px;
}

#overlay #info_holder #top #right .top_border{
	border-top: 2px dashed #a6a6a6;
}

#overlay #info_holder #top #right #carries_text{
	text-align:center;
	font-size: 20px;
	margin-bottom:10px;
}

#overlay #info_holder #top #right #carries_name{
	background-color: #ededed;
	text-align:center;
	font-size: 18px;
	padding:5px;
}

/*#overlay #info_holder #top #right .hidden{
	display:none;
}*/

#overlay #info_holder #top #right #carries_image{
	width: 50% !important;
	height: auto !important;
	border-left: 2px dashed #a6a6a6;
	border-right: 2px dashed #a6a6a6;
	border-bottom: 2px dashed #a6a6a6;
	text-align: center;
	padding-top: 17px;
	padding-bottom: 17px;
}

#overlay #info_holder #top #right #carries_image #wrapper img{
	width: 80%;
	margin: 0 auto;
}

#overlay #info_holder #also_carry {	
	width:100%;
	clear:both;
	color: #262626;
	margin-top: 60px;
}

#overlay #info_holder #also_carry .also_carry_text {
	font-size: 18px;
	margin-bottom:5px;
}

#overlay #info_holder .also_carry_items {
	list-style: none;
	padding: 0px;
	margin: 0px;
}

#overlay #info_holder .also_carry_items li {	
	width:24.5%;
	float:left;
	margin: 5px 0 10px .5%;
}

#overlay #info_holder .also_carry_items li .name {
	text-align: center;
	font-size: 13px;
	background-color: #ededed;
	min-height: 110px;
	padding: 8px 8px 0 8px;
}

#overlay #info_holder .also_carry_items li .image_holder {	
	border-right: 2px dashed #a6a6a6;
	border-bottom: 2px dashed #a6a6a6;
	width:98%;
	min-height: 205px;
	padding: 20px 0 0 0;
}

#overlay #info_holder .also_carry_items li .left-border {
	border-left: 2px dashed #a6a6a6;
	width:97%;
}

#overlay #info_holder .also_carry_items li .bottom-margin	  {
    margin-bottom: 40px;
}

#overlay #info_holder .also_carry_items li .image_holder .image {	
	width: 105px;
	margin: 0px auto 0px auto;

}

#overlay #info_holder .also_carry_items li .image_holder .image img {	
	width: 100%;
}

/*#overlay #info_holder #where_to_find {
	font: 15px/20px Helvetica, Arial, sans-serif;

	width: 990px;
	padding: 20px;
	margin-bottom: 10px;
	padding-bottom: 30px;
}

#overlay #info_holder #where_to_find ul {
	display:block; 
	padding: 0px;
	width: 240px;
	float: left;
	margin: 0px 10px 10px 0;
	background-color: #d8e2f1;
}

#overlay #info_holder #where_to_find ul.last {
	margin-right: 0px;
}

#overlay #info_holder #where_to_find ul li {
	display: block;
	padding: 0px 0px;
	display: block;
	float: left;
	vertical-align: middle;
	margin: 0 0px 8px 0;
	width: 220px;
	height: 40px;
	padding-right: 8px;
}

#overlay #info_holder #where_to_find ul li a {
	color: #383582;
	font-size: 17px;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	vertical-align: middle;
	border-radius: 6px;
	background-color: #FFF;
	width: 220px;
	height: 40px;
	text-align: center;
	display: table-cell;
}

#overlay #info_holder #where_to_find ul li a:hover {
	background-color: #383582;
	color: #FFF;
}

#overlay #info_holder #where_to_find ul li:last-child {
	border-bottom: none;
}*/


/*#title{
	background-image: url("../images/store_locator/title.png");
	width: 300px;
	height: 28px;
	margin:10px 0px;
}*/


#app_container{
	width: 100%;
	height:488px;
	padding: 0 0 5% 0;
}

#app_container #sidebar{
	min-width:300px;
	width: 35%;
	height:483px;
	float:left;
	text-align: center
}

/*#app_container #sidebar #divider{
	border-top: dotted 4px; 
	height:0px; 
	width:305px; 
	border-color:#0055a1;
	margin:4px 0px 10px 0px;
}*/

#app_container #sidebar #logo{
	margin: auto;
	width: 120px;
}

#app_container #sidebar #styled-select .inputs{
	height:40px;
}

#app_container #sidebar .buttons{
	height:40px;
}

/*#app_container #sidebar #hide{
	display:none;
}*/

#app_container #sidebar .styled-select, #app_container #sidebar #zip {
		margin: 0 auto;
		margin-bottom: 8px;
	}


#app_container #sidebar .styled-select{
   	width: 305px;
   	overflow: hidden;
   	background: url("../images/store_locator/drop-down-arrow.jpg") no-repeat right #e1f0ff;
   	background-position: 272px 9px; 
   	border: 0px solid #000;
   	height:40px;
}

/*#app_container #sidebar #arrow_outer {
   	width: 305px;
   	overflow: hidden;
   	background-color:#e1f0ff;
   	background-position: 272px 9px; 
   	border: 0px solid #000;
   	margin:5px 0px 0px 0px;
   	height:40px;
}*/

/*#app_container #sidebar #arrow_outer #arrow_inner{
   	width: 23px;
   	background-image: url("../images/store_locator/drop-down-arrow.jpg");
   	height:23px;
   	position: relative;
   	top: -32px;
   	left: 271px;
}*/

#app_container #sidebar #zip{
	padding-left:10px;
	width:305px;
	background-color: #e1f0ff;
	border: 0px solid;
	font-size: 16px;
	color: #000; 
	line-height:39px;
	cursor: pointer;
}

#app_container #sidebar #PIM_search_radius_wrapper #search_radius{
	background: transparent;
   	width: 330px;
   	padding: 5px;
   	font-size: 16px;
   	line-height: 1;
   	border: 0;
   	border-radius: 0;
   	-webkit-appearance: none;
   	margin:0px;
}

/*#app_container #sidebar #PIM_brand_wrapper #PIM_brand{
   background: transparent;
   width: 330px;
   padding: 5px;
   font-size: 16px;
   line-height: 1;
   border: 0;
   border-radius: 0;
   -webkit-appearance: none;
   margin:0px;
}*/

#app_container #sidebar #PIM_varity_wrapper #PIM_variety{
   background: transparent;
   width: 330px;
   padding: 5px;
   font-size: 16px;
   line-height: 1;
   border: 0;
   border-radius: 0;
   -webkit-appearance: none;
   margin:0px;
}

#app_container #sidebar #PIM_family_wrapper  #PIM_product_family{
	background: transparent;
   	width: 330px;
   	padding: 5px;
   	font-size: 16px;
   	line-height: 1;
   	border: 0;
   	border-radius: 0;
   	-webkit-appearance: none;
   	margin:0px;
}

#app_container #sidebar #PIM_package_wrapper #PIM_package{
	background: transparent;
   	width: 329px;
   	padding: 5px;
   	font-size: 16px;
   	line-height: 1;
   	border: 0;
   	border-radius: 0;
   	-webkit-appearance: none;
   	margin:0px;
}

#app_container #sidebar #submit_single{
	padding-left:10px;
	width:305px;
	background-color: #0055a1;
	border: 0px solid;
	font-family: Verdana, Geneva, Arial, sans-serif;
	font-size: 14px;
	color: #fff;
	margin: 0 auto;
	border-radius:10px;
}

#app_container #map{
	width: 57%;
	height:483px;
	float: right;
	margin-right: 2.5%;   /*CHANGED*/
	margin-top: 8px;
	margin-bottom: 8px;
}

#display_title, #display_spinner {
	width: 97%;              /*CHANGED*/       
	margin: 0 auto;
	margin-top: 20px;          /*CHANGED*/
	margin-bottom: 8px;
	margin-right: 2.5%;      /*CHANGED*/
	clear:both;
}

#display_title{
	font-size: 20px;
	line-height: 120%;	
	padding: 5px 0px 5px 0px;
	background-color: #e1f0ff;
    color: #a94442;
    padding: 15px;
    text-align: center;
    display: none;

}

#display_spinner{
	line-height: 120%;	
	padding: 5px 0px 5px 0px;
	background-color: #e1f0ff;
    color: #a94442;
    padding: 15px;
    text-align: center;
    display: none;    
}

#display{
	width: 99%;
	margin: 0 auto;
}

#display .left_margin{
	margin-left: 0%;
}



#display .no_left_margin{
	margin-left:0px;
}

#display .item{
	width: 32.0%;
	height:430px;
	display: inline-block;
	margin-left: 0px !important;
	margin-right: 1%;
	margin-top:10px;
	margin-bottom:10px;
	overflow: hidden;
	background-color: #ededed;
	color: #000;
	text-align: center;
}

#display .item .store_name{
	margin: 15px auto 30px auto;
	font-size:32px;
	height:96px;
	line-height: 120%;
	width: 100%;
}

#display .item .distance{
	margin: 9px auto 9px auto;
	font-size:28px;
}

#display .item .street_address{
	margin: 8px auto 5px auto;
	font-size:20px;
	height:40px;
}

#display .item .city_state_zip{
	margin: 5px auto 8px auto;
	font-size:20px;
	height:40px;
}

#display .item .line{
	width:250px;
	height:3px;
	background-color:#fff;
	color:#fff; 
	margin: 0px auto;
}

#display .item .link_holder{
	width:300px;
	height:98px;
	margin: 0px auto;
}

#display .item .link_holder .directions{
	width:130px;
	height:98px;
	display: inline-block;
	margin:0px 5px 0px 0px;
}

#display .item .link_holder .more{
	width:130px;
	height:98px;
	display: inline-block;
	margin:0px 0px 0px 5px;
}

#display #last_item{
	background-color: #0059a2;
	color: #fff;
}

#display #last_item #top_text{
	margin: 15px auto 30px auto;
	font-size:32px;
	height:96px;
	line-height: 120%;	
}

#display #last_item #bulk_more_info{
	background: url("../images/store_locator/pbj_where_to_find.png") no-repeat;
	width:274px;
	height:91px;

	position:relative;
	top:-15px;
	left:20px;
}

#display #last_item #bottom_text{
	margin: 15px 10px 30px 10px;
	font-size:32px;
	height:96px;
	line-height: 120%;	
}

/*ADAM*/
@media (min-width: 959px) {
	#app_container #map{ 
		width: 55%;
	}
}

/*MINE*/
@media (min-width: 992px) {
	body{  
		/*border: solid 3px blue;*/
	}
}

/*@media (max-width: 989px) ADAM {*/
/*@media (min-width:769px) and (max-width: 965px) MINE {*/
@media (max-width: 991px) {       /*mine*/
	body{  
		/*border: solid 3px red;*/
	}
	#app_container #sidebar {
		width: 100%;
		text-align: center
	}	
	#app_container #sidebar .styled-select, #app_container #sidebar #zip {
		margin: 0 auto;
		margin-bottom: 8px;
	}
	#app_container #sidebar #submit_single {
		margin: 0 auto;
	}
	#app_container #map{		
		width: 90%;
		margin-right: 4.5%;
	}
	#display .item {
		width: 48% !important;
		margin-left: 0px !important;
		margin-right: 1%;
	}

}

/*@media (min-width:481px) and (max-width:768px) MINE {*/
@media (max-width: 768px) {
	body{  
		/*border: solid 3px green;*/
	}
	#display .left_margin {
		margin-left: 1%;
	}	
	#app_container #map {	
		margin: 0 auto;
		float: left;
		margin-left: 5%;
	}	
	#display .item {
		width: 48% !important;
		margin-left: 0px !important;
		margin-right: 1%;
	}
}

/*@media (min-width:341px) and (max-width:480px) MINE {*/
@media (max-width: 600px) {
	body{  
		/*border: solid 3px yellow;*/
	}
	#display .item {
		width: 100% !important;
		margin-left: 0px !important;
		margin-right: 0% !important;
	}
	
	#overlay { 
		width: 90%;	
	}	
	#overlay #info_holder #top #left {
		width: 100%;
	}	
	#overlay #info_holder #top #right {
		width: 100%;
	}
	.also_carry_items li {
		width: 48% !important;
	}	
}

/*@media (max-width:340px) MINE {
}*/