body {
	font-family: Helvetica, Arial;
	font-weight: normal;
	font-size: 13px;
	line-height: 16px;
	letter-spacing: 0.5px;
}

/* --------------- Layout ---------------  */

.columns {
	display: flex;
}

.columns div {
	margin-right: 10px;
	width: calc(50% - 5px);
}

.columns div:nth-of-type(2n) {
	margin-right: 0px;
}

.columns div img {
	line-height: 0px;
	font-size: 0px;
	width: 100%;
	margin-bottom: 8px;
}

.container {
	max-width: 1000px;
	margin: auto;
	background-color: white;
	padding: 10px;
}

hr {
	height: 0; 
	border: 0; 
	border-top: 2px solid black;
	margin-bottom: 10px;
}

img {
	width: 100%;
}

img.article-hero {
	line-height: 0px;
	font-size: 0px;
	width: 100%;
	margin-top: 0px;
	margin-bottom: 8px;
}

.logo {
	float: right;
	position: relative;
	right: 0px;
	width: 165px;
	cursor: pointer;
}

.noshow {
	display: none;
}

footer {
	clear: both;
	padding-top: 60px;
}

.search {
	margin-top: 11px;
	display: flex;
	margin-bottom: -10px;
}

.search-field {
	box-sizing: border-box;
	height: 40px;
	margin-right: 10px;
}

.upload {
	display: flex;
}

.upload-field {
	margin-right: 10px;
}

p.last {
	margin-bottom: -10px;
}

.artists-list {
	column-count: 3;
}

div.message {
	background-color: yellow;
	width: 100%;
	box-sizing: border-box;
	display: block;
	padding: 10px;
}

div.pdf img {
	width: 50px;
	height: auto;
}

div.pdf a {
	display: flex;
	align-items:center;
}

div.pdf h4 {
	margin-left: 10px;
}

div.message p {
	padding-bottom: 0px;
}

.articles {
	clear: both;
}

.articles div {
	width: 100%;
	border-bottom: 1px solid lightgray;
	margin-bottom: 10px;
}

.articles div:nth-of-type(2n) {
	margin-right: 0px;
}

.articles div img {
	object-fit: cover;
	width: 100%;
	max-height: 600px;
}

.article-text {
	max-width: 600px;
}

.unpublished {
	opacity: 0.2 !important;
}

.private-preview a {
	color: orange;
}

.event img {
	width: 100%;
	height: auto;
}

.event div {
	float: left;
	width: calc(50% - 10px);
	padding-top: 10px;
	padding-bottom: 6px;
}

.event div.banner {
	padding-right: 10px;
}

.event div.info a.button:last-of-type {
	margin-bottom: -5px;
}

.event {
	clear: both;
	display: block;
	border-top: 0.5px solid lightgray;
}

.banners:after {
	content: "";
	display: table;
	clear: both;
}

.banners div {
	width: calc(50% - 10px);
	float: left;
	padding-right: 10px;
	padding-bottom: 10px;
}

.banners div:nth-of-type(2n) {
}

.banners form {
	margin-top: 5px;
}

/* --------------- Calendar ---------------  */

table.calendar {
	width: 100%;
	margin-bottom: -5px;
	margin-top: 10px;
}

table.calendar td {
	display: table-cell;
	box-sizing: border-box;
	border-top: 0.5px solid lightgray;
	vertical-align: top;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-right: 10px;
}

.calendar td.banner {
	width: 50%;
}

table.calendar td.name {
	width: 40%;
}

table.calendar td.city {
	width: 25%;
}

table.calendar td.artists {
	width: 15%;
}

table.calendar td.action {
	text-align: right;
	padding-right: 0px;
	width: 20%;
}

table.calendar td.action a {
	margin-bottom: 0px;
}

table.calendar td.date {
	min-width: 110px;
}

table.calendar img {
	height: 100px;
	width: auto;
	margin-right: 10px;
	margin-top: 5px;
}

/* --------------- Menu ---------------  */

.artworks-index {
	display: flex;
	margin-top: 10px;
	margin-bottom: 10px;
}

.artworks-index img {
	object-fit: cover;
	width: calc((100% - 30px)/4);
	max-height: 240px; 
	padding-right: 10px;
}

.artworks-index img:nth-of-type(4n) {
	padding-right: 0px;
}

.artworks-profile {
	display: flex;
	height: 200px;
	display: block;
	margin-top: 0px;
	margin-bottom: 0px;
	width: 100%;
}

.artwork-profile {
	position: relative;
	box-sizing: border-box;
	float: left;
	object-fit: cover;
	width: calc(50% - 5px);
	margin-bottom: 8px;
	margin-right: 10px;
}

.sold {
	height: 40px;
	position: absolute;
	z-index: 100;
	background-color: red;
	color: white;
	text-align: left;
	top: 10px;
	right: 10px;
	padding: 12px 20px;
	border-radius: 20px;
	box-sizing: border-box;
	cursor: pointer;
}

.artwork-profile:nth-of-type(2n) {
	margin-right: 0px;
}

.artist {
	border-bottom: 1px solid lightgray;
}

.artist:last-of-type {
	border-bottom: 0px;
}

.book {
}

a.selected, span.selected {
	background-color: #ddd !important;
	color: black;
}

.delete-right {
	float: right;
	background-color: red !important;
	margin-top: -55px;
}

button.clear {
	margin-top: -42px;
	margin-right: 0px;
	width: initial;
	float: right;
	background-color: red !important;
}

.delete-right:hover, button.clear:hover {
	background-color: blue !important;
}

a.delete-image, a.sold-image, a.mark-as-sold-image {
	position: absolute;
	z-index: 100;
	background-color: black;
	color: white;
	text-decoration: none;
	padding: 10px 20px;
	border-radius: 20px;
	box-sizing: border-box;
	margin-bottom: 10px;
	margin-right: 5px;
}

a.delete-image:hover, a.sold-image:hover, a.mark-as-sold-image:hover {
	background-color: blue;
	color: white;
}

a.delete-image {
	top: 50px;
	right: 5px;
}

a.sold-image, a.mark-as-sold-image {
	top: 10px;
	right: 5px;
}

a.sold-red {
	background-color: red;
}

.artworks-edit img {
}

/* --------------- Typography ---------------  */

h1, h2, h3, h4, p {
	font-weight: normal;
	margin-bottom: 5px;
	margin-top: 0px;
	max-width: 600px;
}

h1, h2 {
	font-size: 30px;
	line-height: 30px;
	letter-spacing: -0.5px;
	
}

h3, h4 {
	font-size: 18px;
	line-height: 18px;
	letter-spacing: 0px;

}

i, em {
	font-style: italic;
	letter-spacing: 0.7px;
}

p {
	max-width: 600px;
	padding-bottom: 10px;
}

::selection {
	color: white;
	background: blue; /* WebKit/Blink Browsers */
}

ul {
	list-style-type: "✓ ";
	margin-left: 15px;
}

/* --------------- Buttons ---------------  */


a:focus, a:visited, a:active{
	outline: none;
}

a {
	color: black;
}

a:hover {
	color: blue;
}

nav {
	margin-bottom: -5px;
}

.button, nav a, button {
	background-color: black;
	color: white;
	text-decoration: none;
	display: inline-block;
	padding: 12px 20px;
	border-radius: 20px;
	box-sizing: border-box;
	margin-right: 5px;
	margin-bottom: 10px;
	white-space: nowrap;
	user-select: none;
	cursor: pointer;
}

nav a {
	border: 0px;
}

.button:hover, nav a:hover {
	background-color: blue !important;
	color: white !important;
}

a.close {
	display: inline-block;
	box-sizing: border-box;
	text-decoration: none;
	float: right;
	border: 0px;
	background-color: black;
	color: white;
	width: 30px;
	height: 30px;
	padding: 8px 10px;
	text-align: center;
	vertical-align: center;
	border-radius: 20px;
	
}

a.close:hover {
	background-color: blue !important;
}


a.right {
	float: right;
}

.tabs {
	border-bottom: 2px solid black;
	margin-bottom: 10px;
}

a.tab {
	text-decoration: none;
	padding: 10px 20px;
	display: inline-block;
	width: initial;
	background-color: white;
	color: black;
	border: 2px solid black;
	border-radius: 10px;
	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 0px;
	margin-bottom: -2px;
	margin-right: -6px;
}

.tabs a:hover {
	background-color: #ddd;
}

.tabs a.selected {
	border-bottom: 2px solid white;
	background-color: white !important;
}

hr + .tabs {
	background-color: white;
	margin-top: -12px;
}


/* --------------- Logo Gallery ---------------  */

div.logo-gallery-item {
	width: 220px; display: inline-block; padding-right: 10px;
}

/* --------------- Form ---------------  */

form.form-button {
	display: inline-block;
	padding-right: 5px;
}

input:focus, textarea {
	outline: none !important;
}

input {
	max-width: 500px;
	font-family: Helvetica, Arial;
	font-size: 13px;
	line-height: 16px;
	letter-spacing: 0.5px;
	box-sizing: border-box;
	background-color: #ddd;
	padding: 10px 20px;
	margin-bottom: 2px;
	border-radius: 20px;
	border: 0px solid black;
	width: 100%;
	-webkit-appearance: none;
}

select {
	background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 140 140' width='20' height='20' xmlns='http://www.w3.org/2000/svg'><g><path d='m121.3,34.6c-1.6-1.6-4.2-1.6-5.8,0l-51,51.1-51.1-51.1c-1.6-1.6-4.2-1.6-5.8,0-1.6,1.6-1.6,4.2 0,5.8l53.9,53.9c0.8,0.8 1.8,1.2 2.9,1.2 1,0 2.1-0.4 2.9-1.2l53.9-53.9c1.7-1.6 1.7-4.2 0.1-5.8z' fill='black'/></g></svg>") no-repeat;
	background-position: calc(100% - 0.75rem) center !important;
	font-family: Helvetica, Arial;
	font-size: 13px;
	line-height: 16px;
	letter-spacing: 0.5px;
	padding: 10px 20px;
	min-width: 50%;
	background-color: #ddd;
	border: 0px solid black;
	border-radius: 20px;
	margin-bottom: 2px;
	display: block;
	box-sizing: border-box;
	height: 40px;
	-webkit-appearance: none;
}

input[type=date], input[type=time] {
	height: 40px;
	width: initial;
	-webkit-appearance: none;
	letter-spacing: 0.5px;
}

::placeholder {
	font-size: 13px;
	line-height: 16px;
	color: black;
	letter-spacing: 0.5px;
}

input[type=submit], input[type=reset], button {
	width: inherit;
	background-color: black;
	color: white;
	border: 0px;
	box-sizing: border-box;
	display: block;
	height: 40px;
	-webkit-appearance: none;
	cursor: pointer;
	font-weight: normal;
	font-size: 13px;
	line-height: 16px;
	letter-spacing: 0.5px;
	white-space: nowrap;
}

input[type=submit]:disabled {
	display: block;
	background-color: lightgray !important;
	color: black !important;
}


input[type=submit].small {
	width: initial;
}

.subscribe {
	display: flex;
}

.subscribe input {
	margin-right: 10px; 
}

.subscribe-button {
	width: 30%;
}

input[type=submit]:disabled,
input[type=submit][disabled]{
	-webkit-appearance: none;
	background-color: white;
	color: black;
	cursor: default;
	pointer-events: none;
}

input[type=submit]:hover {
	background-color: blue !important;
	color: white !important;
}

textarea {
	width: 100%;
	font-family: Helvetica, Arial;
	font-size: 13px;
	line-height: 16px;
	height: 150px;
	font-size: 13px;
	line-height: 16px;
	letter-spacing: 0.5px;
	box-sizing: border-box;
	background-color: #ddd;
	padding: 10px 20px;
	margin-bottom: 2px;
	border-radius: 20px;
	border: 0px solid black;
	width: 100%;
	-webkit-appearance: none;
}

textarea.big {
	height: 500px;
}

textarea.email {
	height: 1000px;
}

label {
	display: block;
	margin-top: 10px;
}

input[type=color] {
	background: none;
	display: inline-block;
	width: 40px;
	height: 40px;
	padding: 0px;
	box-sizing: border-box;
	margin: 0px;
	border-radius: 40px;
	border: none;
	cursor: pointer;
}

input[type=color] + h3 {
	display: inline-block;
	box-sizing: border-box;
	height: 40px;
	margin-top: 11px;
	margin-left: 10px;
	vertical-align: top;
}

input[type="color"]::-webkit-color-swatch-wrapper {
	padding: 0;
}
input[type="color"]::-webkit-color-swatch {
	border: solid 2px black; /*change color of the swatch border here*/
	border-radius: 40px;
}


/* --------------- Tiny MCE ---------------  */

.tox-notifications-container {
	display: none !important;
}

.tox-tinymce {
	border: 0px !important;
	border-radius: 20px !important;
}
.tox .tox-toolbar, .tox .tox-toolbar__overflow, .tox .tox-toolbar__primary {
	background: #ddd !important;
}

/* --------------- Mobile ---------------  */

@media screen and (max-width:800px) {
	body {
		background-image: none;
	}
	
	.artworks-index {
		max-height: 90px; 
	}

	.subscribe {
		display: block;
	}

	.subscribe input[type=submit] {
		margin-top: 20px;
	}

	.logo {
		width: 160px;

	}

	.columns-articles div {
		display: block;
		width: 100% !important;
	}

	.artists-list {
		column-count: 2;
	}

	.event div {
		width: 100%;
	}

	.event div.info {
		display: none;
		margin-bottom: 10px;
		margin-top: -10px;
	}

	.event {
		border-top: 0px;
	}

	.event div.banner {
		padding-top: 0px;
	}

	div.logo-gallery-item {
		width: 105px; display: inline-block; padding-right: 10px;
	}

}

