/* Global */

html { font-family: 'Lato', sans-serif; }
body { margin: 0; padding: 0; }
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; font-family: 'Lato', sans-serif; font-weight: 300; }
h1, h2 { font-size: 28px; line-height: 38px; margin: 0 0 20px 0; padding: 0; text-transform: uppercase; }
p, .items h2 { font-size: 16px; line-height: 22px; margin: 0 0 20px 0; text-transform: none; letter-spacing: 0.03em; }
.items h2 { margin: 0; }
.mobile-only { display: none; }

/* Hyperlinks */
a:link, a:visited { color: #000; text-decoration: underline; transition: 0.3s; }
a:hover, a:active { color: #999; text-decoration: underline; }
a.btn:link, a.btn:visited, input.btn { padding: 5px 8px; color: #000; font-size: 14px; line-height: 20px; text-decoration: none; transition: 0.3s; border: 1px solid #000; border-radius: 3px; text-transform: uppercase; cursor: pointer; -moz-appearance: none; -webkit-appearance: none; }
a.btn:hover, a.btn:active, input.btn:hover { border-color: #999; color: #999; text-decoration: none; }
a.cart-btn:link, a.cart-btn:visited, input.btn { background: #000; color: #fff; margin-right: 20px; }
a.cart-btn:hover, a.cart-btn:active, input.btn:hover { background: #999; color: #fff; }
a.solid-btn:hover, a.solid-btn:active { background-color: #000; color: #fff; border-color: #000; }
a.already:link, a.already:visited { background-image: url(../images/check-icon.png); background-size: 18px 36px; background-position: 5px 5px; background-repeat: no-repeat; padding-left: 28px !important; }
a.already:hover, a.already:active { background-image: url(../images/check-icon.png); background-size: 18px 36px; background-position: 5px -13px; background-repeat: no-repeat; padding-left: 28px !important; }

/* Header */
header { float: left; width: 100%; background: #fff; padding: 20px 0 18px 0; margin: 0 0 1% 0; }

/* Navigation */
nav ul { margin: 0; padding: 0; list-style-type: none; background: #fff; position: relative; font-size: 50px; line-height: 55px; text-transform: uppercase; letter-spacing: 0.06em; z-index: 2000; display: inline; }
nav ul li { display: inline-block; text-align: left; position: relative; padding: 0; margin: 0 10px 2px 0; }
nav ul li a:link, nav ul li a:visited { color: #999; text-decoration: none; transition: 0.2s; }
nav ul li a:hover, nav ul li a:active, nav ul li.selected a { color: #000; text-decoration: none; }
nav ul ul li { display: block; width: 100%; font-size: 22px; line-height: 40px; text-transform: capitalize; letter-spacing: 0.03em;  }
nav ul ul { position: absolute; min-width: 200px; background: #fff; padding: 8px 10px 10px 10px; visibility: hidden; opacity: 0; transition: visibility 0.2s, opacity 0.2s linear; top: 48px; left: -7px; }
nav ul li:hover a { color: #000; }
nav ul li:hover ul { visibility: visible; opacity: 1; }
nav ul li:hover ul li a:link, nav ul li:hover ul li a:visited { color: #000; text-decoration: none; }
nav ul li:hover ul li a:hover, nav ul li:hover ul li a:active, nav ul ul li.selected a { color: #000; text-decoration: underline !important; }

.top-nav { position: absolute; top: 0; right: 0; margin: 0; padding: 0; list-style: none; text-align: right; }
.top-nav li { font-size: 14px; line-height: 23px; text-transform: uppercase; letter-spacing: 0.06em; }
.top-nav li a:link, .top-nav li a:visited { color: #000; text-decoration: none; }
.top-nav li a:hover, .top-nav li a:active { color: #000; text-decoration: underline; }

.with-icon, .item-remove a { background-repeat: no-repeat; background-position: left center; }
.shopping-bag { background-image: url(../images/shopping-bag-icon-new.png); background-size: 15px 15px; padding-left: 20px; }
.instagram{ background-image: url(../images/instagram-icon-new.png);  background-size: 15px 15px; padding-left: 20px; }
.fa-bars { width: 30px; height: 30px; background-image: url(../images/nav-icon.png); background-repeat: no-repeat; background-position: 0 0; background-size: 30px 60px; display: block; }
.close-btn { background-position: 0 -30px; }

nav div { background: #fff; color: #000; font-size: 24px; padding: 5px; cursor: pointer; display: none; }

/* Blocks */
.container { width: 100%; float: left; padding: 0 0 40px 0; background: #fff; }
.wrapper { flex-wrap: wrap; display:flex; justify-content: left; max-width: 1250px; margin: 0 auto; position: relative; }
.fixed-height .block { height: 300px; }
.with-overflow .block { overflow: hidden; position: relative; padding-bottom: 40px; }
.with-overflow .btn { position: absolute; bottom: 0; left: 0; z-index: 3; }
.with-overflow .block::after { display: block; position: absolute; bottom: 0; left: 0; background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, #fff 74%); z-index: 2; height: 140px; width: 100%; content: ''; }
.block { margin: 0.5%; flex: 1; display: inline-block; padding: 0; }
/*.items { flex-wrap: nowrap; display: block; justify-content: flex-start; }
.items .block { vertical-align: top; }*/
.one-one { margin-left: 0; margin-right: 0; }
.one-three { max-width: 32.33%; }
.one-two { max-width: 49.3%; }
.one-two:nth-of-type(2n+1) { margin-left: 0; margin-right: 1.5%; }
.one-two:nth-of-type(2n) { margin-right: 0; margin-left: 0; }
.one-three:nth-of-type(3n) { margin-right: 0; }
.two-three { margin-right: 0; flex-basis: 34%; }
.with-sidebar .two-three { margin-left: 0; }
.with-sidebar .one-three { margin-right: 0; margin-left: 1%; }
.one-three:nth-of-type(3n+1) { margin-left: 0; margin-right: 1%; }
.one-three:nth-child(3) { margin-left: 1%; margin-right: 0; }
.one-four:nth-of-type(4n) { margin-right: 0; }
.one-four:nth-of-type(4n+1) { margin-left: 0; }
.one-five:nth-of-type(5n) { margin-right: 0; }
.one-five:nth-of-type(5n+1) { margin-left: 0; }
.items .block { padding: 0; position: relative; }
.block img { margin: 0 0 5px 0; width: 100%; border: none; }
.add-to-cart:link, .add-to-cart:visited { position: absolute; top: 11px; right: 10px; width: 30px; height: 30px; background-color: #EAEBEA; border: 1px solid #ccc; border-radius: 3px; background-image: url(../images/shopping-bag-icon-new.png); background-position: center center; background-size: 20px 20px; background-repeat: no-repeat;}
.add-to-cart:hover, .add-to-cart:active { background-color: #fff; }
.center { text-align: center; }
.title-block { text-transform: uppercase; }
.title-block h1, .title-block h2, .title-block h3, .title-block h4 { margin: 0; }

/* Shopping Bag */
.headerRow { display: none; }
.simpleCart_items img { width: 70px; }
.simpleCart_items { width: 100%; float: left; }
.itemRow { float: left; clear: both; width: 100%; }
.itemRow div { float: left; margin: 0 20px 20px 0; }
.itemRow div.item-decrement { margin-right: 10px; }
.itemRow div.item-increment { margin-left: -10px; }
.item-quantity { padding-top: 4px; }
.item-name { width: 40%; }
.item-title { display: none; }
.item-remove { float: right !important; }
.item-total { width: 15%; text-align: right; }
a.simpleCart_decrement:link, a.simpleCart_decrement:visited, a.simpleCart_increment:link, a.simpleCart_increment:visited, .item-remove a:link, .item-remove a:visited { padding: 2px 3px 4px 3px; color: #999; font-size: 20px; line-height: 20px; min-width: 28px; text-decoration: none; transition: 0.3s; border: 1px solid #999; border-radius: 3px; text-transform: uppercase; float: left; text-align: center; }
a.simpleCart_decrement:hover, a.simpleCart_decrement:active, a.simpleCart_increment:hover, a.simpleCart_increment:active, .item-remove a:hover, .item-remove a:active { border-color: #000; color: #000; text-decoration: none; }
.item-remove a { background-image: url(../images/trash-icon.png); background-size: 13px 15px; text-indent: -9999px; background-position: center center; }
.g-recaptcha { margin: 0; transform: scale(0.80); -webkit-transform: scale(0.80); transform-origin: 0 0; -webkit-transform-origin: 0 0; max-width: 100%; }
.field { width: 80%; padding: 6px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; color: #999; }
label { margin-bottom: 5px; width: 100%; display: inline-block; }
label.error { display: none !important; }
input.error { border-color: #ff0000; background: #ffe5e5; }

/* Pagination */
.pagination { display: block; padding-top: 40px; }
.pagination a:link, .pagination a:visited { padding: 5px; font-size: 16px; color: #000; min-width: 30px; height: 30px; display: inline-block; text-align: center; text-decoration: none; font-weight: 300; margin: 0 3px 0 3px; background-color: #fff; border: 1px solid #fff; border-radius: 3px; }
.pagination a:hover, .pagination a:active, .pagination a.current-page { border: 1px solid #ccc; }

@media(max-width: 1250px) {
	.wrapper { width: 100%; padding: 0 10px; }
	.top-nav { right: 10px; }
}

@media(max-width: 900px) {
	nav ul { font-size: 40px; line-height: 45px; }
}

@media(max-width: 758px) {
	nav { width: 100%; }
	header { margin-bottom: -1%; }
    nav div { display: block; width: 30px; float: right; text-align: center; z-index: 2000; margin: 5px 10px 0 0; }
    nav ul#nav { display: none; position: absolute; width: calc(100% - 20px); background: #fff; top: 46px; padding-bottom: 10px; font-size: 30px; line-height: 35px; }
	nav ul a:link, nav ul a:visited, nav ul li.selected a { color: #000 !important; }
	nav ul a:hover, nav ul a:active { color: #999 !important; }
	nav ul ul { display: block; visibility: visible; opacity: 1; padding: 0 0 0 10px; }
	nav ul li { display: block; float: left; width: 100%; margin: 2px 0; }
	.logo { display: inline-block; width: auto !important; font-size: 30px; }
	nav ul li.open { /*box-shadow: inset 0px 0px 4px 0px rgba(0,0,0,0.50);*/ }
	nav ul li.open a:first-child { color: #000; }
    nav ul ul, nav ul ul ul { position: static; }
	nav ul li.has-children a:after { float: right; }
	.block { flex-basis: 100% !important; margin: 1% 0 !important; flex-grow: 1 !important; flex-shrink: 1 !important; max-width: none !important; }
	.two-three { flex-basis: auto; }
	.mobile-only { display: block; }
	.desktop-only { display: none; }
	.one-three { max-width: 100%; }
	h1, h2 { font-size: 24px; line-height: 34px; }
	.item-name { width: calc(100% - 120px); font-size: 14px; line-height: 20px; }
	.item-name p { font-size: 14px; line-height: 20px; margin: 0; }
	.item-decrement, .item-quantity, .item-increment, .item-total, .item-remove { margin-top: -5px !important; margin-bottom: 25px !important; font-size: 14px; line-height: 20px; }
	.item-total { padding-top: 4px; }
	.field { width: 100%; }
	/*.one-two { widt}
	.one-two:nth-of-type(2n) { margin: 1% 0 1% 2% !important; max-width: 47%; }*/
}