/*!
 * Xin Style
 *---------------------------------------------*/
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}
/* General */
a {
	color: #2992C1;
}
ul, ol {
	margin-left: 2em;
}
object, embed, iframe {
	max-width: 100%;
}
body {
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	background: none;
}
/* Foundation Modificiation */
/* Top bar */
.top-bar,
.contain-to-grid,
.top-bar-section .has-form,
.top-bar-section li a:not(.button)  {
	background: #112A43;	
}

.contain-to-grid .top-bar,
.top-bar {
	margin-top: 0;
	margin-bottom: 0;
	max-width: 1080px;
}

.top-bar {
	height: 38px;
	line-height: 38px;
}

.top-bar .name {
	height: 38px;	
}
.top-bar-section li a:hover:not(.button),
.top-bar-section ul > li.active > a {
	background: #204e7b;		
}
.top-bar-section > ul > .divider {
	border-color: #163656;
}

.top-bar-section ul {
	background: #112A43;
}

.top-bar .name h3 {
	font-size: 1em;
	margin: 0;
	line-height: 38px;
}
	  
.top-bar .name h3 > a {
	font-weight: bold;
	color: #00abfd; 
	display: block;
	padding: 0 5px;
}
		
.top-bar.expanded {
	background: none;
}

.admin-bar .sticky-topbar.fixed {
	margin-top: 28px;
}

.top-bar-section ul li > a {
	font-size: 0.75em;
}

.top-bar .toggle-topbar a {
	height: 38px;
	line-height: 38px;	
}

@media only screen and (min-width: 46.875em) {
	.top-bar-section li a:not(.button) {
		line-height: 38px;
	}
	.top-bar-section .dropdown li a {
		line-height: 1;
	}
	.top-bar-section > ul > .divider,
	.top-bar-section > ul > [role="separator"] {
		height: 38px;			
	}
}
/* Table */
table,
table tr.even,
table tr.odd,
table tr.alt,
table tr:nth-of-type(2n) {
	background: none;
	border-color: rgba(0,0,0,0.1);
}

table thead,
table tfoot {
	background: none;
}

table tr.odd {
	none;	
}

table thead tr th,
table thead tr td,
table tfoot tr th,
table tfoot tr td,
table tr th,
table tr td {
	color: inherit;
	border: 1px solid #dddddd;	
}
/* grid width */
.row {
	max-width: 1080px;
}
/* WP required class */
.wp-caption {
	margin-bottom: 1em;
	max-width: 100%;
	text-align: center;
}

.wp-caption p.wp-caption-text {
	margin: 0.5em;
	color: #888;
}

.alignleft {
	display: inline;
	float: left;
	margin-right: 1em;
	margin-bottom: 1em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1em;
	margin-bottom: 1em;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 1em auto;	
}

.gallery .gallery-caption {
	margin: 0 0 1em;
	font-size: 0.8em;
}

.gallery dl {
	margin: 0;
}

.format-gallery .entry-content {
	clear: both;
}
.bypostauthor {
	
}

#content h3 {
	border-bottom: 1px solid #999;
}
/* Background */

#main {
	max-width: 1080px;
	background: #EEEEEE;
	box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.65);
	border: 1px solid #7bafdf;
	margin: 0 auto 20px;
}

.site-header {
}

#footer {
}

#content {
	min-height: 40em;
	padding-top: 1em;
}

.custom-background .site-header {
	background: none;
}

.custom-background .row-container  {
	background: #f1f1f1;
	background: rgba(250,250,250, 0.8);
	box-shadow: 5px 0 5px -5px rgba(0, 0, 0, 0.65), -5px 0 5px -5px rgba(0, 0, 0, 0.65);
}

/* Header */
#branding {
	position: relative;	
}
.site-title {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	padding: 0 2em;
}

h3#site-title {
	font-size: 3em;
	line-height: 1;	
	text-shadow: 1px 1px 0px #666, 4px 4px 0px rgba(0, 0, 0, 0.15);
	filter: Shadow(Color=#666, Direction=135, Strength=4);
	font-variant: small-caps;
}

#site-title a {
	color: #000000; 	
	text-decoration: none;
}

h3#site-description {
	font-size: 1em;
	color: #4c4c4c;
}
/* Header Slider*/
#header-slider {
	margin-left: 0;
}
#branding .bx-wrapper {
	margin: 0 auto;	
}

#branding .bx-wrapper .bx-viewport {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	border: none;
	left: 0;
	background: #fff;
}
#branding .bx-wrapper .bx-pager {
	top: -10px;
	right: 5px;
	bottom: auto;
	z-index: 2010;
	width: auto;	
}

/* Post */
.entry-title {
	font-size: 1.5em;
	line-height: 1.1em;
}

.hentry {
	margin: 0 0 1em;
	position: relative;
	padding: 1em 0;
	border-top: 1px solid #ccc;
}

.single-post-link {
	position: absolute;
	right: 5px;
	top: 45%;
	text-decoration: none;
}

#nav-above {
	display: none;
}

#nav-single {
	padding: 0.8em 0;
}
.nav-previous {
	float: left;
}

.nav-next {
	float: right;
	text-align: right;
}

.page-numbers.current {
	padding: 0.2em 0.3em;
	background: #bbe9ff;
}

.page-link {
	clear: both;
	margin: 20px 0 12px 0;
	word-spacing: 3px;
}

.page-link a {
	font-weight: normal;
	padding: 4px 6px;
	text-decoration: none;
	border: 1px solid #999;
}

.page-link a:hover {
	background: #999;
}

.entry-meta {
	font-size: 0.875em;
	line-height: 1.25;
	color: #1a5c79;
}

.entry-featured  {
	color: #d20000;	
	text-transform: uppercase;
}

.entry-meta-attachment {
	margin-bottom: 1em;	
}

.attachment img {
	display: block;	
	margin: 0 auto;

}
.entry-attachment {
	margin-top: 2em;
}

.entry-meta a {
	color: #1a5c79;
}

.meta-icon {
	margin-right: 0.3em;	
}

.entry-featured,
.meta-comment,
.entry-date,	
.by-author,	
.entry-category,
.entry-tag,
.entry-more {
	margin-right: 0.5em;
}

.entry-content {
	margin-top: 1em;
}

.edit-link {
	margin-left: 0.5em;
}

.entry-meta-summary,
.entry-meta-bottom {
	margin-top: 0.5em;
}
.entry-summary .more-link {
	color: #0C95D6;
}
/* Post Formats */
.multi .format-aside .entry-title,
.multi .format-aside .post-date-2,
.multi .format-aside .entry-meta {
	display: none;
}

.multi .format-link .entry-title,
.multi .format-link .post-date-2,
.multi .format-link .entry-meta {
	display: none;
}

.format-link .entry-summary a:before,
.format-link .entry-content a:before {
	font-family: "FontAwesome";
	content: "\f0ac";
	margin-right: 10px;
}

.format-link .entry-summary a,
.format-link .entry-content a {
	font-size: 18px;
}

.multi .format-quote .post-date-2,
.multi .format-quote .entry-title,
.multi .format-quote .entry-meta {
	display: none;	
}
.format-aside .entry-content,
.format-aside .entry-summary,
.format-quote .entry-content,
.format-quote .entry-summary {
	position: relative;
	background:#f1f1f1;
	padding: 1.5em 0.8em 0.8em 2em;
	margin: 10px 0;
	background:#f1f1f1;
	border-left: 20px solid #e1e1e1;	
}

.format-quote blockquote {
	margin: 0;
	border: none;
}
.entry-content blockquote cite {
	margin: 5px 0 0;
	display: block;
}

.format-quote .entry-content:before,
.format-quote .entry-summary:before {
	position: absolute;
	top: 30px;
	left: -5px;
	font-family: "FontAwesome";
	content: "\f10d";
	font-size: 36px;
	color: #888;
}
/* Author Information */
#author-info {
	border-top: 4px solid rgba(0, 0, 0, 0.3);
	clear: both;
	margin: 1em 0;
	overflow: hidden;
	padding: 1em;
}

#author-info #author-avatar {
	background: #e1e1e1;
	float: left;
	padding: 5px;
	margin: 0 10px 0 0;
}

#author-info #author-description {
	float: left;
}

#author-info h2 {
	font-size: 1.2em;
}
/* Full Screen*/
.fullscreen #content {
	margin-top: 10%;
	margin-bottom: 10%;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	background: rgba(180, 176, 157, 0.8);
}

.fullscreen .hentry {
	padding: 2em;
}

.fullscreen .entry-title {
	font-size: 2.2em;
	text-align: center;
}
.fullscreen .entry-content {
	font-size: 1.2em;
}

.fullscreen .entry-content a {
	color: #005f8c;
}

.fullscreen .entry-content .btn {
	color: #ffffff;	
}
.fullscreen .post-date-2,
.fullscreen .entry-meta {
	display: none;
}

.fullscreen .entry-meta .edit-link {
	display: inlne;
}
/* Post Date */
.post-date-2 {
	float: left;
	width: 52px;
	text-align: center;
	margin: 0 1em 0 0;
	border: solid 1px #bebebe;
	background-color: #fff;
	background-image: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(0,0,0,0.1) 100%);
	background-image: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(0,0,0,0.1) 100%);
	background-image: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(0,0,0,0.1) 100%);
	border-radius: 5px;
	box-shadow: 0 1px 1px rgba(0,0,0,.15);}

.post-date-2 .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: 0px;
	top: -1px;
	border: solid 1px #5984db;
	background-color: #00ABFD;
	background-image: -moz-linear-gradient(top,  rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%);
	background-image: -webkit-linear-gradient(top,  rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%);
	background-image: linear-gradient(to bottom,  rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%);
	box-shadow: 0 1px 0 rgba(0,0,0,.2);
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.post-date-2 .day {
	color: #666;
	padding: 2px 0 1px;
	font: bold 18px/100% Arial, Helvetica, sans-serif;
	display: block;
}
.post-date-2 .year {
	color: #999;
	padding: 0 0 4px;
	font: 10px/100% Arial, Helvetica, sans-serif;
	display: block;
}
.img-magzine,
.img-polaroid {
	padding: 3px;
	width: 100%;
	background-color: #fff;
	border: 1px solid #ccc;
	border: 1px solid rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.img-magzine {
	width: auto;
	max-width: 40%;
}
.featured-image {
	margin-bottom: 1.5em;
}

.fullscreen-image {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  min-height: 100%;
  min-width: 1024px;
  width: 100%;
  height: auto;	
}

@media screen and (max-width: 1024px) { 
  .fullscreen-image {
    left: 50%;
    margin-left: -512px;
  }
}
.featured-container {
	position: absolute;
	left: 0px;
	top: 1em;
	color: #ff5959;
}

.thumb-magazine .featured-container {
	top: 0;
	left: 1em;	
}
.featured-container .icon-star {
	margin-left: 5px;
}
/* Post Summary */
.post-thumbnail {
	display: inline;
	float: left;
	margin-right: 0.875em;
	margin-bottom: 0.875em;
}

.xinwp_recent_post {
	position: relative;
}
.xinwp_recent_post .hentry {
	padding: 0;
	margin-bottom: 1em;
	border: none;
}

.xinwp_recent_post .entry-title {
	font-size: 1.1em;
	line-height: 1.2;
}
.xinwp_recent_post_link {
	position: absolute;
	top: 8px;
	right: 6px;
}

/* Comments */
.commentlist,
.children {
	margin: 0;
	list-style: none;
	font-size: 14px;
}

.children {
	margin-left: 2em
	
}
.comment-meta .avatar {
    border: 1px solid #ccc;
    padding: 3px;
	margin-right: 5px;
}
.commentlist p {
	margin: 0.35em 0;
}

.commentlist a {
	color: #333;
}
article.comment,
li.pingback {
	clear: both;
	overflow: hidden;
	padding: 0.5em;
    position: relative;
	border-bottom: 1px solid #ccc;
}
a.comment-reply-link {
	background-color: #7bb4ec;
	background: -webkit-gradient(linear, left top, left bottom, from(#7bb4ec), to(#468cd4));
	background: -moz-linear-gradient(top, #7bb4ec, #468cd4);
	background: linear-gradient(#7bb4ec, #468cd4);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#7bb4ec, endColorstr=#468cd4);
	border-radius: 3px;
	color: #eee;
    cursor: pointer;
    display: inline-block;
	float: right;
    opacity: 0.6;
    padding: 0 1em;
    text-align: center;
    text-shadow: 1px 1px #3e79b9;
}
a.comment-reply-link:hover {
	opacity: 1;
}
.form-allowed-tags {
	display: none;
}
#respond {
	clear: both;
}
/* Widgets */
.widget-container {
	margin-top: 1em;
	margin-bottom: 1em;
}

#nav-widget .widget-container {
	margin: 0;
}

.widget-area ul {
	list-style: none;
	margin: 0px;
	padding: 0;
}

.widget-area ul ul ul {
	margin-left: 0.8em;
}

.widget_recent_comments ul li {
	padding: 5px;	
	border-bottom: 1px solid #e1e1e1;	
}

.widget_rss ul li,
.widget_nav_menu ul li,
.widget_pages ul li,
.widget_meta ul li,
.widget_archive ul li,
.widget_recent_entries ul li,
.widget_categories ul li {
	position: relative;
	margin: 0;
}
.widget_rss ul li a,
.widget_nav_menu ul li a,
.widget_meta ul li a,
.widget_recent_entries ul li a,
.widget_pages ul li a,
.widget_archive ul li a,
.widget_categories ul li a {
	display: block;
	padding: 5px;
	text-decoration: none;
	border-bottom: 1px solid #e1e1e1;
}

.widget_rss ul li a:hover,
.widget_recent_comments ul li a:hover,
.widget_nav_menu ul li a:hover,
.widget_meta ul li a:hover,
.widget_recent_entries ul li a:hover,
.widget_pages ul li a:hover,
.widget_archive ul li a:hover,
.widget_categories ul li a:hover {
	background: #e1e1e1;
}

.widget_rss ul li a:before,
.widget_nav_menu ul li a:before,
.widget_meta ul li a:before,
.widget_recent_entries ul li a:before,
.widget_pages ul li a:before,
.widget_archive ul li a:before,
.widget_categories ul li a:before {
	font-family: "FontAwesome";
	content: "\f105";
	margin-right: 0.3em;	
}

.widget_archive ul li span,
.widget_categories ul li span {
	position: absolute;
	top: 3px;
	right: 10px;
	color: #999;
}

.widget-title {
	font-size: 1.2em;
	border-top: 3px solid #6B7B84;
	border-bottom: 1px solid #6B7B84;
	color: #6B7B84;
	padding: 0.25em 0;
	margin-bottom: 0;
}

#footer-widget-area .widget-title {
	border-top: none;
	border-bottom: 1px solid #d1d1d1;
}

#nav-widget .widget-title,
#header-widget .widget-title {
	display: none;
}

#searchsubmit,
.widget_search label {
	display: none;
}

.search-query {
	max-width: 15em;
}

#topbar .search-query {
	width: 8em;
	background: #999;
	border: none;
}
#wp-calendar {
	width: 100%;
}
#wp-calendar th,
#wp-calendar td {
	padding: 0;
	text-align: center;
}
/* Navigation Tabs */
.xinwp_navigation .section-container.tabs > section > .title a {
	padding: 0.25em 0.5em;
}
/* Section Menu */
.section-menu {
	background: #12304C;
	padding: 0;
	top: -1px;
	position: relative;
}

.section-menu ul {
	float: left;
	padding: 0;
	margin: 0;
	list-style: none;
	position: relative;
	display: inline-block;
}

.section-menu #searchform {
	float: right;
	margin: 8px 10px;
	padding: 0;
}

.section-menu .search-query {
	margin: 0;
	height: 2em;
	background: #163c5c;
	border: none;
}

.section-menu ul ul {
	display: none;
}

.section-menu ul li:hover > ul {
	display: block;
	z-index: 99;
}

.section-menu ul:after {
	content: "";
	clear: both;
	display: block;
}

.section-menu ul li {
	float: left;
	position: relative;
}

.section-menu ul li:hover {
	background: #4b545f;
	background: linear-gradient(top, #4f5964 0%, #5f6975 40%);
	background: -moz-linear-gradient(top, #4f5964 0%, #5f6975 40%);
	background: -webkit-linear-gradient(top, #4f5964 0%,#5f6975 40%);
}

.section-menu ul li:hover a {
	color: #fff;
}
		
.section-menu ul li a {
	display: block;
	padding: 10px 20px;
	color: #eee;
	text-decoration: none;
	border-right: 1px solid #1a456c;
}
			
.section-menu ul ul {
	background: #5f6975;
	padding: 0;
	position: absolute;
	top: 45px;
	min-width: 150px;
}

.section-menu ul ul li {
	float: none; 
	border-top: 1px solid #6b727c;
	border-bottom: 1px solid #575f6a;
	position: relative;
}

.section-menu ul ul li a {
	padding: 5px 10px;
	color: #fff;
	font-size: 0.9em;
}

.section-menu ul ul li a:hover {
	background: #4b545f;
}

.section-menu ul ul ul {
	position: absolute;
	left: 98%;
	top: 0;
	min-width: 100%;
}

.section-menu > ul > li.current-menu-parent:after,
.section-menu > ul > li.current-menu-item:after {
	content: '';
	position: absolute;
	top: 39px;
	left: 45%;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid #EEEEEE;
}

.section-menu > ul > li.current-menu-parent:hover:after,
.section-menu > ul > li.current-menu-item:hover:after {
	content: '';
	border: none;
}
/* Responsive Menu */
.tinynav { display: none }
/* styles for mobile */
@media screen and (max-width: 480px) {
	.tinynav { display: block }
	.section-menu .menu { display: none }
}
/* Footer Menu */
.footer-menu {
	display: block;
	text-align: center;
	margin: 0;
}

.footer-menu ul {	
	padding: 0;
	margin:  0;
	list-style:none;
}

.footer-menu ul li ul,
.footer-menu ul li {
	display: inline;
}

.footer-menu ul li a {
	padding: 0 8px;
}

.footer-menu ul li {
	border-right: 1px solid #999;	
}

.footer-menu ul li:last-child {
	border-right: none;	
}

.footer-menu ul li ul li:first-child {
	border-left: 1px solid #999;		
}
/* Footer */
#footer {
	font-size: 0.8em;
	padding: 0.5em 1em;
}

.fullscreen #footer {
	position: fixed;
	width: 100%;
	bottom: 0;
}
#footer-widget-area {
	font-size: 0.8em;
	margin-top: 3em;
}

#footer-widget-area .widget-container ul li,
#footer-widget-area .widget-container ul li a {
	border-bottom: none;
}
#site-info,
#site-generator {
	color: #292929;
	line-height: 1.5;
}

#site-info a,
#site-generator a {
	color: #292929;
	text-decoration: none;
}

#site-generator {
	font-style: italic;
	text-align: right;
	color: #999;	
}

img#wpstats {
	display: none;
	margin: 0 auto 10px;
}
/* Back to top button */
.back-to-top {
	position: fixed;
	bottom: 10px;
	right: 10px;
}
.back-to-top a {
	color: #000;
	padding: 5px;
	background: #e1e1e1;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	text-decoration: none;
}

.back-to-top a:hover {
	background: #c1c1c1;
}

/* Portfolio */
.portfolio > .item > .hentry {
	margin: 0;
    word-wrap: break-word;
	padding: 1em;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background: #f5f5f5;
}
.portfolio .item {
	display: inline;
	float: left;
	margin: 10px 0.9% 10px 1%;
	width: 98%;
}

.portfolio.column-2 .item {
	width: 48%;
}

.portfolio.column-2 .item.sticky {
	width: 98%;
}

.portfolio.column-3 .item {
	width: 31.33%;
}

.portfolio.column-3 .item.sticky {
	width: 64.66%;
}

.portfolio.column-4 .item {
	width: 23%;
}

.portfolio.column-4 .item.sticky {
	width: 48%;
}

.portfolio .pagination  {
	display: none;
}


#infscr-loading { 
  text-align: center;
  z-index: 100;
  position: absolute;
  background: #999;
  color: #000;
  left: 45%;
  bottom: 10px;
  width: 200px;
  padding: 10px;
  opacity: 0.8;
  -webkit-border-radius: 10px;
     -moz-border-radius: 10px;
          border-radius: 10px;
}
/* Tablet Portrait and below */
@media screen and (max-width: 767px) {

.flexslider .slides > li {
	height: auto;
}

.footer-menu {
	clear: both;
}

.portfolio.column-4 .item {
	width: 48%;
}

.portfolio.column-2 .item.sticky,
.portfolio.column-3 .item.sticky,
.portfolio.column-4 .item.sticky {
	width: 98%;
}

}

/* Phones */
@media screen and (max-width: 480px) {

.site-title {
	display: block;
	text-align: center;
}

h3#site-title {
	font-size: 2em;
}

h3#site-description {
	font-size: 0.9em;
}

#site-info,
#site-generator {
	float: none !important;
	text-align: center;
	display: block;
}

.portfolio.column-2 .item,
.portfolio.column-3 .item,
.portfolio.column-4 .item {
	width: 98%;
}
	
.hentry {
	margin: 0 0 1em;
	padding: 0;
}

.slider-caption {
	display: none;
}
}
/* print */
@media print {

	h1 {
		page-break-before: always;
	}

	h1,  h2,  h3,  h4,  h5,  h6 {
		page-break-after: avoid;
	}

	ul,  ol,  dl {
		page-break-before: avoid;
	}
}