html {
    padding: 0;
    margin: 0;
    text-align: center;
}
body {
    background: #fdf5ea;
    margin: 0px;
    padding: 0px;
    color: #000;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-weight: 300;
}
.clear {
    clear: both;
    font-size: 0;
    line-height: 0;
    display: block;
    height: 0;
}
p {
    padding: 0px;
    margin: 0px auto;
}
a, a:link, a:active, a:visited {
    color: #111;
    text-decoration: none;
}
a:hover {
    color: #333;
    text-decoration: underline;
}
img {
    border: none
}
ul, ol, li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
em, i {
    font-style: normal
}
.maincolor a {
    color: #8c0804;
    text-decoration: none;
}
.maincolor a:hover {
    color: #46433A;
    text-decoration: none;
}
.maincolor a img {
    border: 1px solid #46433a
}
.maincolor a:hover img {
    border: 1px dashed #46433a
}
.galleryname {
    clear: both;
    text-align: center;
    margin: 0px auto;
    color: #111;
    font-size: 15px;
    padding: 6px 0px 3px 22px;
    text-decoration: none;
}
.main {
    max-width: 960px;
    margin: 0px auto;
}
.wrap {
    position: relative;
    max-width: 960px;
    margin: 0px auto;
}
.headerimage {
    background: url(/images/logo.png) no-repeat;
    height: 140px;
    width: 450px;
    margin: 0px 0px 0px 10px;
    float: left;
}
.headertext {
    float: left;
    width: 480px;
    padding: 25px 10px 0 10px;
}
    .headertext p {
        font-size: 14px;
        color: #382618;
        text-shadow: 1px 1px 1px #ddd;
    }
.content {
    margin: 0px auto
}
.thumbs, .category {
    clear: both
}
.category {
    max-width: 936px;
    margin: 0px auto;
    font-size: 0;
}
    .category li {
        display: inline-block;
        width: 230px;
        height: 308px;
        margin: 2px;
        font-size: 22px;
    }
    .category img {
        width: 226px;
        height: 304px;
        padding: 0px;
        margin: 2px;
	    border: 1px solid #46433a        
    }
    .category img:hover {
	    border: 1px dashed #46433a    
    }
.thumbs {
    margin: 0px auto;
    max-width: 930px;
    font-size: 0;    
}
    .thumbs li {
        display: inline-block;
        width: 182px;
        height: 242px;
        margin: 2px;
    }
    .thumbs a img {
        width: 180px;
        height: 240px;
        padding: 0px;
        margin: 1px;
	    border: 1px solid #46433a        
    }
    .thumbs a:hover img {
	    border: 1px dashed #46433a    
    }
.ads {
    clear: both;
    margin: 0px auto;
    padding: 12px 0px;
}
    .ads a img {
        width: 468px;
        height: 80px;
        padding: 0px;
        margin: 0px;
    }
.a_link {
    text-transform: capitalize;
    font-weight: bold;
    clear: both;
    padding: 10px 10px 10px 10px;
    font-size: 43px;
}
    .a_link a {
        line-height: 1.4;
        color: #8c0804;
        text-decoration: none;
        border-bottom: 4px solid #8c0804;
    }
    .a_link a:hover {
        color: #8c0804;
        text-decoration: none;
        border-bottom: 4px solid #fdf5ea;        
    }
#footerlist {
	padding-top: 20px;
}    
.tops {
    clear: both;
    font-family: "Tahoma", Helvetica, sans-serif;
    color: #a30b09;
    font-size: 20px;
	font-weight: bold;    
    margin: 0px auto;
    max-width: 1000px;
}
    .tops ul {
        margin: 0;    
    }
    .tops li:before {
		content: "\00BB \0020";    
    }
    .tops li {
		display: inline-block;
		text-align: left;
		width: 24%;
        max-width: 250px;
        margin: 0;
        padding: 0;
        line-height: 1.6;
    }
    .tops a {
/*         text-transform: capitalize; */
        text-decoration: none;
/*         color: #341f12; */
	    color: #241710;
        border: 0;
    }
    .tops li a:hover {
        text-decoration: none;
        color: #a30b09;
        border-bottom: 2px solid #a30b09;
    }
.button {
    clear: both;
    margin: 10px 4px;
    padding: 10px 0;
    border: 1px solid #faf7e6;
    color: #faf7e6;
    font-size: 14px;
    font-weight: bold;
}
    .button li {
        display: inline-block;
    }
    .button a {
        background: #ff5d56;
        font-size: 14px;
        font-weight: bold;
        margin: 0px;
        padding: 10px 18px;
        color: #fff;
        text-decoration: none;
    }
    .button a:hover {
        background: #a30b09;
        color: #fff;
        text-decoration: none;
    }
    .button span {
        font-size: 14px;
        color: #382618;
        text-transform: uppercase;
    }
.footer {
    clear: both;
    margin: 0px auto;
    font-size: 14px;
    width: 95%;
    max-width: 930px;
    text-align: center;
}
    .footer p {
        padding: 10px 0px 5px 0
    }
    .footer a {
        font-weight: bold
    }
.singleitem {
    clear: both;
    margin: 0px auto;
    padding: 10px 0 0 0;
}
    .singleitem img {
        border: 1px solid #333;        
    }
.overlay {
    position: relative;
    display: inline-block;
}
    .overlay img {
        display: block
    }
    .overlay a, a:hover {
        text-decoration: none
    }
    .overlay .description {
        position: absolute;
        left: 2px;
        width: 180px;
        filter: alpha(opacity=0);
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        background: #a30b09;
    }
.description p {
    font-size: 12px;
    padding: 4px 7px;
    font-weight: 500;
    color: #ffffff;
}
.overlay:hover .description {
    filter: alpha(opacity=100);
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.overlay .categories {
    position: absolute;
    left: 3px;
    width: 226px;
    background: #a30b09;
    background: rgba(0,0,0,0.2);
    height: 50px;
}
    .overlay .categories p {
        font-size: 19px;
        padding: 3px 0;
        color: #fff;
        text-shadow: 1px 1px 2px #333;
        font-weight: bold;
    }
.amount {
    clear: both;
    color: #fff;
    font-size: 13px;
    letter-spacing: 1px;
}
.amount:after {
	content: ' galleries';
}
.top {
    bottom: 1px
}
.bottom {
    bottom: 0px
}
.footerarea {
	clear: both;
	margin: 0px auto;
	padding: 10px 0;
}




@media screen and (min-width: 1200px) { 
	.wrap, .category {
		max-width: 1170px;
	}
	.thumbs {
		max-width: 1116px;
	}
}

@media screen and (min-width: 1400px) { 
	.wrap, .category {
		max-width: 1404px;
	}
	.thumbs {
		max-width: 1302px;
	}
}

@media screen and (max-width: 1200px) { 
    .singleitem img {
		border-left: 0;
		border-right: 0;
    	width: 100%;
    	height: auto;
	}
}

@media screen and (max-width: 960px) { 
	.headerimage {
		float: none;
		margin: 0 auto;
	}
	.headertext {
		clear: both;	
		float: none;
		width: 96%;
		padding: 0;
		margin: 0px auto;
		text-align: center;
	}
    .galleryname {
    	display: none;
    }		
	.tops {	
		font-size: 19px;
	}
    .tops li {
    	width: 28%;
    }
	#headerlist {
		display: none;
	}    	
}

@media screen and (max-width: 750px) { 
    .tops li {
    	width: 38%;
    }
}

@media screen and (max-width: 500px) { 
	.headerimage {
		background-size: 100%;
		width: 350px;
		height: 108px;
	}
	.tops {	
		font-size: 28px;
	}
    .tops li {
    	display: block;
        max-width: 400px;    	
    	width: 80%;
    	margin: 0 auto;
    	line-height: 1.6;
    }	
	.button {    
		margin: 0 4px;
	}
    .button a {
	    font-size: 22px;    
    }	
    .button li {
    	padding-top: 25px;
    }    
}

@media screen and (max-width: 370px) { 
	.tops {	
		font-size: 26px;
	}
    .headertext p {
    	font-size: 12px;
    }
	.a_link {    
		font-size: 32px;
	}   
}

@media screen and (max-width: 350px) { 
	.headerimage {
		width: 320px;
		height: 98px;
	}
	.tops {	
		font-size: 25px;
	}   
    .tops li {
    	width: 90%;
    	line-height: 1.7;    	
    }	 
}