/* 
Theme Name: Michael Levy Art
*/

* {
	margin:0;
	padding:0;
}

/* sticky footer */

html, body, #wrapper { height: 100%; }
body > #wrapper { height: auto; min-height: 100%; }

footer.layout {
 clear: both;
 position: relative;
 z-index: 10;
 height: 1em;
 margin-top: -4em;
}

article.layout { padding-bottom: 1em; }

/* end sticky footer */

body {
	font-family: 'Crimson Text', 'georgia','arial';	
	line-height:150%;
	color:#333;
	font-size:100%;
	background:#eee;
}

/*header.layout, article.layout, */

header.layout,
article.layout {
	width:90%;
	margin:0 auto;
	padding-top:2em;
}

footer {
	width:90%;
	margin:-4em auto 0 auto;
}

header.layout {
	border-bottom:solid 1px white;
	padding-bottom:2%;
	position:relative;
	z-index:5;
}

header.layout h1 {
	font-size:2em;
	margin-bottom:.2em;
	font-weight:normal;
}

header.layout h2 {
	font-size:1.3em; 
	font-weight:normal;
}

header.layout h1 a{
	text-decoration:none;
}

header.layout a:hover {
	color:#00037f;
}

header.layout hgroup{
	float:left;
}

header.layout nav {
	float:right;
}

header.layout nav li {
	list-style:none;
	float:left;
	margin-left:1.5em;
	line-height:2em;
	position:relative;
}

header.layout nav li a{
	display:block;
	font-size:1.2em;
	text-shadow: 1px 4px 2px #ddd;
}

header.layout nav li ul{
	display:none;
	position:absolute;
	left:-1.5em;
	top:2.5em;
	width:120px;
	font-size:.8em;
}

.nojs header.layout nav li:hover ul {
	display:block;          
}

header.layout nav li ul a{
	display:block;
	background:#666;
	color:white;
	text-shadow:none;
	float:none;
	width:120px;
	padding:3px 10px;
	transition: background .5s ease;
}

header.layout nav li ul a:hover{
	background:#00037f;
	color:white;	
}

img {
	max-width:100%;
}

article.layout {
	clear:both;
	/*padding-top:3em;*/
	padding-top:0;
	padding-bottom:3em;
}

nav a {
	text-decoration:none;
	color:#333;
}

footer.layout {
	border-top:solid 1px white;
	padding-top:1em;
}

.art-single {
  padding-bottom:20px;
}

.art-single #copy {
  float:left;
  margin-left:5%;
  width:30%;
}

.art-single img {
  float:left;
  max-width:65%;
  max-height:90%;
  margin-bottom:40px;
}

.view_slideshow {
	padding:0 0 0 25px;
	float:right;
	font-size:.6em;
	font-family:arial, verdana, san-serif;
	text-decoration:none;
	display:inline-block;
	background:url('img/fullscreen.png') no-repeat 0 4px;
}

.view_slideshow:hover {
	text-decoration:underline;
}

#the_content{
   padding-bottom:30px;
}

/* blog styles */
 
 #main {
 	width:70%;
 	float:left;
 }

aside.layout {
	float:right;
	width:20%;
}

aside.layout ul#sidebar {
	list-style:none;
	padding:0;
	margin:0;
}

aside.layout ul#sidebar li {
	margin-bottom:1.5em;
	list-style:none;
}

aside.layout ul#sidebar label{
	display:block;
}

aside.layout ul#sidebar #s{
	width:60%;
	border:solid 1px #999;
	height:2em;
	line-height:2em;
	padding:.1em;
	margin-right:5%;
}

#searchsubmit {
	color:white;
	background:#00037f;
	border:0;
	text-align:center;
	border-radius:5px;
	width:30%;
	padding:5px 0;
}
 
aside.layout ul#sidebar h2{
	font-size:1.24em;
	font-weight:normal;
	margin-bottom:.25em;
} 
 
/* end blog style */

/* Sandbox Style */

.project {
	padding-bottom:20px;
	border-bottom:solid 1px #00037f;
	margin-bottom:40px;
	max-width:600px;
}

.project h2 a{
	text-transform:uppercase;
	font-size:1em;
	text-decoration:none;
	color:#333;
}

.project img {
	border:solid 1px #666;	
	width:100%;
	max-width:600px;
}

/* Home page
--------------------------------------
*/

.grid {
	margin:0 auto;
}

.grid-sizer, .cell  {
  width: calc(33% - 10px);
}

@media (min-width:2000px){
	.grid-sizer, .cell  {
	  width: calc(25% - 15px);
	}
}	


@media (max-width:1025px){
	.grid-sizer, .cell  {
	  width: calc(50% - 10px);
	}
}	



.cell {
	/*height:300px;*/
	background:#999;
	
	margin-bottom:20px;
	border-radius:8px;
}

.cell .inner {
	padding:10px;
}

.cell img {
	width:100%;
}	

@media (max-width: 450px ) {
	.cell,
	.grid-sizer	{
		width:100%;
	}
}

.cell img { 
	/*height:100%;*/
	border-radius:8px;
}	

.cell  a {
	color:white;
	text-decoration:none;
	font-weight:strong;	
}	

.cell  h2 {
	margin:0;	
	padding:0;
	font-family: 'Montserrat', georgia;
	font-weight:700; 
	font-size: 16px;
}

.nojs #slider img {
	width:auto;
	height:auto;
	width:100%;
}

.nojs #slider { 
	height:auto;
	width:50%;
	position:static;
	margin:0 auto;
}

.nojs #slider_inner {
	position:static;
	height:auto;
	display: inline;
}

.nojs .slide {
	
	margin-bottom:40px;
	
}


#slider { 
	height:450px;
	width:100%;
	position:relative;
	overflow:hidden;
	margin-bottom:.5em;
	margin-top:-1em;
}


#slider_inner {
	position:absolute;
	height:400px;
	display: table;
    table-layout: fixed;

	
}

#slider img {
	height:400px;
	margin:0;
}

#slider h2 {
	font-weight:normal;
	font-size:1em;
	font-family:arial, verdana;
	
	margin:0;
	margin-top:-6px;
}

#slider h2 a {
	color:white;
	text-decoration:none;
	display:block;
	background:#666;
	line-height:40px;
	padding:0 10px;
}

#slider h2 a:hover {
	background:#00037F;
}

#slider nav {
	position:absolute;
	top:200px;
	width:100%;
	display:none;
}

#slider nav a {
	display:block;
	position:absolute;
	background:red;
	width:36px;
	height:40px;
	top:0;
	background:url('img/arrows-40.png');
}

#slider nav a span {
	display:none;
}

#slider nav a#next {
	right:20px;
	background-position:-36px 0;
}

#slider nav a#prev {
	left:20px;
}

#slider nav a#next:hover {
	background-position:-36px -40px;
}

#slider nav a#prev:hover {
	background-position:0px -40px;
}

#slider table {
	position:relative;
}

.fb-like {
	margin-bottom:20px;
}

/*cyanotypye cat-28 */

.cell.cat-28 {
    background: transparent;
    border-radius: 0;
}

.cell.cat-28 a{
    color: #333;
}

.cell.cat-28 img {
	border-radius:0;
}	

.cell.cat-28 .inner {
	padding:0;
}	

.css-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
	gap:10px 40px;
}	

.css-grid .cell{
	width:100%;
	margin-bottom:0;
}	


article.layout div.intro p {
	max-width:100%;
}	

article.layout div.intro {
	columns:2;
	margin-bottom:1rem;
}	

@media (max-width:650px){
	article.layout div.intro {
		columns:1;
		margin-bottom:1rem;
	}
	
	.css-grid {
		grid-template-columns: 1fr 1fr;
	}
}	

@media (max-width:500px){
	article.layout div.intro {
		columns:1;
		margin-bottom:1rem;
	}
	
	.css-grid {
		grid-template-columns: 1fr;
	}
}	

@media all and (max-width: 850px) {
 header.layout nav {
 	clear:both;
 	text-align:center;
 	float:none;
 	padding-top:1.5em;
 }
 
 header.layout nav li {
 	margin-left:0;
 	margin-right:1.5em;
 	float:none;
 	display:inline-block;
 }
 
  header.layout nav li a {
  	display:inline-block;
  }
 
 header.layout  {
 	text-align:center;
 }
 
 header.layout  hgroup{
 	float:none;
 }
 
}

a {
	color:#00037f;
}

article.layout table {
	margin:0px 0 1em;
}

article.layout p {
	max-width:800px;
	margin-bottom:1em;
}

article.layout time {
	margin-bottom:1em;
	display:block;
}

article.entry {
	clear:both;
	padding-bottom:2em;
	margin-bottom:20px;
}

article.entry .img {
	width:20%;
	float:left;
}

article.entry .img img{
	width:100%;
	max-width:300px;
}	

article.entry .copy{
	width:75%;
	float:right;
}

.clearme {
	clear:both;
	margin:0;
	padding:0;
	line-height:1px;
}

h1 {
	font-weight:normal;
	font-size:1.5em;
	margin-bottom:1em;
}

h2 {
	font-weight:normal;
	font-size:1.2em;
	margin-bottom:1em;
}

h1.taxonomy-title {
	width:90%;
	margin:40px auto;
	font-family: 'Montserrat', georgia;
	text-transform: capitalize;
}	

h2.term-title {
	border-bottom: solid 1px #ccc;
    padding-bottom: 3px;
    margin-bottom: 20px;
}
}	

article.layout ul {
	margin:1em 2em;
}

.thumb {
	width:20%;
	float:left;
	margin-right:6.5%;
	margin-bottom:40px;
	text-align:center;
}

.thumb a {
  text-decoration:none;
  text-align:center;
}

.thumb img{
  width:100%;
}

.thumb a:hover {
  text-align:center;
}

.fb-comments {
   
}

ul {
   margin-left:1em;
}

.alignleft{
float:left;
margin-right:15px;
}

.alignright{
float:right;
margin-left:15px;
}

input.wpcf7-form-control.wpcf7-submit {
    padding: 6px 14px;
    background: #00037f;
    color: white;
    border: 0;
    margin-bottom: 20px;
}