 body				{ background: #ffffff; color: #000000; font-family: arial; font-size: 16px; margin: 0px; position: relative; -webkit-overflow-scrolling: touch;}
 h1				{ color: #000000; font-size: 24px; font-weight: bold; text-align: right; margin: 0px; padding-right: 20px; padding-bottom: 5px; }
 h2				{ color: #262e33; font-size: 24px; font-weight: bold; text-align: right; }
 table				{ border-collapse: collapse; }
 td				{ text-align: center; vertical-align: top; color: #000000; font-size: 13px; direction: rtl; }
 input, select, textarea		{ font-family: arial; background: #ffffff; border: 1px solid #d3d3d3; font-size: 13px; color: #808080; }
 img				{ border: 0px; }
 form				{ margin: 0px; }

a:link				{ color: #909090; font-size: 13px; text-decoration: none; font-weight: normal; }
a:visited			{ color: #909090; font-size: 13px; text-decoration: none; font-weight: normal; }
a:hover			{ color: #909090; font-size: 13px; text-decoration: underline; font-weight: normal; }
a:active			{ color: #909090; font-size: 13px; text-decoration: none; font-weight: normal; }

.subjects_links 		{line-height: 18px}
.subjects_links:link	{ color: #231c66; font-size: 14px; text-decoration: none; font-weight: normal; }
.subjects_links:visited	{ color: #231c66; font-size: 14px; text-decoration: none; font-weight: normal; }
.subjects_links:hover	{ color: #231c66; font-size: 14px; text-decoration: underline; font-weight: normal; }
.subjects_links:active	{ color: #231c66; font-size: 14px; text-decoration: none; font-weight: normal; }

.no_border			{ border: 0px; background: transparent; }

.favorites_links:link	{ color: #000000; font-size: 14px; text-decoration: none; font-weight: normal; padding: 5px 14px 5px 10px; }
.favorites_links:visited	{ color: #000000; font-size: 14px; text-decoration: none; font-weight: normal; padding: 5px 14px 5px 10px; }
.favorites_links:hover	{ color: #000000; font-size: 14px; text-decoration: none; font-weight: normal; padding: 5px 14px 5px 10px; }
.favorites_links:active	{ color: #000000; font-size: 14px; text-decoration: none; font-weight: normal; padding: 5px 14px 5px 10px; }

.filter_links:link		{ color: #000000; font-size: 15px; text-decoration: none; font-weight: normal; padding: 5px 14px 5px 40px; }
.filter_links:visited	{ color: #000000; font-size: 15px; text-decoration: none; font-weight: normal; padding: 5px 14px 5px 40px; }
.filter_links:hover		{ color: #000000; font-size: 15px; text-decoration: none; font-weight: normal; padding: 5px 14px 5px 40px; }
.filter_links:active		{ color: #000000; font-size: 15px; text-decoration: none; font-weight: normal; padding: 5px 14px 5px 40px; }

.filter_links_dd:link	{ color: #000000; font-size: 15px; text-decoration: none; font-weight: normal; padding: 5px 14px 5px 13px; }
.filter_links_dd:visited	{ color: #000000; font-size: 15px; text-decoration: none; font-weight: normal; padding: 5px 14px 5px 13px; }
.filter_links_dd:hover	{ color: #000000; font-size: 15px; text-decoration: none; font-weight: normal; padding: 5px 14px 5px 13px; }
.filter_links_dd:active	{ color: #000000; font-size: 15px; text-decoration: none; font-weight: normal; padding: 5px 14px 5px 13px; }

.pages_links:link		{ color: #000000; font-size: 15px; text-decoration: none; font-weight: normal; padding: 5px 14px 5px 40px; }
.pages_links:visited		{ color: #000000; font-size: 15px; text-decoration: none; font-weight: normal; padding: 5px 14px 5px 40px; }
.pages_links:hover		{ color: #000000; font-size: 15px; text-decoration: underline; font-weight: normal; padding: 5px 14px 5px 40px; }
.pages_links:active		{ color: #000000; font-size: 15px; text-decoration: none; font-weight: normal; padding: 5px 14px 5px 40px; }

.tours_pages_links:link	{ color: #000000; font-size: 15px; text-decoration: none; font-weight: normal; }
.tours_pages_links:visited	{ color: #000000; font-size: 15px; text-decoration: none; font-weight: normal; }
.tours_pages_links:hover	{ color: #000000; font-size: 15px; text-decoration: none; font-weight: normal; }
.tours_pages_links:active	{ color: #000000; font-size: 15px; text-decoration: none; font-weight: normal; }

.page_header_1 		{ color: #000000; font-size: 22px; font-weight: bold; border-top: 1px solid #ffffff; margin-top: 5px; }

#building_page_content	{ overflow: auto; height:100%; padding: 15px 19px 0 19px; direction: rtl; line-height: 18px; text-align: right; }
#building_page_content a	{ font-size: 14px; color: #333399; text-decoration: underline; }
#building_page_content a:hover	{ font-size: 14px; color: #333399; text-decoration: underline; }

#tour_left_content		{ margin: 10px; font-size: 14px; height: 20px; line-height: 20px;}

@media (pointer:none), (pointer:coarse) {
	#tour_left_content{ margin: 6px !important;}
}

#tour_left_content a		{ font-size: 14px; color: #333399; text-decoration: underline; }
#tour_left_content a:hover	{ font-size: 14px; color: #333399; text-decoration: underline; }

#slideshow_tour		{ width: 646px; height: 485px; margin: 0px; }
#slideshow_tour img		{ display: none; }

#slideshow_homepage		{ width: 275px; height: 91px; margin: 0px; }
#slideshow_homepage img	{ display: none; }

#slideshow_filter		{ width: 171px; height: 131px; margin: 0px; }
#slideshow_filter img		{ display: none; }

#nav				{ position: absolute; top: 80px; text-align: left; width: 646px; z-index: 1; direction: ltr;}
#nav a				{ border: 0px solid #ccc; background: transparent; color: #000; text-decoration: none; margin: 0px 4px; padding: 0px;  }
#nav a.activeSlide		{ text-decoration: underline; }
#nav a:focus			{ outline: none; }

#controller			{ position: absolute; top: 77px; z-index: 3; margin-right: 6px; }
#audio_player			{ position: absolute; top: 74px; z-index: 3; }

.color_grey_red		{ color: #7e6464; font-size: 14px; margin-top: 1px;}
.center			{ text-align: center; }

.right-align-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    float: right;
}

.tippy-box[data-theme~='vtlv-dark'] {
  background-color: #555;
  color: white;
}

.tippy-box[data-theme~='vtlv-dark'] .tippy-arrow {
  color: #555;
}

.transparent {
        zoom: 1;
        filter: alpha(opacity=50);
        opacity: 0.5;
}

.myButton_white {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #f6f6f6) );
	background:-moz-linear-gradient( center top, #ffffff 5%, #f6f6f6 100% );
	-pie-background:linear-gradient( center top, #ffffff 5%, #f6f6f6 100% );
	background-color:#ffffff;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #dcdcdc;
	display:inline-block;
	color:#666666;
	font-family:arial;
	font-size:15px;
	font-weight:bold;
	padding:3px 0px;
	text-align:center;
	text-decoration:none;
	text-shadow:1px 1px 0px #ffffff;
	width:90px;
	behavior: url(http://www.vtlv.co.il/include/PIE.php);
}.myButton_white:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f6f6f6), color-stop(1, #ffffff) );
	background:-moz-linear-gradient( center top, #f6f6f6 5%, #ffffff 100% );
	-pie-background:linear-gradient( center top, #f6f6f6 5%, #ffffff 100% );
	background-color:#f6f6f6;
	behavior: url(http://www.vtlv.co.il/include/PIE.php);
}.myButton_white:active {
	position:relative;
	top:1px;
}

.myButton_red {
	line-height: normal;
	box-shadow:inset 0px 1px 0px 0px #f29c93;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #fe1a00), color-stop(1, #ce0100) );
	background:-moz-linear-gradient( center top, #fe1a00 5%, #ce0100 100% );
	-pie-background:linear-gradient( center top, #fe1a00 5%, #ce0100 100% );
	background-color:#fe1a00;
	border-radius:6px;
	border:1px solid #d83526;
	display:inline-block;
	color:#ffffff;
	font-family:arial;
	font-size:15px;
	font-weight:bold;
	padding:3px 0px;
	text-align:center;
	text-decoration:none;
	text-shadow:1px 1px 0px #b23e35;
	width:90px;
	behavior: url(http://www.vtlv.co.il/include/PIE.php);
}.myButton_red:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ce0100), color-stop(1, #fe1a00) );
	background:-moz-linear-gradient( center top, #ce0100 5%, #fe1a00 100% );
	-pie-background:linear-gradient( center top, #ce0100 5%, #fe1a00 100% );
	background-color:#ce0100;
	behavior: url(http://www.vtlv.co.il/include/PIE.php);
}.myButton_red:active {
	position:relative;
	top:1px;
}

.myButton_orange {
	-moz-box-shadow:inset 0px 1px 0px 0px #f9eca0;
	-webkit-box-shadow:inset 0px 1px 0px 0px #f9eca0;
	box-shadow:inset 0px 1px 0px 0px #f9eca0;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f0c911), color-stop(1, #f2ab1e) );
	background:-moz-linear-gradient( center top, #f0c911 5%, #f2ab1e 100% );
	-pie-background:linear-gradient( center top, #f0c911 5%, #f2ab1e 100% );
	background-color:#f0c911;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #e65f44;
	display:inline-block;
	color:#c92200;
	font-family:arial;
	font-size:15px;
	font-weight:bold;
	padding:3px 0px;
	text-align:center;
	text-decoration:none;
	text-shadow:1px 1px 0px #ded17c;
	width:90px;
	behavior: url(http://www.vtlv.co.il/include/PIE.php);
}.myButton_orange:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f2ab1e), color-stop(1, #f0c911) );
	background:-moz-linear-gradient( center top, #f2ab1e 5%, #f0c911 100% );
	-pie-background:linear-gradient( center top, #f2ab1e 5%, #f0c911 100% );
	background-color:#f2ab1e;
	behavior: url(http://www.vtlv.co.il/include/PIE.php);
}.myButton_orange:active {
	position:relative;
	top:1px;
}

/* Buttons */
#search_top_submit_btn	{width: 28px;height: 100%;background: transparent;border: 0px;position: absolute;top: 0;left: 0;}
#search_top_submit_btn_nohp	{width: 28px;height: 100%;background: transparent;border: 0px;position: relative; top: 0;left: 0;}
#choose_area a			{ color: #4e534d; }
#choose_area a:hover		{ color: #4e534d; }
#choose_category a		{ color: #4e534d; }
#choose_category a:hover	{ color: #4e534d; }	

.green_bar_links:link	{ color: #fff; font-size: 18px; text-decoration: none; font-weight: normal; }
.green_bar_links:visited	{ color: #fff; font-size: 18px; text-decoration: none; font-weight: normal; }
.green_bar_links:hover	{ color: #577f02; font-size: 18px; text-decoration: none; font-weight: normal; }
.green_bar_links:active	{ color: #fff; font-size: 18px; text-decoration: none; font-weight: normal; }

.night_life_links:link	{ color: #fff; font-size: 18px; text-decoration: none; font-weight: normal; }
.night_life_links:visited	{ color: #fff; font-size: 18px; text-decoration: none; font-weight: normal; }
.night_life_links:hover	{ color: #493939; font-size: 18px; text-decoration: none; font-weight: normal; }
.night_life_links:active	{ color: #fff; font-size: 18px; text-decoration: none; font-weight: normal; }

/* Homepage */
#vtlv_board			{  }

#top_bg_div			{ position: absolute; top: 0px; left: 0px; width: 100%; }
#top_bg_table			{ width: 100%; height: 2px; background: url(../images/hp/top-bg.png) repeat-x top; }
#top_bg_td			{ width: 100%; height: 2px; }

#main_table			{ width: 990px; height: 617px; direction: ltr; }
#main_table_search		{ background: url(../images/hp/search.png) no-repeat top; width: 261px; height: 94px; }
#main_table_contact		{ width: 52px; height: 94px; }
#main_table_contact img	{ width: 52px; height: 94px; }
#main_table_contact_b	{ width: 80px; height: 94px; }
#main_table_construction	{ width: 62px; height: 94px; }
#main_table_construction img	{ width: 62px; height: 94px; }
#main_table_vtlv_board_b	{ width: 89px; height: 94px; }
#main_table_vtlv_board	{ width: 143px; height: 94px; }
#main_table_vtlv_board img	{ width: 54px; height: 94px; }
#main_table_tour_guide_b	{ width: 92px; height: 94px; }
#main_table_tour_guide	{ width: 85px; height: 94px; }
#main_table_tour_guide img	{ width: 85px; height: 94px; }
#main_table_logo_b		{ width: 73px; height: 94px; }
#main_table_logo		{ width: 141px; height: 94px; }
#main_table_logo img		{ width: 141px; height: 94px; }
#main_table_header		{ background: url(../images/hp/header.png) no-repeat top; width: 989px; height: 212px; }
#main_table_header_div	{ margin-top: 7px; font-size: 18px; color: #fff; }
#designers_shop		{ width: 140px; height: 84px; }
#designers_shop_btn		{ width: 131px; height: 64px; }
#tlv_rest			{ width: 143px; height: 136px; }
#tlv_rest_btn			{ width: 136px; height: 97px; }
#vtlv_news			{ width: 215px; height: 263px; }
#real_estate			{ width: 153px; height: 101px; }
#real_estate_btn		{ width: 145px; height: 98px; }
#tour_tlv_title		{ background: url(../images/hp/tour-tlv-title.png) no-repeat top; width: 259px; height: 28px; }
#tour_tlv_building_number	{ background: url(../images/hp/tour-tlv-building-number.png) no-repeat top; width: 66px; height: 67px; }
#tour_tlv_building_street	{ background: url(../images/hp/tour-tlv-building-street.png) no-repeat top; width: 193px; height: 67px; }
#hair_stylists		{ width: 133px; height: 43px; }
#hair_stylists_btn		{ width: 132px; height: 43px; }
#tour_tlv_building_name	{ background: url(../images/hp/tour-tlv-building-name.png) no-repeat top; width: 259px; height: 58px; }
#worth_visiting		{ width: 153px; height: 32px; }
#worth_visiting_btn		{ width: 145px; height: 28px; }
#city_square			{ width: 140px; height: 64px; }
#city_square_btn		{ width: 134px; height: 53px; }
#buildings_tell		{ width: 153px; height: 31px; }
#buildings_tell_btn		{ width: 145px; height: 27px; }
#food_delivery		{ width: 143px; height: 74px; }
#food_delivery_btn		{ width: 137px; height: 66px; }
#my_house			{ background: url(../images/hp/my-house.png) no-repeat top; width: 259px; height: 67px; }
#my_house_div			{ margin-right: 25px; margin-top: 4px; }
#my_house_title		{ font-size: 14px; color: #000; text-decoration: underline; font-weight: bold; }
#my_house_div a		{ font-size: 13px; color: #2d2d88; text-decoration: underline; }
#my_house_div a:hover		{ font-size: 13px; color: #2d2d88; text-decoration: underline; }
#statues			{ width: 153px; height: 33px; }
#statues_btn			{ width: 145px; height: 27px; }
#menashye_station		{ width: 140px; height: 66px; }
#menashye_station_btn	{ width: 134px; height: 53px; }
#graffiti			{ width: 153px; height: 32px; }
#graffiti_btn			{ width: 145px; height: 28px; }
#night_life			{ width: 143px; height: 53px; }
#night_life_btn		{ width: 136px; height: 44px; }
#building_a_day		{ background: url(../images/hp/building-a-day.png) no-repeat top; width: 259px; height: 90px; }
#building_a_day_div		{ margin-right: 25px; margin-top: 9px; }
#building_a_day_title	{ font-size: 14px; color: #000; text-decoration: underline; font-weight: bold; }
#building_a_day_archive	{ font-size: 12px; }
#building_a_day_archive a	{ font-size: 12px; color: #2d2d88; text-decoration: underline; }
#building_a_day_archive a:hover{ font-size: 12px; color: #2d2d88; text-decoration: underline; }
#building_a_day_text		{ font-size: 13px; }
#building_a_day_text a	{ font-size: 13px; color: #2d2d88; text-decoration: underline; }
#building_a_day_text a:hover	{ font-size: 13px; color: #2d2d88; text-decoration: underline; }
#lost_city			{ width: 153px; height: 34px; }
#lost_city_btn		{ width: 145px; height: 28px; }
#going_out			{ background: url(../images/hp/going-out.png) no-repeat top; width: 730px; height: 47px; }
#going_out_div		{ margin-right: 20px; margin-top: 10px; font-size: 18px; color: #fff; }
#guided_tours_btn		{ width: 134px; height: 53px; }
#city_sqaure			{ vertical-align: middle; }

/* Homepage Hovers */
#designers_shops_div		{ position: absolute; margin-top: 50px; margin-right: 35px; }
#bride_dresses_btn		{ width: 104px; height: 26px; }
#tlv_rest_div			{ position: absolute; margin-top: 80px; margin-right: 30px; }
#kosher_rest			{ width: 119px; height: 24px; }
#romantic_rest		{ width: 119px; height: 24px; }
#designers_shop_main_div	{ position: absolute; margin-right: 4px; }
#tlv_rest_main_div		{ position: absolute; margin-right: 4px; }

/* Buildings Window */
#buildings_window		{ position: absolute; top: 79px; margin-right: 190px; width: 434px; height: 551px; background: url(../images/hp/buildings_window.jpg) no-repeat top; }
#buildings_window_scroll	{ overflow: auto; width: 417px; height: 515px; margin-top: 27px; }
#full_sized_img		{ width: 100%; height: 100%; margin: 0 auto; z-index: 200; top: 0px; left: 0px; position: absolute; background: #000000; }
#main_img_fs			{ height: 100%; margin: 0 auto; }
#fs_div			{ width: 100%; height: 100%; position: absolute; top: 0px; z-index: 199; background: #000000; }

/* Archive Window */
#archive_window		{ position: absolute; top: 79px; margin-right: 190px; width: 434px; height: 551px; background: url(../images/hp/buildings_window.jpg) no-repeat top; z-index: 100; }
#archive_window_scroll	{ overflow: auto; width: 417px; height: 515px; margin-top: 27px; }
#archive_close_div		{ position: absolute; top: -17px; margin-right: 412px; z-index: 2; }

/* Header */
.header_links_margin		{ margin-top: 42px; }
.header_links:link		{ color: #545454; font-size: 14px; text-decoration: none; font-weight: normal; }
.header_links:visited	{ color: #545454; font-size: 14px; text-decoration: none; font-weight: normal; }
.header_links:hover		{ color: #000; font-size: 14px; text-decoration: none; font-weight: normal; }
.header_links:active		{ color: #545454; font-size: 14px; text-decoration: none; font-weight: normal; }
#search_bar_hp		{ margin-top: 41px; margin-right: 40px; }
#main-menu .navbar { min-height: 20px; } 
/* Ticker */
.ticker_title			{ font-weight: bold; text-decoration: underline; }
#marquee			{ height: 313px; overflow:hidden; position: relative; margin-top: 10px; }
#marqueeContent		{ width: 250px; position:absolute; top: 0; }
ul.marqueeUL			{ list-style: none !important; padding: 0px 5px 0px 0px; margin: 0px; }
ul.marqueeUL li			{ margin: 0 0 5px; padding: 0px; font-weight: normal; }

/* Renovation */
#renovation_table		{ width: 990px; height: 94px; direction: ltr; }
#r_text			{ width: 128px; height: 487px; }
#r_img				{ width: 678px; height: 487px; }
#r_text			{ width: 184px; height: 487px; }
.r_btn_div			{ margin-bottom: 5px; }
#r_pros_div			{ margin-top: 10px; margin-right: 10px; }
#r_pros_ext_div		{ margin-top: 5px; margin-right: 10px; }
#r_pros_div a, #r_pros_ext_div a { font-size: 14px; color: #000080; text-decoration: underline; }
#r_pros_div a:hover, #r_pros_ext_div a:hover { font-size: 14px; color: #000080; text-decoration: none; }
#r_img_contents		{ width: 648px; height: 487px; border: 1px solid #000; margin-right: 10px; }
#r_left_img_bg		{ width: 184px; height: 487px; border: 1px solid #000; }
#r_img_text, #r_left_img_text		{ font-size: 14px; margin: 10px; }
.r_users a			{ font-size: 14px; color: #000080; text-decoration: underline; }
.r_users a:hover		{ font-size: 14px; color: #000080; text-decoration: none; }

/* New HP */
#main-container { max-width: 842px; }
/* .menu_blank			{ background: url(../images/other/menu-blank.png) repeat-x top; } */
/* #hp_header_table		{ width: 817px; height: 297px; background: url(../images/design/header.jpg) no-repeat top; direction: ltr; } */
#hp-header { height: 224px; margin-top: 48px; background: url(../images/design/header-new.jpg) no-repeat top; position: relative; background-position: 100%; background-size: 600px; height: 165px; margin-top: 12px;}
#hp_header_td			{ width: 817px; height: 253px; }
#hp_question_mark		{ width: 64px; height: 44px; }
#hp_question_mark div		{ margin-top: 7px; margin-right: 8px; }
#question_mark_btn		{ width: 30px; height: 25px; }
#hp_enter_btn			{ width: 67px; height: 44px; margin: 14px auto 0;}
#hp_enter_btn div		{ margin-top: 7px; margin-right: 10px; }
#hp_submit_btn		{ width: 67px; height: 25px; }
#hp_building_name		{ width: 205px; height: 44px; }
#hp_street_number		{ width: 116px; height: 44px; }
#hp_street_address		{ width: 185px; height: 44px; }
#hp_virtual_tour_title	{ width: 161px; height: 44px; }
#hp_header_search_div	{ position: absolute; bottom: 3px; left: 0;}
.header_search_div	{ width: 174px; height: 24px;background: #ffffff; border: 1px solid #d3d3d3; color: #808080;}
.header_search_div .search-icon { font-size: 11px;}
input#q { border:0; line-height:22px; padding: 0 6px; width: 146px; box-sizing: border-box; font-size: 11px;}
#hp_search_by_name_div	{ margin-right: 17px; margin-top: 13px; }
#search_by_name		{ width: 175px; height: 15px; font-size: 12px; border: 0px; background: transparent; }
#search_by_name_area		{ position: absolute; z-index: 200; }
#hp-buttons-col a:nth-of-type(2), #hp-buttons-col a:first-of-type { margin-top: 0; }
#hp-buttons-col a:nth-last-of-type(2), #hp-buttons-col a:last-of-type { margin-bottom: 0; }
#main-menu .navbar { background: rgba(0,0,0,0); border: 0; margin: 12px auto;}
#main-menu .navbar .navbar-nav>li>a {color: #a2352e; font-size: 14px; font-weight: normal; padding-top: 6px;}
#main-menu .navbar .navbar-nav>li>a:hover, #main-menu .navbar .navbar-nav>li>a:focus { background: none; text-decoration:underline; }
#main-menu .navbar-nav { width: 100%; }
#main-menu .navbar-toggle {font-size: 18px !important; color: #90231c; float: :left; height: 34px; text-align: left; margin-left: 0}
#main-menu .toggle-title { position: absolute; top: 6px; left: 20px; line-height: 1; }
#main-menu .navbar-toggle .icon-bar { background-color: #90231c; }
#hp-buttons-col { padding-left: 0; display: block; width: auto; margin: 12px auto 24px;}
#hp-buttons-col a { margin: 3px 3px 2px; display: inline-block; }
#hp-empty-col div { border: 1px solid; margin: 18px 0;}
#hp-empty-col img { max-width: 100%; height: auto; }
#search-address-wrap {width: 100%; height: 211px; border: 2px solid #d5d5d5;border-radius: 3px;background-color: #f1f1f1;text-align: right;padding: 0 12px;}
#search-address-wrap form { display: inline-block; }
#search_buildings_results { position: absolute; text-align: right; background: #ffffff; border: 1px solid #000000; width: 220px; height: 200px; overflow: auto; line-height: 18px; margin-right: 25px}
form#search_street { width: 64%; margin-left: 4%; }
form#search_street_number { width: 32%; margin-right: -4px; }
form#search_by_name_form { width: 100%; }
#search-address-wrap form input { border: 1px solid #c4c4c4; height: 37px; padding: 14px 10px; color: #837779; width: 100%; font-size: 16px;}
.search-title {font-weight: bold;font-size: 18px;line-height: 1;text-align: center;margin-top: 12px;margin-bottom: 12px;}
#hp_street_number_div	{ margin-right: 13px; margin-top: 13px; }
#street_number		{ width: 70px; height: 15px; font-size: 12px; border: 0px; background: transparent; }
#search_num			{ position: absolute; z-index: 200; }
#hp_street_address_div	{ margin-right: 20px; margin-top: 13px; }
#street_name			{ border: 0px;background: transparent;width: 251px;height: 37px;border: 1px solid #c4c4c4; }
#search_area			{ position: absolute; z-index: 200; }

#hp_contents_table		{ width: 817px; height: 10px; }
#hp_buttons_td		{ width: 135px; height: 10px; }
#hp_buttons_div div		{ margin-top: 1px; }
#gallery-side-col ul {list-style: none;padding: 0; height:0; overflow: hidden;}
#gallery-side-col ul.in { height: auto;}
#gallery-side-col li.category-li.featured {margin-top: 12px;}
#gallery-side-col a { line-height: 20px; color: #34116e; font-size: 16px; font-weight: bold; font-family: "Arial"; } 
#gallery-side-col a:hover, #gallery-side-col .active a { color: #000; text-decoration: none;}
#gallery-side-col a:hover {text-decoration: underline;}
#gallery-side-col .active a:hover {cursor: default;text-decoration: none;} 
#gallery-side-col h3 {padding-left: 5px;}
#gallery-container { margin-bottom: 124px; margin-top: 40px;}
#gallery-container h2 {font-family: "Times New Roman"; font-size: 32px;text-decoration: underline;text-align: center;color: #aa3434;font-weight: normal;margin-bottom: 24px; margin-top: 20px; margin-bottom: 0;}
#gallery-container .h3, #gallery-container h3 { color: #000; font-size: 20px; font-weight: normal; font-family: "Arial"; text-decoration: underline;}
#gallery-container .h3 { padding: 3px 18px 6px; }
#gallery-main-ul {padding: 0;margin-top: 18px;list-style: none;}	
#gallery-main-ul li { vertical-align: bottom; display: inline-block; width: 150px; line-height: 18px; text-align: center; margin: 12px 6px 12px 5px; cursor: pointer; }
#gallery-main-ul a {color: #462222;font-size: 12px;font-family: arial; line-height: 14px; text-align: right;text-decoration: none;}
span.image_description {display: inline-block;padding: 3px 6px;border: 1px solid #d5d6eb;width: 150px;height: 52px; overflow: hidden;}
#gallelry-modal .modal-backdrop { background-color:rgb(211, 211, 211); opacity: 0.7; }
div#gallelry-modal .spinning { display: none; }
div#gallelry-modal.loading .spinning { display: inline-block; }
.glyphicon.spinning { animation: spin 1s infinite linear; -webkit-animation: spin2 1s infinite linear; }
@keyframes spin { from { transform: scale(1) rotate(0deg); } to { transform: scale(1) rotate(360deg); } }
@-webkit-keyframes spin2 { from { -webkit-transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); } }
/* #gallelry-modal .modal-dialog { max-width: 90%; max-height: 80%; top: 0; margin: 0 auto; transition: all 0.5s ease;} */
/* #gallelry-modal .modal-dialog { max-width: 90%; max-height: 80%; top: 0; margin: 0 auto; transition: top 0.6s cubic-bezier(0,0,.55,.99);} */
#gallelry-modal .modal-dialog { max-width: 90%; max-height: 80%; /* top: 50%; */ margin: 0 auto; /* transform: translateY(-50%); */}

#gallelry-modal .modal-header { border: 0; position: absolute; top: 0; padding: 0; transform: translateY(-100%);}
#gallelry-modal .modal-header { -webkit-transform: translateY(-100%);}
#gallelry-modal .modal-header { -moz-transform: translateY(-100%);}
#gallelry-modal .modal-header { -ms-transform: translateY(-100%);} 
#gallelry-modal button.close { opacity: 1; } 
#gallelry-modal button.close span { color: #462222; font-size: 24px; background-color: #f9f9f7; opacity: 1; text-shadow: none; padding: 3px 6px; border: 3px solid #000; font-weight: 100; } 
#gallelry-modal button.close:focus { outline: 0; }
#gallelry-modal button.close:hover span { background: #f1f1f1; }
#gallelry-modal-body { padding: 0; background: #f9f9f7; border: 3px solid #000; }
#gallelry-modal .modal-content { border-radius: 0; box-shadow: none; background-color: rgba(0,0,0,0); border: 0; }
#desc_frame { overflow: auto; text-align: right; padding: 6px; color: #462222; font-size: 14px; font-family: arial; line-height: 18px;}
#desc_frame a { font-size: 14px; font-family: arial; line-height: 18px; color: rgb(0, 0, 238); text-decoration: underline;}
#image-frame img { max-width: 100%; height: auto;}
#hp_slideshow			{ width: 209px; height: 157px; }
#hp_slideshow img		{ width: 209px; height: 157px; display: block; }
.single_record_content	{ color: #000; font-weight: bold; font-size: 14px; margin-right: 8px; }
.single_record_content a	{ font-size: 14px; color: #333399; text-decoration: underline; }
.single_record_content a:hover{ font-size: 14px; color: #333399; text-decoration: underline; }
.single_record_content_320	{ color: #000; font-weight: bold; font-size: 14px; margin: 6px 12px 16px 15px; }
.single_record_content_320 a	{ font-size: 14px; color: #333399; text-decoration: underline; }
.single_record_content_320 a:hover{ font-size: 14px; color: #333399; text-decoration: underline; }
.single_record_more		{ color: #000; font-weight: bold; font-size: 14px; margin-right: 9px; margin-top: 1px; }
.single_record_more a		{ font-size: 14px; color: #333399; font-weight: bold; text-decoration: underline; }
.single_record_more a:hover	{ font-size: 14px; color: #333399; font-weight: bold; text-decoration: underline; }
#slideshow_div		{ margin: 8px 8px 3px 0px; }
#slideshow_desc		{ color: #000; font-weight: bold; font-size: 14px; margin: 0px 10px 0px 3px; }
#slideshow_desc a		{ font-size: 14px; color: #333399; text-decoration: underline; }
#slideshow_desc a:hover	{ font-size: 14px; color: #333399; text-decoration: underline; }

#sitemap_table		{ width: 817px; height: 225px; }
#sitemap_title		{ width: 817px; height: 55px; }
#sitemap_title div		{ margin-right: 42px; font-size: 18px; color: #535353; }
.sitemap_td			{ width: 155px; height: 170px; }
.sitemap_td div		{ line-height: 20px; }
.sitemap_td a			{ font-size: 14px; color: #171704; text-decoration: underline; }
.sitemap_td a:hover		{ font-size: 14px; color: #171704; text-decoration: none; }

#fun_div			{ font-size: 13px; margin-top: 5px; margin-right: 5px; }
#fun_div a			{ font-size: 13px; color: #333399; text-decoration: underline; }
#fun_div a:hover		{ font-size: 13px; color: #333399; text-decoration: underline; }

#dev				{ margin-top: 5px; margin-bottom: 5px; font-size: 11px; text-align: left; }
#dev a				{ font-size: 11px; color: #333; }
#dev img			{ width: 60px; height: 25px; vertical-align: middle; margin: 0px 2px 8px 0px; }

@media (min-width: 480px) {
	#hp_header_search_div {top: 0; bottom: auto;}
	#hp-buttons-col	{ display: inline-block; width: 392px; }
}
@media (min-width: 768px) {
	#hp-header { background-size: 812px; height: 224px; margin-top: 26px; background-size: 100%;}
	#main-menu .navbar {margin: 6px auto 20px;}
	#main-menu .navbar li { width: 25%; }
	#main-menu .navbar .navbar-nav>li>a {padding: 0;}
	#hp-buttons-col { width: 196px; margin: 0;}
	#hp-buttons-col a:nth-of-type(2n-1) { margin-right: 0; }
	#hp-search-address { width: calc(100% - 196px);}
}
@media (min-width: 992px) {
    #hp-empty-col{ width: 187px;  padding-right: 2px;}
	#hp-buttons-col { width:196px; display: block; margin: 0;}
    #hp-search-address { width: 459px; padding-right: 15px; }    
	#hp-empty-col div {margin: 0;}
	#gallery-side-col { width: 14%; padding-right: 0; padding-left: 0; }
	#gallery-main { width: 86%; padding-left: 6px;}
	#gallery-side-col ul { text-align: right; height: auto; }
	#gallery-container .h3 { padding: 1px 6px; background: none; border: 0;}
	#gallery-main-ul { text-align: right; margin-right: -6px; margin-left: -6px;}

}
	
/* Filter Page - Tilnet */

/* HEADER */
#til-tour-page { 
	max-width: 1050px; 
	margin: auto;
}
.til-navigatin {
	display: flex;
	justify-content: space-between;
	padding: 15px;
	font-size: 14px;
}

.til-navigation-col { 
	display: flex;
	align-items: flex-end;
}
.til-navigation-right { 
	gap: 24px;
}
.til-navigatin a { 
	color:#0c0ca6;
	font-size: 14px;
	line-height: 20px;
}
.til-website-search { 
	display: flex;
	align-items: flex-end;
}
.til-website-search form > div {
	margin-top: 0 !important;
}
.til-website-search form input {
	border: 1px solid #94958f !important;
	border-left: 0 !important;
	color: rgb(128,128,128);
	height: 20px !important;
	line-height: 20px !important;
	box-sizing: border-box !important;
}
.til-search-icon { 
	height: 20px;
	color: rgb(128,128,128);
	border: 1px solid #94958f;
	border-right: 0;
	display: flex;
	transform: translateX(4px);
	align-items: center;
	padding-left: 6px;
	box-sizing: border-box;
	cursor: pointer;
}
.til-search-icon svg {
	width: 14px;
	height: 14px;
	
}

.nbrhood_row {
	text-align: right; 
	width: 200px; 
	height: 20px;
}

.hp-search-icon {
	cursor: pointer;
}

div#tour-name {
	color: #e00f2c;
	font-family: "Arial";
	font-size: 31px; 
	font-weight: bold;
	text-align: center;
	margin: 0 auto 32px;
}

.tour-subtitle, .tour-subtitle a{
	font-size: 18px;
}

.tour-subtitle {
	color: black;
	font-weight: bold;
}

.tour-subtitle a{
	color: #0c0ca6;
	text-decoration: underline;
}

#search_top_submit_btn {
    display: none;
}

/* MAIN CONTENT */

#til-main-content { 
	max-width: 812px;
	/* padding: 0 48px; */
	margin: auto;
}

/* filters */
#til-filters-wrapper { 
	background-color:#d6eff4;
	padding: 10px 28px 24px;
	margin-bottom: 30px;
	border: 1px solid #dabdbd;
}
#til-filters {
	gap: 26px;
	display: flex;
	font-size: 16px;
	color:#000000;
}
#til-filters>div {
	flex: 1;
	text-align: right;
}
.til-cat-title {
	display: flex;
	/* justify-content: space-between; */
}


.til-search-by-name h3,
#til_street_search h3 {
	padding-right: 5px;
	padding-bottom: 5px;
}

#til-filters h3 {
	text-align: right;
	font-size: 16px;
	font-weight: bold;
	margin-top: 0;
}
#choose_category { 
	margin-bottom: 9px;
}
#choose_category a {
	margin-right: 15px;
	color:#808080;
}
#til-filters td {
	font-size: 15px;
	line-height: 1.4;
}

.neighborhood_tip {
	color: #000;
	text-align: right;
	font-size: 13px !important;
	padding: 6px 0 3px;	
}

.nbr_row_selected{
	/* text-shadow: 1px 1px 3px #fff; */
	background-color: #eee;	
}

.results_dropdown {
	z-index: 299; 
	position: absolute; 
	text-align: right; 
	background: #ffffff; 
	border: 1px solid #000000; 
	width: 200px; 
	overflow-y: auto;
	overflow-x: hidden; 
	line-height: 18px; 
	padding-right: 2px;
	margin-right: 0px;
}

.results_dropdown table{
	width: 200px; 
	height: 10px; 
	background: transparent;
}

.results_dropdown td{
	text-align: right;
	display: block;
}

#search_by_neighborhood_results {
	max-height: 400px;
}

#search_by_filter_results {
	height: 200px;
}

#search_by_neighborhood_results > table{
	padding: 0;
	border: none;
	width: 200px; 
	height: 10px; 
	background: transparent
}

.til-search-by-name input,
#til_street_search input {
	border: 1px solid #d5b2b2;
	background-color: #ffffff !important;
	color: #808080 !important;
	font-size: 14px !important;
	width: 174px !important;
	padding: 3px 6px !important;
	/* line-height: 23px; */
	/* height: 23px !important; */
}
#til-ipus {
	text-align: left;
}
#til-ipus a {
	font-size: 18px;
	color:#0f0571;
	font-weight: bold;
	text-decoration: underline;
}
#filter_street {display: none;}

#filter_q {
	border: 1px solid #d5b2b2;
	/* width: 171px; height: 23px; font-size: 15px; border: 1px solid #94958f; background: #fff; */
}


/* PAGES RESULTS */
#til-results {
	text-align: right;
	font-size: 16px;
}
.til-results-count {
	margin-right: 15px;
	margin-bottom: 15px;
}
.til-results-count h4 {
	font-size: 20px;
	margin-bottom: 6px;
	margin-left: 14px;
	display: inline;
}

.til-results-count span {
	font-size: 18px;
}

/* margin-bottom: 2px; padding-bottom: 2px; ; */

.til-page-link {
    position: relative;
	display: flex;
	border-bottom: 1px solid #808080;
}

.til-page-link.hasimage{
	padding-top: 24px !important;
	padding-bottom: 24px !important;
}

a.tours_pages_links {
	display:flex; 
	font-size: 14px;
}

a.tours_pages_links.absolute {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.page-image {
	flex-shrink: 0;
    width: 200px;
    position: relative;
    display: block;
    height: 150px;
	margin-left: 24px;
}
.page-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;	
	object-position: right;
}
.til-link-title h4 {
	font-size: 20px;
	font-weight: bold;
	margin: 10px 0 6px;
}
.til-link-body  {
	text-align: justify;
	line-height: 1.2;
}

.til-content {
}

/* PAGES NAVIGATION */
.pages-navigation {
	display: flex;
	margin: 85px 0;
	justify-content: center;
}
.pages-navigation button {
	color: #758990;
	display: flex;
	padding: 9px 12px;
	border: 1px solid #dedede;
	background: #ffffff;
	text-decoration: none;
	cursor: default;
}
.pages-navigation button.current {
	color: white;
	background: #347ab6;
}
.pages-navigation button.disabled {
	opacity: 0.5;
	background-color: #dedede;
	pointer-events: none;
}
.pages-navigation button:not(.disabled):hover { 
	color: white;
	background: #62a4dd;
}

.styled-checkbox {
	position: absolute;
	opacity: 0;
  }
  .styled-checkbox + label {
	position: relative;
	cursor: pointer;
	padding: 0;
  }
  .styled-checkbox + label:before {
	content: "";
	margin-right: 10px;
	display: inline-block;
	vertical-align: text-top;
	width: 20px;
	height: 20px;
	background: white;
  }
  .styled-checkbox:hover + label:before {
	background: #f35429;
  }
  .styled-checkbox:focus + label:before {
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
  }
  .styled-checkbox:checked + label:before {
	background: #f35429;
  }
  .styled-checkbox:disabled + label {
	color: #b8b8b8;
	cursor: auto;
  }
  .styled-checkbox:disabled + label:before {
	box-shadow: none;
	background: #ddd;
  }
  .styled-checkbox:checked + label:after {
	content: "";
	position: absolute;
	left: 5px;
	top: 9px;
	background: white;
	width: 2px;
	height: 2px;
	box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
	transform: rotate(45deg);
  }
  
  #categories_ford input[type='checkbox'] {
	  margin: 0;
  }

  #categories_ford span.tourCatName {
	cursor: pointer;
  }

  input::placeholder{
	  color: #aaa;
  } 
  
/* .squaredFour */
.squaredFour {
	width: 15px;
	position: relative;
	margin: 15px auto;
  }
  .squaredFour label:disabled {
	opacity: 0.5;
  }

  .squaredFour label {
	width: 15px;
	height: 15px;
	cursor: pointer;
	position: absolute;
	top: 0;
	left: 0;
	background: #fcfff4;
	background: linear-gradient(to top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
	/* background: linear-gradient(45deg, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%); */
	border-radius: 2px;
	box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0, 0, 0, 0.5);
  }
  .squaredFour label:after {
	box-sizing:content-box;
	content: '';
	width: 6px;
	height: 4px;
	position: absolute;
	top: 4px;
	left: 4px;
	border: 2px solid #333;
	border-top: none;
	border-right: none;
	background: transparent;
	opacity: 0;
	transform: rotate(-45deg);
  }
  .squaredFour input[type=checkbox] {
	visibility: hidden;
  }
  .squaredFour input[type=checkbox]:checked + label:after {
	opacity: 1;
  }
	input:focus::placeholder {
		color: transparent;
	}

	#keypad-small {
		text-align: center;
	}

	#keypad-small-wrapper {
		display: inline-block;
		padding: 5px;
		border: 1px solid #dedede;
		border-radius: 5px;
	}

	#keypad-small-table {
		margin: auto;
		direction: ltr;
	}

  /* building page */

  .building-row-wrapper {
	color:black;
	display: flex;
	justify-content: space-between;
	flex-flow: row wrap;
	text-align: center;
	/* width: 1007px; */
	line-height: normal;
 }

 .building-row-wrapper {
	width: 1009px;
 }

 .building-row-wrapper>* {
	flex: 1 100%;
 }

 .building-row-wrapper.header-wrapper{
	 margin-bottom: 8px;
 }

 .building-row-main {
	text-align: center;
	flex: 1;
 }

 .aside-1 {
	text-align: right;
	flex: 0 0 130px;
 }

 .building-page .aside-1 {
	padding-right: 1px;
}

.tour-page .aside-1 {
	flex: 0 0 118px;
	margin-left: 12px;
 }
 
 .aside-2 {
	flex: 0 0 210px;
 }

 .tour-page .aside-2 {
	text-align: right;
}

 .building-page .aside-2 {
	 margin-left: 2px;
 }

 #tour-nav-buttons{
	text-align: right;
	margin-top: 17px;
	margin-bottom: 8px;
 }

 #tour-nav-buttons>div{
	 margin: 5px 0;
 }
 /* 
@media all and (min-width: 600px) {
.aside { flex: 1 0 0; }
}

@media all and (min-width: 800px) {
.main    { flex: 3 0px; }
.aside-1 { order: 1; } 
.main    { order: 2; }
.aside-2 { order: 3; }
.footer  { order: 4; }
} */


 .building-header-col {
	padding: 23px 0 30px;
	flex: 0;
	min-height: 58px;
 }

 #pageCounter{
	text-align:center;
	margin-top: 5px;
	color:#5b4a4a;
 }

 .flex-right {
	margin-left: auto;
 }

 .header-wrapper {
	align-items: flex-end;
 }
 
 body.body-w-bg {
	min-width: 1035px;
}

#top-container.container-w-bg{
	border-top: 2px solid #000;
	box-shadow: inset 0px 3px 0 #ccc;
	background: url(../images/building/img_crop.png?v=0001) repeat-x;
	background-position-x: 142px;
 }

 #top-container .header_search_div{
	display: inline-block;
	margin-left: 30px;
	margin-bottom: 4px;
}

 #map-image {
	border: 1px solid black;
	min-height: 187px;
	width: 206px;
	position: relative;
 }

 #map-point {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	position: absolute;
 }
 
 #page_content{
	width: 648px;
	height: 487px;
	margin-right: 5px;
 }

 #building_page_content,
 #page_content.building-page #main_img img, 
 #page_content.building-page #gis_container{
	border: 1px solid black;
 }

 .overflow-hidden{
	 overflow: hidden;
 }

 .overflow-auto{
	overflow: auto;
}

.tour_main_image {
	/* margin: 1px 1px 0 0; */
}

/* Tour photo box: every photo fills 646x485 and never spills out. The mode is set in
   include/tour_page_gallery.php ($tourPhotoFit): cover = cropped, contain = whole photo with bars. */
.tour_main_image #slideshow_tour { overflow: hidden; }
.tour_main_image #slideshow_tour img,
.tour_main_image > img { width: 646px; height: 485px; object-fit: cover; }
.tour-fit-contain #slideshow_tour,
.tour-fit-contain > img { background: #f2f2f2; }
.tour-fit-contain #slideshow_tour img,
.tour-fit-contain > img { object-fit: contain; }

.building-header-right {
	/* margin-right: 9px; */
}

 .building-row-wrapper .top-text {
	text-align: right;
	margin-top: 5px;
	margin-bottom: 11px;
	color: #8c0b0f;
	font-size: 14px;
	font-weight: bold;
 }

 .tour-page .building-row-wrapper .top-text {
	color: #000;
	font-size: 18px;
	font-weight: normal;
	margin-top: 0px;
	margin-bottom: 13px;
	/* margin-right: 8px; */
}

#top-text-line1 {
	margin-bottom: 2px;
}

.tour-page .sidebar-right-img img{
	border: 1px solid black;
}

 #image-desc {
	 width: 648px;
	font-size: 18px;
	margin: 10px 5px 0 0;
 }

 .page_name_tour{
	margin-top: 10px;
	font-size: 18px;
 }
 
 .sidebar-elem {
	margin-top: 5px;
	text-align: right;
	margin-right: 2px;
 }

 .sidebar-elem #email, .sidebar-elem #index {
	margin-right: -2px;
 }

 #page-toc {
	text-align: right;
	height: 191px;
	width: 122px;
	border: 1px solid #ccc;
	border-radius: 5px;
	margin: 9px 0 0 0;
	padding: 5px 10px 0 0;
 }

 #toc-title {
	 font-weight: bold;
	 margin-bottom: 5px;
 }
 
 #toc-items{
	color: #231c66; 
	line-height:normal;
}

 #nav-keys {
	margin-bottom: 10px;
 }

 #taba {
	margin: 15px 6px;
	text-align: right;
	font-size: 12px;
 }

 #taba .small-info-text>span {
	margin-left:10px;
 }

 .small-info-text {
	font-size: 12px;
	font-style: italic;
 }

 .building-main-container {
	margin-top: 6px;
	margin-right: 9px;
 }

 #building-second-img {
	align-items: end;
	width: 210px;
	position: absolute;
	top: 438px;
 }

 #taba .small-info-text {
	margin-top: 10px;
 }

 #building-second-img .small-info-text {
	margin-top: 10px;
 }

 .modal-title {
	text-align: center;
 }

 /* hp banners */

.border-effect {
	box-sizing: border-box;
}

.border-effect:hover {
	outline: 2px solid #000;
	outline-offset: -2px;
}

.hp-banner-row {
	display: flex;
	justify-content: space-between;
}

.hp-banner-l1 {
	margin: 10px 0 0 0;
	width: 150px;
	color: #7f8084;
	/* background-color: #F5F5F5; */
}

.hp-banner-l2 {
	margin: 5px 0 47px 0;
	width: 125px;
	color: #7f8084;
	/* background-color: #F5F5F5; */
}

.hp-banner-l2-small img{
	/* outline:1px solid white; */
	/* outline-offset: -1px; */
}

.hp-banner-l1 .cropper{
	/* width: 100px; */
	/* background-color: paleturquoise; */

}

.hp-banner-l1 img{
	/* object-fit: contain; */
	/* outline:4px solid pink; */
	/* outline-offset: -4px; */
}

@media (min-width: 768px) and (max-width: 992px) {
	
	/* .hp-banner-l1:last-of-type {
		margin: 8px 0 18px 0;
	} */

	/* .hp-banner-l2 {
		margin: 3px 0 45px 0;
	} */

	.hp-banner-l2 img, .hp-banner-l1 img{
		outline:2px solid white;
		outline-offset: -2px;
	}

	.hp-banner-l1 .cropper{
		/* margin:0 20px; */
		/* width: 100px; */
	}
}

@media (max-width: 767px) {
	#hp-buttons-col {
		padding: 0;
	}
	
	.hp-banner-l1 {
		margin: 0 !important;
	}

	.hp-banner-l2 {
		margin: 13px 0 0 0 !important;
	}

	.hp-banner-l1 img{
		width: 75px;
	}
	
	#banner-row-2 {
		display: none !important;
	}

	#banner-row-2-small {
		display: flex !important;
	}
}

.y-ribbon {
	position: absolute;
	background-image: url('../images/design/yellow-ribbon.png');
	background-size: cover;
	background-position: center;
	height: 60px;
	width: 46px;
	left: 190px;
	top: -15px;
} 
@media screen and (max-width: 768px) {
	.y-ribbon {
		top: -12px;
	}
}      
@media screen and (max-width: 481px) {
	.y-ribbon {
		top: 120px;
	}
} 

.banner-v-spacer {
    height: 25px;
}

@media screen and (max-width: 991px) {
    .banner-v-spacer {
        height: 20px;
    }
}

/* ----------------------------------------------------------------------------------------------------
   Responsive viewport (spec §8). include/top_portal_common.php puts html.vtlv-rwd on pages with the
   device-width viewport; pages that set $legacy_fixed_viewport keep width=1024 and none of these rules.
   ---------------------------------------------------------------------------------------------------- */

/* Shared: legacy footer's hidden 926px table (include/bottom_portal.php) */
@media (max-width: 1034px) {
	.vtlv-rwd .legacy-bottom { margin-left: 0 !important; }
	.vtlv-rwd .legacy-bottom > table,
	.vtlv-rwd .legacy-bottom > table td { width: auto !important; }
}

/* Contact modal: the iframe's form gets taller once it stacks (style_greybox.css) */
@media (max-width: 767px) {
	.vtlv-rwd #myModal .modal-body { padding: 8px; }
	.vtlv-rwd #myModal iframe { height: calc(100vh - 150px) !important; max-height: 560px; }
}

/* Filter page */
@media (max-width: 841px) {
	.vtlv-rwd #til-main-content { padding: 0 15px; }
}

@media (max-width: 767px) {
	/* header: logo + breadcrumb, then contact + site search */
	.vtlv-rwd .til-navigatin { flex-wrap: wrap; gap: 4px 16px; padding: 8px 15px; }
	.vtlv-rwd .til-navigation-col { align-items: center; }
	.vtlv-rwd .til-navigation-right { gap: 12px; }
	.vtlv-rwd .til-logo img { width: 110px; height: auto; }
	.vtlv-rwd .til-navigation-left { width: 100%; justify-content: space-between; }
	.vtlv-rwd .til-navigatin a { display: inline-block; padding: 12px 0; }
	.vtlv-rwd .til-website-search form > div { margin-right: 0 !important; display: flex; }
	.vtlv-rwd .til-website-search form > div > span { display: none !important; }
	.vtlv-rwd .til-website-search form input#q { width: 170px !important; height: 44px !important; line-height: normal !important; padding: 0 8px; font-size: 16px !important; }
	.vtlv-rwd .til-search-icon { height: 44px; padding: 0 12px; transform: none; }
	.vtlv-rwd .til-search-icon svg { width: 18px; height: 18px; }

	.vtlv-rwd div#tour-name { font-size: 26px; margin-bottom: 20px; }

	/* filters: one column; categories in two columns with 44px rows */
	.vtlv-rwd #til-filters-wrapper { padding: 8px 15px 4px; margin-bottom: 20px; }
	.vtlv-rwd #til-filters { flex-direction: column; gap: 12px; }
	.vtlv-rwd .til-cat-title { align-items: center; justify-content: space-between; }
	.vtlv-rwd #til-filters .til-cat-title h3 { margin: 0; }
	.vtlv-rwd #choose_category { margin-bottom: 0; }
	.vtlv-rwd #choose_category a { display: inline-block; padding: 12px 0; margin-right: 0; }
	.vtlv-rwd #categories_ford { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
	.vtlv-rwd #categories_ford .notsquaredFour { position: relative; display: flex; align-items: center; min-height: 44px; }
	.vtlv-rwd #categories_ford input[type='checkbox'] { flex-shrink: 0; width: 20px; height: 20px; margin: 0 0 0 10px; }
	.vtlv-rwd #categories_ford label { position: absolute; top: 0; right: -12px; width: 44px; height: 44px; margin: 0; cursor: pointer; }
	.vtlv-rwd #categories_ford span.tourCatName { flex: 1; padding: 10px 0; }

	.vtlv-rwd .til-search-by-name h3,
	.vtlv-rwd #til_street_search h3 { padding: 0 0 6px; }
	.vtlv-rwd .right-align-container { float: none; align-items: stretch; }
	.vtlv-rwd .til-search-by-name input,
	.vtlv-rwd #til_street_search input { width: 100% !important; height: 44px; padding: 0 10px !important; font-size: 16px !important; box-sizing: border-box; }
	.vtlv-rwd #nldiv { position: relative; }
	.vtlv-rwd #nldiv .results_dropdown { width: 100%; box-sizing: border-box; }
	.vtlv-rwd .results_dropdown table,
	.vtlv-rwd #search_by_neighborhood_results > table,
	.vtlv-rwd .nbrhood_row { width: 100%; height: auto; }
	.vtlv-rwd .results_dropdown td a { display: block; padding: 12px 8px; font-size: 16px; }
	.vtlv-rwd #search_by_filter_results { height: auto; max-height: 300px; }
	.vtlv-rwd #tooltip-pos { margin-top: 0 !important; }
	.vtlv-rwd #til-ipus a { display: inline-block; padding: 10px 0; }

	/* results: image above text */
	.vtlv-rwd .til-results-count { margin: 0 0 8px; }
	.vtlv-rwd .til-results-count h4 { font-size: 18px; margin-left: 8px; }
	.vtlv-rwd .til-results-count span { font-size: 16px; }
	.vtlv-rwd .til-page-link { flex-direction: column; }
	.vtlv-rwd .til-page-link.hasimage { padding-top: 16px !important; padding-bottom: 16px !important; }
	.vtlv-rwd a.tours_pages_links { display: block; }
	.vtlv-rwd .page-image { width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 260px; margin: 0 0 10px; }
	.vtlv-rwd .page-image img { max-width: 100% !important; object-position: center; }
	.vtlv-rwd .til-link-title h4,
	.vtlv-rwd .tour_placeholder h4 { font-size: 18px; margin: 0 0 6px; }
	.vtlv-rwd .tour_placeholder h4 { margin: 12px 0; }
	.vtlv-rwd .til-link-body { text-align: right; }

	.vtlv-rwd .pages-navigation { flex-wrap: wrap; gap: 4px; margin: 32px 0; }
	.vtlv-rwd .pages-navigation button { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; padding: 0 10px; }
}

/* Tour page (tour.php + fetch_tour.php, incl. advertiser listings): one centred column below 1035px */
@media (max-width: 1034px) {
	.vtlv-rwd body.body-w-bg { min-width: 0; }
	.vtlv-rwd .tour-page.building-main-container { max-width: 678px; margin: 0 auto; padding: 0 15px; }
	.vtlv-rwd .tour-page .building-row-wrapper { width: auto; }

	.vtlv-rwd .tour-page .header-wrapper { flex-wrap: nowrap; align-items: center; margin-bottom: 0; }
	.vtlv-rwd .tour-page .building-header-col { flex: 0 1 auto; min-height: 0; padding: 12px 0; }
	.vtlv-rwd .tour-page .building-header-col:empty { display: none; }
	.vtlv-rwd .tour-page .header-wrapper img { width: 110px; height: auto; }
	.vtlv-rwd .tour-page .header_search_div { width: auto; height: auto; margin: 0 !important; }
	.vtlv-rwd .tour-page .header_search_div form > div { display: flex; align-items: center; }
	.vtlv-rwd .tour-page .header_search_div input#q { width: 150px; height: 42px; line-height: normal; font-size: 16px; }
	.vtlv-rwd .tour-page .header_search_div .search-icon { font-size: 16px; padding: 13px 12px; }
	.vtlv-rwd .tour-page #search_top_submit_btn_nohp { display: none; }

	/* DOM order is sidebar | gallery | text; show title, gallery, text, then the buttons */
	.vtlv-rwd .tour-page .content-wrapper { flex-direction: column; flex-wrap: nowrap; }
	.vtlv-rwd .tour-page .content-wrapper > * { flex: 0 0 auto; }
	.vtlv-rwd .tour-page .aside-1 { display: contents; }
	.vtlv-rwd .tour-page .building-row-wrapper .top-text { order: 0; margin: 0 0 10px; }
	.vtlv-rwd .tour-page .sidebar-right-img { display: none; }
	.vtlv-rwd .tour-page .building-row-main { order: 1; }
	.vtlv-rwd .tour-page .aside-2 { order: 2; margin: 16px 0 0; }
	.vtlv-rwd .tour-page .aside-1 > div[style*="absolute"] { order: 3; position: static !important; margin: 12px 0 0 !important; }
	.vtlv-rwd .tour-page #tour-nav-buttons { order: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 8px; margin: 16px 0 0; }
	.vtlv-rwd .tour-page #keypad-small { order: 5; margin-top: 8px; }
	.vtlv-rwd .tour-page #pageCounter { order: 6; margin-bottom: 16px; }

	/* gallery: full width, pager and play/prev/next below the photo */
	.vtlv-rwd .tour-page #page_content { display: flex; flex-direction: column; width: auto; height: auto; margin: 0; }
	.vtlv-rwd .tour-page .tour_main_image { order: 0; display: flex; flex-direction: column; }
	.vtlv-rwd .tour-page #slideshow_tour { width: 100%; height: auto; aspect-ratio: 646 / 485; }
	.vtlv-rwd .tour-page #slideshow_tour img { width: 100%; height: 100%; }
	.vtlv-rwd .tour-page .tour_main_image > img { width: 100%; height: auto; aspect-ratio: 646 / 485; box-sizing: border-box; }
	.vtlv-rwd .tour-page .tour_main_image > iframe { width: 100%; height: auto; aspect-ratio: 646 / 485; }
	.vtlv-rwd .tour-page #nav { order: 1; position: static; width: auto; text-align: center; }
	.vtlv-rwd .tour-page #nav a { display: inline-block; min-width: 44px; line-height: 44px; margin: 0; }
	.vtlv-rwd .tour-page #controller { order: 1; position: static; margin: 0 auto; }
	.vtlv-rwd .tour-page #controller table,
	.vtlv-rwd .tour-page #controller td { width: auto !important; height: auto !important; }
	.vtlv-rwd .tour-page #controller a { display: block; padding: 12px 10px; }
	.vtlv-rwd .tour-page .page_name_tour { order: 2; margin-top: 4px; }

	/* text box: the 182x485 inline size becomes full width, as tall as its text */
	.vtlv-rwd .tour-page .aside-2 > div { width: auto !important; height: auto !important; min-height: 120px; margin: 0 !important; background-size: 100% auto !important; }
	.vtlv-rwd .tour-page #tour_left_content { height: auto; margin: 12px 16px !important; font-size: 16px; line-height: 1.5; }
	.vtlv-rwd .tour-page #tour_left_content img { max-width: 100%; height: auto; }
	.vtlv-rwd .tour-page #tour_left_content table { max-width: 100%; }

	.vtlv-rwd .tour-page #tour-nav-buttons > div { margin: 0; }
	.vtlv-rwd .tour-page #tour-nav-buttons a { display: block; padding: 9px 0; }
	.vtlv-rwd .tour-page #tour-nav-buttons img { display: block; }
}

