/*
Theme Name: Horton Gallery
Theme URI: http://preggnant.com
Author: preggnant agency
Author URI: http://preggnant.com
Description: Description
Version: 1.0.0
Text Domain: horton-gallery
*/


/*--------------------------------------------------------------------------------------
# 1. GENERAL
------------------------------------------------------------------------------------*/


/*---------------------------------
# 1.1. Elements
-----------------------------------*/

body.archive.tax-display_status.term-past.term-5.logged-in.hfeed {
	background-color: #ffffff;
}
body.archive.tax-display_status.term-past.term-5.logged-in.hfeed #menu {
	background-color: #ffffff;
}
body.archive.tax-display_status.term-past.term-5.logged-in.hfeed #datebody {
	background-color: #ffffff;
}
*, *:before, *:after {
	box-sizing: inherit;
	margin: 0;
	padding: 0;
}
body, html {
	position: relative;
	max-width: 100%;
	top: 0;
	bottom: 0;
	margin: 0;
	padding: 0;
	counter-reset: section;
	overflow-x: hidden;
	    height: 100%;


}
a[title-title]:hover:after {
  content: attr(title-title);
  padding: 4px 8px;
  position: absolute;
  left: 0;
  top: 100%;
  white-space: nowrap;
  z-index: 2;
}


article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
	display: block;
}
#page {
	margin: 100px 0 0 0px;
	padding-left: 120px;
}
.clearBoth {
	clear: both;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
hr {}
ul, ol {}
ul {}
ol {
	list-style: decimal;
}
li>ul, li>ol {}
figure {
	margin: 1em 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*---------------------------------
# 1.2. Backend
-----------------------------------*/

a.post-edit-link {
	display: none;
}
.backendinfo {
	color: red;
}

/*--------------------------------------------------------------
# 1.3. Links
--------------------------------------------------------------*/

a {
	color: inherit;
	text-decoration: none;
	list-style-type: none;
	font-weight: normal !important;
}
a:visited {
	color: inherit;
}

/*
a:hover,
a:focus,
a:active {
 cursor: url('/wp-content/themes/horton-gallery/images/cursor.svg'), auto;
}
*/

a:focus {}
a:hover, a:active {
	outline: 0;
	color: #ff4444;
	padding: 0.0003rem;
}
.deactivelink:hover {
	color: #000;
	cursor: default;
}

.page-id-16 a:hover {color: inherit;}


/*--------------------------------------------------------------
# 1.4. Typography
--------------------------------------------------------------*/

body {
	font-family: 'Helvetica Neue', Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif;
	font-size: 40px;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
}
p {
	font-size: 1em;
	margin: 0.6em 0;
}
i {
	font-style: italic;
}
.textcontent {
	padding-bottom: 1.9em;
}
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}
h2 {
	font-size: 1.5em;
	margin: 0.67em 0;
}
h3 {
	font-size: 1em;
	margin: 0.6em 0;
}
h4 {
	font-size: 0.9em;
	margin: 0.4em 0;
	font-weight: normal !important;
}
button {
	font-size: 1em;
	margin: 0.4em 0;
	background-color: transparent;
}
li {
	list-style: none;
}

/*--------------------------------------------------------------
# 1.4. Images
--------------------------------------------------------------*/

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}
.gallery {
	margin-bottom: 1.5em;
}
.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}
.gallery-columns-2 .gallery-item {
	max-width: 50%;
}
.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
	max-width: 25%;
}
.gallery-columns-5 .gallery-item {
	max-width: 20%;
}
.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}
.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------------------------------
# 2. MENU
------------------------------------------------------------------------------------*/


/*--------------------------------------------------------------
#2.1. Left Side Header
--------------------------------------------------------------*/

#menu {
	width: 140vw;
	position: fixed;
	z-index: 12;
	top: 100vh;
	border-bottom: 2px solid #000;
	background: #fff;
	-moz-transform: rotate(-90deg);
	-moz-transform-origin: 0% 0%;
	-ms-transform: rotate(-90deg);
	-ms-transform-origin: 0% 0%;
	-o-transform: rotate(-90deg);
	-o-transform-origin: 0% 0%;
	-webkit-transform: rotate(-90deg);
	-webkit-transform-origin: 0% 0%;
	transform: rotate(-90deg);
	transform-origin: 0% 0%;
}
#hamburger {
	position: fixed;
	z-index: 12;
	top: 5px;
	left: 7px;
}
.hamburger {
	height: 40px;
	padding: 15px;
}
.site-branding {
	float: left;
	padding: 10px 0 10px 20px;
}
.entry-title {
	padding: 0 0 0 20px;
	border-left: 2px solid #000;
}
.site-title {
	padding: 0 0 0 25px;
}

/*--------------------------------------------------------------
#2.2. Navigation Overlay Menu
--------------------------------------------------------------*/

.main-navigation {
	float: left;
}
.secondary-navigation {
	float: right;
	padding: 0 120px 0 0;
}
#menu-item-333 a {
	color: #9fb1df;
}
#menu-item-333 a:hover {
	color: #7f8db2;
}
#menu-item-49 a {
	color: #009ee3;
}
#menu-item-49 a:hover {
	color: #007cb2;
}
#menu-item-47 a {
	color: #f3a7ca;
}
#menu-item-47 a:hover {
	color: #f977b3;
}
#menu-item-48 a {
	color: #8cd2f5;
}
#menu-item-48 a:hover {
	color: #31b7f9;
}
#menu-item-175 a {
	color: #35465c;
}
#menu-item-175 a:hover {
	color: #577eaf;
}
#menu-item-174 a {
	color: #cc3333;
}
#menu-item-174 a:hover {
	color: #911a1a;
}
.overlaymenu {
	position: fixed;
	z-index: 17;
	height: 100%;
	width: 0;
	left: 0;
	top: 0;
	background-color: rgb(0, 0, 0);
	overflow-x: hidden;
}
.overlaymenu-content {
	position: relative;
	width: 100%;
	   height: 100%;
            overflow: scroll;
}
.overlaymenu a {
	padding: 0 0 0 60px;
	color: white;
	display: block;
	transition: 0.3s;
}
.overlaymenu a:hover, .overlaymenu a:focus {
	color: yellow;
}
.overlaymenu-close {
	float: right;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	position: -webkit-sticky;
    position: sticky;
}
.close_white {
	padding: 0;
	cursor: pointer;
	width: 50px;
	height: 90px;
	background: url(/wp-content/themes/horton-gallery/images/horton_close_white.svg) 50% 50% no-repeat;
}
.main-navigation a {
	display: block;
}
.main-navigation ul ul {
	position: absolute;
	z-index: 10;
	margin-top: 125px;
	padding-left: 5%;
	margin-left: 25%;
	top: 0;
	float: left;
	opacity: 0;
	transition: opacity 0s 1s;
}
.main-navigation ul li:hover>ul, .main-navigation ul li.focus>ul {
	left: auto;
	display: block;
	opacity: 1;
	transition: opacity 0s;
}

/* Small menu. */

.menu-toggle, .main-navigation.toggled ul {
	display: block;
}
.background-content{
        height: 100%;
        overflow: auto;
    }

/*----------Artists / Exhibition Textfield Overlay----------------*/

#boxgallery {
	z-index: 9;
	position: fixed;
	top: 0px;
	margin: 0 -60px 0px -60px;
	width: 100vw;
	height: 70px;
	background-color: white;
	border-bottom: 2px solid #000;
}
button.button.overlay-launcher {
	display: inline;
	float: right;
}
button.button.overlay-launcher:hover {
	color: #ff4444;
}
.button {
	background-color: transparent;
	border: none;
	color: #000;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	padding: 0 15px;
}
.panel {
	margin-right: 70px;
}
.overlay-background {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
}
.overlay-content {
	display: none;
}
.overlay-background.active, .overlay-content.active {
	display: block;
	overflow-y: scroll;
	position: absolute;
	height: 100vh;
	width: 100%;
}
div.overlay-content.active {
	display: block;
	word-wrap: break-word;
	padding: 120px 90px 120px 60px;
	height: 80vh;
}


div.overlay-content.active p {
	padding-right: 10%;
}
div.overlay-content.active #artgallery {
	padding-right: 10%;
}
.overlay-close {
	position: fixed;
	right: -18px;

}
a.close {
	position: fixed;
	cursor: pointer;
	width: 150px;
	height: 90px;
	top: 0px;
	right: -18px;
	background: url(/wp-content/themes/horton-gallery/images/horton_close.svg) 50% 50% no-repeat;
}

/*--------------------------------------------------------------------------------------
# 2. CONTENT
------------------------------------------------------------------------------------*/


/*--------------------------------------------------------------
#2.1. Exhibitions
--------------------------------------------------------------*/

.exhibtion {
	clear: both;
}
.exhibtionsinfo {
	float: left;
	border-bottom: 2px solid #000;
	width: 100%;
	margin-left: -40px;
	padding: 40px;
}
.exhibtionsthumbnail {
	height: inherit;
	width: 30vw;
	float: right;
}
.exhibtionsthumb {
	height: inherit;
}
.exhibtionstitle {
	font-style: italic;
}
.exhibtion_past {
	padding-top: 65px;
}
.exhibtion_past_front {
	padding: 35px 0 135px 0;
}
.exhibtion_upcoming {
	margin-top: -130px;
}
.datetags {
	width: 700px;
	float: right;
	padding: 20px 80px 10px 0;
}
#datebody {
	position: fixed;
	z-index: 10;
	top: 0px;
	margin: 0 -60px 0 -60px;
	width: 100vw;
	height: inherit;
	background-color: white;
	border-bottom: 2px solid #000;
}
.datetags a {
	padding-right: 5px;
	font-size: 40px !important;
}
.flexslider {
	position: fixed;
	margin: 0;
	left: 80px;
	top: -60px;
	bottom: 0px;
	right: 0;
	padding: 0 height: 100vh;
	width: 100vw;
	overflow: hidden;
}
.flexslider .slides>li {
	display: none;
	-webkit-backface-visibility: hidden;
}
.flexslider .slides img {
	width: 100vw;
	display: block;
	margin: auto;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
html[xmlns] .flexslider .slides {
	display: block;
}
* html .flexslider .slides {
	height: 1%;
}
.no-js .flexslider .slides>li:first-child {
	display: block;
}
.flexslider .slides img {
	-moz-user-select: none;
}
.loading .flex-viewport {
	max-height: 300px;
}
.flex-direction-nav {
	*height: 0;
}
.flex-direction-nav a {
	position: absolute;
	top: 50%;
	z-index: 10;
	width: 100px;
	height: 100px;
	text-decoration: none;
	display: block;
	overflow: hidden;
	opacity: 0;
	cursor: pointer !important;
}
.flex-direction-nav a:before {
	display: inline-block;
}
li.flex-nav-next, li.flex-nav-prev {
	list-style-type: none;
}
.flex-direction-nav a.flex-next:before {}
.flex-direction-nav .flex-prev {
	left: 10px;
	opacity: 1;
	text-align: right;
	background: url(/wp-content/themes/horton-gallery/images/horton_prev.svg) 50% 50% no-repeat;
}
.flex-direction-nav .flex-next {
	right: 90px;
	opacity: 1;
	text-align: right;
	background: url(/wp-content/themes/horton-gallery/images/horton_next.svg) 50% 50% no-repeat;
}
.flex-direction-nav .flex-disabled {
	opacity: 0!important;
	filter: alpha(opacity=0);
	cursor: default;
	z-index: -1;
}
.flex-control-nav {
	position: absolute;
	width: 100%;
	bottom: -40px;
	text-align: center;
}

/*--------------------------------------------------------------
#2.2. Artists
--------------------------------------------------------------*/


/*----------Artists Hover Featured Image----------------*/

.status {
	text-transform: uppercase;
	color: #2c4a9a;
}
.wpp-post-title {
	padding: 5px 0;
	margin: 0;
}
.wpp-post-title:hover #bg {
	opacity: 1;
	visibility: visible;
}
#bg {
	z-index: -1;
	position: fixed;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	visibility: hidden;
	opacity: 0;
	transition: all 1s ease;
}
#bg img {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	min-width: 50%;
	min-height: 50%;
}

/*----------# Artist Image Grid----------------*/

.imagegrid {
	position: relative;
	width: 32.5%;
	display: inline-block;
	vertical-align: top;
	text-align: left;
	margin-bottom: 10px;
}

/*.imagegrid::before {
    counter-increment: section;
    content: "0" counter(section) ".";
}*/


/*----------# Artist Image Slider----------------*/

.chocolat-zoomable.chocolat-zoomed .chocolat-img {
	cursor: zoom-out;
}
.chocolat-open {
	overflow: hidden;
}
.chocolat-overlay {
	height: 100%;
	width: 100%;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 10;
	background-color: #fff;
	display: none;
}
.chocolat-wrapper {
	height: 100%;
	width: 100%;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 16;
	color: #000;
}
.chocolat-zoomable .chocolat-img {
	cursor: zoom-in;
}
.chocolat-loader {
	height: 32px;
	width: 32px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -16px;
	margin-top: -16px;
	z-index: 11;
	display: none;
	background: url(/wp-content/themes/horton-gallery/images/loader.gif);
}
.chocolat-content {
	z-index: 14;
	position: fixed;
	width: 0px;
	height: 0px;
	left: 50%;
	top: 50%;
	text-align: left;
	-webkit-filter: blur(0) opacity(100%);
	filter: blur(0) opacity(100%);
	transition: all .2s ease;
}
.chocolat-content .chocolat-img {
	position: absolute;
	width: 100%;
	height: 100%;
}
.chocolat-wrapper .chocolat-left {
	position: absolute;
	z-index: 17;
	left: 10px;
	width: 150px;
	height: 100px;
	top: 50%;
	margin-top: -50px;
	cursor: pointer;
	display: none;
	background: url(/wp-content/themes/horton-gallery/images/horton_prev.svg) 50% 50% no-repeat;
}
.chocolat-wrapper .chocolat-right {
	position: absolute;
	z-index: 17;
	right: 10px;
	width: 150px;
	height: 100px;
	top: 50%;
	margin-top: -50px;
	cursor: pointer;
	display: none;
	background: url(/wp-content/themes/horton-gallery/images/horton_next.svg) 50% 50% no-repeat;
}
.chocolat-wrapper .chocolat-right.active {
	display: block;
}
.chocolat-wrapper .chocolat-left.active {
	display: block;
}
.chocolat-wrapper .chocolat-top {
	position: absolute;
	top: 0px;
	right: 0;
	left: 0;
	line-height: 50px;
	height: 120px;
	overflow: hidden;
	z-index: 17;
	margin-bottom: 10px;
}
.chocolat-wrapper .chocolat-close {
	position: absolute;
	width: 150px;
	height: 90px;
	cursor: pointer;
	top: 18px;
	right: 0;
	background: url(/wp-content/themes/horton-gallery/images/horton_close.svg) 50% 50% no-repeat;
}
.chocolat-wrapper .chocolat-bottom {
	position: absolute;
	z-index: 17;
	bottom: 0;
	left: 0;
	right: 0;
	line-height: 40px;
	height: 60px;
	padding-left: 15px;
	padding-right: 15px;
	text-align: right;
}
.chocolat-wrapper .chocolat-set-title {
	display: inline-block;
	padding-right: 15px;
	line-height: 1;
	border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.chocolat-wrapper .chocolat-pagination {
	float: right;
	display: inline-block;
	padding-left: 15px;
	padding-right: 15px;
	margin-right: 15px;
	/*border-right: 1px solid rgba(255, 255, 255, 0.2);*/
}
.chocolat-wrapper .chocolat-fullscreen {
	width: 86px;
	height: 30px;
	display: block;
	margin: auto;
	cursor: pointer;
	float: right;
	background: url(/wp-content/themes/horton-gallery/images/fullscreen-black.svg) 50% 50% no-repeat;
}
.chocolat-description {
	display: inline-block;
	float: left;
	position: absolute;
	z-index: 16;
	text-align: center;
	top: 50%;
	margin-top: -100px;
	width: 50%;
	padding: 0 25%;
	height: 100%;
	white-space: pre-line;
	visibility: hidden;
	opacity: 0;
	transition: all .2s ease;
}
.chocolat-description.show {
	opacity: 1;
	visibility: visible;
}
.chocolat-content.blur {
	-webkit-filter: blur(2px) opacity(70%);
	filter: blur(2px) opacity(70%);
}

/* no container mode*/

body.chocolat-open>.chocolat-overlay {
	z-index: 15;
}
body.chocolat-open>.chocolat-loader {
	z-index: 15;
}
body.chocolat-open>.chocolat-content {
	z-index: 17;
}

/* container mode*/

.chocolat-in-container .chocolat-wrapper, .chocolat-in-container .chocolat-content, .chocolat-in-container .chocolat-overlay {
	position: absolute;
}
.chocolat-in-container {
	position: relative;
}
.chocolat-zoomable .chocolat-top, .chocolat-zoomable .chocolat-bottom, .chocolat-zoomable .chocolat-right, .chocolat-zoomable .chocolat-left {
	transition: opacity .3s ease, visibility 0s .3s;
	opacity: 1;
}
.chocolat-zoomable.chocolat-zoomed .chocolat-top, .chocolat-zoomable.chocolat-zoomed .chocolat-bottom, .chocolat-zoomable.chocolat-zoomed .chocolat-right, .chocolat-zoomable.chocolat-zoomed .chocolat-left {
	visibility: hidden;
	opacity: 0;
}

/*--------------------------------------------------------------
#2.3.Page
--------------------------------------------------------------*/

.content {
	padding: 0 2rem 5rem 0;
	color: white;
	line-height: 1.2;
}
.content a {
	border-bottom: 2px solid #fff;
}
.content a:hover {
	border-bottom: 2px solid #ff4444;
}

/*--------------------------------------------------------------
#2.3.1. Residency
--------------------------------------------------------------*/

body.page-id-30 #menu {
	color: white;
	border-bottom: 2px solid #fff;
}
body.page-id-30 .site-title a {
	color: white;
}
body.page-id-30 .hamburger {
	fill: #fff;
}
body.page-id-30 .entry-title {
	padding: 0 0 0 20px;
	border-left: 2px solid #fff;
}
.wp-caption-text {
	white-space: normal;
}

/*--------------------------------------------------------------
#2.3.1 News
--------------------------------------------------------------*/

body.page-id-28 #menu {
	color: white;
	border-bottom: 2px solid #fff;
}
body.page-id-28 .site-title a {
	color: white;
}
body.page-id-28 .entry-title {
	padding: 0 0 0 20px;
	border-left: 2px solid #fff;
}
body.page-id-28 .hamburger {
	fill: #fff;
}
.news {
	width: 100%;
	overflow-x: hidden;
}
.marquee {
	text-transform: uppercase;
	color: #fff;
	border-bottom: 2px solid #fff;
	font-size: 2em;
	overflow: hidden;
	white-space: nowrap;
	box-sizing: border-box;
	animation: marquee 50s linear infinite;
	background-color: inherit;
	position: fixed;
	top: 0px;
	margin: 0 -60px 0px -60px;
	width: 100vw;
	height: 100px;
	padding: 5px 0 5px 0;
}
@keyframes marquee {
	0% {
		text-indent: 27.5em
	}
	100% {
		text-indent: -105em
	}
}

/*--------------------------------------------------------------
#2.4. Info
--------------------------------------------------------------*/

body.page-id-120 #menu {
	color: white;
	border-bottom: 2px solid #fff;
}
body.page-id-120 .entry-title {
	border-left: 2px solid #fff;
}
body.page-id-120 #hamburger {
	fill: #fff;
}
.contact {
	float: left;
	width: 600px;
	padding-right: 20px;
	white-space: nowrap;
}
.map {
	width: 100%;
	height: 600px;
	margin-top: 0.6em;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

/*--------------------------------------------------------------
#2.5. 404 / No Search Results
--------------------------------------------------------------*/

body.error404.hfeed {
	background-color: #000;
}
body.error404.hfeed #menu {
	background-color: #000;
	color: white;
	border-bottom: 2px solid #fff;
}
body.error404.hfeed.site-title a {
	color: white;
}
body.error404.hfeed .entry-title {
	border-left: 2px solid #fff;
}
body.error404.hfeed #hamburger {
	fill: #fff;
}
body.error404.hfeed .hamburger {
	fill: #fff;
}
body.error404.hfeed {
	color: #fff;
	line-height: 1.2;
}
input.search-field {}
input.search-submit {
	display: none;
}

/*--------------------------------------------------------------
#2.6. Start
--------------------------------------------------------------*/

#logo {
	position: fixed;
	top: 20%;
	right: 15%;
	font-size: 100px;
}
.previewimages {
	float: left;
	position: relative;
	width: 25%;
	margin-right: 30px;
	height: inherit;
}
.previewimages img {
	width: 100%;
	vertical-align: top;
}
.previewimages:after {
	content: '\A';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: #000;
	opacity: 1;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
}
.previewimages:hover:after {
	opacity: 0;
}
#imagetitle {
	/* Text Startseite */
	float: left;
	line-height: 1.2;
	text-align: left;
	font-size: 40px;
	margin: auto;
	width: 600px;
	padding: 40px 100% 0 0;
}
.previewimages:hover #previewimagecontainer {
	display: none;
}

/* Grow */

.hvr-grow {
	display: inline-block;
	vertical-align: middle;
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	transition-duration: 0.3s;
	transition-property: transform;
}
.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
	transform: scale(1.1);
}

/*--------------------------------------------------------------
#2.7. Newsletter
--------------------------------------------------------------*/

#mc_embed_signup {
	text-align: center;
	display: inline-block;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 600px;
	height: 300px;
	margin: auto;
}
#mc-embedded-subscribe {
	font-size: 30px;
	color: #fff;
	background-color: #000;
	padding: 15px 15px;
	margin-top: 50px;
}
#mce-EMAIL {
	width: 400px;
	height: 40px;
	margin-top: 50px;
	font-size: 20px;
}

/*--------------------------------------------------------------
#3. Media
--------------------------------------------------------------*/


/* ----------- MAX WIDTH 480 ------------*/

/*@media only screen and (max-width: 480px) {
	body {
		width: 100%;
		font-size: 16px;
	}
	.site-content {
		padding: 0 5px 10px 50px;
	}
	#hamburger {
		position: fixed;
		z-index: 12;
		top: 5px;
		left: 0;
	}
	.hamburger {
		height: 40px;
		padding: 10px;
	}

	#boxgallery {
		display: none;
	}
	.flex-direction-nav .flex-prev {
		left: 20px;
		opacity: 1;
		text-align: right;
		background: url(/wp-content/themes/horton-gallery/images/horton_prev.svg) 50% 50% no-repeat;
	}
	#logo {
		position: fixed;
		top: 2%;
		right: 5%;
		font-size: 70%;
	}
	.main-navigation ul ul {
		display: none;
	}
	#imagetitle {
		font-size: 15px !important;
	}
	body.imagegrid {
		width: 100%;
	}
	.previewimages {
		width: 100%;
	}
	.overlaymenu a {
		padding: 0;
		color: white;
		display: block;
		transition: 0.3s;
	}
}*/

/* ----------- MAX WIDTH 800 ------------*/

@media only screen and (max-width: 800px) {
	body {
		font-family: sans-serif;
	}
	.site-content {
	}
	#menu {
		display: none;
	}
	.main-navigation a, .secondary-navigation, .overlaymenu a{
	    padding-right: 0 !important;
	}
	.overlaymenu-content h3{
	    font-size: 35px;
	    }
	    
	.overlaymenu-close {
    position: sticky;
    top: 20px;
    }
    .close_white {
	    width: 25px;
	    height: 45px;
    }
	.hamburger {

		height: 35px;
		padding: 20px 8px;
	}
	
	/*----------Artists / Exhibition Textfield Overlay----------------*/

#boxgallery {
    font-size: 20px;
	background-color: white;
	width: 100vw;
	right: 0;
	border-bottom: 2px solid #000;
    }

div#boxgallery.boxgallery{	
border-bottom: 2px solid #000;
}


.button {
    padding: 5px 0 0 15px;

}


div.overlay-content.active {
    margin-top: 50px;
	display: block;
	word-wrap: break-word;
	height: 80vh;
	overflow-y: scroll !important;
	padding: 20px !important;
}






a.close {

	width: 75px;
	height: 45px;
	top: 20px;
	right:0;	
}

	
	#mapDiv {
		width: 100%;
	}
	.marquee {
		display: none;
	}
	#page {
		margin: 80px 20px 20px 20px;
		padding: 0;
	}
	#imagetitle {
		font-family: sans-serif;
		font-size: 26px;
	}
	body.imagegrid {
		width: 49%;
	}
	#boxgallery {
		position: fixed;
		z-index: 10;
		padding-top: 20px;
		;
		top: 0;
		left: 0;
		margin: 0;
		width: 100vw;
		height: 60px;
		background-color: white;
		border-bottom: none;
	}
	.exhibtion {
		clear: both;
		padding: 10px 10;
		margin-top: 80px;
	}
	span.exhibtionsinfo {
		padding: 20px 20px 20px 40px;
		word-wrap: break-word;
	}
	.exhibtion_past {
		padding-top: 0;
	}
	#datebody {
		display: none;
	}
	.panel {
		margin-right: 30px;
	}
	div.overlay-content.active {
		height: 80vh;
		width: 100%;
		padding: 120px 0px 0px 40px;
		word-wrap: break-word;
		hyphens: auto;
	}
	.flexslider {
		margin: 0;
		padding: 0;
		top: 100px;
		left: 0;
		width: 100%;
		max-height: 100%;
	}
	.flexslider .slides>li {
		display: none;
		-webkit-backface-visibility: hidden;
	}
	.flexslider .slides img {
		display: block;
	}
	.flexslider .slides:after {
		display: block;
		clear: both;
		visibility: hidden;
		line-height: 0;
		height: 0;
	}
	.wpp-post-title:hover .wpp-thumbnail.wpp_cached_thumb.wpp_featured {
		display: none;
	}
	.imagegrid {
		position: relative;
		width: 100%;
		display: inline-block;
		vertical-align: top;
		text-align: left;
		margin-bottom: 10px;
	}
	.chocolat-content {
		z-index: 14;
		position: fixed;
		width: 0px;
		height: 0px;
		text-align: left;
	}
	.chocolat-content .chocolat-img {
		position: absolute;
		width: 100%;
		height: 100%;
	}
	.chocolat-wrapper .chocolat-left {
		position: absolute;
		left: 0;
		width: 50px;
		height: 100px;
		top: 50%;
		margin-top: -50px;
		cursor: pointer;
		z-index: 17;
		display: none;
		background: url(/wp-content/themes/horton-gallery/images/horton_prev.svg) 50% 50% no-repeat;
	}
	.chocolat-wrapper .chocolat-right {
		position: absolute;
		right: 0;
		width: 50px;
		height: 100px;
		top: 50%;
		margin-top: -50px;
		cursor: pointer;
		z-index: 17;
		display: none;
		background: url(/wp-content/themes/horton-gallery/images/horton_next.svg) 50% 50% no-repeat;
	}
	.main-navigation {
		float: left;
	}
	.secondary-navigation {
		float: left;
	}
	.overlaymenu {
		position: fixed;
		z-index: 17;
		height: 100%;
		width: 0;
		left: 0;
		top: 0;
		background-color: rgb(0, 0, 0);
		overflow-x: hidden;
	}
	.main-navigation a {
		padding-right: 300px;
		display: block;
		float: left;
		position: realtive;
	}
	.main-navigation ul ul {
		display: none;
	}
	.main-navigation ul li:hover>ul, .main-navigation ul li.focus>ul {
		display: none;
	}
}

/* ----------- MAX WIDTH 860 ------------*/

@media screen and (max-width: 860px) {
	.flex-direction-nav .flex-prev {
		opacity: 1;
		left: 10px;
	}
	.flex-direction-nav .flex-next {
		opacity: 1;
		right: 10px;
	}
}

/* ----------- MAX DEVICE WIDTH 1024 ------------*/

@media only screen and (min-width: 1000px) {
	imagegrid {
		width: 49%;
	}
	h3 {
		font-size: 1.5em;
		margin: 0.4em 0;
	}
}

/* --------------------------------- MAX HEIGHT ---------------------------------------*/


/* ----------- MAX HEIGHT 800 ------------*/

@media screen and (max-height:800px) {
	.site-branding {
		font-size: 35px;
	}
	#imagetitle {
		font-size: 30px;
	}
}