/* ----------------------------------------
 
 copyright 2014 by wunderthemes
 
 Version: 1
 
 Author: Christoph Weinhapl
 
 Author URI: http://www.christophweinhapl.com
 
 ------------------------------------------ */
/* ----------------------------------------
[Table of contents]
-) layout
-) header
-) text Formating
-) table styling
-) error pages
 ------------------------------------------ */

/*
.frontpage-article {
	min-height: 400px;
}*/
.frontpage-article .title,
.frontpage-article .content {
	padding: 0 15px;
}
.frontpage-article .title {
	text-align: center;
	padding: 40px 0;
	background: #333;
	color: #fff;
}
.frontpage-article .content > div {
	margin: 0 -15px;
	background-size: cover;
	background-position: center center;
}

/* ------------------------------
 * layout
 * ------------------------------*/

#page {
	width: 100%;
}
#page.nav-expanded {
	margin-left: -200px;
}
article .container {
    padding-left: 0;
    padding-right: 0;
}
b, strong {
    font-weight: 600;
}
/*
@media screen and (max-width: 768px) {
    .vc_responsive .wpb_row .wpb_column {
        margin-bottom: 30px;
    }
}*/
@media screen and (max-width: 768px) {
    .wpb_column > .wpb_wrapper *:last-child, 
    .wpb_column > .wpb_wrapper > .vc-element:last-child > .wpb_content_element, 
    .wpb_column > .wpb_wrapper > .vc-element:last-child > .wpb_row {
        margin-bottom: 30px;
    }
}
/* ------------------------------
 * headlines
 * ------------------------------*/
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}
@media screen and (max-width: 768px) {
    h1 {
        font-size: 35px
    }
    h2 {
        
    }
    h3 {
        
    }
    h4 {
        
    }
    h5 {
        
    }
    h6 {
        
    }
}
/* ------------------------------
 * buttons
 * ------------------------------*/
button, a.btn, .wpb_button, input[type="submit"] {
	font-size: 18px;
	line-height: 1;
	padding: 18px 45px 17px;
	background: none;
	outline: none;
	vertical-align: middle;
}
button:hover, a.btn:hover, .wpb_button:hover, input[type="submit"]:hover {
	text-decoration: none;
}
@media screen and (max-width: 768px) {
   button, a.btn, .wpb_button, input[type="submit"] {
        font-size: 14px;
        padding: 14px 32px 13px;
    }
}
/* ------------------------------
 * nav not in viewport
 * ------------------------------*/
.header-position-2 .nav-not-in-viewport {
	position: fixed;
	top: 20px;
	right: 30px;
	display: block;
}
.nav-expanded .nav-not-in-viewport{
	right: 230px;
}

/* ------------------------------
 * header
 * ------------------------------*/
.header-container {
	width: 100%;
	position: relative;
}
.site-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	height: 80px;
	z-index: 100;
	-webkit-backface-visibility: hidden;
}
.site-header a {
    -webkit-transition: color 0.3s ease;
            transition: color 0.3s ease;
}
.header-position-1 .site-header{
	position: absolute;
}
.header-position-1 .site-header.fixed {
	position: fixed;
}
.header-position-2 .site-header{
	position: fixed;
	left: 0;
	width: 100%;
	right: 0;
	height: auto;
	box-shadow: none;
}
.header-position-2 .site-branding {
    width: 100%;
}
.header-position-2 .header-bg {
    display: none;
    z-index: 85;
}
.header-position-2 .header-inner {
    z-index: 90;
}
.header-position-2 .main-navigation {
    opacity: 0;
    width: 100%;
    text-align: center;
    z-index: -1;
}
.header-position-2 .site-title {
    opacity: 0;
}
.header-position-2 .menu-toggle {
    display: block;
    float: right;
}
.header-position-2 .main-navigation ul {
    overflow: visible;
    margin: 25px 0;
    background: none;
}
.header-position-2 .main-navigation li {
    float: none;
    display: block;
    width: 100%;
    margin: 0 0 50px 0;
}
.header-position-2 .main-navigation li a {
    font-size: 28px;
}
.menu-open .main-navigation{
    opacity: 1;
    z-index: 100;
}
.menu-open .site-title {
    opacity: 1;
    z-index: 100;
}
.menu-open .header-bg {
    display: block;
}
.menu-open .site-header:before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    background: #1d1a21;
    opacity: 0.9;
}
.logged-in.scrolled .header-position-1 .site-header.fixed,
.logged-in .site-header {
	top: 32px;
}
.logged-in .header-position-1 .site-header {
    top: 0px;
}
.header-bg {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.header-inner {
	padding: 0 15px;
	height: 100%;
	z-index: 10;
	position: relative;
}
.site-branding {
	float: left;
	height: 100%;
	position: relative;
}
.site-title {
	margin: 0;
	height: 100%;
}
.site-title:after {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}
.site-title a {
	display: inline-block;
	vertical-align: middle;
}
.site-title a:hover {
	text-decoration: none;
}
.main-navigation {
	float: right;
	width: auto;
	clear: none;
	height: 100%;
}
.main-navigation:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}
.main-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
	overflow: hidden;
	display: inline-block;
	vertical-align: middle;
}
.main-navigation li {
	float: left;
	height: 100%;
	margin-left: 30px;
}
.main-navigation a:hover {
	text-decoration: none;
}

.menu-toggle {
    width: 30px;
    height: 22px;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -11px;
    padding: 0;
    background: none;
    display: none;
    border: none;
    cursor: pointer;
}
.menu-toggle:hover {
    background: none;
    border: none;
}
.menu-toggle span {
    width: 100%;
    height: 4px;
    background: #0127fe;
    margin-bottom: 5px;
    vertical-align: top;
    float: left;
}
.menu-open .main-navigation {
    display: block;
}
@media screen and (max-width: 992px) {
	/*div.header-container,
	header.site-header {
		height: auto;
	}*/
	.header-inner {
		width: 100%;
	}
	.site-branding {
		width: 100%;
		float: none;
	}
	.site-branding h1 {
		display: inline-block;
	}
	.main-navigation {
		width: 100%;
		height: auto;
		display: none;
		float: none;
	}
	
	.main-navigation:before {
		display: none;
	}
	.main-navigation ul {
		display: block;
		margin: 0 -15px;
		background: #fff;
	}
	.main-navigation li  {
		float: none;
		margin: 0;
		height: auto;
		text-align: center;
		margin-bottom: 25px;
	}
	.header-position-2 .main-navigation li {
	    border: 0 none;
	    margin-bottom: 25px;
	}
	.header-position-2 .main-navigation li:last-child {
        border: 0 none;
    }
	.main-navigation li a {
		display: block;
		padding: 15px;
		font-size: 22px;
	}
	.menu-toggle {
        display: block;   
    }
    
}

/* ------------------------------
 * header slideshow
 * ------------------------------*/
.header-slideshow {
	width: 100%;
	height: 800px;
}
.header-slideshow .swiper-container {
	width: 100%;
	height: 100%;
}
.header-slideshow .swiper-slide {
	/* Specify Slides's Size: */
	text-align: center;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center center;
}
.header-slideshow .swiper-slide .container {
	display: table;
	vertical-align: middle;
	height: 100%;
	opacity: 0;
	-webkit-transform: translate3d(100px,0,0);
	transform: translate3d(100px,0,0);
	-webkit-transition: all 0s 0.4s;
}
.header-slideshow .swiper-slide.swiper-slide-visible .container {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	-webkit-transition: all 0.6s 0.5s;
	transition: all 0.6s 0.5s;
}

.header-slideshow .swiper-slide.no-transition .container {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
			transform: translate3d(0,0,0);
	-webkit-transition: none;
			transition: none;
}
.header-slideshow .swiper-slide .container > div {
	display: table-cell;
	vertical-align: middle;
}
.header-slideshow h1 {
    font-size: 67px;
    color: #fff;
    font-weight: 700;
    margin: 0;
}
.header-slideshow p {
    color: #fff;
    font-size: 30px;
    font-weight: 300;
}
.header-slideshow-pager {
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}
.header-slideshow-pager span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 1px solid #fff;
    border-radius: 50%;
    margin: 0 3px;
    cursor: pointer;
}
.header-slideshow-pager span.swiper-visible-switch {
    background: #fff;
}
@media screen and (max-width: 768px) {
    .header-slideshow h1 {
        font-size: 40px;
    }
    .header-slideshow p {
        font-size: 20px;
    }
}
/* ------------------------------
 * footer
 * ------------------------------*/

.last-widget-right > div:last-child {
	text-align: right;
}
/* ------------------------------
 * parallax
 * ------------------------------*/
.parallax {
	background-size: cover;
	background-attachment: fixed;
}


/* ------------------------------
 * work grid
 * ------------------------------*/
.portfolio {
	width: 100%;
	overflow: hidden;
}
.portfolio .work {
	width: 25%;
	float: left;
	height: 0;
	padding-bottom: 18.8%;
	position: relative;
	/*transition: all ease 0.5s;*/
	cursor: pointer;
	display: none;
	overflow: hidden;
}
.portfolio .work:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(20,20,20,0.8);
    z-index: 1;
    opacity: 0;
    
    transition: all 0.3s ease;
}
.portfolio .work:hover:before {
    opacity: 1;
}
.portfolio .work:after {
    content: '+';
    background: #fff;
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    bottom: 20px;
    right: 25px;
    opacity: 0;
    z-index: 2;
    font-size: 34px;
    color: #0127fe;
    transform: translate3d(0,50px,0);
    
    transition: all 0.3s ease;
}
.portfolio .work:hover:after {
    opacity: 1;
    transform: translate3d(0,0,0);
}
.portfolio .work-thumbnail {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-size: cover;
	background-position: center center;
}
.portfolio-filter {
	text-align: center;
	margin-bottom: 25px;
}
.portfolio-filter button {
	display: inline-block;
	font-size: 14px;
	padding: 9px 22px 8px;
	margin: 0 5px 10px;
}
@media screen and (max-width: 992px) {
   .portfolio .work {
       width: 33.333%;
       padding-bottom: 23%%;
   }
}
@media screen and (max-width: 768px) {
   .portfolio .work {
       width: 50%;
       padding-bottom: 35%;
   }
}
@media screen and (max-width: 500px) {
   .portfolio .work {
       width: 100%;
       padding-bottom: 70%;
   }
}
/* ------------------------------
 * team slider
 * ------------------------------*/
.team-slider {
	width: 100%;
	overflow: hidden;
	padding: 50px 0;
}
.team-slider .team-member{
	width: 100%%;
	position: relative;
	overflow: hidden;
}
.team-slider .team-member-thumbnail {
	width: 500px;
	height: 350px;
	margin: 50px 0 50px 30px;
	background-size: cover;
	display: inline-block;
	vertical-align: middle;
	background-position: center center;
	position: relative;
}
.team-slider .team-member-thumbnail:after,
.team-slider .team-member-thumbnail:before {
	content: '';
	position: absolute;
	top: -10px;
	right: -25px;
	bottom: -10px;
	left: -25px;
	border: 1px solid rgba(255,255,255,0.1);
	z-index: -1;
	
	-webkit-transform: rotate(5deg);
			transform: rotate(5deg);
	
}
.team-slider .team-member-thumbnail:before {
	-webkit-transform: rotate(-5deg);
			transform: rotate(-5deg);
}
.team-slider .team-member-thumbnail .prev {
	position: absolute;
	top: 50%;
	left: -70px;
	margin-top: -5px;
	color: #fff;
}
.team-slider .team-member-thumbnail .next {
	position: absolute;
	top: 50%;
	right: -70px;
	margin-top: -5px;
	color: #fff;
}
.team-slider .team-member-info {
	display: inline-block;
	vertical-align: middle;
	color: #fff;
	text-align: left;
	width: 430px;
	margin-left: 90px;
}
.team-slider .team-member-info:after {
	content: '';
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
.team-slider .team-member-info .profession {
	color: #0127fe;
	font-size: 15px;
	font-weight: 700;
}
.team-slider .team-member-info h3 {
	color: #fff;
	font-size: 50px;
	font-weight: 700;
	margin-top: 0;
}
.swiper-container {
	width: 100%;
}
.swiper-slide {
	/* Specify Slides's Size: */
	text-align: center;
	width: 100%;
	height: 100%;
}
.swiper-slide-active {
	/* Specific active slide styling: */
	
}
.swiper-slide-visible {
	/* Specific visible slide styling: */	

}
.swiper-pagination-switch {
	/* Stylize pagination button: */	

}
.swiper-active-switch {
	/* Specific active button style: */	
	
}
.swiper-visible-switch {
	/* Specific visible button style: */	
	
}

@media screen and (max-width: 1200px) {
    .team-slider .team-member-thumbnail {
        margin-left: 0;
        margin-right: 0;
    }
    .team-slider .team-member-info {
        margin: 0 auto;
        display: block;
    }
}
@media screen and (max-width: 768px) {
    .team-slider .team-member-thumbnail {
        width: 70%;
        height: 0;
        margin-left: 15%;
        margin-right: 0;
        padding-bottom: 50%;
        display: block;
    }
    .team-slider .team-member-info {
        width: 70%;
        margin-left: 15%;
    }
    .team-slider .team-member-info h3 {
        font-size: 35px;
    }
}
@media screen and (max-width: 500px) {
    .team-slider .team-member-thumbnail {
        width: 90%;
        margin-left: 5%;
        padding-bottom: 60%;
    }
    .team-slider .team-member-thumbnail:after, .team-slider .team-member-thumbnail:before {
        display: none;
    }
    .team-slider .team-member-info {
        width: 90%;
        margin-left: 5%;
    }
}
/* ------------------------------
 * team grid
 * ------------------------------*/
.team-grid {
	text-align: center;
}
.team-grid .team-member {
	display: inline-block;
	width: 33.333%;
	padding: 40px;
	vertical-align: top;
	color: #fff;
}
.team-grid .team-member-thumbnail {
	width: 90%;
	height: 0;
	padding-bottom: 65%;
	margin-left: 5%;
	background-size: cover;
	background-position: center center;
	display: block;
	margin-bottom: 70px;
	position: relative;
}
.team-grid .team-member-thumbnail:after,
.team-grid .team-member-thumbnail:before {
	content: '';
	position: absolute;
	top: -10px;
	right: -25px;
	bottom: -10px;
	left: -25px;
	border: 1px solid rgba(255,255,255,0.1);
	
	-webkit-transform: rotate(5deg);
			transform: rotate(5deg);
	
}
.team-grid .team-member-thumbnail:before {
	-webkit-transform: rotate(-5deg);
			transform: rotate(-5deg);
}
.team-grid .team-member h3 {
	margin-top: 0;
	color: #fff;
	font-weight: 700;
	font-size: 50px;
}
.team-grid .team-member .profession {
	color: #0127fe;
	font-size: 15px;
	font-weight: 700;
}
@media screen and (max-width: 992px) {
    .team-grid .team-member {
        width: 50%;
    }
}
@media screen and (max-width: 768px) {
    .team-grid .team-member {
        width: 100%;
    }
    .team-grid .team-member-thumbnail {
        height: 0;
        padding-bottom: 55%;
        width: 100%;
        margin-left: 0;
        margin-bottom: 30px;
    }
    .team-grid .team-member h3 {
        font-size: 30px;
    }
    .team-grid .team-member {
        padding: 20px 15px;
    }
    .team-grid .team-member-thumbnail:after, .team-grid .team-member-thumbnail:before {
        display: none;
    }
}
/* ------------------------------
 * instagram feed
 * ------------------------------*/
.instagram-feed {
	padding-bottom: 60px;
	overflow: hidden;
}
.instagram-feed .show-all {
	text-align: center;
	margin-top: 60px;
}
.instagram-feed .show-all a {
	display: inline-block;
}
.instagram-feed .feed-img {
	width: 100%;
	height: auto;
}
.instagram-feed>a {
	margin-bottom: 30px;
	float: none;
	display: inline-block;
}

.instagram-feed>a:nth-child(3n-2) {
	transform: translate(0,60px);
}
.instagram-feed>a:nth-child(3n+3) {
	transform: translate(0,35px);
}
.instagram-feed .feed-img-info {
	overflow: hidden;
	width: 100%;
	padding: 22px 20px;
	color: #fff;
	background: #1d1a21;
}
.instagram-feed .feed-img-info .likes {
	float: right;
}
.instagram-feed .feed-img-info .likes i {
	margin-right: 5px;
}
@media screen and (max-width: 768px) {
    .instagram-feed>a:nth-child(3n-2),
    .instagram-feed>a:nth-child(3n+3),
    .instagram-feed>a {
		transform: translate(0);
		margin-bottom: 19px;
		padding: 0;
	}
	.instagram-feed .feed-img-info .likes,
	.instagram-feed .feed-img-info .likes i {
		margin-bottom: 0;
	}
	.wpb_column > .wpb_wrapper .feed-img-info:last-child {
		margin-bottom: 0;
	}
}
/* ------------------------------
 * icon generator
 * ------------------------------*/
.icon-container {
	text-align: center;
	overflow: hidden;
	border: 2px solid white;
	display: table;
	margin: 0 auto 20px;
}
.icon-container i{
	display: table-cell; 
	vertical-align: middle;
}
.icon-container:hover,
.icon-container:active,
.icon-container:visited,
.icon-container:focus,
.icon-container:active {
	text-decoration: none;
}


/* ------------------------------
 * wpcf7
 * ------------------------------*/
div.wpcf7 {
	max-width: 980px;
	margin: 0 auto;
	overflow: hidden;
}
.wpcf7 p {
	padding: 0 15px;
	margin-bottom: 40px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea,
.wpcf7 select {
	width: 100%;
	padding: 5px 10px 5px 0;
	border-color: #000;
	outline: none;
}
.wpcf7 textarea,
.wpcf7 select {
    padding: 10px;
}
.wpcf7 textarea {
	margin-top: 5px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"] {
	border: 0 none;
	border-bottom: 1px solid #000;
}
.wpcf7 .half {
	width: 50%;
	float: left;
}
.wpcf7 input[type="submit"] {
	float: right;
	font-size: 18px;
	padding: 16px 75px;
}
span.wpcf7-not-valid-tip {
    display: none;
}
input.wpcf7-validates-as-required.wpcf7-not-valid {
    border-bottom: 1px solid #f49ac1;
    color: #f49ac1;
}
input.wpcf7-validates-as-required.wpcf7-not-valid:focus {
    border-bottom: 1px solid #000;
    color: #000;
}
div.wpcf7-validation-errors {
    border: none;
    color: #f49ac1;
}
@media screen and (max-width: 550px) {
    .wpcf7 .half {
        width: 100%;
        float: left;
        padding: 0;
    }
    .wpcf7 p {
        padding: 0;
    }
}
/* ------------------------------
 * single-image-header
 * ------------------------------*/
.single-image-header {
	width: 100%;
	text-align: center;
	display: table;
}
.single-image-header > div {
	display: table-cell;
	vertical-align: middle;
}
.single-image-header h1 {
	font-size: 67px;
	color: #fff;
	font-weight: 700;
	margin: 0;
}
.single-image-header h2 {
	color: #fff;
	margin: 0;
	font-size: 30px;
}

/* ------------------------------
 * bg video
 * ------------------------------*/
.bg-video {
	position: relative;
}
.video-as-bg {
	position: absolute;
	bottom: 0px; 
	right: 0px; 
	min-width: 100%; 
	min-height: 100%; 
	width: auto; 
	height: auto; 
	z-index: -1000; 
	overflow: hidden
}


/* ------------------------------
 * pricing tables
 * ------------------------------*/
.pt {
    text-align: center;
    border: 1px solid #e5e5e5;
    margin: 0 20px;
    padding-bottom: 35px;
    padding-top: 15px;
}
.pt-header {
    font-size: 60px;
    color: #0127fe;
    font-weight: 700;
    margin-bottom: 25px;
}
.pt-header span {
    display: block;
    font-size: 16px;
    font-weight: 300;
}
.pt button {
    margin-top: 35px;
}
.pt-content {
    border-top: 1px solid #e5e5e5;
}
.pt-content p {
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0;
    margin: 0;
}
@media screen and (max-width: 1199px) {
    .pt {
        margin: 0;
    }
}

/* ------------------------------
 * global ovleray
 * ------------------------------*/
.global-overlay {
    position: fixed; 
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.95);
    color: #000;
    z-index: -1;
    opacity: 0;
    display: table;
    vertical-align: middle;
    height: 100%;
    transition: all 0.3s ease;
}
.global-overlay .close {
   position: absolute; 
   top: 50px;
   right: 30px;
   font-size: 50px;
}
.global-overlay.active {
    opacity: 1;
    z-index: 1000;
}
.global-overlay .content {
    display: table-cell;
    vertical-align: middle;
}
.global-overlay .content-inner {
    width: 900px;
    margin: 0 auto;
    text-align: center;
}
.global-overlay .content-inner > img {
    width: 50%;
    padding-right: 20px;
    display: inline-block;
}
.global-overlay .content-inner > div {
    width: 50%;
    padding-left: 20px;
    display: inline-block;
    text-align: left;
    vertical-align: top;
}
@media screen and (max-width: 940px) {
    .global-overlay .content-inner {
        width: 100%;
        padding: 0 20px;
    }
}

/* ------------------------------
 * hidden-content
 * ------------------------------*/
.hidden-content {
    display: none;
}
.global-overlay .hidden-content {
    display: block;
}











/* POCBLIC  CUSTOM */
.home .flexslider {
	background: none;
	border: none;
}
.flex-control-nav,
.flex-direction-nav,
.nivo-controlNav,
.nivo-directionNav  {
	display: none !important;
}
