﻿* {
	padding:0;
	margin:0;
}

body {
	font-family:"Century Gothic", CenturyGothic, AppleGothic, sans-serif;
	font-weight:400;
	font-size:0.8em;
	color:#333333;
	background:url(../img/Bg7.jpg) no-repeat #b9a33f;
}

a:link, a:visited{
	color:#980000;
	-webkit-transition:color 1s ease-in-out;
	-moz-transition:color 1s ease-in-out;
	-o-transition:color 1s ease-in-out;
	transition:color 1s ease-in-out;
}

a:hover, a:active {
	color:#cc9900;
	-webkit-transition:color 0.5s ease-in-out;
	-moz-transition:color 0.5s ease-in-out;
	-o-transition:color 0.5s ease-in-out;
	transition:color 0.5s ease-in-out;
}

a img {
	border:none;
}

nav a:link, nav a:visited{
	color:white;
	-webkit-transition:color 1s ease-in-out;
	-moz-transition:color 1s ease-in-out;
	-o-transition:color 1s ease-in-out;
	transition:color 1s ease-in-out;
}

h1 {
	color:#cc9900;
	font-weight:normal;
	font-size:1.4em;
	margin-bottom:0.3em;
}

h2 {
	font-weight:bold;
	font-size:1.1em;
}

p {
	margin:1em 0;
}

#wrapper {
	width:970px;
	margin:auto;
}

nav {
	clear:both;
	width:100%;
	border-top:1px solid #cccccc;
	border-bottom:1px solid #cccccc;
	font-size:1.2em;
	background:#990000/*url(../img/Bg2.jpg)*/;
}

nav ul > li {
	list-style:none;
	float:left;
	padding:5px 15px;
	text-transform:uppercase;
	border-right:1px solid #cccccc;
	/*background-color:white;*/
}

nav ul > li.active {
	background:#c7a70a;
}

nav ul > li:last-child {
	border-right:none;
}

nav a:link, nav a:visited {
	text-decoration:none;
}

#sub-box {
	float:left;
	padding:0 0.5em 0.5em 1em;
	margin:0.5em 0.5em 0.2em 0;
	font-size:1.1em;
	width:12.5em;
}

#sub-box > ul {
	padding-bottom:1em;
	border-bottom:1px solid #cc9900;
	margin-bottom:1em;
}

#sub-box > ul > li {
	list-style-type:none;
	line-height:2em;
}
#sub-box > ul a:link {
	text-decoration:none;
}
#contact{
	border:1px solid #cc9900;
	padding:0.5em;
	width:11.5em;
}

#contact input, #contact textarea {
	width:11em;
	font-size:inherit;
	font-family:inherit;
	margin:0.3em 0;
}

header {
	margin-top:1em;
}

header .left {
	float:left;
	text-align:left;
	width:50%;
	padding-bottom: 5px;
	
}

header .right {
	float:right;
	margin-top: 54px;
    text-align: left;   
}
header .right img {
	padding-top:5px;
}

header .right .ph {
	color: darkred;
	font-size: 0.9em;
	padding-left:5px;
	text-decoration: none;
	cursor: default;
}

footer {
	clear:both;
	/*background-image:url(../img/footer.png);*/
	margin-top:2em;
	text-align:center;
	font-size:0.8em;
	line-height:2em;
}

#content {
	clear:both;
	/*padding-top:0.5em;*/
	padding-bottom:1em;
	box-shadow: 0px 10px 10px #888888;
	min-height:600px;
}

#container{
	width: 100%;
}

.clear {
	clear:both;
}
.veil {
	background: rgba(16, 16, 16, 0.9);
	position: fixed;
	left: 0px;
	top: 0px;
	bottom: 0px;
	right: 0px;
	display: none;
}

#body_wrapper{
	width:980px;
	background-color:white;
	min-height:500px;
	margin:auto;
}#content_wrapper{
	margin-top:30px;
	padding:10px;
}

.ret_clients{
	width:100%;
	margin-top:20px;
}

/*** Why meet matt page ***/
.sub_wrap{
	margin:0 0 5em 17em;
	padding:5px;
	text-align:justify;
}

/*** Our Clients page ***/
.testimonial h2, .testimonial p{
	padding-left:50px;
	padding-right:50px;
	padding-top:10px;
	margin:0.5em 0;
}
.small{
	font-size:0.8em;
	color:#cc9900;
} 
.sub_testi{
	padding:0; margin:0;
}

/*---- Home Page/upcoming Section ----*/
.up_e{
}
.up_container{
	border:1px solid #f1f1f1;
	padding:5px;
	width:450px;
	float: left;
	margin: 0px 5px 5px 0px;
}

/*------------ Gallery Page ---------*/

.gallery .section_header h1{
	background-color: transparent;
	line-height: 1.5em;
    margin: 0;
   /* margin-top: 10px;*/
    padding: 0;
    position: relative;
    text-align: left;
	top: 20%;
    z-index: 0;
    width: 100%;
}

.gallery h1
{
	position: relative;
	z-index: 0;
}

.gallery .tiles div
{
	float: left;
	width: 29%;
	padding: 1% 4% 2% 0;
	text-align:center;
}

.gallery .tiles div > img
{
	width: 100%;
	cursor: pointer;
	/*
	float: left;
	width: 27%;
	margin: 3%;
*/}

@-webkit-keyframes pulseGlow
{
	from { -webkit-box-shadow: 0 0 30px 20px white; }
	50% { -webkit-box-shadow: 0 0 10px 5px #c7a70a; }
	to { -webkit-box-shadow: 0 0 30px 20px white; }
}

@-moz-keyframes pulseGlow
{
	from { -moz-box-shadow: 0 0 30px 20px white; }
	50% { -moz-box-shadow: 0 0 10px 5px #c7a70a; }
	to { -moz-box-shadow: 0 0 30px 20px white; }
}

@-o-keyframes pulseGlow
{
	from { -o-box-shadow: 0 0 30px 20px white; }
	50% { -o-box-shadow: 0 0 10px 5px #c7a70a; }
	to { -o-box-shadow: 0 0 30px 20px white; }
}

@keyframes pulseGlow
{
	from { box-shadow: 0 0 30px 20px white; }
	50% { box-shadow: 0 0 10px 5px #c7a70a; }
	to { box-shadow: 0 0 30px 20px white; }
}

.gallery .tiles img:hover
{
	-webkit-animation-name: pulseGlow;
	-webkit-animation-duration: 2s;
	-webkit-animation-iteration-count: infinite;
	-moz-animation-name: pulseGlow;
	-moz-animation-duration: 2s;
	-moz-animation-iteration-count: infinite;
	-o-animation-name: pulseGlow;
	-o-animation-duration: 2s;
	-o-animation-iteration-count: infinite;
	animation-name: pulseGlow;
	animation-duration: 2s;
	animation-iteration-count: infinite;
}

#gallery-slider
{
	position: absolute;
	top: 50%;
	left: 50%;
	height: 533px;
	width: 800px;
	margin: -450px;
	margin-top: -316px;
	background: #fff;
	padding: 50px;
	z-index: 9999;
}

#gallery-slider img
{
	width: 100%;
	height: 100%;
}

#galleryContent
{
	margin-left: 16em;
}

#yearEvents .event
{
	margin-bottom: 1em;
	padding: 0.3em;
	box-shadow: 1px 2px 5px #aaaaaa;
}

#yearEvents .event > .event_name
{
	color: darkred;
	font-weight: bold;
	line-height: 2em;
	margin-right: 50px;
	cursor:pointer;
}

#yearEvents .event img.toggle
{
	width: 21px;
	height: 19px;
	float: right;
}

#yearEvents .event > .event_details
{
	background-color: white;
	padding: 0.3em;
	border: 1px inset white;
}

#yearEvents .event > .close
{
	display: none;
}

#yearEvents .event > .open
{
	display: block;
}

#yearEvents .event > .event_details > table
{
	width: 100%;
}

#yearEvents .event > .event_details > table th
{
	width: 25%;
	text-align: left;
	color: #d7b70a;
	text-transform: uppercase;
}

#yearEvents .event > .event_details > table td
{
	width: 25%;
	vertical-align: top;
	text-align:left;
}
