@font-face {
  font-family: 'Cambria';
  font-style: normal;
  font-weight: normal;
  src: local('Cambria'), local('Cambria'), url(font/cambriab.ttf) format('ttf');
}
* {margin:0;padding:0;}
body {
	color:#333333;
	font-family:Cambria,Georgia,Times,"Times New Roman",serif;
	font-size:17px;line-height:25px;
	background: #242D36 url(images/background.jpg) no-repeat 0 180px;
	}

/* Body container */
#body-container {
	width: 960px;
	margin: 36px auto 18px auto;
	}

/**
* Elements
************************************************/

/* Links */
a, a:visited  {
	color: #3C738C;
	text-decoration: none;
	}
a:hover, a:active {
	text-decoration: underline;
	}

/* Headers */
h2 {
	font-size: 22px;
	}
h3 {
	font-size: 20px;
	}
h4 {
	font-size: 18px;
	}
h5 {
	font-size: 16px;
	}
h6 {
	font-size: 14px;
	}
h1, h2, h3, h4, h5, h6 {
	font-family: Georgia, Times, "Times New Roman", serif;
	color: #444;
	}

#content hr {margin:30px 10px;border:1px solid #ccc;}
/* Blockquotes */
blockquote {
	overflow: hidden;
	padding-left: 9px;
	font-style: italic;
	color: #444;
	border-left: 3px solid #CADAE7;
	}

/* Code */
code {
	padding: 0 3px;
	background: #eee;
	}
pre {
	overflow: auto;
	padding: 9px;
	background: url(images/pre.png) repeat 0 0;
	border: 1px solid #eee;
	}
pre code {
	padding: 0;
	background: transparent;
	}

/* Tables */
table {
	width: 100%;
	background: #5F97B1;
	border: 1px solid #eee;
	}
caption {
	font-size: .8em;
	font-style: italic;
	text-align: right;
	color: #666;
	}
td {
	padding: .3em;
	border: 1px solid #35667c;
	}
tr {
	color: #fff;
	background: #3e7690;
	}
tr.alt, tr.even {
	background: #437f9b;
	}
th {
	padding: .3em;
	color: #fff;
	background: #274958;
	border: 1px solid #35667c;
	}
td a, th a {
	font-weight: bold;
	color: #eee;
	}

/* Drop caps */
.drop-cap {
	float: left;
	line-height: 39px;
	margin: 3px 3px 0 0;
	font-size: 51px;
	font-family: "Warnock Pro", "Goudy Old Style", Palatino,"Book Antiqua", Cambria, Georgia, serif;
	color: #666;
	}
.drop-cap {
	color: #eee;
	}

/* Notes */
.note {
	padding: 6px 9px;
	background: #eee;
	border: 1px solid #ccc;
	}


/* Downloads */
.download {
	padding: 6px 9px;
	background: #e7f7d3;
	border: 1px solid #6c3;
	}

/* Alignment */
.left {
	float: left;
	margin: 0 18px 0 0 !important;
	}
.right {
	float: right;
	margin: 0 0 0 18px !important;
	}
.center {
	display: block;
	margin: 0 auto 21px auto;
	}
.block, .alignnone {
	display: block;
	margin: 0 0 21px 0;
	}
.clear {
	clear: both;
	}
span.pullquote {
	float: none;
	margin: 0;
	}

/**
* Images
************************************************/
.post img {
	max-width: 594px;
	}



/**
* Header
************************************************/
#header {
	display: block;
	margin-bottom: 18px;
	}
#site-title {
	font-size: 2.3em !important;
	margin-bottom: 9px;
	line-height: 27px;
	font-weight:normal !important;
	}
#site-title a {
	color: #5f97b1;
	}
#site-description {
	font-size: 1.1em;
	font-style: italic;
	color: #eee;
	margin-bottom: 27px;
	}
#site-title, #site-description {
	font-family: Georgia, Times, "Times New Roman", serif;

	}
#header h4{ margin-left:15px;}
/**
* Primary Menu
************************************************/
#primary-menu {
	float: left;
	width: 700px;
	}
#primary-menu li {
	margin: 0 18px 0 0;
	padding: 0;
	background: #3c738c;
	}
#primary-menu li li {
	margin: 0;
	}
#primary-menu li a {
	float: left;
	padding: 7px 12px;
	color: #f9f9f9;
	}
#primary-menu ul li.current-menu-item {
	background: #4d8ca8;
	}
#primary-menu ul li.current-menu-item li {
	background: #3c738c;
	}

/* Drop-down styles */
#primary-menu ul ul {
	background: #3c738c;
	border-bottom: 1px solid #2e647d;
	}
#primary-menu li li {
	border-top: 1px solid #2e647d;
	}
#primary-menu li li a {
	font-size: 14px;
	}
#primary-menu li:hover ul {
	top: 30px;
	}
#primary-menu li:hover ul, li.sfHover ul {
	top: 30px;
	}
#primary-menu li li:hover ul, li li.sfHover ul , #primary-menu li li li:hover ul, li li li.sfHover ul  {
	top: -1px;
	}

/**
* Container (content/primary/secondary)
************************************************/
#container {	
	float: left;
	width: 960px;
	padding-top: 21px;
	padding-bottom: 21px;
	}

.content {
	overflow: hidden;
	float: left;
	width: 600px;
	padding: 20px;
	background: #fff;
	}
.no-widgets .content, .no-default-widgets .content, .primary-inactive.secondary-inactive .content {
	width: 920px;
	}

/**
* Posts
************************************************/
.hentry {
	clear: both;
	overflow: hidden;
	height: 100%;
	margin-bottom: 21px;
	}

.singular .hentry {
	margin-bottom: 0;
	}
.page-template-blog .post {
	margin-bottom: 36px;
	}
/* Post title */
.entry-title {
	font-size: 21px;
	margin-bottom: 3px;
	}
.single-post .entry-title, .page-title {
	font-size: 21px;
	}
.page-title, .error-404-title {
	margin-bottom: 21px;
	}

/* Byline */
.byline {
	margin: 0;
	font-size: .85em;
	font-style: italic;
	color: #666;
	}
.single .byline, .home .byline {
	margin-bottom: 21px;
	}


/* Page links */
p.page-links a {
	margin: 0 1px;
	padding: 1px 6px;
	font-style: italic;
	border: 1px solid #ddd;
	}
p.page-links a {
	background: #3C738C;
	border: none;
	}
/* Series */
.series-title {
	font-size: 1.2em;
	}

/* Page templates */
.author-profile {
	overflow: hidden;
	height: 100%;
	margin-bottom: 21px;
	}
.page-template-biography .author-profile {
	margin: 0;
	}
.author-profile .author-name {
	margin-bottom: 0;
	font-size: 1em;
	font-weight: bold;
	}



/**
* Widget inserts
* Primary (displayed first) and Secondary
************************************************/
#primary {
	float: right;
	width: 300px;
	}
#secondary {
	clear: right;
	float: right;
	width: 300px;
	}

#subsidiary {
	overflow: hidden;
	margin: 0 0 15px 0;
	}


#subsidiary a {
	color: #678db1;
	color: #ccc;
	}



/* Form */
.text-input {
	display: block;
	padding: 3px 6px;
	width: 300px;
	}
#comments-template label {
	font-size: .8em;
	}
textarea {
	clear: left;
	display: block;
	width: 98.5%;
	}
.button, #submit, #contact-button {
	width: 100px;
	margin-right: 9px;
	padding: 6px 9px;
	font: .9em Cambria, Georgia, Times, 'Times New Roman', serif;
	font-weight: bold;
	color: #eee;
	background: #242D36;
	border: none;
	}
li.entry-author .button, li.entry-author #submit {
	background: #333C45;
	}
.button:hover, #submit:hover {
	cursor: pointer;
	background: #333C45;
	}

/**
* Footer
************************************************/
#footer-container {
	clear: both;
	overflow: hidden;
	color: #999;
	}
#footer-container a {
	color: #ccc;
	}
#footer {
	clear: both;
	font-style: italic;
	}
#footer a {
	font-style: normal;
	color: #f7f7f7;
	}
#footer .copyright {
	display: inline;
	float: left;	
	margin-right: 9px;
	font-family: Georgia;
	}
.navigaation_bar{ float:left; width:940px; color:#fff !important;}
.navigaation_bar ul{ list-style:none; display:inline;}
.navigaation_bar li{ margin-right:18px; display:inline; background-color:#3C738C; padding:7px 12px; line-height:35px;}
.navigaation_bar li a{color:#fff;}
#sidebar{ width:250px; float:left; margin-left:20px;margin:0 0 1.25em 30px; padding:20px 5px 20px 5px; background-color:#fff;}
#sidebar ul, #sidebar ol{margin-left:30px;}
#sidebar li {margin-bottom:13px;margin-top:4px;}
#sidebar h4 {margin-bottom:3px; color:#555; font-weight:bold;font-size:20px;margin-top:10px; margin-left:8px;}
#sidebar p{ margin:5px 0 0 10px;}
#sidebar p a{color:#444444; text-decoration:underline;}
#sidebar p a:hover{color:#D21600 !important; text-decoration:none;}
#sidebar p a:visited{color:#6611CC; text-decoration:underline;}

#header-img{ width:960px; margin:10px auto;}
fieldset#contact-form {margin:20px 0px 20px 10px;padding:10px;color:#000;width:380px;background:#fafafa;border:2px solid #aaa;}
fieldset#contact-form label {font-size:14px;}
fieldset#contact-form input {height:20px;font-size:15px;margin-bottom:15px;padding:3px;}
fieldset#contact-form textarea {font-size:15px;margin-bottom:15px;width:98%;padding:3px;}
fieldset#contact-form #contact-button {font-size:15px;height:30px;margin-left:30px;}
input:focus, textarea:focus {background:#fff;border:1px solid #555;}
ul#nav #active a {text-decoration:underline; color:#EEEEEE;}

#content img {background:#fff;padding:2px;border:2px solid #ccc; margin:10px;max-width:97%;height:auto;}
#content h1{ margin:5px 0 10px 0; color:#3C738C;font-size: 27px;line-height:21px;}
#content a{color:#444444; text-decoration:underline;}
#content a:hover{color:#D21600 !important; text-decoration:none;}
#content a:visited{color:#6611CC; text-decoration:underline;}
#content p{ margin:5px 0 10px 0;}
#content h2{ margin:15px 0 5px 0; color:#3C738C;}
#content h3{ margin:15px 0 5px 0;color:#3C738C;}
#content ul, #content ol{margin-left:25px;}
#content li{margin-bottom:13px; margin-top:3px;}

.lightbox img{ margin:0 !important; padding:0 !important;} 

#content {
  /* max-width hack for IE since it doesn't understand the valid css property */
  width: expression(document.body.clientWidth > 1000 ? "1000px" : "94%");  
  max-width: 1000px;
}
@media (max-width:1024px) {	
body {
    background-size: 100% auto;
}
#body-container {
    margin: 36px auto 18px;
    width: 95%;
}
.navigaation_bar {
    width: 100%;
}
#container {
    width: 100%;
}#header-img {
    width: 100%;
}
#content {
    width: 65%;float:left;
}
#sidebar {
 margin: 0 0 1% 2%;
 padding: 2% 0.5%;
 width: 27%;
}
}
@media (max-width:992px) {	
#content {
    width: 62%;
}#sidebar {
    width: 30%;
}
}
@media (max-width:850px) {	
#content {
    width: 60%;
}
}
@media (max-width:700px) {	
body {
	background: #242D36 url(images/background.jpg) no-repeat 0 180px/150% auto!important;
	}
#content {
    width: 93%;float:none;
}
#sidebar {
    margin: 0;
    width: 98%;float:none;
}
#site-title {
    font-size: 2em !important;
}
#content h1 {
    font-size: 24px;
}
fieldset#contact-form {
    width: 85%;
}
#header {
    padding-left: 15px;
}
}
@media (max-width:480px) {	
#content {
    float: none;
    width: 90%;
}
#sidebar {
    float: none;
    margin: 0;
    width: 98.4%;
}
#site-title {
    font-size: 1.5em !important;
}
#content h1 {
    font-size: 20px;
}
h2.blog-title,#content h2 {
    font-size: 18px!important;
    line-height: 20px!important;
}#content h3 {
    font-size: 17px!important;
    line-height: 19px!important;
}
#content img {float:none!important;clear:both;border:none;padding:0;margin:0;}
#sidebar h4 { font-size: 18px;}
#site-description {
    font-size: 1em;line-height:1em;}
}
@media (max-width:375px) {	
#content {
    width: 88%;
}
td a, th a {
    font-weight: normal;font-size:15px;
}
.blog-date {
    padding-right: 0!important;
}
}
@media (max-width:320px) {	
#content {
    width: 85%;
}#sidebar {
    width: 98.4%;
}
}