/*  
Theme Name: iTheme2
Theme URI: http://themify.me/themes/itheme2
Version: 1.2.8
Author: Themify
Author URI: http://www.themify.me

---------

DO NOT EDIT THIS FILE.

If you need to overwrite the CSS styling, create a new custom_style.css 
in the theme folder and it will automatically load in the <head>.

*/

/************************************************************************************
RESET
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
	margin: 0;
	padding: 0;
}
img, fieldset {
	border: 0;
}

/* set img max-width */
img {
	max-width: 100%;
	height: auto;
	box-sizing: border-box;
}
/* ie 8 img max-width */
@media \0screen {
  img { width: auto;}
}

/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

/************************************************************************************
GENERAL STYLING
*************************************************************************************/
body {
	background: #0d1424 url(images/body-bg.jpg) no-repeat center top;
	font: .81em/150% "Lucida Grande", Arial, "Lucida Sans Unicode", sans-serif;
	word-wrap: break-word;
	color: #666;
}
p {
	margin: 0 0 1.2em;
	padding: 0;
}
a {
	text-decoration: none;
	outline: none;
	color: #026acb;
}
a:hover {
	text-decoration: underline;
}
small {
	font-size: 87%;
}
em, i {
}
ul, ol {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	line-height: 140%;
}
li {
	margin: 0 0 .5em 0;
	padding: 0;
}
blockquote {
	font: italic 15px/130% "Times New Roman", Times, serif;
	padding: 8px 30px 15px;
}
h1, h2, h3, h4, h5, h6 {
	line-height: 1.4em;
	margin: 20px 0 .4em;
	color: #333;
	text-shadow: 0 1px 1px rgba(0,0,0,.2);
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.6em;
}
h3 {
	font-size: 1.4em;
}
h4 {
	font-size: 1.2em;
}
h5 {
	font-size: 1.1em;
}
h6 {
	font-size: 1em;
}

/* form input */
input, textarea, select, button {
	font-size: 100%;
	font-family: inherit;
}
textarea {
	line-height: 150%;
	width: 96%;
}
input[type=text], input[type=password], textarea {
	border: solid 1px #ccc;
	padding: 5px 7px;
	background: #f0f0f0;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
textarea:focus, input[type=password]:focus, input[type=text]:focus {
	border: solid 1px #666;
	background: #fff;
	outline: none;
}

/* form button */
input[type=reset], input[type=submit], button {
	color: #fff;
	line-height: 100%;
	border: none;
	padding: 5px 7px;
	cursor: pointer;
	color: #fff;
	padding: 5px 20px;
	cursor: pointer;
	border: solid 1px #333;
	background: #333;
	background: -webkit-gradient(linear, left top, left bottom, from(#66f), to(#00f));
	background: -moz-linear-gradient(top,  #66f,  #00f);
	-webkit-border-radius: 10em; 
	-moz-border-radius: 10em;
	border-radius: 10em;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
	text-shadow: 0 -1px 0 rgba(0,0,0,.9);
}
input[type=reset]:hover, input[type=submit]:hover, button:hover {
	background: #333;
	color: #fff;
}

/************************************************************************************
HEADER
*************************************************************************************/
#header {
	position: relative;
	height: 260px;
	margin-bottom: 20px;
	z-index: 1000;
}
#site-logo {
	position: absolute;
	top: 230px;
}
#site-logo a {
	font: bold 190%/110% Arial, Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
	padding-bottom: 2px;
}
#site-description {
	color: #ddd;
	position: absolute;
	top: 230px;
	font: italic 100%/120% Georgia, "Times New Roman", Times, serif;
}

/************************************************************************************
HEADER WIDGET
*************************************************************************************/
.header-widget {
	position: absolute;
	top: 10px;
	right: 0;
}
.header-widget .widget {
	border: none;
	float: left;
	margin: 0 0 15px 0;
	padding: 0;
	background: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.header-widget .widgettitle {
	font-size: 100%;
	width: auto;
	display: block;
	float: left;
	margin: 0 8px 2px;
	padding: 0;
	background: none;
	border: none;
	color: #fff;
	text-shadow: none;
	position: static;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.header-widget div {
	float: left;
}

/************************************************************************************
SOCIAL WIDGET
*************************************************************************************/
.social-widget {
	position: absolute;
	top: 220px;
	right: 10px;
	font-size: 95%;
	line-height: 120%;
	text-align: right;
}
.social-widget a {
	color: #fff;
}
.social-widget .widget {
	border: none;
	float: left;
	margin: 0 5px 0 0;
	padding: 0;
	background: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.social-widget .widget div {
	float: left;
}
.social-widget .widgettitle {
	font-size: 100%;
	width: auto;
	display: block;
	float: left;
	margin: 0 8px 2px;
	padding: 0;
	background: none;
	border: none;
	color: #fff;
	text-shadow: none;
	position: static;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.social-widget ul {
	margin: 6px 0 0 !important;
	padding: 0;
	float: left;
}
.social-widget ul li {
	margin: 0 8px 5px 0;
	padding: 0;
	float: left;
	border: none;
	clear: none;
	line-height: 100%;
}
.social-widget li img {
	vertical-align: middle;
	margin-top: -5px;
}

/* rss button */
.social-widget .rss {
	float: left;
}
.social-widget .rss a {
	background: url(images/rss.png) no-repeat left center;
	padding: 5px 0 5px 30px;
	display: inline-block;
	zoom:1;
	*display:inline;
}

/************************************************************************************
SEARCH FORM
*************************************************************************************/
#header #searchform {
	position: absolute;
	bottom: 9px;
	right: 10px;
	z-index: 101;
}
#header #searchform #s {
	border: none;
	width: 120px;
	padding-left: 28px;
	background: #e1e1e1 url(images/search.png) no-repeat 8px center;
	-webkit-box-shadow: 0 -1px 0 rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.3);
	-moz-box-shadow: 0 -1px 0 rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.3);
	box-shadow: 0 -1px 0 rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.3);
}

/************************************************************************************
MAIN NAVIGATION
*************************************************************************************/
#nav-bar {
	width: 100%;
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 100;
	border: solid 1px #333;
	background: #6a6a6a url(images/nav-bar-bg.png) repeat-x;
	background: -webkit-gradient(linear, left top, left bottom, from(#7BACFD), to(#0651FA));
	background: -moz-linear-gradient(top,  #7BACFD,  #0651FA);
	background: linear-gradient(-90deg, #7BACFD, #0651FA);
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 0 rgba(0,0,0,.3), 0 1px 3px rgba(0,0,0,.3);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 0 rgba(0,0,0,.3), 0 1px 3px rgba(0,0,0,.3);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 0 rgba(0,0,0,.3), 0 1px 3px rgba(0,0,0,.3);
}
#main-nav {
	margin: 0;
	padding: 0;
}
#main-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	position: relative;
	border-right: solid 1px #575757;
	-webkit-box-shadow: 1px 0 0 rgba(255,255,255,.1), inset -1px 0 0 rgba(255,255,255,.1);
	-moz-box-shadow: 1px 0 0 rgba(255,255,255,.1), inset -1px 0 0 rgba(255,255,255,.1);
	box-shadow: 1px 0 0 rgba(255,255,255,.1), inset -1px 0 0 rgba(255,255,255,.1);
}
#main-nav li:hover {
	background: #474747;
	background: -webkit-gradient(linear, left top, left bottom, from(#7BACFD), to(#0651FA));
	background: -moz-linear-gradient(top,  #7BACFD,  #0651FA);
	background: linear-gradient(-90deg, #7BACFD, #0651FA);
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
/* home icon */
#main-nav .home {
	width: 42px;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-bottomleft: 6px;
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
}
#main-nav .home a {
	background: url(images/home-icon.png) no-repeat 14px center;
	width: 16px;
	text-indent: -9000em;
}
#main-nav .home a:hover, #main-nav .home.current_page_item a, #main-nav .home.current-menu-item a {
	background-position: -41px center;
}
/* home icon current */
#main-nav .home.current_page_item, #main-nav .home.current-menu-item {
	-webkit-border-top-left-radius: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-bottomleft: 6px;
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
}
/* main level link */
#main-nav a {
	color: #fff;
	display: block;
	padding: 14px 15px;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0,0,0,.7);
}
/* main level link :hover */
#main-nav a:hover {
	color: #fff;
}
/* current page li */
#main-nav .current_page_item, #main-nav .current-menu-item {
	border-left: solid 1px #000;
	border-right: solid 1px #000;
	background: #474747;
	background: -webkit-gradient(linear, left top, left bottom, from(#7BACFD), to(#0651FA));
	background: -moz-linear-gradient(top,  #7BACFD,  #0651FA);
	background: linear-gradient(-90deg, #7BACFD, #0651FA);
	-webkit-box-shadow: inset 0 2px 8px rgba(0,0,0,.8);
	-moz-box-shadow: inset 0 2px 8px rgba(0,0,0,.8);
	box-shadow: inset 0 2px 8px rgba(0,0,0,.8);
}
/* current link */
#main-nav .current_page_item a, #main-nav .current-menu-item a {
	color: #fff;
}
/* current link :hover */
#main-nav .current_page_item a:hover, #main-nav .current-menu-item a:hover {
	color: #fff;
}
/* sub-levels current page li */
#main-nav ul .current_page_item, #main-nav ul .current-menu-item {
	border: none;
	background: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
/* sub-levels link */
#main-nav ul a, #main-nav .current_page_item ul a, #main-nav ul .current_page_item a, #main-nav .current-menu-item ul a, #main-nav ul .current-menu-item a {
	color: #666;
	font-size: 95%;
	font-weight: normal;
	padding: 5px 0 5px 15px;
	margin: 0;
	width: 180px;
	height: auto;
	background: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	text-shadow: none;
}
/* sub-levels link :hover */
#main-nav ul a:hover, #main-nav .current_page_item ul a:hover, #main-nav ul .current_page_item a:hover, #main-nav .current-menu-item ul a:hover, #main-nav ul .current-menu-item a:hover {
	background: #F3F3F3;
	color: #000;
	color: black;
}
/* dropdown ul */
#main-nav ul {
	border: solid 1px #ccc;
	background: #fff;
	margin: 0;
	padding: 5px 0;
	list-style: none;
	position: absolute;
	z-index: 100;
	display: none;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.3);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.3);
	box-shadow: 0 1px 2px rgba(0,0,0,.3);
}
#main-nav ul li {
	background: none;
	padding: 0;
	margin: 0;
	height: auto;
	border: none;
	float: none;
}
#main-nav ul li:hover {
	background: none;
}
/* sub-levels dropdown */
#main-nav ul ul {
	left: 190px;
	top: 5px;
}
/* show dropdown ul */
#main-nav li:hover > ul {
	display: block;
}

/************************************************************************************
SLIDER
*************************************************************************************/
#header-slider {
	position: relative;
	padding: 20px 20px 5px;
	margin: 0 0 20px;
	background: #fff;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
	/* hide slider and then expand by js */
	height: 0;
	visibility: hidden;
}
#header-slider .slides {
	margin: 0;
	padding: 0;
	overflow: hidden;
}
#header-slider .slides li {
	margin: 0 0px 10px 0;
	padding: 0;
	list-style: none;
	float: left;
	text-align: center;
}
#header-slider .slides h3 {
	margin: 5px 0 2px;
	padding: 0;
	font-size: 85%;
	font-weight: normal;
	line-height: 140%;
	text-align: center;
}
#header-slider .carousel-nav-wrap{
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
}
#header-slider .carousel-nav-wrap a {
	background: url(images/slider-nav-left.png) no-repeat;
	width: 25px;
	height: 48px;
	margin-top: -30px;
	display: block;
	text-indent: -900em;
}
#header-slider .carousel-nav-wrap .carousel-prev{
	position: absolute;
	left: -22px;
}
#header-slider .carousel-nav-wrap .carousel-next{
	background-image: url(images/slider-nav-right.png);
	position: absolute;
	right: -22px;
}

/************************************************************************************
POST
*************************************************************************************/
.post {
	margin: 0 0 45px;
	position: relative;
}

/* post content */
.post-content {
	min-width: 120px;
}

/* post title */
.post-title {
	margin: 0 0 5px;
	padding: 5px 36px 0 0;
	font: bold 170%/120% "Lucida Grande", Arial, "Lucida Sans Unicode", sans-serif;
}
.post-title a {
	color: #333;
	text-decoration: none;
}

/* post date */
.post-date {
	font-weight: bold;
	margin: 10px 0 5px;
}
.list-post .post-date {
	float: left;
	width: 52px;
	text-align: center;
	margin: 0 12px 5px 0;
	border: solid 1px #bebebe;
	background: #fff;
	background: -webkit-gradient(linear, left top, left bottom, from(#7BACFD), to(#0651FA));
	background: -moz-linear-gradient(top,  #7BACFD,  #0651FA);
	background: linear-gradient(-90deg, #7BACFD, #0651FA);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.15);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,.15);
	box-shadow: 0 1px 1px rgba(0,0,0,.15);
}
.list-post .post-date .month {
	color: #fff;
	font: 11px/100% Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	display: block;
	padding: 2px 0;
	width: 100%;
	position: relative;
	left: -1px;
	top: -1px;
	border: 0; /*solid 1px #a11216;*/
	background: #cb151b;
	background: -webkit-gradient(linear, left top, left bottom, from(#7BACFD), to(#0651FA));
	background: -moz-linear-gradient(top,  #7BACFD,  #0651FA);
	background: linear-gradient(-90deg, #7BACFD, #0651FA);
	-webkit-box-shadow: 0 1px 0 rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 0 rgba(0,0,0,.2);
	box-shadow: 0 1px 0 rgba(0,0,0,.2);
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
.list-post .post-date .day {
	color: #fff;
	padding: 2px 0 1px;
	font: bold 18px/100% Arial, Helvetica, sans-serif;
	display: block;
}
.list-post .post-date .year {
	color: #fff;
	padding: 0 0 4px;
	font: 10px/100% Arial, Helvetica, sans-serif;
	display: block;
}


/************************************************************************************
PAGE NAVIGATION
*************************************************************************************/
.pagenav {
	clear: both;
	padding: 7px 5px 0;
	text-align: right;
}
.pagenav a, .pagenav span {
	background: #026acb;
	color: #fff;
	line-height: 100%;
	text-decoration: none;
	padding: 5px 7px;
	margin-left: 2px;
	vertical-align: middle;
	display: inline-block;
	zoom:1;
	*display:inline;
	-webkit-border-radius: 10em;
	-moz-border-radius: 10em;
	border-radius: 10em;
	color: #d9eef7;
	border: solid 1px #333;
	background: #333;
	background: -webkit-gradient(linear, left top, left bottom, from(#66f), to(#00a));
	background: -moz-linear-gradient(top,  #66f,  #00a);
	-webkit-border-radius: 10em; 
	-moz-border-radius: 10em;
	border-radius: 10em;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
	text-shadow: 0 -1px 0 rgba(0,0,0,.9);
}
.pagenav a:hover {
	text-decoration: none;
	background: #333;
}
.pagenav .current {
	background: #999;
	color: #fff;
	border: none;
	border: solid 1px #888;
}

/************************************************************************************
COMMENTS
*************************************************************************************/

.commentlist .comment-reply-link {
	padding: 3px 8px;
	display: block;
	font: 10px/100% Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	letter-spacing: .08em;
	text-decoration: none;
	color: #666;
	-webkit-border-radius: 1em;
	-moz-border-radius: 1em;
	border-radius: 1em;
	text-shadow: 0 1px 0 rgba(255,255,255,.7);
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.3);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,.3);
	box-shadow: 0 1px 1px rgba(0,0,0,.3);
	background: #eee;
	background: -webkit-gradient(linear, left top, left bottom, from(#99ccff), to(#7BACFD));
	background: -moz-linear-gradient(top,  #99ccff, #7BACFD);
	background: linear-gradient(-90deg, #99ccff, #7BACFD);
}
.commentlist .comment-reply-link:hover {
	text-decoration: none;
	color: #000;
}
/* comment form */
#respond {
	margin: 40px 0 30px;
	padding: 10px 0 0;
	position: relative;
	clear: both;
}
#respond .cancel-comment-reply a {
	position: absolute;
	top: 10px;
	right: 0;
	display: block;
	font-size: 85%;
	text-decoration: none;
	padding: 1px 10px;
	color: #fff;
	color: #faddde;
	border: solid 1px #980c10;
	background: #d81b21;
	background: -webkit-gradient(linear, left top, left bottom, from(#ed1cff), to(#aa13ff));
	background: -moz-linear-gradient(top,  #ed1cff,  #aa13ff);
	-webkit-border-radius: 10em; 
	-moz-border-radius: 10em;
	border-radius: 10em;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}

/************************************************************************************
SIDEBAR
*************************************************************************************/
.widgettitle {
	width: 100%;
	display: block;
	padding: 6px 18px 7px 18px;	
	margin: 0 0 -5px 0;
	position: relative;
	left: -18px;
	top: -16px;
	border-top: solid 1px #f5f5f5;
	border-bottom: solid 1px #848484;
	font: bold 14px/110% "Lucida Grande", Arial, "Lucida Sans Unicode", sans-serif;
	color: #333;
	background: #a9a9ff url(images/widgettitle-bg.png) repeat-x;
	background: -webkit-gradient(linear, left top, left bottom, from(#99ccff), to(#7BACFD));
	background: -moz-linear-gradient(top,  #99ccff, #7BACFD);
	background: linear-gradient(-90deg, #99ccff, #7BACFD);
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.15);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,.15);
	box-shadow: 0 1px 1px rgba(0,0,0,.15);
	text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

#footer .footer-text a {
	color: #ffffff;
}
#footer .footer-text a:hover {
	color: #ffffff;
}