/******************************************************************
Theme Name: HTML5
Theme URI: http://www.unboundit.com
Author: UnboundiT
Description: HTML5 Theme
******************************************************************/
/* Table of Content
==================================================
	#Reset & Basics
	#Basic Styles
	#Typography
	#Links
	#Lists
	#Menu
	#Images
	#Buttons
	#Tabs
	#Forms
	#Misc
	#Site Styles */


/* #Reset & Basics (Inspired by E. Meyers)
================================================== */
	html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 100%;
		font: inherit;
		vertical-align: baseline; }
	article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
		display: block; }
	body {
		line-height: 1; }
	ol, ul {
		list-style: none; }
	blockquote, q {
		quotes: none; }
	blockquote:before, blockquote:after,
	q:before, q:after {
		content: '';
		content: none; }
	table {
		border-collapse: collapse;
		border-spacing: 0; }
		
		
/* #Basic Styles
================================================== */

	html {

}

	body { 
		background: #fff;
		font: 62.5% "AftaserifRegular";
		color: #565656; 
}

	::-moz-selection {
       background-color: #000;
       color: #fff;
}

	::selection {
       background-color: #000;
       color: #fff;
}
	

/* #Typography
================================================== */

@font-face {
    font-family: 'TrumpGothicEastRegular';
    src: url("fonts/trump_gothic_east-webfont.eot");
    src: url("fonts/trump_gothic_east-webfont.eot-#iefix") format("embedded-opentype"),
         url("fonts/trump_gothic_east-webfont.woff") format("woff"),
         url("fonts/trump_gothic_east-webfont.ttf") format("truetype"),
         url("fonts/trump_gothic_east-webfont.svg#TrumpGothicEastRegular") format("svg");
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'AftaserifRegular';
    src: url('fonts/AftaSerifThin-Regular-webfont.eot');
    src: url('fonts/AftaSerifThin-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/AftaSerifThin-Regular-webfont.woff') format('woff'),
         url('fonts/AftaSerifThin-Regular-webfont.ttf') format('truetype'),
         url('fonts/AftaSerifThin-Regular-webfont.svg#AftaserifRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

	h1, h2, h3, h4, h5, h6 { 
		color: #353534; 
		font-family: 'TrumpGothicEastRegular', sans-serif;
		font-weight: normal; 
		font-variant: normal;
		text-transform: uppercase; 
}
	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
	h1, .h1 { font-size: 3.8em; line-height: 1em; margin: 0 auto 14px; font-weight: 300; text-align: center; border-top: 1px solid #d3d3d3; border-bottom: 1px solid #d3d3d3; padding: 12px 0; letter-spacing: 1px; }
	h2, .h2 { font-size: 3.2em; line-height: 1em; margin: 0 auto 20px; font-weight: 300; text-align: center; border-top: 1px solid #d3d3d3; border-bottom: 1px solid #d3d3d3; padding: 12px 0; letter-spacing: 1px; }
	h3, .h3 { font-size: 1.8em; line-height: 1.6em; margin: 30px 0; font-weight: 300; text-align: left; padding: 0; color: #444; text-transform: none;font-family:"AftaserifRegular",serif;}

	.subheader { color: #777; }

	p { font-size: 1.4em; line-height: 1.6em; margin: 0 0 20px; font-style: normal; text-align: left; }
	p img { margin: 0; }
	p.lead { font-size: 2.1em; line-height: 2.7em; color: #777;  }
	
	em { font-style: italic; }
	strong { font-weight: bold; color: #333; }
	small { font-size: 1.2em; }
	
/*	Blockquotes  */
	blockquote, blockquote p { font-size: 1.1em; line-height: 2.4em; color: #777; font-style: italic; }
	blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
	blockquote cite { display: block; font-size: 1.2em; color: #555; }
	blockquote cite:before { content: "\2014 \0020"; }
	blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }
	
	hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; }


/* #Links
================================================== */
	a, a:visited { color: #000; text-decoration: none; outline: 0; -webkit-transition: color 0.3s ease-out 0s; -moz-transition: color 0.3s ease-out 0s; -o-transition: color 0.3s ease-out 0s; transition: color 0.3s ease-out 0s;  }
	a:hover, a:focus { color: #1FB4DD; }
	p a, p a:visited { line-height: inherit; }
	

/* #Lists
================================================== */
	ul, ol { margin-bottom: 20px; }
	ul { list-style: none outside; }
	ol { list-style: decimal; }
	ol, ul.square, ul.circle, ul.disc { margin-left: 30px; }
	ul.square { list-style: square outside; }
	ul.circle { list-style: circle outside; }
	ul.disc { list-style: disc outside; }
	ul ul, ul ol,
	ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 1.6em;  }
	ul ul li, ul ol li,
	ol ol li, ol ul li { margin-bottom: 6px; }
	li { line-height: 1.8em; margin-bottom: 12px; }
	ul.large li { line-height: 2.1em; }
	li p { line-height: 2.1em; }
	ul#menu-secondary.menu li{font-size:1.6em;}

ul.skillset {
    border-top: 1px dotted #d3d3d3;
    font-family: "AftaserifRegular", serif;
    font-size: 1.5em;
    line-height: 2.4em;
}
ul.skillset li {
    border-bottom: 1px dotted #d3d3d3;
    list-style: none outside none;
    padding: 12px 0;
    margin-bottom: 0;
}
ul.skillset li, ul.skillset li a {
    color: #1FB4DD;
}


/* #Menu
================================================== */

#nav {
    display: block;
    text-align: center;
    border-top: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
    margin: 10px auto 0;
    min-height: 35px;
    padding: 18px 0 0;

}
#nav ul {
    display: block;
    font-family: "AftaserifRegular", serif;
    font-weight: 300;
    margin: 0 auto;
    text-align: center;
    max-width: 430px;
}
#nav ul li {
    display: block;
    border-color: #d3d3d3;
    border-right: 1px solid #d3d3d3;
    float: left;
    padding: 0 25px 0;
}
#nav ul li a, nav ul li a:visited, nav ul li a:active {
    border-radius: 2px 2px 2px 2px;
    color: #555555;
    font-size: 1.9em;
    position: relative;
    text-decoration: none;
}

#nav ul li.first {
    padding-left: 0;
}

#nav ul li.last {
    border-right: none;
    padding-right: 0;
}

#nav ul li a:hover, nav ul li a:focus {
    color: #1FB4DD;
}

#nav ul li.current_page_item a {
    color: #1FB4DD;
}
#nav ul li.current_page_ancestor a {
    color: #1FB4DD;
}
	
/* #Images
================================================== */
/*
	The purpose of the below declaration is to make sure images don't 
	exceed the width of columns they are put into when resizing window. 
	Unfortunately, this declaration breaks certain lightbox, slider or other plugins,
	so the best solution is to individually call these properties on images that 
	are children of the grid that you want to resize with grid. 

	img { 
		max-width: 100%;
		height: auto; }
 
*/


/* #Buttons
================================================== */
	
	a.button, 
	button,
	input[type="submit"],
	input[type="reset"],
	input[type="button"] {
		background: #eee; /* Old browsers */
		background: -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.2)), color-stop(100%,rgba(0,0,0,.2))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Opera11.10+ */
		background: -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* IE10+ */
		background: linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* W3C */
	  border: 1px solid #aaa;
	  border-top: 1px solid #ccc;
	  border-left: 1px solid #ccc;
	  padding: 4px 12px;
	  -moz-border-radius: 3px;
	  -webkit-border-radius: 3px;
	  border-radius: 3px;
	  color: #444;
	  display: inline-block;
	  font-size: 1.1em;
	  font-weight: bold;
	  text-decoration: none;
	  text-shadow: 0 1px rgba(255, 255, 255, .75);
	  cursor: pointer;
	  margin-bottom: 20px;
	  line-height: 21px;
	  font-family: "AftaserifRegular", serif; }
	  
	a.button:hover, 
	button:hover,
	input[type="submit"]:hover,
	input[type="reset"]:hover,
	input[type="button"]:hover {
		color: #222;
		background: #eee; /* Old browsers */
		background: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */
		background: -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */
		background: linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* W3C */
	  border: 1px solid #888;
	  border-top: 1px solid #aaa;
	  border-left: 1px solid #aaa; }
	  
  a.button:active, 
  button:active,
	input[type="submit"]:active,
	input[type="reset"]:active,
	input[type="button"]:active {
    background: #eee; /* Old browsers */
    background: -moz-linear-gradient(top, rgba(0,0,0,.3) 0%, rgba(255,255,255,.3) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,.3)), color-stop(100%,rgba(255,255,255,.3))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(0,0,0,.3) 0%,rgba(255,255,255,.3) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(0,0,0,.3) 0%,rgba(255,255,255,.3) 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, rgba(0,0,0,.3) 0%,rgba(255,255,255,.3) 100%); /* IE10+ */
    background: linear-gradient(top, rgba(0,0,0,.3) 0%,rgba(255,255,255,.3) 100%); /* W3C */
    border: 1px solid #888;
    border-bottom: 1px solid #aaa;
    border-right: 1px solid #aaa; }
	
	.button.full-width, 
	button.full-width,
	input[type="submit"].full-width,
	input[type="reset"].full-width,
	input[type="button"].full-width { 
		width: 100%;
		padding-left: 0 !important;
		padding-right: 0 !important;
		text-align: center; }
	
	
/* #Tabs (activate in app.js)
================================================== */
	ul.tabs { 
		display: block;
		margin: 0 0 20px 0;
		padding: 0;
		border-bottom: solid 1px #ddd; }
	ul.tabs li { 
		display: block;
		width: auto;
		height: 30px;
		padding: 0;
		float: left;
		margin-bottom: 0; }
	ul.tabs li a { 
		display: block; 
		text-decoration: none;
		width: auto; 
		height: 29px; 
		padding: 0px 20px; 
		line-height: 1em; 
		border: solid 1px #ddd;
		border-width: 1px 0 0 1px; 
		margin: 0;  
		background: #f5f5f5;
		font-size: 1.3em; }
	ul.tabs li a.active { 
		background: #fff; 
		height: 30px;
		position: relative;
		top: -4px;
		padding-top: 4px;
		border-right-width: 1px;
		margin: 0 -1px 0 0;
		color: #111;
		-moz-border-radius-topleft: 2px;
		-webkit-border-top-left-radius: 2px;
		border-top-left-radius: 2px;
		-moz-border-radius-topright: 2px;
		-webkit-border-top-right-radius: 2px;
		border-top-right-radius: 2px; }
	ul.tabs li:first-child a {
		-moz-border-radius-topleft: 2px;
		-webkit-border-top-left-radius: 2px;
		border-top-left-radius: 2px; }
	ul.tabs li:last-child a {
		border-width: 1px 1px 0 1px;
		-moz-border-radius-topright: 2px;
		-webkit-border-top-right-radius: 2px;
		border-top-right-radius: 2px; }
	
	ul.tabs-content { margin: 0; display: block; }
	ul.tabs-content > li { display:none; }
	ul.tabs-content > li.active { display: block; }
		
	/* Clearfixing tabs for beautiful stacking */
	ul.tabs:before,
	ul.tabs:after {
	  content: '\0020';
	  display: block;
	  overflow: hidden;
	  visibility: hidden;
	  width: 0;
	  height: 0; }
	ul.tabs:after {
	  clear: both; }
	ul.tabs {
	  zoom: 1; }
			
			
/* #Forms
================================================== */

	form { 
		margin-bottom: 20px; }
	fieldset { 
		margin-bottom: 20px; }
	input[type="text"], 
	input[type="password"],
	input[type="email"],
	textarea, 
	select {
		border: 1px solid #ccc;
		padding: 6px 4px;
		outline: none;
		-moz-border-radius: 2px;
		-webkit-border-radius: 2px;
		border-radius: 2px;
		font: 1.3em "AftaserifRegular", serif;
		color: #777;
		margin: 0;
		width: 210px;
		max-width: 100%;
		display: block;
		margin-bottom: 20px;
		background: #fff; }
	select { 
		padding: 0; }
	input[type="text"]:focus,
	input[type="password"]:focus,
	input[type="email"]:focus, 
	textarea:focus {
		border: 1px solid #aaa;
 		color: #444;
 		-moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
		-webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
		box-shadow:  0 0 3px rgba(0,0,0,.2); }
	textarea {
		min-height: 60px; }
	label,
	legend { 
		display: block;
		font-weight: bold;
		font-size: 1.3em;  }
	select { 
		width: 220px; }
	input[type="checkbox"] {
		display: inline; }
	label span,
	legend span {
		font-weight: normal;
		font-size: 1.3em;
		color: #444; }
		
/* #Misc
================================================== */
	.remove-bottom { margin-bottom: 0 !important; }
	.half-bottom { margin-bottom: 10px !important; }
	.add-bottom { margin-bottom: 20px !important; }

/* #Site Styles
================================================== */

div.container {
    /* padding: 20px 0; */
}

.logo {
    text-align: center;
 /*   float: none;*/
}

div.section {
   margin: 30px 0;
   overflow: hidden;
}

div.section img {
   height: auto;
   max-width: 100%;
}
div.one-third.column.thumbnail a img {
    border-bottom: 1px solid #D1D1D1;
    border-left: 1px solid #F2F2F2;
    border-right: 1px solid #E2E2E2;
    border-top: 1px solid #F2F2F2;

	
    height: auto;
   max-width: 99.6%;
/*   border:1px solid #CCC; */
}

p.background {
   font: 2.0em/1.6em "AftaserifRegular", serif;
   font-weight: 200;
   color: #444; 
   text-align: center;
   margin: 30px 0;
}

.container .one-third.column {
   text-align: center;
   margin-bottom: 13px;
}

.container .one-third.column p {
   margin: 0 auto 10px;
   text-align: center;
   padding: 0 15px;
}

#about {
    margin: 10px 0 0;
    overflow: auto;
}

#studio {
    margin: 0 0 30px 0;
    overflow: auto;
}

#tools {
    margin: 0 0 30px 0;
    overflow: auto;
}

#project {
    margin: 30px 0 20px;
    overflow: auto;
}

#project img {
    margin-bottom: 10px;
}

#project-details {
    margin: 30px 0;
    overflow: auto;
}

p.introduction {
   font: 2.1em/1.5em "AftaserifRegular", serif;
   font-weight: 300;
   color: #444; 
   text-align: left;
   margin: 30px 0;
   border-bottom: 1px dotted #d3d3d3;
   padding-bottom: 30px;
}

p.main {
   font-size: 2.1em;
   margin: 30px 0;
}

#clients {
    margin-top: 0;
}

p.quote {
   font: 1.7em/1.6em "AftaserifRegular", serif;
   font-weight: 300;
   color: #444; 
   text-align: center;
   margin: 20px 0 0;
}

p.author {
   font: 1.9em/1.6em "AftaserifRegular", serif;
   font-weight: 300;
   color: #1fb4dd; 
   text-align: center;
   margin: 5px 0;
}

.thumbnail {
   position: relative;
   height: 100%;
}

.thumbnail .details {
   text-align: center;
   background-color: #1fb4dd;
   background-color: rgba(31, 180, 221, 1.0);
   color: #fff;
   opacity: 0;
   position: absolute;
   top: 1.3em;
   left: 0;
   -webkit-transition: 0.25s ease-in;
   -moz-transition: 0.25s ease-in;
   -o-transition: 0.25s ease-in;
   transition: 0.25s ease-in;
   min-height: 50%;
   width: 100%;
}

.no-opacity .thumbnail .details {
   text-align: center;
   background: none;
   min-height: 50%;
   width: 100%;
   top: -9999px;
}

.thumbnail:hover .details {
   margin-top: 0;
   opacity: .9;
}

.thumbnail .details h3, .h3 { 
   font-family: 'TrumpGothicEastRegular', sans-serif;
   font-weight: 300; 
   color: #fff; 
   font-size: 3.6em; 
   line-height: 1em;
   letter-spacing: 1px; 
   margin: 0 auto;
   text-transform: uppercase; 
   text-align: center; 
   padding: 27px 0 5px; 
   border: none; 
}


.thumbnail .details p { 
   font-size: 1.8em; 
}

.work {
   margin-bottom: 30px;
}


/* #Footer
================================================== */

#footer {
   background: url("images/nav/footer_mast.png") no-repeat;
   margin: 0 auto;
   height: 58px;	
   padding: 17px 30px;
}

#footer p {
   font-family: "AftaserifRegular", serif;
   float: left;
   color: #d3d3d3;
   padding: 10px 0 0 5px;
}

#footer p a {
   color: #d3d3d3;
}

#footer img {
   float: right;
}

.fb_edge_widget_with_comment {
    width: 50px;
    float: left;
    position: relative;
    margin-top: 10px;
}

//#footer iframe.twitter-follow-button {
   margin-top: 10px;
   position: relative;
   float: right;
   width: 20px;
}

/* #Typo
================================================== */
div.padding h1{letter-spacing:0;}
/*
h1,h2,h3,h4,h5,h6{font-weight:normal;color:#111;}
h1{font:3em 'AftaserifRegular',Arial,Helvetica,sans-serif;line-height:1;margin-bottom:.5em;}
h2{font:2em 'AftaserifRegular',Arial,Helvetica,sans-serif;margin-bottom:.75em;}
h3{font:1.5em 'AftaserifRegular',Arial,Helvetica,sans-serif;line-height:1;margin-bottom:1em;}
h4{font:1.2em 'AftaserifRegular',Arial,Helvetica,sans-serif;line-height:1.25;margin-bottom:1.25em;}
h5{font:1em 'AftaserifRegular',Arial,Helvetica,sans-serif;font-weight:bold;margin-bottom:1.5em;}
h6{font:1em 'AftaserifRegular',Arial,Helvetica,sans-serif;font-weight:bold;}
*/
h1 img,h2 img,h3 img,h4 img,h5 img,h6 img{margin:0;}

/* #Paragraphs
================================================== */
p{margin:0 0 1.5em;}
.left{float:left!important;}
p .left{margin:1.5em 1.5em 1.5em 0;padding:0;}
.right{float:right!important;}
p .right{margin:1.5em 0 1.5em 1.5em;padding:0;}

/* #Anchors
================================================== */
/*
a:focus,a:hover{color:#09f;}
a{color:#06c;text-decoration:underline;}
*/

/* #Blockquotes
================================================== */
blockquote{margin:1.5em;color:#666;font-style:italic;}

/* #Misc tags
================================================== */
strong,dfn{font-weight:bold;}
em,dfn{font-style:italic;}
sup,sub{line-height:0;}
abbr,acronym{border-bottom:1px dotted #666;}
address{margin:0 0 1.5em;font-style:italic;}
del{color:#666;}
pre{margin:1.5em 0;white-space:pre;}
pre,code,tt{font:1em 'andale mono','lucida console',monospace;line-height:1.5;}
.highlight{background:#ff0;}
.added{background:#060;color:#fff;}
.removed{background:#900;color:#fff;}
.first{margin-left:0;padding-left:0;}
.last{margin-right:0;padding-right:0;}
.top{margin-top:0;padding-top:0;}
.bottom{margin-bottom:0;padding-bottom:0;}
.highlight-yellow{background:none repeat scroll 0 0 #ff0;color:#111;padding:1px 4px;}

/* #Messages
================================================== */
.warning{background:url("images/icons/warning.png") no-repeat scroll .5em .4em #feffd5;color:#cacb90;font-size:2.4em;margin:15px 0;padding:12px 12px 12px 57px;}
.error,.alert,.notice,.success,.info{padding:.8em;margin-bottom:1em;border:2px solid #ddd;}
.error,.alert{background:#fbe3e4;color:#8a1f11;border-color:#fbc2c4;}
.notice{background:#fff6bf;color:#514721;border-color:#ffd324;}
.success{background:#e6efc2;color:#264409;border-color:#c6d880;}
.info{background:#d5edf8;color:#205791;border-color:#92cae4;}
.error a,.alert a{color:#8a1f11;}
.notice a{color:#514721;}
.success a{color:#264409;}
.info a{color:#205791;}

/* #Lists
================================================== */
div.nine ul, div.nine ol, div.nine dl{font-size:1.4em;}
div.nine li ul,div.nine li ol{margin:0;}
div.nine ul,div.nine ol{margin:0 1.5em 1.5em 0;padding-left:1.5em;}
div.nine ul{list-style-type:disc;}
div.nine ol{list-style-type:decimal;}
dl{margin:0 0 1.5em 0;}
dl dt{font-weight:bold;}
dd{margin-left:1.5em;}


/* #Tables
================================================== */
table{margin-bottom:1.4em;width:100%;border-collapse:separate;border:1px solid #000;border-spacing:2px;}
th{font-weight:bold;}
thead th{background:#c3d9ff;}
th,td,caption{padding:4px 10px 4px 5px;}
tbody tr:nth-child(even) td,tbody tr.even td{background:#e5ecf9;}
tfoot{font-style:italic;}
caption{background:#eee;}

/* #Weights
================================================== */
.small{font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
.large{font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;}
.hide{display:none;}
.quiet{color:#666;}
.loud{color:#000;}

/* #Align
================================================== */
img.alignleft{border-bottom:1px solid #d1d1d1;border-left:1px solid #f2f2f2;border-right:1px solid #e2e2e2;display:inline;float:left;margin-right:15px;margin-top:3px;padding:4px;}
img.alignright{border-bottom:1px solid #d1d1d1;border-left:1px solid #f2f2f2;border-right:1px solid #e2e2e2;display:inline;float:right;margin-left:15px;margin-top:5px;padding:4px;}
span.inset-right{display:block;float:right;font:italic 14px/25px Georgia,rial,Sans-serif;letter-spacing:0;padding:15px;width:35%;}
span.inset-left{display:block;float:left;font:italic 14px/25px Georgia,Arial,Sans-serif;letter-spacing:0;padding:15px;width:35%;}

/* #Curvy
================================================== */
.curvy{background:none repeat scroll 0 0 #f1bf00;color:inherit;padding:10px 20px 1px;position:relative;margin:1em;}
#ctl,#cbl,#ctr,#cbr{background:none repeat scroll 0 0 #fff;color:inherit;font-style:normal;height:20px;overflow:hidden;position:absolute;width:20px;z-index:1;}
#ctl{left:0;top:0;}
#cbl{bottom:0;left:0;}
#ctr{right:0;top:0;}
#cbr{bottom:0;right:0;}
.curvy em b{background:inherit;color:#f1bf00;font-family:Arial,Sans-serif;font-size:150px;font-weight:400;line-height:40px;position:absolute;}
#ctl b{left:-8px;}
#ctr b{left:-25px;}
#cbl b{left:-8px;top:-17px;}
#cbr b{left:-25px;top:-17px;}
.curvy p{padding:10px 15px;position:relative;z-index:101;}

/* #Forms
================================================== */
label{font-weight:bold;}
fieldset{padding:0 1.4em 1.4em 1.4em;margin:0 0 1.5em 0;border:1px solid #ccc;}
legend{font-weight:bold;font-size:1.2em;margin-top:-0.2em;margin-bottom:1em;}
fieldset,#IE8#HACK{padding-top:1.4em;}
legend,#IE8#HACK{margin-top:0;margin-bottom:0;}
/*
input[type=text],input[type=password],input.text,input.title,textarea{background-color:#fff;border:1px solid #bbb;}
input[type=text]:focus,input[type=password]:focus,input.text:focus,input.title:focus,textarea:focus{border-color:#666;}
select{background-color:#fff;border-width:1px;border-style:solid;}
input[type=text],input[type=password],input.text,input.title,textarea,select{margin:.5em 0;}
input.text,input.title{width:300px;padding:5px;}
input.title{font-size:1.5em;}
textarea{width:390px;height:250px;padding:5px;}
*/
form.inline{line-height:3;}
form.inline p{margin-bottom:0;}
.amaregalo {
	text-align: center;
	padding-top: 4em;
}
@media (max-width: 480px)
{
#nav ul li {
	padding: 0 8px 0;
}
}