/*
Theme Name: David Lebovitz
Description: Custom theme for David Lebovitz
Version: 2.0
Author: Stephen Merriman
Author URI: http://www.cre8d-design.com
*/

.search form input[type="submit"],
#social ul li a:after,
#togglemenu a:before {
	background-image:url(images/sprite-new.png);background-repeat:no-repeat;background-color:transparent;
	background-size:34px 152px;
}

img, .wp-caption, picture {max-width:100%;height:auto;}

.clearfix:before, .clearfix:after {content:" ";display:table;}
.clearfix:after {clear:both;}
.clearfix {*zoom:1;}

a img {border:none;}

a {font-weight:bold;}
a:link, a:visited {text-decoration:none;color:#46A513;}
a:hover, a:active {text-decoration:none;color:#1D7705;}

p, ul, ol {margin-top:0;margin-bottom:1.6em;}

.alignleft {float:left;display:inline;margin:0 20px 1.6em 0;max-width:50%;}
.alignright {float:right;display:inline;margin:0 0 1.6em 20px;max-width:50%;}
.aligncenter {display:block;margin:0 auto 1.6em auto;}
.alignnone.wp-caption {margin-bottom:1.6em;}
.wp-caption img {vertical-align:bottom;}
.wp-caption-text {margin:5px 0 0 0;font-size:11px;}

@media screen and (max-width:479px) {
	.alignleft, .alignright {float:none;display:block;max-width:100%;margin-right:auto;margin-left:auto;}
}

body,html {min-width:320px;}

html {-webkit-text-size-adjust:100%;}

body,input,textarea,select {font-size:14px;color:#333;font-family:"Lucida Grande",Verdana,"Bitstream Vera Sans",Arial,sans-serif;}

#menu ul li, #togglemenu, #footer, .post .title, .post .content .more-link, 
.navigation, #sidebar .section h2.sectitle, ul.commentlist li .commeta,
ul.commentlist li .comdiv .comment-reply-link, .post .postsec h2, .post .postsec .comment-reply-title, .content h2, .content h3, .post .postsec .catstags, .postgrid,
.subscribebox form label, .subscribebox h2, .archivetitle, #respond form p label, #body .gform_wrapper .gfield_label {font-family:Ramaraja,serif;}

.post .postmeta {font-family:Georgia,"Times New Roman",Times,serif;}

.subscribebox form .submit, .book .buy {font-family:Arial,Helvetica,sans-serif;}

input::-webkit-input-placeholder {color:inherit;opacity:1;}
input:-moz-placeholder {color:inherit;opacity:1;}
input::-moz-placeholder {color:inherit;opacity:1;}
input:-ms-input-placeholder {color:inherit;opacity:1;}

body {
	margin:0;
	background:#fff;
	line-height:1.6;
}

.container {min-width:300px;max-width:1000px;margin:0 auto;padding:0 10px;}

#header {padding:30px 0 39px 0;}

#header .container {position:relative;}

#logo {width:281px;margin:0;}
#logo img {vertical-align:bottom;}

#header .search {position:absolute;top:24px;right:30px;width:300px;}
#body .search {margin-bottom:1.6em;width:300px;max-width:100%;}

.search form {border:1px solid #eee;background:#f5f5f5;position:relative;height:36px;}
.search form .text {margin-right:34px;}
.search form .text input {background:#f5f5f5;border:none;margin:0;padding:11px 0 11px 10px;height:36px;width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:12px;color:#666;border-radius:0;}
.search form input[type="submit"] {margin:0;position:absolute;top:1px;right:0;border:none;text-indent:-9999px;font-size:0;display:block;line-height:0;overflow:hidden;cursor:pointer;width:34px;height:34px;background-position: -0px -0px;-webkit-appearance:none;border-radius:0;}

#menubar {background:#f5f5f5;margin-bottom:20px;}

#togglemenu {display:none;}

#menu ul {margin:0 0 0 -15px;padding:0;list-style:none;font-size:0;}
#menu ul li {margin:0;padding:0;display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:top;font-size:20px;text-transform:lowercase;line-height:50px;}
#menu ul li a {font-weight:inherit;color:#333;display:block;text-decoration:none;padding:5px 15px 0 15px;line-height:45px;}
#menu ul li a:hover, #menu ul li a:active {background:#eee;}
#menu ul li.current-menu-item a {color:#46A513;}

#social .container {position:relative;}
#social ul {margin:0;padding:0;list-style:none;font-size:0.1px;text-align:justify;width:300px;position:absolute;top:-60px;right:30px;}
#social ul:after {content:"";display:inline-block;position:relative;width:100%;height:0;}
#social ul li {margin:0;padding:0;display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:top;font-size:14px;}
#social ul li a {text-indent:-9999px;display:block;width:30px;height:30px;background:#ccc;overflow:hidden;position:relative;}

#social ul li.facebook a {background:#5D73A4;}
#social ul li.twitter a {background:#00B0ED;}
#social ul li.pinterest a {background:#CB232A;}
#social ul li.googleplus a {background:#D54735;}
#social ul li.flickr a {background:#FFFFFF;}
#social ul li.instagram a {background:#255F8D;}
#social ul li.bloglovin a {background:#3FBEF4;}
#social ul li.snapchat a {background:#FFFC00;}

#social ul li.facebook a:hover, #social ul li.facebook a:active {background:#3F5386;}
#social ul li.twitter a:hover, #social ul li.twitter a:active {background:#0094E4;}
#social ul li.pinterest a:hover, #social ul li.pinterest a:active {background:#B61418;}
#social ul li.googleplus a:hover, #social ul li.googleplus a:active {background:#C32D20;}
#social ul li.flickr a:hover, #social ul li.flickr a:active {background:#EEEEEE;}
#social ul li.instagram a:hover, #social ul li.instagram a:active {background:#15416D;}
#social ul li.bloglovin a:hover, #social ul li.bloglovin a:active {background:#27A6EE;}
#social ul li.snapchat a:hover, #social ul li.snapchat a:active {background:#FFFA00;}

#social ul li a:after {content:"";display:block;position:absolute;top:50%;left:50%;}
#social ul li.facebook a:after {width:8px;height:16px;margin-left:-4px;margin-top:-8px;background-position: -0px -115px;}
#social ul li.twitter a:after {width:16px;height:14px;margin-left:-8px;margin-top:-7px;background-position: -16px -102px;}
#social ul li.pinterest a:after {width:16px;height:21px;margin-left:-8px;margin-top:-10px;background-position: -0px -94px;}
#social ul li.googleplus a:after {width:22px;height:18px;margin-left:-11px;margin-top:-9px;background-position: -0px -60px;}
#social ul li.flickr a:after {width:16px;height:8px;margin-left:-8px;margin-top:-4px;background-position: -16px -78px;}
#social ul li.instagram a:after {width:16px;height:16px;margin-left:-8px;margin-top:-8px;background-position: -16px -86px;}
#social ul li.bloglovin a:after {width:16px;height:16px;margin-left:-8px;margin-top:-8px;background-position: -0px -78px;}
#social ul li.snapchat a:after {width:19px;height:19px;margin-left:-9px;margin-top:-9px;background-position: -0px -133px;}
	
#main {float:left;display:inline;width:100%;margin-right:-360px;padding-top:20px;}
#main-a {margin-right:360px;}
#sidebar {float:right;display:inline;width:300px;padding:20px 20px 0 20px;margin-bottom:20px;}

.archivetitle {margin:0 0 35px 0;font-size:20px;font-weight:normal;line-height:22px;}

.post {border-top:1px solid #f5f5f5;padding-top:40px;margin-bottom:40px;}
.post .content>:last-child {margin-bottom:0;}
.post .content>:last-child>:last-child {margin-bottom:0;}
.post .content>:last-child>:last-child>:last-child {margin-bottom:0;}

.firstpost {border-top:none;padding-top:0;}

.post .posthead {margin-bottom:20px;}
.post .title {margin:0 0 -5px 0;font-size:34px;line-height:34px;font-weight:normal;}
.post .title a {font-weight:inherit;color:inherit;text-decoration:none;}
.post .title a:hover, .post .title a:active {color:#1D7705;}

.page .posthead {margin-bottom:30px;}

.post .postmeta {font-size:12px;font-style:italic;color:#333;}
.post .postmeta a {color:inherit;font-weight:inherit;}
.post .postmeta a:hover, .post .postmeta a:active {color:#1D7705;}

.post .content a.more-link {text-decoration:none;font-weight:inherit;font-size:20px;margin-bottom:-10px !important;display:inline-block;}

.content h2 {font-size:26px;font-weight:normal;line-height:26px;margin:35px 0 18px 0;}
.content h3 {font-size:24px;font-weight:normal;line-height:24px;margin:35px 0 18px 0;}

.content blockquote {background:#f5f5f5;padding:10px;margin:0 0 1.6em 0;}
.content blockquote>:last-child {margin-bottom:0;}
.content blockquote>:last-child>:last-child {margin-bottom:0;}
.content blockquote>:last-child>:last-child>:last-child {margin-bottom:0;}

.content blockquote>h2:first-child {background:#49A514;text-transform:none;margin:-10px -10px 10px -10px;padding:10px 10px 4px 10px;color:#fff;}

.content ul.ingredient_list {margin:0 0 1.6em 0;padding:0;list-style:none;}
.content ul.ingredient_list li {margin:0;padding:0;}

.content hr {width:60%;height:3px;background:#6ab640;color:#6ab640;border:none;margin:40px auto;}

.content iframe {max-width:100%;}

.content .fineprint {font-size:10px;}

.content .features {width:630px;max-width:100%;margin:0 auto 1.6em auto;text-align:center;}
.content .features ul {margin:0 0 -5px -25px;padding:0;list-style:none;font-size:0;}
.content .features ul li {margin:0 0 5px 0;padding:0;display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:top;font-size:14px;width:131px;max-width:33.333333333333333%;}
.content .features ul li .li-a {margin-left:25px;}
.content .features ul li .li-a span {display:block;margin:0 auto;}
.content .features ul li img {display:block;}

.excerpt .image-holder {float:left;display:inline;width:200px;height:0;padding-bottom:300px;}
.excerpt .excerpt-a {padding-left:200px;position:relative;}
.excerpt .excerpt-b {padding-left:40px;}
.excerpt .featimage {position:absolute;top:0;left:0;width:200px;}

.navigation {margin-bottom:40px;font-size:20px;line-height:20px;}
.navsingle {margin-bottom:20px;font-size:16px;line-height:16px;}
.navcomments {font-size:16px;line-height:16px;}
.navigation a {font-weight:inherit;}
.navigation .navleft {float:left;display:inline;width:48%;}
.navigation .navright {float:right;display:inline;width:48%;text-align:right;}

.post .postsecgroup {padding-top:40px;border-top:1px solid #f5f5f5;margin-top:40px;}
.post .postsec {margin-top:40px;}
.post .postsecgroup .postsec:first-child {margin-top:0;}

.post .postsec .postsec-cols {}
.post .postsec .postsec-cols-a {margin:0 0 -40px -40px;font-size:0;text-align:center;}
.post .postsec .postsec-cols .postsec-col {display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:top;width:300px;margin:0 0 40px 40px;font-size:14px;text-align:left;}

.post .postsec h2, .post .postsec .comment-reply-title {font-size:28px;font-weight:normal;line-height:28px;margin:0 0 25px 0;text-transform:lowercase;}

.post .postsec .catstags p {margin:0 0 0 -15px;font-size:0;}
.post .postsec .catstags a {font-weight:normal;margin-left:15px;display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:top;font-size:16px;}
.post .postsec .catstags span.label {text-transform:lowercase;font-size:16px;margin-left:15px;}

.post .postsec .share {margin-bottom:-14px;margin-top:-5px;}
.post .postsec .a2a_kit>a {margin-right:10px;margin-bottom:14px;}

.a2a_svg, .a2a_count, .a2a_menu, .a2a_menu_find_container { border-radius: 0 !important; }

.postgrid {width:638px;max-width:100%;margin-bottom:1.6em;}
.postgrid ul {margin:0 0 -40px -40px !important;padding:0;list-style:none;font-size:0;}
.postgrid ul li {margin:0 0 40px 0 !important;padding:0;display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:top;font-size:20px;width:33.333333333333333%;line-height:22px;}
.postgrid ul li .li-a {margin-left:40px;}
.postgrid ul li a {font-weight:inherit;color:#333;display:block;text-decoration:none !important;}
.postgrid ul li a:hover, .postgrid ul li a:active {color:#1D7705;}
.postgrid ul li .gridimage {display:block;margin-bottom:8px;}
.postgrid ul li .gridimage img {display:block;}
.postgrid ul li .gridtitle {display:block;}
					
ul.commentlist {margin:0 0 40px 0;padding:0;list-style:none;border-bottom:1px solid #f5f5f5;}
ul.commentlist li {margin:0 0 1.6em 0;padding:0;}
ul.commentlist li ul {margin:1.6em 0 0 20px;padding:0;list-style:none;}
ul.commentlist li .comdiv {border-top:1px solid #f5f5f5;padding-top:1.6em;}
ul.commentlist>li:first-child>.comdiv:first-child {border-top:none;padding-top:0;}
ul.commentlist li .comdiv .commeta {font-size:16px;color:#999;margin-bottom:8px;}
ul.commentlist li .comdiv .commeta a {font-weight:inherit;}
ul.commentlist li .comdiv .comauth {float:left;display:inline;}
ul.commentlist li .comdiv .comdate {float:right;display:inline;margin-left:20px;}
ul.commentlist li .comdiv.bydavid .comdavid {width:18px;height:17px;padding:8px 7px 7px 7px;background:#6ab640;float:left;display:inline;}
ul.commentlist li .comdiv.bydavid .comcontent {margin-left:52px;min-height:50px;}

ul.commentlist li .comdiv .comment-reply-link {font-size:16px;font-weight:inherit;margin-left:10px;margin-bottom:-5px;display:inline-block;}

#respond .comment-reply-title small {font-size:12px;}

#respond form p {margin-bottom:20px;}
#respond form p label {display:block;margin-bottom:3px;font-size:20px;line-height:20px;text-transform:lowercase;}
#respond form p label span.desc {color:#999;font-size:16px;text-transform:lowercase;}
#respond form p label span.desc a {font-weight:inherit;}
#respond form span.required {display:none;}
#respond form input[type="text"], #respond form input[type="email"], #respond form textarea {border:1px solid #eee;background:#f5f5f5;margin:0;padding:12px 10px 11px 10px;-moz-box-sizing:border-box;box-sizing:border-box;width:300px;max-width:100%;border-radius:0;}
#respond form input[type="submit"] {background:#333;color:#fff;text-transform:uppercase;-webkit-appearance:none;font-weight:bold;height:40px;padding:0 12px;border:none;font-size:13px;cursor:pointer;border-radius:0;}
#respond form input[type="submit"]:hover {background:#333;}
#respond form input[type="submit"]::-moz-focus-inner {border:none;margin:0;outline:0;padding:0;}

#respond form .comment-subscription-form label {display:inline;margin-bottom:0;}
#respond form .comment-subscription-form input[type="checkbox"] {vertical-align:middle;margin-right:5px;margin-left:0;margin-top:-1px;}

ul.commentlist li #respond {margin-left:0;margin-top:40px;}
ul.commentlist li li #respond {margin-left:-20px;}
ul.commentlist li li li #respond {margin-left:-40px;}
ul.commentlist li li li li #respond {margin-left:-60px;}

.subscribebox h2 {font-size:28px !important;font-weight:normal !important;line-height:28px !important;margin:0 !important;text-transform:lowercase !important;color:#fff !important;background:#6ab640 !important;padding:14px 11px 8px 11px !important;}
.subscribebox form {background:#f5f5f5;margin-top:1px;padding:10px;}
.subscribebox form label {font-size:20px;text-transform:lowercase;}
.subscribebox form input[type="checkbox"] {vertical-align:middle;margin-right:5px;margin-left:0;margin-top:-1px;}
.subscribebox form .submit {float:right;display:inline;margin-left:10px;}
.subscribebox form .submit input {font-size:13px;font-weight:bold;border:none;background:#333;cursor:pointer;color:#fff;text-transform:uppercase;padding:0;overflow:visible;width:80px;height:40px;-webkit-appearance:none;display:block;border-radius:0;}
.subscribebox form .submit input::-moz-focus-inner {padding:0;outline:0;border:0;margin:0;}
.subscribebox form .submit input:hover {background:#333;}
.subscribebox form .text {overflow:hidden;}
.subscribebox form .text input {margin:0;padding:0;width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;border:none;background:#fff;display:block;font-size:12px;height:40px;padding:13px 10px;border-radius:0;}
.subscribebox form .formitem {margin-bottom:4px;}
.subscribebox form .formitem-margin {margin-top:5px;margin-bottom:0;}

#sidebar .subscribebox h2 {background:#333 !important;}
#sidebar .subscribebox form {background:#6ab640;color:#fff;}

#sidebar .section {margin-bottom:20px;font-size:12px;}
#sidebar .section h2.sectitle {font-size:28px;font-weight:normal;line-height:28px;margin:0 0 8px 0;text-transform:lowercase;}

#sidebar .section p, #sidebar .section ul, #sidebar .section ol, #sidebar .section .alignleft, #sidebar .section .alignright, #sidebar .section .aligncenter, #sidebar .section .alignnone.wp-caption {margin-bottom:1em;}

#sidebar .section ul {margin:0 0 1.6em 0;padding:0;list-style:none;}
#sidebar .section ul li {margin:0 0 5px 0;padding:0;line-height:1.25;}
#sidebar .section ul ul {margin:5px 0 0 20px;}

#sidebar .sidecolumns .sidecolumn1 {float:left;display:inline;width:120px;}
#sidebar .sidecolumns .sidecolumn2 {float:right;display:inline;width:160px;}

.book {text-align:center;max-width:100%;margin-bottom:10px;}
.book .cover {margin-bottom:10px;}
.book .cover img {display:block;margin:0 auto;}
.book .cover .sw-pinit {margin:0 auto;}

.book .buy {text-align:center;}
.book .buy a {width:145px;margin:0 auto;max-width:100%;background:#6ab640;display:block;line-height:38px;color:#fff;text-transform:uppercase;font-size:13px;text-decoration:none;}
.book .preorder a {width:170px;}
.book .buy a:hover, .book .buy a:active {background:#2F880B;}

#sidebar .books {font-size:0;margin-left:-10px;}
#sidebar .books .book {display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:top;font-size:12px;width:50%;}
#sidebar .books .book .book-a {margin-left:10px;}

.content .book {margin:40px 0;}
.content .book:first-child {margin-top:0;}

#sidebar .latestposts {}
#sidebar .latestposts ul {margin:0 0 -20px -20px;padding:0;list-style:none;font-size:0;}
#sidebar .latestposts ul li {margin:0 0 20px 0;padding:0;display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:top;font-size:12px;width:100%;}
#sidebar .latestposts ul li .li-a {margin-left:20px;}
#sidebar .latestposts ul li a {display:block;}
#sidebar .latestposts ul li .gridimage {display:block;margin-bottom:5px;}
#sidebar .latestposts ul li .gridimage img {display:block;}
#sidebar .latestposts ul li .gridtitle {display:block;}

#footer {background:#f5f5f5;font-size:20px;padding:40px 0 30px 0;color:#333;line-height:1.2;}
#footer a {color:inherit;font-weight:inherit;}
#footer a:hover, #footer a:active {color:#1D7705;}

#footer ul {margin:0 0 0 -25px;padding:0;list-style:none;font-size:0;}
#footer ul li {margin:0 0 0 25px;padding:0;list-style:none;font-size:16px;display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:top;line-height:2;}

#footer p {margin-bottom:10px;}

.mobilead {display:none;margin-left:auto;margin-right:auto;}
.desktopad {margin-left:auto;margin-right:auto;}

/*amazon fix */
body>iframe, body>img {position:absolute;}

#body .gform_wrapper {margin:0;max-width:100%;}
#body .gform_wrapper .gform_body {width:300px;max-width:100%;}
#body .gform_wrapper input[type=text], #body .gform_wrapper input[type=url], #body .gform_wrapper input[type=email], #body .gform_wrapper input[type=tel], #body .gform_wrapper input[type=number], #body .gform_wrapper input[type=password], #body .gform_wrapper textarea, #body .gform_wrapper select {border:1px solid #eee;background:#f5f5f5;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:12px 10px 11px 10px;width:300px !important;max-width:100% !important;-moz-border-radius:0;border-radius:0;text-indent:0;}
#body .gform_wrapper input.small {width:150px !important;}
#body .gform_wrapper input[type="file"] {width:100%;}
#body .gform_wrapper select {padding:11px 10px 10px 10px;margin-left:0;}
#body .gform_wrapper select option {padding:0;}
#body .gform_wrapper textarea {height:150px;display:block;width:100% !important;}
#body .gform_wrapper textarea.large {height:300px;}
#body .gform_wrapper .gform_heading {width:100%;}
#body .gform_wrapper .gfield_label {margin:0 0 3px 0;font-weight:inherit;line-height:inherit;text-transform:lowercase;font-size:20px;line-height:20px;display:inline-block;}
#body .gform_wrapper .ginput_container {margin:0;max-width:100%;}
#body .gform_wrapper li.gfield {margin:0 0 20px 0 !important;border:none;background:none;width:100%;padding:0;}

#body .gform_wrapper ul li {padding-left:0;}
#body .gform_wrapper ul li:before {display:none;}

#body .gform_wrapper .description, #body .gform_wrapper .gfield_description, #body .gform_wrapper .gsection_description {line-height:inherit;padding:0 !important;width:100%;margin:5px 0 0 0;max-width:100%;font-weight:inherit;}

#body .gform_wrapper .gform_fileupload_multifile {overflow:hidden;}

#body .gform_wrapper ul.gfield_radio li input[type="radio"]:checked+label, #body .gform_wrapper ul.gfield_checkbox li input[type="checkbox"]:checked+label {font-weight:inherit;}

#body .gform_wrapper .ginput_complex .ginput_left, #body .gform_wrapper .ginput_complex .ginput_right {width:49%;}
#body .gform_wrapper .ginput_complex .ginput_left, #body .gform_wrapper .ginput_complex .ginput_right, #body .gform_wrapper .ginput_complex .ginput_full {min-height:0;}
#body .gform_wrapper .ginput_complex .ginput_right {margin-left:2%;}

#body .gform_wrapper .ginput_complex label {letter-spacing:0;white-space:normal;margin:5px 0 10px 0;}

#body .gform_wrapper .ginput_complex.ginput_container span.name_first, #body .gform_wrapper .ginput_complex.ginput_container span.name_last {width:49%;margin:0;min-height:0;}
#body .gform_wrapper .ginput_complex.ginput_container.has_first_name.has_last_name {font-size:0;}
#body .gform_wrapper .ginput_complex.ginput_container.has_first_name.has_last_name span {font-size:12px;}
#body .gform_wrapper .ginput_complex.ginput_container.has_first_name.has_last_name span.name_first {margin-right:2%;}

#body .gform_wrapper span.gform_description {font-weight:inherit;}
#body .gform_wrapper .gsection {padding:0;border:none;margin:0;}

#body .gform_wrapper .validation_message {font-weight:inherit;}
#body .gform_wrapper div.validation_error {font-size:14px;font-weight:bold;border:none;padding:0;width:100%;text-align:left;}
#body .gform_wrapper ol.validation_list {width:100%;}
#body .gform_wrapper ol.validation_list li a {color:inherit;}
#body .gform_wrapper ul li.gfield_html {max-width:100%;}
#body .gform_wrapper ul li.gfield.gfield_html img {max-width:100% !important;}
#body .gform_wrapper .gform_footer {padding:0;margin:0;}
#body .gform_wrapper ul.gfield_checkbox li, #body .gform_wrapper ul.gfield_radio li {margin-bottom:3px;line-height:inherit;}
#body .gform_wrapper .gfield_checkbox li label, #body .gform_wrapper .gfield_radio li label {line-height:inherit;}

#body .gform_wrapper.gf_browser_ie .gfield_checkbox li input[type=checkbox], #body .gform_wrapper.gf_browser_ie .gfield_radio li input[type=radio], .gform_wrapper.gf_browser_ie .gfield_checkbox li input { margin-top: 5px; }

#body .gform_wrapper .ginput_complex label, #body .gform_wrapper .description, #body .gform_wrapper .gfield_description, #body .gform_wrapper .gsection_description {font-size:12px;}

#body .gform_wrapper .gfield_required,
#body .gform_wrapper .gfield_error .gfield_label,
#body .gform_wrapper div.validation_error,
#body .gform_wrapper ol.validation_list,
#body .gform_wrapper .validation_message,
#body .gform_wrapper .gf_submission_limit_message,
#body .gform_wrapper li.gfield_error div.ginput_complex.ginput_container label, 
#body .gform_wrapper li.gfield_error ul.gfield_checkbox, 
#body .gform_wrapper li.gfield_error ul.gfield_radio {color:#f00;}

#body .gform_wrapper li.gfield_error input[type="text"],
#body .gform_wrapper li.gfield_error input[type="url"],
#body .gform_wrapper li.gfield_error input[type="email"],
#body .gform_wrapper li.gfield_error input[type="tel"], 
#body .gform_wrapper li.gfield_error input[type="number"], 
#body .gform_wrapper li.gfield_error input[type="password"], 
#body .gform_wrapper li.gfield_error textarea,
#body .gform_wrapper li.gfield_error select {border-color:#f00;}

#body .gform_wrapper, #body .gform_wrapper .gform_heading, #body .gform_wrapper .gf_submission_limitmessage, #body .gform_wrapper div.validation_error, #body .gform_wrapper div#error {margin-bottom:1.6em;}
#body .gform_wrapper {margin:0;}

#body .gform_wrapper.gf_browser_chrome .ginput_complex select, #body .gform_wrapper.gf_browser_chrome .ginput_complex .ginput_right select {text-indent:inherit;line-height:inherit;margin-bottom:0;}

#body .gform_wrapper .gform_footer {width:100%;max-width:100%;padding-top:5px;}
#body .gform_wrapper .gform_button {background:#333;border:none;font-size:13px;color:#fff;padding:0 12px;-moz-border-radius:0;border-radius:0;overflow:visible;width:auto;cursor:pointer;-webkit-appearance:none;height:40px;text-transform:uppercase;font-weight:bold;}
#body .gform_wrapper .gform_button:hover {background:#333;}
#body .gform_wrapper .gform_button::-moz-focus-inner {padding:0;border:none;margin:0;}

.buy-popup ul {margin:0;padding:0 40px;list-style:none;}
.buy-popup ul li {margin:15px 0;padding:0;text-align:center;}
.buy-popup ul li a {display:block;}
.buy-popup ul li a img {vertical-align:bottom;}

.gsc-control-cse {margin:0 0 1.6em 0 !important;padding:0 !important;}
.gsc-control-cse div.gs-title {height:auto;text-decoration:none;}
.gsc-control-cse div.gs-title * {text-decoration:none;}

/* old post fixes */

.content div[align="center"] {margin-bottom:1.6em;}
.content .multiimages {display:block;text-align:center;font-size:0;margin-left:-10px;}
.content .multiimages .mi {display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:top;max-width:50%;font-size:14px;margin-bottom:10px;}
.content .multiimages .mi img {margin-bottom:0;}
.content .multiimages .mi .mi-a {margin-left:10px;display:block;}
.content .multiimages br {display:none;}

	#social ul {top:20px;right:30px;width:300px;}
	#social ul li.flickr a {background:#F5F5F5;}
	#social ul li.flickr a:hover, #social ul li.flickr a:active {background:#F0F0F0;}	

#sidebar {padding-top:70px;}
@media screen and (max-width:1023px) {
	
	#menu ul {margin-left:-15px;}
	#menu ul li {margin-left:5px;}
	#menu ul li a {padding-left:10px;padding-right:10px;}
	
	#social ul {right:10px;}
	
	.container {max-width:960px;}
	
	#header .search {right:10px;width:280px;}
		
	#main {margin-right:-320px;}
	#main-a {margin-right:320px;}
	#sidebar {padding-left:0;padding-right:0;}

	.post .title {font-size:32px;line-height:32px;}

	#footer {padding:20px 0 10px 0;}
}

@media screen and (max-width:1023px) and (min-width:768px), screen and (max-width:660px) {
	.postgrid {width:598px;}
	.postgrid ul {margin-left:-20px !important;margin-bottom:-20px !important;}
	.postgrid ul li {margin-bottom:20px !important;}
	.postgrid ul li .li-a {margin-left:20px;}
}

@media screen and (max-width:1023px) and (min-width:768px), screen and (max-width:660px) and (min-width:480px) {
	.excerpt .image-holder {width:31.25%;padding-bottom:46.875%;}
	.excerpt .excerpt-a {padding-left:31.25%;}
	.excerpt .excerpt-b {padding-left:20px;}
	.excerpt .featimage {width:31.25%;}
}

@media screen and (max-width:767px) {
	.container {max-width:640px;}
	
	#header {padding:20px 0 14px 0;}
	
	#logo {margin:0 auto;}
	
	#header .search {top:82px;}
	
	#social {margin-bottom:20px;}
	#social ul {width:300px;position:static;top:auto;right:auto;margin:0 auto;}

	#togglemenu {display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:top;line-height:38px;margin-left:-10px;}
	#togglemenu a {display:block;font-size:20px;text-transform:lowercase;font-weight:inherit;color:#333;text-decoration:none;padding:4px 10px 0 29px;position:relative;line-height:34px;}
	#togglemenu a:before {content:"";display:block;background-position: -22px -67px;position:absolute;top:50%;margin-top:-3px;left:10px;width:9px;height:7px;}
	body.menuopen #togglemenu a {color:#46A513;}
	body.menuopen #togglemenu a:before {background-position: -22px -60px;}

	#menubar {background:none;}
	#menu {display:none;}
	body.menuopen #menu {display:block;}
	
	#menu {border-bottom:1px solid #f1f1f1;padding-bottom:15px;}
	#menu ul {margin:0 -10px;}
	#menu ul li {display:block;margin-left:0;line-height:44px;}
	#menu ul li a {line-height:39px;display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:top;}
	#menu ul li.current-menu-item a {color:inherit;}	
	#menu ul li a:hover, #menu ul li a:active {background:none;color:#1D7705;}
	
	#main {float:none;display:block;margin-right:0;}
	#main-a {margin-right:0;}
	#sidebar {float:none;display:block;margin:0 auto;padding-top:0;}
		
	#sidebar .sidecolumns .sidecolumn1, #sidebar .sidecolumns .sidecolumn2 {float:none;display:block;width:auto;}
	#sidebar .latestposts ul li {width:50%;}
	
	.mobilead {display:block;}
	.mobilead-inpost {margin-bottom:1.6em;}
	.mobilead-afterpost {border-top:1px solid #f5f5f5;padding-top:40px;margin-bottom:40px;margin-top:40px;}
	
	.desktopad {display:none;}
}

@media screen and (max-width:479px) {
	#header .search {width:200px;}
	
	.excerpt .image-holder {display:none;}
	.excerpt .excerpt-a {padding-left:0;}
	.excerpt .excerpt-b {padding-left:0;}
	.excerpt .featimage {position:static;top:auto;left:auto;width:auto;text-align:center;margin-bottom:1.6em;}	
	.excerpt .featimage img {width:100%;}
	
	#footer ul {margin-left:0;}
	#footer ul li {display:block;margin-left:0;}
	
	.post .title {font-size:28px;line-height:28px;}
}

@media screen and (max-width:412px) {
	.postgrid {width:392px;}
	.postgrid ul li {width:50%;}
	.postgrid.relatedposts .relpost3 {display:none;}
}

@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (min-resolution: 192dpi) {
	.search form input[type="submit"],
	#social ul li a:after,
	#togglemenu a:before {
		background-image:url(images/sprite-new@2x.png);
	}
	#logo a {text-indent:-9999px;display:block;background:url(images/logo@2x.png) top left no-repeat;background-size:100%;}
}