
/* Colors
Tops Red: #d31145
Tops Red Hover (darker): #980d32
*/


/**
 start: Boostrap primary-brand color overrides 
 -------------------------------------------------
 Note: if you replace all occurances of the colors 
 found in the `a` tag and `a:hover` then you will 
 have replaced all the colors nessary to rebrand a 
 site.
 *************************************************/

a {
  color: #d31145;
}
a:hover, a:active, a:focus {
  color: #980d32;
}

.nav a,
.btn {
  text-decoration: none;
}

.text-primary {
  color: #d31145;
}
.bg-primary {
  background-color: #d31145;
}
.btn-primary {
  background-color: #d31145;
  border-color: #d31145;
}

.btn-primary.active,
.btn-primary.focus,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.open>.dropdown-toggle.btn-primary{
  background-color: #980d32;
  color: #fff;
  border-color: #980d32;
}

.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus {
  background-color: #d31145;
}
.btn-primary .badge {
  color: #d31145;
}
.btn-link {
  color: #d31145;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  background-color: #d31145;
}
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
  border-color: #d31145;
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  background-color: #d31145;
}
.pagination > li > a,
.pagination > li > span {
  color: #d31145;
}
.pagination > li > a:hover {
  color: #d31145;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: #d31145;
  border-color: #d31145;
}
.label-primary {
  background-color: #d31145;
}
.list-group-item.active > .badge,
.nav-pills > .active > a > .badge {
  color: #d31145;
}
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: #d31145;
}
.progress-bar {
  background-color: #d31145;
}
.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
  background-color: #d31145;
  border-color: #d31145;
}
.panel-primary {
  border-color: #d31145;
}
.panel-primary > .panel-heading {
  background-color: #d31145;
  border-color: #d31145;
}
.panel-primary > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #d31145;
}
.panel-primary > .panel-heading .badge {
  color: #d31145;
}
.panel-primary > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #d31145;
}
/**
 end: Boostrap primary-brand color overrides 
 *********************************************/


/* base */
/*
body {
	float: none;
	margin: 0 auto;
	max-width: 980px;
	padding-top:0!important;
	background: url('https://tops-secure-graphics.grocerywebsite.com/G_Home/TOPS1900K_Christmas_HomepageBackground_FINAL.jpg') no-repeat;
	background-repeat: repeat-y;
	background-size: 100%;
}
*/
div.site-layout-wrapper {
    background-color: white;
    padding: 5px 0px 5px 0px;
}
  
 

body {
	float: none;
	margin: 0 auto;
	padding-top:0!important;
	max-width: 980px;
	background: url('https://tops-secure-graphics.grocerywebsite.com/G_Backgrounds/tops_hex_back.png');
	background-position: 0 110px;
}

/*
body {
	float: none;
	margin: 0 auto;
	max-width: 980px;
	padding-top:0!important;
	background: url('https://tops-secure-graphics.grocerywebsite.com/G_Backgrounds/TOPS1600K_Thanksgiving_HomepageBackground2.jpg') no-repeat;
	background-repeat: repeat-y;
	background-size: 100%; 
}

.base-body-centered {
	float: none;
	margin: 0 auto;
	padding-top:0!important;
	max-width: 980px;
	background: url('https://tops-secure-graphics.grocerywebsite.com/G_Backgrounds/TOPS1900K_Thanksgiving_HomepageBackground1.jpg');
	background-position: 0 110px;
}

 
.base-body-centered {
	float: none;
	margin: 0 auto;
	max-width: 980px;
	padding-top:0!important;
	background: url('https://tops-secure-graphics.grocerywebsite.com/G_Backgrounds/TOPS1600K_Thanksgiving_HomepageBackground2.jpg') no-repeat;
	background-repeat: repeat-y;
	background-size: 100%;
}
*/
.Template {
	background-color: white;
	padding: 5px 0px 5px 0px
}
@media (min-width: 1200px) {
	.container {
	  width: 970px;
	}
}

/* layout - sidebar */
@media (min-width: 768px) { 
	#bottom-pricelock{
		margin-left: 0px;
		margin-right: 0px;
	}
}

/* layout - header */

.header-main-row{
	margin-left: 5px;
	margin-right: 5px;
}

/* layout - navbar */

.nav-container {
	background-color: #d31145;
	background: #d31145;
}
.navbar-nav>li>a, .navbar-nav>li>a:hover, .navbar-nav>li>a:focus {
	color: #fff;
	background-color: #d31145;
	background: #d31145;
}
.navbar-nav>.open>a:hover, .navbar-nav>.open>a:focus {
	background-color: #d31145;
	background: #d31145;
}

@media (min-width: 767px) { 
	#navbar-content{
		margin-left: 0px;
		margin-right: 0px;
	}
	.navbar-column {
		padding-left: 0px;
		padding-right: 0px;
		z-index: 501;
		position: relative;
	}	
	#navbar-corner-left {
		background-image: url('https://tops-secure-graphics.grocerywebsite.com/G_Home/nav-corner-left_37x16.png') no-repeat;
		display: block;
		position: relative;
		left: -16px ;
		width: 16px;
		top: 10px;
		z-index: 502;
	}

	#navbar-corner-right {
		background-image: url('https://tops-secure-graphics.grocerywebsite.com/G_Home/nav-corner-right_37x16.png') no-repeat;
		display: block;
		position: relative;
		left: 980px ;
		top: -30px;
		height: 37px;
		width: 16px;
		z-index: 502;
	}
}

@media (max-width: 767px) { 
	#NavBar{
		margin-bottom: 2px;
		margin-top: -5px;
	}
}
@media (min-width: 840px) { 
	#NavBar{
		margin-top: 10px;
		margin-bottom: -7px;
		height: 37px;
	}
}
@media (min-width: 992px) { 
	#NavBar{
		margin-top: 0px;
		margin-bottom: 28px;
		height: 17px;
	}
	#navbar-content{
		margin-top: -27px;
	}
}

/* layout - content */

.divider{
	margin: 0px;
	border-top: 1px solid #d31145;
}

#main-content{
	margin-left: 0px;
	margin-right: 0px;
}

/* layout - footer */

#footer-wrapper{
	clear:both;
	margin-top: 20px;
}
#full-footer{
	margin-left: 0px;
	margin-right: 0px;
}
.footer-divider{
	margin-bottom: 10px;
	margin-top: 0px;
	margin-right: 0px;
	margin-left: 0px;
	border-top: 1px solid #d31145;
}
.Footer li {
	line-height: 2em;
}

.site-footer li {
	line-height: 2em;
}

.ListTitle{
	font-weight: bold;
}
.StandardList>li>a{
	color: #707070;
}
.MainList>li>a{
	font-weight: bold;
	color: #d31145;
	font-size: 1.2em;
}
.footer-text{

}
.footer-text-link{
	color: #d31145;
}
#bottom-info{
	margin-left: 0px;
	margin-right: 0px;
}

/* mobile */

.list-group-item>a{
	color: black;
}

/* module - nav pills */

/* ========================= header nav */

.top-nav {
  margin: -10px 0 5px -15px;
}
.nav-pills > .top-nav-item > a{
	color: #cc3333;
}
.nav-pills > .top-nav-item-social > a{
	color: #cc3333;
	padding: 0px 0px 0px 0px;
	font-size: 20px;
	margin-top: 10px;
}
.bonus-plus {
	font-size: 16px;
}
.header-search-group {
  width: 70%;
}
.form-inline .input-group {
  width: 100%;
}
.form-inline .input-group>.form-control {
  width: 95%;
  border-radius: 10px;
}

form.form-inline.header-search {
	min-width: 250px;
	margin-left: 3px;
	
}

input#srch.form-control.header-search-field {width: 100%}

.input-group-btn:last-child>.btn {
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	height: 30px;
	margin-left: 20px;
	line-height: 1.1;
	background-color: #d31145;
	background: #d31145;
	color: #fff;
	border-color: #d31145;
	display: inline-block;
	padding: 6px 12px;
}

.header-welcome-message {
	float: right;
}
.header-welcome-message>a {
	color: #d31145;
}	
.mobile-logo{
	margin-top: 5px;
	margin-left: 10px;
	width: auto;
	float: left;
}



/* ========================= primary nav bar */

.navbar{
	margin-bottom: 0px;
	min-height: 30px;
	border: none;
	border-radius: 0;
}
.navbar-inverse {
  background-color: #d31145;
  background: #d31145; 
  border-color: #e7e7e7;
}
.navbar-inverse .navbar-toggle .icon-bar {

}
.navbar-inverse .navbar-toggle {
  background-color: #d31145;
  background: #d31145; 
  border-color: #ddd;
}
.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
  background-color: #d31145;
  background: #d31145;
}
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
  border-color: #e7e7e7;
}
.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:focus, .navbar-inverse .navbar-nav>.open>a:hover {
  color: #fff;
  background-color: #d31145;
  background: #d31145;
}
.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover {
  color: #fff;
  background-color: #d31145;
  background: #d31145;
}
.navbar-inverse .navbar-nav>li>a {
  color: #fff;
  font-weight: bold;

}
.navbar-inverse .navbar-right>li>a {
	color: #fff;
}

/* Large desktop */
@media (min-width: 1170px) { 

}
/* Large desktop and up */
@media (min-width: 992px) { 
	.navbar-right {
		margin-right: 0px;
	}	
}
 
/* Portrait tablet to landscape and desktop */
@media (min-width: 880px) { 
  .navbar-right {
  	border-left: 2px solid white;
  }
}
@media (min-width: 768px) { 
	.nav-pills > .top-nav-item-social > a {
		padding: 0px 7px 0px 7px;
	}

	.nav>li>a {
	  padding-left: 8px;
	  padding-right: 8px;	  
	}
	.navbar-nav>li>a {
	  padding-top: 5px;
	  padding-bottom: 5px;
	}
}
 
/* Landscape phone to portrait tablet */
@media (max-width: 767px) { 
	.navbar-inverse .navbar-nav .open .dropdown-menu>li>a {
	  color: #EAEAEA;
	  background-color: #d31145;
	  background: #d31145;
	}
}
 
/* Landscape phones and down */
@media (max-width: 480px) { 

}


/* module - promoblocks */

.promo-block{

}

.promo-block-img {
	margin-top: 10px;
	border-radius: 10px;
}
.promo-block-title-bar{
	background-color: #d31145;
	margin-top: 10px;
	max-width: 220px;

}
.promo-block-title{
	font-family: arial, Helvetica, sans-serif;
	font-size: 14pt;
	color: white;
}
.promo-block-description{
	font-family: arial, Helvetica, sans-serif;
	font-size: 14pt;
	margin-bottom: 0px;
}
.promo-block-link{
	color: #d31145;
}
.promo-block-sidebar {
	margin-top: 10px;
}
#below-fold-content {
	margin-left: 0px;
	margin-right: 0px;
}
.promo-block-below-fold {

}
.promo-block-below-fold-img{
	margin-top: 10px;
	border-radius: 10px;
}
@media (max-width: 767px) { 
	.promo-block-below-fold-img{
		max-width: 290px;
	}
}


/* module - glider */

#primary-glider{
  margin-top: 0px;
}
.fader {
  padding-left: 15px;
  padding-right: 15px;
}
div.imageSub { position: relative; }
div.imageSub img { z-index: 1; }
div.imageSub div {


  text-align: center;
  overflow: hidden;
}
div.imageSub div.overlay {
  position: absolute;
  top: 0;
  z-index: 2;
  background-color: #fff;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
  filter: alpha(opacity=90);
  opacity: 0.9;

}
div.overlay {
  width: 220px;
  height: 260px;
  margin-left: 20px;
  margin-top: 25px;
}
div.imageSub div.label {
  z-index: 3;
  color: black;
}
.glider-overlay-title {
  color: #d31145;
  margin-top: 60px;
}
.glider-overlay-link{
  color: #d31145;
}

.glider-underlay-title {
  color: #d31145;
  margin-top: 0px;
  margin-bottom: 5px;
}
.glider-underlay-text {
  color: black;
}
.carousel-indicators li {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 1px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #000 \9;
  background-color: rgba(0,0,0,0);
  border: 1px solid #000;
  border-radius: 10px;
}
.carousel-indicators .active {
  width: 12px;
  height: 12px;
  margin: 0;
  background-color: #000;
}

/* css to make glider fade instead of glide - comment out to go back to gliding */
.carousel-fade .carousel-inner .item {
  opacity: 0;
  -webkit-transition-property: opacity;
          transition-property: opacity;
}
.carousel-fade .carousel-inner .active {
  opacity: 1;
}
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.carousel-fade .carousel-control {
  z-index: 2;
}
/* end css to make glider fade instead of glide - comment out to go back to gliding */


@media (min-width: 768px) { 
  #glider-content{
    clear: both;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: -25px;
  }
  #primary-glider{
    margin-top: 18px;
  }
  .fader {
    padding-left: 0px;
    padding-right: 0px;
  }
}
@media (min-width: 992px) { 
  #primary-glider{
    margin-top: 0px;
  }
}

@media (max-width: 767px) { 

  div.glider-wrapper {
    width: 100%;
    overflow: hidden;
    max-width: 640px;
    max-height: 330px;
    margin: auto;
  }
  img.glider-image {
    /* margin-left: -33%; */
    /* max-width: 133% !important; */
    /* width: 133%; */
  }
  #underlay-content {
    height: 80px;
  }
}


/* module - carousel */

#carousel {
	margin-top: 10px;

}
.slick-slider {
  margin-bottom: 10px;
}

.slick-slide {
  padding-left: 15px;
  padding-right: 15px;
}

.slick-slide>a>img, .slick-slide>img {
	border-radius: 10px;
}

.slick_glider>.slick-prev, .slick_glider>.slick-next {
	height: 40px;
	width: 40px;
}
.slick_glider>.slick-prev {
	left: -11px;
}
.slick_glider>.slick-next {
	right: -11px;
}
.slick_glider>.slick-prev:before, .slick_glider>.slick-next:before {
	font-family: "slick";
	font-size: 40px;
	line-height: 1;
	color: #d31145;
	opacity: 0.95;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
@media (max-width: 767px) { 
	.slick-slide>a>img, .slick-slide>img {
		max-width: 290px;
	}
	.slick_glider>.slick-prev {
		left: 0px;
	}
	.slick_glider>.slick-next {
		right: 0px;
	}
	.slick-slider {
		margin-top: 42px;
	}
}



.circular-items .grocery-coupon .panel-default {
	margin-top: -1px;
	border-style: dashed;
	border-color: #008000;
	border-width: 2px;
}




/* Bootstrap fix for the pagination buttons on weekly ad nav */
.circular-nav-pages-right .pagination>li>a, .circular-nav-pages-left .pagination>li>a {
     padding: 3px 7px;
}

.circular-nav .pagination>li>a {
     padding: 3px 7px;
}

/* Bootstrap fix for the weekly ad nav styling */
.circular-dates {
    font-size: 0.8em;
    font-weight: bold;
/*    color: #049604;*/
}

.circular-item-title {
	font-weight: bold;
	font-size: 16px;
	margin: 6px 0px;
}

.tab-pane.circular-nav-content.circular-nav-content-pages, .tab-pane.circular-nav-content.circular-nav-content-departments, .tab-pane.circular-nav-content.circular-nav-content-brands, .tab-pane.circular-nav-content.circular-nav-content-search {
	background-color: #eee;
}
	
.circular-nav .nav-tabs>li.active>a, .circular-nav .nav-tabs>li.active>a:focus, .circular-nav .nav-tabs>li.active>a:hover {
    color: #555;
    background-color: #eee;
    font-weight: bold;
}

.circular-item p.Pricing {
    font-size: 30px;
    font-weight: bold;
}

.circular-item span.PricePrefix, span.PriceChange {
    font-size: 16px;
    vertical-align: 12px;
}

.circular-item div.ItemLeft p.Recipe, div.ItemRight p.Recipe {
    font-size: 11px;
}

.circular-item-recipe, .circular-item-recipe-label {
    font-size: 12px;
}

.circular-item-heading {
    color: #333;
    font-size: 13px;
}

.circular-item-description {
    font-size: 13px;
}

.circular-item-card {
    vertical-align: text-top;
    padding-left: 5px;
    padding-top: 4px;
}

.circular-item-price-dollars, .circular-item-price-cents {
    font-size: 40px;
    line-height: 40px;
    font-weight: bold;
}

.circular-item-price-prefix.circular-item-price-text {
    font-size: 20px;
    vertical-align: text-top;
    font-weight: bold;
}

.circular-item-price-dollar-sign.circular-item-price-text{
    font-size: 30px;
    vertical-align: text-top;
    padding-right: 1px;
}

@media (min-width: 1200px) { 
	/* forcing the grid to keep the shopping list narrow at large sizes */
/*
	.circular-items {
		width: 75%;
	}
	.circular-aside {
		width: 25%;
	}
*/
}

span.circular-title {
	font-size: 12px;
	font-weight: bold;
	vertical-align: bottom;
}

.circular-info {
    margin-top: 1px;
    line-height: 14px;
	margin-bottom: 1px;
    padding-top: 3px;
}

h1.circular-name { display: none; }

.circular-adsc.col-sm-6 {
	padding: 0px;
    margin-right: -15px;
    margin-left: 15px;
    padding-top: 5px;
}

#click_to_card_button {

}

#click_to_card_button .btn {
	width: 100%;
	margin-top: -10px;
	font-weight: bold;
}

.circular-nav-pages-left .pagination, .circular-nav-pages-right .pagination {
    margin: 5px 0;
}

.circular-nav .pagination {
    margin: 5px 0;
}

.circular-content-row .circular-heading {
    margin-bottom: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
}

@media(min-width:992px){
.page-circular-by-page {margin-top: -28px;}
.circular-info {min-height: 50px;}
}
form.standardform-bs {
	padding: 5px;
	margin: 10px;
	background: #eee;
	padding: 10px;
	border-radius: 5px;
}

.FormSectionHeading
{
	border-top: none;
	font-weight: bolder;
	font-size: 14px;
	color: #339;
	background: #d31145;
	font-family: Helvetica, Arial, sans-serif;
	color: white;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	padding: 5px !important;
	text-indent: 5px;	
}

.non-bs-sr-only{
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	border: 0;
}

@media (min-width: 767px) { 
  .carousel-control {
      display: block;
      height: 40px;
      width: 40px;
      position: absolute;
      line-height: 0;
      font-size: 0;
      cursor: pointer;
      background: #d31145;
      color: transparent;
      top: 50%;
      margin-top: -10px;
      padding: 0;
      border: none;
      outline: none;
      border-radius: 20px;
      text-align: left;
      text-decoration: none;
      font-size: 40px;
      line-height: 1;
      color: #d31145;
      opacity: 0.95;
      -webkit-font-smoothing: antialiased;
  }

  .glyphicon-chevron-left {
      color: white;
      opacity: 0.75;
      -webkit-font-smoothing: antialiased;
  }
  .glyphicon-chevron-right {
      color: white;
      opacity: 0.75;
      -webkit-font-smoothing: antialiased;
  }
}

#view_printable_ad.button {border-color: #d31145; background-color: #d31145; font-size: 1.000em}
#view_printable_ad.button:hover, #view_printable_ad.focus{background-color: #980d32; border-color: #980d32; color: #fff; text-decoration: none;}

/* Jeff fixing right edge padding on mobile */
div.navbar-column {padding-right: 0px;}
#navbar-content.row {margin-right: 0px}
@media (max-width: 767px) { 
.circular-adsc.col-sm-6 {margin-left: 0px;}
}

/* fix to keep navbar on one line row one tablet and medium devices*/
@media (min-width: 767px) and (max-width: 924px) {
.navbar-inverse .navbar-nav>li>a {
    color: #fff;
    font-weight: bold;
    font-size: 13px;
    padding-left: 5px;
    padding-right: 6px;
	}

.container-fluid>.navbar-collapse, .container-fluid>.navbar-header, .container>.navbar-collapse, .container>.navbar-header {
    margin-right: 0px;
    margin-left: 0px;
    padding-left: 0px;
    padding-right: 0px;
	}

.nav-container {
    background-color: #d31145;
    background: #d31145;
    padding-left: 0px;
    padding-right: 15px;
	}

}