/*
| Master CSS file for front end.
*/

@font-face {
    font-family: 'Franklin';
    src: url('../fonts/frabk.eot');
    src: url('../fonts/frabk.eot') format('embedded-opentype');
    src: url('../fonts/frabk.woff') format('woff');
    src: local('xlxlx') url('../fonts/frabk.ttf') format('truetype');
    src: url('../fonts/frabk.svg#Franklin') format('svg');
}

/* -- GLOBAL -- */

ol, ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

h3 {
	color:#871c3d;
	font-size: 22pt;
	margin-bottom: 10px;
	margin-top:10px;
}

a {
	color:#7e0027;
	text-decoration: none;
	font-weight: bold;
}
a img {
	border:none;
}

hr {
	height:5px;
	background: transparent url('../images/site/dot-dark.png') repeat-x scroll center center;
	border: none;
}

hr.short {
	width: 50%;
}

address {
	font-style: normal;
}

/* -- STRUCTURE -- */

body {
	background-color: #3F1E17;
	margin: 0;
	padding: 0;
	font:11.5pt/1.3 Franklin,Arial,Helvetica,sans-serif;
	color: #3f1e17;
}

body>header > div,
section#main > div,
body>footer > div {
	width: 1024px;
	margin: 0 auto;
}

.enclosure {
	width:964px;
	padding:30px;
	margin-left:auto;
	margin-right:auto;
	position: relative;
}

/* Top Bar */
body>section.top-bar {
	color:#ffffff;
	background-color: #922748;
	box-shadow:inset 0 -1.2em 0 #871c3d;
	height: 2em;
	text-align: center;
	font-size: 14pt;
	padding-top: .5em;
}

body>section.top-bar a {
	color: #FFF;
	border-bottom: 1px dashed #FFF;
}

/* Header */
body>header {
	position: relative;
	background: #D8C9B5;
	background: -moz-linear-gradient(top, #D8C9B5, #FEFAEF);
	background: -webkit-linear-gradient(top, #D8C9B5, #FEFAEF);
	background: -o-linear-gradient(top, #D8C9B5, #FEFAEF);
	background: -ms-linear-gradient(top, #D8C9B5, #FEFAEF);
	background: linear-gradient(to bottom, #D8C9B5, #FEFAEF);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#D8C9B5', endColorstr='#FEFAEF');
	margin-top: 14px;
	height: 176px;
}

body>header > div {
	position: relative;
}

body>header #logo {
	display: block;
	height: 153px;
	width: 196px;
	background-image: url('../images/site/edevents-logo.png');
	background-repeat: no-repeat;
	text-indent: -9000px;
	overflow: hidden;
	position: absolute;
	top: -10px;
	left: 0;
}

body>header #subheader {
	position: absolute;
	top: 143px;
	left: 0;
	font-family: 'Thonburi', Arial, Verdana, sans-serif;
	font-size: 12px;
	color: #3f1e17;
}

body>header nav {
	position: absolute;
	right:-20px;
	top:95px;
}

body>header nav > ul > li {
	display: inline-block;
	position: relative;
}
body>header nav > ul > li > a {
	display: block;
	margin: 0 0 0 0px;
	color: #3f1e17;
	font-family: 'Thonburi', Arial, Verdana, sans-serif;
	font-size: 18px;
	text-decoration: none;
	padding:20px;
	padding-top:40px;
}

body>header nav>ul>li.sel > a,
body>header nav>ul>li:hover>a {
	background-image:url('../images/site/hover.png');
	background-repeat: no-repeat;
	background-position: center top;
	font-style:italic;
}
body>header nav>ul:hover>li.sel:not(:hover)>a {
	background-image:none;
	font-style:normal;
}

/* Sub Nav */
body>header nav ul ul {
	display: none;
	position: absolute;
	top: 5em;
	left: 0px;
	background-color: #3f1e17;
	z-index: 10;
}

body>header nav > ul > li:hover ul {
	display: block;
}

body>header nav ul ul:before {
	content: ' ';
	position: absolute;
	top: -.8em;
	left: 4em;
	width: 0;
	height: 0;
	border-left: 13px solid transparent;
	border-right: 13px solid transparent;
	border-bottom: 13px solid #3f1e17;

}

body>header nav ul ul li:hover {
	position: relative;
	background-color: #48271f;
}

body>header nav ul ul li:hover:before {
	content: ' ';
	position: absolute;
	right: .8em;
	top: 1em;
	border-left: 6px solid #FFFFFF;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
}

body>header nav ul ul a {
	display: block;
	white-space: nowrap;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10.5pt;
	color: #FFFFFF;
	padding: 1em 2em 1em 1.5em;
}

body>header #top-links {
	position: absolute;
	top: -14px;
	right: 0;
}

body>header #top-links a,
body>header #top-links p {
	position:relative;
	display: block;
	float: left;
	padding: .5em .75em;
	margin: 0 0 0 20px;
	color: #3f1e17;
	font-weight: bold;
	font-size: 15pt;
	font-family: 'Franklin Gothic', Arial, Verdana, sans-serif;
	background: #fcd692;
	background: -moz-linear-gradient(top, #fcd692 0%, #fcd692 50%, #ffd07b 50%, #ffd07b 100%);
	background: -webkit-linear-gradient(top, #fcd692 0%,#fcd692 50%,#ffd07b 50%,#ffd07b 100%);
	background: linear-gradient(to bottom, #fcd692 0%,#fcd692 50%,#ffd07b 50%,#ffd07b 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#fcd692', endColorstr='#ffd07b');
	
}
body>header #top-links a:after { /* Shadow */
	content:' ';
	position:absolute;
	height:6px;
	width:80%;
	left:10%;
	top:100%;
	background-image:radial-gradient(ellipse farthest-side at center top, rgba(163,141,127,0.6), rgba(163,141,127,0));
}

body>header #top-links a.email-link {
	color: #fff;
	background: #a3b9d7;
	background: -moz-linear-gradient(top, #a3b9d7 0%, #a3b9d7 50%, #99b4d7 50%, #99b4d7 100%);
	background: -webkit-linear-gradient(top, #a3b9d7 0%,#a3b9d7 50%,#99b4d7 50%,#99b4d7 100%);
	background: linear-gradient(to bottom, #a3b9d7 0%,#a3b9d7 50%,#99b4d7 50%,#99b4d7 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#a3b9d7', endColorstr='#99b4d7');
}

body>header #top-links a.email-link span {
	display: inline-block;
	background: transparent url('../images/icons/email-link.png') no-repeat scroll center left;
	padding-left: 1.5em;
}

body>header #top-links a.email-link img {
	margin: 0;
}

#slogan {
	display: block;
	position: absolute;
	left:0px;
	top:130px;
	color:#3f1e17;
	font-size: 10pt;
	font-family: Thonburi;
}



#main {
	/*background-image: linear-gradient(to bottom, #FEFAEF, #F1E4CD);*/
	background:#fefaef;
	padding:1em 0 4em;
	min-height:20em;
	box-shadow:inset 0 -10em 5em -5em #F1E4CD;
}

#main > header {
	width: 100%;
	background: transparent url('../images/site/bg-design.jpg') repeat-x scroll center center;
	padding: .5em 0;
	margin-bottom: 2em;
	color: #75090b;
	box-shadow:inset 0 0 60px rgba(236,218,191,0.3);
}

#main > header > h1 {
	position: relative;
	width: 1025px;
	margin: 0 auto;
	padding: .25em 0 .5em;
	background: transparent url('../images/site/dot-dark.png') repeat-x scroll top center;
	font-size: 21pt;
	font-style: italic;
}

#main > header > h1:after {
	content: ' ';
	position: absolute;
	top: 100%;
	height: 15px;
	width: 100%;
	left: 0;
	margin-top: 8px;
	background-image: -webkit-radial-gradient(ellipse 40% 240% at center bottom, rgb(254,250,239) 40%, rgba(254,250,239,0)), radial-gradient(ellipse farthest-side at center top, rgba(163,141,127,0.9) 20%, rgba(163,141,127,0));
	background-image: -moz-radial-gradient(ellipse 40% 240% at center bottom, rgb(254,250,239) 40%, rgba(254,250,239,0)), radial-gradient(ellipse farthest-side at center top, rgba(163,141,127,0.9) 20%, rgba(163,141,127,0));
	background-image: radial-gradient(ellipse 40% 240% at center bottom, rgb(254,250,239) 40%, rgba(254,250,239,0)), radial-gradient(ellipse farthest-side at center top, rgba(163,141,127,0.9) 20%, rgba(163,141,127,0));
}

#main > header img {
	max-width: 50px;
	max-height: 50px;
	vertical-align: middle;
	margin-right: .8em;
}

#main .col.left {
	width: 66%;
	margin-right: 3%;
}

#main .col.right {
	width: 30%;
}

/* Footer */
body>footer {
	position:relative;
	background-color: #3F1E17;
	color: #FFFFFF;
}

body>footer a {
	color: #FFFFFF;
}

body>footer:before {
	content: ' ';
	display: block;
	background-color: #48271F;
	padding-top: .5em;
}
body>footer:after { /* Shadow */
	content:' ';
	position:absolute;
	height:0.7em;
	width:500px;
	left:50%;
	bottom:100%;
	margin:0 0 0 -250px;
	background-image:radial-gradient(ellipse farthest-side at center bottom, rgba(163,141,127,0.7) 20%, rgba(163,141,127,0));
}

body>footer > div {
	position: relative;
}

body>footer .footer-top,
body>footer .footer-bottom {
	margin: 1em 0 1em 14em;
}

body>footer .col.left {
	width: 590px;
	margin-right: 45px;
	text-align: center;
}

body>footer .col.right {
	width: 160px;
	text-align: right;
}

body>footer .footer-top .col.left {
	padding-bottom: 1em;
	background: transparent url('../images/site/dot.png') repeat-x scroll bottom center;
}

body>footer nav li {
	display: inline-block;
	text-align: center;
	padding: 0 1em;
}

body>footer nav li a {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13pt;
}

body>footer .footer-logo {
	position: absolute;
	left:1em;
	top:0em;
	background: transparent url('../images/site/edevents-logo-big.png') no-repeat left top;
	width:160px;
	height:92px;
	margin:0;
	padding:0 0 0.5em;
}

body>footer .keep-touch {
	position: relative;
}

body>footer .keep-touch-popup {
	position: absolute;
	display: none;
	bottom: 3em;
	right:0.7em;
	width:285px;
	z-index: 50;	
}

body>footer .keep-touch-popup:after {
	content: ' ';
	position: absolute;
	bottom: -.75em;
	right: -.2em;
	width: 0;
	height: 0;
	border-top: 8px solid #d5c2a5;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
}

body>footer .keep-touch-close {
	position:absolute;
	right:0.4em;
	top:0.1em;
	color:#3f1e17;
	font-size:16pt;
}

body>footer .keep-touch-link {
	display: inline-block;
	background: transparent url('../images/icons/email-link-big.png') no-repeat scroll center right;
	font-size: 10.5pt;
	font-style: italic;
	height: 25px;
	padding-top: .3em;
	padding-right: 4em;
}

body>footer .jb-logo {
	display: inline-block;
	background: transparent url('../images/site/jb-logo.png') no-repeat scroll center center;
	width: 79px;
	height: 30px;
	color: transparent;
	text-indent: -99999px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

body>footer .copyright {
	font-size: 9pt;
}

body>footer .copyright a {
	font-style: italic;
}

/* -- COLUMNS -- */
.col {
	display: inline-block;
	vertical-align: top;
}

/* -- BUTTONS -- */
/* Yellow */
.button {
	display:inline-block;
	font:italic bold 11pt/1.3 Thonburi,Arial,Helvetica,sans-serif;
	vertical-align:middle;
	padding:0.5em;
	color:#000000;
	background-color: #fcd692;
	box-shadow:inset 0 -1.2em 0 #ffd07b;
	/*background-image: -moz-linear-gradient(top, #ffd07b 0%, #871C3D 50%, #fcd692 100%);
	background-image: -webkit-linear-gradient(top, #ffd07b 0%, #fcd692 50%, #fcd692 100%);
	background-image: linear-gradient(to bottom, #ffd07b 0%, #fcd692 50%, #fcd692 100%);*/
	border: none;
	cursor: pointer;
	border-radius:2px;
}

.button:hover {
	/*background-color:#ffd07b;*/
	box-shadow:inset 0 0.8em 2em -0.8em rgba(255,255,255,0.3);
}


/* Red */
.button.red {
	color:#ffffff;
	background-color: #922748;
	box-shadow:inset 0 -1.2em 0 #871c3d;
	/*background-image: -moz-linear-gradient(top, #922748 0%, #871C3D 50%, #871C3D 100%);
	background-image: -webkit-linear-gradient(top, #922748 0%, #871C3D 50%, #871C3D 100%);
	background-image: linear-gradient(to bottom, #922748 0%, #871C3D 50%, #871C3D 100%);*/
}


/* Blue */
.button.blue {
	color:#fff;
	background:#a3b9d7;
	box-shadow:inset 0 -1.2em 0 #99b4d7;
}


/* Delete / trash */
.button.del:before {
	content:url('../images/icons/trash.png');
	vertical-align:middle;
	padding-right:0.4em;
}


/*.button.red:hover {
	background-color:#922748;
}*/

/* Arrow links */
.arrow {
	font:italic bold 11pt/1.3 Thonburi,Arial,Helvetica,sans-serif;
	text-decoration:underline;
}
.arrow:after {
	content:'  >';
}


/* -- Join Our E-mail List! -- */
.join-email-list {
	padding:1em 1em 0.7em;
	color: #3f1e17;
	border: 4px solid #d5c2a5;
	font-family: Arial,Helvetica,sans-serif;
	text-align: left;
	background:#d5c2a5 url('../images/site/texture-scratched.jpg') repeat center top;
	box-shadow:inset 0 0 60px rgba(236,218,191,0.7), 0 0 1em rgba(0,0,0,0.2);
}

.join-email-list form {
	position:relative;
}
.join-email-list form:before,
.join-email-list form:after {
	content:' ';
	position:absolute;
	width:100%;
	height:2px;
	left:0;
	background:transparent url('../images/site/dot-dark.png') repeat-x center center;
}
.join-email-list form:before {
	top:-10px;
}
.join-email-list form:after {
	bottom:-10px;
}

.join-email-list h4 {
	font-size:12pt;
	margin:0.5em 0 0;
}
.join-email-list p {
	margin:0.7em 0;
}
.join-email-list em {
	display:block;
	font-size: 9.5pt;
	line-height:1.2;
}

.join-email-list input {
	margin:0;
	vertical-align:middle;
}
.join-email-list input[type="text"] {
	font:9.5pt/1.3 Arial,Helvetica,sans-serif;
	background:#fff;
	border:1px solid #e5e5e5;
	padding:0.55em;
	border-radius:0.2em 0 0 0.2em;
	width:14em;
}

.join-email-list.keep-touch-popup input[type="text"] {
	width: 15em;
}

.join-email-list .button {
	padding: .5em 1em;
	background: #3f1e17;
	color: #FFFFFF;
	font-size: 9pt;
	font-weight: bold;
	border-radius:0 0.2em 0.2em 0;
	box-shadow:none;
}

/* Callouts */



.callout,
.info-box {
	/*box-shadow: 0 0 60px rgba(236, 218, 191, 0.7) inset, 0 0 1em rgba(0, 0, 0, 0.2);*/
	width: 299px;
	height: 212px;
	
}

.callout {
	border: 4px solid #D5C2A5;
}

.callout img {
	width: 299px;
	height: 212px;

}

/* Info Box */
.info-box {
	background-color: #f3ecdc;
	height: auto;
	min-height: 212px;
	margin-bottom: 1em;
	box-shadow: 0 0.6em 0.7em -0.4em rgba(0,0,0,0.2);
}

.info-box > h3 {
	position: relative;
	margin: 0 -1em;
	background: #48271f;
	box-shadow: inset 0 -1.2em 0 #3f1e17;
	font-size: 16pt;
	padding: 0.3em 1em;
	color: #fff;
}

.info-box > h3:before,
.info-box > h3:after {
	content: ' ';
	position: absolute;
	top: 100%;
	border-top: 10px solid #871c3d;
}

.info-box > h3:before {
	left:0;
	border-left: 1em solid transparent;
}

.info-box > h3:after {
	right:0;
	border-right: 1em solid transparent;
}

.info-box > p {
	padding: .25em 1em;
}
/* -- MISC -- */

.align-left { text-align: left !important; }
.align-center { text-align: center !important; } 
.aign-right { text-align: right !important; } 

/* Fix extra button padding in Firefox */
button::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner {
    border:none;
    padding:0;
    line-height:1;
}

/* Error Message */
.error-msg {
	color: red;
	font-weight: bold;
}

.info-msg {
	font-weight: bold;
}