/*
Theme Name: Sunrise Child
Description:  Sunrise Theme Child
Author:  Paul Prueller
Template: sunrise 
Version: 1.0.0
*/

/************************	Typography presets ************************/

@import url(http://fonts.googleapis.com/css?family=Courgette);

.gigantic {
	font-size: 110px;
	line-height: 120px;
	letter-spacing: -2px;
}

.huge, h1 {
	
	line-height: 48px;
	letter-spacing: -1px;
}

.large, h2 {
	font-size: 42px;
	line-height: 1;
}

.bigger, h3 {
	font-size: 26px;
	line-height: 36px;
}

.big, h4 {
	font-size: 22px;
	line-height: 30px;
}

body {
	font-family: 'Lato', sans-serif;
	/* font: 16px Arial, sans; */
	line-height: 1.5;
}

.small, small {
	font-size: 13px;
	line-height: 18px;
}
.clear {
	clear: both;
}
.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}
.clearfix {
}

/************************ Selection colours (easy to forget) ************************/

::selection 	 	{ background: #e3e5e4;}
::-moz-selection 	{ background: #e3e5e4;}
img::selection 		{ background: transparent;}
img::-moz-selection	{ background: transparent;}
body 				{-webkit-tap-highlight-color: #e3e5e4;}




/* apply a natural box layout model to all elements */
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
* { transition: all 0.3s ease-out; } 

body {
	background: #e3e5e4;
	-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
	margin: 0 auto;
	color: black;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    
}
a {
	color: #9d0d16;
	text-decoration: none;
}
a:hover {
	color: #9d0d16;
}
.container {
	margin: 0 auto;
}

.block {
    width:90%;
    max-width:1130px;
    margin:0 auto;
    position:relative;
    z-index: 1;
}

.block:before,
.block:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.block:after {
    clear: both;
}



/* Responsive Grids */
.col {
    float: left;
    margin-left: 3.2%;
    margin-bottom: 30px;
}

/* grid4 col */
.grid4 .col {
    width: 22.6%;
}

/* grid3 col */
.grid3 .col {
    width: 31.2%;
}

/* grid2 col */
.grid2 .col {
    width: 48.4%;
}

.grid4 .col:nth-of-type(4n+1),
.grid3 .col:nth-of-type(3n+1),
.grid2 .col:nth-of-type(2n+1) {
    margin-left: 0;
    clear: left;
}



.home-background {
	
background-image: url(img/homebackground.jpg) no-repeat center center fixed; 
	-webkit-background-size: 100% auto;
  -moz-background-size: 100% auto;
  -o-background-size: 100% auto;
  background-size: 100% auto;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

}



.header-wrapper {

background:#F6F6F6;
background-size: cover;
	
}



/************************ Header ************************/
header {
	margin: 0 auto;
	padding:30px 0 0;
	/*position: fixed;*/
	z-index: 1000;
	width: 100%;
	position: relative;
}
header h1.title {
	font-size: 30px;
	font-weight: 800;
	text-align:center;
}
header .description {
	font-size:14px;
	color:#aaa;
	display:block;
	text-align:center;
}
header h1.title span {
	color: white;
}

.slogan {

	font-family: 'Courgette', cursive;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
	color: black;
	padding: 30px;
	margin: 0 auto;
	text-align: center;
	margin: 11% auto 11%;
}

.slogan  h2 {
	font-size: 60px;
	font-weight: 100;
	margin-bottom: 25px;
}
.slogan p {
	font-size: 32px;
	font-weight: 400;
	line-height: 2;
}



.social {
    margin: 0;
    list-style: none;
    position: absolute;
    right:10px;
    top:10px;
}
.social li  {
    padding: 0 0 0 5px;
    float: left;
    font-size: 14px;
    color: #6B6B6B;
}
.social li a {
    float: left;
    width: 36px;
    height: 36px;
    margin-top:0px;
    background: url(img/social.png) no-repeat;
    text-indent: -999em;
    opacity: 0.5;
}
.social li a:hover {
	opacity: 0.9;
}
.social li a.twitter {
    background-position: 0px 0;
}
.social li a.facebook {
    background-position: -61px 0;
}
.social li a.gplus {
    background-position: -121px 0;
    background-color: blue; 
}
.social li a.youtube {
    background-position: -177px 0;
}
.social li a.rss {
    background-position: -242px 0;
}
.social li a.skype {
    background-position: -304px 0;
}



/************************ Footer ************************/
footer {
	clear: both;
	overflow:hidden;
	margin: 10;
	background: #222;
	font-weight:300;
	color: #e3e5e4 ;
	
}


.footer_widgets{
	padding:10px 0;
}
.footer_widgets h3.widget-title{
	font-size:14px;
	font-weight:300;
	color: #e3e5e4;

}
.footer_widget {
   
}

.footer_widget ul li {


	list-style: circle;
	padding: 3px 0 3px;
}

.footer_widget  a {
	font-weight:300;
	color: #e3e5e4;
}

.copyright {
	background: #222;
	clear: both;
	font-weight:300;
	padding: 10px 0;
	text-align: center;
	font-size: 12px;
	margin: 10;
	color: #999;
}
.copyright a {
	color: #ccc;
	border-bottom: 1px dotted #666;
}

/************************ Navigation ************************/
.navigation {
	font-size: 20px;
	padding-top: 30px;

}
.nav-wrapper {
	background: rgba(157,13,22 , 0.0);
	padding: 3px 0;
	margin-top: 20px;
	border-radius: 25px;
	
}
nav * {
	transition:none;
}
nav {
	margin:  0 auto;
	padding: 0;
	line-height: 36px;
	text-align: center;
	
	
}
nav ul li {
	

	display: inline-block;
	padding: 0 15px;
	font-size: 20px;
	font-weight: 300;
    transition:none;
}
nav ul li a {
	padding: 21px 5px;
	color: black ;
	text-decoration: none;
	transition:none;
}
nav ul li a span {
	font-family: 'Lato', sans-serif;
	font-style: italic;
	font-weight: 300;
}
nav ul li a:hover, nav ul li.current-menu-item a, nav ul li.current_page_item a {
	color: #9d0d16;
}
nav ul li.active a {
	
}

/************************ Nav Submenu ************************/
ul.sub-menu {
	position: absolute;
	background: rgba(255,255,255, 0.4);
	margin-top: 4px;
	margin-left: 0px;
	width: 150px;
	text-align: center;
    z-index:999;
    padding:0;
    border-radius: 25px;
}
ul.sub-menu li {
	line-height: 26px;
	display: block;
	padding: 0px;
    font-weight: 300;
    padding:0;
    margin:0;
}
ul.sub-menu li a {
	color: black !important;
	font-size: 14px;
	font-weight: 300;
	padding: 5px 5px;
	display: block;
    text-shadow: none;
}
ul.sub-menu li a:hover {
	background: rgba(255,255,255, 0.3);
	color: #777777;
	border-radius: 25px;
}

ul.sub-menu li ul {
	position: absolute;
	background: rgba(255,255,255, 0.3);
	margin-left: 230px;
	margin-top: -50px;
	width: 250px;
	text-align: center;
    z-index:999;
    padding:10px 0 10px;
    border-radius: 25px;
}

ul.subnav {
	font-weight: normal;
	font-family: 'Lato', sans-serif;
	padding-top: 10px;
	margin-bottom: 20px;
}
ul.subnav li {
	padding: 8px 0;
	border-bottom: 1px solid #e3e3e3;
    color: black;
}
#submenu li.current_page_item a {
	color: #9d0d16;
	
}

/************************ Main Section ************************/
section.main {
	/*width: 960px;*/
	background: #e3e5e4;
	margin: 0 auto;
	padding: 50px 20px;
}

section.main h1 {
    font-size: 20px;
	text-transform: upppercase;
	font-weight:700;
	color: #000;
	letter-spacing:2px;
	text-align:center;
	margin:20px 0;
}


/************************ Homepage ************************/
.promo {
	
	background: #e3e5e4;
	padding: 20px 0 5px 0;
}
.promo .col {
	
	text-align: center;
}

.promo .col p{

margin-top: 7px;

}

.promo .col h3 {
	font-size: 16px;
	margin-top: 0px;
	margin-bottom: 4px;

	color: #000;
}


.featured {
	padding: 25px 0;
}
.featured .col {
	text-align: center;
}
.featured h2 {
	font-size: 34px;
	font-weight: 100;
	color: #9d0d16;
	text-align: center;
	margin-bottom: 40px;
}

.featured h3 {
	margin-bottom: 5px;
}
.featured .post-title a {
	font-size: 22px;
	color: #9d0d16;
	font-weight: 300;
}
.featured .post-content {

	font-size: 14px;
	font-weight: 300;
}
.submitbutton,
a.more-link,
a.post_read_more,
a.comment-reply-link {
	margin: 20px auto;
	color: #fff;
	text-transform: uppercase;
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	font-weight: 300;
	text-shadow:1px 1px rgba(0,0,0, .5);
	background: #D93600 url(img/bg_button.png) 50% 50% repeat-x;
	display: block;
	width: 150px;
	border:0;
	padding: 10px 30px;
	text-align: center;

	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0px 0px 5px rgba(0,0,0, 0.3);
	-moz-box-shadow: 0px 0px 5px rgba(0,0,0, 0.3);
	box-shadow: 0px 0px 5px rgba(0,0,0, 0.3);
	cursor: pointer;
}
.submitbutton:hover,
a.more-link:hover,
a.post_read_more:hover,
a.comment-reply-link {
	color:#fff;
	-webkit-box-shadow: 0px 0px 7px rgba(0,0,0, 0.3);
	-moz-box-shadow: 0px 0px 7px rgba(0,0,0, 0.3);
	box-shadow: 0px 0px 7px rgba(0,0,0, 0.3);
	background-position: 50% 70%;
	color: #fff;
}

.submitbutton {
	margin: 20px 0;
}


.post-thumb-wrap {
	background: url(img/pattern1.png) top left repeat;
	position: relative;
	overflow: hidden;
	padding: 15px;
	text-align: center;
	display: inline-block;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	margin-bottom: 20px;
	/*-webkit-box-shadow: inset 3px 3px 5px rgba(0,0,0,0.2);
	-moz-box-shadow: inset 3px 3px 5px rgba(0,0,0,0.2);
	box-shadow: inset 3px 3px 5px rgba(0,0,0,0.2);*/
}
.post-thumb-wrap:hover {
	-webkit-transform: rotate(30deg);
	-moz-transform: rotate(30deg);
	-ms-transform: rotate(30deg);
	-o-transform: rotate(30deg);
	transform: rotate(30deg);
}

.post-thumb-wrap img {
	display: block;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	width: 50%;
	height: auto;
	margin: 0;
}

.post-thumb-wrap:hover {

}
.post-thumb-wrap:hover img {

}


#google-map {
	
}
#map iframe {
	height: 100%;
}
a.map-toggle {
	-webkit-border-radius: 5px 5px 0 0px;
	-moz-border-radius: 5px 5px 0 0px;
	border-radius: 5px 5px 0 0px;
	border:1px solid #ccc;
	border-bottom: 1px solid #fff;
	display: block;
	margin: 0 auto;
	width: 150px;
	padding: 10px 20px;
	position: relative;
	background: #fff;
	z-index: 2;
	margin-bottom: 0px;
	text-align: center;
	color: #999;
}
a.map-toggle:after {
	content: " ▾ ";
	font-size: 20px;
	vertical-align: middle;
	display: inline-block;
	margin: -2px 3px 0;
}
a.collapsed {
	margin-bottom: -1px;
}
a.collapsed:after {
	content: " ▴ ";
}

#map {
	height: 300px;
	border-top:1px solid #ccc;
	position: relative;
	z-index: 1;
	display: none;
	transition:none;
}
a.map-toggle .hide {
	display: none;
}



/************************ Page and Post ************************/

h2.post-title {

	text-align: center;
	font-size: 42px;
	font-weight: 300;
	margin:0 auto 20px;
	color: #9d0d16;
}

h2.post-post {

	text-align: center;
	font-size: 42px;
	font-weight: 300;
	margin:0 auto 20px;
	color: black;
}

.meta {
visibility: visible;
}
.tags {
	margin: 20px 0;
	color: #fff;
}
.meta .post-date {
	
	font-weight: 100;
	

}
.post-author {

}

img.blog-thumb {

    float: right;
    width: auto;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}


/************************ Menu Listing ************************/ 
.menulist {

}
.menulist article {

	padding-bottom: 10px;
	margin-bottom: 40px;
}
	.menulist .post-title {
	
		
	}

	.menulist .post-thumb {
		float:left;
		width:60px;
		margin-right: 20px;
	}

	.menulist .post-content {
		
		margin:0;
		padding:30;
	}
	.menulist .with-thumb .post-content {
		margin-left:60px;
		/*padding-right:20px;*/
	}
	.menulist .post-content p:last-child {
		margin-bottom: 0;
		padding-bottom: 0;
	}

	.menulist .menu-item-title {
		border-bottom: 1px solid #9d0d16;
		font-size: 26px;
		font-weight: 300;
		margin-bottom: 20;
		
	}
	.menulist .menu-item-content {
		padding-top: 5px;
		font-weight: 100;
	}
	
	.menulist .menu-item-content p {
		padding-top: 10px;
		padding-bottom: 10px;
		margin: 10px;
	}
	
	.menu-item-price {
		float: right;
		/*font-size: 14px;*/
		color: #9d0d16;
	}

	.menu-title {
	
		
		text-align: center;
		font-weight: 300;
		font-size: 22px;
		color: #9d0d16;
		margin: 40px 0;
		text-transform: uppercase;
		letter-spacing: 1px;
	}
	.menu-title:after, 
	.menu-title:before {
		content: " - "
	}


	.menu-category {
		margin-bottom: 40px;
	}

	.menu-category article:last-child {
		/*border-bottom: none;*/
	}

	.level-1 {

	}
	.level-2 {
		font-size: 18px;
	}

/************************ Sidebar & Widgets ************************/
.widget_sidebar {
	margin-bottom: 40px;
}

.widget_sidebar h3 {
	font-weight: bold;
	font-size: 14px;
	text-transform: uppercase;
    text-shadow: 1px 1px 1px #FFFFFF;
}


.column-one {
    float: left;
    width: 63%;
}

.column-two {
    float: right;
    width: 32%;
}
.tags a,
.widget_tag_cloud .tagcloud a {
	font-size: 14px;
	background: #f0f0f0;
	display: inline-block;
	padding:5px 10px;
	margin: 0 5px 5px 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.widget_search label {
	display: block;
}
#searchsubmit {
	border:1px solid #ccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background: #fff;
}

/************************ Image Styles ************************/
img.alignleft, img.alignright, img.aligncenter {

}
img.blog-thumb {

  	padding: 0;
  	margin:  0;
  	margin-left: 80px;
  	margin-bottom: 20px;
  	margin-top: 0px;
  	
    max-height: 520px;
    max-width: 520px;
    height: auto;
    width: auto;
}

/************************ Post Style ************************/
section.main .post {
	clear: both;
	padding: 20px 0;
	/*border-bottom: 1px solid #efefef;*/
	margin:0 auto;
}
section.main p {	
	color: black;	
	font-size:16px;
	font-weight: 300;
	padding-bottom: 20px;
}
section.main .post p em {
	font-size:16px;
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	 margin-right: 40;
}
section.main .post:last-child {
	border-bottom: none;
}
.post-thumb {
    padding:0;
    margin:0 0 20px;
    position: relative;
    /*min-height: 100px;*/
}
.post-content {
	margin: 20px 0;
	
}


/************************ Contact Form ************************/



#contactForm {
	display:block;
    padding-top: 30px;
}

#contactForm label {
	display: block;
	font-weight: normal;
	padding: 5px 0px;
}
#contactForm input,
#contactForm textarea {
	background:#fff;
	border: 1px solid #eee;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	/*box-shadow: 1px 1px 0px #CCCCCC inset;*/
	margin-bottom: 10px;
	padding: 7px 10px;
}
#contactForm input:focus,
#contactForm textarea:focus {
	border-color: #000;
}
#contactForm textarea {
	font-size:14px;
	width: 100%;
}
#contactForm input {
	width: 100%;
}
.thanks {
	background: #F2F3F6;
	background: url('lib/contactform/ok.png') 0 26px no-repeat;
	padding: 25px 15px 15px 25px;
	display: none;
}

#contactForm .error, .error {
    background: url("lib/contactform/error.png") no-repeat scroll 5px 50% #FEF4F1;
    border: 1px solid #F5F5F5;
    border-radius:5px;
    color: #000000;
    display: none;
    margin-bottom: 5px;
    padding: 7px 20px 7px 30px;
    width: 100%;
}

.error {
	display:none;
}
#contactForm .col {
	margin-bottom: 0;
}

#contact-map{
	background: #fff;
	padding-bottom:30px;
	border:1px solid #ddd;
	padding:10px;
	min-height: 320px;
	height: 320px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
#contact-map iframe{
border:none;
height: 100%;
}


/************************ Paginate ************************/
.emm-paginate {
    display: block;
    font-size: 14px !important;
    font-weight: bold;
    margin:3% auto;
    padding: 10px 0;
    width: 75%;
    text-align: center;
}
.emm-paginate a, .emm-paginate span {
    margin-left:10px;
}

.emm-page {
    background:#eeeeee;
    color:#ffffff;
    border-radius: 50% 50% 50% 50%;
    display: inline-table;
    height: 40px;
    min-height: 40px;
    width: 40px;
    line-height: 40px;
    margin-left: 5px;
}
.emm-current {
    background:#E54D1B;
    color:#ffffff;
}

/************************ Comments ************************/
#comments {
    border-bottom: 2px solid #DDDDDD;
    display: block;
    /*float: left;*/
    margin-top: 30px;
    padding-bottom: 10px;
    /*width: 90%;*/
}
.comment-author {	background:none;}
#comments h3, #comment-form-title h3 {
    font-size: 22px;
}
ol.commentlist { margin-top: 10px; margin-bottom:20px; }
.commentlist ol li {border-bottom:1px solid #ddd;}
.commentlist li { position: relative; clear: both; list-style-type: none; padding: 11px 10px;border-bottom:1px solid #ddd;}
.commentlist li[class*=depth-] { padding-left: 20px; margin-top: 17px; }
.commentlist li.depth-1 { margin-top: 1px; }
.commentlist li:not(.depth-1) { margin-right: -10px; }
.commentlist li:last-child {}
.commentlist header {min-height: 30px; border:none; position: static; padding: 0}
nav#comment-nav {line-height: 12px;}

.commentlist .vcard {margin-left: 40px; }
.commentlist .vcard cite.fn { font-weight: 700; font-style: normal;}
.commentlist .vcard time {font-size: 11px;  float: none; background:none;width: auto;margin-top: auto; text-shadow:1px 1px #fff;text-transform:uppercase}
.commentlist .vcard time a { color: #999; text-decoration: none; }
.commentlist .vcard time a:hover { text-decoration: underline; }

.commentlist .vcard img.avatar { position: absolute; left: 0; padding: 0px; border: 0px solid #cecece; background: #fff; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
.commentlist li .comment_content { margin-left: 40px; }
.commentlist li .comment_content p { margin: 15px 0; }
.commentlist li .comment_content > *:last-child, .commentlist li .comment_content > *:last-child > *:last-child { margin-bottom: 0 }
.commentlist li ul:not(#comment-form-elements) { margin: 0 0 0 40px; }
.commentlist li ul.children li { border:none;border-top:1px solid #ddd;padding-bottom:4px;}
.commentlist .comment-reply-link {margin-left:40px;text-decoration: none;  min-width: 0; padding: 5px 10px; font-size: 10px; width: auto; display: inline-block; opacity: 0.5; margin-top: 5px; margin-bottom: 5px; -webkit-box-shadow: none;-moz-box-shadow: none;box-shadow: none;}
.commentlist a.comment-reply-link:hover, .commentlist article:hover .comment-reply-link { opacity: 1; }
.commentscount { background:url(library/images/comments.png) 0 2px no-repeat; padding-left:28px; height:30px; display:inline-block; }
#cancel-comment-reply-link { text-transform:uppercase; font-size: 11px; min-width: 0}



/************************ Respond Form ************************/
#respond {margin:40px 0 0 0;}
.respond-form form[method=post] {margin:30px 0; }

.respond-form ol li form#commentform[method=post] li { margin-bottom:0; }
.respond-form form[method=post] li { list-style-type: none; clear: both; margin-bottom: 20px; padding: 0; border:none;}
.respond-form form[method=post] li label, .respond-form form[method=post] li small {cursor:pointer; text-transform:uppercase; width:130px; display:block;}
.respond-form input[type=text]:focus, .respond-form input[type=email]:focus, .respond-form input[type=url]:focus, .respond-form textarea:focus { outline:none;}
.respond-form input[type=text], .respond-form input[type=email], .respond-form input[type=url] { width:95%; height:30px; border: none; padding: 1px 6px; line-height: 24px; }
#allowed_tags { margin: 24px 10px 11px 0; }

.respond-form textarea, .respond-form input[type=text], .respond-form input[type=email], .respond-form input[type=url] { font-family: sans-serif; background:#fff; border-radius: 3px; border: 1px solid #eee;}
.respond-form textarea { resize: none; width: 500px; padding: 10px 5px; line-height: 24px;  height:190px; }
.respond-form input:invalid, .respond-form textarea:invalid { outline: none;}

.nocomments { margin: 0 20px 17px; }
.commentbutton {background:url(library/images/postcomment.png) 0 0px no-repeat; width:162px; height:34px; text-indent:-9999px; border:none; margin-left:135px;}

/************************ Dropcaps ************************/
.dropcapsimple, .dropcapsquare, .dropcapfancy {
	float:left;
	overflow:hidden; 
	text-align:center;
}

.dropcapsimple {
	font-size:34px;
	height:34px;
	line-height:38px;
	width:30px;
	text-align:left;
}

.dropcapsquare {
	font-size:28px;
	height:38px;
	line-height:38px;
	width:38px;
	margin-right:7px;
	color:#fefefe;
	background:#111;
	text-shadow:none;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
}

.dropcapfancy {
	font-size:26px;
	height:40px;
	line-height:40px;
	width:40px;
	margin-right:7px;
	color:#fefefe;
	text-shadow:none;
	background:url(images/bk_dropcap3.png) 0 0 no-repeat !important;
}

/************************ Responsive Navigation ************************/
nav select {
      display: none;
}

/*		Tablet Layout: 768px.  */

@media only screen and (min-width: 768px) and (max-width: 991px) {

	body {
		
	}
	nav {
		width: 100%;
		text-align: center;
	}
	section.main {
		width: 100%;
		float: right;
		padding-top: 20px;
	}
	section.main .post {
		width: 100%;
	}
	section.main .post h2 {
		width: 100%;
		font-size: 24px;
	}
	
	section.main .post h1{
	
		width: 100%;
		font-size: 16px;
		text-align: center;
	}
	section.main .post h3{
	
		width: 100%;
		font-size: 24px;
		text-align: center;
	}
	
	#respond #commentform p label {
		clear: both;
		display: block;
		padding-left: 0;
		font-size: 11px;
		font-style: italic;
	}
	#respond #commentform #comment {
		width: 95%;
	}
	body.page section.main img,
	body.blog section.main img,
	body.single section.main img,
	body.archive section.main img  {
		max-width: 100%;
		width: 100%;
		height: auto !important;
	}
}


/*		Mobile Layout: 320px. */

@media only screen and (max-width: 767px) {
	/* change grid3 to 2-column */
	.grid2 .col {
		width: 100%;
		margin-left: 0;
	}
	.grid3 .col:nth-of-type(2n+1) {
		margin-left: 0;
		clear: none;
	}
	.grid3 .col {
		width: 100%;
		margin-left: 0;
	}
	.grid3 .col:nth-of-type(3n+1) {
		margin-left: 0;
		clear: none;
	}
	.grid3 .col:nth-of-type(2n+1) {
		margin-left: 0;
		clear: left;
	}
	/* change grid4 to 2-column */
    .grid4 .col {
        width: 100%;
        margin-left: 0;
    }
    .grid4 .col:nth-of-type(4n+1) {
        margin-left: 0;
        clear: none;
    }
    .grid4 .col:nth-of-type(2n+1) {
        margin-left: 0;
        clear: left;
    }


	body {
	/*	width: 250px;
		padding:0px 34px 60px;*/
	}
	.footer_widget {
	    float: none;
	    margin-right: 0px;
	    width: 100%;
	}
	.footer_widgets {
	    width: 100%;
	}
    img.blog-thumb {
		float:right;
	}
    nav ul {
    	display: none;
    }
    nav select {
	    display: inline-block;
	    width: 100%;
	    border: 1px solid #ccc;
	    color: #666; padding:5px;
	    font-family: 'Lato', sans-serif;
	    font-size: 12px;
    } 
	
	.social {
	
	    margin: 20px auto 20px;
	    list-style: none;
	    position: static;
	    text-align: center;
	}
	.social li {
	    display: inline-block;
	    float: none;
	}


    .slogan h2 {
    	font-size: 30px;
    }
    .slogan p {
    	font-size: 20px;
    }
	section.sidebar {
		width: 252px;
	}
	section.main {
		width: 100%;
	}
	section.main .post {		width: 100%;	}
	section.main .post h2 {
		
		width: 100%;
		font-size: 24px;
	}
	section.main .post h1{
	
		width: 100%;
		font-size: 16px;
		text-align: center;
	}
	section.main .post h3{
	
		width: 100%;
		font-size: 24px;
		text-align: center;
	}

	
	#respond {
	    margin: 0px;
	    padding-top:40px;
	}
	.commentlist li ul {
	    margin: 0px;
	}
	#respond #commentform p label {
		clear: both;
		display: block;
		padding-left: 0;
		font-size: 11px;
		font-style: italic;
	}
	#respond #commentform #comment {
		width: 95%;
	}
	body.page section.main img,
	body.blog section.main img,
	body.single section.main img,
	body.archive section.main img  {
		max-width: 100%;
		height: auto !important;
	}
    section #contact-map  {
    	width: 95%;
	}
    section #contactForm input, section #contactForm textarea {
    	width: 95%;
	}


	footer {
		padding:10px;
	}
	
	nav  {
		padding: 20px;
	}

	.column-one {
	    float: none;
	    width: auto;
	}

	.column-two {
	    float: none;
	    width: auto;
	}

}



/*		Wide Mobile Layout: 480px.   */

@media only screen and (min-width: 480px) and (max-width: 767px) {
	
	body {
		/*width: 420px;
		padding: 5px 22px 48px;*/
	}
    nav ul     {
    	display: none;
    }
    nav select {
	    display: inline-block;
	    width: 100%;
		border: 1px solid #ccc;
		color: #666; padding:5px;
	    font-size: 12px;
    }
    .footer_widget {
	    float: none;
	    margin-right: 0;
	    margin-left: 0;
	    width: 100%;
	}
	section.sidebar {
		width: 100%;
	}
	section.main {
        width: 100%;
        float: none;
	}
	section.main .post {
		width: 100%;
	}
	section.main .post h2 {
		width: 100%;
		/*font-size: 16px;*/
	}

	.post-thumb {
	    /*max-height: 260px;*/
	}
	img.blog-thumb {
	    float: right;
	    width:100%;
	}
	#respond #commentform p label {
		display: inline;
		padding-left: 20px;
	}
	#respond #commentform #comment {
		width: 95%;
	}
    body.page section.main img,
	body.blog section.main img,
	body.single section.main img,
	body.archive section.main img  {
		max-width: 100%;
		height: auto !important;
	}
    section #contact-map  {
    	width: 95%;
	}

	footer {
		padding:10px;
	}

	.column-one {
	    float: none;
	    width: auto;
	}

	.column-two {
	    float: none;
	    width: auto;
	}
}

/*	Retina media query.
	Overrides styles for devices with a
	device-pixel-ratio of 2+, such as iPhone 4.
-----------------------------------------------    */

@media
	only screen and (-webkit-min-device-pixel-ratio: 2),
	only screen and (min-device-pixel-ratio: 2) {

	body {

	}

}




/* Content Flip Style */
.bb-bookblock {
	width: 400px;
	height: 300px;
	position: relative;
	background: #fff;
	z-index: 100;
}

.bb-page {
	width: 50%;
	height: 100%;
	left: 50%;
	position: absolute;

	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;

	-webkit-transform-origin: left center;
	-moz-transform-origin: left center;
	-o-transform-origin: left center;
	-ms-transform-origin: left center;
	transform-origin: left center;
}

.bb-page > div,
.bb-outer,
.bb-content {
	position: absolute;
	height: 100%;
	top: 0;
	left: 0;
}

.bb-content {
	background: #fff;
}

.bb-inner {
	position: relative;
	width: 100%;
	height: 100%;
}

.bb-overlay, .bb-outer {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
}

.bb-page > div {
	width: 100%;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;

	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
}

.bb-back {
	-webkit-transform: rotateY(-180deg);
	-moz-transform: rotateY(-180deg);
	-o-transform: rotateY(-180deg);
	-ms-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
}

.bb-outer {
	width: 100%;
	overflow: hidden;
	z-index: 999;
}

.bb-overlay, 
.bb-flipoverlay {
	background-color: rgba(0, 0, 0, 0.7);
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 1000;
}

.bb-flipoverlay {
	background-color: rgba(0, 0, 0, 0.2);
}

.bb-bookblock > div.bb-page:first-child,
.bb-bookblock > div.bb-page:first-child .bb-back {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

.js .bb-item {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
	background: #fff;
}

.bb-bookblock {
	width: 100%;
	height: 400px;
}