/*
Theme Name: David Shields
Description: Custom Theme for davidshields.com
Author: 3 Crown Creative
Author URI: http://www.3crowncreative.com
Version: 2.0 September 2013
*/

/*  fonts
--------------------------------------------------*/
@font-face {
  font-family: 'fontello';
  src: url('webfonts/fontello.eot?35489921');
  src: url('webfonts/fontello.eot?35489921#iefix') format('embedded-opentype'),
       url('webfonts/fontello.woff?35489921') format('woff'),
       url('webfonts/fontello.ttf?35489921') format('truetype'),
       url('webfonts/fontello.svg?35489921#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../font/fontello.svg?35489921#fontello') format('svg');
  }
}
*/
 

/*  =Reset & HTML 5 settings  */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0;padding:0;}
table {border-collapse:collapse;border-spacing:0;}
fieldset,img { border:0;}
address,caption,cite,code,dfn,strong,th,var {font-style:normal;font-weight:normal;}
ol,ul {	list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6 {font-size:100%;	font-weight:normal;}
q:before,q:after {	content:'';}
abbr,acronym { border:0;}
article,aside,dialog,figure,figcaption,footer,header,hgroup,nav,section,small,details,summary {display:block; margin:0; padding:0}

audio,canvas,video {display: inline-block;*display: inline;*zoom: 1;}
audio:not([controls]) {display: none;height: 0;}
[hidden] {display: none;}
html {font-size: 1em;-webkit-text-size-adjust: 1em; -ms-text-size-adjust: 1em;}
html,button,input,select,textarea {font-family: 'Gentium Book Basic', serif;}


/*  Page Structure
--------------------------------------------------*/
html {}
body,html {font-size: 100%;letter-spacing:.07em;font-weight: normal;font-family: 'Gentium Book Basic', serif;color: #000;background:#fff;}
.wrapper {width:1000px; margin:0 auto; overflow:hidden }

section.fullWrap {width:100%}

#content { width: inherit; margin-top:10px;}
body.blog #content,
body.single-post #content,
body.error404 #content,
body.archive #content,
body.search #content,
body.single-attachment  #content
   {float:right; width:600px;padding:0 30px 0 30px;}
#primary { width:330px; float:left; margin-top:40px;}
header#site-header {width: inherit; background:#000; color:#fff; padding:0}


/*  tag styles
--------------------------------------------------*/
em,i {font-style:italic; }
strong,b {font-weight:700}
em strong, strong em {font-style:italic; font-weight:700}
img {border:0}
small {font-size:.8em}
#ie7 img { -ms-interpolation-mode: bicubic; }
a {text-decoration: none; color:#ce4a02}
a:hover,a:active {outline: 0;}
a:hover {color:#7d7c7c}
a:focus {outline: none}
a img {border:none; text-decoration:none}
a img:hover {-moz-opacity:0.5;-khtml-opacity: 0.5;opacity: 0.5;-ms-filter:"alpha(opacity=50)";filter:alpha(opacity=50);}

p,ul,ol,dd  {margin-bottom: 0.75em;}
hr {background-color:#ffffff; border:none; height:1px; margin:2em 0; padding:0;}

pre {background:#CCC; padding:5px;font:.95em monospace;white-space:normal;width: 500px;white-space: pre-wrap;white-space: -moz-pre-wrap !important; white-space: -pre-wrap;white-space: -o-pre-wrap;word-wrap: break-word;overflow-x: auto;width: 99%; }
blockquote:before, blockquote:after {content: "";}
blockquote {border-left:1px solid #DCDCDC;font-style:italic;margin:15px 0 0 1px;padding-left:20px;}
blockquote p {margin-bottom: .5em;}
code {font-family: consolas, 'andale mono', 'courier new', monospace;font-size: 1em;}
legend {border: none;}


/* Forms */
input[type=text],
input[type=password],
input[type=file],
textarea {
	background: #fafafa;border: 1px solid #ddd;color: #888;padding: 5px;
	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);}
input[type=text]:focus,
input[type=password]:focus,
input[type=file]:focus,
textarea:focus 
   {color: #373737; background-color:#fff;}
input[type=text]:hover,
input[type=password]:hover,
input[type=file]:hover,
textarea:hover 
   { background-color:#fff;}
input[type=submit] 
    {padding:.4em .5em; font-size:1em; margin-bottom:1em; background-color:#b2b2b2; color:#fffff6; border:none;
	 -moz-border-radius: 4px;-webkit-border-radius: 4px;border-radius: 4px;-khtml-border-radius:4px;}
input[type=submit]:hover { background-color:#ce4a02; color:#fffff6;
   -webkit-transition:background-color 1s linear;-moz-transition:background-color 1s linear;-o-transition:background-color 1s linear;transition:background-color 1s linear; text-decoration:none} 

/*  common classes
--------------------------------------------------*/
.smallCaps {text-transform:capitalize; font-variant:small-caps}
.left {float:left}
.right {float:right}
.shadow {box-shadow:0 4px 8px #333;-moz-box-shadow:0 4px 8px #333;-webkit-box-shadow:0 4px 8px #333;}
p.clear, span.clear, div.clear {clear:both; padding:0; margin:0; display:block}
.clearRight {clear:right;}
span.required {background:url(images/formRequired.gif) no-repeat right 4px; width:15px; height:15px; display: inline-block; text-indent:-2000px}



/*  clearfix */
.clearfix:after {visibility: hidden;display: block;font-size: 0;content: " ";clear: both;height: 0;}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */



/*  site header
--------------------------------------------------*/
h1#site-title  { margin:0; padding:0 30px 0 20px; float:left; font-size:1.313em; color:#fff; line-height:31px;letter-spacing:.06em;font-family:'Open Sans', sans-serif; font-weight:800; text-transform:uppercase }
/*body.home h1#site-title {visibility:hidden}*/


/* header social media */
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
     
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
#socialFollow .icon-rss:before { content: '\e803'; } /* '' */
#socialFollow .icon-twitter:before { content: '\e801'; } /* '' */
#socialFollow .icon-email:before { content: '\e800'; } /* '' */
#socialFollow .icon-facebook:before { content: '\e804'; } /* '' */
#socialFollow .icon-tumblr:before { content: '\e802'; } /* '' */

div#socialFollow  {padding:7px 40px 6px 0; float:right; }
div#socialFollow span  {display:block; float:left; padding-left:5px}
div#socialFollow span a { display:block; color:#000; background:#fff;-moz-border-radius: 3px;-webkit-border-radius: 3px;border-radius: 3px;-khtml-border-radius:3px; padding:2px 2px 0px 1px; font-size:13px}
div#socialFollow span a:hover {color:#CE4A02}

/*  navigation
--------------------------------------------------*/
/*  main navigation */

nav#top-menu { float:left; color: #fff; font-family:'Open Sans', sans-serif; font-weight:800}
nav#top-menu ul { padding: 0;list-style: none;line-height: 1;  margin:0}
nav#top-menu ul li {float:left;list-style:none;  margin:0; padding:7px 16px; letter-spacing:.06em; position:relative;text-align:left; display:block;  }
nav#top-menu ul li a {text-transform: uppercase; font-size:.938em;  color:#fff;}
nav#top-menu ul li a:hover,
nav#top-menu ul li.current_page_item a,
nav#top-menu ul li.current-page-ancestor a,
nav#top-menu ul li.current_page_item a,
nav#top-menu ul li.current-menu-item a,
nav#top-menu ul li.current_page_parent a
   { color:#ce4a02}

/*  Search Form
--------------------------------------------------*/
#search {width:300px; margin-bottom:1em;}
#search #searchform {width: 300px;}
#search #s {
	width: 72px; color:#ddd;background: url(images/search.png) no-repeat 5px 1px;height: 22px;line-height: 1.2em;padding: 0 10px 0 28px;
	-webkit-transition-duration: 400ms;-webkit-transition-property: width, background;-webkit-transition-timing-function: ease;
	-moz-transition-duration: 400ms;-moz-transition-property: width, background;-moz-transition-timing-function: ease;
	-o-transition-duration: 400ms;-o-transition-property: width, background;-o-transition-timing-function: ease;
	-moz-border-radius: 2px;border-radius: 2px;
}
#search #s:focus {background-color: #f9f9f9;width: 196px; color:#000;}
input#searchsubmit {display: none;}


/*  articles and pages
--------------------------------------------------*/
section.page-side-column {float:left; width:330px;}
article.page-main-column {float:left; width:595px;padding:0 30px 0 45px;}
body.page section.page-side-column { width:440px;}
body.page article.page-main-column {width:485px;}
body.page section.page-side-column img {max-width:440px; height:auto}
h1.page-title  {margin:0; padding:0 0 75px 0; text-align:left;font-size:2.063em; color:#000; text-transform: uppercase; font-family:'Open Sans', sans-serif; line-height:1.1em; font-weight:800}


/*  home page styles
--------------------------------------------------*/
body.home header.entry-header {width:inherit; margin:20px 0 20px 0; display:none}
body.home h1.page-title  {padding: 0; text-align: center;font-size:5em; }
body.home h1.page-title span { font-size:.537em; text-transform: lowercase; font-style:italic; font-family: 'Gentium Book Basic', serif; display:block; font-weight:400; line-height:1.5em; display:block}
body.home .entry-content { padding:30px 0px;}
body.home .homeContent { background:#ffffff;}
body.home .entry-content img.wp-post-image {display: inline;float: left;;}

/*  "the work" styles
--------------------------------------------------*/
ul.theWorks {padding: 0;list-style: none;line-height:1;  margin:0}
ul.theWorks li {float:left;list-style:none;width:310px; margin:0 35px 30px 0; background:#fff}
ul.theWorks li.last {margin-right:0}
ul.theWorks li h2 { font-size:.75em; color:#000;font-family:'Open Sans', sans-serif; font-weight:800;text-transform:uppercase; text-align:center}
ul.theWorks li h2 span { text-align:center; padding:5px 15px; display:inline-block; margin:0 auto 10px auto}
ul.theWorks li a.more { margin:30px auto 15px auto; text-align:right; font-size:.938em; color:#a19e9e; display:block}
ul.theWorks li a.more:hover { color:#ce4a02}
body.page-template-archive-cad_books-php h1.page-title {text-align:center; text-transform:uppercase; padding-bottom:45px}
body.single-cad_books h1.page-title {padding-bottom:35px}
body.single-cad_books h1.page-title span { font-style:italic; font-family: 'Gentium Book Basic', serif; text-transform: none; font-style:italic; font-weight:400}

article.cadBooksPost {float:left; width:595px;padding:0 30px 0 45px;}
ul.booksList {margin-top:40px; text-align:center}
ul.booksList li {margin-bottom:13px}
ul.booksList li a { font-size:.813em; color:#000}
ul.booksList li a:hover,
ul.booksList li a.active
 {color:#ce4a02}
ul.booksList li a br {display: none}

.coda-slider-wrapper {width:595px !important}
.coda-slider-wrapper .coda-slider {width: 595px; }
.coda-slider-wrapper .coda-slider .panel {width: 595px; }
.coda-slider-wrapper .coda-slider .panel .panel-wrapper {padding:40px 0 20px 2px; }
.coda-slider-wrapper .coda-nav {}
.coda-slider-wrapper .coda-nav .current { color:#ce4a02}
.coda-slider-wrapper .coda-nav a {color: #000;font-family:'Open Sans', sans-serif; font-weight:800;text-transform:uppercase; font-size:.938em;margin: 0;padding: 0 45px 0 0; }
.coda-slider-wrapper .coda-nav li.tab4 a {padding-right:0}
.coda-slider-wrapper .coda-nav a:hover {color:#ce4a02; }
.coda-slider-wrapper .loading {height: 100%;padding: 20px;text-align: center; }

.coda-slider-wrapper .panel-wrapper h2.title {display:none}  
.coda-slider-wrapper {clear: both;overflow: auto; margin-top:20px}
.coda-slider-wrapper .coda-slider {float: left;overflow: hidden; position: relative; min-height:400px;}
.coda-slider-wrapper .coda-slider .panel-container {position: relative;}
.coda-slider-wrapper .coda-slider .panel-container .panel {display: block;float: left;}
.coda-slider-wrapper .coda-nav { width:595px;}
.coda-slider-wrapper .coda-nav ul {clear: both;display: block;margin: 0; width:595px !important;overflow: hidden; }
.coda-slider-wrapper .coda-nav ul li { display: inline; list-style:none; margin:0;}
.coda-slider-wrapper .coda-nav ul li a {display: block;float: left;text-decoration: none;}



/*  single page styles
--------------------------------------------------*/
.single .entry-summary p {
	font-weight: bold;padding: 0.75em;
		background-color: #EFEFEF;
		border: 1px solid #AFAFAF;
}

/*  article header
--------------------------------------------------*/
h1.entry-title {margin:0; padding:0; text-align:left;font-size:1.03125em; color:#000; text-transform: capitalize; font-family: 'Open Sans', sans-serif; line-height: inherit; font-weight:800}
h1.entry-title a {color:#000; }
h1.entry-title a:hover {color:#ce4a02;}

.entry-content a.continueReading {
	background:#b2b2b2;
	color:#fff; text-decoration:none; padding:4px; margin:1em 0; display:inline-block;float:right;
	-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;-khtml-border-radius:5px;}
.entry-content a.continueReading:hover { background-color:#ce4a02; color:#fff;  
   -webkit-transition:background-color 1s linear;-moz-transition:background-color 1s linear;-o-transition:background-color 1s linear;transition:background-color 1s linear; text-decoration:none} 

h2.entry-header { font-size:.9em; background: rgba(82,46,146,.4); color:#fff; font-weight:600; margin:0 0 2em 0; padding:.1em .5em;}

h1.archive-title {margin:0; padding:0 0 75px 0; text-align:left;font-size:2.3125em; color:#000; text-transform: capitalize; font-family: 'Open Sans', sans-serif; line-height:1.1em; font-weight:800}


.entry-meta  {font-size: 0.68em;color: #6a6969;margin-bottom:2em; text-align:center}
.entry-meta div {display:inline}
.entry-meta div a {color: #6a6969; text-decoration:none}
.entry-meta div a:hover {color: #ce4a02; text-decoration:underline}
.entry-meta div.comment-meta {font-size: inherit;margin-bottom:0;clear: none;}
.entry-meta div.author-meta a { text-transform:capitalize}

div.excerpt-content {margin:2em 0 3em 0; text-align:left}


/* Article content headings
------------------------------------------------*/
/*.entry-content h1 {font-size:3.688em;padding:0;color: #000; text-transform:uppercase;font-family: 'Open Sans', sans-serif;font-weight:800}*/
.entry-content h1 {margin:0; padding:0 0 50px 0; text-align:left;font-size:2.063em; color:#000; text-transform: uppercase; font-family:'Open Sans', sans-serif; line-height:1.3em; font-weight:800}
.entry-content h2 {font-size: 1.2em;padding:0;color:#6c6c6c;font-weight:normal;font-weight:400;line-height:1.5em;}
.entry-content h3 { font-size:1em; color: #ce4a02; font-weight:normal;margin:1em 0 0 0; line-height:1.4em;}
.entry-content h4 {font-size:.938em;padding-bottom:10px;color: #000; text-transform:uppercase;font-family: 'Open Sans', sans-serif;font-weight:800}
.entry-content h5,
.entry-content h6,
.entry-content dt 
	{font-size: 1.125em; font-weight:400;padding: 0.5em 0;}
.entry-content h1 a {color: #000; text-decoration:none}

.entry-content h1 em { font-style:italic; font-family: 'Gentium Book Basic', serif; text-transform: none; font-style:italic; font-weight:400}


/* Article content elements
-------------------------------*/
span.smallItalic {font-weight: normal;font-family: 'Gentium Book Basic', serif; font-style:italic; text-transform:none}

article.post, 
body.search #content article
	{margin-bottom:20px; padding-bottom:10px; border-bottom:1px dotted #ce4a02;}

div.date-meta {font-size:.75em;font-family: 'Open Sans', sans-serif;color:#A19e9e;font-weight:800}
article.post .entry-content {margin-top:20px}

article.archive {margin-top:2em}

body.home .entry-content p {font-size:1.125em;}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content dd {
	font-size: 1em;line-height:1.6em;
	margin-bottom: 0.75em;
}
.entry-content a { text-decoration:underline;color:#4A4949}
.entry-content a:hover {color:#ce4a02}

.entry-content ul li {margin-left: 1.25em; list-style:disc;color:#6C6C6C}
.entry-content ul li h2 {color:#6C6C6C}
.entry-content ol li {margin-left: 1.95em; list-style:decimal}
.entry-content cite {
	color: #444;
}

.entry-content pre {
	overflow: auto;
	display: block;
	/* May I rot in hell for this IE6 hack */
	_width: 90%;
	font-size: 1em;
	padding: 1.5em;
	color: #AF0000;
}


.entry-summary img {width:150px; height:auto}

.entry-utility {font-size: .813em; line-height:1.6em;border-top:1px dotted #979696;padding:3em 0 0 0 ; margin:4em 0 0 0;  }
.entry-utility-excerpt {padding-top:.5em}

.entry-utility .social-sharing div,
.entry-utility-excerpt div
 {float:left; padding-right:2em;}
.social-sharing .twitter-like {width:80px;}
.social-sharing .pinterest-like {}
.social-sharing .comments {margin-top:2em}
.social-sharing .comments a { text-decoration:underline}
.social-sharing .comments span {font-size:1.5em}


/* article content images
-----------------------------*/

/* We're adding some importants here to override any inline dimensions. */

.wp-caption,
.gallery-caption  
    {display: block;max-width: 100% !important;padding: .5em 0;}
div.aligncenter {margin: 0 auto;padding: 10px 0;}
div.alignleft {float: left;display: inline;margin:0 1em 1em 0;}
div.alignright {float: right;display: inline;margin:0 0 1em 1em;}

.wp-caption img,
.entry-content img,
.entry-content video {
	max-width: 100% !important;
	/* May I rot in hell for this IE6 hack */
	_width: 95% !important;
	height: auto !important;
	
}

.imglink,
.wp-caption a {
	border: none !important;
	text-decoration: none;
	color: #FFF;
}

img.border {border:1px solid #000}
img.aligncenter {display: block;margin: 0 auto 1em auto;padding: 0;}
img.alignleft {float: left;display: inline;margin:0 1em 1em 0;}
img.alignright {float: right;display: inline;margin:0 0 1em 1em;}
img.aligncenter {float:none;display: block;margin:0 auto;}
img.alignnone {float:none;display: block;margin:0;}

.entry-content img.aligncenter,
.entry-content img.center,
.entry-content img.alignleft,
.entry-content img.alignright,
.entry-content img.alignnone
    





.entry-content .wp-caption {
	margin-top: 0.4em;
	max-width: 96%;
	padding: 9px;
}
.entry-content .wp-caption img {
	display: block;
	margin: 0 auto;
	max-width: 98%;
	box-shadow:0 4px 8px #333;-moz-box-shadow:0 4px 8px #333;-webkit-box-shadow:0 4px 8px #333;
}
.entry-content .wp-caption .wp-caption-text {
	color: #666; line-height:1.2em; text-align:center;
	font-family: Georgia, serif;
	font-size: .85em; font-style:italic;
	margin-bottom: 0.6em;
	padding: 10px 0;
	position: relative;
}

/* Image gallery
-----------------------------*/
.image-gallery ul { margin:0;list-style: none;}
.image-gallery ul li {list-style:none;  margin:0; float:left; width:190px; margin:0 12px 2em 12px; }
.image-gallery ul li img { width:190px; height:auto;}
.image-gallery ul li span {font-style:italic; font-size:.9em; text-align:center;}


/*Article content tables
-----------------------------*/

.entry-content table {
	width: 100%;
	margin: 1.5em 0;
	border-collapse: collapse;
	border:none;
}



.entry-content th,
.entry-content tbody td {
	text-align: left;padding: 0 0 3em 0; vertical-align:top; }

.entry-content th {
	font-weight: normal;
	font-size: 1.333em;
	background-color: #444;
	color: #FFF;
}

.entry-content table caption {
	font-size: 0.75em;
	font-family: georgia, 'liberation serif', palatino, serif;
	font-style: italic;
	text-align: left;
}

.entry-content tfoot tr {
	font-size: 0.75em;
	color: #AAA;
}



/* 6. ASIDES
------------*/
aside.widget {clear:both; margin:0 13px 1.5em 13px; padding:0 0 1.5em 0; border-bottom:1px dotted #979696;}
aside.widget h3.widget-title {font-weight: normal; font-size:.75em; color:#5a5959;font-style:italic; margin-bottom:10px;}
aside.widget div.textwidget,
aside.widget ul
     {font-size:.66em;color:#5a5959; line-height:1.6em}

h3.ui-accordion-header  {font-size:.75em;color:#5a5959; line-height:1.6em;outline: none;}
h3.ui-state-active {font-weight:bold}


aside.widget li a {color:#7d7c7c}
aside.widget li a:hover,
aside.widget li.current_page_item a
    {color:#ce4a02}
aside.widget li.small {font-size:.9em}

aside.widget ul.subcats li { list-style-image:url(images/bullet.png); margin-left:1em}
aside.widget ul.subcats li a {font-size:1.2em; font-weight:300}
aside.widget ul.subcats li a:hover {}
aside.widget_sidebar_nav li { list-style:none;font-weight: normal; font-size:.75em; color:#5a5959; font-style:italic; margin-bottom:10px;}

/*  pagination */
.pagination {padding-bottom: 0.5em;font-size: 0.8em;padding:3em 0 ; margin:4em 0 0 0;  }
.pagination p {margin-bottom:2em}
a.page-numbers, .page-numbers {padding:.3em .4em .1em .4em; color:#ce4a02; border:1px solid #ce4a02; letter-spacing:normal}
a.page-numbers:hover {background-color:#ce4a02; color:#f5f7f8}
.pagination .current {background-color:#ce4a02; color:#f5f7f8}
#nav-single {margin:1em 0}
#nav-single span a {padding:.2em .5em; color:#656666; border:1px solid #cccecf; letter-spacing:normal}
#nav-single span a:hover {background-color:#4a4a4b; color:#f5f7f8}
#nav-single span.nav-previous {float:left}
#nav-single span.nav-next {float:right}

/*  Specific widget and plugin  styles
-----------------------------*/
aside.widget {clear:both}



/*  footer
--------------------------------------------------*/
#site-footer {width: inherit; margin:40px 0 10px 0; padding:0;font-size:.6em; }

#site-footer .designCredit {float:right;color:#6b6b6a; }
#site-footer .designCredit a {color:#6b6b6a;}
#site-footer .copyright {float:left; }



/*  print styles
--------------------------------------------------*/
@media print {

#sidebar, #site-nav, #comments, .entry-footer {
	display: none;
}

body {
	font-family: georgia, times, baskerville, garamond, serif;
	font-size: 100%;
	line-height: 1.5em;
	width: 75%;
	padding-left: 25%;
}

/* Copy some stuff from the screen stylesheet */

#site-title {
	font-family: 'helvetica neue', arial, helvetica, 'deja vu sans', sans-serif;
	font-size: 16px;
	line-height: 18px;
	margin-bottom: 3em;
}

#tag {
	color: #444;
	font-family: 'helvetica neue', arial, helvetica, 'deja vu sans', sans-serif;
	font-size: 13px;
	font-weight: normal;
	font-style: italic;
}

a:link {
	color: #336699;
}

a:visited {
	color: #336699;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	text-decoration: none;
}

a img {
	border: none;
}

.imglink {
	border: none;
	text-decoration: none;
	color: #FFF;
}

p,
ul,
ol,
dd {
	margin-bottom: 12px;
	font-size: 19px;
}

.entry-title {
	font-family: 'helvetica neue', arial, helvetica, 'deja vu sans', sans-serif;
	margin: 20px 0 4px 0;
	font-size: 24px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content dt {
	font-family: 'helvetica neue', arial, helvetica, 'deja vu sans', sans-serif;
	margin: 20px 0 4px 0;
}

.entry-content h1,
.entry-content h2,
.entry-content dt  {
	font-size: 21px;
}

.entry-content h3 {
	font-size: 19px;
}

.entry-content h4,
.entry-content h5,
.entry-content h6 {
	font-size: 13px;
}

.entry-content table {
	width: 100%;
	margin: 24px 0;
	border-collapse: collapse;
	border: 1px solid #CCC;
}

.entry-content tr {
	font-size: 12px;
	font-family: 'helvetica neue', arial, helvetica, 'deja vu sans', sans-serif;
}

.entry-content tbody tr:nth-child(even) {
	background-color: #DFDFDF;
}

.entry-content th,
.entry-content tbody td {
	text-align: left;
	padding-left: 3px;
	margin: 0;
}

.entry-content th {
	font-weight: bold;
	font-family: 'helvetica neue', arial, helvetica, 'deja vu sans', sans-serif;
	background-color: #444;
	color: #FFF;
}

.entry-content table caption {
	font-size: 12px;
	font-family: 'helvetica neue', arial, helvetica, 'deja vu sans', sans-serif;
	text-align: left;
}

.entry-content tfoot tr {
	font-size: 12px;
	font-family: 'helvetica neue', arial, helvetica, 'deja vu sans', sans-serif;
	color: #AAA;

}

} /* End @media print query */

@media only screen and (max-width : 480px) {
/* Styles */

body, html {font-size: 1em !important; }
html {min-height: inherit;}
body {-webkit-text-size-adjust:none; margin-top:1em}

.wrapper { width:300px; margin:5px auto;}
#content {margin-top:1em}

body.home h1#site-title,
#socialFollow 
   {display:none}
 
body.home h1.page-title {font-size: 4em;}
body.home header.entry-header {margin:10px 0}
body.home .entry-content {padding:10px 0}
.entry-content h1 {font-size:3em}
body.page section.page-side-column img {max-width:300px}
body.page section.page-side-column {width:inherit}
body.page article.page-main-column {width:inherit}
   
nav#top-menu,
#site-footer .copyright,
#site-footer .designCredit,
h1#site-title,
section.page-side-column,
article.cadBooksPost,
article.page-main-column,
body.blog #content, 
body.single-post #content, 
body.error404 #content, 
body.archive #content, 
body.search #content,
#primary
   {float:none;padding:0; width: auto;}


nav#top-menu ul {text-align:center}
nav#top-menu ul li {padding:7px; text-align:center; display: inline-block; float:none}

h1#site-title {text-align:center}
h1.page-title {padding-bottom:10px}
select.dropdown-menu {margin-bottom:10px}
article.cadBooksPost {padding:10px 0; width:inherit}
body.single-cad_books h1.page-title {padding-bottom:5px}

.coda-slider-wrapper .coda-nav,
div.entry-content .coda-slider-wrapper .coda-nav ul,
div.entry-content .coda-slider-wrapper,
.coda-slider-wrapper .coda-slider,
.coda-slider-wrapper .coda-slider .panel 
     {width:300px !important}



section.page-side-column {width:inherit; font-size:0;}
body.single-cad_books section.page-side-column {font-size: inherit;}
article.page-main-column {margin-top:1em;padding:0; width:inherit}


img {max-width:300px !important;height:auto !important;-webkit-box-shadow:0 0 0 !important;margin:0 auto 1em auto !important; float:none !important; display:block !important;}
select {max-width:300px;}

div#search #searchform {width: 115px; text-align:left}
div#search #s {float: right;width: 72px;}
div#search #s:focus {width: 72px;}

#site-footer {margin:0 auto}
.entry-content h1 {line-height:1em}

input[type=text],
input[type=password],
input[type=file],
textarea { max-width:300px !important}

}
