/*
	Theme Name: MiriInTheVillage
	Theme URI: localhost/wordpress-trunk/wp-content/themes/miriinthevillage
	Author: Matt and Miri Nadler
	Author URI: http://www.mattandmiri.com
	Description: This fun theme revitalizes the site of Miri Nadler and it could revitalize your site too! 
	Version: 0.1
	Author: Matt and Miri Nadler
	Author URI: http://www.mattandmiri.com
*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}
/* HTML5 display-role reset for older browsers */
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;
}

/* Nadler's addition to the Meyer reset */ 

a {
	color: #555;
}

/* ---------- FONTS ---------- */

@font-face {
    font-family: 'champagne__limousinesregular';
    src: url('fonts/champagne__limousines-webfont.eot');
    src: url('fonts/champagne__limousines-webfont.eot#iefix') format('embedded-opentype'),
         url('fonts/champagne__limousines-webfont.woff') format('woff'),
         url('fonts/champagne__limousines-webfont.ttf') format('truetype'),
         url('fonts/champagne__limousines-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'champagne__limousinesBdIt';
    src: url('fonts/champagne__limousines_bold_italic-webfont.eot');
    src: url('fonts/champagne__limousines_bold_italic-webfont.eot#iefix') format('embedded-opentype'),
         url('fonts/champagne__limousines_bold_italic-webfont.woff') format('woff'),
         url('fonts/champagne__limousines_bold_italic-webfont.ttf') format('truetype'),
         url('fonts/champagne__limousines_bold_italic-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'champagne__limousinesbold';
    src: url('fonts/champagne__limousines_bold-webfont.eot');
    src: url('fonts/champagne__limousines_bold-webfont.eot#iefix') format('embedded-opentype'),
         url('fonts/champagne__limousines_bold-webfont.woff') format('woff'),
         url('fonts/champagne__limousines_bold-webfont.ttf') format('truetype'),
         url('fonts/champagne__limousines_bold-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'champagne__limousinesitalic';
    src: url('fonts/champagne__limousines_italic-webfont.eot');
    src: url('fonts/champagne__limousines_italic-webfont.eot#iefix') format('embedded-opentype'),
         url('fonts/champagne__limousines_italic-webfont.woff') format('woff'),
         url('fonts/champagne__limousines_italic-webfont.ttf') format('truetype'),
         url('fonts/champagne__limousines_italic-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* ---------- GLOBAL ---------- */

* {
	margin: 0px;
}
html, body {
	height: 100%;
	width: 100%;
}
body {
	padding: 0px;
	margin: 0px;
	background-color: #fff;
} 
h1, h2, h3, h4, h5, h6, p, div {
	font-family: 'champagne__limousinesregular';
}
h1 {
	font-size: 70px;
	font-weight: normal;
}
h2 {
	font-size: 40px;
	font-weight: bold;
}  
h3 {
	margin: 0px 0px 24px 240px;
	font-size: 30px;
	font-weight: bold;
}
p {
	font-size: 18px;
}
span {
	color: #f37965;
}


/* ---------- MAIN ---------- */

.wrapper {
	width: 1170px;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto;
	text-align: left;
	font-family: sans-serif;
}
.footer, .push {
	height: 25px;
	clear: both;
} 

/* ---------- HEADER ---------- */ 

.top-header {
	position: relative;
	width: 100%;
	min-width: 1440px;
	height: 336px; 
	text-align: center; 
	background: #fff url('images/Villagescape-responsive.svg') repeat-x top; 
}

.top-header-wrapper {
	position: absolute;
	width: 100%;
	bottom: 18px;
	text-align: center;
}
.top-header h1 {
	color: #fff;	
}
.top-header a {
text-decoration: none;
}
.mirihead {
	position: fixed;
	top: -3px;	
	left: -3px;
	height: 220px;
	width: 220px;
	background-image: url('images/mirilogo.svg');
	background-repeat: no-repeat;
	z-index: 1;
}

/* ---------- NAV ---------- */ 

.archive-header-fixed {
	width: 100%;
}
.nav-wrapper {
	width: 100%;
	height: 38px;
	margin-bottom: 24px;
	background-color: #F5B26A;
} 
.nav-wrapper-archive {
	width: 100%;
	height: 38px;
	margin-bottom: 0px;
	background-color: #F5B26A;
}
.nav-menu {
	width: 1170px;
	margin: 0 auto;
}
.menu {
	margin: 0 auto;
}
.nav-menu li {
	float: left;
	margin-right: 80px;
}
.nav-menu li:first-of-type {
	margin-left: 40px;
}
.nav-menu li:last-of-type {
	margin-right: 40px;
}
.nav-menu a {
	color: #fff;
	text-decoration: none;
	font-size: 32px;
	cursor: pointer;
}
.nav-wrapper-archive a {
	position: relative;
	color: #555;
}
.nav-btn {
	position: absolute;
	right: 20px;
	top: 10px;
	background-color: #F5B26A;
    width: 22px;
    height: 22px;
    padding: 4px;
    cursor: pointer;
    display: none;
    z-index: 30;
    border-radius: 3px;
}
.nav-btn-block {
    display: block;
    height: 4px;
    width: 22px;
    margin-bottom: 4px;
    background-color: #FFF;
    border-radius: 2px;
}
.current-menu-item a {
	color: #fff;
}
.red-slice-header {
	background-color: #f37965;
	height: 10px;
}
.archive-top-push {
	height: 40px;
	width: 100%;
	clear: both;
}

/* ---------- HOME COLUMNS---------- */ 

.column1 {
	width: 842px;
	margin: 0px 25px 25px 0px; 
	float: left;
}

.column2 {
	width: 303px;
	height: auto;
	float: left;
}

/* ---------- BLOGPOST PREVIEWS ---------- */

.featured-blog-post-wrapper {
	width: 100%;
	margin-bottom: 24px; 
}
.featured-blog-post-wrapper-inner {
	position: relative;
	width: 100%;
	max-height: 561px;
}
.featured-blog-post-wrapper img.post-thumbnail {
	position: absolute;
	width: 100%;
	z-index: -1;
}
.featured-blog-post-wrapper-inner img.attachment-post-thumbnail.wp-post-image {
		max-width: 842px; 
		max-height: 561px; 
}
.blog-post-preview-1 {
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 802px;
	height: 80px;
	background-color: #f8a89d;
	opacity: .85;
	font-size: 35px;
	font-weight: bold;
	color: #fff;
	padding: 20px;
	overflow: hidden;
} 
.blog-post-excerpt-1 {
	float: left;
	width: 650px;
}
.blog-post-date {
	width: 150px;
	float: left;
	color: #fff;
	text-align: right;
	font-size: 20px;
}
.excerpt {
	color: #fff;
	overflow: hidden;
	max-height: 68px; 
}
.second-blog-post-wrapper {
	width: 842px;
	height: 152px;
	margin-bottom: 24px;
	background-color: #Fed385;
	float: left;
}
.blog-post-2 {
	width: 228px;
	height: 152px;
	float: left;
	z-index: 1;
}
.blog-post-2 img.attachment-post-thumbnail.wp-post-image {
	max-width: 228px; 
	max-height: 152px; 
}
.blog-post-preview-2 {
	height: 82px;
	padding: 20px;
	font-weight: bold;
}
.blog-post-excerpt-sub {
	margin-top: 10px;
	margin-left: 60px;
	height: 122px;
	width: 380px;
	float: left;
	color: #fff;
	font-size: 26px;
	line-height: 34px;
	max-height: 100px; 
	overflow: hidden;
}
.cream-slice {
	background-color: #fed385;
}
.orange-slice {
	background-color: #fbb368;
} 
.red-slice {
	background-color: #f37965;
} 
.pink-slice {
	background-color: #f8a89d;
}
.cream-slice, .orange-slice, .red-slice, .red-slice-header, .pink-slice {
	height: 10px;
}

/* ---------- CONTENT ----------- */

.posts {
	width: 960px;
	margin-left: 200px;
}
.single-post {
	float: left;
	margin-left: 40px;
	margin-bottom: 30px;
}
.single-post h2 {
	margin-bottom: 10px;
}
.content {
	height: auto;
	margin-bottom: 8px;
}
.content div {
	margin-bottom: 10px;
	font-size: 18px;
	line-height: 25px;
	margin-bottom: 10px;
	color: #333;
}
.content a {
	margin-left: 0px !important; 
	margin-right: 0px !important;
}
.blog-title {
	font-size: 20px;
	margin-bottom: 10px;
	font-weight: normal;
}
.blog-title a {
	font-size: 30px;
	padding-bottom: 5px;
	text-decoration: none;
	color: #292929;
}
blockquote {
	margin: 0px 30px;
}

/* ---------- ABOUT ME ----------- */

.intro-box-wrapper {
	width: 100%; 
	height: 591px;
	background-color: #e06151;
	margin-bottom: 24px;
}
.miripic {
	width: 100%;
	height: 296px;
	background-image: url('images/about-miri.jpg'); 
}
.intro-text {
	margin: 25px 15px;
	text-align: center;
	color: #fff;
	font-size: 26px;
	line-height: 34px;
}
.intro-text span.line1 {
	color: #fff;
	font-size: 60px;
	font-weight: bold;
}
.intro-text span.line2 {
	color: #fff;
	font-size: 50px;
	line-height: 60px;
	font-weight: bold;
}
.intro-box-wrapper a {
	text-decoration: none;
}
/* ---------- SEARCH ----------- */  

.search {
	float: right;
	height: 32px;
	width: 253px;
	border: 1px solid #555;
	border-radius: 8px;
	margin: 0px 1px 70px 0px;
	color: #555;
}
::-webkit-input-placeholder {
   font: inherit;
}
:-moz-placeholder { /* Firefox 18- */
   font: inherit;
}
::-moz-placeholder {  /* Firefox 19+ */
   font: inherit; 
}
:-ms-input-placeholder {  
   font: inherit;
}

/* ---------- SIDEBAR ---------- */ 

.sidebar {
	margin-bottom: 24px;
	float: right;
} 
.sidebar .ul {
	float: right;
}
.sidebar li {
	height: 43px;
	width: 257px;
	margin-bottom: 30px;
	background-image: url('images/social-media-flag.jpg');
}
.sidebar a, .sidebar a:visited {
	height: 20px;
	padding: 13px 0px 10px 57px;
	display: block;
	font-size: 20px;
	color: #fff;
	text-decoration: none;
}
.sidebar a:hover {
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";

  /* IE 5-7 */
  filter: alpha(opacity=50);

  /* Netscape */
  -moz-opacity: 0.5;

  /* Safari 1.x */
  -khtml-opacity: 0.5;

  /* Good browsers */
  opacity: 0.5;

}

/* ---------- PREVIOUS ----------- */ 

.previous-arrow {
	font-size: 50px;
	float: left;
	color: #f58120;
	margin-right: 4px;
}
.previous-wrapper { 
	width: 100%;
	margin-bottom: 20px !important; 
	text-align: center;
}
.previous-wrapper a {
	font-size: 20px;
	color: #f58120;
	text-decoration: none;
}
.previous-wrapper a:hover {
	text-decoration: underline;
}

/* ---------- FOOTER ---------- */  

.footer {
	margin: 0 auto;
	height: 50px;
	text-align: center; 
}

/* ----------- MEDIA QUERIES ---------- */ 
@media (max-width:1500px) {
	.top-header {
		min-width: 1170px;
		height: 273px; 
	}
	.nav-wrapper-archive  {
		padding-left: 12%;
		box-sizing: border-box;
	}
}
@media (max-width: 1200px) {
	.top-header {
		min-width: 960px;
		height: 224px; 
	}
	.top-header-wrapper {
		width: 100%;
		z-index: 10;
	}
	.top-header-wrapper h1 {
		font-size: 40px;
	}
	.mirihead {
		height: 150px;
		width: 150px;
	}
	.nav-menu {
		width: 960px;
		height: 38px;
		margin: 0 auto;
	}
	.nav-menu li {
		margin-right: 92px;
		margin-top: 10px;
	}
	.nav-menu a {
		font-size: 18px;
	}
	.wrapper {
		width: 960px;
	}
	.column1 { 
		width: 600px;
	}
	.featured-blog-post-wrapper {
		width: 100%;
		margin-bottom: 24px; 
	}
	.featured-blog-post-wrapper-inner {
		position: relative;
		width: 100%;
	}
	.featured-blog-post-wrapper-inner img.attachment-post-thumbnail.wp-post-image {
		max-width: 600px; 
		max-height: 386px; 
	}
	.blog-post-preview-1 {
		position: absolute;
		bottom: 0px;
		left: 0px;
		width: 90%;
		height: 80px;
		background-color: #f8a89d;
		opacity: .85;
		font-size: 35px;
		font-weight: bold;
		color: #fff;
		padding: 5%;
	} 
	.blog-post-excerpt-1 {
		float: left;
		width: 66.66%;
	}
	.blog-post-date {
		width: 30%;
		float: left;
		color: #fff;
		text-align: right;
		font-size: 16px;
	}
	.second-blog-post-wrapper {
		width: 100%;
		height: 108px;
		margin-bottom: 24px;
		background-color: #Fed385;
		float: left;
	}
	.blog-post-2 {
		width: 162px;
		height: 108px;
		float: left;
		z-index: 1;
	}
	.blog-post-2 img.attachment-post-thumbnail.wp-post-image {
		max-width: 162px; 
		max-height: 108px; 
	}	
	.blog-post-preview-2 {
		height: 38px;
		padding: 20px 10px;
	}
	.blog-post-excerpt-sub {
		margin-top: 10px;
		margin-left: 15px;
		height: 122px;
		width: 33%;
		float: left;
		font-size: 16px;
		line-height: 24px;
	}
	.cream-slice {
		background-color: #fed385;
	}
	.orange-slice {
		background-color: #fbb368;
	} 
	.red-slice {
		background-color: #f37965;
	} 
	.pink-slice {
		background-color: #f8a89d;
	}
	.cream-slice, .orange-slice, .red-slice, .red-slice-header, .pink-slice {
		height: 10px;
	}
	.posts {
		width: 780px;
		margin-left: 160px;
	}
	.content img {
		max-width: 100%;
		height: auto !important;
	}
	.second-blog-post-wrapper p {
		font-size: 16px;
	}
	.intro-box-wrapper {
		width: 303px;
		float: left;
	}  
	.search {
		float: right;
	}
}

@media (max-width: 980px) {
	.top-header {
		width: 100%;
		min-width: 768px;
		height: 179px; 
	}
	.top-header-wrapper h1 {
		font-size: 30px;
	}
	.column1 { 
		width: 684px;
		margin: 0 auto;
		margin-left: 40px;
	}
	.column2 {
		width: 684px;
		margin: 0 auto;
		margin-left: 40px;
	}
	.featured-blog-post-wrapper-inner img.attachment-post-thumbnail.wp-post-image {
		max-width: 684px; 
		max-height: 456px; 
	}
	.mirihead {
		height: 125px;
		width: 125px;
	}
	.nav-menu {
		width: 768px;
		margin: auto;
	}
	.nav-menu ul {
		margin-left: 100px
	}
	.nav-menu li {
		margin-right: 30px;
		margin-top: 10px;
	}
	.nav-menu a {
		font-size: 15px;
	}
	.wrapper {
		width: 960px;
	}
	.blog-post-date {
		width: 30%;
		float: left;
		color: #fff;
		text-align: right;
		font-size: 16px;
	}
	.second-blog-post-wrapper {
		width: 100%;
		height: 152px;
		margin-bottom: 24px;
		background-color: #Fed385;
		float: left;
	}
	.blog-post-2 {
		width: 228px;
		height: 152px;
	}
	.blog-post-2 img.attachment-post-thumbnail.wp-post-image {
		max-width: 228px; 
		max-height: 152px; 
	}	
	.blog-post-preview-2 {
		height: 82px;
	}
	.posts {
		width: 640px;
		margin-left: 140px;
	}
}
@media (max-width: 768px) {
	.top-header {
		width: 100%;
		min-width: 500px;
		height: 116px; 
	}
	.top-header-wrapper {
		bottom: 4px;
	}
	.top-header-wrapper h1 {
		z-index: 10;
		font-size: 26px;
	}
	.nav-wrapper-archive  {
		padding-left: 0%;
	}
	.column1 { 
		width: 684px;
		margin-left: 24px;
	}
	.column2 {
		margin-left: 24px;
	}

	.mirihead {
		height: 100px;
		width: 100px;
	}
	.nav-menu {
		width: 500px;
		margin: 0 auto;
	}
	.nav-menu ul {
	margin-left: 50px;
	}
	.nav-menu li:first-of-type {
		margin-left: 0px;
	}
	.nav-menu a {
		font-size: 15px;
	}
	.wrapper {
		width: 750px;
	}
	.posts {
		width: 500px;
		margin-left: 115px;
	}
}

@media (max-width: 767px) {
	.nav-wrapper-archive ul {
		margin-left: 100px;
		width: 100%;
	}	
	.nav-menu li {
		margin-right: 15px;
	}
	.wrapper {
		width: 100%;
		padding: 20px;
		padding-top: 0px;
		box-sizing: border-box;
	}
	.column1 {
		width: 100%;
		margin-left: 0px;
		margin-right: 0px; 
	}
	.column2 {
		width: 100%;
		margin-left: 0px;
	}
	.featured-blog-post-wrapper-inner img.attachment-post-thumbnail.wp-post-image {
		max-width: 100%; 
		height: auto;
	}
	.posts {
		width: 100%;
		margin-left: 0px;
	}
	.single-post {
		float: left;
		margin-left: 0px;
		margin-bottom: 30px;
	}
	.intro-box-wrapper {
		width: 303px;
		float: left;
	}  
	.search {
		float: right;
	}
}

@media (max-width: 585px) {
	.top-header {
		height: 35px;
		width: 160px;
		min-width: 160px;
		margin: 10px 0px 0px 20px;
		position: fixed;
		top: 0px;
		background-image: none;
		text-align: left;
		float: left;
		background-color: #fff;
		z-index: 9;
	}
	.top-header-wrapper {
		bottom: 0px;
		padding: 0px;
		height: 100%;		
	}
	.top-header-wrapper h1 {
		position: absolute;
		z-index: 10;
		font-size: 24px;
		line-height: 32px;
		color: #555;
	}
	.nav-wrapper {
		margin-bottom: 0px;
		position: fixed;
		background-color: #fff;
		width: 100%;
		height: 50px;		
		top: 0px;
		right: 0px;
		z-index: 8;	
	}
	.nav-wrapper-archive .nav-btn {
		top: 15px;
	}
	.nav-menu {
		display: none;
		position: absolute; 
		top: 50px;
		width: 90px;
		right: 20px;
		height: auto !important;
		background-color: #F5B26A;
		border-radius: 5px;
	}
	.nav-menu ul {
		margin-left: 5px;
		margin-bottom: 5px;
	}
	.nav-menu li {
		float: none;
	}
	.nav-menu li:first-of-type {
		margin-left: 0px;
	}
    .nav-btn {
        display: block;
    }
    .wrapper {
    	padding-top: 50px;
    }
}

@media (max-width: 480px) {
	.top-header {
		margin: 10px 0px 0px 10px;
	}
	.nav-btn {
		top: 10px;
		right: 10px;
	}
	.nav-menu {
		right: 10px;
	}
	.wrapper {
		width: 100%;
		padding: 10px;
		padding-top: 50px;
	}
	.column1 {
		margin-left: 0px;
	}
	.blog-post-preview-1 {
		position: absolute;
		bottom: 0px;
		left: 0px;
		width: 90%;
		height: 80px;
		background-color: #f8a89d;
		opacity: .85;
		font-size: 35px;
		font-weight: bold;
		color: #fff;
		padding: 5%;
	} 
	.blog-post-excerpt-1 {
		float: left;
		width: 100%;
	}
	.excerpt {
		display: none;
	}
	.second-blog-post-wrapper {
		height: 115px;
	}
	.blog-post-2 {
		width: 172px;
		height: 115px;
	}
	.blog-post-2 img.attachment-post-thumbnail.wp-post-image {
		max-width: 172px; 
		max-height: 115px; 
	}

	.blog-post-preview-2 {
		height: 45px;
	}
	.blog-post-excerpt-sub {
		max-width: 60%;
		height: 45px;
		box-sizing: border-box;
	}
	.blog-post-date {
		display: none;
	}
	.posts {
		width: 100%;
		margin-left: 0px;
	}