/* Import other files */
@import url(clearfix.css);
@import url('https://fonts.googleapis.com/css?family=Crimson+Text:400,700|Damion|Sacramento');

/* 'GENERIC
---- ---- ---- ---- -- - */

* { box-sizing: border-box; }

body { margin: 0; padding: 0; font-family: 'Crimson Text', 'Georgia', serif; font-size: 16px; color: #2B3D48; }

a, img { border: 0; }
a { text-decoration: none; }

.left { float: left; }
.right { float: right; }

.error { font-size:14px; color:#cc0000 !important;}
.success { font-size:14px; color:#08a600; }
.notice { font-size:14px; }
.notice i { color:#ccbd1f; }
.noticecolor { color:#ccbd1f; }

.errorMessage { font-size:14px; color:#cc0000; background-color: #ffbaba; text-align: center; padding: 10px 0;}
.successMessage { font-size:14px; color:#2B3D48; background-color: #ffc266; text-align: center; padding: 10px 0;}

.nomargin { margin: 0 !important; }
.nopadding { padding: 0 !important; }

.relative { position: relative; }

.noscroll { overflow: hidden; }

img { max-width: 100%; }

.show { display: block; }
.hide { display: none; }

/* 'COLORS
---- ---- ---- ---- -- - */

.yellow { color: #FDC167; }
.green { color: #759C76; }
.green-light { color: #BDCBB8; }
.navy { color: #2B3D48; }
.grey { color: #F4F4F4; }

.white { color: #FFF; }
.black { color: #000; }

.white-bg { background-color: #FFF; }
.grey-bg { background-color: #F4F4F4; }

/* 'TYPOGRAPHY
---- ---- ---- ---- -- - */

.bold { font-weight: bold !important; }

.center { text-align: center; }
.underline { text-decoration: underline; }
.uppercase { text-transform: uppercase; }

h1, h2, h3, h4, h5, h6 { 
    margin: 0; 
    font-size: 1rem; 
}

h1 {
    font-family: 'Sacramento', cursive;
    font-size: 4.125em;
    font-weight: 400;
}

h1.small { font-size: 3.5em; }

h1 span, h2 span {
    font-family: 'Crimson Text', serif;
    font-size: 1.125rem;    
    font-weight: 400;
    color: #7f9c76;
}

h2 {
    font-family: 'Sacramento', cursive;
    font-size: 2.5em;
    font-weight: 400;
}

h2.small { font-size: 2.1875em; }

h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.125em;
}

h4 {
    font-family: 'Sacramento', cursive;
    font-size: 1.75em;
    font-weight: 400;
}

p { font-size: 1.5em; }
p.small { font-size: 1.125rem; }

p span.small { font-size: 1.125rem;}

nav {
    font-family: 'Damion', cursive;
    font-size: 1.625em;
    letter-spacing: 0.02em;
}

.fa-input { font-family: FontAwesome, 'Georgia', serif; }

/* 'CTA
---- ---- ---- ---- -- - */

.back-btn {
    font-size: 0.9375em;
}

.back-btn i { 
    font-size: 0.75em; 
}

.transparent-cta {
    display: inline-block;
    color: #FFF;
    font-size: 1.125em;
    font-weight: 700;
    background: none;
    border: 1px solid #FFF;
    padding: 0.75rem 1.5rem;
}

.transparent-cta.black-border { border: 1px solid #2b3d48; color: #2b3d48; }

#cart-checkout {
    display: block;
    margin: 1.25em 0 1.125em;
    color: #FFF;
    background: #7f9c76;
    width: 305px;
    height: 105px;
    line-height: 110px;
    cursor: pointer;
    text-align: center;
    font-size: 1.25em;
    font-weight: 700;
    font-family: 'Crimson Text', 'Georgia', serif;
}

.prod-sold-out {
    display: inline-block;
    vertical-align: middle;
    max-width: 165px;
    width: 100%;
    height: 40px;
    line-height: 42px;
    background: #666;
    color: #FFF;
    font-family: 'Crimson Text', 'Georgia', serif;
    font-size: 1em;
    font-weight: 600;
    text-align: center;
    margin-top: 2.5em;
}

.patterns-sold-out {
    opacity: 0.5;
}

/* 'INPUTS
---- ---- ---- ---- -- - */

input {
    border: none;
    background: #FFF;
    outline: none;
}

input.qty-input {
    border: 1px solid #000;
    text-align: center;
    width: 40px;
    height: 28px;
    line-height: 28px;
    margin-left: 0.75em;
}

.btn-delete { color: #ADADAD; font-size: 1.125em; }

.submit-cta {
    display: block;
    width: 100%;
    height: 40px;
    line-height: 42px;
    background: #7f9c76;
    color: #FFF;
    font-family: 'Crimson Text', 'Georgia', serif;
    font-size: 1em;
    font-weight: 600;
    text-align: center;
}

.promo-container {
    background: #adadad;
    display: flex;
    justify-content: center;
    align-content: center;
    width: 100%;
    padding: 1em;
}

.promo-container form { 
    max-width: 170px;
    margin-left: 0.5em;
}

.promo-container form input[type="text"] { 
    width: calc(100% - 30px);
    height: 26px;
    line-height: 26px;
    padding: 0 0.5em;
}

.promo-container form input[type="submit"] {
    width: 26px;
    height: 26px;
    text-align: center;
    line-height: 26px;
    font-size: 0.875em;
    color: #575757;
}

.inputcontainer label {
    display: block;
    color: #2b3d48;
    font-weight: 600;
    margin-bottom: 0.3125em;
}

.inputcontainer label.error { margin-top: 0.75em; }

.inputcontainer input, .inputcontainer select, .checkout-vars {
    display: block;
    width: 100%;
    border: 1px solid #BBBBBB;
    border-radius: 4px;
    height: 28px;
    line-height: 28px;
    font-size: 0.875em;
    font-family: 'Crimson Text', 'Georgia', sans-serif;
    margin: 0;
    padding-left: 0.75em;
    box-shadow: inset 0 1px 1px 0 rgba(204, 204, 204, 0.5);
    -moz-box-shadow: inset 0 1px 1px 0 rgba(204, 204, 204, 0.5);
    -webkit-box-shadow: inset 0 1px 1px 0 rgba(204, 204, 204, 0.5);
}

/* 'LAYOUT
---- ---- ---- ---- -- - */

.innerContent {
    display: block;
    width: 1280px;
    margin: 0 auto;
}

ul.nostyle {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1 img {
    display: block;
    margin: 0 auto;
    padding: 1rem 0;
}

.divider {
    display: block;
    border-bottom: 1px solid #CCC;
    margin: 1em 0 1.375em;
}

.flexContent {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: flex-start; 
}

.flex-align {
    display: flex;
    align-items: center;
}

.flex-space {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 'HEADER
---- ---- ---- ---- -- - */

header.innerContent {
    padding: 3.75em 0 3.125em;
}

header nav {
    padding: 1.625rem 0;
    clear: both;
}

nav ul li {
    float: left;
    padding: 0 0.30em;
    line-height: 50px;
}

nav ul li span {
    display: block;
    margin: 0 0.3125em;
}

nav ul li span.cart-qty {
    background: #9eba94;
    height: 35px;
    width: 35px;
    line-height: 30px;
    border-radius: 50%;
    text-align: center;
}

nav ul li a {
    color: #2B3D48;
    transition: color 0.2s ease-in;
}

nav ul li a:hover { color: #FDC167; }

#freeshippinginfo {
    padding: 1rem;
    background-color: #9EBA94;
    font-weight: bold;
    font-family: 'Sacramento', cursive;
    display: block;
    clear: both;
    box-sizing: border-box;
    margin-bottom: 2rem;
    width: 600px;
}

#freeshippinginfo > p {
    margin: 0;
    font-size: 1.875rem;
}

#freeshippinginfo > p a {
    font-size: 1.5rem;
}

#freeshipping-moreinfo {
    font-family:'Crimson Text', 'Georgia', serif;
    display: none;
    margin-top: 1.5625rem;
}

#freeshipping-moreinfo ul li {
    margin-bottom: .75rem;
}

/* 'HOMEPAGE [products]
---- ---- ---- ---- -- - */

#home-products {
    margin: 3.125em auto 0;
}

#home-products .item-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.item-container {
    margin: 2em 0;
}

.feat-item { 
    margin: 0 1.5625em 1em;
    width: calc(33.333% - 3.125em);
    min-height: 600px;
    height: auto;
}

.feat-item h2 { font-size: 2.375em; }

.feat-item img {
    display: block;
    margin: 0 auto 1em;
}

.feat-item .feat-details {
    max-width: 345px;
    width: 100%;
    margin: 0 auto;
}

.feat-item .feat-details p {
    /*
        display: block;
    display: -webkit-box;
    max-width: 100%;
    height: 38px;
    margin: 0 auto;
    line-height: 1;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    */
    
    height: 55px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.feat-item .feat-details ul {
    margin: 1.5em auto;
}
/*
.feat-item .feat-details ul li {
    box-sizing: border-box;
    width: 50%;
} */

.feat-item .feat-details ul li a { display: block; margin: 0 0.5em; }

/* 'HOMEPAGE [about]
---- ---- ---- ---- -- - */

#home-about {
    padding: 170px 0 140px;
    background: url(../images/belle-couture-buttons-scissors_about-bg.jpg) no-repeat left center, url(../images/belle-couture-fabric_about-bg.jpg) no-repeat right center;
}

#home-about .innerContent { 
    max-width: 720px; 
    background: #FFF;
}

/* 'HOMEPAGE [newsletter]
---- ---- ---- ---- -- - */

#home-newsletter {
    background: #ffc266;
    height: 155px;
    width: 100%;
    max-width: 1280px;
    transform: skew(10deg);
}

#home-newsletter form { 
    transform: skew(-10deg);
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 750px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

#home-newsletter h1 { 
    color: #48303e; 
    font-weight: 400;
}

#home-newsletter .nl-container {
    max-width: 400px;
    width: 100%;
    margin-left: 1.5em;
}

#home-newsletter .nl-container input[type='text'] {
    max-width: 290px;
    width: 100%;
    height: 35px;
    line-height: 35px;
    padding: 0 0.5em;
}

#home-newsletter .nl-container input[type='submit'] {
    background: #7f9c76;
    font-size: 1.125em;
    min-width: 100px;
    width: auto;
    height: 35px;
    line-height: 35px;
    font-family: 'Crimson Text', 'Georgia', serif;
}

/* 'TRADE SHOWS
---- ---- ---- ---- -- - */

#home-trades { 
    max-width: 1015px;
    padding: 140px 0 0;
}

.trade-shows { 
    margin-bottom: 2em;
    padding: 0 1.5em 2em;
    border-bottom: 1px solid #CCC; 
}

.trade-shows:last-of-type {
    border-bottom: none; 
    padding: 0 1.5em;
}

.trade-shows h1, .trade-shows h1 span { 
    display: inline-block; 
    vertical-align: middle;
    font-weight: 400;
}

.trade-shows h1 span { margin-top: 12px; }

.trade-shows div {
    margin: 0 auto 0 2.5em;
    width: calc(100% - 340px);
}

.trade-shows div p { font-size: 1.25em; }

.trade-shows img {
    display: block;
    max-width: 300px;
    max-height: 300px;
    height: 100%;
    object-fit: cover;
}

#home-trades .transparent-cta { margin-top: 3.125em; }

/* Previous events */

#previous-events { display: none; }

#previous-events .trade-shows { display: none; }
#previous-events .trade-shows:nth-child(-n+3) { display: block; }

#load-more {
    display: inline-block;
    color: #2B3D48;
    font-size: 2em;
    font-weight: 600;
    margin-top: 0.875em;
}

#load-more img {
    display: inline-block;
    margin: 0 0.5em;
}

/* 'PRODUCT LISTING
---- ---- ---- ---- -- - */

#product-container { max-width: 1364px; }

.main-image {
    display: block;
    width: 100%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.top-banner {
    position: absolute;
    top: 2.5em;
    left: 50%;
    transform: translateX(-50%);
}

.bottom-banner {
    position: absolute;
    bottom: 2.5em;
    left: 50%;
    transform: translateX(-50%);
}

.cat-menu {
    background: #9eba94;
    padding: 0.75em 2.5em;
    text-align: center;
    transform: skew(-20deg);
}

.cat-menu ul { 
    transform: skew(20deg);
}

.cat-menu ul li {
    padding: 0 1.25em;
    font-family: 'Crimson Text', 'Georgia', serif;
}

.cat-menu ul li a.hidden { display: none; }
.cat-menu ul li a span { display: inline-block; }

.cat-menu ul li a span i {
    display: block;
    font-size: 0.875rem;
}


.product-listing { margin-top: 3.125em; }

.product-listing h1 { display: inline-block; }

.product-listing h1 img {
    display: inline-block; 
    vertical-align: bottom;
    padding: 0 0.5rem 1.875rem;
}

.product-listing h1.small {
    margin-bottom: 1em;
}

.product-listing .product {
    width: calc(33.333% - 0.75em);
    margin: 0 0.75em 0.75em 0;
    overflow: hidden;
}

.product-listing .product .prod-hover {
    display: none;
    color: #FFF;
    background: rgba(43, 61, 72, 0.8);
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    height: 100%;
    width: 100%;
}

.prod-hover ul {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.prod-hover ul li p { margin: 0.25em auto 0.5em; font-size: 1.375em; }

.prod-hover ul li a { margin: 0.5em auto 0; }

.product-listing .product:hover .prod-hover { display: block; }

.product { height: 416px; }

/* 'PRODUCT DETAILS
---- ---- ---- ---- -- - */

.magnify > .magnify-lens { width: 125px !important; height: 125px !important;}

#details-content {
    padding: 1.5em 0 3.375em;
}

.product-details {
    margin: 0.75em auto;
    padding: 2.25em 4em 3.125em;
}

.product-details #prod-main h2 { width: calc(100% - 150px); }

.product-details .main-img-container {
    width: 455px;
    height: 455px;
    overflow: hidden;
    margin-right: 4.375em;
}

.product-details .main-img-container img { display: block; }

.product-details #extra-images {
    display: block;
    width: 455px;
    margin: 0.75em 0;
}

.product-details .prod-info { width: calc(100% - 525px); }
.product-details .prod-info .submit-cta { max-width: 165px; }
.product-details .prod-info .clearfix .left h3 { display: inline-block; }

.product-details p strike { display: block; font-size: 0.75em; }

#item-info { margin: 2em 0; }

#qty-container div { margin: 0 1em 1.5em 0; }
#qty-container h3 { line-height: 28px; }

#pattern-container h3 { margin-right: 1em; }

#pattern-container li {
    display: inline-block;
    margin-right: 1em;
    width: 50px;
    height: 50px;
    overflow: hidden;
}

#pattern-container li img {
    height: 50px;
    width: 50px;
}

#pattern-container li a.pattern-select.selected img {
    display: block;
    width: 50px;
    height: 50px;
    border: 2px solid #7f9c76;
}

select.form-select {
    display: inline-block;
    height: 28px;
    width: 175px;
    margin: 0 1em 0 0.5em;
    padding: 0 0.5em;
    border: 1px solid #000;
    font-family: 'Crimson Text', 'Georgia', serif;
    font-size:17px;
    line-height: 25px;
}

.product-details .prod-info table {
    margin: 2em auto 0;
}

.product-details .prod-info table tr th {
    vertical-align: top;
    padding-right: 0.5em;
    text-align: left;
}

.product-details .prod-info table tr td a.underline {
    text-decoration: none;
    border-bottom: 1px solid #2B3D48;
    margin-top: 0.5em;
    padding-bottom: 0.125em;
    font-weight: 600;
    font-size: 0.875em;
}

#item-msgs li {
    display: none;
    margin-left: 0.5em;
    color: #e64848;
    font-weight: 600;
}

#item-msgs li img {
    display: inline-block;
    margin-right: 0.5em;
}

#item-msgs li#item-added, #item-msgs li#item-modded {
    color: #7f9c76;
}

#sold-out {
    text-transform: uppercase;
    font-size: 1.375em;
    margin: 0 auto;
}

.cart-popup {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100% !important;
    height: 100%;
    z-index: 9;
}

.cart-popup table {
    max-width: 930px;
    margin: 0 auto;
    background: #fff;
    padding: 1.5625rem;
}

/* 'CART [listing]
---- ---- ---- ---- -- - */

#cart-listing {
    width: 930px;
}

.cart-item {
    box-sizing: border-box;
    border-bottom: 1px solid #CCC;
    padding: 1.5em 1.5em 1.5em 1.125em;
}

.cart-item ul {
    margin: 0 0.5em 0 1em;
}

.cart-item ul li h2 {
    line-height: 28px;
    margin-bottom: 0.75rem;
}

/* 'CART [summary]
---- ---- ---- ---- -- - */

.cart-summary {
    width: 305px;
}

.cart-summary table {
    text-align: left;
    margin: 2.5em 0;
    font-size: 1.125em;
}

.cart-summary table th { font-weight: 400; }
.cart-summary table td:nth-child(even) { text-align: right; }

/* 'CHECKOUT
---- ---- ---- ---- -- - */

#checkout, #checkout-confirm { width: 1045px; }

#payment-information { width: 615px; }

.input-block {
    border-bottom: 1px solid #CCC;
    padding: 1.5625em 0.75em;
}

.input-block:first-of-type { padding: 0 0.75em 1.5625em; }

.input-block table {
    margin: 2.5em 0.625em;
    max-width: 470px;
    width: 100%;
}

.input-block table tr td input, #pickup-option { margin-bottom: 1em; }

label[for="same-info"] {
    display: inline-block;
    margin-bottom: 1em;
}

#cb-info {
    display: inline-block;
    vertical-align: bottom;
    margin-left: 0.75em;
}

#cc-expiry select { width: 108px; }
#cc-expiry select:last-child { width: 95px; }

#cc-expiry span {
    display: inline-block;
    padding: 0 0.3125em;
    line-height: 30px;
    font-weight: 600;
}

#checkout_submit {
    height: 70px;
    line-height: 70px;
    font-size: 1.375em;
    background: #bfcdba;
    transition: all 0.25s ease-in;
}

#checkout_submit:hover { background: #7f9c76; }

.cart-items-small li {
    padding: 1.25em 0;
    border-bottom: 1px solid #CCC;
}

.cart-items-small li p {
    margin: 0;
    font-size: 0.875em;
}

.cart-items-small div {
    margin-left: 0.75em;
    width: calc(100% - 88px);
}

.cart-items-small div h4 { line-height: 25px; }

/* 'CONFIRM CHECKOUT
---- ---- ---- ---- -- - */

#checkout-confirm label { display: inline; }
#billing-block { border: none; }

#checkout-confirm .checkout-vars {
    display: inline;
    border: none;
    box-shadow: none;
}

#checkout-confirm .input-block table { margin: 2.5em 0 1em; }

#review-cta { 
    padding: 0 0.5em 1.5em;
    margin: 0 auto 1.5em;
    border-bottom: 1px solid #CCC;
}

#review-cta a {  font-size: 1.125rem; }

#review-cta a i { 
    display: inline-block; 
    vertical-align: top; 
    margin-right: 0.5em; 
}

#accept-policies { margin-bottom: 1em; }
#label-policies a { color: #2B3D48; }

#error-msg {
    font-size: 0.875em;
    color: red;
    margin: 0 0 0 1.5625em;
}

#paypal-submit-en {
    display: inline-block;
    background-image: url(https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif);
    background-color: transparent;
    border: 0;
    width: 145px;
    height: 42px;
    cursor: pointer;
}

#paypal-submit-fr {
    display: inline-block;
    background-image: url(https://www.paypal.com/fr_CA/i/btn/btn_xpressCheckout.gif);
    background-color: transparent;
    border: 0;
    width: 145px;
    height: 42px;
    cursor: pointer;
}

/* 'RECEIPT
---- ---- ---- ---- -- - */

#checkout-receipt p:first-child { 
    font-size: 1.875em; 
    line-height: 1.5rem;
}

/* 'POLICIES
---- ---- ---- ---- -- - */

#policies h1 img {
    display: inline-block;
    vertical-align: middle;
}

#policies h2 { 
    font-family: 'Crimson Text', 'Georgia', serif !important; 
    font-size: 1.5625em;
    margin-top: 3.125rem;
}

#policies table {
    width: 500px;
    margin: 1em 0;
}

#policies table tr th {
    text-align: left;
    border: 1px solid #2B3D48;
    padding: 0.5em;
    font-size: 1.125em;
    box-sizing: border-box;
}

#policies table tr td {
    width: 50%;
    padding: 0.5em;
    border: 1px solid #2B3D48;
    border-top: none;
    box-sizing: border-box;
}

#policies table tr td:nth-child(2n), #delivery table tr:nth-child(2) th:last-child { border-left: none; }
#delivery table tr:first-of-type th { border-bottom: none; text-align: center; }

/* 'FOOTER
---- ---- ---- ---- -- - */

footer { padding: 100px 0 50px; }
footer p { font-size: 1.125em; margin: 0; }

footer .badge { display: inline-block; font-weight: bold; margin: 1.5em 0; }