/*
Theme Name: Custom
Theme URI: http://www.stevedowty.com/
Description: Theme for this site.
Version: 1.0
Author: Steve Dowty
Author URI: http://www.stevedowty.com/
*/





/* ===================================================================
	R E S E T
================================================================== */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, img, small, 
strike, strong, b, u, i, center, ol, ul, li, form, label, table, tr, th, td, embed
	{
	margin: 0px;
	padding: 0px;
	border: 0px;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
		}

ol, ul
	{
	list-style: none;
		}

table
	{
	border-collapse: collapse;
	border-spacing: 0px;
		}

a
	{
	color: #278cd4;
		}



/* ===================================================================
	G E N E R A L
================================================================== */

html
	{
	width: 100%;
	height: 100%;
		}

body
	{
	width: 100%;
	height: 100%;
	background: #fff;
		}

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

a
	{
	text-decoration: none;
		}

section, div
	{
	box-sizing: border-box;
		}

section
	{
	width: 100%;
	margin: 0px;
		}





/* ===================================================================
	H E A D E R
================================================================== */


section#header
	{
	width: 100%;
	height: 150px;
	background: url(images/heroes/century.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 99%;
	background-attachment: fixed;
		}

section#header #headerCenter
	{
	width: 1200px;
	height: 150px;
	margin: 0px auto;
	position: relative;
	overflow: hidden;
		}

section#header #headerCenter #headerLogo
	{
	width: 100%;
	height: 100px;
	margin: 50px 0px 0px 0px;
	z-index: 2222;
	font-size: 0px;
	text-align: center;
		}

section#header #headerCenter #headerLogo a
	{
	width: 200px;
	height: 100px;
	display: inline-block;
		}











/* ===================================================================
	 H E R O
================================================================== */



section#top
	{
	text-align: left;
	background: url(images/heroes/century.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 99%;
	background-attachment: fixed;
	overflow: hidden;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	z-index: 333;
		}

section#top .inner
	{
	width: 1200px;
	margin: 150px auto 150px auto;
	box-sizing: border-box;
	padding: 50px 50px 40px 50px;
	-webkit-box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.99);
	-moz-box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.99);
	box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.99);
		}

section#top .inner
	{
	margin: 40px auto 0px auto;
	padding: 0px 0px 50px 0px;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
		}

section#top .inner.light
	{
	width: 1000px;
	margin: 150px auto 10px auto;
	padding: 50px 50px 40px 50px;
	background: url(images/fff_70.png) repeat;
	-webkit-box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.99);
	-moz-box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.99);
	box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.99);
		}

section#top .inner h1
	{
	font: normal 60px 'Kanit Extra Light', serif;
	line-height: 66px;
	display: block;
	width: 83%;
	margin: 0px auto 30px auto;
	color: #fff;
	text-align: center;
		}

section#top .inner h4
	{
	font: normal 20px 'Kanit Extra Light', serif;
	line-height: 32px;
	display: block;
	width: 83%;
	margin: 0px auto 50px auto;
	color: #fff;
	text-align: center;
		}

section .inner .gallery
	{
	width: 95%;
	margin: -50px auto 50px auto;
	padding: 1px 0px 20px 0px;
	display: table;
		}

section .inner .gallery .item
	{
	width: 15%;
	display: table-cell;
	vertical-align: top;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 50px 0px;
	position: relative;
		}

section .inner .gallery .item a
	{
	color: #fff;
	text-decoration: none;
		}

section .inner .gallery .item img
	{
	width: 130px;
	height: 130px;
	float: none;
	display: block;
	margin: 0px auto;
	border-radius: 65px;
	-webkit-border-radius: 65px;
	-moz-border-radius: 65px;
	-webkit-box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.99);
	-moz-box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.99);
	box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.99);
		}

section .inner .gallery .item h4
	{
	text-align: center;
	font: normal 16px 'Kanit Regular', serif;
	line-height: 16px;
	margin: 10px 0px 0px 0px;
	color: #333;
		}

section .inner .gallery .item p
	{
	text-align: center;
	font: normal 14px 'Kanit Light', serif;
	line-height: 16px;
	margin: 10px 20px 0px 20px;
	color: #333;
		}

section .inner .gallery .item p.visit
	{
	position: absolute;
	left: 50%;
	bottom: 0px;
	-webkit-transform: translate(-50%, 0px);
	-moz-transform: translate(-50%, 0px);
	transform: translate(-50%, 0px);
	display: block;
	width: 120px;
	text-align: center;
	margin: 0px;
		}

section .inner .gallery .item p.visit a
	{
	display: block;
	width: 100%;
	font: normal 16px 'Kanit Medium', serif;
	line-height: 28px;
	padding: 4px 0px;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	color: #fff;
	background: #f50;
	white-space: nowrap;
		}

/* Force single row on desktop+ */
@media screen and (min-width: 1025px) {   /* or min-width: 1200px if you want stricter */
    section .inner .gallery {
        flex-wrap: nowrap !important;          /* ← prevents wrapping to new row */
        justify-content: space-between !important;  /* or space-evenly / center */
        gap: 20px !important;                  /* tight horizontal spacing — reduce further if needed */
        width: 95% !important;
        max-width: 1400px !important;          /* give more room if your header is wide */
        padding: 0 20px !important;
        margin: 30px auto 60px !important;
    }

    section .inner .gallery .item {
        width: 160px !important;               /* ← smaller card width — key change */
        flex: 0 0 160px !important;            /* fixed width, no growing/shrinking */
        min-height: 340px !important;          /* adjust if text overflows */
        padding: 15px 10px 25px !important;    /* tighter padding */
        margin: 0 !important;
    }

    section .inner .gallery .item img {
        width: 110px !important;               /* ← shrink images significantly */
        height: 110px !important;
        margin: 0 auto 12px !important;
    }

    section .inner .gallery .item h4 {
        font-size: 15px !important;            /* slightly smaller title if needed */
        line-height: 18px !important;
        margin: 8px 0 6px !important;
    }

    section .inner .gallery .item p:not(.visit) {
        font-size: 13px !important;
        line-height: 18px !important;
        margin: 0 5px 10px !important;         /* tighter margins */
    }

    section .inner .gallery .item p.visit {
        margin-top: auto !important;
        width: 130px !important;
        font-size: 14px !important;
    }

    section .inner .gallery .item p.visit a {
        padding: 6px 0 !important;
        line-height: 22px !important;
    }
}





































































































