/*
 * Schon - Responsive Modern HTML Template
 * By UXbarn
 * Themeforest Profile: http://themeforest.net/user/UXbarn?ref=UXbarn
 * Demo URL: http://themes.uxbarn.com/redirect.php?theme=schon_html
 * Created: June 5, 2015
 * Version: 1.0.0
 */



/* 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 {
/*    color: #888;*/
    color: #333;
	font-family: 'Raleway', sans-serif;
	font-size: 16px;
	line-height: 1.625;
}

hr {
	border: 0;
	border-top: 1px solid #eee;
	margin: 0 0 5px 0;
}

hr.dark {
	border-color: #ccc;
}

#site-border {
	background-color: #F9C445;
	position: fixed;
	right: 0;
	top: 0;
	height: 100%;
	width: 35px;
	z-index: 0;
}

#root-container p {
	line-height: 1.625;
	margin-bottom: 1.5625em;
    text-align: justify; /* 25/16 */
}

#root-container p:last-child {
	margin-bottom: 0;
}

#main-container a,
#footer-container a {
	border-bottom: 2px solid #F9C445;
	color: #333;
	font-weight: bold;
	text-decoration: none;
	
	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;
}

#main-container a:hover,
#footer-container a:hover {
	border-bottom-color: #333;
	border-width: 1px;
	color: #F9C445;
}

strong {
	font-weight: bold;
}

label {
	font-size: 0.875em;
	color: inherit;
}

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;
}

.col-center * {
	text-align: center !important;
}

.no-margin-bottom,
.wpb_text_column.no-margin-bottom p {
	margin-bottom: 0 !important;
}

.no-margin-top {
	margin-top: 0 !important;
}

.extra-margin-bottom {
	margin-bottom: 70px !important;
}

.extra-margin-top {
	margin-top: 50px !important;
}

.margin-bottom-30 {
	margin-bottom: 30px !important;
}

.normal-align-left {
	text-align: left;
}

.normal-align-right {
	text-align: right;
}

.normal-align-center,
.center {
	text-align: center;
}

.display-block {
	display: block !important;
}

.hide {
	display: none !important;
}

.uppercase {
	text-transform: uppercase;
}

.filled-bg {
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

/* List Item */
#content-wrapper ul,
#content-wrapper ol {
	list-style: square;
	margin-bottom: 25px;
	margin-left: 15px;
}

#content-wrapper ol {
	list-style: decimal;
}

#content-wrapper li {
	line-height: 1.7;
	margin-left: 18px;
	margin-bottom: 12px;
	margin-top: 12px;
}

#content-wrapper 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;
}

.sticky.fixed {
	position: static;
	z-index: 1;
}

.sticky-badge {
    display: inline-block;
    float: left;
    line-height: 1;
    margin: 6px 18px 0 0;
    font-size: 20px;
}

.bypostauthor {
	
}

.wp-caption-text {
	font-size: 0.9em;
	margin-top: 5px;
	text-align: center;
}


/***** 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: 2px;
}

table th {
	color: #3b3b3b;
	font-size: 14px;
	font-weight: bold;
	padding: 2px;
}

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;
}

/* Some solid colors */
#root-container .solid-green,
#root-container .bar_green { /* VC progress bar color */
	background: #71BB6D !important;
}

#root-container .solid-red,
#root-container .bar_red { /* VC progress bar color */
	background: #E66F66 !important;
}

#root-container .solid-yellow {
	background: #F9C445 !important;/*#FAB336 !important;*/
	color: #000 !important;
}

#root-container .solid-blue,
#root-container .bar_blue { /* VC progress bar color */
	background: #4F84C7 !important;
}

#root-container .solid-gray,
#root-container .bar_grey { /* VC progress bar color */
	background: #A2A2A2 !important;
}

#root-container .solid-gold {
	background: #C5AE87 !important;
}

#root-container .solid-pink {
	background: #EB9FCF !important;
}

#root-container .solid-purple {
	background: #9D75C2 !important;
}

#root-container .solid-magenta {
    background: #FF00FF !important;
}

#root-container .solid-brown {
    background: #B76408 !important;
}

#root-container .solid-black {
    background: #000000 !important;
}


/* #Page Structure
================================================== */
#root-container {
	/*padding-top: 85px;*/
	padding: 40px 0 80px;
	width: 1590px;
}

.left-width {
	box-sizing: border-box;
	display: inline-block;
	margin-right: 135px;
	padding-left: 40px;
	text-align: right;
	vertical-align: top;
	width: 300px;
}

.right-width {
	display: inline-block;
	vertical-align: top;
}

.right-width,
#root-container .full-width {
	width: 1150px;
}

#header-container {
	padding-bottom: 10px;
	position: relative;
}

#header-container > div {
	display: inline-block;
	vertical-align: bottom;
}

#logo img {
    max-width: 250px;
}

#logo h1 {
	font-family: 'Questrial', sans-serif;
	font-size: 64px;
	letter-spacing: -2px;
	line-height: 1;
/*	text-transform: lowercase; */
}

#logo span {
	color: #F9C445;
	margin-right: 15px;
	letter-spacing: -12px;
}

#logo a {
	color: #333;
	text-decoration: none;
}

#tagline-search-group {
	position: relative;
}

#tagline {
	color: #333;
	font-size: 48px;
	letter-spacing: 0.7px;
/*	line-height: 3; */
    /*	text-transform: lowercase;    */
    text-align:center;
	vertical-align: bottom;
}

#language-flags {
    text-align: center;
}

#helfen-sie-mit {
	color: #555;
	font-family: 'Questrial', sans-serif;
	font-size: 12px;
	position: absolute;
	bottom: -10px;
	right: 0;
}

#office-time-phone-search > div {
	display: inline-block;
	margin-right: 25px;
}

#office-time-phone-search span:last-child {
	margin-right: 0;
}

#office-time-phone-search i {
	color: #333;
	font-size: 18px;
	margin-right: 7px;
	vertical-align: middle;
}

#search {
	margin-left: 30px;
}

#search > a {
	color: #333;
	text-decoration: none;
}

#search-panel-wrapper {
	background: #fff;
	border: 4px double #dedede;
	border-top: 1px solid #efefef;
	display: none;
	opacity: 0;
	overflow: hidden;
	padding: 15px;
	position: absolute;
	left: -40px;
	top: 40px;
	width: 300px;
	z-index: 999;
}

#search-panel-wrapper a {
	color: #333;
	float: right;
	text-align: right;
}

#search-panel-wrapper #search-input {
	font-size: 14px;
}

.site-line-group.header {
	margin-bottom: 40px;
}

.site-line-group.footer {
	margin-top: 20px;
}

/*** Menu ***/
#menu-container {
	display: inline-block;
	text-transform: lowercase;
	vertical-align: top;
}

#main-menu {
	
}

#main-menu a {
	color: #333;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	
	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;
}

#main-menu a:hover {
	color: #F9C445;
}

#main-menu a.active {
	font-weight: normal;
}

#main-menu > li {
	position: relative;
}

#main-menu > li:hover > a {
	color: #F9C445;
}

.submenu {
	box-sizing: border-box;
	border: 4px double #dedede;
	border-left: 1px solid #efefef;
	background: #fff;
    display: none;
	padding: 40px 30px;
	position: absolute;
	right: -230px;
	top: -38px;
	text-align: left;
	width: 210px;
	z-index: 99;
}

#main-menu .submenu li {
	line-height: 1.1;
	margin-bottom: 8px;
	position: relative;
}

#main-menu .submenu li:hover > a > span {
	border-bottom: 2px solid #F9C445;
}

#main-menu .submenu a {
	color: #333;
	display: block;
	font-size: 13px;
	font-weight: normal;
	line-height: 1.3;
}

#main-menu .submenu a > span {
	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;
}

#main-menu .submenu a:hover > span {
	border-bottom: 2px solid #F9C445;
}

.submenu a.sf-with-ul > span:after {
	content: '\f3d3';
	font-family: 'Ionicons';
	vertical-align: middle;
	margin-left: 8px;
	opacity: .5;
}

/* Sub sub menu */
#main-menu > li > ul li ul {
	top: -44px;
	left: 100%;
	right: inherit;
}

/*** Mobile Menu ***/
#mobile-menu {
	background: none;
	border-bottom: 1px solid #eee;
	-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: 0 0 50px;
	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;
	text-decoration: none;
}

.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.9375 rem;
}

.top-bar-section .submenu.dropdown {
	border: 0;
}

/* 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;
}



/***** Content *****/
#main-container {
}

#main-container h1,
#main-container h2,
#main-container h3,
#main-container h4,
#main-container h5,
#main-container h6,
#page-404 h1 {
	color: #333;
	font-family: 'Questrial', sans-serif;
	font-weight: bold;
	letter-spacing: 0;
	line-height: 1.5;
	padding-top: 0.76923076923076923076923076923077em; /* 20px */
	text-transform: uppercase;
}

#main-container .custom-text-color h1,
#main-container .custom-text-color h2,
#main-container .custom-text-color h3,
#main-container .custom-text-color h4,
#main-container .custom-text-color h5,
#main-container .custom-text-color h6 {
    color: inherit;
}

#main-container h1,
#page-404 h1 {
	font-size: 26px;
	margin-bottom: 0.96153846153846153846153846153846em; /* 25px */
}

#main-container h2,
#main-container h3.larger {
	font-size: 22px;
	margin-bottom: 1em; /* 22px */
}

#main-container h3,
#main-container h2.smaller {
	font-size: 19px;
	margin-bottom: 1.0526315789473684210526315789474em; /* 20px */
	padding-top: 0.78947368421052631578947368421053em; /* 15px */
}

#main-container h4 {
	font-size: 16px;
	margin-bottom: 1.125em; /* 18px */
	padding-top: 0.9375em; /* 15px */
}

#main-container h5 {
	font-size: 14px;
	margin-bottom: 1.0714285714285714285714285714286em; /* 15px */
	padding-top: 0.85714285714285714285714285714286em; /* 12px */ 
}

#main-container h6 {
	font-size: 12px;
	margin-bottom: 1em; /* 12px */
	padding-top: 0.83333333333333333333333333333333em; /* 10px */
}

#main-container .has-line {
	border-bottom: 3px solid #333;
	padding-bottom: 0.8em;
}

#main-container .has-line.thin {
	border-width: 1px;
}

#main-container .light-heading {
	color: #aaa;
	text-transform: none;
	line-height: 1.5;
	font-weight: normal;
	letter-spacing: normal;
}

/*** Page Intro ***/
#intro-wrapper {
	margin-top: 10px;
	margin-bottom: 30px;
	width: 100%; 
}

#intro-wrapper span {
	color: #F9C445;
}

#main-container #intro-title {
	color: #333;
	font-family: 'Questrial', sans-serif;
	font-size: 36px;
/*	font-weight: bold; */
	letter-spacing: -0.5px;
	line-height: 1.1;
	margin-bottom: 25px;
	padding: 0;
	text-transform: none;
	width: 800px;
}

#main-container #intro-body {
	color: #333;
	font-family: 'Raleway', sans-serif;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.7;
    text-align: justify;
}
#intro-list {
    color: #333;
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.7;
    text-align: left;
    list-style: disc;
    padding-left: 20px;
}
/*** Page Slider ***/
#page-slider-wrapper * {
	box-sizing: border-box;
}

#page-slider-wrapper a {
	border: 0;
}

#page-slider-wrapper {
	background-color: #efefef;
	background-image: url('../images/loading.gif');
	background-repeat: no-repeat;
	background-position: 50%;
	/*height: 400px;  initial height that will be reset in JS code */
	/*max-height: 575px;*/
	margin-bottom: 60px;
	/*overflow: hidden;*/
	position: relative;
}

#page-slider-wrapper.portfolio-slider {
	margin-bottom: 100px;
}

#inner-page-slider-wrapper {
	opacity: 0;
	visibility: hidden;
}

#page-slider-wrapper,
.page-slider-item {
	height: 575px;
}

.page-slider-item {
	margin-right: 1px;
	/* "width" is set via JS code */
	
	/* To fix lagging, sluggish issue on Safari on iPad/iPhone while dragging slide when using with CSS filter */
	-webkit-transform: translateZ(0);
	-webkit-perspective: 1000;
	-webkit-backface-visibility: hidden;
	
	filter: gray; /* IE6-9 */
	filter: grayscale(1); /* Firefox 35+ */
	-webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
	opacity: 0.2;
	
	max-width: 100.5%;
}

#page-slider-wrapper .page-slider-item img {
	max-height: 100%;
	max-width: 100.5%;
}

#page-slider-wrapper.one-slide,
#page-slider-wrapper.one-slide .page-slider-item {
	height: auto;
}

#page-slider-wrapper.one-slide .page-slider-item {
	opacity: 1;
}

.page-slider-item.is-selected,
.one-slide .page-slider-item {
	filter: none;
	filter: grayscale(0);
	-webkit-filter: grayscale(0);
	opacity: 1;
}

.page-slider-item span {
	display: none;
}

#page-slider-caption-box-wrapper {
	position: absolute;
	right: 150px;
	top: 35px;
}

#page-slider-caption-box {
	background: #fff;
	box-sizing: border-box;
	font-size: 16px;
	height: 85px;
	padding: 2.625em 2.625em 2.375em; /* 2.625 = 42px, 2.375 = 38px */
	/*position: absolute;
	right: 150px;
	top: 35px;*/
	width: auto; /* 18.75 = 300px */
}

.one-slide #page-slider-caption-box-wrapper {
	padding-bottom: 2.625em;
	right: 35px;
}

#page-slider-caption-box .caption-text {
	display:normal;
	font-weight: 300;
	line-height: 1.1;
}

#page-slider-wrapper.portfolio-slider span.caption-text {
    background: rgb(255,255,255);
    background: rgba(255,255,255, 0.7);
    box-sizing: border-box;
    color: #444;
    display: block;
    font-family: 'Questrial', sans-serif;
    font-size: 12px;
    line-height: 1.3;
    opacity: 0;
    padding: 12px 20px;
    position: absolute;
    bottom: 20px;
    left: 20px;
    max-width: 50%;
}

.fancybox-title {
    font-family: 'Questrial', sans-serif;
}

#page-slider-wrapper.portfolio-slider .is-selected span.caption-text {
	opacity: 1;
}

#slide-count {
	color: #333;
	font-family: 'Questrial', sans-serif;
	font-size: 2.5em; /* 2.5 = 40px */
	line-height: 1;
	margin-top: 0.75em; /* 30/40 */
}

#page-slider-caption-box.no-text {
	display: table;
	height: 101px;
	padding: 0 42px;
}

#page-slider-caption-box.no-text #slide-count {
	display: table-cell;
	vertical-align: middle;
}

#current-slide-number {
	font-size: 1.125em; /* 1.125 = 45px */
	font-weight: bold;
}

#current-slide-number:before {
	content: '.';
}

#max-slide-number {
	font-size: 0.625em; /* 0.625 = 25px */
}

#page-slider-nav {
	position: absolute;
	/*right: 99px;
	top: 35px;*/
	right: -51px;
	top: 0;
	width: 50px;
}

#page-slider-nav > a {
	background: #333;
	border: 0;
	box-sizing: border-box;
	color: #fff;
	display: table;
	height: 42px;
	width: 42px;
	text-align: center;
	text-decoration: none;
}

#page-slider-nav > a:last-child {
	margin-top: 1px;
}

#page-slider-nav > a i {
	display: table-cell;
	font-size: 20px;
	vertical-align: middle;
}

#page-slider-border {
	background: none;
	border: 1px solid #fff;
	position: absolute;
	left: -1px;
	top: 15px;
	
	pointer-events: none;
}

#page-slider-wrapper .flickity-page-dots {
	bottom: -45px;
}

#page-slider-wrapper.portfolio-slider a.image-box {
    background: #333;
    border: 3px double #ccc;
    box-sizing: border-box;
    color: #fff;
    display: table;
    font-size: 30px;
    line-height: 0;
    opacity: 0;
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    text-align: center;
}

#page-slider-wrapper.portfolio-slider .is-selected a.image-box {
	opacity: 1;
}

#page-slider-wrapper.portfolio-slider a.image-box:hover {
	color: #F9C445;
}

#page-slider-wrapper.portfolio-slider a.image-box i {
    display: table-cell;
    vertical-align: middle;
}



/*** Actual Content ***/
#content-wrapper {
	margin: 0 -15px;
	width: 1200px;
}


/***** Portfolio *****/
.uxb-port-root-element-wrapper,
.uxb-port-root-element-wrapper * {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.uxb-port-root-element-wrapper {
	margin: 0 -1.428571428571429%; /* negative margins to deal with "portfolio-item" margins so the items are aligned with grid */
	padding-top: 15px;
	overflow: hidden;
	
	/* newly added to centering the loading icon using "absolute" position */
	/* (NOTE: UXbarn Portfolio plugin) */
	position: relative;
}

.uxb-port-loading-text {
	background: url('../images/loading-s.gif') no-repeat 50% 35%;
	border: 4px double #eee;
	color: #3d3d3d;
	display: block;
	font-size: 10px;
	margin: 20px auto;
	text-align: center;
	width: 90px;
	height: 90px;
	
	/* newly added to centering the loading icon using "absolute" position */
	/* (NOTE: UXbarn Portfolio plugin) */
	position: absolute;
	left: 50%;
	margin-left: -70px;
}

.uxb-port-loading-text span {
    margin-top: 60px;
    float: left;
    width: 100%;
    display: block;
    letter-spacing: 1px;
	text-transform: lowercase;
}

.uxb-port-loaded-element-wrapper {
	opacity: 0;
	overflow: hidden;
	visibility: hidden;
}

#root-container ul.uxb-port-element-filters {
    list-style: none;
    margin: 0 15px 40px;
    padding: 0;
}

#root-container .uxb-port-element-filters li {
    display: inline-block;
    margin: 0;
   	margin-right: -1px;
}

.uxb-port-element-filters li:after {
	color: #ddd;
	content: '/';
	font-size: 0.8em;
	font-weight: bold;
}

.uxb-port-element-filters li:last-child:after {
	content: '';
}

#content-wrapper .uxb-port-element-filters li:first-child a {
	margin-left: 0;
}

#content-wrapper .uxb-port-element-filters a {
    color: #919191;
    display: inline-block;
	font-size: 16px;
    font-weight: normal;
    padding: 10px 0 0;
    margin: 0 10px;
    text-decoration: none;
	text-transform: none;
	
	transition: all .18s ease-in-out;
   	-moz-transition: all .18s ease-in-out;
   	-webkit-transition: all .18s ease-in-out;
   	-o-transition: all .18s ease-in-out;
}

#content-wrapper .uxb-port-element-filters a:hover {
    color: #F9C445;
}

#content-wrapper .uxb-port-element-filters a.active,
#content-wrapper .uxb-port-element-filters a.active:hover {
    color: #333;
    cursor: default;
	font-weight: bold;
}

.uxb-port-element-item {
	cursor: pointer;
	float: left;
	margin: 0 1.428571428571429% 30px;
	overflow: hidden;
	position: relative;
	opacity: 0;
	visibility: hidden; /* need to use this instead of "display: none" because isotope JS will have to calculate the dimension of the element */
}

/*cks*/
.uxb-port-element-item-caption-box-wrapper {
    position: absolute;
    left: 25px;
    bottom: 10px;
    right: 25px;
}

.uxb-port-element-item-caption-box {
    background: #fff;
    box-sizing: border-box;
    font-size: 12px;
    height: auto;
    width: auto; /* 18.75 = 300px */
    padding: 0.5em 0.5em 0.5em 0.5em; /* 2.625 = 42px, 2.375 = 38px */
    /*position: absolute;
    right: 150px;
    top: 35px;*/
}

.uxb-port-element-item-caption-box .caption-text {
    display: block;
    font-weight: 300;
    line-height: 1.625;
    text-align: center;
}


/* hier muss was geschehen, wenn es auf dem iPad funktionieren soll*/
.uxb-port-element-item:hover .uxb-port-element-item-hover {
	opacity: 1;
    -webkit-user-select: none; 
    -webkit-touch-callout: none;
}
.uxb-port-element-item.visible {
	opacity: 1;
}

.uxb-port-element-item-hover {
	background: #F9C445;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
	line-height: 1;
	margin: 0;
	padding: 0;
	opacity: 0;
	position: absolute;
	top: 0.9375em; /* 15px */
	bottom: 0.9375em;
	left: 0.9375em;
	right: 0.9375em;
	
	transition: all .18s ease-in-out;
   	-moz-transition: all .18s ease-in-out;
   	-webkit-transition: all .18s ease-in-out;
   	-o-transition: all .18s ease-in-out;
}

.uxb-port-element-item a {
	border-bottom: 0 !important;
	font-weight: normal !important;
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1;
	
	/* to fix unclickable link on IE */
	background: #ccc;
	opacity: 0;
}

.uxb-port-element-item-hover-info {
	box-sizing: border-box;
	border-bottom: 3px solid #333;
	/*margin: 30px 0 0 30px;
	padding-bottom: 40px;*/
	margin: 1.875em 0 0 1.875em;
	padding-bottom: 2.5em;
	width: 70%;
}

#main-container .uxb-port-element-item-hover-info .portfolio-item-title {
	color: #333;
	font-family: 'Questrial', sans-serif;
	font-size: 3em;
	font-weight: bold;
	line-height: 1;
	margin: 0;
	padding: 0;
	text-transform: lowercase;
}

.uxb-port-element-item img {
	/*width: 100%;
	width: 99.8%; */ /* to fix 1px glitch at the right on Chrome (unused) */
}

/* 2 Columns */
.uxb-port-root-element-wrapper.col2 .uxb-port-element-item { /**/
	font-size: 16px; /* based font size for "em" usage on margins and item title */
	/* width: 30.4%; this works on all except safari... */
	width: 47%;
}

/* 2 Columns: inside various containing columns */
.vc_span2.wpb_column .uxb-port-root-element-wrapper.col3 .uxb-port-element-item,
.large-2.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 4px;
}

.vc_span3.wpb_column .uxb-port-root-element-wrapper.col3 .uxb-port-element-item,
.large-3.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 6px;
	width: 30%;
}

.vc_span4.wpb_column .uxb-port-root-element-wrapper.col3 .uxb-port-element-item,
.large-4.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 8px;
}

.vc_span5.wpb_column .uxb-port-root-element-wrapper.col3 .uxb-port-element-item,
.large-5.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 9px;
}

.vc_span6.wpb_column .uxb-port-root-element-wrapper.col3 .uxb-port-element-item,
.large-6.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 11px;
}

.vc_span7.wpb_column .uxb-port-root-element-wrapper.col3 .uxb-port-element-item,
.large-7.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 12px;
}

.vc_span8.wpb_column .uxb-port-root-element-wrapper.col3 .uxb-port-element-item,
.large-8.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 13px;
}

.vc_span9.wpb_column .uxb-port-root-element-wrapper.col3 .uxb-port-element-item,
.large-9.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 14px;
}

.vc_span10.wpb_column .uxb-port-root-element-wrapper.col3 .uxb-port-element-item,
.large-10.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 15px;
	width: 30.3%;
}


/* 4 Columns */
.uxb-port-root-element-wrapper.col4 .uxb-port-element-item {
	font-size: 8px; /* based font size for "em" usage on margins and item title */
	margin-bottom: 3.75em; /* 30/13 */
	/*width: 22.1%; this works on all except safari... */
	width: 21.88%; 
}

.uxb-port-root-element-wrapper.col4 .uxb-port-element-item.width-2x {
	font-size: 16px;
	width: 46.7%;
}

/* 4 Columns: inside various containing columns */
.vc_span2.wpb_column .uxb-port-root-element-wrapper.col4 .uxb-port-element-item,
.large-2.columns .uxb-port-root-element-wrapper.col4 .uxb-port-element-item { /**/
	font-size: 2px;
}

.vc_span3.wpb_column .uxb-port-root-element-wrapper.col4 .uxb-port-element-item,
.large-3.columns .uxb-port-root-element-wrapper.col4 .uxb-port-element-item { /**/
	font-size: 2px;
	width: 21.7%;
}

.vc_span4.wpb_column .uxb-port-root-element-wrapper.col4 .uxb-port-element-item,
.large-4.columns .uxb-port-root-element-wrapper.col4 .uxb-port-element-item { /**/
	font-size: 4px;
}

.vc_span5.wpb_column .uxb-port-root-element-wrapper.col4 .uxb-port-element-item,
.large-5.columns .uxb-port-root-element-wrapper.col4 .uxb-port-element-item { /**/
	font-size: 6px;
}

.vc_span6.wpb_column .uxb-port-root-element-wrapper.col4 .uxb-port-element-item,
.large-6.columns .uxb-port-root-element-wrapper.col4 .uxb-port-element-item { /**/
	font-size: 8px;
}

.vc_span7.wpb_column .uxb-port-root-element-wrapper.col4 .uxb-port-element-item,
.large-7.columns .uxb-port-root-element-wrapper.col4 .uxb-port-element-item { /**/
	font-size: 9px;
}

.vc_span8.wpb_column .uxb-port-root-element-wrapper.col4 .uxb-port-element-item,
.large-8.columns .uxb-port-root-element-wrapper.col4 .uxb-port-element-item { /**/
	font-size: 10px;
}

.vc_span9.wpb_column .uxb-port-root-element-wrapper.col4 .uxb-port-element-item,
.large-9.columns .uxb-port-root-element-wrapper.col4 .uxb-port-element-item { /**/
	font-size: 11px;
	width: 22%;
}

.vc_span10.wpb_column .uxb-port-root-element-wrapper.col4 .uxb-port-element-item,
.large-10.columns .uxb-port-root-element-wrapper.col4 .uxb-port-element-item { /**/
	font-size: 12px;
	width: 22%;
}

/* Portfolio 4 Columns: with sidebar */
.with-sidebar .large-2.columns .uxb-port-root-element-wrapper.col4 .uxb-port-element-item { /**/
	font-size: 2px;
}

.with-sidebar .large-3.columns .uxb-port-root-element-wrapper.col4 .uxb-port-element-item { /**/
	font-size: 2px;
	width: 21.7%;
}

.with-sidebar .large-4.columns .uxb-port-root-element-wrapper.col4 .uxb-port-element-item { /**/
	font-size: 4px;
	width: 21.7%;
}

.with-sidebar .large-5.columns .uxb-port-root-element-wrapper.col4 .uxb-port-element-item { /**/
	font-size: 4px;
}

.with-sidebar .large-6.columns .uxb-port-root-element-wrapper.col4 .uxb-port-element-item { /**/
	font-size: 6px;
}

.with-sidebar .large-7.columns .uxb-port-root-element-wrapper.col4 .uxb-port-element-item { /**/
	font-size: 8px;
}

.with-sidebar .large-8.columns .uxb-port-root-element-wrapper.col4 .uxb-port-element-item { /**/
	font-size: 9px;
}

.with-sidebar .large-9.columns .uxb-port-root-element-wrapper.col4 .uxb-port-element-item { /**/
	font-size: 10px;
	width: 22%;
}

.with-sidebar .large-10.columns .uxb-port-root-element-wrapper.col4 .uxb-port-element-item { /**/
	font-size: 11px;
	width: 22%;
}




/* 3 Columns */
.uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 11px; /* based font size for "em" usage on margins and item title */
	/* width: 30.4%; this works on all except safari... */
	width: 30.25%;
}

/* 3 Columns: inside various containing columns */
.vc_span2.wpb_column .uxb-port-root-element-wrapper.col3 .uxb-port-element-item,
.large-2.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 4px;
}

.vc_span3.wpb_column .uxb-port-root-element-wrapper.col3 .uxb-port-element-item,
.large-3.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 6px;
	width: 30%;
}

.vc_span4.wpb_column .uxb-port-root-element-wrapper.col3 .uxb-port-element-item,
.large-4.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 8px;
}

.vc_span5.wpb_column .uxb-port-root-element-wrapper.col3 .uxb-port-element-item,
.large-5.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 9px;
}

.vc_span6.wpb_column .uxb-port-root-element-wrapper.col3 .uxb-port-element-item,
.large-6.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 11px;
}

.vc_span7.wpb_column .uxb-port-root-element-wrapper.col3 .uxb-port-element-item,
.large-7.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 12px;
}

.vc_span8.wpb_column .uxb-port-root-element-wrapper.col3 .uxb-port-element-item,
.large-8.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 13px;
}

.vc_span9.wpb_column .uxb-port-root-element-wrapper.col3 .uxb-port-element-item,
.large-9.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 14px;
}

.vc_span10.wpb_column .uxb-port-root-element-wrapper.col3 .uxb-port-element-item,
.large-10.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 15px;
	width: 30.3%;
}

/* Portfolio 3 Columns: with sidebar */
.with-sidebar .large-2.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 2px;
	width: 29.5%;
}

.with-sidebar .large-3.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 4px;
	width: 30%;
}

.with-sidebar .large-4.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 6px;
	width: 30.3%;
}

.with-sidebar .large-5.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 7px;
	width: 30%;
}

.with-sidebar .large-6.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 9px;
}

.with-sidebar .large-7.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 11px;
	width: 30%;
}

.with-sidebar .large-8.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 12px;
}

.with-sidebar .large-9.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 13px;
	width: 30.3%;
}

.with-sidebar .large-10.columns .uxb-port-root-element-wrapper.col3 .uxb-port-element-item { /**/
	font-size: 14px;
	width: 30.3%;
}

/***** Portfolio Single Page *****/
#root-container #uxb-port-item-meta {
	font-size: 14px;
	list-style: none;
	margin-bottom: 0;
}

#uxb-port-item-meta a {
	font-weight: normal;
}

#root-container #uxb-port-item-meta li {
    margin: 0;
    margin-bottom: 15px;
    line-height: 1.3;
}

#root-container #uxb-port-item-meta li:last-child {
	margin-bottom: 0;
}

#uxb-port-item-meta .title {
	color: #333;
	font-weight: bold;
	margin-right: 5px;
}

#uxb-port-item-meta .title:after {
    content: ':';
}

#uxb-port-item-categories {
    display: inline;
    margin: 0 !important;
    padding: 0;
}

#uxb-port-item-categories li {
    display: inline-block;
    margin-right: 3px;
    margin-bottom: 0 !important;
}

#uxb-port-item-categories li:after {
    content: '/';
}

#uxb-port-item-categories li:last-child:after {
    content: '';
}



/*** Footer ***/
#footer-container {
	padding: 60px 0 0;
}

#footer-content {
/*    color: #888;*/
    color: #333;
	font-size: 14px;
    line-height: 1.7;
	margin-left: -15px;
	margin-right: -15px;
}

#footer-content h5 {
	color: #333;
	font-family: 'Questrial', sans-serif;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 1.4;
    margin-bottom: 0.75em; /* 18px */
/*    text-transform: lowercase; */
}

#footer-content p {
    line-height: 1.7;
    margin-bottom: 15px;
}

#footer-content p:last-child {
	margin-bottom: 0;
}

#footer-content li {
	line-height: 1.7;
}

.footer-widget-item {
    margin-bottom: 40px;
    overflow: hidden;
}

.columns .footer-widget-item:last-child {
    margin-bottom: 0;
}


#copyright {
	color: #333;
	font-size: 13px;
	line-height: 1.8;
	margin-bottom: 2.3076923076923076923076923076923em; /* 30px */
}

ul.bar-social {
	float: right;
}

ul.bar-social li {
	display: inline-block;
	margin: 0 1px 6px;
}

ul.bar-social li a img {
	opacity: 0.3;
	transition: opacity .12s ease-in-out;
   -moz-transition: opacity .12s ease-in-out;
   -webkit-transition: opacity .12s ease-in-out;
   -o-transition: opacity .12s ease-in-out;
}

ul.bar-social li a:hover img {
	opacity: 1;
}

#root-container ul.bar-social li a {
	border: 0;
	color: inherit;
}

/***** Team Page *****/
.uxb-team-thumbnail {
	margin-bottom: 18px;
}

#main-container ul.uxb-team-social,
#uxb-team-single ul.uxb-team-social {
	list-style: none !important;
	margin-bottom: 0 !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
}

#main-container .uxb-team-social li,
#uxb-team-single .uxb-team-social li {
	display: inline-block !important;
	line-height: 1 !important;
	margin: 0;
	margin-left: 0 !important;
	margin-right: 3px !important;
}

#main-container .uxb-team-social li:last-child,
#uxb-team-single .uxb-team-social li:last-child {
	margin-right: 0 !important;
}

#main-container .uxb-team-name {
	color: #333;
	font-family: 'Questrial', sans-serif;
	font-size: 24px;
	margin-bottom: 0.2em;
	padding: 0;
	text-transform: none;
}

#main-container .uxb-team-name.smaller {
	font-size: 19px;
}

#main-container .uxb-team-name a {
	border: 0;
	color: inherit;
	transition: color .18s ease-in-out;
   -moz-transition: color .18s ease-in-out;
   -webkit-transition: color .18s ease-in-out;
   -o-transition: color .18s ease-in-out;
}

#main-container .uxb-team-name a:hover {
	color: #F9C445;
}

#main-container .uxb-team-position {
	color: #aaa;
	font-size: 14px;
	font-weight: normal;
	margin-bottom: 1.07em;
	padding: 0;
	text-transform: none;
}

/*** Team Single Page ***/
#uxb-team-single-photo img {
	display: block;
	max-width: 100%;
}

#uxb-team-single {
	margin: 0 auto 68px;
}

#uxb-team-info {
}

.uxb-team-email-single {
	margin-bottom: 0.9em;
}

.uxb-team-email-single a {
	font-weight: normal;
}

#uxb-team-info .uxb-team-position-single,
.uxb-team-position-single {
	margin-bottom: 0.5em;
}



/* #Blog Page
================================================== */
/***** Blog List *****/
#content-wrapper.blog-list {
	padding-top: 20px;
}

#content-wrapper.blog-single {
	padding-top: 20px;
}

#blog-wrapper {
	box-sizing: border-box;
	padding-right: 50px;
}

#blog-wrapper .blog-item {
	margin-bottom: 50px;
	overflow: hidden;
}

#blog-wrapper .blog-thumbnail {
	float: left;
	margin-right: 4.5%; /* 35/780 */
	width: 32%;
}

.blog-info {
    float: left;
    width: 63.5%;
}

#blog-wrapper .blog-title {
	color: #333;
	font-family: 'Questrial', sans-serif;
	font-size: 24px;
	margin-bottom: 0.625em;
	text-transform: none;
}

#blog-wrapper .blog-title a {
	border: 0;
}

#blog-wrapper .blog-meta-wrapper {
    border-top: 1px solid #333;
    color: #666;
    display: inline-block;
    font-size: 12px;
    margin-top: 25px;
    padding-top: 12px;
}

#blog-wrapper ul.blog-meta {
    list-style: none;
    margin: 0;
}

#blog-wrapper ul.blog-meta li {
    display: inline-block;
    margin: 0;
}

#blog-wrapper ul.blog-meta li:after {
    content: '-';
    padding: 0 5px;
}

#blog-wrapper ul.blog-meta li:last-child:after {
    content: '';
    padding: 0;
}

#blog-wrapper ul.blog-meta li a {
    border: 0;
    font-weight: normal;
}

#blog-wrapper ul.blog-meta li a:hover {
    color: #333;
}

#blog-pagination {
	margin-top: 100px;
	text-align: center;
}

#blog-pagination ul {
    font-family: 'Questrial', sans-serif;
    list-style: none;
    margin: 0;
}

#blog-pagination ul li {
    display: inline-block;
    margin: 0;
}

#blog-pagination ul li a {
    border: 0;
    padding: 10px 13px;
}

#blog-pagination ul li.unavailable {
	display: none;
}

#blog-pagination ul li.current a {
	border: 1px solid #ddd;
	font-weight: normal;
}

#blog-pagination ul li.current a:hover {
	color: initial;
	cursor: default;
}

/***** Blog Single *****/
#blog-single-content .blog-info {
	float: none;
	width: 100%;
}

#blog-single-content .blog-title {
	padding-top: 0;
}

#blog-single-content .blog-meta-wrapper {
	margin-top: 0;
	margin-bottom: 35px;
}

/*** Categories, Tags ***/
#blog-single-content .post-small-list {
    line-height: 2;
    list-style: none;
    margin: 0;
    padding: 0;
}

#blog-single-content .post-small-list a {
}

#blog-single-content .post-small-list li {
    display: inline-block;
    margin: 0;
}

#blog-single-content .post-small-list li:after {
    content: '/';
    padding-left: 7px;
}

#blog-single-content .post-small-list li:first-child {
	margin-right: 3px;
}

#blog-single-content .post-small-list li:first-child:after {
    content: ':';
	padding: 0;
}

#blog-single-content .post-small-list li:last-child:after {
    content: '';
}

#blog-single-content .post-small-list li:first-child:before {
	font-family: 'Ionicons';
	font-size: 16px;
	padding-right: 10px;
}

#post-categories li:first-child:before {
	content: '\f434';
}

#post-tags li:first-child:before {
	content: '\f48e';
}

#blog-single-content #categories-tags-wrapper {
	color: #333;
	margin-top: 60px;
}

/*** Author Box ***/
#author-box {
    border: 4px double #dedede;
    border-left: 1px solid #efefef;
    box-sizing: border-box;
    padding: 40px;
    width: 650px;
    overflow: hidden;
}

#author-photo-wrapper {
    float: right;
    margin-top: 50px;
}

#author-photo-wrapper img {
	max-width: 120px;
}

#author-info {
    margin-right: 150px;
}

#author-info h3 {
    font-family: 'Raleway', sans-serif;
    text-transform: none;
}

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;
}


.blog-section {
	margin-bottom: 60px;
}

.blog-section-title {
	font-size: 20px !important;
}

#main-container .blog-section-title {
	margin-bottom: 40px;
	overflow: hidden;
	text-transform: none;
}

/* blog-single, contact */
.textarea-height {
	height: 150px;
}

/* elements-blockquotes-testimonials */
.tmnl-width {
	width: 50% !important;
}


/*** Comments ***/
#comment-content {
	font-size: 14px;
	margin-bottom: 0;
}

#comment-content a {
	border: 0;
	font-weight: normal;
	text-decoration: none;
}

#comment-content a:hover {
	/*border-bottom: 1px solid #ddd;*/
}

#comment-content > ul > li {
	margin-left: 0;
}

#comment-content ul.commentlist {
	list-style: none;
	margin-left: 0;
	margin-top: 0;
	margin-bottom: 0;
}

#comment-content ul.children {
	list-style: none;
	margin: 0 0 0 35px
}

.comment-item, 
.comment {
	overflow: hidden;
}

#respond label {
	font-size: 13px;
}

#respond .row,
#main-container .custom-form .row {
	margin-bottom: 12px;
}

.parent #respond {
	margin: 30px 0 80px;
}

.cancel-reply {
	float: right;
    font-size: 13px;
    font-weight: normal !important;
    margin-left: 15px !important;
    margin-top: 3px;
}

.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 {
	border-bottom: 1px solid #ececec;
	padding-bottom: 10px;
	margin-bottom: 30px;
}

.commenter-photo {
	float: left;
	margin-top: 5px;
	vertical-align: top;
}

.commenter-photo img {
	/*border-radius: 50%;*/
}

.comment-post-wrapper {
	display: block;
	margin: 0 0 0 70px;
}

#root-container .comment-post-wrapper .comment-post p {
    margin-bottom: 15px;
}

.comment-item-meta {
	display: inline-block;
	margin-bottom: 5px;
}

.commenter-name {
	color: #222 !important;
	display: inline-block;
	padding-right: 10px;
}

.commenter-name a {
	color: #222 !important;
	font-weight: bold !important;
}

.comment-date {
	display: block;
}

.comment-date, .comment-date a {
	color: #888 !important;
	font-size: 12px;
	font-weight: normal !important;
}

.comment-awaiting-moderation {
	display: block;
	margin-bottom: 0;
}

.reply {
	float: right;
}

.reply a {
	font-size: 12px;
}

.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;
	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;
}




/***** Sidebar *****/
#sidebar-wrapper {
	color: #888;
	font-size: 14px;
    line-height: 1.7;
}

#sidebar-wrapper .widget-title {
	color: #333;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 1px;
	margin-bottom: 30px;
	padding-top: 0;
}

.widget-item {
	border-bottom: 1px solid #e5e5e5;
	box-sizing: border-box;
	padding: 40px 0;
}

.widget-item:first-child {
	padding-top: 0;
}

.widget-item:last-child {
	border: 0;
}

/***** Contact Page *****/
#success, 
#error {
	display: none;
}



/* #Elements
================================================== */

/***** Image *****/
.actInfoImg {
    text-align:center;
}

.image-element {
	margin-bottom: 25px;
	overflow: hidden;
	position: relative;
}
.columns .image-element:last-child {
	margin-bottom: 0;
}

.circle-shape {
	-webkit-border-radius: 50em;
	-moz-border-radius: 50em;
	border-radius: 50em;
}


/***** Buttons *****/
#root-container .button {
	background: none;
	border: 1px solid #ccc;
	box-sizing: border-box;
	color: #6c6c6c;
	display: inline-block;
	font-family: inherit;
	font-size: 16px;
	font-weight: normal;
	line-height: normal;
	padding: 0.9375em 1.375em; /* 15px 22px */
	position: relative;
}

#root-container .button:hover {
	border-color: #F9C445;
	color: #333;
}

#root-container .button.tiny {
	font-size: 12px;
	padding: 1em 1.2em;
}

#root-container .button.small {
	font-size: 14px;
	padding: 1em 1.16em;
}

#root-container .button.large {
	font-size: 20px;
	padding: 1em 1.5em;
}

#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.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;*/
}

.button i {
    margin-right: 8px;
}

.button-line {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid #e7e7e7;
    left: 3px;
    top: 3px;
}

/***** Icon *****/
.icon-shortcode,
i.uxb-icon {
	display: block;
	line-height: 1;
	margin: 15px auto;
}

i.uxb-icon.icon {
	height: auto;
	margin: 0;
	width: auto;
}

.icon-shortcode.large,
i.uxb-icon.large {
	font-size: 60px;
}

.icon-shortcode.float-left,
i.uxb-icon.float-left {
	float: left;
	margin: 0 12px 0 0;
}

.icon-shortcode.float-right,
i.uxb-icon.float-right {
	float: right;
	margin: 0 0 0 12px;
}

/* elements-buttons-icons */
.icon-style1 {
	color: #D8D8D8;
	font-size: 60px; 
}

.icon-style2 {
	color: #4DB7E9;
	font-size: 60px; 
}

.icon-style3 {
	color: #A4E778;
	font-size: 60px; 
}

.icon-style4 {
	color: #C9C9C9;
	font-size: 50px; 
}

/*** WP: For Heading element of UXbarn VC Extension plugin ***/
/* This will also override strange styling of i.icon from VC ... */
.uxb-heading i.icon {
	height: auto;
	width: auto;
	margin-right: 0.5em !important;
	margin-bottom: 3px;
	vertical-align: middle;
}

/***** 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 {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

/***** Gallery *****/
.gallery-wrapper {
	text-align: center;
}

.gallery-wrapper * {
	box-sizing: border-box;
}

.gallery-wrapper .gallery-item {
	background: #fff;
	display: inline-block;
	margin: 0 1.428571428571429% 30px;
	max-width: 21.5%;
	transition: all .18s ease-in-out;
   	-moz-transition: all .18s ease-in-out;
   	-webkit-transition: all .18s ease-in-out;
   	-o-transition: all .18s ease-in-out;
   	/* For fixing contained image movement on hovered when using with "transition" */
	-webkit-backface-visibility: hidden;
   	-webkit-transform: translateZ(0) scale(1.0, 1.0);
   	
   	vertical-align: top;
}

.gallery-wrapper.circle .gallery-item,
.gallery-wrapper.circle .gallery-item a,
.gallery-wrapper.circle .gallery-item img {
	-webkit-border-radius: 50em;
	-moz-border-radius: 50em;
	border-radius: 50em;
}

#main-container .gallery-wrapper .gallery-item a {
	background: none;
	border: 0;
	display: block;
}

#main-container .gallery-wrapper .gallery-item img {
	border: 5px solid transparent;
	opacity: 1;
	transition: all .18s ease-in-out;
   	-moz-transition: all .18s ease-in-out;
   	-webkit-transition: all .18s ease-in-out;
   	-o-transition: all .18s ease-in-out;
}

#main-container .gallery-wrapper .gallery-item a:hover img {
	border: 5px solid #F9C445;
}

#main-container .gallery-wrapper .gallery-item a:hover img {
	
}

#main-container .gallery-wrapper .gallery-item .image-caption {
	font-size: 13px;
	margin-top: 10px;
}

/***** Blockquote & Testimonial *****/
#main-container blockquote {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 15px 40px 20px;
}

#root-container #main-container blockquote p,
#main-container #sidebar-wrapper blockquote p,
#root-container #footer-content blockquote p {
/*    color: #888;*/
    color: #333;
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 0;
}

#main-container blockquote.left,
#main-container blockquote.right {
	padding: 12px 20px;
	width: 30%;
}

#main-container blockquote.left {
	padding-left: 0;
}

#main-container blockquote.right {
	padding-right: 0;
}

#main-container blockquote cite,
#main-container .uxb-tmnl-testimonial-item .uxb-tmnl-cite {
	color: #F9C445;
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: bold;
	line-height: 1.5;
	margin: 0;
    margin-top: 0.9em; /* 18px */
}

#main-container blockquote cite:before {
    content: "\2014 \0020";
}

/*** Testimonial ***/
.uxb-tmnl-testimonial-wrapper * {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.uxb-tmnl-testimonial-wrapper {
	height: 220px;
	overflow: hidden;
	opacity: 0;
	position: relative;
	width: 100%;
}

.uxb-tmnl-testimonial-list {
	width: 100%;
}

.uxb-tmnl-testimonial-item {
	float: left; /* this can prevent the element stacking up */
}

.uxb-tmnl-testimonial-item .uxb-tmnl-testimonial-thumbnail {
	-webkit-border-radius: 50em;
	-moz-border-radius: 50em;
	border-radius: 50em;
	box-sizing: border-box;
	position: absolute;
	top: 55px;
	left: 0;
	z-index: 2;
	width: 200px;
	height: 200px;
}

.uxb-tmnl-testimonial-item .uxb-tmnl-testimonial-thumbnail img {
	-webkit-border-radius: 50em;
	-moz-border-radius: 50em;
	border-radius: 50em;
	width: 100%;
}

.uxb-tmnl-testimonial-item .uxb-tmnl-blockquote-wrapper {
	margin: 60px 0 0 265px;
	min-height: 220px;
	z-index: 1;
}

#sidebar-wrapper .uxb-tmnl-testimonial-item .uxb-tmnl-blockquote-wrapper,
#footer-content .uxb-tmnl-testimonial-item .uxb-tmnl-blockquote-wrapper {
	min-height: 100px;
}

#main-container .uxb-tmnl-testimonial-item blockquote {
	border: 0;
	margin: 0 0 20px;
	padding: 0;
}

.uxb-tmnl-testimonial-item .uxb-tmnl-cite {
}

.uxb-tmnl-testimonial-item .uxb-tmnl-cite:before {
	content: "\2014 \0020";
}

.uxb-tmnl-testimonial-bullets {
	position: absolute;
    top: 16px;
    right: 11px;
    z-index: 1;
}

.uxb-tmnl-testimonial-wrapper.style2 .uxb-tmnl-testimonial-bullets {
	/*top: 0;*/
}

#root-container .uxb-tmnl-testimonial-bullets a {
	background: #e6e6e6;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	border: 0;
	display: inline-block;
	font-weight: normal;
	margin: 0 3px;
	height: 15px;
	width: 15px;
	transition: border-color .18s ease-in-out;
   -moz-transition: border-color .18s ease-in-out;
   -webkit-transition: border-color .18s ease-in-out;
   -o-transition: border-color .18s ease-in-out;
}

#root-container .uxb-tmnl-testimonial-bullets a:hover {
	background: #ccc;
}

#root-container .uxb-tmnl-testimonial-bullets a.selected {
	background: #8e8e8e;
}

/* Testimonials widget in sidebar and footer */
#sidebar-wrapper .uxb-tmnl-blockquote-wrapper,
#footer-content .uxb-tmnl-blockquote-wrapper {
	padding: 0;
}
#main-container #sidebar-wrapper .widget .uxb-tmnl-testimonial-item .uxb-tmnl-cite,
#footer-content .uxb-tmnl-testimonial-item .uxb-tmnl-cite {
	color: #F9C445;
	font-size: 13px;
	margin-bottom: 0;
}

#main-container #sidebar-wrapper .uxb-tmnl-testimonial-bullets a,
#footer-content .uxb-tmnl-testimonial-bullets a {
	margin: 0 2px;
	height: 12px;
	width: 12px;
}

#main-container #sidebar-wrapper .uxb-tmnl-testimonial-bullets a.selected {
}

#main-container .widget.uxb-tmnl-testimonial-wrapper blockquote p,
#root-container #footer-content .widget.uxb-tmnl-testimonial-wrapper blockquote p {
	font-size: 15px !important;
	margin-bottom: 18px;
}

#root-container #footer-content .widget.uxb-tmnl-testimonial-wrapper blockquote p {
	font-size: 16px !important;
}
#footer-content .uxb-tmnl-testimonial-item .uxb-tmnl-cite {
	font-size: 14px;
	font-weight: bold;
}


/* For style 2 */
.uxb-tmnl-testimonial-wrapper.style2 .uxb-tmnl-blockquote-wrapper {
	background: none;
	margin-left: 0;
	margin-bottom: 30px;
}

.uxb-tmnl-testimonial-wrapper.style2.left {
	float: left;
	margin-left: 0;
	margin-right: 25px;
}

.uxb-tmnl-testimonial-wrapper.style2.right {
	float: right;
	margin-left: 25px;
	margin-right: 0;
}

.uxb-tmnl-testimonial-wrapper.style2.left .uxb-tmnl-testimonial-bullets {
	left: 11px;
	right: auto;
}

/***** Message Boxes ******/
.box {
  background-color: #2ba6cb;
  border: 0;
  color: #fff; 
  display: block;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.8;
  margin-bottom: 1.25em;
  position: relative;
  padding: 15px 20px;
}

.box .close {
	border: 0 !important;
	font-family: Tahoma, sans-serif;
    font-size: 1.375em;
    padding: 5px 4px 4px;
    line-height: 0;
    position: absolute;
    top: 0.4375em;
    right: 0.3125em;
    color: #333333 !important;
    opacity: 0.3; 
	text-decoration: none;
}

.box .close:hover, 
.box .close:focus {
      opacity: 0.5; 
}

.box.radius {
    -webkit-border-radius: 3px;
    border-radius: 3px; 
}
  
.box.round {
    -webkit-border-radius: 1000px;
    border-radius: 1000px; 
}

.box.success {
    background-color: #D4FAD9;
    color: #37834E; 
}

#main-container .box.success *,
#main-container .box.success p {
    color: #37834E; 
}

.box.error {
    background-color: #FDE7E7;
    color: #D1525D; 
}

#main-container .box.error *,
#main-container .box.error p {
    color: #D1525D; 
}

.box.info {
    background-color: #DEEDFF;
    color: #3275BD; 
}

#main-container .box.info *,
#main-container .box.info p {
    color: #3275BD; 
}

.box.warning {
    background-color: #FCEAD3;
    color: #B8752D; 
}

#main-container .box.warning *,
#main-container .box.warning p {
    color: #B8752D; 
}

.box strong.title {
	color: inherit;
	font-family: 'Raleway', sans-serif;
	font-weight: bold;
	display: inline-block;
	margin-bottom: 12px;
}

#main-container .box p {
	margin-bottom: 12px;
}

.box p:last-child {
	margin-bottom: 0 !important;
}

/***** CTA Box *****/
.cta-box {
    border: 1px solid #dfdfdf;
    box-sizing: border-box;
    margin: 25px 0;
    overflow: hidden;
    position: relative;
    padding: 40px 30px;
}

.cta-box.bottom-line {
	border-bottom: 2px solid #F9C445;
}

.cta-box.top-line {
	border-top: 2px solid #F9C445;
}

.cta-box.left-line {
	border-left: 2px solid #F9C445;
}

.cta-box.right-line {
	border-right: 2px solid #F9C445;
}

.cta-box-content {
    font-size: 14px;
    margin-right: 30%;
    overflow: hidden;
}

.cta-box-content h1,
.cta-box-content h2, 
.cta-box-content h3, 
.cta-box-content h4, 
.cta-box-content h5 {
}

.cta-box-content.cta-full-width {
	margin-right: 0;
}

.cta-box-content {
	margin-bottom: 0;
}

.cta-box-content p:last-of-type {
	margin-bottom: 0 !important;
}

.cta-box-button .button {
	margin: 0;
}

#main-container .cta-box-button .button {
	margin: 0;
}

#main-container .cta-box-button .button.solid-color {
	/*background: #E66F66 !important;*/
}

.cta-box-button.right {
    margin-top: -20px;
    position: absolute;
    right: 5%;
    top: 50%;
}

.cta-box-button.bottom {
	margin-top: 25px;
	position: static;
	text-align: center;
}

.cta-box-button.right.large {
    margin-top: -25px;
}

.cta-box-button.right.small {
    margin-top: -12px;
}

.cta-box-button.right.tiny {
    margin-top: -9px;
}

/***** Progress Bar & Pie *****/
.progress-bar {
	/* border-bottom: 1px solid #888; */
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	/*background: #fafafa;*/
	border: 1px solid #efefef;
	border-top: 0;
	border-left: 0;
	border-bottom: 1px double #dedede;
	height: 12px;
	margin: 40px 0;
	/* padding: 3px 0; */
	position: relative;
	width: 95%;
	
	/*-moz-box-shadow: 5px 5px 0 0 rgba(68,68,68,0.1);
	-webkit-box-shadow: 5px 5px 0 0 rgba(68,68,68,0.1);
	box-shadow: 5px 5px 0 0 rgba(68,68,68,0.1);*/
}

.progress-bar .bar-label {
	color: #333;
	font-family: 'Questrial', sans-serif;
	font-size: 11px;
	letter-spacing: 1px;
	line-height: 1;
	position: absolute;
	left: 0;
	top: -15px;
}

.progress-bar .bar-meter {
	display: block;
	height: 60%;
	width: 0; /* init width */
	/* margin-top: 20px; */
}

.wpb_pie_chart_heading {
	margin-top: 15px;
}



span.custom-icon-w-text {
	display: block;
	line-height: 1.8;
	margin-left: 12px;
}

#content-wrapper .text-with-icon {
	margin-bottom: 10px !important;
}
#content-wrapper .text-with-icon p {
	line-height: 1.5;
	margin-bottom: 0;
}

span.custom-icon-w-text i {
	margin-right: 12px;
}

.columns span.custom-icon-w-text:last-of-type {
	margin-bottom: 26px;
}

span.custom-icon-w-text i.checked {
	color: #9FD355; 
	font-size: 1.4em;
}

/***** 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 {
	/*background-color: #222;*/
	position: relative;
	max-width: 100%;
}

/* 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: url('../images/loading-s.gif') no-repeat center;
	min-height: 360px; /* init height */
	margin-bottom: 35px;
	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;
}

.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;
}

#main-container .image-slider-wrapper .image-slider {
	list-style: none;
	margin: 0;
	opacity: 0;
	overflow: hidden;
	visibility: hidden;
}

#main-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;
	left: 15px;
	bottom: 15px;
	max-width: 95%;
}

.image-slider-item .image-caption {
	background: rgb(255,255,255);
	background: rgba(255,255,255,.7);
	box-sizing: border-box;
	color: #444;
	display: inline-block;
	font-family: 'Questrial', sans-serif;
	font-size: 14px;
	padding: 10px 20px;
	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 {
	background: #333;
	border: 0 !important;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	color: #fff !important;
	display: block; /* initial display */
	font-family: 'Ionicons';
    font-size: 20px;
	line-height: 1;
    margin-top: -25px;
	opacity: 0;
    padding: 10px 17px;
    position: absolute;
    text-align: center;
	text-decoration: none;
    top: 50%;
    z-index: 2;
	transition: color .18s ease-in-out, background-color .18s ease-in-out !important;
   -moz-transition: color .18s ease-in-out, background-color .18s ease-in-out !important;
   -webkit-transition: color .18s ease-in-out, background-color .18s ease-in-out !important;
   -o-transition: color .18s ease-in-out, background-color .18s ease-in-out !important;
}

.slider-prev {
    left: 15px;
}

.slider-next {
    right: 15px;
}

.slider-controller:hover {
	background: #F9C445;
	color: #333 !important;
}

/***** Google Maps *****/
.google-map {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.google-map a {
}

.google-map img {
	max-width: none;
}


/***** Accordion *****/
.accordion {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	height: 400px; /* initial height, reset after loaded */
	opacity: 0;
	visibility: hidden;
}

.ui-accordion { 
	width: 100%;
	/*border-bottom: 1px solid #888;*/
	font-size: 100%;
	line-height: 100%;
}

#main-container .ui-accordion .ui-accordion-header { 
	background: #fcfcfc;
	border: 1px solid #dfdfdf;
	border-radius: 0;
	cursor: pointer;
	font-family: 'Raleway', sans-serif;
	font-size: 16px;
	/* letter-spacing: 1px; */
	text-transform: none;
	line-height: 1.5;
	margin-bottom: 0;
	margin-top: -1px;
	overflow: hidden;
	padding: 3px 5px;
}

#main-container .ui-accordion-header.ui-state-active {
	background: none;
	border-color: #dedede;
	border-width: 1px;
	border-style: solid;
	border-bottom: 2px solid #F9C445;
}

.ui-accordion .ui-accordion-li-fix { 
	display: inline; 
}

.ui-accordion .ui-accordion-header:focus {
	outline: none !important;
}

#main-container .ui-accordion .ui-accordion-header a {
	border: 0;
	color: #999;
	float: left;
	font-weight: normal;
	padding: 10px 15px;
	text-decoration: none;
}

#main-container .ui-accordion .ui-accordion-header:hover a {
	color: #222;
}

#main-container .ui-accordion .ui-accordion-header.ui-state-active a {
	color: #3b3b3b;
	font-weight: bold;
}

.ui-accordion .ui-accordion-content {
	padding: 25px; 
	border-top: 0; 
	position: relative; 
	overflow: auto; 
	display: none; 
	zoom: 1; 
	color: inherit;
	border: none;
}

/* To fix image display in the content area on retina devices */
#root-container .ui-accordion .ui-accordion-content img {
	width: auto;
}

.ui-accordion .ui-accordion-content p {
}

.ui-accordion .ui-accordion-content-active { 
	display: block; 
}

.toggle {
	opacity: 0;
	visibility: hidden;
}

.ui-accordion,
.ui-accordion.toggle {
	margin-bottom: 15px;
}

.ui-icon, 
.ui-accordion-header-icon {
	width: 25px;
	height: 25px;
	margin: 4px 0 0 15px;
	float: left;
	opacity: 0.4;
}

.ui-icon-triangle-1-e,
.ui-accordion-header-icon {
	display: none;
	/*background: url('images/plus.png') left center no-repeat;*/
}


.ui-icon-triangle-1-s,
.ui-accordion-header-icon-active {
	display: none;
	/*background: url('images/minus.png') left center no-repeat;*/
}


/***** Tabs *****/
#root-container .uxb-tabs * {
	box-sizing: border-box;
}

#root-container .uxb-tabs {
	opacity: 0;
}

#root-container .uxb-tabs ul.tab-items {
	margin: 0;
	padding: 0;
}

#root-container .uxb-tabs ul.tab-items li {
	display: inline-block;
	line-height: 1;
	margin: 0 -1px 0 0;
}

#root-container .uxb-tabs ul.tab-items li a {
	background: #fff;
	border: 1px solid #dedede;
	color: #888;
	font-weight: normal;
	line-height: 1.4;
	padding: 15px 20px;
}

#root-container .uxb-tabs ul.tab-items li a:hover {
	color: #333;
}

#root-container .uxb-tabs ul.tab-items li.ui-state-active a {
	border-top: 2px solid #F9C445;
	border-bottom: 0;
	color: #333;
	font-weight: bold;
}

#root-container .uxb-tabs .tab-content {
	background: #fff;
	border: 1px solid #dedede;
	display: none;
	margin-top: -2px;
	padding: 30px 30px;
}

/* To fix image display in tab content on retina devices */
#root-container .uxb-tabs .tab-content img {
	width: auto;
}

/*** Vertical Tabs ***/
#root-container .uxb-tabs.vertical-tabs {
	overflow: hidden;
	padding: 0;
}

#root-container .uxb-tabs.vertical-tabs .tab-items {
	float: left;
	width: 25%;
}

#root-container .uxb-tabs.vertical-tabs .tab-items li {
	width: 100%;
	white-space: normal;
}

#root-container .uxb-tabs.vertical-tabs .tab-items li a {
	border-bottom-width: 0;
	width: 100%;
}

#root-container .uxb-tabs.vertical-tabs .tab-items li.ui-state-active a {
	border-top: 1px solid #dedede;
	border-left: 2px solid #F9C445;
	border-right: 0;
}

#root-container .uxb-tabs.vertical-tabs .tab-items li:last-child a {
	border-bottom-width: 1px;
}

#root-container .uxb-tabs.vertical-tabs .tab-items li:last-child.ui-state-active a {
	border-bottom: 1px solid #dedede;
}

#root-container .uxb-tabs.vertical-tabs .tab-content {
	float: left;
	margin-left: -1px;
	margin-top: 0;
	width: 75%;
}





/* #Widgets and Plugins
================================================== */
/***** Fancybox *****/
.fancybox-skin {
	-webkit-border-radius: 0;
  	-moz-border-radius: 0;
  	border-radius: 0;
}

/***** Contact widget *****/
ul.contact li {
	line-height: 1.7;
}

/***** 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.7;
	margin-bottom: 0;
	margin-left: 0;
	margin-top: 0;
	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: 12px;
	color: #999;
	margin-top: 5px;
}

/***** Category widget *****/
#content-wrapper .category-widget ul {
	list-style: none;
	margin-bottom: 0;
	margin-left: 0;
}

#content-wrapper .category-widget li {
	margin-bottom: 10px;
	margin-left: 0;
}

/***** Tags widget *****/
.tags-widget li {
	display: inline-block;
	margin: 0 6px 12px 0;
}

#footer-content .tags-widget a {
	border: 1px solid #d5d5d5;
	color: #555;
	display: inline-block;
	font-weight: normal;
	padding: 0.61538461538461538461538461538462em 1.3076923076923076923076923076923em; /* 8, 17 */
	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;
}

#footer-content .tags-widget a:hover {
	border-color: #F9C445;
	color: #333;
}

/***** Flickr Widget *****/
#root-container .flickr_badge_image {
	display: inline-block;
	margin: 2px;
	width: auto;
	height: auto;
}

#root-container .flickr_badge_image img {
	width: 65px;
}

#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: #F9C445;
}

/***** Validation Engine Plugin *****/
.formError .formErrorArrow div {
	background: #e13a3a;
	border: 0;
}

.formError .formErrorContent {
	background: #e13a3a;
	border: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	width: 170px;
	font-size: 12px;
}


/* #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 20px;
	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 15px;
}

.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: #fff;
	border: 1px solid #dedede;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    font-family: 'Raleway', sans-serif;
    font-size: 1em;
    height: auto;
    line-height: 1.7;
    padding: 0.71428571428571428571428571428571em; /* 10/14 */
}

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 {
	border-color: #F9C445;
    -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;
}

#root-container [type=text].search-field {
	font-size: 1em;
}

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;
}

#root-container img {
	max-width: 100.5%; /* override Foundation's 100% value to fix 1px missing of img */
}



::-moz-selection {
	background: #333;
	color: #fff;
}

::selection {
	background: #333;
	color: #fff;
}

::-webkit-input-placeholder { /* WebKit browsers */
    color: #aaa;
}

:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #aaa;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #aaa;
}

:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #aaa;
}



/* 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) {
	
	#page-slider-wrapper {
		background-image: url('../images/loading@2x.gif');
		background-size: 42px 42px;
	}
	
	.uxb-port-loading-text {
		background: #fafafa url('../images/loading-s@2x.gif') no-repeat 50% 35%;
		background-size: 24px 24px;
	}
	
	.image-slider-wrapper {
		background: url('../images/loading-s@2x.gif') no-repeat center;
		background-size: 24px 24px;
	}
	
}
