
p {
  padding: 0 0 1em;
}
h1, h2, h3, h4, h5, h6 {
  padding: 0 0 0.4em;
}

body {
	font-family: 'Open Sans', serif;
	font-size: 15px;
	max-width: 1024px;
	height: 100%;
	margin: auto;
	/* background-color:#e6f4fc;  */
	background-image: url("../images/villa_bg.png");
	background-repeat: no-repeat;
    background-attachment: fixed;
	background-size: cover;
	padding: 0% 0%;
	/*background-image: url("../images/crossword.png")*/ /* Background pattern from subtlepatterns.com */
}
	
header {
	font-family: 'Lato', sans-serif;
	padding: 20px;
	font-size: 40px;
	margin: auto;
	text-align:center;
}

header img {
	margin: auto;
}

.main {
	padding:40px;
}

.aboutimg {
	width: 300px;
	height: 300px;
	float: right;
}

img.floatleft {
	float: left;
	margin: 15px 15px 0px 0px;
	width: 400px;
}

img.floatright {
	float: right;
	margin: 0px 0px 0px 15px;
	width: 400px;
}

iframe.floatright {
	float: right;
	margin: 0px 0px 0px 15px;
	width: 500px;
	height: 400px;
}

.pagemap {
	width: 100%;
	height: 400px;
	border: none;
}

/* lists, nav */

nav {
	padding: 10px 40px;
	
	text-align:center;
	/* border-top: 1px solid #C0C0C0; */
}

nav ul {
    list-style-type: none;
	border-bottom: 1px solid #C0C0C0;
    margin: 0;
    padding: 0;
	overflow: hidden;
}

nav li {
	display:inline; 
    /* float: left; */
}

nav li a {
	/* display: block; */
     display: inline-block; 
    text-align: center;
	font-size: 1.2em;
	color: #808080;
    padding: 2px 40px 8px 0px;
    text-decoration: none;
}

nav li a:hover, .active {
	font-weight: bold;
	color: black;
	
}

a {
	color: #808080;
	text-decoration: none;
}

a:hover {
	font-weight: bold;
	color: black;
}

/* sticky footer related start */

* {
	margin: 0;
	padding: 0;
}


html{
	height: 100%;
	overflow-y: scroll;
}

.wrapper {
	min-height: 100%;
	margin: 20px auto -120px; /* the bottom margin is the negative value of the footer's height */
	background-image: url("../images/crossword_trans.png"); 
	/* background-color: #ffffff; */
	box-shadow: 2px 2px 10px 3px  #888888; 
}

.push {
	height: 120px; /* '.push' must be the same height as 'footer' */
	
}

.footercontent {
	border-top: 1px solid #C0C0C0;
	padding: 20px 0px;
}

.footer {
	height: 120px;
	padding: 20px 40px;
}

.mapwrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}


/* sticky footer related end */

.clickable {
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  position: absolute;     
  z-index: 1;
}

ul.sitemap
{
	padding: inherit;
}

ul.events
{
	padding:inherit;
}
ul.events li
{
	padding-top:10px;
	/* border-bottom: 1px solid #000; */
}

ul.rig {
	list-style: none;
	font-size: 0px;
	margin-left: -2.5%; /* should match li left margin */
}
ul.rig li {
	display: inline-block;
	padding: 10px;
	margin: 0 0 2.5% 2.5%;
	background: #fff;
	border: 1px solid #ddd;
	font-size: 16px;
	font-size: 1rem;
	vertical-align: top;
	box-shadow: 0 0 5px #ddd;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	overflow: hidden;
}
ul.rig li img {
	/* max-width: 100%;
	height: auto;
    overflow: hidden;
	margin: 0 0 0; */
	position:relative;

}
ul.rig li h3 {
	margin: 0 0 5px;
}
ul.rig li p {
	font-size: .9em;
	line-height: 1.5em;
	color: #999;
}

.thumb {
    display: inline-block;
     width: 100%;
    height: 180px;
    overflow: hidden;
    background-position: center center;
    background-size: cover;
	position: relative;
}

/* class for 2 columns */
ul.rig.columns-2 li {
	width: 47.5%; /* this value + 2.5 should = 50% */
}
/* class for 3 columns */
ul.rig.columns-3 li {
	width: 30.83%; /* this value + 2.5 should = 33% */
	height: 200px;
}
/* class for 4 columns */
ul.rig.columns-4 li {
	width: 22.5%; /* this value + 2.5 should = 25% */
}

@media (max-width: 480px) {
	ul.grid-nav li {
		display: block;
		margin: 0 0 5px;
	}
	ul.grid-nav li a {
		display: block;
	}
	ul.rig {
		margin-left: 0;
	}
	ul.rig li {
		width: 100% !important; /* over-ride all li styles */
		margin: 0 0 20px;
	}
	
	img.floatleft {
	float: none;
	margin: 0px 15px 0px 0px;
	clear: both;
	width:100%;
	}

	img.floatright {
	float: none;
	margin: 0px 0px 0px 0px;
	clear: both;
	width:100%;
	}
	
	iframe.floatright {
	float: none;
	margin: 0px 0px 0px 0px;
	clear: both;
	width:100%;
	}
}