/*
.js datalist {display: none;}

input::-webkit-calendar-picker-indicator {
  display: none;
}

input#custom_events_input {
	background-image: url("arrow.png");
	background-repeat: no-repeat;
	background-position: right 4% top 60%;
}
*/

div.container article.page
{
	display: block;
    color: #111;
    clear: both;
    overflow: auto;
}

div.container article:not(.page)
{
	margin: 0;
	margin-bottom: 0.5%;
	padding: 0;
	width: 578px;
	display: inline-block;
	
	background: #fff;
	border: 1px solid #aaa;
	overflow: hidden;
	/*position: relative; */
	
	line-height: 1.6;
}



article.small
{
	width: 278px;
}

html.nice article
{
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
}

/* visual */
article .visual.mini-gallery
{
	/*position: relative;*/
	width: 100%;
	height: 300px;
	overflow: hidden;
}

article .visual.mini-gallery div
{
	/*position: absolute; */
	width: 100%;
	height: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

html.nice article .visual.mini-gallery div
{
	-webkit-border-radius: 4px 4px 0 0;
	   -moz-border-radius: 4px 4px 0 0;
	        border-radius: 4px 4px 0 0;
}

html.no-touch article .visual.mini-gallery div:nth-child(2)
{
	opacity: 0;
}

html.no-touch article:hover .visual.mini-gallery div:nth-child(2)
{
	opacity: 1;
}

html:not(.no-touch) article .visual.mini-gallery div:nth-child(2)
{
	display: none;
}

html:not(.no-touch) article .visual.mini-gallery.switched div:nth-child(2)
{
	display: block;
}

article .visual.single-image img
{
	width: 100%;
}

/* content */
article .content
{
	padding: 10px;
}

article .content p, article .content h2, article .content h3, article .content h4
{
	margin: 0;
}

article .content h2
{
	display: inline-block;
	margin-right: 20px;
}

article .content h2 a
{
	color: inherit;
	font-weight: bold;
	text-decoration: none;
}

article .content h2 a:hover
{
	text-shadow: 1px 1px 0 #f50, 2px 2px 0 #f50, 3px 3px 0 #f50;
}

article .content h3
{
	display: inline-block;
	
	font-style: italic;
	font-weight: normal;
	color: #333;
}

article .content .text
{
	margin-top: 20px;
}

article .content .text a
{
	color: inherit;
	font-weight: bold;
	text-decoration: none;
	border-bottom: 1px dashed #f50;
}

article .content .text a:hover
{
	text-shadow: 1px 1px 0 #f50, 2px 2px 0 #f50;
}

/* links */
article .links
{
	text-align: right;
	margin-top: 20px !important;
}

article .links a
{
	display: inline-block;
	margin: 5px 10px 10px 5px;
	padding: 10px 20px 10px 20px; 
	
	font-weight: bold;
	border-bottom: 1px solid #f00;
	box-shadow: 0 3px 0 #f30;
	color: #fff !important;
	background-color: #f60;
	
	-webkit-border-radius: 10px;
	   -moz-border-radius: 10px;
	        border-radius: 10px;
}

article .links a:hover
{
	background-color: #f30;
	box-shadow: 0 3px 0 #f00;
}

/* footer */
article .footer
{
	padding: 10px;
	background: #eee;
	border-top: 1px solid #aaa;
}

article .tags a
{
	display: inline-block;
	margin: 3px;
	padding: 5px 10px 5px 10px;
	
	color: #eee;
	background: #f50;
	
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
}

article .footer p
{
	margin: 0;
	margin-top: 5px;
	text-align: right;
}

/* head article */
.head
{
	border-bottom: 1px solid #aaa;
	background: #000;
}

.head article
{
	margin: auto;
	margin-bottom: 2px;
}
