/*
	Theme Name: Sladmore Gallery
	Theme URI: http://sladmore.com
	Description: Sladmore WordPress Theme
	Version: 1.0.2
	Author: Grey 
	Author URI: http://artdomain.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html, 
body {
    height: 100%;
}
html {
	font-size:62.5%;
}
body {
	font:300 14px/1.4 'Stoke', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#000;
	background-color:#fff;

}
  
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}



h1, h2, h3, h4, h5, h6{font-weight:normal}
#sub_title{font-size:13px}
h1{margin-top:0;}
img {
	max-width:100%;
	vertical-align:bottom;
}
p{
	text-align: justify;
    text-justify: inter-word;
}
a {
	color:#000;
	text-decoration:none;
}
a:hover {
	color:#6f95a8;
}
a:focus {
	outline:1px solid white;
}
a:hover,
a:active {
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

main{
}
/* wrapper */
.wrapper {
	width:100%;
	margin:0 auto;
	position:relative;
	min-height: 100%;
	padding-bottom: 60px;
}
/* header */
@media only screen and (min-width:320px) {
	.header .logo{
		margin-top: 10px;
		margin-bottom:10px;
	}
	.header .logo img{
		max-width:200px;
	}
}
@media only screen and (min-width:801px) {
	.header .logo{
		margin-top: 40px;
		margin-bottom:0px;
	}
	.header .logo img{
		max-width:300px;
	}
}
/* logo */
.logo {
	margin-top: 40px;
	font-size:25px;
	text-transform:uppercase;
	text-align:center;
	letter-spacing:5px;
	line-height:50px;
}
.logo a{
   	height:65px; 
}
.logo a:hover{
	color:#fff;
}
.logo-img {

}
/* nav */
.nav {
	margin: 0 auto;
}
.nav ul{
	padding:0px;
	text-align: center;
}
.nav li{
    	float: none;
    	display: inline-block;
	text-align: center;
	line-height:67px;
	letter-spacing:2px;
	text-transform:uppercase;
}
.nav a{
	-webkit-transition: color 0.3s ease;
    	-moz-transition: color 0.3s ease;
    	-o-transition: color 0.3s ease;
    	transition: color 0.3s ease;
    	-webkit-transition: color 0.3s ease;
    	-moz-transition: color 0.3s ease;
   	-o-transition: color 0.3s ease;
   	transition: color 0.3s ease;
}
.nav .current-menu-item a{
	color:#6f95a8
}
.grow { transition: all .2s ease-in-out; }
.grow:hover { transform: scale(1.1); }
.exhibition-box.grow{opacity:0.7}
.exhibition-box h2 {opacity:1}
.exhibition-box.grow:hover{opacity:1}

.exhibition-box-fw.grow{opacity:0.7}
.exhibition-box-fw h2 {opacity:1}
.exhibition-box-fw.grow:hover{opacity:1}

#ch-social-links { list-style: none; margin: 0; padding: 0; }
#ch-social-links li { margin: 0; padding: 0; display: inline-block; text-align: right; }
#ch-social-links a { display: inline-block; height: 20px; width: 25px; background: url('/wp-content/uploads/2016/07/social.png'); transition: none; }
#ch-social-links a span { display: none; }
#ch-social-links .ch-twitter { background-position: 0 -20px; }
#ch-social-links .ch-google { background-position: -50px -20px; }
#ch-social-links .ch-facebook { background-position: -25px -20px; }
#ch-social-links .ch-instagram { background-position: -100px -20px; }
#ch-social-links .ch-search { background-position: -75px -20px; margin-right: 5px; }
#ch-social-links .ch-twitter:hover { background-position: 0 0; }
#ch-social-links .ch-google:hover { background-position: -50px 0; }
#ch-social-links .ch-facebook:hover { background-position: -25px 0; }
#ch-social-links .ch-search:hover { background-position: -75px 0; }
#ch-social-links .ch-instagram:hover { background-position: -100px 0; }
#ch-social-links .ch-searchtext { width:125px; background:none; color:#c2c2c2;   }
#ch-social-links .ch-searchtext:hover {color:white;}
#socialmedia{position:absolute;right:30px; bottom: 15px;}
/* sidebar */
.sidebar {

}
/* footer */
.footer {
	position:absolute;
	bottom:0;
	width:100%;
	height:60px; 
}
.footer .copyright{
	position: absolute;
	bottom: 15px;
	left: 30px;
}
.selected-filter{
  	color:#6f95a8;
	/* border-bottom: 1px solid #fff !important;*/
}
#filters{
	text-align:center;
	text-transform:uppercase;
	letter-spacing: 2px;
	height: 50px;
}
#filters a{
	padding: 4px 8px;
}
#artist-filters{
	text-align:left;
	text-transform:uppercase;
	letter-spacing: 2px;
    border: solid;
    border-width: 1px 0 1px 0;
    border-color: #000;
    padding: 5px 0;
	margin: 0 0 20px 0;
}
#filters a{
	padding: 4px 8px;
}
#artist-filters a{
 padding-right:20px; 
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/

.map{width:66%;float:left;}
.mapdetails{width:30%;float:right;}

/*------------------------------------*\
    Noteable
\*------------------------------------*/
.player .controls-wrapper .title{display:none;}
.player .controls-wrapper .sidedock{display:none;}
.player .controls-wrapper .logo{display:none;}


h2.notable-title{
    font-weight:300;
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
	letter-spacing: 2px;
}
article.notable-box{
	float:left;
  	position: relative;
    overflow: hidden;
}

article.notable-box .caption{
  	position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 10px;
    color: white;
    transform: translateY(100%);
    transition: transform .35s ease-out;
}

article.notable-box h2.notable{
  	text-transform:uppercase;
  	text-align:center;
}

article.notable-box h3.notable{
  	text-align:center;
}
article.notable-box:hover .caption{
  	transform: translateY(20%);
}
article.notable-box img { transition: all .2s ease-in-out; }
article.notable-box:hover img { transform: scale(1.1); }

article.notable-page h2{
	font-weight:300;
	font-size:18px;
	text-transform:uppercase;
	letter-spacing: 2px;
  	
}

/*------------------------------------*\
	Films
\*------------------------------------*/
h2.notable-title{
    font-weight:300;
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
	letter-spacing: 2px;
}
.film-box{
  	display:inline-block;
  	position: relative;
    overflow: hidden;
}

.film-box .caption{
  	position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 10px;
    color: white;
    transform: translateY(100%);
    transition: transform .35s ease-out;
}

.film-box h2.notable{
  	text-transform:uppercase;
  	text-align:center;
}

.film-box h3.notable{
  	text-align:center;
}
.film-box:hover .caption{
  	transform: translateY(20%);
}
.film-box img { transition: all .2s ease-in-out; }
.film-box:hover img { transform: scale(1.1); }

.notable-page h2{
	font-weight:300;
	font-size:18px;
	text-transform:uppercase;
	letter-spacing: 2px;
  	
}

/*------------------------------------*\
    Publications
\*------------------------------------*/

h1.publication-title{font-size:18px}
div.publications.category-catalogues{display:none;}
div.category-conservation{display:none;}

div.publications{
	display:inline-block;
	vertical-align:top;
	margin-bottom: 20px
}
div.publications a{padding:0 10px;}
div.publications img{max-width:calc(100% - 20px);}
div.publications h2{font-size:14px;padding-left: 10px;text-indent: -10px;}
.publication-thumb{width:100%;position:relative;}

.publication-left{float:left;padding-right:20px;max-width:40%;max-height:90vw;}
/*------------------------------------*\
    Artists
\*------------------------------------*/
.artist-listpage{
    margin: 0.5% 0.5% 20px 0.5%;
  	display:inline-block;
	vertical-align:top;
	width:99%;
  	overflow:hidden;
}
.artist-listpage h2{
  	margin:55% 0 0 0;
    padding:0px 6px;
    vertical-align:middle; /*middle centred*/
    display:inline-block;
    border: 2px solid white;
    text-transform: uppercase;
    font-size: 4.0vh;
  	text-shadow: black 0.1em 0.1em 0.2em;
	  color:#fff;
}
.artist-listpage h2:hover{
    border: 2px solid #6f95a8;
}
.artist-listpage a:hover h2{
		
    border: 2px solid #6f95a8;
	  }
.artist-thumbnail{position:relative;width: 100%;    
  	background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.artist-thumbnail img{
    position: absolute;  
    top: 0;  
    bottom: 0;  
    left: 0;  
    right: 0;  
    margin: auto;
  	max-width:100%;
  	max-height:100%;
	height: 100vw;
}


.artist-selectedwork{
  	display:inline-block;
}
.artist-selectedwork img{	
	width:45vw;
}
@media only screen and (min-width:269px) {
	.artist-selectedwork{
		margin:0 3.5vw;
	}
	.artist-selectedwork img{	
		width:90vw;
	}
	.artist-selectedwork h2{	
		width:90vw;
		overflow:hidden;
		height: 18px;
	}
}
@media only screen and (min-width:480px) {
	.artist-selectedwork{	
		width:45vw; 
		overflow:hidden;
	}
	.artist-selectedwork img{	
		width:45vw;
	}
	.artist-selectedwork h2{	
		width:45vw;
		overflow:hidden;
		height: 18px;
	}
	.artist-selectedwork.left{
		float:left;
		margin:0 0 0 2.5vw;
	}
	.artist-selectedwork.right{
		float:right;
		margin:0 2.5vw 0 0;
	}
}
@media only screen and (min-width:769px) {
	.artist-selectedwork{
		margin:auto;
		width:auto;
	}
	.artist-selectedwork img{	
		height:20vw;
		width:auto;
	}
	.artist-selectedwork h2{	
		width:auto;
		overflow:hidden;
		height: auto;
	}
	.artist-selectedwork.left, .artist-selectedwork.right{
		float:none;
		margin:auto;
	}
}
h2.title-selectedwork{
	font-weight:normal;
	font-size:13px;		  
}
.artwork-left img{
  max-width:100%
}
@media  (min-width:480px) {
.artwork-left{
  float:left;
	width:60%;
}
.artwork-right{
	float:right;
	width:35%
}
}
/*------------------------------------*\
    Exhibitions
\*------------------------------------*/
.exhibitions-listpage{
	float:left;
}
.exhibition-box{
	display:inline-block;
	vertical-align:top;
	margin-bottom: 20px;
}
.exhibition-box h2{
  margin:30% 0 0 0 ;
	  text-transform:uppercase;
	}
.exhibition-box img{
  max-width:calc(100% - 20px); max-height:40vh
}


.exhibition-box-fw{
	display:inline-block;
	vertical-align:top;
	margin-bottom: 20px;
}
.exhibition-box-fw h2{
  margin:10% 0 0 0 ;
	  text-transform:uppercase;
	}
.exhibition-box-fw img{
  max-width:calc(100% - 20px); max-height:40vh
}

/*------------------------------------*\
    Archive
\*------------------------------------*/
.archive-sections{
    display: inline-block;    
    width: 33%;
  	position:relative;
  	text-align:center;
}
.archive-sections img{
	  height:20vw;
}
h2.archieve{color:#650000;text-align:center;position:absolute;bottom:40%; left:0;width:100%;text-transform:uppercase;}
h2.archieve:hover{color:white;}
/*------------------------------------*\
    HEADINGS
\*------------------------------------*/
h6{margin:0px}


/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {
	.map{width:100%;float:left;}
	.mapdetails{width:100%;float:right;}
	.footer .copyright{font-size:8px;width:50%}
	div.publications{width:100%;}
  	.exhibition-box{width:100%;    min-height: 50vw;}
  	.exhibition-box-fw{width:100%;    min-height: 50vw;}
	article.notable-box, .film-box{width:100%;}
	#notable-video{float: none;width: 100%;}
	#exhibition-video{float: none;width: 100vw;height:66vw;}
	#notable-text{float: none;width: 100%;}
	.artist-listpage{width:99%; }
	.artist-thumbnail{width: 100vw;min-height:50vw;max-height: 100vw;}
	.exhibitions-listpage{width:100%;}
	.exhibitions-listpage img{width:100%;}
	.publication-thumb{width:100%;height:100%;}
	div.publications img{max-width:calc(100% - 20px);max-height:80vh; }
	#about-left{width:100%;vertical-align:top;}
	#about-right{width:100%;vertical-align:top;}
	.about-images{float:left;padding-top:20px;padding-left:5%;vertical-align:top;width:100%;padding-right:5%}
	.about-images img{width:100%}
	.aboutfix{clear:both;}
}
@media only screen and (max-width:480px) {
	.home .vidbg-container {
		position: fixed;
		background-image: url('/wp-content/uploads/2018/04/still.jpg');
    	background-size: auto;
    	background-color: black;
    	background-position-x: -250px;
		background-repeat: no-repeat;
	}
}

@media only screen and (min-width:480px) {	
	.home .vidbg-container{	
		position: fixed;
		background-image: url('/wp-content/uploads/2018/04/still.jpg');
		background-repeat: no-repeat;
	   	background-size:cover;
	}
	div.publications{width:49.5%;}
  	.exhibition-box{width:49.5%;    min-height: 30vw;}
  	.exhibition-box-fw{width:99%;    min-height: 30vw;}
	article.notable-box, .film-box{width:50%; padding: 0 10px 10px 10px;}
	#about-left{float:left;width:50%;vertical-align:top;}
	#about-right{float:left;width:45%;vertical-align:top;padding-left:40px}
	.about-images{float:left;padding-top:20px;padding-left:5%;vertical-align:top;width:47.5%}
	.about-images img{width:100%}
	.aboutfix{clear:both;}
	.first-about{padding-left:0%}
	.artist-listpage{width:49%; ; }
	.artist-thumbnail{width: 100%;min-height:25vw;max-height: 49vw;}
	.artist-thumbnail img{max-width:100%;max-height:100%}
	.exhibitions-listpage{width:50%;padding:0 2%;}
	div.publications img{height:50vw}
}
@media only screen and (min-width:769px) {
 .nav li{font-size:9px}
	article.notable-box, .film-box{width:33%; padding: 0 10px 20px 10px;}
	div.publications{width:32.5%;}
  	.exhibition-box{width:32.5%;    min-height: 20vw;}
  	.exhibition-box-fw{width:98.6%;    min-height: 20vw;}
	.footer .copyright{font-size:10px}
	.nav{max-width: 768px;}
	.nav li{padding: 0 0.2%;}
	main{padding:0 20px;}
	.map{width:66%;float:left;}
	.mapdetails{width:30%;float:right;}
	#notable-video{ float: left; width: 60%;}
	#exhibition-video{float: none;width: 60%;height:38vw;}
	#notable-text{ float: right; width: 35%;}

	#about-left{float:left;width:50%;vertical-align:top;}
	#about-right{float:left;width:45%;vertical-align:top;font-size: 14pt;}
	.about-images{float:left;padding-top:20px;padding-left:5%;vertical-align:top;width:33%}
	.about-images img{width:100%}
	.aboutfix{clear:both;}
	.first-about{padding-left:0%}
	.artist-listpage{width:24%; }
	.artist-thumbnail{width: 100%;height: 20vw;}
	.artist-thumbnail img{max-width:100%;max-height:100%}
	.exhibitions-listpage{width: 30vw;height: 30vw;padding-right:20px;}
	div.publications img{height:30vw}
}
@media only screen and (min-width:960px) {
  	div.publications{width:24.6%;}
	.nav{max-width: 960px;}
	.nav li{padding: 0 0.4%;font-size:12px}
	main{padding:0 40px;}
	.footer .copyright{font-size:12px}
	#about-left{float:left;width:40%;vertical-align:top;height:50vw}
	#about-right{float:left;width:55%;vertical-align:top;font-size:17pt;display:table;height:50vw;}
	#about-right .vcentabout{display:table-cell;vertical-align:middle;}
	.about-images{float:left;padding-top:20px; padding-left:5%; vertical-align:top;width:25%}
	.about-images img{width:100%}
	.aboutfix{clear:both}
	div.publications img{height:20vw}
	#exhibition-video{float: none;width: 50%;height:30vw;}
}
@media only screen and (min-width:1280px) {
	div.publications{min-width:19.8%;}
    .nav li{font-size:13px}
	.nav{max-width: 1280px;}
	.nav li{padding: 0 1.4%; }
	body {font:300 18px/1.5 'Stoke', 'Helvetica Neue', Helvetica, Arial, sans-serif;}
	main{padding:0 50px;}
	#about-left{float:left;width:40%;vertical-align:top;}
	#about-right{float:left;width:55%;vertical-align:top;font-size:18pt;}
	.about-images{float:left;padding-top:20px;padding-left:5%;vertical-align:top;width:25%}
	.about-images img{width:100%}
	.exhibitions-listpage{width: 20vw;height: 20vw;padding-right:20px;}
}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

