/*   
Theme Name: DYAO Tome
Theme URI: http://webpresencehelp.com
Description: A child theme of Mage.
Author: WebPresence
Author URI: http://webpresencehelp.com
Template: mage
Version: 1.0
Tags: Mage
.
Mage and Tome themes are © Web Presence LLC http://webpresencehelp.com/
.
*/

a img {
	border: none;
}

th {
	text-align: left;
}

td, th {
	padding-right: 15px;
}

html {
	height: 100%;
	margin:0;
	padding:0;
	font-size: 100%;
}

body {
	height: 100%;
	margin: 0px;
	padding: 0px;
	
	background: #5D7A84 url('images/bg.png');
	background-repeat: repeat-y;
	background-position: top center;

	font-family: 'Trebuchet MS', Trebuchet, Arial, Helvetica, Sans-Serif;
}

#wrapper {
	min-height: 100%;
	width: 962px;
		
	padding: 0px;
	margin: 0px auto;
	background: #004C65;
}

h1, h2, h3, h4, h5 {
	margin: 0px;
}

select {
	padding: 2px;
}

#top {
	color: #FFF;
	height: 64px;
}

#top a, #footer a {
	color: #FFF;
	text-decoration: none;
}

#navigation {
	margin: 0px;
	text-align: right;
	padding: 0px;
	display: inline;
}

#navigation > li {
	float: right;
	display: inline;
	margin-right: 20px;
}

#navigation > li > h3 {
	display: inline;
}

#navigation > li h3 a {
	display: block;
	padding: 20px 5px;
}

#navigation > li.nav.page-active a, #navigation > li.nav.page-item a:hover {
	background: #0F6182;
}

#logo {
	margin-top: 8px;
	margin-left: 10px;
	float: left;
}

#slogan {
	position: relative;
	float: left;
	left: 15px;
}

#content {
	background: #0093DD;
	padding: 60px 40px;
	color: #FFF;
}

#content > h1 {
	float: right;
	font-size: 250%;
	margin-right: 30px;
	margin-bottom: 10px;
}

#content > h1 > a {
	color: #EEE;
}

#content > h1 > a:hover, #content > h1 > a:active {
	color: #FFF;
}
#content > h1 > a:link, #content > h1 > a:visited {
	text-decoration: none;
}

#bubble {
	color: #111;
}

#bubble .corner {
	width: 30px;
}

#bubble .top, #bubble .bottom {
	clear: both;
}

#bubble .top div, #bubble .bottom div {
	height: 30px;
}

#bubble .top .middle, #bubble .bottom .middle {
	margin: 0px 30px;
}

#bubble .left {
	float: left;
}

#bubble .right {
	float: right;
}

#bubble .top .left.corner {
	background: url('images/bubble.png') 0px 0px;
}

#bubble .top .right.corner {
	background: url('images/bubble.png') -30px 0px;
}

#bubble .bottom .left.corner {
	background: url('images/bubble.png') 0px -30px;
}

#bubble .bottom .right.corner {
	background: url('images/bubble.png') -30px -30px;
}

#bubble .middle {
	background: #FFF;	
}

#bubble > .middle {
	width: 100%;
	float: left;
	padding: 10px 0px;
}

.primary {
	padding-left: 40px;
	float: left;
}

.primary.no-aside {
	padding-right: 40px;
}

.aside {
	padding-right: 40px;
	float: right;
	width: 320px;
	text-align: center;
	font-size: 120%;
}

.aside p {
	padding-top: 15px;
	padding-bottom: 15px;
}

.aside select {
	font-size: 70%;
}

.aside > ul {
	padding: 0px;
	margin: 0px;
}

.aside > ul > li {
	padding-left: 14px;
	margin: 0px 0px 0px 0px;
	display: inline;
	background: url(images/star.png) no-repeat left center;
}

.aside > ul > li:first-child {
	padding-left: 0px;
	background: none;
}

#content select {
	margin: 0px auto;
	max-width: 320px;
}

#content option {
	padding: 0px 10px;
}

#content h2 {
	margin-top: 0px;
	margin-bottom: 10px;
	font-size: 200%;
	color: #0093DC;
}

#content h3 {
	margin-top: 0px;
	margin-bottom: 10px;
	font-size: 110%;
}

#content a:hover, #content a:active {
	text-decoration: underline;
}

#content p {
	margin-top: 0px;
	margin-bottom: 10px;
	line-height: 135%;
}

#secondary-navigation {
	margin-top: -6px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0px;
	padding: 0px;
	width: 600px;
}

#secondary-navigation > li {
	display: inline;
	float: left;
	margin: 0px 5px;
}

#secondary-navigation > li > a {
	text-align: center;
	display: block;
	
	color: #000;
	font-size: 15px;
	font-weight: 900;
	font-family: Arial, Sans-Serif;
	text-decoration: none;
	
	padding-left: 2px;
	padding-right: 2px;
	padding-top: 11px;
	width: 136px;
	height: 29px;
	
	background: url('images/button-nav.png');
}

#secondary-navigation > li > a:hover, #secondary-navigation > li > a:active {
	background-position: 0px -40px;
	text-decoration: none;
}

#footer {
	clear: both;
	padding-top: 12px;
	padding-bottom: 5px;
	color: #FFF;
	text-align: center;
}

#footer a:hover, #footer a:active {
	text-decoration: underline;
}

#footer > p {
	font-size: 80%;
	margin-top: 12px;
	margin-bottom: 0px;
}

#footer > h3 {
	font-size: 90%;
}

.proper-title {
	font-style:italic;
}

.dancer {
	clear: both;
	margin-bottom: 12px;
	padding-top: 12px;
}

.captioned-image {
	float: right;
	border: thin solid #aaa;
	text-align: center;
	font-size: smaller;
	margin: 0px 5px 5px 10px;
	padding: 5px;
	font-style: italic;
}

.captioned-image img {
	display: block;
	margin-bottom: 5px;
}

.alignright {
	float: right;
	margin: 0px 5px 5px 20px;
}

.alignleft {
	float: left;
	margin: 0px 20px 5px 5px;
}

/* Form styles */
label {
	font-size: 110%;
	line-height: 150%;
	white-space: nowrap;
}

#button-box {
	clear: both;
	text-align: right;
}

.wpcf7-form {
	margin-top: 5px;
	margin-left: 20px;
}

#send-button {
	margin-top: 10px;
}

#spam-promise {
	padding-top: 10px;
	font-size: 80%;
}

/* home-page styles */
#home-iphone-preview {
	margin-left: -30px;
	margin-top: -100px;
}

#content th {
	text-transform: uppercase;
}

#content table {
	margin: 60px 0px 0px 60px;
	font-size: 80%;
}

#content table.credits {
	margin: 10px;
	font-size: 80%;
}

#content table.credits td {
	padding-top: 10px;
}

.bigbutton {
	width: 120px;
	height: 40px;
	margin: 50px auto 20px;
	padding: 0px 0px 0px 0px;
	
	overflow: wrap;
	
	color: #333;
	font-size: 12px;
	font-weight: 900;
	font-family: Arial, Sans-Serif;
	
	background: url('images/button-big.png');
	border: 0px;
	
	cursor: pointer;
}

#content .bigbutton:hover, #content .bigbutton:active {
	background-position: 0px -40px;
}

/* contact-page styles */

#contact-primary-info {
	float: left;
	width: 210px;
	padding-left: 100px;
}

#contact-about {
	width: 100%;
}

#contact-email-box {
	margin-top: 15px;
}

#contact-message-box {
	margin-left: 365px;
}

#contact-message {
	width: 100%;
}

/* tell-page styles */
.tell-column {
	float: left;
	width: 230px;
}

.tell-column.second > div {
	padding-left: 20px;
}

.tell-column.third > div {
	padding-left: 40px;
}

#tell-about {
	width: 100%;
}

#tell-message-box, #tell-your-email-box, #tell-friend-email-box {
	padding-top: 10px;
}
