body {
  padding-top: 20px;
  padding-bottom: 60px;
  overflow-y: scroll;
}

/* Custom container */
.container {
  margin: 0 auto;
  /*margin:0 162px;*/
  max-width: 1170px;
}
.container > hr {
  margin: 60px 0;
}

/* Main marketing message and sign up button */
.jumbotron {
  margin: 80px 0;
  text-align: center;
}
.jumbotron h1 {
  font-size: 100px;
  line-height: 1;
}
.jumbotron .lead {
  font-size: 24px;
  line-height: 1.25;
}
.jumbotron .btn {
  font-size: 21px;
  padding: 14px 24px;
}

/* Supporting marketing content */
.marketing {
  margin: 60px 0;
}
.marketing p + h4 {
  margin-top: 28px;
}


/* Customize the navbar links to be fill the entire space of the .navbar */
.navbar .navbar-inner {
  padding: 0;
} 
.navbar .nav {
  margin: 0;
  display: table;
  width: 100%;
}
.navbar .nav > li {
  display: table-cell;
  /* width: 1%; */
  float: none;
} 
.navbar .nav > li > a {
  font-weight: bold;
  font-size: 14px;  
  text-align: center;
  border-left: 1px solid rgba(255,255,255,.75);
  border-right: 1px solid rgba(0,0,0,.1);
  padding-top: 10px;
  padding-right: 3px;
  padding-bottom: 10px;
  padding-left: 3px;
}
.navbar .nav > li:first-child > a {
  border-left: 0;
  border-radius: 3px 0 0 3px;
}
.navbar .nav > li:last-child > a {
  border-right: 0;
  border-radius: 0 3px 3px 0;
}


.important {
  color: red;
  font-weight: bold;
}


.left .span3 {
  margin-left: 0px;
}

.right .span3 {
  float: right;
}

.news {
  padding: 0px;
  margin-bottom: 4px;
  margin-left: 0px;
  margin-right: 4px;
  margin-top: 4px;
}

.news form {
  margin: 4px;
}

/*Side bar - accordian menu*/
.sidebar.span2 {
  float: left;
  margin-left: 0px;
  padding-right: 0px;
  /*color: #787878;*/
}

.product-heading{
  min-height: 40px;
  border-top: 1px solid #49afcd; /* inner stroke */
  border-bottom: 1px solid #E0E0E0; /* inner stroke */
  background-color: #49afcd; /* layer fill content */
  list-style-type:none;
  border-radius: 6px;
  text-align: left;
}

.product-heading p{
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 8px;
  margin-left: 8px;
  color: #777777; /* text color */
  text-shadow: none;
  /*text-shadow: 0;*/
  text-decoration:none;
  font-weight:bold;
  font-size: 14px;  
}

#leftMenu ul {
  list-style-type: none;
  margin: 0px;
}

#leftMenu li {
  min-height: 24px;
  border-top: 1px solid #717171; /* inner stroke */
  /*border-bottom: 1px solid #5A5A5A; /* inner stroke */
  background-color: #49afcd; /* layer fill content */
  list-style-type:none;
}

#leftMenu.accordion {
  margin-top:3px;
  margin-bottom:3px;
}

#leftMenu .accordion-group {
  margin-bottom: 0px;
  border: 1px;
  border-radius: 6px;
}    

#leftMenu .accordion-heading {
  /*height: 34px;*/
  min-height: 24px;
  border-top: 1px solid #717171; /* inner stroke */
  /*border-bottom: 1px solid #5A5A5A; /* inner stroke */
  background-color: #49afcd; /* layer fill content */
  border-radius: 6px;
  list-style-type:none;
}  

#leftMenu .accordion-heading  a{  
  padding-top: 2px;
  padding-bottom:2px;
  color: #ffffff; /* text color */
  text-shadow: 0;
  text-decoration:none;
  /*font-weight:bold;  */
  font-size: 12px;  
}

#leftMenu .accordion-heading .caret{
  vertical-align: middle;
  border-left: 8px solid transparent;
  border-top: 8px solid #ffffff; 
  border-right:8px solid transparent;
}

#leftMenu .accordion-heading:hover b {
  border-top: 8px solid #333333; 
}


#leftMenu .accordion-heading  a:hover{  
  color: #333333;
}

#leftMenu .accordion-heading .active {
  /*width: 182px;*/
  min-height: 24px;
  border: 1px solid #5b5b5b; /* inner stroke */
  background-color: #49afcd; /* layer fill content */
  border-radius: 6px;
}

#leftMenu .accordion-inner {
  margin-left: 8px;
  padding-top: 0px;
  padding-right: 0px;
  border-top: 0px;
  /*border-radius: 6px;*/
}

#leftMenu .accordion-inner li{
  border-top: 1px solid #717171;
  border-radius: 6px;
}

#leftMenu .accordion-inner a{
  display: block;
  padding-top: 2px;
  margin-left: 8px;
  margin-right: 8px;
  color: #ffffff; /* text color */
  text-shadow: 0;
  text-decoration:none;
  /*font-weight:bold;*/
  font-size: 12px;  
}

#leftMenu .accordion-inner a:hover{
  color: #333333;
}

/* Events */
#leftMenuEvents.accordion {
  margin-top:3px;
  margin-bottom:3px;
}

#leftMenuEvents ul {
  list-style-type: none;
  margin: 0px;
}

#leftMenuEvents li {
  min-height: 24px;
  border-top: 1px solid #917171; /* inner stroke */
  /*border-bottom: 1px solid #5A5A5A; /* inner stroke */
  background-color: #2c8bbd; /* layer fill content */
  list-style-type:none;
}

#leftMenuEvents .accordion-group {
  margin-bottom: 0px;
  border: 1px;
  border-radius: 6px;
}    

#leftMenuEvents .accordion-heading {
  /*height: 34px;*/
  min-height: 24px;
  border-top: 1px solid #717171; /* inner stroke */
  /*border-bottom: 1px solid #5A5A5A; /* inner stroke */
  background-color: #2c8bbd; /* layer fill content */
  border-radius: 6px;
  list-style-type:none;
}  

#leftMenuEvents .accordion-heading  a{  
  padding-top: 2px;
  padding-bottom:2px;
  color: #ffffff; /* text color */
  text-shadow: 0;
  text-decoration:none;
  /*font-weight:bold;  */
  font-size: 12px;  
}

#leftMenuEvents .accordion-heading .caret{
  vertical-align: middle;
  border-left: 8px solid transparent;
  border-top: 8px solid #ffffff; 
  border-right:8px solid transparent;
}

#leftMenuEvents .accordion-heading:hover b {
  border-top: 8px solid #333333; 
}

#leftMenuEvents .accordion-heading  a:hover{  
  color: #333333;
}

#leftMenuEvents .accordion-heading .active {
  /*width: 182px;*/
  min-height: 24px;
  border: 1px solid #5b5b5b; /* inner stroke */
  background-color: #49afcd; /* layer fill content */
  border-radius: 6px;
}

#leftMenuEvents .accordion-inner {
  margin-left: 8px;
  padding-top: 0px;
  padding-right: 0px;
  border-top: 0px;
  /*border-radius: 6px;*/
}

#leftMenuEvents .accordion-inner li{
  border-top: 1px solid #717171;
  border-radius: 6px;
}

#leftMenuEvents .accordion-inner a{
  display: block;
  padding-top: 2px;
  margin-left: 8px;
  margin-right: 8px;
  color: #ffffff; /* text color */
  text-shadow: 0;
  text-decoration:none;
  /*font-weight:bold;*/
  font-size: 12px;  
}

#leftMenuEvents .accordion-inner a:hover{
  color: #333333;
}

/* Collage */
#leftMenuCollage.accordion {
  margin-bottom:3px;
  margin-top:3px;
}

#leftMenuCollage ul {
  list-style-type: none;
  margin: 0px;
}

#leftMenuCollage li {
  min-height: 24px;
  border-top: 1px solid #917171; /* inner stroke */
  /*border-bottom: 1px solid #5A5A5A; /* inner stroke */
  background-color: #2c8bbd; /* layer fill content */
  list-style-type:none;
}

#leftMenuCollage .accordion-group {
  margin-bottom: 0px;
  border: 1px;
  border-radius: 6px;
}    

#leftMenuCollage .accordion-heading {
  /*height: 34px;*/
  min-height: 24px;
  border-top: 1px solid #717171; /* inner stroke */
  /*border-bottom: 1px solid #5A5A5A; /* inner stroke */
  background-color: #2c8bbd; /* layer fill content */
  border-radius: 6px;
  list-style-type:none;
}  

#leftMenuCollage .accordion-heading  a{  
  padding-top: 2px;
  padding-bottom:2px;
  color: #ffffff; /* text color */
  text-shadow: 0;
  text-decoration:none;
  /*font-weight:bold;  */
  font-size: 12px;  
}

#leftMenuCollage .accordion-heading .caret{
  vertical-align: middle;
  border-left: 8px solid transparent;
  border-top: 8px solid #ffffff; 
  border-right:8px solid transparent;
}

#leftMenuCollage .accordion-heading:hover b {
  border-top: 8px solid #333333; 
}


#leftMenuCollage .accordion-heading  a:hover{  
  color: #333333;
}

#leftMenuCollage .accordion-heading .active {
  /*width: 182px;*/
  min-height: 24px;
  border: 1px solid #5b5b5b; /* inner stroke */
  background-color: #49afcd; /* layer fill content */
  border-radius: 6px;
}

#leftMenuCollage .accordion-inner {
  margin-left: 8px;
  padding-top: 0px;
  padding-right: 0px;
  border-top: 0px;
  /*border-radius: 6px;*/
}

#leftMenuCollage .accordion-inner li{
  border-top: 1px solid #717171;
  border-radius: 6px;
}

#leftMenuCollage .accordion-inner a{
  display: block;
  padding-top: 2px;
  margin-left: 8px;
  margin-right: 8px;
  color: #ffffff; /* text color */
  text-shadow: 0;
  text-decoration:none;
  /*font-weight:bold;*/
  font-size: 12px;  
}

#leftMenuCollage .accordion-inner a:hover{
  color: #333333;
}

/* Yarn */
#leftMenuYarn.accordion {
  margin-bottom:3px;
}

#leftMenuYarn ul {
  list-style-type: none;
  margin: 0px;
}

#leftMenuYarn li {
  min-height: 24px;
  border-top: 1px solid #917171; /* inner stroke */
  /*border-bottom: 1px solid #5A5A5A; /* inner stroke */
  background-color: #6ec3ee; /* layer fill content */
  list-style-type:none;
}

#leftMenuYarn .accordion-group {
  margin-bottom: 0px;
  border: 1px;
  border-radius: 6px;
}    

#leftMenuYarn .accordion-heading {
  /*height: 34px;*/
  min-height: 24px;
  border-top: 1px solid #717171; /* inner stroke */
  /*border-bottom: 1px solid #5A5A5A; /* inner stroke */
  background-color: #6ec3ee; /* layer fill content */
  border-radius: 6px;
  list-style-type:none;
}  

#leftMenuYarn .accordion-heading  a{  
  padding-top: 2px;
  padding-bottom:2px;
  color: #ffffff; /* text color */
  text-shadow: 0;
  text-decoration:none;
  /*font-weight:bold;  */
  font-size: 12px;  
}

#leftMenuYarn .accordion-heading .caret{
  vertical-align: middle;
  border-left: 8px solid transparent;
  border-top: 8px solid #ffffff; 
  border-right:8px solid transparent;
}

#leftMenuYarn .accordion-heading:hover b {
  border-top: 8px solid #333333; 
}


#leftMenuYarn .accordion-heading  a:hover{  
  color: #333333;
}

#leftMenuYarn .accordion-heading .active {
  /*width: 182px;*/
  min-height: 24px;
  border: 1px solid #5b5b5b; /* inner stroke */
  background-color: #49afcd; /* layer fill content */
  border-radius: 6px;
}

#leftMenuYarn .accordion-inner {
  margin-left: 8px;
  padding-top: 0px;
  padding-right: 0px;
  border-top: 0px;
  /*border-radius: 6px;*/
}

#leftMenuYarn .accordion-inner li{
  border-top: 1px solid #717171;
  border-radius: 6px;
}

#leftMenuYarn .accordion-inner a{
  display: block;
  padding-top: 2px;
  margin-left: 8px;
  margin-right: 8px;
  color: #ffffff; /* text color */
  text-shadow: 0;
  text-decoration:none;
  /*font-weight:bold;*/
  font-size: 12px;  
}

#leftMenuYarn .accordion-inner a:hover{
  color: #333333;
}

.va-designs.well.span12 {
  border: 1px solid #5b5b5b; /* inner stroke */
  background-color: #ffffff; /* layer fill content */
  border-radius: 6px; 
  text-align: center;
  min-height: 115px;
}

.va-designs {
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('/images/va-designs-logo-1.png');
}

.whats-new.well.span12 {
  border: 1px solid #5b5b5b; /* inner stroke */
  background-color: #49afcd; /* layer fill content */
  border-radius: 6px; 
  text-align: center;
  min-height: 67px;
}

.whats-new {
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('/images/whatsnew-white.png');
}

/*.whats-new:hover {
  background-image: url('/images/whatsnew-black.png');
}
*/
.voucher.well.span12 {
  border: 1px solid #5b5b5b; /* inner stroke */
  background-color: #ffffff; /* layer fill content */
  border-radius: 6px; 
  text-align: center;
  min-height: 116px;
}

.voucher {
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('/images/voucher_button_grey.png');
}

.voucher:hover {
  background-image: url('/images/voucher_button_black.png');
}

.onspecial.well.span12 {
  border: 1px solid #5b5b5b; /* inner stroke */
  background-color: #49afcd; /* layer fill content */
  border-radius: 6px; 
  text-align: center;
  min-height: 67px;
}

.onspecial {
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('/images/onspecialnow-white.png');
}

.onspecial:hover {
  background-image: url('/images/onspecialnow-black.png');
}

.events.well.span12 {
  border: 1px solid #5b5b5b; /* inner stroke */
  background-color: #49afcd; /* layer fill content */
  border-radius: 6px; 
  text-align: center;
  min-height: 340px;
}

.events {
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('/images/eventswhite.png');
}

/*.events:hover {
  background-image: url('/images/eventsblack.png');
}
*/
.carousel {
  border-radius: 6px 6px 6px 6px;
  overflow: hidden;
}

.carousel-inner img {
  width:170px;
  height:51px;
}

#myCarousel.carousel.slide {
  margin-bottom: 0px;
}

.container-fluid.clayout {
  padding-left: 0px;
  padding-right: 0px;
}

.span10.clayout {
  margin-left: 10px;
}

.span10.std-page {
  padding-left: 10px;
}

.shop3 {
  border-style: dashed;
  display: inline-block;
  vertical-align: top;
  width: 30%;
}

.form-search {
  margin-top: 3px;
}

.form-search .input-append .search-query {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.input-append .search-query {
  width: 150px;
  height: 28px;
  padding-top: 0px;
  padding-bottom: 0px;
  
}
.input-append .add-on {
  height: 28px;
  padding-top: 0px;
  padding-bottom: 0px;
}


.input-append .add-on:last-child, .input-append .btn:last-child, .input-append .btn-group:last-child > .dropdown-toggle {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.mydiv{
  /*border: 1px solid blue; */
  height:400px; 
  width:400px; 
  overflow:hidden;
}

.skinny h4 {
  margin-top: 0px;
  margin-bottom: 5px;
}  

.skinny p {
  margin-top: 0px;
  margin-bottom: 0px;
}

.supply-options {
  /*display: none;*/
  text-align: center;
}
.supply-options input {
  width: 20px;
  height: 20px;
  margin-top: 0px;
  margin-right: 2px;
}

.supply-options .item_fatQ_checked {
  display: none;
}

/*Patchwork and fabric*/
.pandf { 
  font-family: cursive;
  font-size: 14px;
  margin-top:5px;
  margin-bottom:0px;
  margin-left: 3px;
}

.span12.clayout-header {
  background-color: rgba(227, 227, 231, .8);
  display: inline-block;
  margin-left: 30px;
  border-radius: 6px;
}

.span6.cart-buttons {
  float: right;
  border-radius: 8px;
  height: 35px;
  margin-left: 0px"
}

.span12.background-image{
  background-image: url(/images/header1.jpg);
  height: 80px;
  margin-left: 0px;
  margin-bottom: 5px;
  border-radius: 6px;
}

@media (max-width: 480px) {
  .span12 .clayout-header {
    margin-left: 0px;
  }
  .span6.cart-buttons.mobile {
    line-height: 15px;
    display: block !important;
  }  
  .input-append.search {
    margin-top: 0px;
  }
  .input-append.search-query {
    width: 100%;
  }  
  .product-heading{
    margin-top: 0px;
  }
  .span12.background-image{
    height: 89px;
  }
  .navbar {
    margin-bottom: 3px;
  }  
  .navbar-inner.mobile {
    display: block !important;
  }
  .span12.search-mobile {
    display: block !important;
  }
  .sidebar.span12.sidebar-mobile { 
    display: block !important;
  }
  .span12.search-mobile form {
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 3px;
  }
  .product-big-picture {
    max-height: 250px;
    max-width: 250px;
  }
  .mydiv{
    height: auto; 
    width: auto; 
  }
  .popup.range-popup {
    border: none;
    display: inline-block;
    vertical-align: bottom;
    width: 45%;
    margin-left: 5px;
  }
}


@media not all and (max-width: 480px) {
  .navbar-inner.desktop {
    display: block !important;
  }
  .span6.cart-buttons.desktop {
    display: block !important;
  }
  .sidebar.span2.sidebar-desktop {
    display: block !important;
  }
  .page-anchor.generalcol h3 {
    margin-left: 70px;
  }
  .notes-generalcol p {
    margin-left: 70px;
  }
  .grid-row.generalcol {
    margin-left: 20px;
  }
  .product-big-picture {
    max-height: 400px;
  }
  .product-range .page-anchor h3 {
    margin-left: 50px;
  }
  .product-range .notes p {
    margin-left: 50px;
  }
  .popup.range-popup {
    border: none;
    display: inline-block;
    vertical-align: bottom;
    width: 25%;
    margin-left: 50px;
  }
}

.page-anchor a,
.page-anchor a:hover {
  pointer-events: none;
  cursor: default;
  color: black;
  text-decoration: none;
  margin: 0;
}  

input.cot,
textarea.cot{
  box-sizing: content-box;
}

#paypal-button-container {
    display: block !important;
    width: 100% !important;
    max-width: 500px !important; /* Prevents stretching on ultra-wide screens */
    min-height: 150px !important; /* Forces physical height box layout rules */
    overflow: visible !important;
}

/* Force-expand the dynamically injected PayPal wrapper child */
#paypal-button-container div[id^="zoid-paypal-buttons-"] {
    height: 150px !important; /* Overrides PayPal's inline 0px layout rule */
    min-height: 150px !important;
}

/* =========================================================================
   IN-HOUSE NEWSLETTER FORM STYLING
   ========================================================================= */
#subscriber_signup {
  margin-top: 15px;
  padding-left: 10px;
  width: 100%;
  max-width: 450px; /* Prevents it from becoming too wide on large screens */
}

#subscriber_signup .control-group {
  margin-bottom: 12px;
}

#subscriber_signup label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

/* 🌟 WIDENED & POLISHED EMAIL BOX */
#subscriber_signup input[type="email"] {
  width: 100%;
  box-sizing: border-box; /* Crucial: includes padding inside the 100% width calculation */
  padding: 10px 12px;
  font-size: 15px;
  line-height: 1.4;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  outline: none;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Subtle outer glow when typing inside the field */
#subscriber_signup input[type="email"]:focus {
  border-color: #92a8d1;
  box-shadow: 0 0 5px rgba(146, 168, 209, 0.5);
}

/* 🚀 CUSTOM BUTTON STYLING */
#subscriber_signup .button.btn-subscribe-submit {
  clear: both;
  display: block;
  width: 100%; /* Makes button stack neatly beneath the wide input */
  margin-top: 5px;
  background-color: #6a6a6a; /* Clean neutral tone - adjust to match Cottage branding */
  border: 0 none;
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  padding: 11px 22px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

#subscriber_signup .button.btn-subscribe-submit:hover {
  background-color: #4a4a4a;
}

#subscriber_signup .button.btn-subscribe-submit:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

/* Response messaging space optimization */
#subscriber_signup .message-response-box {
  margin-top: 10px;
  min-height: 20px;
}