/*
Theme Name: Calmer
Theme URI: http://themes.uxbarn.com/redirect.php?theme=calmer_wp
Description: Simple yet beautiful personal blog theme. You can follow me on Twitter for any update notification: <a href="https://twitter.com/uxbarn">Follow me on Twitter</a>

Author: UXbarn
Author URI: http://themeforest.net/user/UXbarn?ref=UXbarn
Version: 1.0.3
License: GPL, ThemeForest License
License URI: http://codex.wordpress.org/GPL, http://themeforest.net/licenses
Tags: white, black, gray, light, one-column, responsive-layout, custom-background, custom-colors, custom-menu, featured-images, post-formats, sticky-post, theme-options, translation-ready
Text Domain: uxbarn
*/

/* Table of Content
 ==================================================
 #General Styles
 #Page Structure
 #Blog Page
 #Elements
 #Widgets and Plugins
 #Custom CSS of Foundation Framework
*/

/* #General Styles
================================================== */
*:focus {
	outline: none;
}

html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

body {
	background-color: #F6F6F6;
	border-top: 5px solid #D0C289;
	font-family: 'Fauna One', serif;
	font-size: 14px;
	line-height: 1.75;
}

#root-container a {
	color: #000;
	font-weight: bold;
	text-decoration: none;
	transition: all .12s ease-in-out;
   -moz-transition: all .12s ease-in-out;
   -webkit-transition: all .12s ease-in-out;
   -o-transition: all .12s ease-in-out;
}

#root-container .custom-text-color a {
	color: inherit;
	font-weight: bold;
	text-decoration: underline;
}

#root-container .custom-text-color a:hover {
	color: inherit;
}

body #root-container a:hover {
	color: #777;
}

#root-container p {
	line-height: 1.75;
	margin-bottom: 20px;
}

#root-container p:last-child {
}

#root-container .content-width {
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
	width: 1250px;
}

.full-width,
.full-width-js {
	width: 100%;
}

hr {
	border: 0;
	border-top: 1px solid #D2D2D2; /*#d8d8d8;*/
}

#page-content-wrapper hr,
#root-container .single-content-wrapper hr {
	margin: 40px auto;
}

.site-line {
	margin: 14px 0 16px;
	width: 625px;
	margin: 25px auto;
	border-color: #ddd; /*#D0C289;*/
}

.site-line.footer-section {
	margin-top: 60px;
	margin-bottom: 60px;
}

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

.extra-margin-top {
	margin-top: 50px !important;
}

.no-margin-bottom {
	margin-bottom: 0 !important;
}

.no-padding-bottom {
	padding-bottom: 0 !important;
}

#root-container .bg-fill {
	background-repeat: no-repeat;
	background-position: center center;
	/*background-attachment: fixed;*/
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}





strong {
	color: #3b3b3b;
	font-weight: bold;
}

label {
	
}

form {
	margin-bottom: 0;
}

code, 
kbd,
tt {
    background: #efefef;
    color: #000;
    display: inline-block;
    font-family: Courier, serif;
    padding: 0 6px;
}

pre {
    background: #efefef;
    color: #000;
    font-family: Courier, serif;
    margin-bottom: 20px;
    overflow: auto;
    padding: 6px;
}

sub {
	font-size: x-small;
	vertical-align: sub;
}

sup {
	font-size: x-small;
	vertical-align: super;
}

em,
q,
var {
	font-style: italic;
}

/* List Item */
ul,
ol {
	list-style: square;
	margin-bottom: 15px;
	margin-left: 10px;
}

ol {
	list-style: decimal;
}

li {
	line-height: 1.75;
	margin-left: 18px;
	margin-bottom: 12px;
	margin-top: 12px;
}

li:last-child {
	margin-bottom: 0;
}


/***** WP Specific Classes *****/
.alignleft {
	float: left;
	margin: 0 20px 8px 0;
}

.alignright {
	float: right;
	margin: 0 0 8px 20px;
}

.aligncenter {
	float: none;
	margin: auto;
	text-align: center;
}

img.aligncenter {
	display: block;
}

.wp-caption {
	margin-bottom: 20px;
	max-width: 100%;
}

.sticky.fixed {
	position: static;
	z-index: 1;
}

.sticky-badge {
    display: inline-block;
    line-height: 1;
    margin: 0 10px 0 0;
}

.bypostauthor {
	
}

#root-container .wp-caption-text {
	color: #777;
	font-size: 12px;
	font-style: italic;
	line-height: 1.6;
	margin-top: 15px;
	margin-bottom: 0;
	text-align: center;
}

#root-container .custom-text-color .wp-caption-text {
	color: inherit;
}


/***** Table Styles *****/
table {
	border: 1px solid #e7e7e7;
	border-spacing: 0;
	border-collapse: collapse;
	margin-bottom: 30px;
	width: 100%;
}

table th, table td {
	border: 1px solid #ccc;
	padding: 5px;
}

table th {
	color: #3b3b3b;
	font-size: 14px;
	font-weight: bold;
	padding: 5px;
}

table tbody td {
}

table tfoot td {
}

/***** Definition List *****/
dl {
    margin-bottom: 22px;
}
  
dt {
	float: left;
	clear: left;
	width: 150px;
	text-align: right;
	font-weight: bold;
}

dt:after {
	content: ':';
}

dt.wp-caption-dt:after {
	content: '';
}

dd {
	margin: 0 0 0 160px;
	padding: 0 0 15px 0;
}

/***** MISC *****/
abbr,
acronym {
	text-transform: uppercase;
}

address {
	margin-bottom: 20px;
}


/***** Blockquote *****/
blockquote {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #A5A5A5;
    font-family: 'Ovo', serif;
    font-size: 20px;
    font-style: italic;
    line-height: 1.4;
    margin: 0;
    padding: 15px 30px;
}

.custom-text-color blockquote {
	color: inherit;
}

#root-container blockquote p {
	line-height: 1.4;
	text-align: left;
}

blockquote.left,
blockquote.right {
	padding: 12px 20px;
	width: 30%;
}

blockquote.left {
	padding-left: 0;
}

blockquote.right {
	padding-right: 0;
}

blockquote cite {
	color: #000;
    display: block;
	font-family: 'Fauna One', sans-serif;
    font-size: 12px;
    font-weight: bold;
	line-height: 1.5;
    margin-top: 18px;
}

blockquote cite,
#root-container blockquote cite a {
	font-style: normal;
}

blockquote cite:before {
    content: "\2014 \0020";
}


/* #Page Structure
================================================== */
#root-container {
	padding: 50px 0;
	position: relative;
}

#header-container {
	margin-bottom: 0;
	/* display: none; */
}

#content-container {
	color: #4c4c4c;
	font-family: 'Fauna One', serif;
}

/*** Logo & Tagline ***/
#logo-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

#logo-wrapper img {
	vertical-align: inherit; /* override Foundation's */
}

#logo-wrapper h1 {
    display: inline-block;
    font-size: 60px;
    font-weight: 400;
    line-height: 1;
    /*font-family: 'Allura';*/
   	font-family: 'Ovo', serif;
}

#logo-wrapper #logo-link {
	font-style: normal;
	display: inline-block;
	color: #181818;
	line-height: 1;
	margin-bottom: 20px;
}

#logo-wrapper #logo-link:hover {
    color: #181818;
}

#root-container #search-menu-wrapper {
	overflow: visible;
	text-align: center;
	
	position: relative;
}

#tagline {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	color: #000000;
	font-family: 'Ovo', serif;
	font-size: 13px;
	margin-top: -10px;
}

/* For "no-tagline" option */
#header-container.no-tagline #logo-link {
	margin-bottom: 0;
}


/*** Center Header ***/
#header-container.center-header #tagline {
	display: block;
	float: none;
	text-align: center;
	width: 100%;
}

#header-container.center-header #menu-wrapper {
	display: block;
	float: none;
	margin: auto;
	text-align: center;
	max-width: 80%;
}

#header-container.center-header #logo-wrapper {
	margin-bottom: 20px;
	text-align: center;
}



/*** Menu ***/
#menu-wrapper {
	display: inline-block;
	max-width: 50%;
}

#menu-wrapper ul,
#menu-wrapper li {
	list-style: none;
	margin-left: 0;
}

#main-menu {
	margin: 0;
}

#main-menu a {
	font-style: normal;
}

#main-menu > li {
	display: inline-block;
	margin: 0;
	position: relative;
}

#main-menu > li:after {
	content: '|';
	font-size: 12px;
	font-weight: 300;
	margin-left: 12px;
	margin-right: 8px;
}

#main-menu .menu-item-has-children:after {
	margin-left: 10px;
}

#main-menu > li:last-child:after {
	content: '';
	margin-left: 0;
	margin-right: 0;
}

#main-menu > li > a {
	color: #414141;
	font-size: 14px;
	font-weight: normal;
	text-transform: uppercase;
	font-family: 'Fauna One', serif;
	letter-spacing: 1px;
	font-size: 13px;
}

#main-menu > li > a:hover,
#main-menu > li:hover > a {
	color: #888;
}

#main-menu a.active,
#main-menu a.active:hover,
#main-menu > li.current-menu-item > a,
#main-menu > li.current-menu-parent > a {
	color: #000000;
	font-weight: 700;
}

/* Submenu */
#main-menu li .submenu {
    display: none;
    margin-left: -12px;
    left: -27px;
	
    padding-top: 15px;
    position: absolute;
    z-index: 999;
}

#main-menu li .submenu ul {
   	background: #fff;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 35px 40px;
    text-align: left;
    width: 235px;
	z-index: 5; /* to make it overlay on the "absolute" content section that is controlled by Isotope JS */
	
	-webkit-box-shadow: 20px 30px 60px 13px rgba(65,65,65,0.2);
	-moz-box-shadow: 20px 30px 60px 13px rgba(65,65,65,0.2);
	box-shadow: 20px 30px 60px 13px rgba(65,65,65,0.2);
}

#main-menu li .submenu a {
	color: #383838;
	display: block;
	font-family: 'Fauna One', serif;
	font-size: 12px;
	font-weight: normal;
	line-height: 1.4;
	word-spacing: 1px;
}

#main-menu li .submenu li:last-child a {
}

#main-menu li .submenu a:hover,
#main-menu > li > .submenu li:hover > a {
	color: #000000;
	
	/* text-decoration: underline; */
}

#main-menu > li > .submenu ul > li {
	margin-bottom: 5px;
	margin-top: 0;
	position: relative;
}

/* Sub sub menu */
#main-menu > li > .submenu li .submenu {
	padding-top: 0;
	top: -35px;
	left: 100%;
}


/*** Mobile Menu ***/
#mobile-menu {
	background: none;
	-webkit-background-clip: padding-box; /* for Safari, to make border alpha channel works */
    background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome, to make border alpha channel works */
   	-webkit-box-sizing: content-box !important;
   	-moz-box-sizing: content-box !important;
   	box-sizing: content-box !important;
	display: none;
	margin: 15px 0 3px;
	text-align: center;
}

#mobile-menu * {
	
}

#mobile-menu > ul {
	list-style: none;
	margin: 0 auto;
	text-align: left;
	width: 115px;
}

#mobile-menu li {
	line-height: 1;
	margin: 0 !important;
	text-align: left !important;
}

#mobile-menu .toggle-topbar.menu-icon {
	margin-top: 0 !important;
	top: 0;
}

.top-bar-section a {
	text-decoration: none !important;
}

/*** Mobile menu toggle ***/
#root-container .top-bar .toggle-topbar.menu-icon a {
	color: #414141;
	font-size: 14px;
	font-family: 'Arial', sans-serif;
	/* margin-right: 10px; */
	text-indent: -45px;
	font-style: normal;
}

.top-bar .toggle-topbar.menu-icon a span {
}

/* hamburger icon */
.top-bar .toggle-topbar.menu-icon a span::after {
	-webkit-box-shadow: 0 0 0 1px #414141, 0 7px 0 1px #414141, 0 14px 0 1px #414141;
	box-shadow: 0 0 0 1px #414141, 0 7px 0 1px #414141, 0 14px 0 1px #414141;
}

.top-bar.expanded .title-area {
	background: none;
}

/*** Expanded menu items ***/
/*#root-container .top-bar.expanded .title-area .menu-icon a {
	color: #888;
}

.top-bar.expanded .toggle-topbar.menu-icon a span::after {
	-webkit-box-shadow: 0 0 0 1px #888, 0 7px 0 1px #888, 0 14px 0 1px #888;
	box-shadow: 0 0 0 1px #888, 0 7px 0 1px #888, 0 14px 0 1px #888;
}
*/
.top-bar.expanded .title-area .menu-icon a span {
}

.top-bar-section ul {
	background: none;
	height: 100%;
}

.top-bar-section ul li {
	background: none;
}

#root-container .top-bar-section ul li a {
	background: none;
	border-bottom: 1px solid #eee;
	color: #414141;
	font-family: 'Arial', sans-serif;
	font-size: 11px;
	font-style: normal;
	font-weight: normal;
	text-transform: uppercase;
}

#root-container .top-bar-section ul li:last-child > a {
	border-bottom: 0;
}

#root-container .top-bar-section ul li > a:hover {
	/*background: #eee;*/
}

.top-bar-section a:hover,
.top-bar-section .dropdown li.title h5 a:hover {
}

/*** Submenu items ***/
.top-bar-section .dropdown li a {
	padding: 12px 0 12px 0.9375rem;
}

/* right arrow icon */
.top-bar-section .has-dropdown > a:after {
	border-color: transparent transparent transparent rgba(0, 0, 0, 0.5);
}

/* Back link */
#root-container .top-bar-section .dropdown li.title h5 a {
	background: none;
	color: #414141;
	font-size: 13px;
}


/*** Search Input ***/
#search-icon {
	display: block;
	font-size: 18px;
	font-weight: bold;
	line-height: 1;
	/* display: none; */
	position: absolute;
	right: 0;
	top: 6px;
}

#search-panel-wrapper {
	background: rgb(255,255,255);
	background: rgba(255,255,255,0.7);
	display: none;
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
}

#inner-search-panel {
	background: #fff;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
	margin: 13% auto 0;
	padding: 100px 60px;
	position: relative;
	width: 950px;
	
	-webkit-box-shadow: 0px 40px 60px 13px rgba(65,65,65,0.4);
	-moz-box-shadow: 0px 40px 60px 13px rgba(65,65,65,0.4);
	box-shadow: 0px 40px 60px 13px rgba(65,65,65,0.4);
}

#search-input {
    background: none;
    border: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #cecece;
    box-shadow: none;
	
    font-family: 'Ova', serif;
    font-size: 48px;
    font-style: italic;
    margin-bottom: 0;
    padding: 0;
    text-align: center;
    width: 100%;
}

#search-input:focus {
	color: #414141;
}

#root-container #search-close-button {
	color: #000;
	font-size: 12px;
	font-style: normal;
	font-weight: bold;
	letter-spacing: 2px;
	padding: 2px;
	position: absolute;
	top: 25px;
	right: 25px;
	text-transform: uppercase;
}

/***** Content *****/
#content-container h1,
#content-container h2,
#content-container h3,
#content-container h4,
#content-container h5,
#content-container h6,
#page-404 h1 {
	color: #000;
	font-family: 'Ovo', serif;
	font-weight: 400;
	line-height: 1.3;
	padding-top: 20px;
}

#content-container .custom-text-color h1,
#content-container .custom-text-color h2,
#content-container .custom-text-color h3,
#content-container .custom-text-color h4,
#content-container .custom-text-color h5,
#content-container .custom-text-color h6 {
    color: inherit;
}

#content-container h1,
#page-404 h1 {
	font-size: 26px;
	margin-bottom: 25px;
}

#content-container h2,
#content-container h3.larger {
	font-size: 22px;
	margin-bottom: 22px;
}

#content-container h3,
#content-container h2.smaller {
	font-size: 19px;
	margin-bottom: 20px;
	padding-top: 15px;
}

#content-container h4 {
	font-size: 16px;
	margin-bottom: 18px;
	padding-top: 15px;
}

#content-container h5 {
	font-size: 14px;
	margin-bottom: 15px;
	padding-top: 12px;
}

#content-container h6 {
	font-size: 12px;
	margin-bottom: 12px;
	padding-top: 10px;
}

/***** Footer *****/
#footer-content-container {
	background: #FDFDFD;
	border-bottom: 1px solid #D0C289;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-bottom: 60px;
	margin-top: 60px;
	padding: 100px;
	padding-top: 80px;
}

#footer-content {
	color: #626262;
	font-family: 'Fauna One', serif;
	font-size: 12px;
}

#footer-content,
#footer-content p {
	line-height: 2;
}

#footer-content .footer-heading {
	color: #555;
	font-family: 'Ovo', serif;
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 2px;
	line-height: 1.6;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #ddd;
}

#root-container #footer-content a {
	color: #000;
}

#root-container #footer-content a:hover {
	color: #777;
}

.footer-widget-item {
  	margin-bottom: 50px;
}

.footer-widget-item:last-child {
	margin-bottom: 0;
}

#footer-bar {
}

#footer-bar #copyright {
	color: #414141;
	font-family: 'Fauna One', serif;
	font-size: 12px;
	margin-bottom: 20px;
	text-align: center;
}

#footer-bar #copyright a {
	color: #000;
	font-style: normal;
}

#footer-bar #copyright a:hover {
	color: #777;
}

#footer-bar ul.bar-social {
	text-align: center;
}

#footer-bar ul.bar-social li {
	display: inline-block;
	margin: 0 3px;
}

#footer-bar ul.bar-social li a {
	opacity: 0.4;
}

#footer-bar ul.bar-social li a:hover {
	opacity: 0.8;
}

.dummy-li {
	display: none !important;
}



/***** Page *****/
#root-container #intro-wrapper {
	/*width: 520px;*/
	margin-bottom: 40px;
	width: 75.3%;
}

#intro-wrapper.search-archive {
	margin: 50px auto 0;
	text-align: center;
	width: 40%;
}

#intro-wrapper.search-archive .post-title-line {
	margin: 30px auto;
}

#intro-wrapper.search-archive #intro-title {
	font-weight: 400;
}

#intro-wrapper.search-archive.page-404 #intro-title {
	font-weight: 300;
}

#intro-wrapper.search-archive.page-404 {
	margin-bottom: 90px;
}

.center-layout #intro-wrapper,
.center-layout-js #intro-wrapper {
	margin: auto;
	text-align: center;
	width: 75.3%;
}

#intro-wrapper #intro-title {
	color: #414141;
	display: inline-block;
	font-family: 'Ovo', serif;
	font-size: 30px;
	font-style: normal;
	line-height: 1.5;
	margin-bottom: 0;
	padding-top: 0;
}

.custom-text-color #intro-wrapper #intro-title {
	color: inherit;
}

#intro-wrapper #intro-title + .post-title-line {
}

#intro-body {
	color: #aaa;
	font-family: 'Fauna One', serif;
	font-size: 17px;
	line-height: 1.7;
}

#intro-body a {
	font-style: normal;
	font-weight: normal;
}

.custom-text-color #intro-body {
	color: inherit;
	opacity: 0.8;
}

#page-content {
	background: #FDFDFD;
	box-sizing: border-box;
	margin: 50px 0 80px;
	overflow: hidden;
	padding: 50px 50px 80px;
	position: relative;
	
	transition: all .15s ease-in-out;
   -moz-transition: all .15s ease-in-out;
   -webkit-transition: all .15s ease-in-out;
   -o-transition: all .15s ease-in-out;
}

#page-content.no-post-image {
	padding-top: 80px;
}

#page-content:hover {
	box-shadow: 0 10px 40px #ddd;
}

#page-content .page-info {
	box-sizing: border-box;
	/*display: table-cell;*/
	float: left;
	opacity: 0;
	overflow: hidden; /* to cut off any large image that could overflow the content area */
	padding-right: 20px;
	padding-bottom: 50px;
	padding-top: 30px;
	position: relative;
	vertical-align: top;
	width: 55%;
}

.page-section {
	margin-bottom: 90px;
}





/* #Blog Page
================================================== */
#blog-wrapper {
	margin: auto;
}

.blog-item {
	margin: 60px 0 60px;
	position: relative;
	background-color: #FDFDFD;
	padding: 50px;
	box-sizing: border-box;
	
	transition: all .15s ease-in-out;
   -moz-transition: all .15s ease-in-out;
   -webkit-transition: all .15s ease-in-out;
   -o-transition: all .15s ease-in-out;
}

.blog-item:hover {
    box-shadow: 0 10px 40px #ddd;
}

.blog-item:first-child {
	margin-top: 50px;
}

#blog-wrapper.search-result .blog-item {
	padding: 50px;
}

.blog-item:last-child {
	margin-bottom: 70px;
}

.blog-item .bg-overlay {
	background: rgba(255,255,255,0.8);
}

.bg-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.blog-info {
	display: table-cell;
	opacity: 0;
	position: relative;
	vertical-align: middle;
	visibility: hidden;
	
	padding-right: 20px;
	width: 55%;
	
	/* the fix for "ghost" element when do animation via jQuery (only happen when rendering on Chrome) */
	/* but this can cause slightly font blurry issue */
	/* -webkit-backface-visibility: hidden; */
}

#blog-wrapper .blog-title,
#blog-wrapper .blog-title a {
	color: #414141;
	display: inline-block;
	font-family: 'Ovo', serif;
	font-size: 30px;
	font-style: normal;
	font-weight: normal;
	line-height: 1.3;
	margin-bottom: 0;
	padding-top: 0;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

#blog-wrapper .blog-title a {
	display: inline;
	text-decoration: none;
}

#blog-wrapper .custom-text-color .blog-title a {
	color: inherit;
}

.blog-title i.icon.ion-ios-arrow-thin-right {
    display: inline-block;
    font-size: 20px;
    line-height: 1;
    margin-left: 10px;
}

.blog-title i.icon.ion-ios-arrow-thin-right:before {
    display: inline-block;
    line-height: 1;
}

#blog-wrapper.search-result .blog-title {
	margin-bottom: 15px;
} 

#blog-wrapper.search-result .blog-title a {
	font-size: 22px;
}

.post-title-line {
	border-top-color: #D5C498;
	border-top-color: #ddd;
	border-top-width: 1px;
	margin: 20px 0 30px;
	text-align: left;
	width: 130px;
}

.custom-text-color .post-title-line {
	border-top-color: inherit;
	opacity: 0.2;
}

#blog-wrapper .excerpt {
	margin-bottom: 30px;
	font-family: 'Fauna One', serif;
	line-height: 1.8;
}

#blog-wrapper .excerpt a {
}

#blog-wrapper ul.blog-meta {
	color: #555;
	list-style: none;
	margin: 0;
}

#blog-wrapper ul.blog-meta li {
	display: inline-block;	
	font-family: 'Ovo', serif;
	font-size: 13px;
	letter-spacing: 1px;
	margin: 0;
	font-style: italic;
}

#blog-wrapper ul.blog-meta li a {
	color: #555;
	font-weight: normal;
	text-decoration: none;
}

#blog-wrapper .custom-text-color ul.blog-meta,
#blog-wrapper .custom-text-color ul.blog-meta li,
#blog-wrapper .custom-text-color ul.blog-meta li a {
	color: inherit;
}

#blog-wrapper ul.blog-meta li:after {
	content: '/';
	font-size: 10px;
	margin-left: 4px;
	margin-right: 4px;
}

#blog-wrapper ul.blog-meta li:last-child:after {
	content: '';
	margin-left: 0;
	margin-right: 0;
}

/*** Gallery Format ***/
/* If it is gallery type (use Flexslider), just set the opacity back to 1 because the slider already has its own. */
/* This also fixed the slide display when using "slide" animation */
.gallery .post-image img {
	opacity: 1;
}


/*** Video Format ***/
.blog-item.video {
}

.blog-item.video .uxbarn-embed {
    margin: auto;
    margin-bottom: 50px;
	position: relative;
    text-align: center;
    width: 795px;
}

.uxbarn-embed {
}

.uxbarn-embed:last-child {
    margin-bottom: 0;
}

.uxbarn-embed iframe, 
.uxbarn-embed object, 
.uxbarn-embed embed {
	max-width: 100%;
}

/*** Quote Format ***/
#root-container .blog-item.quote {
	background-size: cover;
	position: relative;
	padding: 150px 0;
}

#content-container .blog-item.quote .blog-info {
	box-sizing: border-box;
    display: block;
    margin: auto;
    padding-right: 0;
    position: relative;
	text-align: center;
    vertical-align: top;
    width: 800px;
    z-index: 1;
}

.blog-item.quote blockquote {
	color: #414141;
	font-size: 38px;
	font-style: italic;
	margin-bottom: 55px;
	padding: 0;
	text-align: center;
}

.custom-text-color.quote blockquote {
	color: inherit;
}

#root-container .blog-item.quote blockquote p {
	text-align: center;
}

.blog-item.quote blockquote p:before {
	content: '\201C';
}

.blog-item.quote blockquote p:after {
	content: '\201D';
}

.blog-item.quote blockquote cite {
	color: #686868;
	font-size: 18px;
	font-style: normal;
	font-weight: normal;
	letter-spacing: 1px;
	line-height: 1.5;
	word-spacing: 1px;
}

.custom-text-color.quote blockquote cite {
	color: inherit;
}

.blog-item.quote blockquote cite:before {
	content: '\2014 \0020';
}

.blog-item.quote blockquote cite:after {
	content: '\0020 \2014';
}


/*** Link Format ***/
.blog-item.link .post-image-size {
	position: relative;
}

.blog-item.link .post-image .link-icon-wrapper {
	position: absolute;
	right: 15px;
	bottom: 15px;
	opacity: 0;
}

#blog-wrapper .blog-single-content .blog-item.link .image-element {
	margin-bottom: 0;
}

.center-layout.link .post-image .link-icon-wrapper {
    width: 40px;
    left: 50%;
    right: auto;
    margin-left: -20px;
}


/***** Blog Grid Layout *****/
#blog-grid-layout {
	box-sizing: border-box;
	margin: 50px 0;
	padding: 0 20px;
    text-align: center;
}

.blog-item.grid {
	display: inline-block;
	margin: 0 15px 30px;
	width: 46%;
    vertical-align: top;
}

.blog-item.grid.no-post-image {
    padding-top: 70px;
}

.blog-item.grid .post-title-line {
	margin-left: auto;
	margin-right: auto;
}

.blog-item.grid:hover {
    box-shadow: 0 10px 20px #ddd;
}

#blog-wrapper .grid .blog-title,
#blog-wrapper .grid .blog-title a {
	font-size: 27px;
}

.grid .post-image {
    float: none;
    max-width: 445px;
    width: auto;
}

#root-container .grid .post-image {
    margin: 0 auto 50px;
}

.grid .post-image-size {
    max-height: none;
    width: auto;
}

.grid .blog-info {
	display: block;
	height: auto !important;
	padding: 0 30px;
	width: auto;
}

.grid .image-slider-wrapper {
	min-height: 445px;
}

.grid.blog-item.video .uxbarn-embed {
	width: auto;
}

#content-container .grid.quote .blog-info {
	padding: 0 80px;
	width: auto;
}

.grid.blog-item.quote blockquote {
	font-size: 34px;
}

#root-container .grid.quote {
	padding: 220px 0 170px;
}



/***** Blog Pagination *****/
#blog-pagination-wrapper {
}

#blog-pagination {
	overflow: hidden;
	text-align: center;
}

#blog-pagination ul {
	list-style: none;
	overflow: hidden;
	margin-bottom: 0;
	margin-left: 0;
}

#blog-pagination a,
#blog-pagination li .current {
	color: #414141;
	font-family: 'Fauna One';
	font-weight: 300;
	font-size: 14px;
	font-style: normal;
	padding: 0 10px;
	text-transform: uppercase;
	opacity: 0.5;
}

#blog-pagination a:hover {
    opacity: 1;
    color: #414141;
}

#blog-pagination li.current a,
#blog-pagination li .current {
	color: #000;
	font-weight: 700;
	opacity: 1;
}

#content-container #blog-pagination li.current a:hover {
	cursor: default;
	color: #000;
}


#blog-pagination li {
	display: inline;
	margin: 0;
}


/***** Blog Single Page *****/
#blog-wrapper .blog-single-content .gallery .post-image .image-element, 
#blog-wrapper .blog-single-content .gallery .post-image .image-element:last-child {
    margin-bottom: 0;
}

#blog-wrapper .blog-single-content .blog-item {
	padding-bottom: 80px;
	overflow: hidden;
}

#blog-wrapper .blog-single-content .post-image .image-element,
#page-content .post-image .image-element {
	margin-bottom: 80px;
}

#blog-wrapper .blog-single-content .post-image .image-element:last-child,
#page-content .post-image .image-element:last-child {
	margin-bottom: 0;
}

#blog-wrapper .blog-single-content .blog-info {
	box-sizing: border-box;
	float: left;
	overflow: hidden; /* to cut off any large image that could overflow the content area */
	padding-top: 30px;
	vertical-align: top;
	width: 55%;
}

#blog-wrapper .blog-single-content .blog-meta-wrapper {
	margin-bottom: 40px;
}

#blog-wrapper .blog-single-content .quote .blog-meta-wrapper {
	margin-bottom: 0;
}

#blog-wrapper .blog-section {
	margin-bottom: 60px;
}

#blog-wrapper .post-small-list {
    font-size: 12px;
    line-height: 2;
    list-style: none;
    margin: 0;
    padding: 0;
}

#blog-wrapper .post-small-list a {
	font-weight: bold;
}

#blog-wrapper .post-small-list li {
    display: inline-block;
    margin: 0 2px 0 0;
}

#blog-wrapper .post-small-list li:after {
    content: ',';
}

#blog-wrapper .post-small-list li:first-child {
	margin-right: 5px;
}

#blog-wrapper .post-small-list li:first-child:after {
    content: ':';
}

#blog-wrapper .post-small-list li:last-child:after {
    content: '';
}

#blog-wrapper .post-tags.post-small-list {
}

#blog-wrapper .categories-tags-wrapper {
	margin-top: 60px;
}

#blog-bottom-sections {
	clear: both;
}

.blog-section-title {
	font-size: 24px !important;
}

#content-container .blog-section-title {
	font-family: 'Ovo', serif;
	margin-bottom: 40px;
	overflow: hidden;
	text-align: center;
}

.blog-section-title span {
	position: relative;
}

.blog-section-title span:before,
.blog-section-title span:after {
	content: '';
	position: absolute;
	height: 1px;
	border-top: 1px solid #ddd; /*#c6c6c6; #d8d8d8;*/
	top: 50%;
	width: 500%; /* maximize it and will be cut off by parent's overflow */
}

.blog-section-title span:before {
	right: 100%;
	margin-right: 35px;
}

.blog-section-title span:after {
	left: 100%;
	margin-left: 35px;
}

.blog-section.bottom-section {
	margin: auto;
	width: 50%;
}

.blog-section.bottom-section.wider {
	width: 75%;
}

/* Post paging */
#content-container .post-paging ul {
    list-style: none;
    margin-left: 0;
}
#content-container .post-paging ul li {
    float: left;
    margin-right: 10px;
    margin-left: 0;
}
#content-container .post-paging {
    overflow: hidden;
    margin: 20px 0;
}
#content-container .post-paging a {
    font-weight: bold;
}

/*** Author Box ***/
#author-box {
	text-align: center;
}

#author-box #author-photo-wrapper {
	margin-bottom: 35px;
}

#author-box #author-photo-wrapper img {
	border-radius: 50%;
	width: 120px;
}

#author-info {
	margin: auto;
	width: 90%;
}

ul#author-social {
	list-style: none;
	margin-bottom: 0;
	margin-left: 0;
}

ul#author-social li {
	display: inline-block;
	line-height: 1;
	margin: 0 3px 0 0;
}

ul#author-social li:last-child {
	margin-right: 0;
}

ul#author-social a {
	border: 0;
	color: #555;
	font-size: 20px;
	text-decoration: none;
}


/*** More Posts ***/
#more-posts.blog-section {
	margin-bottom: 60px;
}

#more-posts.blog-section:last-child {
    margin-bottom: 0;
}

#next-prev-posts {
	border-bottom: 1px solid #ddd; /*#e3e3e3;*/
	border-top: 1px solid #ddd;
	font-size: 16px;
	margin-bottom: 40px;
	padding: 20px 0;
	text-align: center;
}

#next-prev-posts.blog-section:last-child {
    margin-bottom: 0;
}

#next-prev-posts a {
	display: inline-block;
	font-style: normal;
	font-weight: 300;
	margin: 0 10px;
}

#next-prev-posts #prev-post:before {
	content: '\f3d5';
	font-family: 'Ionicons';
	padding-right: 0;
}

#next-prev-posts #next-post:after {
	content: '\f3d6';
	font-family: 'Ionicons';
	padding-left: 0;
}

#related-posts {
	overflow: hidden;
	text-align: center;
}

#related-posts.no-next-prev-links {
	border-top: 1px solid #e3e3e3;
	padding-top: 40px;
}

#related-posts .related-post-item {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: inline-block;
	padding: 0 2% 4%;
	text-align: center;
	width: 33%;
	vertical-align: top;
}

#related-posts .related-post-item img {
	margin-bottom: 20px;
}

#related-posts .related-post-item h4 {
	font-family: 'Ovo', serif;
	font-size: 17px;
	margin-bottom: 10px;
	padding: 0 20px;
}

#related-posts .related-post-item a {
	display: block;
	font-style: normal;
	font-weight: normal;
}

#related-posts .related-post-item span.date {
	color: #8e8e8e;
	display: block;
	font-family: 'Ovo', serif;
	font-size: 12px;
	font-style: italic;
	font-weight: normal;
	letter-spacing: 1px;
}

/*** Comments ***/
.comment-closed {
	font-style: italic;
	text-align: center;
}

#comment-content {
	text-align: center;
	font-size: 13px;
	margin-bottom: 0;
}

#comment-content a {
	border: 0;
	text-decoration: none;
}

#comment-content a:hover {
}

#comment-content > ul > li {
	margin-left: 0;
}

#comment-content ul.commentlist {
	list-style: none;
	margin: 0 auto;
	margin-bottom: 60px;
	text-align: left;
	width: 90%;
}

#comment-content ul.children {
	list-style: none;
	margin: 0 0 0 35px
}

.comment-item, 
.comment {
	overflow: hidden;
	margin: 0;
}

#respond form {
    margin: 0 auto;
	text-align: left;
    width: 90%;
}

.commentlist #respond form {
	width: 100%;
}

#respond form .row:last-child,
#respond form .row:last-child * {
	margin-bottom: 0;
}

/* blog-single, contact */
.textarea-height {
	height: 150px;
}

#respond label {
	font-size: 13px;
	line-height: 1.8;
}

#respond .row,
#content-container .custom-form .row {
	margin-bottom: 12px;
}

.parent #respond {
	margin: 30px 0 80px;
}

.cancel-reply {
    font-size: 13px;
    font-weight: normal !important;
}

#cancel-comment-reply-link {
    display: inline-block;
    float: right;
    margin-right: 30px;
    overflow: hidden;
}

.comment.depth-2, 
.parent.depth-2 #respond, 
.comment.depth-3, 
.parent.depth-3 #respond, 
.comment.depth-4, 
.parent.depth-4 #respond, 
.comment.depth-5, 
.parent.depth-5 #respond {
	padding-left: 0;
}

.reply {
	color: #eaeaea;
}

.comment-body {
	padding-bottom: 10px;
	margin-bottom: 30px;
}

.commenter-photo {
	float: left;
	margin-top: 5px;
	vertical-align: top;
}

.commenter-photo img {
	border-radius: 50%;
	width: 80px;
}

.comment-post-wrapper {
	display: block;
	margin: 0 0 0 105px;
}

#root-container .comment-post-wrapper .comment-post p {
    margin-bottom: 15px;
}

#root-container .comment-post-wrapper .comment-post p:last-child {
	margin-bottom: 0;
}

.comment-item-meta {
	display: inline-block;
	margin-bottom: 5px;
}

.commenter-name {
	display: inline-block;
	font-size: 12px;
	font-weight: bold;
	padding-right: 10px;
}

#root-container .commenter-name a {
	font-style: normal;
}

.comment-date {
	display: block;
}

.comment-date, .comment-date a {
	color: #8e8e8e !important;
	font-size: 11px;
	font-style: italic;
	font-weight: normal !important;
}

.comment-awaiting-moderation {
	display: block;
	margin-bottom: 0;
}

.reply {
	float: right;
}

.reply a {
	font-size: 12px;
	font-style: italic;
	text-decoration: none;
}

.parent.comment-item {
	margin-bottom: 0;
}

/* Pingback and trackback comment */
.pingback .comment-post p {
	font-style: italic;
}

.pingback .comment-post-wrapper {
	margin-left: 0;
}

/* Comment paging */
#comment-content .comment-paging {
	margin-bottom: 48px;
	text-align: center;
	width: 100%;
}

#comment-content .comment-paging a,
#comment-content .comment-paging a:visited, 
#comment-content .comment-paging span {
	background: #EEE;
	color: #888;
	display: inline-block;
	font-family: Arial;
  	font-style: normal;
  	font-size: 10px;
	line-height: 1;
	padding: 12px 14px;
	text-decoration: none;
}

#comment-content .comment-paging a:hover {
	background: #ddd;
	border-bottom: 0;
}

#comment-content .comment-paging .dots {
	background: none;
}

#comment-content .comment-paging .current, 
#comment-content .comment-paging .current:hover {
	background: #ccc;
	color: #333;
	cursor: default;
	font-weight: bold;
}

.logged-in-as,
.form-submit {
	margin: 0 30px;
}





/*** Post Image (for both blog single and page) ***/
.post-image {
	float: left;
	position: relative;
	width: 45%;
}

.post-image img {
	opacity: 0;
	-webkit-backface-visibility: hidden; /* the fix for "ghost" element when do animation via jQuery (only happen when rendering on Chrome) */
}

/* to control the size of the post thumbnail, loading icon and making it to be relative parent for blog-format icon */
.post-image-size {
	min-height: 445px;
	max-height: 590px;
	width: 445px;
}

#blog-wrapper .blog-single-content .post-image-size,
#page-content .post-image-size {
	max-height: none;
}

.post-image-size .image-element {
	background: #F6F6F6 url('images/loading.gif') no-repeat center; /*efefef*/
	/*display: inline-block;*/
	display: block;
	min-height: 445px;
	overflow: hidden;
}

.gallery .post-image-size .image-element {
	background-image: none;
	background-color: transparent;
	display: block;
	min-height: inherit;
}

.normal.center-layout .post-image-size .image-element,
.normal.center-layout-js .post-image-size .image-element {
	display: block;
}



/*** Post Center Layout (for both blog single and page) ***/
#root-container .center-layout .blog-title,
#root-container .center-layout-js .blog-title,
.center-layout .blog-meta-wrapper,
.center-layout-js .blog-meta-wrapper {
	display: block;
	text-align: center;
}

.center-layout .post-image,
.center-layout-js .post-image {
    float: none;
    margin-bottom: 50px;
    margin-right: 0;
    text-align: center;
    width: auto;
}

#blog-wrapper .blog-single-content .center-layout .post-image,
#blog-wrapper .blog-single-content .center-layout-js .post-image,
#page-content.center-layout .post-image,
#page-content.center-layout-js .post-image {
	margin-bottom: 80px;
}

.center-layout .post-image:last-child,
.center-layout-js .post-image:last-child {
	margin-bottom: 0;
}

.center-layout .post-image-size,
.center-layout-js .post-image-size {
    margin: auto;
    max-height: none;
    width: auto;
}

.center-layout .image-caption,
.center-layout-js .image-caption {
	border: 0;
	float: none;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 0;
	padding-left: 0;
	text-align: center;
	width: 40%;
}

#root-container .center-layout .post-image a.image-link,
#root-container .center-layout-js .post-image a.image-link {
    display: inline-block;
}

.blog-item.center-layout,
.blog-item.center-layout-js {
    padding: 50px;
    box-sizing: border-box;
    width: 1250px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
}

.blog-item.center-layout.no-post-image,
.blog-item.center-layout-js.no-post-image {
	padding-top: 80px;
	padding-bottom: 80px;
}

.blog-item.center-layout .blog-info,
.blog-item.center-layout-js .blog-info,
#blog-wrapper .blog-single-content .center-layout .blog-info,
#blog-wrapper .blog-single-content .center-layout-js .blog-info,
#page-content.center-layout .page-info,
#page-content.center-layout-js .page-info {
    display: block;
    margin: auto;
    padding-top: 0;
    padding-right: 0;
	text-align: center;
    vertical-align: top;
	width: 690px;
}

#blog-wrapper .blog-single-content .center-layout .blog-info,
#blog-wrapper .blog-single-content .center-layout-js .blog-info,
#page-content.center-layout .page-info,
#page-content.center-layout-js .page-info {
	float: none;
	text-align: left;
}

#blog-wrapper .blog-single-content .center-layout #single-content-wrapper,
#page-content.center-layout #page-content-wrapper,
#blog-wrapper .blog-single-content .center-layout-js #single-content-wrapper,
#page-content.center-layout-js #page-content-wrapper {
}

.center-layout .post-title-line,
.center-layout-js .post-title-line {
	margin: 20px auto 25px;
	text-align: center;
}

#page-content.center-layout .post-title-line,
#page-content.center-layout-js .post-title-line {
}

#blog-wrapper .blog-single-content .center-layout .post-small-list,
#blog-wrapper .blog-single-content .center-layout-js .post-small-list {
	text-align: center;
}

/*** Post White Text (for both blog single and page) ***/
#root-container #content-container .white-text .post-title-line {
	border-top-color: #fff; /*#969696;*/
	opacity: .3;
}

#content-container .white-text h1,
#content-container .white-text h2,
#content-container .white-text h3,
#content-container .white-text h4,
#content-container .white-text h5,
#content-container .white-text h6 {
	color: #fff;
}

.white-text blockquote {
	color: #ccc;
}

.white-text #intro-body {
	color: #dedede;
}

#root-container #content-container .white-text label {
	color: #fff;
}

#root-container #content-container .white-text .blog-title,
#root-container #content-container .white-text #intro-title,
#root-container #content-container .white-text a,
#root-container #content-container .white-text ul.blog-meta li,
#root-container #content-container .white-text.quote blockquote p {
	color: #fff;
}

#root-container #content-container .white-text a:hover {
	color: #e1e1e1;
}

#root-container #content-container .white-text .blog-info,
#root-container #content-container .white-text .page-info,
#root-container #content-container .white-text.quote blockquote	cite {
	color: #e6e5e5;
}

#root-container .white-text .image-caption {
	color: #eee;
}

.center-layout.gallery .slider-controller-wrapper,
.center-layout-js.gallery .slider-controller-wrapper {
    width: 89px;
    left: 50%;
    right: auto;
    margin-left: -44px;
}

#root-container .custom-text-color .blog-title a:hover {
	opacity: 0.8;
}

#search-form-404 {
	margin: 40px auto 20px;
	width: 45%;
}


/***** Social Sharing Buttons *****/
.sharing-buttons-wrapper {
    color: #999;
    font-size: 10px;
    opacity: 0;
    position: absolute;
    right: 50px;
    bottom: 50px;
    text-transform: uppercase;
}

.white-text .sharing-buttons-wrapper {
	color: #fff;
}

.custom-text-color .sharing-buttons-wrapper {
	color: inherit;
}

.center-layout .sharing-buttons-wrapper,
.center-layout-js .sharing-buttons-wrapper,
.grid .sharing-buttons-wrapper {
	margin-top: 10px;
	position: relative;
	text-align: center;
	right: 0;
	bottom: 0;
}

.sharing-button:first-child {
    margin-left: 10px;
}

.sharing-button {
    display: inline-block;
    margin: 0 4px;
}

#root-container .sharing-button a {
    color: #999;
    font-size: 16px;
}

#root-container .sharing-button a:hover {
    color: #333;
}

#root-container .custom-text-color .sharing-button a,
#root-container .custom-text-color .sharing-button a:hover {
	color: inherit;
}






/* #Elements
================================================== */
/***** Button *****/
#root-container .button {
    background: #414141;
    border: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
    color: #FFFFFF !important;
	font-family: 'Fauna One', serif;
	font-size: 14px;
    font-style: normal;
    font-weight: normal;
	line-height: inherit;
    margin-bottom: 12px;
    margin-right: 5px;
    margin-top: 5px;
	padding: 10px 25px;
}

#root-container .button:last-child {
}

#root-container .button.tiny {
	font-size: 10px;
	padding: 8px 12px;
}

#root-container .button.small {
	font-size: 12px;
	padding: 10px 14px;
}

#root-container .button.large {
	padding: 15px 30px;
}

#root-container .button.radius {
	-webkit-border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	border-radius: 0.5em;
}

#root-container .button.round {
	
}

#root-container .button:hover {
    background: #777;
}

#root-container .button.custom {
	border-color: transparent !important;
	color: #fff !important;
	transition: all .12s ease-in-out;
   -moz-transition: all .12s ease-in-out;
   -webkit-transition: all .12s ease-in-out;
   -o-transition: all .12s ease-in-out;
}

.button.custom:hover {
	opacity: 0.8;
}

#root-container .button:active {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

#root-container .button i {
	font-size: 1.1em;
	margin-left: 0;
	width: auto;
	height: auto;
	line-height: initial;
	vertical-align: baseline;
}


/***** Image Element *****/
#root-container a.image-link {
	display: block;
	line-height: 0;
}

.image-caption {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	color: #777;
	font-size: 12px;
	font-style: italic;
	line-height: 1.6;
	margin-top: 20px;
	opacity: 0;
	
	text-align: right;
	padding: 10px 0 30px 20px;
	border-bottom: 1px solid #ddd;
	width: 60%;
	float: right;
}

.custom-text-color .image-caption {
	border-color: inherit;
	color: inherit;
}

.blog-list-page .image-caption {
	display: none;
}

.blog-list-page .display-full-post .image-caption {
	display: block;
}



/***** Image Slider *****/
.image-slider-root-container,
.image-slider-root-container * {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.image-slider-root-container {
	position: relative;
	overflow: hidden;
}

.flex-viewport {
}

/* reset the height */
.auto-height {
	min-height: inherit !important; /* this is the key for using with "smoothHeight" of flexslider */
}

/* bullets */
.image-slider-root-container .flex-control-nav {
	bottom: -75px;
	margin-left: 0 !important;
}

.flex-control-nav li {
	margin: 0 3px !important;
}

.flex-control-paging li a {
    background: #e6e6e6;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    width: 15px;
    height: 15px;
}

.flex-control-paging li a:hover {
    background: #ccc;
}

.flex-control-paging li a.flex-active {
    background: #8e8e8e;
}


.image-slider-wrapper {
	background: #F6F6F6 url('images/loading.gif') no-repeat center; /*efefef*/
	min-height: 590px; /* init height */
	margin-bottom: 35px;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
	text-align: center;
	transition: opacity .18s ease-in-out;
   -moz-transition: opacity .18s ease-in-out;
   -webkit-transition: opacity .18s ease-in-out;
   -o-transition: opacity .18s ease-in-out;
}

.gallery.center-layout .image-slider-wrapper {
}

.image-slider-wrapper.hide-bullets {
	margin-bottom: 0;
}

#uxb-port-inner-content-container .image-slider-wrapper {
	min-height: 480px; /* init height for port single page */
}

.image-slider-wrapper.hide-bullets .flex-control-nav {
	display: none;
}

#content-container .image-slider-wrapper .image-slider {
	list-style: none;
	margin: 0;
	opacity: 0;
	overflow: hidden;
	visibility: hidden;
}

#content-container .image-slider-wrapper li {
	margin: 0;
}

.image-slider-item {
	display: none;
	position: relative;
	text-align: center;
}

.image-slider-item img {
	height: auto !important;
	margin: auto;
	width: auto;
}

#root-container .image-slider-item a {
	border: 0 !important;
	display: block;
}

.image-slider-item .image-caption-wrapper {
	position: absolute;
	right: 15px;
	bottom: 15px;
	max-width: 95%;
}

.image-slider-item .image-caption {
	background: rgb(255,255,255);
	background: rgba(255,255,255,.6);
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
	color: #2d2d2d;
	display: inline-block;
	font-size: 13px;
	padding: 7px 30px;
	text-align: left;
	width: auto;
}

.image-slider-item .image-caption-wrapper.center-aligned {
	width: 100%;
}

.image-slider-item .image-caption-wrapper.center-aligned,
.image-slider-item .image-caption-wrapper.center-aligned .image-caption {
	text-align: center;
}

.slider-controller-wrapper {
    position: absolute;
    opacity: 0;
    bottom: 15px;
    right: 15px;
    visibility: hidden;
    z-index: 50;
}

.slider-controller,
.link-icon { /* from "Link" format post */
	background: #000;
	border: 1px solid #a6a6a6;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	color: #fff !important;
	display: inline-block;
	font-family: 'Ionicons';
    font-size: 22px;
    height: 40px;
    margin-right: 4px;
    opacity: 0.7;
    text-align: center;
	text-decoration: none;
	width: 40px;
    z-index: 2;
}

.link-icon {
    margin-right: 0;
}

.slider-controller i,
.link-icon i { /* from "Link" format post */
	/*vertical-align: middle;*/
}

.slider-controller:last-child {
	margin-right: 0;
}

.slider-prev {
}

.slider-next {
}

.slider-controller:hover {
	opacity: 1;
}

/***** WP Gallery *****/

/* For image caption of WP gallery (showing below the image) */
#content-container .gallery .gallery-item {
	margin-bottom: 2%;
}

#content-container .gallery .gallery-item .gallery-caption {
	margin-bottom: 10px;
	margin-top: 12px;
	padding-bottom: 0;
	font-style: italic;
	font-size: 12px;
}

/* Override the default style of dt */
.gallery-item dt {
    float: none;
	clear: none;
	width: auto;
	text-align: center;
	font-weight: inherit;
}
.gallery-item dt:after {
    content: '';
}


/* Override default border style of WP */
#content-container .gallery-item img {
	border: 0;
}





/* #Widgets and Plugins
================================================== */
/***** Fancybox *****/
body .fancybox-title {
	font-family: inherit;
    font-size: 13px;
    font-style: italic;
}

#fancybox-thumbs ul li {
	margin: 0;
}

/***** WP Widgets *****/
/*** RSS ***/
.widget_rss ul {
    list-style: none;
    margin: 0;
}

.widget_rss li {
    margin-left: 0;
}



/***** Contact Form 7 *****/
#content-container .wpcf7-response-output {
	/*line-height: 1.5;*/
	margin: 20px 0;
	padding: 20px 25px;
}

#content-container .wpcf7-mail-sent-ok {
	background-color: #D4FAD9;
	border: 0;
    color: #37834E; 
}

#content-container .wpcf7-validation-errors {
    background-color: #FDE7E7;
    border: 0;
    color: #D1525D; 
}

span.wpcf7-form-control-wrap {
	display: block;
}

#content-container .wpcf7-not-valid-tip {
    background: #FDE7E7;
   	border: 0;
    padding: 5px;
    color: #D1525D;
	left: 0;
    top: 20px;
    margin-top: -12px;
}



.google-map {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	/*border: 1px solid #888;*/
}

.google-map a {
}

.google-map img {
	max-width: none;
}


.widget-about-thumbnail {
	float: left;
	margin: 0 20px 20px 0;
}

.widget-about-thumbnail img {
	border-radius: 50%;
	max-width: 100px;
	max-height: 100px;
}


/***** Tags Cloud *****/
#root-container .tagcloud a {
    border: 1px solid #ccc;
    display: inline-block;
    font-size: 12px !important;
    font-weight: normal;
    margin: 0 5px 10px 0;
    padding: 5px 10px;
}

#root-container .tagcloud a:hover {
    border-color: #333;
    color: #000 !important;
}


/***** Flickr Widget *****/
#root-container .flickr_badge_image {
	/*float: left;*/
	display: inline-block;
	margin: 2px;
	width: auto;
	height: auto;
}

#root-container .flickr_badge_image img {
	width: 75px;
}

#root-container .flickr_badge_image a {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border: 3px solid transparent;
	display: inline-block;
}

#root-container .flickr_badge_image a:hover {
	border-color: #ccc;
}

/***** Contact widget *****/
ul.contact li {
	line-height: 22px; /* same as footer's p */
}

.contact-info-widget-logo {
	margin-bottom: 15px;
}

.contact-info-widget .contact-details span {
	display: block;
	line-height: 1.8;
}


/***** Posts widget *****/
#root-container .posts-widget ul,
#root-container .widget_recent_entries ul {
	list-style: none;
	margin-left: 0;
	margin-bottom: 0;
}

#root-container .posts-widget li,
#root-container .widget_recent_entries li {
	line-height: 1.5;
	margin-bottom: 0;
	margin-left: 0px;
	overflow: hidden;
}

#root-container .widget_recent_entries li {
	margin-bottom: 15px;
}

#root-container .posts-widget li:last-child,
#root-container .widget_recent_entries li:last-child {
	margin-bottom: 0;
}

.posts-widget .post-thumbnail {
	float: left;
}

.posts-widget .post-title {
	margin-bottom: 18px;
	margin-left: 72px;
}

#root-container .posts-widget li:last-child .post-title {
	margin-bottom: 0;
}

.posts-widget .post-title.no-thumbnail {
	margin-left: 0;
}

.posts-widget .date,
#root-container .widget_recent_entries .post-date {
	display: block;
	font-size: 11px;
	font-style: italic;
	color: #999;
	margin-top: 5px;
}

/***** Video *****/
.embed {
	margin-bottom: 18px;
	overflow: hidden;
	position: relative;
	padding: 0;
	padding-bottom: 56.25% !important; /* 16:9 ratio*/
}

.embed:last-child {
    margin-bottom: 0;
}

.embed iframe, 
.embed object, 
.embed embed {
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}





/* #Custom CSS of Foundation Framework
================================================== */
/* By default, it's "border-box" to all elements. 
 * This is to prevent CSS conflict on plugins. It usually affects the element size */
*, 
*:before, *:after {
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}

/* Then just apply it to the main elements only */
#menu-wrapper *,
.row,
.columns {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	/* for supporting non-breaking text */
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

body {
	position: static;
}

.row {
	margin: 0 auto 45px;
	max-width: none;
}

.row .row {
	margin-bottom: 45px;
}

#root-wrapper > .row:last-child,
#root-wrapper > .row .row:last-child {
	margin-bottom: 0;
}

.columns {
	padding: 0 30px;
}

.columns:first-child {
	/*padding-left: 0;*/
}

.columns:last-child {
	/*padding-right: 0;*/
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
input[type="submit"],
textarea,
#root-container .input-text {
	background: #efefef;
	border: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    font-size: 13px;
    height: auto;
    line-height: 1.7;
    padding: 10px;
}

input[type="text"]:focus,
  input[type="password"]:focus,
  input[type="date"]:focus,
  input[type="datetime"]:focus,
  input[type="datetime-local"]:focus,
  input[type="month"]:focus,
  input[type="week"]:focus,
  input[type="email"]:focus,
  input[type="number"]:focus,
  input[type="search"]:focus,
  input[type="tel"]:focus,
  input[type="time"]:focus,
  input[type="url"]:focus,
  textarea:focus,
#root-container .input-text:focus {
	background: #efefef;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

select, select:hover {
	/* background set copied from foundation.css */
	background-color: #efefef;
	background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMTJweCIgeT0iMHB4IiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIzcHgiIHZpZXdCb3g9IjAgMCA2IDMiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDYgMyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBvbHlnb24gcG9pbnRzPSI1Ljk5MiwwIDIuOTkyLDMgLTAuMDA4LDAgIi8+PC9zdmc+);
	background-position: 100% center;
	background-repeat: no-repeat;
	
	border: 0;
}

input[type=text].search-field {
	font-size: 16px;
}

select {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	
	color: inherit;
	font-family: inherit;
	padding: 0.4em;
}

.prefix, 
.postfix {
	font-size: inherit;
}


/* Override the "float" property from the default Foundation */
#root-container [class*="column"] + [class*="column"]:last-child { 
	/*float: none;*/ 
}

/* And use this instead of the above one because *column* class seems too much generic
 * and may cause some trouble on other plugin styles
 */
#root-container [class*="uxb-col"]:last-child { 
	float: right !important; 
}
#root-container .uxb-col.column, 
#root-container .uxb-col.columns {
	float: left !important;
}

/* Ignore any default styles of iOS */
input[type=text],
textarea,
input[type=submit],
input[type=button],
input[type=number] {
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	border-radius: 0;
}



/***** Retina *****/
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	
	.post-image-size .image-element {
		background-image: url('images/loading@2x.gif');
		background-size: 40px 40px;
	}
	
	.image-slider-wrapper {
		background-image: url('images/loading@2x.gif');
		background-size: 40px 40px;
	}
	
}