/*
Theme Name:     Dan John
Theme URI:      http://www.copterlabs.com/
Description:    Custom WordPress theme for Dan John 
Author:         Copter Labs
Author URI:     http://www.copterlabs.com/
Template:       rotorwash
Version:        1.0
*/

/* Reset Styles */
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; }

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle; }

q, blockquote {
  quotes:!important }
  q, blockquote {
	  display: block;
	padding: 10px;  
	margin-left: 60px !important;
	margin-bottom: 20px;
	font-style: italic;
  }

a img {
  border: none; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block; }


/* Media Queries */
/* ------1. 2 Column Grid 0px - 959px ------ */
@media screen and (min-width: 0px) and (max-width: 839px) {
  header, #rw-content-wrapper, footer {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -moz-background-clip: padding-box !important;
    -webkit-background-clip: padding-box !important;
    background-clip: padding-box !important;
    width: 650px;
    margin: 0 auto;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2); }
	 }
/* end media query */
/* ------2. 1 Column Grid 960px - Infinity ------ */
@media screen and (min-width: 960px) {
  header, #rw-content-wrapper, footer {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -moz-background-clip: padding-box !important;
    -webkit-background-clip: padding-box !important;
    background-clip: padding-box !important;
    width: 960px;
    margin: 0 auto;
	 } 
	 #rw-content-wrapper, header, #footer-background {
		 min-width: 960px;
		 
  
	 }
	 }
/* end media query */
/* -- Default Styles -- */ 
a, a:link {
  color: #1d2239;
  text-decoration: underline; } 

a:hover {
  text-decoration: underline; }

em {
  font-style: italic; }

strong {
  font-weight: 700; }

p {
  margin: 3% 0; }

.clear {
  clear: both;
  display: block; }

.shadow {
  -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5); }
.alignleft {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;	
}
.alignright {
	float: right;
	margin-left: 10px;
	margin-bottom: 10px;	
}
.aligncenter{
	display:block;
	margin-left:auto;
	margin-right:auto
	}

h1 {
	font-size: 20px;
	line-height: 32px;
	text-transform: uppercase;	
}

h2 {
	font-size: 20px;
	line-height: 26px;
	text-transform: uppercase;
}
h3 {
	font-size: 16px;	
	line-height: 18px;
	text-transform: uppercase;
}
h4 {
	font-size: 13px;
	font-weight: 700;	
}

.top {
display: block;
padding-bottom: 10px;
}
.home .top {
display: none;
}
/* Layout */

body {
  background: url("media/images/background.png") repeat center center fixed #eeeeee;
  font-size: 13px;
  margin: 0px 0;
  }
#header-background {
	background-color: #1d2239;
	 height: 42px;
	 text-align: center;
}
header {
  margin: 0 auto;
  position: relative;
  height: 42px;
  padding: 0 0px;
  clear: both;
  width: 960px;
   z-index: 100;
   }
  header .skip-to-content {
    display: none; }
#logo {
position: absolute;
top: 10px;
left: 10px;	
}


#rw-content-wrapper {
  position: relative;
  z-index: 100;
  padding: 0 0 0 10px;
  width: 960px;
  margin: 78px auto 0 auto;
   }

/* Top Navigation */

nav {
  text-align: right;
  position: absolute;
  top: 10px;
  right: 2px; 
  z-index: 99999;}
  nav ul li {
	float: left;
	position: relative;
 	}
  nav ul li a, nav ul li a:link {
    	font-size: 14px;
		line-height: 20px;
      color: #ffffff;
      text-transform: uppercase;
      padding: 0 8px 14px 8px;
      margin: 0px !important;
text-decoration: none}
     nav ul li a:hover, nav ul li.current-menu-item a, nav ul li.current-menu-item a:link  {
      color: #e1b710;
	  background: url("media/images/arrow.png") no-repeat bottom center;
      text-decoration: none; }
  nav ul li:last-child {
    border: 0px none; }
nav ul li.hover,
nav ul li:hover {
}
nav ul li.hover a,
nav ul li.hover a {
  color: #e1b710; }

nav ul ul {
  width: auto;
  visibility: hidden;
  position: absolute;
  top: 31px;
  left: 10px;
  list-style: none;
  text-align: left;
  z-index: 999999 !important;
  background-color: #e1b710;
  background-repeat: repeat; }

  nav ul ul li {
    display: block;
    z-index: 999999 !important;
    text-align: left;
	float: left;
    margin: 0px 0px 0 0px ;
    height:auto;
	width: auto;
    background-image: none !important;
    background-repeat: no-repeat !important; }
    nav ul ul li a, nav ul ul li a:link {
      padding: 5px 8px;
      color: #1d2239 !important;
      font-size: 12px;
      display: block;
      text-decoration: none ;
      border: 0px none;
	  width: auto !important;}
    nav ul ul li a:hover {
      background-color: transparent;
      text-decoration: none !important;
      color: #ffffff !important;
      border: 0px none; }
    nav ul ul li li:last-child {
      border-bottom: 0px none !important; }

nav ul ul li a,
nav ul li.hover ul li a {
  border-right: none;
  z-index: 9999999; }

nav ul ul li.hover a:hover,
nav ul li.hover ul li.hover a:hover {
  text-decoration: none; }

nav ul ul ul li a,
nav ul li.hover ul li.hover ul li a {
  z-index: 9999999; }

nav ul ul ul {
  left: 99%;
  top: -8px;
  display: none; }

nav ul li:hover > ul {
  visibility: visible; }

/* ===[ End Nav Primary ]=== */



/* Pagination  */
.wp-pagenavi {
clear: both;
margin-bottom: 20px;
text-align: center;	
}
.wp-pagenavi a, .wp-pagenavi span {
	padding: 3px; 
	margin-right: 0px;
	font-size: 16px; 
	color: #212020; 
	text-decoration: none;
	 -moz-border-radius: 0px; 
	 -webkit-border-radius: 0px; 
	 border-radius: 0px;
	}
.wp-pagenavi a:hover {
	background-color: #7e7d7c;
}

 .wp-pagenavi span.current {
	background: #212020;
	color: #fff;
	}

.wp-pagenavi .previouspostslink {

}
.wp-pagenavi .previouspostslink span {
	background: #212020;
	color: #cccccc;
}
.wp-pagenavi .nextpostslink {

}
.wp-pagenavi .nextpostslink span {
	background: #212020;
	color: #cccccc;
}
.pagination {
padding-bottom: 20px;
width: 700px;
position: relative;
left: 0px;
display: none;
}


/* Articles + Posts */
.article-content {
float: left;
z-index: 200;

}
article {	

	float: left;	
	width: 648px;
 clear: left;
 font-size: 16px;
  line-height: 22px;
  padding: 0px 38px 20px 0;
  margin: 10px 0;
  z-index: 201;
  font-style: normal;
}

article ul {
		margin-left: 40px;	
	}
article ol {
	list-style-type: decimal;
	margin-left: 40px;	
}
article .top-reads ul {
	margin-left: 0px;
	margin-top: 40px;
}
  article li {
	width: 100%;  
	margin-bottom: 10px;
  }
  article ul.archive {
		list-style-type: none; 
		margin-top: 0px !important;
		margin-bottom: 20px;
		padding-top: 0px; 
  }
  article ul.archive li {
		margin: 0px;
		padding: 0px;  
  }

  article .body, #products .body {
    clear: both; }
	
 .moretag {
display: block;
margin: 15px 0;	
width: 150px;
background-image: url(/wp-content/themes/danjohn/media/images/read-more.png);
background-repeat: no-repeat;
}

.post {
  margin-bottom: 15px;
  margin-top: 15px; }


.post h3 {
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 0px;
  padding: 0px;
  font-weight: 700; }

.post .date {
	
	font-style: italic;
	color: #959595;
	font-size: 16px; 
	margin-bottom: 15px;
}
.post .image {
	float: left;
	margin-right: 10px;
}
.post .more {
	
	font-style: italic;
	font-size: 12px;
	float: right; 
}
.post .comments {

	font-size: 14px;
	float: left;
}
.post-meta {
	clear: both;	
	width: 500px;
	margin: 0 0 20px 0;
	padding: 0;
	display: none;
}
.post-meta li{
    display: inline-block;
  	margin: 0;
	padding: 0 20px 0 0;
  	list-style-type: none;
    font-size: 12px; 
	font-style: normal;
}


.wp-caption{
	-moz-border-radius:5px 5px 5px 5px;
	border:solid #B2B2B2;
	padding:4px 0;
	text-align:center
	}
.wp-caption{
	background-color:#f3f3f3;
	border:1px solid #ddd;
	-khtml-border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	margin:10px;
	padding-top:4px;
	text-align:center
	}

.wp-caption img{
	border:0 none;
	margin:0;
	padding:0
	}
.wp-caption p.wp-caption-text{
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px
	}

/* Aside */
 aside {
	display: block;	
	float: left;
	color: #fff;
	 z-index: 100;
	 margin-top: 0px;
}


 .widget-container {
	margin-bottom: 45px;
	margin-top: 0px;	
	background-color: #c9c9c9;
	color: #232222;
	padding: 18px;	
	width: 194px;
	border: 14px solid #b0afaf;
	border-top: 0px none;
	text-align: left;
	font-style: normal !important;	
	opacity:1.0;
	position: relative;
	filter:alpha(opacity=100); /* For IE8 and earlier */
}
	
  .widget-container h3 {
	 text-align: center;
	 color: #fff;
	 background-color: #1d2239;
	 border-top: 7px solid #1d2239;
	 border-left: 14px solid #1d2239;
	  border-bottom: 7px solid #1d2239;
	 border-right: 14px solid #1d2239;
	 width: 230px;
	 margin: 0  auto;
	 font-size: 16px;
	 position: absolute;
	 top: -28px;
	 left: -14px;
	 text-transform: uppercase;
	 font-style: normal !important;
}
.widget-container  ul li {
	margin : 10px 0;
	text-transform: uppercase;
	line-height: 18px;
}

.widget-container ul.no-link {
		list-style-type: disc;
		margin-left: 20px;	
		
}

.widget-container.intervention {
	border-top: 14px solid #b0afaf;
}
 .widget-container.intervention h3 {
	 text-align: left;
	 color: #232222;
	 background-color: transparent;
	 border-top: 0px none;
	 border-left: 0px none;
	 border-bottom: 0px none;
	 border-right: 0px none;
	 margin: 0  auto;
	 font-size: 16px;
	 position: relative;
	 top: 0;
	 left: 0;
	 width: 197px;
	 padding-bottom: 6px;
	 text-transform: uppercase;
	 font-style: normal !important;
}
.widget-container.intervention ul li {
	margin : 3px 0;
}
.intervention-image {
	text-align: center;	
}
.widget-container  ul.no-link li  {
	margin: 0px 0;
	text-transform:none;
}
/* Home */
.home #header-background {
	height: 286px;	
}
.home #logo {
 position: absolute;
top: 24px !important;
left: 10px;	
}
.home header {
	height: 286px;
	width: 960px;	
}
.home nav {
  position: relative;
  top: 23px;
  left: 135px;
  text-align: center;	
}
  .home nav ul li a, .home nav ul li a:link {
    	font-size: 18px;
  }
 .home #rw-content-wrapper {
	margin-top: 22px;
	margin-bottom:0px; 
 }
.home article {
	width: 393px;
        height: 540px;
	background-color: #c9c9c9;
	color: #232222;
	border: 14px solid #b0afaf;
	margin: 0 19px 0 0;
	padding: 20px;
	font-size: 16px;
	line-height: 17px;
}
.home article h2.page-title {
	margin-bottom: 20px;
}
.home article .home-content {
	height: 320px;
	overflow: hidden;
	border: 1px solid #ccc;
}
.home article .home-content img {
display: none;
}
.home article .moretag {
	line-height: 24px;	
}
.home-sidebar {
	width: 220px;
	float: left;
	margin-right: 19px;
	
	
}
.home-sidebar .widget-container {
	margin-bottom: 24px;
	margin-top: 0px;	
	background-color: #c9c9c9;
	color: #232222;
	padding: 0px 0 0px 0;	
	width: 220px;
	border: 0px none;
	text-align: center;
	font-style: normal !important;
	overflow: hidden;	
	opacity:1.0;
	position: relative;
	filter:alpha(opacity=100); /* For IE8 and earlier */
}
.home-sidebar  .widget-container:first-child {
	padding: 0px 0 15px 0;
}
.home-sidebar .widget-container h3 {
	 text-align: center;
	 color: #fff;
	 background-color: #1d2239;
	 border-top: 0px none #1d2239;
	 border-left: 0px none #1d2239;
	  border-bottom: 0px none #1d2239;
	 border-right: 0px none #1d2239;
	 width: 220px;
	 margin: 0  auto;
	 font-size: 16px;
	 position: relative;
	 top: 0;
	 left: 0;
	 padding: 5px 0;
	 text-transform: uppercase;
	 font-style: normal !important;
}
.home-sidebar ul {
	list-style-type: none !important;
	margin: 0;
	padding: 0;	
}
.home-sidebar ul li {
	margin: 0;
	padding: 0;
	list-style-type: none !important;
	text-align: center;
}
.home aside {
width: 230px;
float: right;
padding: 0;
overflow: hidden;	

}

.home .widget-container.intervention  {
padding: 10px 0px 10px 10px;
margin: 0;
}
.home .intervention-image {
text-align: left;	
padding-left: 5px;
}

/* Category page */

.category article, .search article {
	background-color: #c9c9c9;
	color: #232222;
	padding: 18px;	
	width: 605px;
	margin-right: 20px;
	border: 14px solid #b0afaf;
	opacity:1.0;
	filter:alpha(opacity=100);
}
.category article .post-meta, .search article .post-meta {
	display: none;	
}

.category #rw-content-wrapper aside {
margin-top: -26px;
}

/* Facebook Widget */
 
#likebox-frame {
border:2px solid #383838;
left:-2px;
overflow:hidden;
position:relative;
top:-2px;
width:212px;
z-index:10;
height: 284px;
}
#likebox-frame iframe {
left:-5px;
overflow:hidden;
position:relative;
top:-1px;
}

/* Twitter Widget */

.twtr-hd, .twtr-ft {
	display: none !important;	
}
.twtr-tweet-text  {
	font-size: 16px;
	line-height: 22px !important;
	font-family:'TradeGothicW01-BoldCn20 675337' !important;
	border: 0px none;
	margin-bottom: 10px;	
}
.twtr-widget, .twtr-widget-profile {
padding: 0 !important;
margin: 0 0 50px 0 !important;
overflow: hidden;
height: 300px !important;

}

.twtr-widget .twtr-tweets {
	overflow: hidden;
}
.twtr-widget .twtr-tweet {
	border-bottom: 0px none !important;	
}
a.twitter-button, a.twitter-button:link {
background-image: url('media/images/twitter-button.gif');
background-repeat: no-repeat;
background-position: 0px 2px;
text-indent: 38px; 
font-size: 16px;
	margin-left: 10px;
	margin-top: 10px;
	line-height: 40px;
	display: block;
	font-weight: 700px;
	width: 100px;
	position: absolute;
	bottom:10px;
	right: 10px;
	
}

/* Footer */
#footer-background {
background-color: #d0d0cc;	
opacity:0.90;
	padding: 0 10px;
	filter:alpha(opacity=90);
	text-align: center;
	
}
footer {
	clear: both;
  padding: 20px 0;
  color: #383636;
  font-weight: 400;
  font-size: 12px;
  height: 65px; 
  text-align: center;
  width: 960px;}
  footer a {
    margin-right: 10px;
	color: #383636;
	text-decoration: underline; }
#site-credits {
float: left;
line-height: 35px;
font-size: 14px;
margin-left: 10px;
text-transform: uppercase;
	
}
 #social-media {
  text-align: right;
  float: right;
}
 /* Form Styles */

form {
	background-color: #9d9c9c;
	padding: 15px;
	margin-top: 20px;	
}
form label{
	display:block;
	font-size: 18px;
	text-align:left;
	width:140px;
	margin-right: 10px;
	color: #fff;
}
form .small{
	color:#666666;
	display:block;
	font-size:11px;
	font-weight:normal;
	text-align:right;
	width:140px;
}
form p {
	clear: both;	
}
form input, form textarea, form select {
	font-size:16px !important;
	padding:8px 3px;
	border:solid 1px #7b7a7a;
	background-color: #7b7a7a;
	margin:2px 0 0px 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px; 
	color: #fff;
	width: 400px;
}
form textarea {
	width: 590px;	
}
form button, form .button{
	clear:both !important;
	width:90px;
	height:36px;
	background:#7b7a7a  no-repeat;
	text-align:center;
	line-height:31px;
	color:#FFFFFF;
	font-size:11px;
	font-weight: 400 !important;
	border-radius: 0px;
}
.gform_body, .gform_body ul, .ginput_container {
	margin: 0;
	padding: 0;
}
.gform_description {
margin-bottom: 20px;
display: block;	
}

aside #searchform {
margin: 12px 0;
padding: 0;
background-color: transparent;
}

article #searchform {
padding-bottom: 50px;	
}
#searchform input {
	 background-color: #adacac;
	 border: 1px solid #666666;
	 border-right: 0px none;
	 float: left;
	 margin: 0;
	 width: 160px;
	 height: 22px;
	 padding: 3px;
	 color: #232222;
	 font-size: 14px !important;
}

#searchform input#button-submit, #searchform input#searchsubmit {
	 background: url("/wp-content/themes/danjohn/media/images/search.png") no-repeat scroll center center #adacac;
   width: 20px; 
   height: 30px;
  cursor: pointer;
  font-weight: bold;
  padding-bottom: 2px;
  border-right: 1px solid #666666;
	 border-left: 0px none;
	 text-indent: 50px;
}

