html {
    padding: 0;
    margin: 0;
    text-align: center;
}
body {
    background: url(/images/bg.png);
    margin: 0;
    padding: 0;
    color: #000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}
h1, h2, h3, h4 {
	padding:0;
	margin:0;
	font-weight: normal;
	clear: both;
}
p {
    padding: 0;
    margin: 0;
}
a, a:link, a:active, a:visited {
    color: #202020;
    text-decoration: none;
}
a:hover {
    color: #333;
    text-decoration: underline;
}
img {
    border: none;
}
ul, li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.clear {
    clear: both;
}
.break {
    clear: both;
    height: 50px;
}
#more {
    display: none;
}
.header {
    clear: both;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    min-height: 20px;
    background: #4c4c4c;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
    .header h1 {
        padding: 2px 0 0 6px;
        text-align: left;
        font-size: 14px;
        color: #eee;
    }
.wrap {
    width: 100%;
    margin: 0 auto;
    background: #f7f7f7;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
.main {
    margin: 0 auto;
    padding: 0;
    min-height: 77px;
    height: auto;
}
.content {
    clear: both;
    margin: 0 auto;
    height: 100%;
}
     
.headerimage {
    background: url(/images/logo.png) no-repeat;
    width: 365px;
    height: 55px;
    margin: 10px 0 0 10px;
    float: left;
}
.review {
	float: left;
    margin: 5px 0 0 0;
    /* padding: 5px 5px 0 0; */
    max-width: 619px;
    height: auto;
    color: #4c4c4c;
    text-align: left;
    font-size: 15px;
	line-height: 1.2;
	letter-spacing: -0.5px;
}
    .review p {
        /* display: inline-block; */
        /* vertical-align: middle; */
    }
    .review a {
        text-decoration: underline;
    }

/*** Navigation ***/
nav select {
	display: none;
}
        @media screen and (max-width:420px) {
            nav ul {
                display: none;
            }
            nav select {
                display: inline-block;
                width: 94%;
                margin: 3%;
                appearance: none;
                background-color: transparent;
                border: none;
                cursor: pointer;
                font-family: inherit;
                line-height: inherit;
                outline: none;
                border-bottom: 4px solid #ccc;
                border-radius: 0;
            }
            nav select:hover {
                border-bottom: 4px solid #eb2a2f;
            }
        }    
.mobilemenu {
    position: relative;
    font-size: 18px;
    padding: 10px;
    color: #333; 
}   
.navigation {
    clear: both;
    margin: 0px auto;
    padding: 10px 0 0 0;
    font-size: 19px;
    text-align: left;
}
    .navigation li {
        float: left;
        margin: 0 7px;
        padding: 0;
        border-bottom: 4px solid #ccc;
		display: block;
    }
    .navigation li:hover {
        border-bottom: 4px solid #eb2a2f;
    }
	.navigation ul li ul {
		z-index: 100;
	    position:absolute;
	    border: 1px solid #ddd;
	    border-top: 0;
	    padding: 4px 10px 16px 10px;
	    margin-top: 4px;
		background: #f7f7f7;
	    display: none;
	}
	.navigation ul li ul li {
		padding-top: 4px;
		float:none;
		display: block;
		}
	.navigation ul li ul li.submenu {
		margin-left: 35px;
	}
	.navigation ul li ul a {
		    white-space:nowrap;
		}
	.navigation ul li:hover ul {
			display: block;
		}
        @media screen and (max-width:420px) {
            /* .navigation {
                padding: 2px 0 10px 0;
                height: auto;
            }
            .navigation::after {
                content: '';
                display: block;
                clear: both;
            }
            .navigation li {
                float: none;
                margin-left: 0;
                margin-right: 0;
                margin-bottom: 0;
                padding: 2px 0;
                border-width: 2px;
            }
            .navigation li:hover {
                border-width: 2px;
            }
            .navigation.up {
                display: none;
            } */
        }        
.pagename, .related {
    clear: both;
    float: left;
    text-align: left;
	max-width: 1000px;
    color: #444;
    font-size: 42px;
    padding: 2px 0 0 10px;
    text-decoration: none;
    /* letter-spacing: 1px; */
}
.pagename h2, .related h3 {
    font-size: 42px;
}
.thumbs_square, .thumbs_face {
    clear: both;
    margin: 0 auto;
    padding: 0 ;
    font-size: 0;
}
    .thumbs_square a:hover img, .thumbs_face a:hover img {
        border: 1px solid #df1409;
		cursor: pointer;
    }
	/*	square  */
    .thumbs_square li {
		display: inline-block;
        margin: 7px;
    }
    .thumbs_square a img {
        width: 184px;
        height: 184px;
        border: 1px solid #ccc;
    }
            @media screen and (max-width: 420px) {
                .thumbs_square li {
                    width: 49.5%;
                    margin: .25%;
                }
                .thumbs_square a img {
                    width: 100%;
                    height: auto;
                    border: none;
                }
                .thumbs_square a:hover img {
                    border: none;
                }
            }
	/*	face  */
    .thumbs_face li {
		display: inline-block;
        margin: 3px;
    }
    .thumbs_face a img {
        width: 234px;
        height: 304px;
        border: 1px solid #ccc;
    }
            @media screen and (max-width: 450px) {
                .thumbs_face li  {
                    width: calc(100% - 6px);
                    height: auto;
                }
                .thumbs_face a img {
                    width: 100%;
                    height: auto;
                    border: none;
                }
                .thumbs_face a:hover img {
                    border: none;
                }
            }

/*** Thumb Overlay ***/

.overlay {
    position: relative;
    display: inline-block;
    font-size: 0;
}
    .overlay img {
        display: block;
    }
    .overlay a, a:hover {
        text-decoration: none;
    }
    .overlay .square, .overlay .face {
        position: absolute;
        width: 100%;
        height: 40px;
        opacity: 1;
        background: #353535;
        background: rgba(0,0,0,0.4);
    }
	.square p, .face p {
	    font-size: 14px;
	    padding: 0px 8px 0 8px;
	    color: #fff;
	    text-shadow: 1px 1px 1px #222;
	}
	.overlay:hover .square, .overlay:hover .face {
	    opacity: 0;
	}
	.bottom {
	    bottom: 0;
	}


/*** Responsive styles ***/

@media screen and (min-width:1200px) {
	.wrap, .header, .footer, .splitter {
		max-width: 1240px;
	}
	.main, .pagename, .related {
		padding-left: 2.5%;
	}
	.navigation {
		padding: 0 2%;
	}
	.review {
		max-width: 800px;
	}
}

@media screen and (max-width:1000px) {
	.main {
        height: auto;
    }
	.wrap, .header, .footer {
        border: 0;
    }
	.review {
        clear: both;
        float: none;
        width: 94%;
        margin: 0 auto;
        max-width: none;
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
	.pagename, .related {
        box-sizing: border-box;
        margin: 0;
        font-size: 25px;
    }
	.pagename h2, .related h3 {
        font-size: 25px;
    }
	.review {
        margin: 10px auto;
    }
}

@media screen and (max-width:420px) {
	.main {
        min-height: 45px;
        padding: 10px 0 0 0;
    }
	.headerimage {
        float: none;
        width: 300px;
        margin: 0 auto;
        background-size: 100% auto;
    }
	.review {
        margin: 2px auto;
    }
	.pagename, .related {
        height: auto;
        font-size: 21px;
    }
	.pagename h2, .related h3 {
        font-size: 21px;
    }
	.header {
        display: none;
    }
}







/*** Footer ***/

#prefooter {
    margin: 0 auto;
    padding: 0;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    min-height: 220px;
    background-color: #7e7e7e;
}
.footer_links {
    background-color: #7e7e7e;
    float: left;
    text-align: left;
    font-size: 16px;
    color: #ccc;
    width: calc(20% - 1px);
    margin: 2% 0 2% 3%;
    padding: 0 0 0 2%;
    border-left: 1px solid #fff;
}
        .footer_links li {
            font-size: 14px;
            padding: 2% 0 2% 4%;
        }
        .footer_links li:first-child {
            margin-top: 6%;
        }
        .footer_links a {
            color: #eee;
            display: block;
        }
        .footer_links a:hover {
            text-decoration: underline;
        }
                @media screen and (max-width: 450px) {
                    #prefooter {
                        height: 440px;
                    }
                    .footer_links {
                        width: calc(40% - 1px);
                    }
                    .footer_links li {
                        font-size: 17px;
                        padding: 5% 0 5% 4%;
                    }
                }

.footer {
    clear: both;
    margin: 0 auto;
    padding: 0;
    height: 41px;
    background: #4c4c4c;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
        .footer p {
            float: left;
            padding: 22px 0 0 6px;
            text-align: left;
            font-size: 12px;
            color: #eee;
        }
        .footer a {
            text-decoration: none;
            color: #ddd;
        }
        .footer a:hover {
            text-decoration: none;
            color: #fff;
        }
/* .counter {
    float: right;
    width: 88px;
    height: 31px;
    padding: 5px 5px 5px 0px;
    margin: 0;
} */

/*** Pagination ***/

.pagination {
    clear: both;
    font-size: 15px;
    color: #000;
    padding: 20px 0 25px 0;
    margin: 0 auto;
}
    .pagination span {
        color: #514e54;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
    .pagination li {
        display: inline-table;
    }
        .pagination li a {
            padding: 8px 12px;
            margin: 2px 3px;
            text-decoration: none;
            color: #666;
            border-bottom: 1px solid;
        }
    .pagination a:hover {
        text-decoration: none;
        color: #111;
        border-bottom: 1px solid;
    }

/*** Bottom Description ***/

#fulldescription {
    clear: both;
    text-align: left;
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.5;
    letter-spacing: .5%;
    }
    #fulldescription p {
        text-indent: 40px;
        padding: 1% 10%;
    }
    #fulldescription a {
        font-weight: bold;
        text-decoration: underline;
    }
    #fulldescription a:hover {
        color: #eb2a2f;
        text-decoration: none;
    }
#btn {
    cursor: pointer;
    text-decoration: none;
    text-align: left;
    padding: 0 0 0 10%;
}






/** Rest **/

.splitter {
    clear: both;
    margin: 0 auto;
    height: 2rem;
    background: #f7f7f7;
}