div#gallery-slider-container div.slider-slide div.credit{
	text-align:left;
	position:absolute;
	bottom:0px;
	margin-left:20px;
	margin-bottom:20px;
	color:#fff;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.68);
}

div#gallery-slider-container div.slider-slide div.description{
	text-align:left;
	position:absolute;
	top:0px;
	margin-left:20px;
	margin-top:40px;
}

div#gallery-slider-container div.slider-slide div.description h2{
	color: #fff;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.68);
	font-size:48px;
}

div#gallery-slider-container div.slider-slide div.description h3{
	color: #fff;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.68);
	font-size:34px;
	margin-top:0px;
}

div.image-tile{
	float:left;
	position:relative;
	box-sizing: border-box;
	padding-right:10px;
	padding-left:10px;
	display:inline-block;
	height:0;
	width:20%;
	padding-bottom:20%;
}

div.image-tile.image-tile-aotm{
	width:40%;
	padding-bottom:39.99%;
}

h2.artist-of-the-month{
	color:#fff;
	text-shadow:1px 1px 2px rgba(0, 0, 0, 0.68);
	font-weight:bold;
}

div.image-tile img.thumbnail{
	width:100%;
}

div.image-tile div.award-icons{
	position:absolute; 
	top:10px; 
	left:10px;
}

div.image-tile div.award-icons img{
	margin-bottom:5px;
	display:block;
}

div.image-tile div.type-icons{
	position:absolute; 
	top:10px; 
	right:10px;
}

div.image-tile div.type-icons img{
	margin-bottom:5px;
	display:block;
}

div.image-tile-overlay{
	position:absolute;
	top:0px;
	left:0px;
	bottom:0px;
	right:0px;
	background-color:rgba(26, 129, 194, 0.35);
	opacity:0;
	-webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

div.image-tile:hover div.image-tile-overlay{
	opacity:1;
	-webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}


div.image-tile-overlay div.text-content{
    position:absolute;
    bottom:0px;
    right:0px;
    left:0px;
    overflow-y:hidden;
    max-height:100%;
	margin:15px;
	color:#fff;
}

div.image-tile-overlay div.text-content  h3{
	color:#fff;
	border-bottom:1px solid #fff;
	width:100%;
	padding-bottom:10px;
	margin-bottom:10px;
	font-size:16px;
}

div.image-tile-overlay div.text-content p{
	margin-top:0px;
	color:#fff;
	font-size:14px;
}

div.image-tile a{
	position:absolute;
	top:0px;
	left:0px;
	bottom:0px;
	right:0px;
}

form.gallery-upload-form input[type="text"], form.gallery-upload-form textarea, form.gallery-upload-form select{
	width:100%;
	box-sizing:border-box;
	height:auto;
}

div.upload-content-preview-container{
	width:252px; 
	height:400px; 
	float:left; 
	margin-right:20px; 
	margin-bottom:20px;
	padding:10px;
	border:1px solid #ccc;
	background-color:#fff;
	position:relative;
	cursor:pointer;
}

div.upload-content-preview-container:nth-of-type(2n){
	margin-right:0px;
}

div.upload-content-preview-container:nth-last-of-type(1), div.upload-content-preview-container:nth-last-of-type(2){
	margin-bottom:0px;
}

div.upload-content-preview{
	display:table-cell; 
	vertical-align:middle; 
	text-align:center;
	width:252px; 
	height:252px; 
	background-color:#36393b;
	position:relative;
}

div.aotm-page-tile-wrapper{
	position:relative;
	width:50%;
	height:30vw;
	box-sizing: border-box;
	display:inline-block;
	float:left;
	margin:0 auto;
}

div.aotm-page-tile{
	width:100%;
	height:100%;
	background-repeat:no-repeat;
	background-position:center;
	background-size:cover;
}

div.aotm-page-tile-wrapper:nth-of-type(2n){
	margin-right:0px;
}

div.aotm-page-tile-wrapper:first-of-type{
	margin-right:0px;
}

div.aotm-page-tile div.overlay{
	background-color:rgba(26, 129, 194, 0.35);
	opacity:0;
	position:absolute;
	top:0px;
	left:0px;
	right:0px;
	bottom:0px;
	-webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

div.aotm-page-tile:hover div.overlay{
	opacity: 0.9;
    filter: alpha(opacity=90);
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}


div.aotm-page-tile img{
	max-width:100%;
}

div.aotm-page-tile div.details{
	position:absolute; 
	bottom:20px; 
	left:20px;
}

div.aotm-page-tile div.details div.details-title{
	color:#fff;
	text-shadow:3px 2px 8px black;
}

div.aotm-page-tile div.details div.details-date{ 
	color:#c2c2c2;
	text-shadow:2px 2px 3px black;
	text-align:left;
}

div.gallery-post-arrow-left{
	position:absolute;
	left:-60px;
	top:460px;
	width:27px;
	height:45px;
	background-image:url('/resources/images/layout/arrow_left.png');
}

div.gallery-post-arrow-left:hover{
	background-position: 0 45px;
}

div.gallery-post-arrow-right{
	position:absolute;
	right:-60px;
	top:460px;
	width:27px;
	height:45px;
	background-image:url('/resources/images/layout/arrow_right.png');
}

div.gallery-post-arrow-right:hover{
	background-position: 0 45px;
}

div.upload-menu-wrapper{
	width:510px;
	float:left;
	position:relative;
	border:1px solid #ccc;
	padding:20px;
	margin-bottom:20px;
	margin-right:20px;
}

.upload-submit-button-text{
	width:100%;
	text-align:center;
	margin:25px auto;
	color:white;
	position:relative;
	padding:5px;
}

@media screen{
	
	h2.artist-of-the-month{
		font-size:3vmin;
	}
	
	div.image-tile{
		width:100%;
	}
	
	div.aotm-page-tile-wrapper{
		display:block;
		float:none;
		width:100%;
		height:50vw;
	}
	
	div.aotm-page-tile-wrapper:first-of-type{
		width:100%;
		height:60vw;
	}
	
	div.aotm-page-tile div.details div.details-title{
		font-size:4vw; 
	}

	div.aotm-page-tile div.details div.details-date{
		font-size:3vw; 
	}
}

@media screen and (min-width:900px){	
	
	h2.artist-of-the-month{
		font-size:3.5vmin;
	}
	
	div.image-tile{
		width:20%;
	}
	
	div.image-tile.image-tile-aotm{
		width:40%;
	}
	
	div.aotm-page-tile-wrapper{
		display:inline-block;
		float:left;
		width:50%;
		height:30vw;
	}
	
	div.aotm-page-tile-wrapper:first-of-type{
		width:100%;
		height:30vw;
	}
	
	div.aotm-page-tile div.details div.details-title{
		font-size:3vw; 
	}

	div.aotm-page-tile div.details div.details-date{
		font-size:2vw; 
	}
	
}

@media screen and (min-width:1140px){	

	h2.artist-of-the-month{
		font-size:3.5vmin;
	}

	div.image-tile{
		width:20%;
	}
	
	div.image-tile.image-tile-aotm{
		width:40%;
	}
	
	div.aotm-page-tile-wrapper{
		display:inline-block;
		float:left;
		width:50%;
		height:30vw;
	}
	
	div.aotm-page-tile-wrapper:first-of-type{
		width:100%;
		height:30vw;
	}
	
	div.aotm-page-tile div.details div.details-title{
		font-size:2.5vw; 
	}

	div.aotm-page-tile div.details div.details-date{
		font-size:1.5vw; 
	}
	
}

div.popup-outer{
	background-color: rgba(0,0,0,0.5);
    bottom: 0; top:0; left:0; right:0;
    display: block;
    position: fixed;
    z-index: 999;
	display:none;
	overflow-y:scroll;
}

div.popup{
	background-color: #fff;
    border: 1px solid #c2c2c2;
    border-radius: 2px;
    box-shadow: 1px 1px 5px #999;
	padding:20px;
	padding-top:60px;
	display:block;
}

div.popup div.close-button{
	float:right;
	cursor:pointer;
	margin-bottom:10px;
}

div.popup div.close-button img{
	height:26px;
}

div.popup-left-arrow-container{
	position:absolute; 
	top:0px; 
	left:-37px; 
	bottom:0px;
}

div.popup-left-arrow{
	background-image:url('/resources/images/layout/arrow_left.png');
	height:45px;
	background-position: 0 0;
	display:inline-block;
	width:27px;
	cursor:pointer;
	position:fixed;
	bottom:45%;
}

div.popup-left-arrow:hover{
	background-position: 0 45px;
}

div.popup-right-arrow-container{
	position:absolute; 
	top:0px; 
	right:-37px; 
	bottom:0px;
}

div.popup-right-arrow{
	background-image:url('/resources/images/layout/arrow_right.png');
	height:45px;
	background-position: 0 0;
	display:inline-block;
	width:27px;
	cursor:pointer;
	position:fixed;
	bottom:45%;
}

div.popup-right-arrow:hover{
	background-position: 0 45px;
}

div#gallery-post-loading{
	height:900px;
	margin-bottom:60px;
}