/*  
 * Theme Name: 		Digitalis
 * Theme URI: 		http://www.theenglishguy.co.uk/digitalis-theme/
 * Description: 	This is a theme by <a href="http://www.theenglishguy.co.uk/">The English Guy</a> focused on our obvious obsession - digital life! Two widget-ready, gravatar-ready, and SEO friendly, very easy to use.
 * Author: 			Richard Dows
 * Author URI: 		http://www.theenglishguy.co.uk/
 * Tags:			two column, digital, fixed width, valid xhtml, right sidebar
 * Version:			1.0.5
 */

* {
    margin:					0;
	padding:                0;
}

body, html {
	background-image:		url(images/bg.jpg);
	background-attachment:	fixed;
	background-repeat:		no-repeat;
	background-position:	bottom center;
	background-color:		transparent;
	font-size:				100%;
	font-family:			-apple-system,BlinkMacSystemFont,segoe ui,Roboto,Helvetica,Arial,sans-serif;
}



/*----------------------------- wrapper ------*/
#wrap {
    width:					1000px;
	margin:					0 auto;
}
* html #wrap {
    height:					100%;
}

@media screen and (max-width: 768px) {
	#wrap {
    width:					100%;
}
}

/*-------------------------- main divs -------*/
#header_block {
	width:				100%;
	min-height:             	90px;
	height:				auto !important;
	height:				90px;
	position:				relative;
}
#header { 
	min-height:             	120px;
	height:				auto !important;
	height:				120px;
	width:				1000px;
	margin:				0 auto;
	background-image:		url(images/header-1.png);
	background-repeat:		no-repeat;
	background-color:		transparent;
}
@media screen and (max-width: 768px) {
	#header {
    width:					100%;
}
}
#header #text { }
@media screen and (max-width: 768px) {
	#header #text  {
    padding-bottom: 20px;
}
}
@media screen and (max-width: 768px) {
	.container  {
    padding-bottom: 20px;
}
}
#header #text h1 {
	margin:					0 0 0 10px;
	padding:                5px 0 0 10px;
}
* html #header #text h1, *+html #header #text h1 {
    float:					left;
	clear:					left;
}
#header #text h2 {
	font-size:				16px;
	font-style:				italic;
	color:					#333;
	margin:					0 10px 0 10px;
	padding:				0 10px 0 0;
	width:					540px;
	float:					right;
	text-align:				right;
}
@media screen and (max-width: 768px) {
	#header #text h2 {
    width:					100%;
}
}
* html #header #text h2 {
    clear:					right;
}


/*------------------------------- menu -------*/
#navcontainer {
    position:				absolute;
	top:				77px;
	left:				4px;
	text-align:			center;
}

@media screen and (max-width: 768px) {
	#navcontainer {
		width:			100%;
		top:			auto;
		background:		#e6ebf0;
	}
}
#navlist ul {
    margin: 				0;
    padding:                0;
    list-style-type: 		none;
	border:					none;
}

#navlist li {
	list-style-type: 		none;
	width:					auto;
	display:				inline-block;
}
#navlist a {
    padding:                2px 15px;
	width:					auto;
	float:					left;
	display:				block;
	text-decoration:		none;
	text-align:				center;
    border-left: 			1px solid #fff;
    border-top: 			1px solid #fff;
    border-right: 			1px solid #aaa;
}
#navlist a:link, #navlist a:visited {
    color: 					#000;
    text-decoration: 		none;
}
#navlist a:hover {
    background-color: 		#bbb;
	color:					#fff;
}
#active a:link, #active a:visited {
	background-color: 		#bbb;
	color:					#fff;
}


/*---------------------------- content -------*/
#middle { 
	margin:				0 0 5px 0;
	margin-top:			10px;
	z-index:				90;
}
.content {
    width:					1000px;
	float:					left;
}

@media screen and (max-width: 768px) {
	.content {
    width:					100%;
}
}

/*---------------------------- sidebar -------*/
#sidebar {
    width:					190px;
	margin:					0 0 0 10px;
	float:					left;
}
* html #sidebar {
    margin-left:			9px;
}
#sidebar .top, #sidebar .middle, #sidebar .bottom {
    margin:					0;
	padding:                0;
}
#sidebar .top, #sidebar .bottom {
    background-repeat:		no-repeat;
}
#sidebar .top { 
    background-image:		url(images/sidebar_top.png);
	height:					15px;
}
* html #sidebar .top {
    margin:					0 0 -15px 0;
}
#sidebar .middle { 
    background-image:		url(images/sidebar_middle.png);
	background-repeat:		repeat-y;
}
#sidebar .bottom { 
    background-image:		url(images/sidebar_bottom.png);
	height:					15px;
	margin:					0 0 15px 0;
}
#sidebar .title {
	border-bottom:			1px solid #333;
	width:					170px;
	margin:					0 10px 0 10px;
}
#sidebar .title h3 {
    color: 					#08281b;
	padding:                0 0 3px 2px;
	font-size:				22px;
}
#sidebar ul {
	margin:					0;
	padding:                3px 0 5px 0;
	list-style-type:		none;
}
#sidebar ul li a {
    display:				block;
	background-image:		url(images/sidebar_middle.png);
	background-repeat:		repeat-y;
	padding:                4px 5px 4px 10px;
}
#sidebar ul li :hover {
    background-image:		url(images/sidebar_hover.png);
}
#sidebar ul ul {
	margin:					0;
}
#sidebar ul ul li a {
    padding:                4px 5px 4px 20px;
}

#sidebar #searchform input#s {
    width:					165px;
	margin:					5px 10px;
	padding:                2px 1px;
}

#sidebar p {
    margin:					0 10px;
	padding:                5px 0 0 0;
}

#sidebar p#tagcloud {
    margin:					0 3px;
	text-align:				center;
}



/*----------------------------- post ---------*/
.post { }
.post-top, .post-content, .post-bottom {
    width:					1000px;
}
@media screen and (max-width: 768px) {
	.post-top, .post-content, .post-bottom {
    width:					100%;
}
}
.post-top, .post-bottom {
    background-repeat:		no-repeat;
	background-color:		transparent;
}
.post-top {
    background-image:		url(images/tablet_top.png);
	height:					15px;
	max-height:				15px;
}
.post-content {
    background-image:		url(images/tablet_middle.png);
	background-repeat:		repeat-y;
	font-size:				100%;
}
* html .post-content {
	margin-top:				-4px;
}
.post-bottom {
    background-image:		url(images/tablet_bottom.png);
	height:					20px;
}
.post-content ul, .post-content dl, .post-content ol {
    padding:				5px 0 5px 25px;
}
.post-box {
    background-image:		url(images/tablet_box.png);
	min-height:				40px;
	height:					auto !important;
	height:					40px;
}
.post-box h3 {
    padding:                6px 0 0 10px;
}
.post-title {
	border-bottom:			1px solid #333;
	margin:					0 10px;
	padding:                4px 2px 0 2px;
	width:					1000px;
	z-index:				98;
}
@media screen and (max-width: 768px) {
	.post-title {
    width:					100%;
}
}
.post-date {
    background-color:		transparent;
	background-image:		url(images/datebox.png);
	background-repeat:		no-repeat;
	width:					45px;
	height:					45px;
	position:				absolute;
	top:					-10px;
	left:					540px;
	text-align:				center !important;
}
.post-date .month, .post-date .date {
	font-size:				12px;
	font-weight:			bold;
	color:					#000;
}
.post-date p {
	margin:					2px 0 0 0;
}
.post-date .month { 
	text-align:				center;
	font-size:				14px;
	padding:				0 0 5px 0;
}
.post-date .date { 
	text-align:				center;
	padding:                3px 0 0 0;
}
.post-main {
	padding:                10px 10px 20px 10px;
}
.post-title h2, #commentsdiv h4 {
	font-size:				24px;
}

.post-comments { 
    padding:                14px 0 0 32px;
	width:					110px;
}
.post-comments p {
	padding:                0;
}

.post-info { 
    float:					right;
	padding:                14px 32px 0 0;
	max-width:				10000px;
	width:					1000px;
	text-align:				right;
}
@media screen and (max-width: 768px) {
	.post-info {
    width:					100%;
}
}
.post-archive .post-info {
    text-align:				left;
}



/*-------------------------- comments --------*/
#commentsdiv {
	margin:					0;
}
.commentlist {
    list-style-type:		none;
}
.commentlist li {
    margin:					10px 0 0 0;
    background-color:		#e6ebf0;
	border:					3px solid #036;
	padding:                5px;
}
.comments-top, .comments-bottom {
    background-repeat:		no-repeat;
	background-color:		transparent;
}
.comments-top {
    background-image:		url(images/tablet_top.png);
	height:					10px;
	max-height:				10px;
}
.comments-middle {
    background-image:		url(images/tablet_middle.png);
	background-repeat:		repeat-y;
	font-size:				100%;
}
.comments-bottom {
    background-image:		url(images/comments_bottom.png);
	height:					10px;
}

.comments-textarea { 
    margin:					0 10px;
}
.comments-textarea textarea {
    width:					100%;
}
.comments-title {
	margin:					0 10px 5px 10px;
	width:					1000px;
}
.comments-title h3 {
    font-size:				18px !important;
	padding:                2px 0 2px 2px;
}
.comments-title h4 {
    font-size:				16px !important;
	padding:                2px 0 2px 2px;
}
.comments-cancel {
    margin					0 10px;
}

.comment-author {
    float:					right;
	clear:					right;
	width:					80px;
	margin:					0 5px 0 0;
	padding:                0 0 0 5px;
	border-left:			3px solid #555;
	font-size:				14px;
	text-align:				center;
}
* html .comment-author {
    width:					115px;
}
.comment-author img {
    margin:					0 auto;
	padding:                5px;
	border:					1px solid #ddd;
}

.comment-author cite {
    font-size:				13px;
}
.comments-inputs {
    margin:					0 0 10px 10px;
}
.comments-inputs label {
    float:					left;
    width:					100px;
}
.comments-inputs input {
    margin:					0 0 3px 0;
}
.comments-middle .buttons {
    text-align:				right;
}
.comments-middle .buttons input {
    margin:					0 10px 0 0;
	border:					1px solid #333;
	font-size:				16px;
	font-weight:			bold;
}
.comments-middle .buttons input:hover {
    color:					#548cbd;
}
.comments .inputs {
    padding:                0 10px;
}

.commentlist ul, .commentlist ol, .commentlist dl  {
    border:					0;
	margin:					5px 5px 5px 25px;
}
.commentlist ul li, .commentlist ol li, .commentlist dl dt {
    border:					0;
    margin:					0 !important;
	padding:                0;
}
.commentlist p {
    padding:                0 0 10px 0;
}

.commentlist .children {
    list-style-type:		none;
}
.commentlist .children li {
    background-color:		#ccc;
	border:					1px solid #036;
	padding:                2px;
}



/*---------------------------- footer --------*/
#footer { 
	color:					#000;
	width:					1000px;
	clear:					both;
	bottom:					-150px;
}
@media screen and (max-width: 768px) {
	#footer {
    width:					100%;
}
}
@media all and (min-width:0px) {
  head~body #footer {
    bottom:					-100px;
  }
}

#footer .top {
    background-image:		url(images/footer_top.png);
    background-repeat:		no-repeat;
	height:					15px;
	max-height:             15px;
}
#footer .middle {
    background-image:		url(images/footer_middle.png);
	background-repeat:		repeat-y;
}

#footer p {
    margin:					0 10px 0 0;
	padding:                0 0 5px 0;
	text-align:				center;
	font-size:12px;
}



/*-------------------------- calendar --------*/
/* wp-calendar refers to the table itself     */
#wp-calendar {
    margin:					0 auto;
	width:					170px;
}
#wp-calendar caption {
    display:				none;
}
#wp-calendar thead tr { }
#wp-calendar thead tr th {
    text-align:				left;
} 
#wp-calendar tbody tr { }
#wp-calendar tfoot tr { }
#wp-calendar tbody td { 
    min-height:             21px;
	height:					21px;
	background-color:		#fff;
	border-right:			1px solid #ccc;
	border-bottom:			1px solid #ccc;
	margin:					0 5px 5px 0;
	padding:                2px;
	vertical-align:			top;
}
#wp-calendar tbody td:hover {
    background-color:		#8aacd2;
}
#wp-calendar tbody td#today {
    background-color:		#d8dfef;
}
#wp-calendar tbody td#today:hover {
    background-color:		#ddd;
}

#wp-calendar tbody a {
    color:					#3e483d;
	font-weight:			bold;
}
#wp-calendar tbody a:hover {
    color:					#000;
}
#wp-calendar tfoot a {
    color:					#000;
	font-size:				18px;
	text-decoration:		none;
}
#wp-calendar tfoot a:hover {
    color:					#900;
}


/*----------------------------- links --------*/
a {
    color:					#08281b;
}
a:visited {
    color:					#3e483d;
}
a:hover {
    color:					#900;
}
h1 a, h1 a:visited {
    color:					#000;
	text-decoration:		none;
}
h1 a:hover { 
    color:					#003;
}
h2 a {
    color:					#000;
	text-decoration:		none;
}
h2 a:visited {
    color:					#111;
}
h2 a:hover {
    color:					#c00;
}

.navigation a:link, .navigation a:visited {
    color:					#fff;
}
.navigation a:hover {
    color:					#f00;
}



/*----------------------------- misc ---------*/
.spacer {
    clear:					both;
}
.justify {
    text-align:				justify;
}
.centered {
    text-align:				center;
}
.navigation {
    text-align:				center;
	margin:					10px 0 0 0;
}
.small {
    font-size:				87%;
}
.uppercase {
    text-transform:			uppercase;
}
.align-left {
    margin:					0 0 0 10px;
	float:					left;
}
.align-right {
    margin:					0 10px 0 0;
	float:					right;
}
embed, object {
    z-index:					85;
}
img {
    border:					0;
}
.post p {
	padding:				15px 25px 20px 25px;
	text-align:				justify;
}
blockquote {
	background-color:			#6cf;
	border:					1px solid #222;
	margin:					5px 25px;
	padding:				2px 5px 5px 5px;
}
.comments blockquote {
    margin:					5px 25px 0 25px;
}
blockquote ul, blockquote ol, blockquote dl {
    margin:					0 0 0 15px;
}

h2 {
	font-size:				17px;
	padding: 15px 0 0 25px;
}

@media screen and (max-width: 768px) {
	h2 {
		font-size:			14px;
	}
}
.clearfix:after {
    content: 				".";
    display: 				block;
    clear: 					both;
    visibility: 			hidden;
    line-height: 			0;
    height: 				0;
}

.clearfix {
    display: 				inline-block;
}

html[xmlns] .clearfix {
    display: 				block;
}

* html .clearfix {
    height: 				1%;
}



/*--------- wordpress css conformance --------*/
.aligncenter, div.aligncenter {
   display: 				block;
   margin-left: 			auto;
   margin-right: 			auto;
}

.alignleft {
   float: 					left;
}

.alignright {
   float: 					right;
}

.wp-caption {
   border: 					1px solid #ddd;
   text-align: 				center;
   background-color: 		#f3f3f3;
   padding-top: 			4px;
   margin: 					10px;
   /* optional rounded corners for browsers that support it */
   -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;
}

