/*
Theme Name: SCLabs Theme
Theme URI: http://www.labs.securitycompass.com
Author: Houssam Haidar
*/

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, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    padding: 0;
    margin: 0;
    word-wrap: break-word;
}

header, nav, article, section {
	display: block;
}

body {
    background: url('img/bg-body.png');
    font: 12px Helvetica, Arial;
    color: #222;
	padding-bottom: 15px;
}

img {
    border: none;
}

a,
.clickable {
    color: #195195;
    text-decoration: none;
}

a:hover {
    color: #1e5aa3;
    text-decoration: underline;
    cursor: pointer;
}

textarea {
    font: 12px Helvetica, Arial;
    outline: none;
    resize: none;
}

textarea,
input {
    border: 1px #ccc solid;
    padding: 5px;
}

p {
    line-height: 150%;
}

* html .clear {
	height: 1%;
	overflow: visible;
}

*+html .clear {
    min-height: 1%;
}

.clear:after {
	height: 0;
	font-size: 0;
	clear: both;
	display: block;
	visibility: hidden;
	content: ".";
}

.clear:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  font-size: 0;
}

div#global-wrapper {
    width: 960px;
    margin: 0 auto;
}

header {
    margin-bottom: 10px;
}

header div.logo {
    font-size: 40px;
    margin-top: 10px;
	float: left;
}

header form.search {
	margin-top: 36px;
	display: block;
	float: right;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

header form.search input {
	background: #fff;
    width: 300px;
    border: 1px #ccc solid;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	box-shadow: 0 0 5px #ddd;
	-webkit-box-shadow: 0 0 5px #ddd;
	-moz-box-shadow: 0 0 5px #ddd;
}

textarea:focus,
input:focus,
header form.search input:focus {
	outline: none;
	border: 1px #2760a5 solid;
	box-shadow: 0 0 15px #3773be;
	-webkit-box-shadow: 0 0 15px #3773be;
	-moz-box-shadow: 0 0 15px #3773be;
}

header nav {
    background: #195195;
    border: 1px #104689 solid;
    overflow: hidden;
	clear: both;
    border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

header nav ul {
    float: left;
    overflow: hidden;
}

header nav li {
    height: 45px;
    line-height: 45px;
    border-right: 1px #1e5aa3 solid;
    display: block;
    float: left;
}

header .menu a {
    color: #fafafa;
    font-size: 14px;
    padding: 0 20px;
    border-right: 1px #0d4283 solid;
    display: block;
}

header .menu a:hover {
    background: #1e5aa3;
    color: #fff;
    text-decoration: none;
}

header .menu a:active {
    background: #0d4283;
    color: #fefefe;
}

header .menu li:first-child a {
    border-radius: 5px 0 0 5px;
	-webkit-border-radius: 5px 0 0 5px;
	-moz-border-radius: 5px 0 0 5px;
}

header ul.social {
	margin-right: 4px;
	float: right;
}

header ul.social li {
	padding: 0;
	margin: 0;
	border: none;
}

header ul.social img {
	width: 34px;
	height: 34px;
	vertical-align: middle;
	opacity: 0.9;
}

header ul.social img:hover {
	opacity: 1.0;
}

div#sidebar {
    width: 250px;
    float: right;
}

div#sidebar p {
	margin-bottom: 5px;
}

div#sidebar p:last-child {
	margin-bottom: 0;
}

div#sidebar li {
    display: block;
}

div#sidebar li.widget {
    background: #e5e5e5 url('img/bg-post.png') top repeat-x;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px #ccc solid;
    overflow: hidden;
    border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

div#sidebar li.widget:last-child {
    margin-bottom: 0;
}

div#sidebar h3 {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 5px;
}

div#sidebar #xmt_Primary_wid.xmt {
	margin-top: 10px;
}

div#sidebar #xmt_Primary_wid.xmt ul li.tweet_list {
	color: #555;
	font-size: 11px;
	padding-bottom: 5px;
	margin-bottom: 5px;
	border-bottom: 1px #ddd solid;
}

div#sidebar #xmt_Primary_wid.xmt ul li.tweet_list:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: none;
}

div#sidebar #xmt_Primary_wid.xmt ul li.tweet_list span.date {
	color: #777;
}

div#content {
    width: 700px;
    float: left;
}

article.post {
    background: #e5e5e5 url('img/bg-post.png') top repeat-x;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px #ccc solid;
    overflow: hidden;
    border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

article.post:last-child {
	margin-bottom: 0;
}

article.post div.left {
	margin-right: 10px;
	float: left;
}

article.post div.thumbnail {
    padding: 5px;
    border: 1px #ccc solid;
}

article.post div.thumbnail img {
	width: 150px;
	height: 150px;
	display: block;
}

article.post a.type {
	background: #de3030;
	color: #fff;
	text-align: center;
	padding: 5px;
	margin: 5px auto 0 auto;
	display: block;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

article.post.has-thumb div.post-body {
	width: 495px;
	float: left;
}

article.post h2 {
    font-size: 30px;
    font-weight: normal;
    margin-bottom: 5px;
}

article.post.page h2 {
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 1px #e0e0e0 solid;
}

article.post div.meta {
    margin-bottom: 5px;
    overflow: hidden;
}

article.post div.meta div.author-pic {
    padding: 2px;
    border: 1px #ccc solid;
    float: left;
}

article.post div.meta div.author-pic img {
    width: 25px;
    height: 25px;
	display: block;
}

article.post div.meta div.text {
    height: 30px;
    line-height: 30px;
    color: #777;
    margin: 0 0 5px 5px;
    float: left;
}

article.post div.meta span.comments {
	margin-left: 4px;
}

article.post div.meta span.comments img {
	vertical-align: middle;
	margin: -3px 3px 0 0;
}

article.post div.bio div.author-pic { /** TODO: Move to single **/
    padding: 3px;
    border: 1px #ccc solid;
    float: right;
}

article.post div.bio div.author-pic img {
    width: 60px;
    height: 60px;
	display: block;
}

div.bio-tip div.ui-tooltip-content {
    font-size: 12px;
    padding: 15px;
}

div.bio-tip h4 {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 12px;
}

div.bio-tip p {
    margin-bottom: 0;
}

div.bio-tip div.contact {
	margin-top: 10px;
	overflow: hidden;
}

div.bio-tip div.contact a {
    color: #fff;
	padding: 5px;
	margin-right: 3px;
	border: 1px #ccc solid;
	display: block;
	float: left;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

div.bio-tip div.contact a:hover {
	border-color: #bbb;
}

article.post div.content h1,
article.post div.content h2,
article.post div.content h3,
article.post div.content h4 {
	color: #195195;
	font-weight: normal;
	margin: 10px 0 5px 0;
}

article.post div.content h1 {
	font-size: 32px;
}

article.post div.content h2 {
	font-size: 28px;
}

article.post div.content h3 {
	font-size: 24px;
}

article.post div.content h4 {
	font-size: 20px;
}

article.post div.content img {
	max-width: 582px;
    height: auto;
	padding: 5px;
	border: 1px #ccc solid;
}

article.post.page div.content img {
	max-width: 665px;
}

article.post div.content p {
	margin-bottom: 10px;
}

article.post div.content ul,
article.post div.content ol {
    margin: 0 0 10px 30px;
}

article.post div.content li {
    margin-bottom: 5px;
}

article.post div.content table {
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom: 10px;
}

article.post div.content table th,
article.post div.content table td {
	background: #fafafa;
	padding: 10px;
	border: 1px #ccc solid;
}

article.post div.content table th {
	background: #195195;
	color: #fff;
	border: 1px #104689 solid;
}

article.post div.content dl {
    padding: 0 10px;
    border: 1px #ccc solid;
}

article.post div.content a.download,
a.button {
    background: #195195 url('img/icon-download.png') 10px center no-repeat;
    min-width: 110px;
    color: #fff;
    font-size: 16px;
    padding: 10px 15px;
    padding-left: 35px;
    border: 1px #104689 solid;
    display: inline-block;
    border-radius: 5px;
}

a.button {
    background-image: none;
    min-width: 0;
    font-size: inherit;
    padding: 5px 10px;
}

div#sidebar a.button {
    margin-top: 5px;
}

article.post div.post-body {
    max-width: 500px;
    float: left;
}

article.post.single div.post-body {
    max-width: none;
}

article.post div.content a.download:hover,
a.button:hover {
    background-color: #1e5aa3;
    text-decoration: none;
}

article.post div.content a.download.pdf {
    background-color: #a80000;
    border-color: #820000;
}

article.post div.content a.download.pdf:hover {
    background-color: #be0000;
}

article.post div.content pre {
	background: #fafafa;
	padding: 10px;
	margin-bottom: 10px;
	border: 1px #ccc solid;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -khtml-box-sizing: border-box;
}

article.post div.content pre ol {
	padding: 0;
	margin: 0 0 0 40px;
}

article.post div.content pre li {
	margin-bottom: 0;
}

article.post div.social {
	margin-top: 5px;
}

article.post div.social div.button {
	display: block;
	float: left;
}

article.post.single div.post-body-inner {
    position: relative;
    overflow: hidden;
}

article.post.single div.post-sidebar {
    width: 70px;
    float: left;
}

article.post.single div.post-sidebar.sticky {
    position: fixed;
    top: 0;
}

article.post.single div.post-main {
    width: 595px;
    min-height: 300px;
    float: right;
}

article.post.single div.meta div.text {
    height: auto;
    line-height: 100%;
    margin: 0 0 10px 0;
    float: none;
}

article.post.single div.bio {
    overflow: hidden;
}

article.post.single div.social {
    margin-top: 10px;
}

article.post.single div.social div.button {
    text-align: right;
    margin-top: 5px;
    float: none;
}

article.post div.related {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px #ccc solid;
    overflow: hidden;
}

article.post div.related div.post-group {
    width: 334px;
    margin-right: 10px;
    float: left;
}

article.post div.related div.post-group.right {
    margin-right: 0;
}

article.post div.related h3 {
    font-weight: normal;
    font-size: 20px;
    margin-bottom: 5px;
}

article.post div.related ul.posts li {
    background: #e5e5e5 url('img/bg-post.png') top repeat-x;
    padding: 10px;
    margin-bottom: 5px;
    border: 1px #ccc solid;    
    display: block;
    overflow: hidden;
    border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

article.post div.related ul.posts li:last-child {
    margin-bottom: 0;
}

article.post div.related ul.posts li:hover {
    background-position: -10px;
}

article.post div.related ul.posts a {
    display: block;
    overflow: hidden;
}

article.post div.related ul.posts a:hover {
    text-decoration: none;
}

article.post div.related ul.posts div.thumbnail {
    padding: 3px;
    float: left;
}

article.post div.related ul.posts img {
    width: 50px;
    height: 50px;
}

article.post div.related ul.posts div.meta {
    width: 230px;
    margin-left: 10px;
    float: left;
}

article.post div.related ul.posts h4 {
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 5px;
}

article.post div.related ul.posts span {
    color: #777;
}

section.featured {
	background: #e5e5e5 url('img/bg-post.png') top repeat-x;
	padding: 10px;
	margin-bottom: 10px;
	border: 1px #ccc solid;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

section.featured li.post {
	width: 171px;
	height: 240px;
	display: block;
	float: left;
}

section.featured li.post h2 {
	font-weight: normal;
	font-size: 16px;
	margin-bottom: 2px;
}

section.featured li.post div.thumbnail {
	padding: 5px;
	margin-bottom: 5px;
	border: 1px #ccc solid;
	float: left;
}

section.featured li.post img {
	width: 150px;
	height: 150px;
	display: block;
}

section.featured li.post div.post-body {
	padding: 0 10px;
}

section.featured div.controls {
	overflow: hidden;
}

section.featured div.controls a {
	padding: 5px;
	border: 1px #ccc solid;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

section.featured div.controls a:hover {
	border-color: #bbb;
}

section.featured div.controls a.next,
section.featured div.controls a.previous {
	width: 59px;
	text-align: center;
	float: left;
	visibility: hidden;
}

section.featured:hover div.controls a {
	visibility: visible;
}

section.featured div.controls a.next {
	float: right;
}

section.featured div.controls div.pagination {
	width: 526px;
	text-align: center;
	margin: 0 auto;
	float: left;
}

section.featured div.controls div.pagination a {
	padding-left: 8px;
	padding-right: 8px;
	margin-right: 3px;
	display: inline-block;
}

section.featured div.controls div.pagination a.selected {
	background: #195195;
	color: #fff;
}

div.post-navigation {
	overflow: hidden;
	margin: 10px 0;
}


div.post-navigation a {
	padding: 7px 10px;
	border: 1px #ccc solid;
	display: block;
	float: left;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

div.post-navigation a:hover {
	border-color: #bbb;
}

div.post-navigation div.left {
	float: left;
}

div.post-navigation div.right {
	float: right;
}

section.comments {
	margin-top: 15px;
}

h3#comments {
	font-weight: normal;
	font-size: 26px;
	margin-bottom: 5px;
}

ol.commentlist li.comment {
	background: #e5e5e5 url('img/bg-post.png') top repeat-x;
	padding: 10px;
	margin-bottom: 5px;
	border: 1px #ccc solid;
	display: block;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

ol.commentlist li.comment.depth-1 {

}

ol.commentlist li.comment div.comment-body {
	margin-bottom: 15px;
	overflow: hidden;
}

ol.commentlist li.comment div.reply {
	font-weight: bold;
	color: #4097b2;
	float: right;
}

ul.children {
	margin-top: 10px;
}

div.comment-author {
	height: 35px;
	line-height: 35px;
	float: left;
}

div.comment-author img {
	padding: 2px;
	margin-right: 5px;
	border: 1px #ccc solid;
	display: block;
	float: left;
}

div.comment-meta {
	float: right;
}

span.comment-author cite.fn {
	font-size: 14px;
	font-weight: bold;
}

div.comment-body p {
	clear: both;
	padding-top: 10px;
}

div#respond {
	margin-top: 10px;
	padding: 10px;
	background: #e5e5e5 url('img/bg-post.png') top repeat-x;
	border: 1px #ccc solid;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

div#respond h3 {
	font-size: 18px;
	font-weight: normal;
	margin-bottom: 10px;
}

div#respond input[type="text"] {
	width: 360px;
	margin-right: 5px;
}

div#respond textarea {
	width: 360px;
	height: 100px;
	margin-top: 3px;
}

div#respond input[type="submit"] {
	background: #195195;
	border: 1px #104689 solid;
	color: #fff;
	margin-top: 5px;
	display: block;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

div#respond input[type="submit"]:hover {
	background: #1e5aa3;
	cursor: pointer;
}

footer {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px #ccc solid;
	overflow: hidden;
}

footer p.copyright {
	float: left;
}

footer nav {
	float: right;
}

footer nav li {
	list-style-type: none;
	padding-left: 5px;
	margin-left: 5px;
	border-left: 1px #ccc solid;
	display: block;
	float: left;
}

footer nav li:first-child {
	border-left: none;
}
