/* CSS Document for Screens */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,700,700i');

/* Resets */
strong { font-weight: bold; } /* This is needed because Google font resets the default weight to normal */
ol, ul { list-style:none; }
ol, ul, figure, figcaption { margin: 0; padding: 0; border: 0; }

/* Global settings */
body { font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 300; color: #fff; padding: 0; margin: 0; background-color: #000; }
#page { max-width: 1200px; margin: 0 auto; position: relative; }
	 
/* Text */

h1 { margin: 0 0 1em 0; font-size: 2.8em; font-weight: 700; }
h2 { margin: 0 0 0.5em 0; font-size: 1.6em; font-weight: 700; line-height: 1.1em}
h3 { margin: 0 0 0.5em 0; font-size: 1.2em; font-weight: 700; color: #999; text-transform: uppercase; }
h4 { margin: 0 0 0.5em 0; font-size: 1.2em; font-weight: 700; }

p { margin: 0 0 1em 0; }

input[type='number'] { -moz-appearance:textfield; }

/* Header */

header { height: 100px; position: relative; }

header a.logo {
	z-index: 1;
	position: absolute;
	display: block; width: 75px; height: 75px;
	background: url(img/logo.jpg) no-repeat 0 0; background-size: contain;
	top: 15px; left: 20px;
}

header a.logo span { display:none; }

header div.banner-text { position:absolute; top: 15px; left: 120px; }
header div.banner-text h1 { line-height: 1em; margin: 0 0 10px 0; }
header div.banner-text p { line-height: 1em; margin: 0 0 10px 0; }

header a.cart { 
	z-index: 1;
	text-decoration: none; 
	color: #999; 
	background: url(img/shopping-cart-999999.svg) no-repeat center; 
	width: 20px; height: auto; display: block;
	position: absolute;
	top: 30px; right: 80px;
}
header a.cart:visited { color: #999; }
header a.cart:hover { color: #fff; background: url(img/shopping-cart-wht.svg) no-repeat center; }

header a.cart span { padding-left: 30px; font-size: 1.2em; }

ol.thumbs li{ width:265px; display:inline-block; vertical-align:top; margin:0 15px 0 0; }

ol.thumbs li a{ display:inline-block; text-align:center; color: #999; text-decoration: none; }
ol.thumbs li a:visited { color: #999; }
ol.thumbs li a:hover { color: #fff; }

ol.thumbs li p{ font-size:.8em; margin-bottom: 1.5em; }

/* Section - All */

section::after {content: ''; display: block; clear: both; }

/* Section - Home */

section.home { 
	margin-top: 30px; 
	margin-left: auto;
	margin-right: auto;
	width: 860px;
	padding: 0;
	text-align: center;
}
	
section.home ol.thumbs li p { font-weight:bold; font-size: 1em; margin: 0.8em 0 1em 0; text-transform: uppercase; }

/* Section - Gallery */

section.gallery { 
		padding-left: 20px; 
		text-align: center;
}

section.gallery figure { margin-bottom: 10px; }

section.gallery img {
	display: block; 
	width: 265px;
	height: auto;
}

/* Section - Product */

section.product { overflow:hidden; }

section.product p { font-size: 1.2em; margin-top: 1em; color: #999; }

section.product div.selected-image { margin: 10px;  float: left; }
section.product div.selected-image img { display: block;  width: 480px; }

section.product div.image-description { float: left; margin-left: 40px; width: 50%; }
section.product div.image-description h4 { margin: 15px 0; text-transform: uppercase; color: #999;}

section.product div.product-options { float: left; margin-left: 40px; margin-bottom: 40px; width: 50%; }
section.product div.product-options span { font-size: 1em; width: 100px; display: inline-block; padding: 8px 0; color: #999; }
section.product div.product-type-options { display: inline; }

section.product a.btn { font-size: 1em; text-decoration:none; color: #999; border: 1px solid #999; padding: 4px 15px; transition: background-color .5s; display: inline-block; width: 48px; text-align: center; }
section.product a.btn:hover { background-color: #B4B4B4; color: #fff; border: 1px solid #fff; }
section.product a.btn-selected { font-size: 1em; text-decoration:none; color: #fff; border: 1px solid #fff; padding: 4px 15px; background-color: #B4B4B4; display: inline-block; width: 48px; text-align: center; }

span#product-price { margin-left: 20px; width: 80px; color: #fff; }

section.product #my-add-button { 
	font-size: 1em; 
	color: #555; 
	border: 1px solid #999; 
	padding: 4px 15px;
	margin-left: 20px;
	background-color: #ccc;  
	transition: background-color .5s; 
	width: 180px;
	cursor: pointer;
	display: inline;
}

section.product #my-add-button:hover { background-color: #B4B4B4; color: #fff; border: 1px solid #fff; }

.btn-disabled{ cursor: not-allowed; pointer-events: none; }

/* Section - Events */

section.events { margin: 0 20px 20px 20px; color: #999; }

section.events table { border: none; width: 100%; border-spacing: 0; }

section.events table tr:nth-child(even){background-color: #555;}
section.events table tr:nth-child(odd){background-color: #333;}

section.events table th { padding: 7px; text-align: right; }
section.events table td { padding: 7px; text-align: left; }

section.events p { margin-top: 1em; }


/* Section - Product Sample */

section.product-sample { margin: 0 20px 20px 20px; }
section.product-sample h4 { margin-top: 0.5em; }
section.product-sample p { margin-top: 1em; }
section.product-sample table tr {background-color: #444444;}
section.product-sample table th, td { padding: 5px 7px; text-align: right; }
section.product-sample div.product-description { float: left; width: 50%; }
section.product-sample div.product-image { float: right; padding: 20px; }

/* Section - Products */

section.products { margin: 0 20px 20px 20px; color: #999; }
section.products h4 { margin-top: 0.5em; }
section.products p { margin-top: 1em; }
section.products a { 
	text-decoration: none; 
	position: inline;
	color: #999;
}
section.products a:visited { color: #999; }
section.products a:hover { color: #fff; }

section.products table tr {background-color: #333; }
section.products table td { padding: 5px 7px; text-align: right; }
section.products table th { padding: 5px 7px; text-align: center; }
section.products table td.separator { text-align: center; background-color: #555; }
section.products div.product-description { float: left; width: 60%; }
section.products div.price-list { float: right; padding: 20px; }

/* Section - About */

section.about { margin: 0 20px 20px 20px; color: #999; }

section.about div.picture { float: left; width: 25%; text-align: center; }
section.about div.text { float: left; width: 45%; margin: 0 10px; }

/* Section - ArtForUkraine */

section.ArtForUkraine { margin: 0 20px 20px 20px; color: #999; }

section.ArtForUkraine div.picture { float: left; width: 45%; }
section.ArtForUkraine div.text { float: left; width: 50%; margin: 0 10px; }

section.ArtForUkraine img { width: 400px; }

/* Navigation */

nav {
	position: absolute;
	top: 0px; left: 0px;
	padding: 54px 0 0 0;
	width: 100%;
	}
	
nav::after {content: ''; display: block; clear: both; } 
	
nav ul { padding: 0; float: right; }

nav ul li:hover { background-color: rgba(0,0,0,.7); }
nav ul li:hover > ul { display: block; }

nav ul li a {
	display: inline-block;
	color: #999;
	padding: 10px 20px;
	text-decoration: none;
	width: 170px;
	position: relative;
	font-weight: 500; 
}
nav ul li a:visited { color: #999; }
nav ul li a:hover { color: #fff; }

nav ul ul { position: absolute; top: 100%; background-color: rgba(0,0,0,.8); display: none; }
nav ul ul li { position: relative; }
nav ul ul ul { left: 100%; top: 0px; }

/* top-level */

nav > ul { margin: 0 30px; }
nav > ul > li { float: left; }
nav > ul > li > a {width: auto; padding: 10px 20px 15px 20px; }

nav a[aria-haspopup="true"]::after {
	content: '';
	display: block; width: 0px; height: 0px;
	position: absolute;
	top: 16px; right: 15px;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 6px solid #999;
}

nav a[aria-haspopup="true"]:hover::after {
	content: '';
	display: block; width: 0px; height: 0px;
	position: absolute;
	top: 16px; right: 15px;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 6px solid #fff;
}

nav > ul > li > a[aria-haspopup="true"]::after {
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #999;
	left: auto; right: 5px;
	bottom: auto; top: 20px; 
}

nav > ul > li > a[aria-haspopup="true"]:hover::after {
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #fff;
	left: auto; right: 5px;
	bottom: auto; top: 20px; 
}

/* Footer */

footer { font-size: .8em; border-top: 1px solid #999; }
footer::after {content: ''; display: block; clear: both; }

footer .copyright { display: inline; margin-left: 30px; margin-top: 10px; padding: 8px 0; position: absolute; }

footer a { color: #999; text-decoration: none; }
footer a:visited { color: #999; }
footer a:hover { color: #fff; }
footer a span { display:none; }

footer .icons { display: inline; float: right; margin-right: 30px; margin-top: 10px; }
footer .icons a { margin-left: 10px; display: inline-block; width: 32px; height: 32px; background-size: contain; }

footer .icons a.mail { background: url(img/mail_999999.svg) no-repeat 0 0; }
footer .icons a.mail:hover { background: url(img/mail.svg) no-repeat 0 0; }

footer .icons a.fb { background: url(img/fb_999999.svg) no-repeat 0 0; }
footer .icons a.fb:hover { background: url(img/fb.svg) no-repeat 0 0; }

footer .icons a.ig { background: url(img/ig_999999.svg) no-repeat 0 0; }
footer .icons a.ig:hover { background: url(img/ig.svg) no-repeat 0 0; }

/* Shopping Cart */

.shopping-cart {
	height: 100%; /* 100% Full-height */
    width: 480px; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 100; /* Stay on top */
    top: 0; /* Stay at the top */
    left: auto;
	right: -480px;
    background-color: rgba(0,0,0,0.9); 
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
	box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

form ul li { padding: 10px; border-bottom: 1px solid #999; color: #999; }
form ul li::after {content: ''; display: block; clear: both; }

form li a { 
	color: #999; 
	text-decoration: none;
	display: inline-block;
	width: 26px; height: 26px; background-size: contain;
}

form li a:visited { color: #999; }
form li a:hover { color: #fff; }
form li a span { display:none; }

form li.cart-title h3 { display: inline; padding-left: 10px; color: #fff;  }
form li.cart-title a { background: url(img/remove-999999.svg) no-repeat 0 0; float: right;  }
form li.cart-title a:hover { background: url(img/remove-white.svg) no-repeat 0 0; }

form li.cart-item a.less { background: url(img/less-999999.svg) no-repeat 0 0; margin-right: 4px; }
form li.cart-item a.less:hover { background: url(img/less-white.svg) no-repeat 0 0; }

form li.cart-item a.more { background: url(img/more-999999.svg) no-repeat 0 0; margin-left: 4px; }
form li.cart-item a.more:hover { background: url(img/more-white.svg) no-repeat 0 0; }

.item-counter { 
	font-weight:bold;
	text-indent:0;
	line-height:20px;
	display:inline-block;
	float: right;
	margin-top: 60px;
}

.item-image { padding: 10px; text-align:center; float: left; }
.item-image a { height: 100%; width: 120px; }
.item-image img { max-width: 100%; height: auto; }

.item-title { float: left; max-width:200px; text-align:left; padding-top: 10px; }

#cart input.quantity {
	background:rgba(255,255,255,0.8);
	text-align:center;
	width:26px;
	line-height:1em;
	padding:0;
	position:relative;
	top:-8px;
	border: 1px solid #dfdfdf;
	height: 26px;
	box-sizing: border-box;
	color: #555;
	outline: none;
	border-radius: 2px;
	font-size: 1em;
}
#cart input.quantity::-webkit-inner-spin-button,#cart input.quantity::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}

#cart input.quantity:hover,#cart input.quantity:focus{background:rgba(255,255,255,0.95)}

.cart-total h4 { margin: 0; padding-left: 10px; display: inline; color: #fff; }
.cart-total p { float: right; font-weight: bold; margin: 0; color: #fff; }
.cart-total i { font-weight: initial; margin-right: 20px; }
.cart-empty { text-align: center; }
#cart-item-count { display: none; }
.cart-button { 
	font-size: 1em; 
	color: #555; 
	border: 1px solid #999; 
	padding: 4px 15px;
	margin-left: 10px;
	background-color: #ccc;  
	transition: background-color .5s; 
	width: 160px;
	cursor: pointer;
}

.action-button:hover { background-color: #B4B4B4; color: #fff; border: 1px solid #fff; }

.right { float: right; }

#blocker { margin:0; top:0; right:0; bottom:0; left:0; z-index: 10; width:100%; height:100%; position:fixed;
	background:url(data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==) transparent;
	display:none;
}

.grayscale {
	-moz-filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    filter: gray; /* IE6-9 */
    filter: grayscale(100%);
}

/* PayPal Checkout */

.checkout {
	margin: 20px;
	}
#paypal-button {
	margin: 0 20px;
}

@media screen and (max-width: 1180px) {
	ol.thumbs li{ width:240px; }
	section.home img { width: 240px; }
	section.gallery img { width: 240px; }
	
	/* Section - Product */
	section.product a.btn, section.product a.btn-selected { 
		font-size: 1em; 
		padding: 4px 12px; 
		width: 46px; 
	}
	
	/* Section - Product Sample */
	section.product-sample div.product-image { padding: 10px; }
	
	/* Section - About */

	section.about img { width: 225px; }
	
}

@media screen and (max-width: 1060px) {
	h4 { font-size: 1.1em }
	ol.thumbs li{ width:210px; }
	
	/* Section - Home */
	
	section.home ol.thumbs li p { font-size: 0.9em; margin: 0.7em 0 0.9em 0; }
	section.home img { width: 210px; }
	
	/* Section - Gallery */
	
	section.gallery img { width: 210px; }
	
	/* Section - Product */
	section.product p { font-size: 1em; }
	
	section.product div.product-options span { font-size: 0.9em; width: 90px; }
	
	section.product a.btn, section.product a.btn-selected { 
		font-size: 0.9em; 
		padding: 4px 10px; 
		width: 40px; 
	}
	
	/* Section - Product Sample */
	section.product-sample div.product-image img { width: 400px; height: auto; }
	
}

@media screen and (max-width: 1000px) {
	h1 { font-size: 2.4em }
	h3 { font-size: 1.2em }
	h4 { font-size: 1em }
	ol.thumbs li{ width:185px; margin-right: 10px; }
	
	/* Header */
	header a.logo { width: 70px; height: 70px; }
	header div.banner-text { left: 110px; }
	
	header a.cart { width: 18px; right: 70px; }
	header a.cart span { padding-left: 26px; font-size: 1em; }
	
	/* Section - Home */

	section.home { margin-top: 25px; margin-bottom: 15px; width: 720px; }
	section.home ol.thumbs li{ width:210px; margin-right: 15px; }
	section.home ol.thumbs li p { font-size: 0.8em; }
	
	/* Section - Gallery */
	
	section.gallery img { width: 185px; }
		
	/* Section - Product */
	section.product div.selected-image img { width: 440px; }
	section.product div.image-description { margin-left: 30px; width: 100%; }
	section.product div.image-description h4 { margin: 10px 0 0 0; }
	section.product div.product-options { margin-left: 30px; margin-bottom: 20px; }

	section.product span#product-price { margin-left: 10px; width: 70px; }

	section.product div.product-options span { text-align: left; width: 100%; }
	section.product div.product-options br { display:none; }
	section.product div.product-type-options { display: block; }
	section.product #my-add-button { padding: 4px 10px; width: 160px; }
	
	/* Section - Events */
	
	section.events td, th { font-size: 0.9em; }
	
	/* Section - Product Sample */
	
	section.product-sample td, th, p { font-size: 0.9em; }
	section.product-sample div.product-image img { width: 360px; }
	
	/* Section - Products */	
	
	section.products div.product-description { width: 55%; }
	section.products div.price-list { padding: 15px; }
	section.products td, th { font-size: 0.9em; }
	
	/* Section - About */

	section.about img { max-width: 210px; width: 100%; height: auto; }

	/* Navigation */

	nav { padding: 50px 0 0 0; }
	nav ul li a { font-size: .9em; padding: 10px 15px; width: 150px; }

	/* top-level */

	nav > ul { margin: 0 25px; }
	nav > ul > li > a {padding: 10px 15px 15px 15px; width: auto; }
	
	nav > ul > li > a[aria-haspopup="true"]::after { right: 0px; }
	nav > ul > li > a[aria-haspopup="true"]:hover::after { right: 0px; }
	
	/* Shopping Cart */
	.shopping-cart { width: 440px; }
	.item-image { padding: 8px; }
	.item-title { max-width:180px; font-size: 0.9em; }
	.cart-button { font-size: 0.9em; width: 140px; }
	.cart-total p { font-size: 0.9em; }
	
	/* Section - ArtForUkraine */

	section.ArtForUkraine img { width: 350px; }
}

@media screen and (max-width: 825px) {
	h1 { font-size: 2.2em }
	p { margin: 0 0 0.9em 0; }
	ol.thumbs li{ width:265px; margin-right: 15px; }
	
	/* Header */
	header { height: 90px; }
	header a.logo { width: 65px; height: 65px; }
	header div.banner-text { left: 100px; }
	header a.cart { right: 60px; }

	
	/* Section - Home */

	section.home { margin-top: 20px; margin-bottom: 10px; width: 600px; }
	section.home ol.thumbs li{ width:265px; margin-right: 15px; }
	section.home ol.thumbs li p { font-size: 0.9em; }
	section.home img { width: 265px; }
	
	/* Section - Gallery */
	
	section.gallery img { width: 265px; }

	/* Section - Product */
	
	section.product div.selected-image { margin-top: 15px; float: none; width: 100%; }
	section.product div.selected-image img { width: 480px; margin: 0 auto; }

	section.product div.image-description { margin: 20px auto; float: none; width: 440px; }

	section.product div.product-options { margin: 0 auto; float: none; width: 440px; }

	section.product div.product-options span { width: 100px; }
	section.product div.product-options br { display: block; }

	section.product div.product-type-options { display: inline; }
	
	/* Section - Product Sample */
	
	section.product-sample div.product-description { float: none; width: 90%; margin: 0 auto; }
	section.product-sample div.product-image { margin-top: 15px; float: none; width: 100%; text-align: center; }
	section.product-sample div.product-image img { width: 480px; margin: 0 auto; }

	/* Section - Products */
	
	section.products div.product-description { margin: 15px auto; float: none; width: 90%; }
	section.products div.price-list { margin: 0 auto 15px auto; float: none; width: 90%; padding: 0; }
	
	/* Navigation */
	
	nav { padding: 48px 0 0 0; }

	nav ul li a { padding: 10px; }
	
	/* top-level */

	nav > ul { margin: 0 20px; }
	nav > ul > li > a {padding: 10px; width: auto; }
	
	nav > ul > li > a[aria-haspopup="true"]::after { right: -5px; }
	nav > ul > li > a[aria-haspopup="true"]:hover::after { right: -5px; }
	
	/* Section - ArtForUkraine */

	section.ArtForUkraine img { width: 270px; }

}

@media screen and (max-width: 700px) {
	h1 { font-size: 2em }
	p { font-size: 0.8em; margin: 0 0 0.8em 0; }
	
	/* Header */
	header { height: 80px; }
	header a.logo { display: none; }
	header div.banner-text { left: 20px; }
	header a.cart { top: 22px; }

	/* Section - Home */

	section.home { margin-top: 15px; margin-bottom: 10px; width: 500px; }
	section.home ol.thumbs li{ width:210px; }
	section.home ol.thumbs li p { font-size: 0.8em; }
	section.home img { width: 210px; }
	
	/* Section - Gallery */
	
	section.gallery { margin-top: 5x; }
	section.gallery h3 { font-size: 1em; }
	section.gallery ol.thumbs li p{ margin-bottom: 1em; }
	
	/* Section - About */
	
	section.about div.picture { display: none; }
	section.about div.text { width: 100%; }
	
	/* Navigation */

	nav { padding: 42px 0 0 0; }
	
	/* top-level */
	
	nav > ul > li > a[aria-haspopup="true"] {margin-right: 8px; }
	
	/* Section - ArtForUkraine */

	section.ArtForUkraine div.picture { display: none; }
	section.ArtForUkraine div.text { width: 100%; }

}

@media screen and (max-width: 575px) {
	h1 { margin: 0 0 0.5em 0; font-size: 1.8em }
	p { font-size: 0.8em; }

	/* Header */
	header { height: 70px; }
	header div.banner-text h1 { border-right: solid 1px #fff; padding-right: 10px; }
	header div.banner-text p { position: absolute; top: 0; left: 240px; padding: 0 0 0 10px; width: 200px; }
	header a.cart { top: 48px; right: 55px; }

	/* Section - Gallery */
	
	section.gallery { margin-top: 10px; }
	
	/* Section - Product */
	
	section.product div.product-options { margin-bottom: 15px; }
	section.product div.selected-image img { width: 400px; }
	
	/* Section - Events */
	
	section.events h3 { font-size: 1em; padding-top: 10px; }
	section.events td, th { font-size: 0.8em; }
	
	/* Section - Product Sample */
	
	section.product-sample div.product-image img { width: 400px; }

	/* Navigation */

	nav { padding: 40px 0 0 0; }
	/* top-level */
	nav > ul { float:none; }
	
	nav > ul > li > a {padding: 10px 10px 8px 10px; }
	nav > ul > li > a[aria-haspopup="true"] {margin-right: 10px; }
	
	/* Footer */

	footer { font-size: .7em; }
	footer .copyright { display: inline; margin-left: 20px; width: 210px; padding: 0;}
	
}

@media screen and (max-width: 425px) {
	h1 { margin: 0 0 0.5em 0; font-size: 1.6em }
	h3 { font-size: 1em; padding-top: 15px; }
	h4 { font-size: 0.9em; }

	/* Header */
	header { height: 60px; }
	header div.banner-text h1 { padding-right: 10px; }
	header div.banner-text p { left: 220px; padding: 0; width: 160px; }
	header a.cart { right: 30px; }

	/* Section - Home */

	section.home { margin-top: 20px; margin-bottom: 0px; width: 300px; }
	section.home ol.thumbs li{ width:265px; margin: 0; }
	section.home ol.thumbs li p { font-size: 0.8em; }
	section.home img { width: 265px; }
	
	/* Section - Product */
	
	section.product div.selected-image img { width: 320px; margin-top: 20px; }
	section.product div.image-description { margin-left: 20px; margin-bottom: 10px; }
	
	section.product div.product-options { margin-left: 20px; margin-bottom: 10px; }
	section.product div.product-options span { text-align: left; width: 100%; }
	section.product div.product-options br { display:none; }
		
	/* Section - Product Sample */
	
	section.product-sample { margin: 20px 10px; }
	section.product-sample div.product-image img { width: 320px; }
	
	section.product-sample td, th, p { font-size: 0.8em; }
	
	/* Section - Products */
	
	section.products div.price-list td, th, p { font-size: 0.8em; }
	
	/* Navigation */

	nav > ul { margin-left: 10px; }
	
	nav ul li a { font-size: .8em; }
	
	/* Footer */
	
	footer .icons { margin-right: 15px; }
	footer .icons a { width: 28px; height: 28px; }

}