/*
Theme Name:     David Zweig
Description:    
Author:         alexwinfield
Template:       twentytwelve-test

(optional values you can add: Theme URI, Author URI, Version)
*/

@import url("../twentytwelve-test/style.css");

div.entry-content {
	min-height:300px;
}

#masthead2 {
    min-height: 60px;
    margin-top: 0;
    max-width: 100%;
    padding-bottom: 0;
    position: relative;
}

.home #masthead {
    background: url("images/benchbackground.jpg") no-repeat fixed 0 47px transparent;
    height: 315px;
    margin-top: 0;
    max-width: 100%;
    padding-bottom: 0;
    position: relative;
}

.home #masthead:hover {
    background: url("https://davidzweig.com/wp-content/uploads/2014/02/davidhighlighted.jpg") no-repeat fixed 0 47px transparent;
    -webkit-transition: all 0.24 ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

#invisiblesbox {
     margin-right: 10px;
     width: 820px;
     height: 234px;
     background: transparent;
     z-index:999;
     color: rgb(255, 238, 0);
     left:32%;
     top:58px;
     position:absolute;
     text-shadow: 2px 2px 1px rgba(0, 0, 0, 1);
}

@media screen and (max-width: 1260px) {

#invisiblesbox {
     right: 20px;
     left: auto;
}
}

#invisiblesbox img {
     padding-left: 0px;
     padding-top:12px;
}

#bookbox {
     float: right;
     width: 120px;
} 

#quotesbox {
     width: 640px;
     float: left;
     padding: 106px 0px 30px 30px;
     text-align:right;
}

#quotesbox ul {
    position:relative;
}

#quotesbox li {
     display:none;
     top:0;
     right:0;
     list-style:none;
}

#quotesbox li.active {
     display:block;
}

#quotesbox span#quote {
     display:block;
     font-style:italic;     
     font-size:164%;
     letter-spacing:2px;
     font-weight:bold;
}

#quotesbox span#quoteauthor {
     display: block;
     text-align:right;
     font-weight:bold;
     margin-top:6px;
     font-size: 80%;
     letter-spacing:1px;
}

#quotesbox a {
     color: rgb(255, 238, 0);
     text-decoration:none;
}


#quotesbox a {
     color: rgb(255, 238, 0);
     text-decoration:none;
}

.main-navigation {
    margin-top: 6.71429rem;
    text-align: center;
    background: #000;
}

.main-navigation a {
	color: #21759B;
    font-weight: bold;
	
}

.david-main-navigation {
	display:none;
}
/* =Media queries
-------------------------------------------------------------- */

/* Minimum width of 600 pixels. */
@media screen and (min-width: 600px) {
.david-main-navigation {
	display:inline-block !important;
}

.main-navigation {
	display:none;
}	
	
#page {
    max-width: 100%;
    margin: auto;
}

body {
	font-size: 14px;
	font-size: 1rem;
	font-family: Helvetica, Arial, sans-serif;
	text-rendering: optimizeLegibility;
	color: #000;
}
/*body.custom-font-enabled {
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
*/
body.custom-font-enabled {
	font-family: georgia,"times new roman",times,serif;
}

body .site {
    box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
    margin-bottom: 3.42857rem;
    margin-top: 0;
    padding: 0;
}

.site {
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
}

a:hover, a:active, a:focus, a:active{
outline: none;
-moz-outline-style: none;
}
 
 -moz-focus-inner {
   border: 0;
 }
 
 h1 {
 	font-size: 1.5rem;
 }
 
 h2 {
 	font-family: "BenchNine";
 	font-size: 1.57143rem;
 	line-height: 2.6;
 	text-transform: uppercase;
 }
 
 .entry-content h2, .comment-content h2, .mu_register h2 {
     font-size: 1.57143rem;
     line-height: 1.6;
 }


.site-header {
    padding: 0;
}

.david-main-navigation {
    margin-top: 0;
    background-color: #000;
    text-align: center;
    height: 55px;
    box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
    position: fixed !important;
    width: 100%;
    z-index: 100000;
    
}

.nav-menu  {
	text-align: center;
}

.david-main-navigation li a {
    text-decoration: none;
    color: #fff;
    font-family: "BenchNine";
    font-size: 1.42857142857143rem;
    line-height: 1.39231;
    text-transform: uppercase;
    white-space: nowrap;
}

.david-main-navigation ul.nav-menu , .david-main-navigation div.nav-menu  > ul {
    border-bottom: 0px solid #EDEDED;
    display: inline-block !important;
    text-align: center;
    width: 100%;
}

.david-main-navigation li {
	display: inline-block !important;
	margin: 0 2.45714rem 0 0;
}

.david-main-navigation a:hover {
	color: #21759B !important;
}
/*#wrapper {
	padding: 0 2.85714rem;
}*/

.wrapper {
	max-width: 68.5714rem;
	font-weight: normal;
	font-style: normal;
}

.site-content {
    margin: 1.71429rem 1.71429rem 0;
}

.widget-area {
    margin: 1.71429rem 1.71429rem 0 0;
}

.site-header h1, .site-header h2 {
    text-align: left;
    color: white;
}

.site-header h1 a, .site-header h2 a {
    color: white;
    font-weight: bold;
    font-family: "BenchNine";
    text-transform: uppercase;
    margin-left: 48px;
    margin-top: 47px;
}

.site-header h1 {
    font-size: 3.42857142857143rem;
    line-height: 1.84615;
    margin-bottom: 0;
    display: none;
}

#main {
	max-width:  68.5714rem;
	margin: auto;
}


footer.entry-meta {
	display: none;
}

.header-image {
    margin-top: 3.31429rem;
    position: fixed;
}

.imgdiv {
    height: 252px;
    position: relative;
}

.entry-header .entry-title {
    font-family: "BenchNine";
    font-size: 1.57143rem;
    line-height: 2.6;
    text-transform: uppercase;
}

.entry-header .entry-title a {
	color: #000;
}

.entry-header .entry-title a:hover {
	text-decoration: none;
	color: #21759B;
}


div.sharedaddy div.sd-block {
    border-top: 0px solid rgba(0, 0, 0, 0.13) !important;
    margin: 0;
    padding: 10px 0 5px;
    width: 100% !important;
}

a.anchor{display: block; position: relative; top: -100px; visibility: hidden;}

h2 a {
	text-decoration:  none;
}

.mags a {
	text-decoration: none;
}

.page .entry-header {
	display: none;
}

.latest-twitter-tweet {
    font-style: normal !important;
    margin-bottom: 15px;
    font-size: 0.928571rem;
    line-height: 1.84615;
}

.latest-twitter-tweet-time {
    color: #999999;
    font: 9pt/12pt arial;
    margin-bottom: 4px !important;
}

.navsitetitle {
	display: inline;
}

.david-main-navigation li img {
	position: relative;
	    top: 7px;
}

#current {
   font-weight: 900;
   color: #21759B;
}

.entry-content h1, .comment-content h1 {
    font-size: 1.5rem;
    line-height: 1.5;
}

html > body .ngg-album {
    border: 0 solid #CCCCCC;
    margin-bottom: 5px;
    overflow: hidden;
    padding: 5px;
}

.ngg-thumbnail img {
    background-color: #FFFFFF;
    border: 1px solid #A9A9A9;
    margin: 4px 0 4px 5px;
    padding: 2px;
    position: relative;
}

.ngg-gallery-thumbnail img {
    background-color: #FFFFFF;
    border: 1px solid #A9A9A9;
    display: block;
    margin: 4px 0 4px 5px;
    padding: 2px;
    position: relative;
}

.widget-area .widget h3 {
    color: #000000;
    margin-bottom: 1.71429rem;
}

#latest-twitter-follow-link {
    font: 7pt/15pt arial;
    letter-spacing: 1px;
    text-align: left !important;
    text-transform: uppercase;
}

/* =MailChimp Forms */

#1-a437054fb2-email {
	width: 300px !important;
}

.nm_mc_form label {
    display: block;
    font-weight: bold;
    line-height: 28px;
}

.entry-content li, .comment-content li, .mu_register li {
    margin: 0 0 0 0;
}
	
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

/* Minimum width of 960 pixels. */
@media screen and (min-width: 960px) {