/*
Theme Name: Sundance Child Theme
Description: Child theme for the sundance theme
Author: Jonathan Brusby
Template: sundance
*/


@import url("../sundance/style.css");

#site-title a {
            color: #fff;
}
/* =Global
----------------------------------------------- */
body.custom-background #page {
	background: none;
        background-color: #252722;
}
body.custom-background.custom-background-image-empty #page {
	background-color: #252722;
}

html {
	font-size: 65.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

/* =Global
----------------------------------------------- */
body {
        font-size: 15px;
        font-size: 1.5rem;
        font-weight: 200;
}
body,
button,
input,
select,
textarea {
	color: #bdbcba;
	font-family: Georgia, serif;
	line-height: 1.5714285714;
}
/* Headings */
h1,h2,h3,h4,h5,h6 {
	font-family: Palatino Linotype, Book Antiqua, Palatino, serif;
	font-style: normal;
	font-weight: 300;
	clear: both;
}
h1 {
	color: #4b6f91;
	font-size: 30px;
	font-size: 3.0rem;
	margin: 0 0 0.3666666666em 0;
}
h2 {
	color: #2c2c33;
	font-size: 21px;
	font-size: 2.1rem;
	margin: 0 0 0.5238095238em 0;
}
h3 {
	color: #4b6f91;
	font-size: 18px;
	font-size: 1.8rem;
	margin: 0 0 0.6111111111em 0;
}
h4 {
	color: #2c2c33;
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: 700;
	margin: 0 0 0.6875em 0;
}
h5 {
	color: #2c2c33;
	font-size: 14px;
	font-size: 1.4rem;
	font-weight: 700;
	margin: 0 0 0.7857142857em 0;
}
h6 {
	color: #2c2c33;
	font-size: 12px;
	font-size: 1.2rem;
	font-weight: 700;
	margin: 0 0 0.9166666666em 0;
}
hr {
	background-color: #cacaca;
	border: 0;
	box-shadow: 0 1px 0 0 #f5f2fd;
	height: 1px;
	margin-bottom: 1.5714285714em;
}
.wp-caption-text {
	font-style: italic;
	text-align: center;
	color: #dadad8;
}

/* Text elements */
p {
	margin-bottom: 1.5714285714em;
}
ul, ol {
	margin: 0 0 1.5714285714em 1.5714285714em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
	margin-left: 1.5714285714em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5714285714em 1.5714285714em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	border-left: 5px solid #4b6f91;
	font-style: italic;
	padding: 0 1.5714285714em;
	font-size: 0.9em;
	line-height: 2;
}
blockquote em, blockquote i, blockquote cite {
	font-style: normal;
}
address {
	margin: 0 0 1.5714285714em;
}
.entry-meta {
color: #a05e47;
font-size: 12px;
font-size: 1.2rem;
font-style: italic;
}

/* Links */
a {
	color: #f1f3f3;
	text-decoration: none;
}
a:hover,
a:focus,
a:active {
	color: #2e4d6a;
	text-decoration: underline;
}

/* =Menu
----------------------------------------------- */

.main-navigation {
	clear: both;
	display: block;
	margin: 0 0 0 10.16260162%;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation li {
	float: left;
	position: relative;
}
.main-navigation a {
	font-size: 13px;
	font-size: 1.3rem;
	display: block;
	line-height: 1.0em;
	padding: 5px 10px;
	text-decoration: none;
	text-transform: uppercase;
	color: #f1f3f3
}
.main-navigation a:hover,
.main-navigation li.current_page_item > a,
.main-navigation li.current-menu-item > a,
.main-navigation li.current_page_ancestor > a,
.main-navigation li.current-menu-ancestor > a {
	color: #4b6f91;
}
.main-navigation ul ul {
	background: #4b6f91;
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.2);
	box-shadow: 0 1px 1px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
		left: 0;
		top: 1.5714285714em;
	z-index: 99999;
}
.main-navigation ul ul a {
	color: #f1f3f3;
	padding: 10px;
	width: 166px;
}
.main-navigation ul ul :hover > a,
.main-navigation ul ul a:hover,
.main-navigation ul ul li.current_page_item > a,
.main-navigation ul ul li.current-menu-item > a,
.main-navigation ul ul li.current_page_ancestor > a,
.main-navigation ul ul li.current-menu-ancestor > a {
	background-color: #2e4d6a;
	color: #f1f3f3;
}
.main-navigation ul li:hover > ul {
	display: block;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
/* =Structure
----------------------------------------------- */

#page {
      padding-top: 1px;
}
#page {
	margin: 0 auto;
	max-width: 984px;
	padding: 3.4285714285em 0.5714285714em 0;
}
#masthead {
	margin: 0 0 3.5em 0;
}
.site-content {
	float: left;
	margin: 0 -22.76422764% 0 0;
	width: 95%;
}
#content {
	margin: 0 22.76422764% 0 0;
}
.full-width #content,
.image-attachment #content,
.no-sidebar #content,
body.error404 #content {
	margin: 0 5% 0 0;
}
#secondary {
	float: right;
	margin-top: 0.7142857142em;
	overflow: hidden;
	width: 22%;
}
.site-footer {
	border-top: 1px ridge #b3b3b3;
	clear: both;
	margin: 1.5714285714em 0 0 0;
	padding: 1.5714285714em 0 1.5714285714em 11.17886178%;
}
/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5714285714em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5714285714em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* =Images
----------------------------------------------- */

#gallery-1 .gallery-caption {
margin-left: 0;
font-size: 0.8em;
}
.wp-caption-text {
font-style: italic;
font-size: 0.8em;
text-align: center;
color: #dadad8;
}
.widget img {
max-width: 93%;
}

/* All media images */
img[class*="align"], img[class*="wp-image-"], #content .gallery .gallery-icon img {
background-color: #252722;
border: none;
-webkit-box-shadow: (228, 223, 232, 1.5) 1px 1px 5px;
-moz-box-shadow: (228, 223, 232, 1.5) 1px 1px 5px;
box-shadow: rgba(228, 223, 232, 1.5) 1px 1px 5px;
padding: 6px;
}

/* =Widgets
----------------------------------------------- */

.widget {
	border-top: 1px ridge #b3b3b3;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.6666666666em;
	margin: 0 0 1.6666666666em;
	overflow: hidden;
	padding: 1.6666666666em 0 0 0;
}
.widget-title {
	color: #f4f1ec;
	font-size: 15px;
	font-size: 1.4rem;
	line-height: 1.3333333333em;
	margin: 0 0 1.3333333333em 0;
	text-transform: uppercase;
}
.widget-title a {
	color: #2c2c33;
}
.widget ul {
	list-style: none;
	margin: 0;
}
.widget ul ul {
	margin-left: 0.7142857142em;
}
.widget input:focus {
	outline: none;
}
/* Authors Widget */
.widget_authors li {
	background: none !important;
	overflow: hidden;
}
.widget_authors ul ul {
	overflow: hidden;
}
.widget_authors img {
	float: left;
	margin: 0 5px 5px 0 !important;
}
/* Author Grid Widget */
.widget_author_grid .avatar {
	max-width: none;
}
/* Calendar Widget */
.widget_calendar #wp-calendar {
	width: 100%;
}
.widget_calendar #wp-calendar caption {
	margin-bottom: 0.7142857142em;
}
.widget_calendar #wp-calendar thead th {
	background: #2c2c33;
	color: #fff;
	font-weight: normal;
	padding: 0.2em 0;
	text-align: center;
}
.widget_calendar #wp-calendar tbody td {
	background-color: rgba(0,0,0,0.02);
	border: 1px solid rgba(0,0,0,0.04);
 	height: 2em;
 	padding: 0;
	text-align: center;
	vertical-align: middle;
}
.widget_calendar #wp-calendar tbody td a {
	background: #2c807f;
	display: block;
	color: #fff;
	height: 100%;
	width: 100%;
}
.widget_calendar #wp-calendar tbody td a:hover {
	background: #2c2c33;
	color: #fff;
	text-decoration: none;
}
.widget_calendar #wp-calendar #prev,
.widget_calendar #wp-calendar #next {
	color: #2c807f;
	padding-top: 0.7142857142em;
}
.widget_calendar #wp-calendar tfoot #next {
	text-align: right;
}
.widget_calendar #wp-calendar tbody .pad {
	background: none;
}
/* Cloud Widgets */
.wp_widget_tag_cloud div,
.widget_tag_cloud div {
 	word-wrap: break-word;
}
/* Flickr Widget (WP.com) */
.widget_flickr #flickr_badge_uber_wrapper a {
	color: #267172 !important;
}
.widget_flickr #flickr_badge_uber_wrapper a:hover {
	text-decoration: underline !important;
}
.widget_flickr #flickr_badge_wrapper {
	background-color: transparent !important;
	border: none !important;
}
.widget_flickr table {
	margin: 0 !important;
}
.widget_flickr .flickr-size-thumbnail {
	margin: 0 auto;
}
.widget_flickr .flickr-size-thumbnail br,
.widget_flickr .flickr-size-small br {
	display: none;
}
.widget_flickr .flickr-size-thumbnail img {
	display: block;
	margin-bottom: 1em;
}
.widget_flickr .flickr-size-small img {
	display: block;
	margin-bottom: 0.7142857142em;
	max-width: 100%;
}
/* Gravater Widget */
.widget_gravatar p img {
	margin: 0;
}
/* Recent Comments Widget */
.widget_recent_comments .avatar {
	max-width: none;
}
.widget_recent_comments table {
	margin: 0;
}
.widget_recent_comments td.recentcommentstexttop,
.widget_recent_comments td.recentcommentstextend {
	line-height: 1.2em;
	vertical-align: top;
}
.widget_recent_images .recent_images img {
	margin: 0;
}
/* RSS Widget */
.widget_rss li {
	margin: 0 0 1.0em 0;
}
/* RSS links Widget */
.widget_rss_links p img {
	margin-bottom: 0;
	vertical-align: middle;
}
/* Search widget */
.widget_search #searchsubmit {
	display: none;
}
.widget_search #searchform input#s {
	width: 80%;
}
/* Twitter Widget */
.widget_twitter li {
	margin: 0 0 1.0em 0;
}

/* =Inputs
----------------------------------------------- */

input[type=text], input[type=password], input[type=email] {
padding: 2px;
}
input[type=text], input[type=email], input[type=password], textarea {
color: #666;
border: 2px solid #d7d9d7;
border-radius: 4px;
}

/* Syndicate Facebook Icon */
.syndicate li a.facebook-link {
	background: url(images/facebook-ico.png) no-repeat 0 0;
}
