body { padding-top: 127px;}
#site-header { top: 0}
#portal-page { width: 100%; padding: 40px 0;}
#portal { border-radius: 25px; border: 3px solid var(--color-dark); padding: 40px; display:flex; flex-direction: column; max-height:100%; width:100%; position: relative; }

.portal-pg .main-nav { padding-top: 0;}
.portal-pg .top-strip { display: flex;}

.portal-heading { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px 0 30px; text-align: center;}

.location-tabs-wrap { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); z-index: 5; }
.location-tabs { position: relative; display: flex; align-items: center; padding: 5px; background: #fff; border: 3px solid var(--color-dark); border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,0.06); overflow: hidden; }
.location-tabs .tab { position: relative; z-index: 2; height: 43px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: transparent; color: var(--color-dark); font-size: 15px; font-weight: 800; letter-spacing: 0.2px; cursor: pointer; text-transform: uppercase; text-decoration: none; line-height: 1; text-align: center; }
.location-tabs::before { content: ""; position: absolute; top: 5px; left: 5px; height: calc(100% - 10px); width: calc(50% - 5px); background: var(--color-sand); border-radius: 999px; transition: transform 0.3s ease; z-index: 1; }
.location-tabs:has(.tab:nth-child(2):hover)::before,
.location-tabs:has(.tab:nth-child(2).active)::before { transform: translateX(100%); }

#takeout-content { display: none;}

.area-tabs { display:flex; gap:10px; margin: 20px 0 50px}
.area-tabs .tab { flex:1; height:44px; padding:0 14px; display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:700; text-transform:uppercase; text-decoration:none; color:#6f6f6f; background:#f5f5f5; border-radius:999px; border:1px solid #e2e2e2; transition:all 0.2s ease; }
.area-tabs .tab:hover { background:#fafafa; color:#333; }
.area-tabs .tab.active { background:var(--color-sand); color:#26232a; border-color:transparent; }


/* aside */
#portal-search {align-items:center; display:flex; flex-direction:column; width:100%; text-align: center; margin-bottom: 50px;}
#portal h3 { font-size:40px; margin-bottom:.5rem; }

#portal-search-form { display:block; width:100%;}
#portal p {padding: 0; }
#portal-search-form table > tbody > tr:first-child { display:none; }
#portal-search-form tr { display:block; }
#portal-search-form td { display:inline-block; margin:2px; }
#portal-search-form td:last-child { margin-top:5px; }
.mobile #portal-search-form form #searchLink {border-radius:5px; display:block; line-height:1; padding: 15px 25px 13px; text-align:center; background: var(--color-primary);color: var(--color-dark); border-radius: 999px; }
#portal-search-form form #searchLink:hover {opacity: .85;}

#portal-search-form form[name="mapfrm"] table > tbody > tr > td:nth-child(1) { width: 30%; }
#portal-search-form form[name="mapfrm"] table > tbody > tr:first-child { display:none; }
#portal-search-form form[name="mapfrm"] input, #portal-search-form form[name="mapfrm"] select { width: 100%;}
.mobile #portal-search-form form[name="mapfrm"] table > tbody > tr:first-child { display:block; }

#portal-search-form a.view-all {  display: none; justify-content: center; margin: 20px 0 0; text-decoration: underline; width: 100%; text-transform: uppercase; font-weight: 800;  }
#portal-search-form a.view-all.visible { display: flex}
#sidebar { display:none; flex-direction:column; max-height:750px; overflow-y:auto; width:45%; padding-right: 30px; min-width: 270px; }
#sidebar h4{ background: #313131; margin-bottom: 20px;  padding: 15px 20px; }
#view-map { display: none;}
#store-list { display:flex; flex-direction:column; width:100%; }
#sidebar-search { display: flex;}

.no-results #sidebar, .search-results #sidebar { display: flex;}


/* Takeout */
.location, #sidebarLocationEntry { background: var(--color-dark); color: var(--color-white); border-radius: 25px; display:block; font-size:14px; padding:30px; position:relative; text-align: left; }
.location h5 { color:var(--color-white); display:inline-block; font-size:27px; margin:0 0 10px; line-height: 1; }
.location-group-wrap { position: relative; }
.location-list { display: none; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; padding: 0; margin: 0; list-style: none; }
.location-list.active { display: grid; }
.location { display: flex !important; flex-direction: column; gap: 5px; align-items: self-start; }
.location span { display: block; font-size: 15px; line-height: 1.55; }
.location .phone a { color: inherit; text-decoration: none; padding-bottom: 20px; }
.location.loc-coming { background: var(--color-sand); color: var(--color-dark);}
.location.loc-coming h5 { color: var(--color-dark); }

.location span { display:block; }
.location .phone { font-weight: 700; margin-top: 5px; color: var(--color-white)}
.location .phone a { color: var(--color-white)}
.location .btn, .location .btn-coming  { font-size: 14px; padding: 14px 20px 12px; position: absolute;bottom: 20px;/*! left: 30px; */right: 30px;}
.location strong { color: var(--color-primary); margin-top: 10px; display: block; }
.location .btn-coming { font-family: "alkaline",sans-serif; font-size: 30px; padding: 0; color: var(--color-dark); text-align: center; line-height: 1;}

/* Location entries */
#sidebarLocationEntry b, #map .gm-style-iw b:first-child { font-family: "Sucrose-Bold", sans-serif; }
#sidebarLocationEntry { margin-bottom: 20px;}
#sidebarLocationEntry img, #sidebarLocationEntry br { display:none; }
#sidebarLocationEntry div { color:#fff; display:flex; flex-direction:column; font-size:16px; line-height:1.5; position:relative; }
#sidebarLocationEntry div a { font-weight:700; }
#sidebarLocationEntry div a::before { content:"Order Now"; }
#sidebarLocationEntry div a img { display:none; margin:0; position:relative; top:0; left:0; }
#sidebarLocationEntry div a:hover { background:var(--color-primary); }
#sidebarLocationEntry b, .location h5 { color:#fff; display:inline-block; font-size:25px; line-height: 1; font-weight:700; margin:0 0 5px; }
#sidebarLocationEntry b { display:block; padding-right:80px; }

#sidebarLocationEntry div .entry-address { font-size:14px; text-transform: capitalize; }
#sidebarLocationEntry div .entry-actions { align-items:center; display:flex; justify-content: space-between; margin:10px 0 0; }
#sidebarLocationEntry div .entry-phone { display: none; background:none; color:#fff; font-weight:600; font-size:14px; margin:5px 0; padding:0; }
#sidebarLocationEntry div .entry-phone:hover { background:none; text-decoration: underline; }
#sidebarLocationEntry div .entry-phone::before { display:none; }
#sidebarLocationEntry div .entry-actions a {background: var(--color-primary); border-radius:999px; color: var(--color-dark); font-size: 14px; line-height: 1; padding: 9px 20px;  cursor: pointer; display: inline-block; font-weight: 800; text-align: center; text-transform: uppercase; transition: none;  transition: opacity 0.3s ease; border: 3px solid transparent;  }
#sidebarLocationEntry b.gmap_v3_portal_services_open, #sidebarLocationEntry b.gmap_v3_portal_services_closed { background: #fff; color: var(--color-dark); padding: 3px 8px; margin: 10px 0; font-size: 16px; display: inline-block; border: 1px solid #B59670; border-radius: 5px; }

span#gmap_distance { display:none; }

.location-services { display:flex; margin:0 -2px; width:auto; }
.service-dlv, .service-tko, .service-open, .service-closed, .gmap_v3_portal_services_open, .gmap_v3_portal_services_closed, #map .gm-style-iw .gmap_v3_portal_services_tko, #map .gm-style-iw .gmap_v3_portal_services_dlv { align-items:center; border:1px solid #DDD; border-radius:999px; display:flex; font-size:14px; font-weight:600; margin:5px 2px; padding:3px 8px; }
.location-services span.material-symbols-rounded { font-size:16px; position: relative; top: -1px; }
.gmap_v3_portal_services_open, .gmap_v3_portal_services_closed { display:inline !important; font-size:14px !important; font-weight:400; padding:5px 8px; }
.gmap_v3_portal_services_open::before, .gmap_v3_portal_services_closed::before { content:"check_circle"; font-family:'Material Symbols Rounded'; font-weight:400; margin-right: 6px; position: relative; top: 3px; }
.gmap_v3_portal_services_closed::before  { content:"highlight_off"; }
.gmap_v3_portal_services_open span { font-weight:600; }

.service-open, .gmap_v3_portal_services_open { background:#d3e9c8; border-color:#a4ba99; color:#556B4A !important; }
.service-closed, .gmap_v3_portal_services_closed { background:#ffe9e9; border-color:#ff9e9e; color:#a30000 !important; }
.service-dlv, #map .gm-style-iw .gmap_v3_portal_services_dlv { background-color:#FFEACF; border-color:#FED99E; color:#654305; }
.service-tko, #map .gm-style-iw .gmap_v3_portal_services_tko { background-color:#cfe2ff; border-color:#9ec5fe; color:#052c65; }

#sidebar_no_store { align-items:center; background:#f8d7da; border-top:1px solid #f5c6cb; border-bottom:1px solid #f5c6cb; color:#721c24; display:flex; font-size:16px; font-weight:700; margin:25px; padding:20px; position:relative; width:auto; }
#sidebar_no_store::before { content:"error_outline"; font-family:'Material Symbols Rounded'; font-size:24px; margin-right:25px; }

/* map */
#portal-map, #map { height:100%; width:100%; height: 80vh; border-radius: 25px; min-height: 750px;}
#map .material-icons { color: #6aa442; background: #fff !important;  padding: 7px; border-radius: 3px !important; }

.gm-style { font:normal 15px/1.5 "circe", sans-serif !important; }

#map .gm-style .gm-style-iw-d { max-width:260px !important; }
#map .gm-style-iw { border-radius:25px; color:#FFF; font-family:'circe',sans-serif; font-size: 15px; overflow: hidden; padding:0 30px 30px !important; }
#map .gm-style-iw h3 { font-size:21px; font-weight:700; display:block; margin:0 0 10px; }
#map .gm-style-iw b { color:#000000; font-weight: 700; }
#map .gm-style-iw b:first-child { display:inline-block; font-size:22px; }
#map .gm-style-iw p { color:#000000; font-size: 14px; text-transform:capitalize !important; width:auto; }
#map .gm-style-iw a { border:none; display:inline-block; margin:15px 0 0; }
#map .gm-style-iw span a { color:#000000; display:block; margin:10px 0 0; }
#map .gm-style-iw span a:hover { text-decoration:underline; }
#map .gm-style-iw button { top:0px !important; right:-30px !important; }

#map .gm-style-iw a:focus { outline:none; }

#map .gm-style-iw .gmap_v3_portal_services_dlv:before, #map .gm-style-iw .gmap_v3_portal_services_tko:before { display:inline-block; font-family:"Material Symbols Rounded"; font-size:16px; font-weight:400; }

#map .gm-style-iw .gmap_v3_portal_services_dlv { display:inline-block !important; height:auto; margin:0 5px 10px 0; padding:5px 8px 5px 26px; position:relative; width:auto;}
#map .gm-style-iw .gmap_v3_portal_services_dlv:before { content:"time_to_leave"; position:absolute; top:50%; left:8px; text-align:center; transform:translateY(-50%); text-rendering:optimizeLegibility; }

#map .gm-style-iw .gmap_v3_portal_services_tko { display:inline-block !important; height:auto; padding:5px 8px 5px 26px; margin:0 0 10px; position:relative; width:auto; }
#map .gm-style-iw .gmap_v3_portal_services_tko:before { content:"shopping_bag"; position:absolute; top:50%; left:8px; text-align:center; transform:translateY(-50%); text-rendering:optimizeLegibility; }
#map .gm-style-iw .window-content span { color:#000000; display:block; }
#map .gm-style-iw .window-content .btn { display:block; margin-top:1rem; }

.loc-info-window { color:#575757; font-size:14px; display:flex; flex-direction:column; }

@media (max-width:768px){	
	#portal { flex-direction:column; height:auto; padding: 20px; }
	#portal-search { max-width:100%; margin-bottom: 0;}
	
	#portal-search-form td { display:block; width: 100% !important }
	
	#adcti_it { max-width:100% !important; position:relative; } /* address */
	#adz_it { max-width:100% !important; } /* postal code */

	#sidebar { width: 100%; margin-right: 0; margin-top: 30px; padding-right: 0;}
  #sidebar h4 { display: flex; justify-content: space-between;}
  #view-map { font-size: 15px; display: block; }
  #view-map span { margin-right: 5px; vertical-align: bottom;}
  #map-achor { padding:0 }
	
	#map { height:75vh; margin-top: 30px; }
	#map .material-icons { 
	top: -9px;
	left: unset !important;
	right: -9px;
	bottom: unset !important;
	background-color: #fff !important;
	padding: 7px;
	border-radius: 0 !important;
	box-shadow: 0 0 5px rgba(0,0,0,.15); }

	#portal-search-form td.prov { margin:0 2px; }
	.no-results #map { display: none;}

	#portal h3 { font-size: 24px;}


	#sidebar-search { flex-direction: column;}
	 .location-tabs .tab {min-width: 150px;}
  .area-tabs { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
  .area-tabs .tab { flex:none; width:100%; text-align: center; }
}

@media (max-width:350px){	
  #sidebar h4 { flex-direction: column; justify-content: center;}
  #view-map { margin-top: 5px}
}

@media (min-width:1200px){	
	body { padding-top: 177px;}
	.container { width: auto; }
	.location-tabs .tab { width: 230px;}
}

@media all and (-ms-high-contrast:none){
	#portal-search, #sidebar { max-width:360px; width:360px; }
	*::-ms-backdrop, #portal-search { max-width:360px; width:360px; }
	*::-ms-backdrop, #sidebar { max-width:360px; width:360px; }
	
	#portal-map, #map { width:calc(100% - 360px); }
	*::-ms-backdrop, #portal-map { width:calc(100% - 360px); }
	*::-ms-backdrop, #map { width:calc(100% - 360px); }
	
	#portal-search-form form { margin-top:1rem; }

}