body {
    margin: 0;
    background-color: #f5efef;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Montserrat, sans-serif;
    position: relative;
}

#page_wrapper, #navbar_wrapper, #footer_wrapper {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    position: relative;
}

#footer_wrapper {
    position: unset;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#does_not_exist {
    padding: 20px 0;
}

.footer {
    margin-top: auto;
}
  
/* Style the header */
.header {
    font-size: 16px;
    padding: 20px;
    text-align: center;
    background: #e0d7d7;
    color: black;
    font-family: "Tenor Sans", sans-serif;
}

div.header img {
    width: 100%;
    max-width: 400px;
}

/* Increase the font size of the h1 element */
.header h1 {
    font-size: 40px;
}

/* Increase the font size of the h1 element */
.header h2 {
    font-size: 22px;
    font-family: "Tenor Sans", sans-serif;
}

.header h3 {
    font-size: 20px;
    font-family: "Tenor Sans", sans-serif;
}

.header h4 {
    font-size: 16px;
    font-family: "Tenor Sans", sans-serif;
    font-weight: bold;
}

.sticky {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 1;
}

/* Style the top navigation bar */
.topnav {
    display: inline-block;
     /* Hide overflow  overflow: hidden;*/
}

/* Center aligned elements of top navbar */
#navbar a{
    color: inherit; 
    text-align: center; /* Center the text */
    padding: 14px 20px; /* Add some padding */
    text-decoration: none; /* Remove underline */
}

#navbar {
    color: #f5efef; 
	text-align: center;
	background-color: #a49393ff;
	padding-top: 8px;
	padding-bottom: 8px;
	position: relative;
    min-height: 19.09px;
}

/* Right aligned elements of top navbar */
.topnavright {
	position: absolute;
	top: 0;
	right: 0;
}
/* 
.topnavright span {
	vertical-align: middle;
} */

/* Change color on hover/mouse-over */
#navbar a:hover {
    color: #664346;
}

/* Style the footer */
.footer {
    text-align: left;
    background: #a49393ff;
    color: #f5efef;
    font-family: "Tenor Sans", sans-serif;
    font-size: 18px;
    padding: 16px 0;
}


/* Style the footer navigation bar */
.footernav {
	color: #f5efef;
    padding: 10px 0;
	
}

/* Style the text in the footer navigation bar */

.footernav a{
	text-decoration: none;
	color: #f5efef;
	font-family: Montserrat, sans-serif;
	font-size: 16px;
}

/* Style the text in the footer navigation bar on hover */

.footernav a:hover {
    color: #664346; 
}

/* Style the socials in the footer navigation bar */
.footersocials {
	color: #f5efef;
	
}

/* Style the socials in the footer navigation bar */

.footersocials a{
	text-decoration: none;
	color: #f5efef;
	font-family: Montserrat, sans-serif;
	font-size: 12px;
}

/* Style the socials in the footer navigation bar on hover */

.footersocials a:hover {
    color: #664346; 
}

#mc-embedded-subscribe {
    background-color: #f5efef;
    border: none;
    border-radius: 2px;
    font-family: Montserrat;
}

#mce-EMAIL {
    border: none;
    border-radius: 2px;
    font-family: Montserrat;
}

#mc_embed_signup {
    font-size: 18px;
}

.mc-field-group {
    font-size: 16px;
}

/* Style the grid for the fabrics page*/

.grid {
    display: grid;
    column-gap: 10px;
    row-gap: 10px;
    grid-template-columns: repeat(4, 1fr);
    list-style-type: none;
    margin: 0;
    padding: 10px 0;
}
  
.grid img {
    width: 100%;
}

.grid a {
    position: relative;
    display: block;
    background: #f5efef;
    text-decoration: none;
    font-family: Montserrat, sans-serif;
    color: black;

}

.grid a:hover {
    color: #664346; 
}

.grid span.name {
    display: block;
    text-align: center;
}

.grid span.price {
    display: block;
    text-align: center;
}

.grid span.low-stock, span.no-stock {
    position: absolute;
    top: 0;
    right: 0;
    padding: 8px;
    color: black;
    border-bottom: 1px solid black;
    border-left: 1px solid black;
}

.grid span.low-stock {
    background-color: aliceblue;
}

.grid span.no-stock {
    background-color: #e7e7e7;
}

hr.hr1 {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: #f5efef;
    border: none;
    height: 1px;
      }

 /*Styling for the capsule page*/  
    
.garment_wrapper {
    display: inline-block;
    vertical-align: top;
}

.garment_wrapper span, select {
    display: block;
    margin: auto;
}

.garment_wrapper span {
    text-align: center;
}

#tops, #bottoms {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.garment {
    padding-top: 10px;
    text-align: center;
}

.garment_select{
  background-color: #f9f9f9;
  padding: 12px 16px;
  font-family: Montserrat, sans-serif;
  text-align: center;
  color: #664346;
}


.garment-list{
	background-color: #f5efef;
	font-family: Montserrat, sans-serif;
}
.garment-list a{
		color: #664346;
	    text-decoration: none; /* Remove underline */
}

.garment-list a:hover {
    text-decoration: underline; 
}

ul.a{
	list-style-type: none;
}

.disclaimer{
    border-radius: 5px;
	background-color: #6c5353;
	border-color: black;
	color: #f5efef;
	padding-left: 20px;
    padding-right: 20px;
    /* height: 100%; */
    /* padding-top: 3px; */
    /* padding-bottom: 5px; */
    /* font-size: 14px; */
}

.disclaimer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 25px;
}

.disclaimer li:not(:last-child) {
    margin-bottom: 15px;
}

.side-by-side {
	display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: start;

}

.side-by-side-1-1 {
	display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: top;
    column-gap: 20px;
}

 /*Styling for the contact & FAQ page */  

.faq{
	background-color: #f5efef;
	font-family: Montserrat, sans-serif;	
	color: black;

}

.faq a{
    text-decoration: none;
    color: #664346;
}

.faq a:hover{
    text-decoration: underline; 
}

.contact{
	text-decoration: none;
}


 /*Styling for the about page */  
.about{
	background-color: #f5efef;
	font-family: Montserrat, sans-serif;	
	color: black;
	
}

.home{
	background-color: #f5efef;
	font-family: Montserrat, sans-serif;	
	color: black;
    text-align: center;
    font-size: 16pt;
	
}

hr.style2{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    background-color: #664346;
    height: 2px;
    border: none;
    margin: 20px auto ;
}

 /*Styling for the individual prooducts page */  
#product_wrapper{
    display: grid;
    column-gap: 20px;
    row-gap: 10px;
    grid-template-columns: minmax(0, 4.3fr) 5.7fr;
    list-style-type: none;
    margin: 0;
    padding: 10px 0;
}

 
#product_right {
    text-align: left;
}

#meters{
    display: inline-block;
    min-width: 70px;
}

#add_to_cart, #checkout_button {
    background-color: #a49393ff;
    color: #f5efef;
    border: none;
    border-radius: 2px;
    padding: 10px 0px;
    font-size: 16px;
    font-family: Montserrat;
    min-width: 250px;
  }

#add_to_cart:hover, #checkout_button:hover {
    color: #f5efef; 
    background-color: #664346;
}

#add_to_cart_checkmark {
    border-radius: 30px;
    line-height: 30px;
    width: 30px;
    height: 30px;
    display: inline-block;
    background-color: #96b100;
    text-align: center;
}

#add_to_cart_checkmark.hidden {
    display: none;
}

#checkout_button {
    text-align: center;
    text-decoration: none;
    padding: 10px 15px;
    min-width: auto;

}

#details ul{
    list-style: none;
    padding: 0;
    margin: 0;    
}

#details span.title{
    font-weight: bold;
}

.disclaimer2{
    padding-right: 10px;
    padding-top: 15px;
    padding-bottom: 5px;
    font-size: 14px;
}


#product_pictures img {
    width: 100%;
}

#select_product_picture {
    margin: 0 20px;
}

#select_product_picture .slick-current {
    outline: 3px solid black;
}

#select_product_picture .slick-slide {
    margin: 10px;
}

#select_product_picture .slick-prev:before, #select_product_picture .slick-next:before {
    color: #664346;
}

img.home-img{
    width: 100%;
}

#mc_embed_signup_scroll {
    border-bottom: 2px solid;
    display: inline-block;
    padding-bottom: 5px;
}



#mce-EMAIL {
    width: 250px;
    background-color: inherit;
    color: inherit;
    outline: none;
    padding-top: 5px;
}

#mce-EMAIL:-webkit-autofill,
#mce-EMAIL:-webkit-autofill:hover, 
#mce-EMAIL:-webkit-autofill:focus, 
#mce-EMAIL:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px inherit inset !important;
}

#mce-EMAIL::placeholder { 
    color: inherit;
    opacity: 0.75;
    
}
#mce-EMAIL:-ms-input-placeholder {
    color: inherit;
    opacity: 0.75;
}
#mce-EMAIL::-ms-input-placeholder {
    color: inherit;
    opacity: 0.75;
}
#mc-submit {
    border: none;
    background: none;
    color: inherit;
    padding: 0;
}

#mc-submit:hover{
    color: #664346; 
}

#copyright {
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    text-align: center;
    padding-top: 10px;

}

/* loader */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 12px;
    display: inline-block;
    background-color: #FFF;
    background-image: linear-gradient(90deg, rgb(122, 57, 97) 33%, #934574ff 33%, #934574ff 66%, rgb(165, 106, 142) 66%);
    background-image: -moz-linear-gradient(90deg, rgb(122, 57, 97) 33%, #934574ff 33%, #934574ff 66%, rgb(165, 106, 142) 66%);
    background-image: -webkit-linear-gradient(right, rgb(122, 57, 97) 33%, #934574ff 33%, #934574ff 66%, rgb(165, 106, 142) 66%);
    background-image: -o-linear-gradient(90deg, rgb(122, 57, 97) 33%, #934574ff 33%, #934574ff 66%, rgb(165, 106, 142) 66%);
    background-image: -ms-linear-gradient(90deg, rgb(122, 57, 97) 33%, #934574ff 33%, #934574ff 66%, rgb(165, 106, 142) 66%);
    font-size: 3em;
    background-size: 1em 1em;
    box-sizing: border-box;
    animation: barStripe 0.3s linear infinite;
}

@keyframes barStripe {
    0% {
        background-position: -1em 0;
    }
    100% {
        background-position: 0 0;
    }
}

.hidden {
    display: none;
}

.quantity-selector {
    display: inline-block;
    background-color: white;
    border: #6c5353 1px solid;
}

.quantity-selector input[type=text] {
    width: 35px;
    background-color: inherit;
    color: inherit;
    outline: none;
    border: none;
    text-align: center;
    font: inherit;
}

.quantity-selector input[type=button] {
    width: 25px;
    background-color: #f5efef88;
    color: inherit;
    outline: none;
    border: none;
    text-align: center;
    font: inherit;
    line-height: 25px;
}

.quantity-selector input[type=button]:hover {
    background-color: #f5efefff;
}

#product_warning {
    width: 100%;
    background-color: rgb(238, 127, 127);
    padding: 10px;
}

img.faded {
    opacity: 0.4;
}

#hamburger {
    display: none;
	position: absolute;
	top: 0;
	right: left;
}

#hamburger:hover {
	color: #664346;
}

button.remove {
    display: block;
    width: 100px;
    border:#664346 1px solid;
    background-color: rgb(250, 243, 243);
}

button.remove:hover {
    background-color: white;
}

table#products_table {
    border-collapse: collapse;
    margin-top: 15px;
    table-layout: fixed;
    overflow-wrap: break-word;
    width: 100%;
}

#products_table {
    display: grid;
    grid-template-columns: auto auto 110px;
    grid-column-gap: 15px;
    align-items: center;
    grid-row-gap: 7px;
    margin-top: 15px;
}

#products_table .product{
    text-align: left;
    display: grid;
    grid-template-columns: min-content auto;
    align-items: center;
    grid-column-gap: 10px;
}

#products_table .product_header{
    font-weight: bold;
}

#products_table .line {
    grid-column: 1 / -1;
    height: 2px;
    border-bottom: 1px solid #66434688;
    width: 100%;
    margin: -5px 0;
  }
  
#products_table .line + div {
    grid-column: 1;
}

#products_table div.col3 {
    text-align: right;
}


#products_table img {
    width: 100px;
}

#products_table div.quantity div {
    margin: auto;
    text-align: center;
    padding: 7px 0;
}

#cart_full {
    display: grid;
    justify-items: end;
}

table.total td{
    padding: 5px 0;
}

table.total tr td:last-child{
    text-align: right;
    padding-left: 5px;
}

.responsive_amount {
    display: none;
}

@media only screen and (max-width: 700px) {
    #hamburger {
        display: block;
    }

    .topnav a {
        display: none;
    }

    .topnav.responsive {
        position: relative;
        padding-top: 20px;;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left!important;
        padding: 10px 0!important;
    }

    #navbar {
        text-align: left!important;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #product_wrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    .side-by-side-1-1 {
        grid-template-columns: 1fr;
    }

    .side-by-side {
        grid-template-columns: 1fr;
    }

    .side-by-side .disclaimer {
        grid-row: 1;
    }

    .responsive_amount {
        display: block;
    }

    #products_table div.col3 {
        display: none;
    }

    #products_table {
        grid-template-columns: auto auto;
    }

}

#acknow {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    max-width: 700px;
    padding-top: 10px;
    text-align: justify;
}

#acknow a, a.cart_product_link {
    text-decoration: none;
    color: #664346;
}

#acknow a:hover, a.cart_product_link:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 400px) {

    #products_table img {
        width: 50px;
    }

}

@media only screen and (max-width: 260px) {
    .grid {
        grid-template-columns: 1fr;
    }

}