/*
 Theme Name:     Sundance Child
 Theme URI:      http://scarletlettering.com/demo/sundance-child/
 Description:    Sundance Child Theme
 Author:         Scarlet Lettering
 Author URI:     http://scarletlettering.com
 Template:       sundance
 Version:        1.0.0
*/

/* =Imports styles from the parent theme
-------------------------------------------------------------- */
@import url('../sundance/style.css');


/* =Theme customization starts here
-------------------------------------------------------------- */

/* Social media icons in footer */

.subscribe-button-inner {

height: 29px !important; width: 176px; overflow: visible; text-align: left; margin: 0px; padding: 0px; border: 0px none; display: inline-block; vertical-align:bottom;
}

social {
vertical-align:bottom;
}

/* Twiget */

.twiget-feed {
    margin: auto;
    overflow: auto;
    padding: 0;
}

p.twiget-tweet {
	margin-bottom: 0;
}

p.twiget-meta {
	margin-bottom: 0;
}

.twiget-meta a {
	margin-bottom: 0;
	font-size: 0.9em;
}


.tweet-bio {
    display: none;
}

.right #widget {
	margin-right: 18px;
}


/*  BOXES TEMPLATE - START */

div#wprssmi_main_container {
    float: left;
    margin: 5px 0 0;
    padding: 3px;
    width: 666px;  /* change the width to match your themes width */

    color: #1E1E1E;
    font-family: "Georgia", serif;
    font-size: 14px;
    line-height: 1.5em;
}

ul#wprssmi_rss_list {
    float: left;
}

element.style {
    background: none no-repeat scroll 3px center white;
}

ul#wprssmi_rss_list li.item {
    float: left;
    margin: 0 15px 15px 0;
    overflow: hidden;
    width: 299px;  /* change this width to the size of the boxes you want */
}

div.item_inner {
    background: none repeat scroll 0 0 #FCFCFC;
    border: 1px solid #DDDDDD;
    height: 250px;
    overflow: hidden;
    position: relative;
}

div.blog_container {
    padding: 6px 12px;
}

p.blog_title {
    margin: 8px 0 4px;
font-size: 20px;
    text-transform: none;
}

ul#wprssmi_rss_list li.item p.date {
    font-size: 10px;
}

a {
      /*color: #1E1E1E;  // you can change the color of the hyperlinked title here */
}

ul#wprssmi_rss_list li.item p.site_info
{
    font-size: 10px;
}

div#wprssmi_center_box {
    margin: 0 auto;
    position: relative;
    width: 980px;
}

/*  BOXES TEMPLATE - END */




/* h6 styling for homepage review source */

h6 {
	color: #2c2c33;
	font-size: 12px;
	font-size: 1.2rem;
	font-weight: 100;
	font-style: italic;
	margin: 0 0 0.9166666666em 0;
}

/* Banner dropshadow */

.featured-content img, .site-header img, .entry-content img, img[class*="align"], img[class*="wp-image-"] {
    box-shadow: 5px 5px 5px #CCCCCC;
    height: auto;
}

/* =Responsive Structure
-------------------------------------------------------------- */

@media screen and (max-width: 1024px) {
	.flex-direction-nav {
		bottom: -36px;
		left: auto;
		margin: 0;
		right: 21px;
		top: auto;
		width: auto;
	}
	.flex-direction-nav li {
		float: left;
		margin: 0 1px 0 0;
	}
}


@media screen and (max-width: 968px) {

ul#wprssmi_rss_list li.item {
float: none !important;
margin: 0 15px 15px 0;
overflow: hidden;
width: 100% !important;
}

div#wprssmi_main_container {
    width: 100% !important;  /* change the width to match your themes width */
}

div#wprssmi_center_box {
    margin: 0 auto;
    position: relative;
    width: 100% !important;
}

div.item_inner {
    height: auto !important;
}



}



@media screen and (max-width: 768px) {


	.site-title {
		float: none;
		width: 100%;
	}
	.site-description {
		float: none;
		margin: 0.7857142857em 0 0 0;
		width: 100%;
	}
	#masthead hgroup {
		margin: 0 0 2.2857142856em 11.17886178%;
	}
	.site-content {
		float: none !important;
		margin: 0;
	}
	
	#content {
	margin: 0 !important;
}
	#secondary {
		float: none !important;
		width: 100% !important;
	}




	.hentry {
		margin: 0 0 3.1428571428em 11.17886178%;
	}
	.entry-header .avatar {
		margin: 9px 0 0 -12.58581235%;
	}
	#content .site-navigation {
		margin: 0 0 1.5714285714em 11.17886178%;
	}
	.syndicate,
	.widget {
		padding: 1.6666666666em 0 0 11.17886178%;
	}
	.page-header {
		margin: 0 0 3.1428571428em 11.17886178%;
	}
	.featured-content {
		float: none;
		width: 100%;
	}
	.featured-content-info {
		float: none;
		margin: 0;
		width: 100%;
	}
	.featured-summary p {
		padding: 0 0 2em 0;
	}
	.flex-direction-nav {
		bottom: -35px;
		left: 0;
		margin: 0;
		right: auto;
		top: auto;
		width: 100%;
	}
	.flex-direction-nav li {
		float: none;
	}
	.flex-direction-nav li a {
		left: 0;
		position: absolute;
		top: 0;
	}
	.flex-direction-nav li .flex-prev {
		margin: 0 0 0 -6px;
	}
	.flex-direction-nav li .flex-next{
		left: auto;
		margin: 0 -6px 0 0;
		right: 0;
	}
	.flex-control-nav {
		bottom: 0;
		left: 0;
		text-align: center;
		width: 100%;
	}
	#comments {
		margin: 0 0 1.5714285714em 11.17886178%;
	}
	.comment .avatar {
		margin: 3px 0 0 -12.58581235%;
	}
	#content .site-navigation.comment-navigation {
		margin: 0 0 1.5714285714em 0;
	}
	.error404 article .widget {
		padding: 1.6666666666em 0 0 0;
	}
	.syndicate li {
		margin: 0 0 0.933333333em 20px;
	}
	.syndicate li:first-child {
		margin: 0;
	}
}

@media screen and (max-width: 600px) {
	#page {
		padding: 3.1428571428em 0.5714285714em 0;
	}
	#masthead {
		margin: 0 0 3.1428571428em 0;
	}
	#masthead hgroup {
		margin: 0 0 2em 0;
	}
	.site-title {
		font-size: 22px;
		text-align: center;
	}
	.site-description {
		font-size: 12px;
		margin: 0;
		text-align: center;
	}
	.main-small-navigation {
		border-bottom: 1px dotted #b3b3b3;
		border-top: 1px dotted #b3b3b3;
	}
	.menu-toggle {
		font-size: 17px;
		line-height: 2.0em;
		margin: 0;
		text-align: center;
		text-transform: uppercase;
	}
	.menu-small-menu-container {
		margin: 0 auto;
		width: 50%;
	}
	.featured-posts-wrapper {
		margin: -0.8571428571em 0 4.7142857142em 0;
	}
	.entry-header .avatar {
		display: none;
	}
	.byline {
		display: inline;
	}
	.hentry,
	.full-width .hentry,
	.image-attachment .hentry,
	.no-sidebar .hentry,
	.error404 .not-found {
		margin: 0 0 3.1428571428em 0;
	}
	.entry-content, .entry-summary {
		margin: 1.5714285714em 0 0 0;
	}
	h1 {
		font-size: 22px;
	}
	h2 {
		font-size: 19px;
	}
	h3 {
		font-size: 17px;
	}
	h4 {
		font-size: 15px;
	}
	h5 {
		font-size: 14px;
	}
	.no-sidebar .page-header {
		margin: 0 0 3.1428571428em 0;
	}
	#comments,
	.full-width #comments,
	.image-attachment #comments,
	.no-sidebar #comments {
		margin: 0 0 1.5714285714em 0;
	}
	.comment .avatar {
		display: none;
	}
	#content .site-navigation,
	.no-sidebar #content .site-navigation {
		margin: 0 0 1.5714285714em 0;
	}
	.page-header {
		margin: 0 0 3.1428571428em 0;
	}
	.syndicate, .widget {
		padding: 1.6666666666em 0 0 0;
	}
	.site-footer {
		padding: 0em 0 0em 0;
	}
}
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {

	

#page {
		padding: 1.5714285714em 0.5714285714em 0;
	}
	#masthead {
		margin: 0 0 1.5714285714em 0;
	}
	#masthead hgroup {
		margin: 0 0 1.1428571428em 0;
	}
	.featured-posts-wrapper {
		margin: -0.8571428571em 0 2.3571428571em 0;
	}
	.hentry {
		margin: 0 0 1.5714285714em 0;
	}
	.entry-content, .entry-summary {
		margin: 0.7857142857em 0 0 0;
	}
	.commentmetadata {
		margin: 0 0 0.9166666666em 0;
	}
	.entry-content embed,
	.entry-content iframe,
	.entry-content object {
		height: auto;
	}
}


/*Homepage featured works */

.alignleft2 {
display: inline;
float: left;
margin-right: 0.071em;
}

/* Homepage reviews */

.reviews-wrapper {
	overflow: hidden;
}

.reviews-wrapper div {

	padding: 10px;
}

#rev-one {
	float: left;
	width: 30%;
		
	padding-right: 5px;
	/* background-color: #cccccc; */
	
	min-height: 176px;


    background-image: url("http://davidignatius.com/wordpress/wp-content/uploads/2013/11/hr-vert-plain-height180.png");
    background-position: right top;
background-repeat: no-repeat


}

#rev-two {
	float: left;
	overflow: hidden;
	width: 30%;
	

	
	min-height: 176px;


    background-image: url("http://davidignatius.com/wordpress/wp-content/uploads/2013/11/hr-vert-plain-height180.png");
    background-position: right top;
background-repeat: no-repeat

}

#rev-three {
	float: left;
	overflow: hidden;
	width: 30%;
	

	
	min-height: 176px;
}

@media screen and (max-width: 959px) {
	#rev-one {
		float: none;
		margin-right: 5px;
		width: 100%;
		
		min-height: 100% !important;
	}
	
	#rev-two {
		float: none;
		margin-right: 5px;
		width: 100%;
		
		min-height: 100% !important;
	}

	#rev-three {
		float: none;
		margin-right: 5px;
		width: 100%;
		
		min-height: 100% !important;
	}
}



/* Full width template flush left */

.full-width .hentry, .image-attachment .hentry, .no-sidebar .hentry, .error404 .not-found {
margin: 0 0 0em 0;
}

/* Sidebar gray bg */

#secondary {
    background-color: #EEEBE2;
    float: right;
    margin-top: 0.714286em;
    overflow: hidden;
   width: 28.9024%;
	border: 3px solid #e5e1d3;
	padding-right: 10px;
}

/* Align right */

.align-right {

	text-align: right;
	font-style: italic;
}



/* Remove border around images */

img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
	background-color: #fff;
	border: 0px solid #e4dfe8;
	-webkit-box-shadow: (228, 223, 232, 0.5) 0px 0px 0px;
	-moz-box-shadow: (228, 223, 232, 0.5) 0px 0px 0px;
	box-shadow: rgba(228, 223, 232, 0.5) 0px 0px 0px;
	padding: 6px;
}
.featured-content img {/* Reset image style for the ones in the featured content area */
	background-color: transparent;
	border: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	padding: 0;
}

/* Hide Books page title */

.page-id-10 .entry-title {
 display: none;
}

/* RSS stuff */

.rss-date {
font-style: italic;
}



/* Make h1 in Vollkorn */

h1 {
color: #292D14;
text-transform: uppercase;
font-family: 'Vollkorn', serif;
}

/* Make h1 for homepage reviews */


h2 {
	color: #2c2c33;
	font-size: 21px;
	font-size: 2.1rem;
	margin: 0 0 0.5238095238em 0;
	text-transform: uppercase;
	font-family: 'Vollkorn', serif;
}


/* =Structure
----------------------------------------------- */



#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 -32.76422764% 0 0;
	width: 100%;
}
#content {
	margin: 0 32.76422764% 0 0;
}
.full-width #content,
.image-attachment #content,
.no-sidebar #content,
body.error404 #content {
	margin: 0;
}

.site-footer {
	border-top: 0px dotted #b3b3b3;
	clear: both;
	margin: 1.5714285714em 0 0 0;
	padding: 1.5714285714em 0 1.5714285714em 0%;
}





/* Hide page title on homepage */

.home .entry-header {
display: none;
}



/* Fancy hr */

hr {
	background: url("http://davidignatius.com/wordpress/wp-content/uploads/2013/10/hr.png") no-repeat scroll center center transparent;
	border: 0;
	height: 24px;
	margin-bottom: 1.5714285714em;
	background-color: transparent;
	border: 0;
	box-shadow: 0 0 0 0;
clear:both;
	
}



/* Books responsive */

.books-wrapper {
	overflow: hidden;
}

.books-wrapper div {
	min-height: 200px;
	padding: 10px;
}

#one {
	float: left;
	width: 45%;
	padding-right: 5px;
}

#two {
	overflow: hidden;
	width: 45%;
	min-height: 170px;
}

@media screen and (max-width: 959px) {
	#one {
		float: none;
		margin-right: 5px;
		width: 100%;
		border: 0;
	}
	
	#two {
		float: none;
		margin-right: 5px;
		width: 100%;
		border: 0;
	}
}


/* Matching h1 */

h1 {
color: #292D14;
text-transform: uppercase;
}




/* Tweaking nav */

.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: #ffffff;
background-color: #292d13;
    box-shadow: 5px 5px 5px #CCCCCC;

}
.main-navigation ul ul {
	background: #2c2c33;
	-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: #fff;
	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: #37373f;
	color: #fff;
}
.main-navigation ul li:hover > ul {
	display: block;

}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}



/* Left-aligning body */

.hentry {
margin: 0 2.5em 0 0;
}


/* Background - make all white?

body.custom-background {
background-image: none;
background-repeat: repeat;
background-position: top left;
background-attachment: scroll;
}

*/




/* Reduce top margin */

#masthead {
margin: 0 0 1.5em 0;
}

#masthead hgroup {
overflow: hidden;
margin: 0 0 0 0;
}



/* Sidebar and widgets */

.menu {
	font-size: 16px;
}

.widget-title {
    font-family: 'Vollkorn',serif;
    font-size: 21px;
    line-height: 0.33em;
    margin: 0 22px;
    text-transform: uppercase;
    padding-bottom: 10px;
}

.widget-title a {
	color: #006600;

}

.widget {
border-top: 0px solid #b3b3b3;

line-height: 1.6666666666em;
margin: 0 0 0em;
overflow: hidden;
padding: 0 0 0 0;

}

.widget_search #searchform input#s {
    margin-left: 22px;
    margin-top: 22px;
    width: 80%;
}

/* Take font size in this down to reduce general text spacing in widget */



.textwidget {
    font-size: 1.3em;
    margin-bottom: -2px;
    margin-left: 22px;
    margin-top: 13px;
}


/* Widget stuff */


.widget ul {
    font-size: 1.2em;
    list-style: none outside none;
    margin: 0 0 0 22px;
}








/* Top nav bar */

.main-navigation a {
color: #000000;
font-size: 13px;
font-size: 2.0rem;
display: block;
line-height: 1em;
padding: 12px 25px 12px 25px;
text-decoration: none;
text-transform: uppercase;


}

.main-navigation {
clear: both;
display: block;
margin: 0 0 0 0;
}

.main-navigation a:hover {
        color: #fff;
}




.header-image-link {
line-height: 0;
margin: 0 0 0 0;
}


a {
    color: #006600;
    text-decoration: none;
}

a:hover, a:focus, a:active {
color: #339933;
text-decoration: none;
}


/* Hide colophon */

.site-info {
display: none;
}

/* Solid line above site footer */

.site-footer {
border-top: 1px solid #b3b3b3;
clear: both;
margin: 1.5714285714em 0 0 0;
padding: 1.5714285714em 0 1.5714285714em 0%;
}