@import url('../fonts/fontawesome/css/fontawesome.min.css');
@import url('../fonts/fontawesome/css/solid.min.css');
@import url('../fonts/fontawesome/css/brands.min.css');

html, body, #wrapper {
    min-width: 320px;
    height: 100%;
    font-family: 'Open Sans', sans-serif;
}
body {
    background:#fff;
}
body > #wrapper {
    position: relative;
    height: auto;
    min-height: 100%;
}
.bg-white {
    position: relative;
    background: #fff;
}

#header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    min-height: 48px;
    background:rgba(255,255,255,0.9);
    z-index:1000;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0 1.5em;
}
#header .w33 {
    text-align: center;
}
nav {
    display:block;
}
nav ul li a {
    display: block;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
	text-transform: uppercase;
}
nav ul li a:hover {
    color:#777777;
}
nav ul li ul {
    display: block;
    position: fixed;
    visibility: hidden;
    text-align: right;
    right:0;
    top:48px;
    opacity: 0;
    z-index:500;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}
nav ul li > ul {
    background:rgba(255,255,255,0.9);

}
nav ul li:hover ul, nav ul li.over ul {
    visibility: visible;
    opacity: 1;
}
nav ul li ul li {
    display:inline-block;
}
nav ul li ul li a {
    text-align: left;
    padding: 0 1em;
    font-size: 14px;
    line-height: 14px;
    font-weight: 500;
    color: #000;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}
nav ul li #menu {
    display: block;
    position: relative;
    border: none;
    width: 30px;
    height: 48px;
    overflow: hidden;
}
nav ul li:hover #menu {
    /* background: #ffffff; */
    /*-webkit-box-shadow:inset 0px 5px 9px 0px rgba(0,0,0,0.07);
    -moz-box-shadow:inset 0px 5px 9px 0px rgba(0,0,0,0.07);
    box-shadow:inset 0px 5px 9px 0px rgba(0,0,0,0.07);*/
}
nav ul li #menu span {
    display: block;
    position: absolute;
    width:30px;
    height:4px;
    top:50%;
    left:50%;
    margin:-2px 0 0 -15px;
    text-indent: -9999px;
    background: #000;
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
}
nav ul li #menu span:before, nav #menu span:after {
    display: block;
    position: absolute;
    content: '';
    margin:-10px 0 0;
    width:30px;
    height:4px;
    background: #000;
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
}
nav ul li #menu span:after {
    margin:10px 0 0;
}
nav ul li:hover #menu span, nav ul li:hover #menu span:after, nav ul li:hover #menu span:before {
    background:#b1b1b1;
}
#logo {
    display: block;
    width:32px;
    height:32px;
    background: url(../images/kit.png) no-repeat center top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    text-indent: -9999px;
    z-index:3000;
}

@media only screen and (max-width:667px) {
    #logo {
        left:0.5em;
        width:38px;
        height:35px;
        background: url(../images/logo-b.png) no-repeat -200px 0px;
        -webkit-background-size: auto 100%;
        -moz-background-size: auto 100%;
        -o-background-size: auto 100%;
        background-size: auto 100%;
    }
    nav {
        right:0.35em;
    }
    nav ul li > ul {
        display: block;
        position: fixed;
        width:100%;
    }
	nav ul li ul li {
		display: block;
	}
    nav ul li ul li a {
		text-align:center;
        width:100%;
		padding:0;
    }
    #logo img {
        margin:0.5em 0 0;
        width:13em;
        height: auto;
    }
}

.wrap {
    position: relative;
    /* padding:0 0 48px; */
}
main {
    position: relative;
    margin:0;
}
main a {
    color:#3d4246;
    text-decoration: underline;
}
main a:hover {
    text-decoration: none;
}
article {
	color:#666666;
	overflow: hidden;
}
article p {
	font-weight: 400;
	font-size: 16px;
    line-height: 22px;
}
.cntblock {
	display: inline-block;
	vertical-align: top;
	width: 45%;
	margin:0 1%;
}

.contacts {
    margin:0 !important;
    padding:0 !important;
}
.contacts #post-content {
    margin:0 1.5em;
    z-index:5000;
}
.contacts #post-content h1 {
    position: relative !important;
    width: auto;
    text-align: left;
    font-size:2em;
    margin:0 0 0.5em;
}
.contacts #post-content ul li {
    margin:0 0 0.75em;
}

#footer,
.socials,
.socials a {
    font-size: 16px;
    color: #000;
    text-decoration: none;
}
#footer {
    position: relative;
    height: 48px;
	line-height: 48px;
	text-align: left;
    background: #fff;
    padding-left: 1.5em;
    padding-right: 1.5em;
}
.socials ul {
    display: block;
    margin: 0 -0.5em;
}
.socials ul li {
    display: inline-block;
    padding: 0 0.5em;
}

.copyright {
    text-align: right;
    /* color:#000; */
    /* height:48px;
	line-height:48px; */
}

.bio, .index {
    margin-top:100vh;
}
.wide {
    width:100%;
    /* position: fixed; */
    position: relative;
	overflow: hidden;
    color:#fff;
}
.wide-fixed {
    position: fixed;
    top:0;
    left:0;
}
.wide-wrapper {
    width:100%;
    position: relative;
	overflow: hidden;
    color:#fff;
}


.wide h1 {
    width:100%;
    text-align: center;
    position: absolute;
    z-index:500;
    font-size: 22px;
    font-size: 22px;
    font-weight: 400;
	text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.75);
}
.wide h1 strong {
    display: block;
    font-size: 36px;
    font-weight: 500;
    line-height: 36px;
    text-transform: uppercase;
}
.wide h1 span {
    display: block;
    margin:0 0 0.6em;
}
.wide .toptext {
    color:#fff;
    top:7em;
}
.wide .bottomtext {
    bottom:7em;
}
.wide img {
    position: absolute;
    display: block;
    top:0;
    z-index:250;
}
.wide .scroll {
    display: block;
    position: absolute;
    bottom:1.5em;
    left:50%;
    width:40px;
    height:19px;
    background:url(../images/scroll.png) no-repeat center top;
    margin:0 0 0 -20px;
    text-indent: -9999px;
    z-index:1000;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	filter: alpha(opacity=70);
	-moz-opacity:0.7;
	-khtml-opacity:0.7;
	opacity:0.7;
	-webkit-transition: all 0.15s ease-in-out;
	-moz-transition: all 0.15s ease-in-out;
	-o-transition: all 0.15s ease-in-out;
	transition: all 0.15s ease-in-out;
}
.wide .scroll:hover {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	-moz-opacity:1;
	-khtml-opacity:1;
	opacity:1;
}

.title {
    margin: 0;
}
.content-title {
    font-size: 28px;
    line-height: 28px;
    text-align: center;
    margin: 0;
    padding: 0;
}
.content-title-2 {
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    margin: 0 0 20px;
}
/* .content-block p {
    font-size:14px;
    line-height: 20px;
    margin: 0 0 20px;
} */

#scrollTop {
    display: block;
    position: absolute;
    bottom:1.5em;
    left:50%;
	top:50%;
    width:40px;
    height:19px;
    background:url(../images/scroll.png) no-repeat center bottom;
    margin:-9px 0 0 -20px;
    text-indent: -9999px;
    z-index:1000;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	filter: alpha(opacity=70);
	-moz-opacity:0.7;
	-khtml-opacity:0.7;
	opacity:0.7;
	-webkit-transition: all 0.15s ease-in-out;
	-moz-transition: all 0.15s ease-in-out;
	-o-transition: all 0.15s ease-in-out;
	transition: all 0.15s ease-in-out;
}
#scrollTop:hover {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	-moz-opacity:1;
	-khtml-opacity:1;
	opacity:1;
}
.bs-wrap {
	overflow: hidden;
}

.content-section {
    position: relative;
    background: #fff;
}
.content-section .c50 {
    padding:0;
}
.content-table-cell .c50 {
    padding:0 40px;
}
.content-section:after, .content-table:after {
    display: block;
    position: relative;
    content: '';
    height: 0;
    clear: both;
    visibility: hidden;
}
.content-table {
    display: table;
    width: 100%;
    height: 100%;
    background: #ffffff;
    color: #666666;
}
.content-table-caption {
    display: table-caption;
    vertical-align: middle;
    text-align: center;
}
.content-table-row {
    display: table-row;
    vertical-align: middle;
}
.content-table-cell {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
    background: #fff;
    padding: 0 40px;
}
.content-table-wrapper {
    display: inline-block;
    text-align: left;
    max-width: 600px;
}
.w50 {
    width: 49.9999%;
    padding: 0 40px;
}
.content-img-wrap {
    position: relative;
    overflow: hidden;
}
.content-table h1, .content-table h2, .content-table h3 {
    color:#3d4246;
    text-transform: uppercase;
}
.content-table strong {
    font-weight: 600;
}
.content-table h1 {
    font-size: 32px;
    line-height: 100%;
    margin:0 auto;
}
.content-table h2 {
    font-size: 28px;
    line-height: 32px;
    margin:0 0 32px;
}
.content-table h3 {
    font-size: 18px;
    line-height: 24px;
    margin:0 0 16px;
}


#post-content {
    position: relative;
    overflow: hidden;
}
/* .page {
    padding-top: 48px;
} */
#fullpost-content {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.articleBody {
    display: table-cell;
    vertical-align: middle;
	overflow: hidden;
    padding:0 16px;
}
.articleBody2 {
    padding:0 2.25em;
}
#fullpost-content h1 {
    font-size:2em;
}
#fullpost-content .headings {
    margin:0 0 3em;
}
#fullpost-content p {
    margin:0 0 0.35em;
}

#post-content h2, #post-content h3 {
	font-weight:600;
	margin:0 0 0.5em;
}
#post-content h2 {
    font-size:1.5em;
}
#post-content h3 {
	line-height: 1.2em;
}
#post-content p {
    margin:0 0 16px;
}
#photos {
    position: relative;
    overflow: hidden;
}
#photos img {
    display: block;
}
#slider-small {
	overflow: hidden;
}
.owl-item {
    overflow: hidden;
}
.owl-prev, .owl-next {
    position: absolute;
    overflow: hidden;
    text-indent: -9999px;
    top:50%;
    width:20px;
    height:40px;
    margin:-20px 0 0;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	filter: alpha(opacity=70);
	-moz-opacity:0.7;
	-khtml-opacity:0.7;
	opacity:0.7;
	-webkit-transition: all 0.15s ease-in-out;
	-moz-transition: all 0.15s ease-in-out;
	-o-transition: all 0.15s ease-in-out;
	transition: all 0.15s ease-in-out;
}
.owl-prev:hover, .owl-next:hover {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	-moz-opacity:1;
	-khtml-opacity:1;
	opacity:1;
}
.owl-prev {
    left:0.75em;
    background:url(../images/navs.png) no-repeat top left;
}
.owl-next {
    right:0.75em;
    background:url(../images/navs.png) no-repeat bottom right;
}
#photos .owl-prev, #photos .owl-next {
    display: none !important;
}
.owl-dots {
    position: absolute;
    display: block;
    width:100%;
    z-index:3000;
    height:18px;
    text-align: center;
    bottom:1.5em;
}
.owl-dots .active {
    background: #fff !important;
}
.owl-dot {
    display: inline-block;
    width:14px;
    height:14px;
    margin:0 0.85em;
    background:rgba(255, 255, 255, 0.6);
    -webkit-border-radius:7px;
    -moz-border-radius:7px;
    border-radius:7px;
    -webkit-box-shadow:inset 0px 0px 4px 0px rgba(0,0,0,0.35);
    -moz-box-shadow:inset 0px 0px 4px 0px rgba(0,0,0,0.35);
    box-shadow:inset 0px 0px 4px 0px rgba(0,0,0,0.35);
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
}

#slider, .wide {
	background: #000000;
}
#slider .owl-dots {
	bottom:4.5em;
}
.item {
    position: relative;
    overflow: hidden;
}
.owl-item img {

}
.zoom {
	animation-name: zoom;
	animation-iteration-count:1;
	animation-fill-mode:forwards;
	animation-direction:alternate;
	animation-duration:11s;
	animation-timing-function:ease-in;
}
@-webkit-keyframes zoom {
	0% {
		-webkit-transform: scale(1);
	}
	100% {
		-webkit-transform: scale(1.15);
	}

}
@-moz-keyframes zoom {
	0% {
		-moz-transform: scale(1);
	}
	100% {
		-moz-transform: scale(1.15);
	}
}
@keyframes zoom {
	0% {
		transform: scale(1);
	}
	100% {
		transform: scale(1.15);
	}
}

.owl-dot:hover {
    background: #fff;
}
.stuckLeft {
    float:left;
}
.stuckRight {
    float:right;
}
@media only screen and (max-width:1300px) {
    .articleBody {
        font-size:0.8em;
		padding:0.75em;
    }
}

@media only screen and (max-width:667px) {
    #post-content, #photos {
        width:100%;
        float:none;
    }
    .articleBody {
        font-size:1em;
        padding:1em !important;
    }
    .wide .bottomtext {
        bottom:7em;
    }
    .wide h1 {
        font-size:1em;
    }
    #fullpost-content h1 {
        font-size:1em;
    }
    #fullpost-content .headings {
        margin:1em 0 0;
    }
    #fullpost-content p {
        margin:0 0 0.4em;
    }
	.cntblock {
		display:block;
		width:auto;
		margin:1em auto;
	}
}
#advanced {
    position: relative;
    background: #000;
    overflow: hidden;
}
#advanced ul li {
    display: block;
    position: relative;
    overflow: hidden;
    float:left;
}
#advanced ul li a {
    display: block;
}

#advanced ul li a h2 strong {
    display: block;
    opacity: 1;
    border:2px solid rgba(255, 255, 255, 0);
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}
#advanced ul li a h2 {
    position: absolute;
    width:100%;
    top:50%;
    margin:-0.75em 0 0;
    height:1.75em;
    font-size:1.5em;
    line-height:1.75em;
    z-index:500;
    text-align: center;
    color:#fff;
    text-transform: uppercase;
}
#advanced ul li a h2 span {
    position: absolute;
    display:block;
    visibility:visible;
    top:0;left:50%;
    width:10em;
    margin:0 0 0 -5em;
    font-size:24px;
    font-weight:500;
    border:2px solid rgba(255, 255, 255, 0);
    text-align: center;
    text-shadow: 0 0 1px #000000;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    -moz-opacity:1;
    -khtml-opacity: 1;
    opacity: 1;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}
#advanced ul li a img {
    display: block;
    position: absolute;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
    filter: alpha(opacity=60);
    -moz-opacity:0.6;
    -khtml-opacity: 0.6;
    opacity: 0.6;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}
#advanced ul li a:hover h2 span {
    border:2px solid rgba(255, 255, 255, 1);
}
#advanced ul li a:hover img {
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80);
    -moz-opacity:0.8;
    -khtml-opacity:0.8;
    opacity:0.8;
    -moz-transform: scale(1.15);
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
}
#projects {
    display: block;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
#projects .project {
    display: block;
    width: 25%;
    position: relative;
    overflow: hidden;
    background:  #151515;
}
#projects a {
    display: block;
}
#projects a h2 strong {
    display: block;
    font-size:1.15em;
    line-height:1.45em;
}
#projects a h2 {
    display:block;
    visibility: hidden;
    position: absolute;
    width:100%;
    height:4em;
    top:50%;
    margin:-2em 0 0;
    z-index:500;
    text-align: center;
    color:#fff;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    -moz-opacity:0;
    -khtml-opacity:0;
    opacity:0;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}
#projects a h2 p {
    font-size: 0.85em;
    margin:0 0.25em 1em;
}
#projects a h2 span {
    display: block;
    width:7em;
	height:30px;
	overflow: hidden;
    margin:0.5em auto 0;
    font-size:15px;
    line-height:30px;
    border:2px solid #fff;
    text-transform: uppercase;
}
#projects .project a img {
    display: block;
    position: absolute;
    overflow: hidden;
    z-index: 500;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
#projects .project a:hover h2 {
    visibility: visible;;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    -moz-opacity:1;
    -khtml-opacity:1;
    opacity:1;
}
#projects .project a:hover img {
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=55)";
    filter: alpha(opacity=55);
    -moz-opacity:0.55;
    -khtml-opacity: 0.55;
    opacity: 0.55;
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}
@media only screen and (max-width:667px)
{
    #projects a h2 span {
        font-size:12px;
        line-height:30px;
    }
    #projects .project a h2 {
        font-size:0.75em;
    }
}


.askme {
    display:block;
    width:8.5em;
    margin:1em auto 0;
    padding:0.5em;
    font-size:1.15em;
    border:2px solid #000;
    color:#000;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
}
.askme:hover {
    background: #000;
    color:#fff;
}

header a {
    color:#fff;
    text-decoration: none;
}
.tabs {
	display: table;
    position: relative;
	overflow: hidden;
}
.tabs .tab {
    display:none;
	padding:1em 1.5em;
}
.tabs .current {
    display: table-cell;
	vertical-align: middle;
}
.tab a {
	display: inline-block;
	text-decoration: none;
	border-bottom:1px solid #000;
}




/*
 *  Owl Carousel - Animate Plugin
 */
.owl-carousel .animated {
  -webkit-animation-duration: 1000ms;
  animation-duration: 1000ms;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.owl-carousel .owl-animated-in {
  z-index: 0;
}
.owl-carousel .owl-animated-out {
  z-index: 1;
}
.owl-carousel .fadeOut {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
}

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/*
 * 	Owl Carousel - Auto Height Plugin
 */
.owl-height {
  -webkit-transition: height 500ms ease-in-out;
  -moz-transition: height 500ms ease-in-out;
  -ms-transition: height 500ms ease-in-out;
  -o-transition: height 500ms ease-in-out;
  transition: height 500ms ease-in-out;
}

/*
 *  Core Owl Carousel CSS File
 */
.owl-carousel {
  display: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  /* position relative and z-index fix webkit rendering fonts issue */
  position: relative;
  z-index: 1;
}
.owl-carousel .owl-stage {
  position: relative;
  -ms-touch-action: pan-Y;
}
.owl-carousel .owl-stage:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  /* fix for flashing background */
  -webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-controls .owl-nav .owl-prev,
.owl-carousel .owl-controls .owl-nav .owl-next,
.owl-carousel .owl-controls .owl-dot {
  cursor: pointer;
  cursor: hand;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.owl-carousel.owl-loaded {
  display: block;
}
.owl-carousel.owl-loading {
  opacity: 0;
  display: block;
}
.owl-carousel.owl-hidden {
  opacity: 0;
}
.owl-carousel .owl-refresh .owl-item {
  display: none;
}
.owl-carousel .owl-item {
  position: relative;
  min-height: 1px;
  float: left;
  -webkit-backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.owl-carousel .owl-item img {
  display: block;
  width: 100%;
  -webkit-transform-style: preserve-3d;
}
.owl-carousel.owl-text-select-on .owl-item {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}
.owl-carousel .owl-grab {
  cursor: move;
  cursor: -webkit-grab;
  cursor: -o-grab;
  cursor: -ms-grab;
  cursor: grab;
}
.owl-carousel.owl-rtl {
  direction: rtl;
}
.owl-carousel.owl-rtl .owl-item {
  float: right;
}

/* No Js */
.no-js .owl-carousel {
  display: block;
}

/*
 * 	Owl Carousel - Lazy Load Plugin
 */
.owl-carousel .owl-item .owl-lazy {
  opacity: 0;
  -webkit-transition: opacity 400ms ease;
  -moz-transition: opacity 400ms ease;
  -ms-transition: opacity 400ms ease;
  -o-transition: opacity 400ms ease;
  transition: opacity 400ms ease;
}
.owl-carousel .owl-item img {
  transform-style: preserve-3d;
}

/*
 * 	Owl Carousel - Video Plugin
 */
.owl-carousel .owl-video-wrapper {
  position: relative;
  height: 100%;
  background: #000;
}
.owl-carousel .owl-video-play-icon {
  position: absolute;
  height: 80px;
  width: 80px;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
  background: url("owl.video.play.png") no-repeat;
  cursor: pointer;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transition: scale 100ms ease;
  -moz-transition: scale 100ms ease;
  -ms-transition: scale 100ms ease;
  -o-transition: scale 100ms ease;
  transition: scale 100ms ease;
}
.owl-carousel .owl-video-play-icon:hover {
  -webkit-transition: scale(1.3, 1.3);
  -moz-transition: scale(1.3, 1.3);
  -ms-transition: scale(1.3, 1.3);
  -o-transition: scale(1.3, 1.3);
  transition: scale(1.3, 1.3);
}
.owl-carousel .owl-video-playing .owl-video-tn,
.owl-carousel .owl-video-playing .owl-video-play-icon {
  display: none;
}
.owl-carousel .owl-video-tn {
  opacity: 0;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  -webkit-transition: opacity 400ms ease;
  -moz-transition: opacity 400ms ease;
  -ms-transition: opacity 400ms ease;
  -o-transition: opacity 400ms ease;
  transition: opacity 400ms ease;
}
.owl-carousel .owl-video-frame {
  position: relative;
  z-index: 1;
}



/* contact form styles */
.contact-form-container {
    display: none;
    position: fixed;
    width:100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}
.contact-form {
	display: inline-block;
	position: relative;
    width: 70%;
    padding: 32px 40px;
	background: #fff;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
.contact-form-table {
    display: table;
    width:100%;
    height:100%;
}
.contact-form-cell {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width:100%;
    height:100%;
}
.contact-form .row {
	margin:0 0 20px;
}
.contact-form .row:last-child {
	margin:0;
}
.contact-form h2 {
    font-family: 'Open Sans', sans-serif;
	font-size: 24px;
    line-height: 24px;
	margin:0 0 32px;
	text-transform: uppercase;
	text-align: center;
    color:#2e2e2e;
}
.contact-form input[type='text'], .contact-form textarea {
	display: block;
	margin: 0 auto;
	width: 100%;
	height: 44px;
	line-height: 44px;
	padding: 0 12px;
	border: 1px solid #cbcbcb;
	outline: none;
	color: #535353;
    font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	background: #ffffff;
	-webkit-transition: 0.25s ease-in-out;
	-moz-transition: 0.25s ease-in-out;
	-o-transition: 0.25s ease-in-out;
	transition: 0.25s ease-in-out;
}
.contact-form textarea {
	height: 150px;
    line-height: 22px;
    padding: 10px;
	resize: none;
}
.contact-form input[type='text']:hover, .contact-form textarea:hover {
	border: 1px solid #797979;
}
.contact-form input[type='text']:focus, .contact-form textarea:focus {
	border: 1px solid #000;
}
.contact-form .error {
	border: 1px solid #f53b2d !important;
}

.btn, .btn-w {
    display: inline-block;
    position: relative;
    overflow: hidden;
    width:168px;
    height:44px;
    line-height:44px;
    font-size:16px;
    font-weight:500;
    margin: 0 auto;
    text-align: center;
    color: #000;
    border:1px solid #000;
    border-bottom:2px solid #000;
    text-decoration:none;
    text-transform:uppercase;
}
.btn:hover {
	color:#000;
}
.btn span, .btn-w span {
	position: absolute;
	display: block;
	top:42px;
	width:100%;
	height:100%;
	color:#fff;
	background:#000;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	-o-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}
.btn-w {
    color:#fff;
    border:1px solid #fff;
    border-bottom:2px solid #fff;
}
.btn-w:hover {
	color:#fff;
}
.btn-w span {
    color:#000;
    background:#fff;
}
.btn:hover span, .btn-w:hover span {
	transform: translate(0,-42px);
	-webkit-transform: translate(0,-42px);
	-o-transform: translate(0,-42px);
	-moz-transform: translate(0,-42px);
}
.close-container {
    position: absolute;
    margin: auto;
    width: 32px;
    height: 32px;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
.close-container .leftright {
    height: 3px;
    width: 32px;
    position: absolute;
    margin-top: 16px;
    background: #cbcbcb;
    border-radius: 2px;
    transform: rotate(45deg);
    transition: all .3s ease-in;
}
.close-container .rightleft {
    height: 3px;
    width: 32px;
    position: absolute;
    margin-top: 16px;
    background: #cbcbcb;
    border-radius: 2px;
    transform: rotate(-45deg);
    transition: all .3s ease-in;
}
.close-container .close {
    margin: 60px 0 0 5px;
    position: absolute;
}
.close-container:hover .leftright {
    transform: rotate(-45deg);
    background: #000;
}
.close-container:hover .rightleft {
    transform: rotate(45deg);
    background: #000;
}
.close-container:hover label {
    opacity: 1;
}


#gocontact #sendForm {
	display: block;
	position: relative;
	overflow: hidden;
	width:168px;
	height:44px;
	line-height:44px;
	font-size:16px;
	font-weight:500;
	margin: 0 auto;
	text-align: center;
	border:1px solid #000;
	border-bottom:2px solid #000;
	text-decoration:none;
	text-transform:uppercase;
}

#gocontact #sendForm:hover {
	color:#000;
}
#gocontact #sendForm span {
	position: absolute;
	display: block;
	top:42px;
	width:100%;
	height:100%;
	color:#fff;
	background:#000;
	-webkit-transition: 0.25s ease-in-out;
	-moz-transition: 0.25s ease-in-out;
	-o-transition: 0.25s ease-in-out;
	transition: 0.25s ease-in-out;
}
#gocontact #sendForm:hover span {
	transform: translate(0,-42px);
	-webkit-transform: translate(0,-42px);
	-o-transform: translate(0,-42px);
	-moz-transform: translate(0,-42px);
}

/* .ask-2 {
	margin:0 !important;
	color:#fff !important;
	border:1px solid #fff !important;
	border-bottom:2px solid #fff !important;
}
.ask-2 span {
	color:#000 !important;
	background:#fff !important;
} */

#formDone {
	display: none;
	position:absolute;
	top:50%;
	left:50%;
	width:200px;
	height:40px;
	line-height:40px;
	text-align: center;
	margin:-20px 0 0 -100px;
	z-index:9999;
	font-size:18px;
	color:#000000;
}
/* loading screen */
#loading {
	display: block;
	position: fixed;
	width: 100%;
	height: 100%;
	top:0;
	left:0;
	background: #fff;
	z-index:9999;
}
#loading .progress {
	display: block;
	position: absolute;
	width:42px;
	height:42px;
	top:50%;
	left:50%;
	margin:-21px 0 0 -21px;
	text-align: center;
	text-indent: -9999px;
}
#loading .logo-1 {
	display: block;
	position: absolute;
	opacity:1;
	width:42px;
	height:42px;
	top:0;
	left:0;
	background: #fff;
}
#loading .progress img {
	display: block;
	width:42px;
	height:42px;
}
.loading {
    animation: loader 2s 0s 1 ease-in alternate forwards;
	-webkit-animation: loader 2s 0s 1 ease-in alternate forwards;
    -moz-animation: loader 2s 0s 1 ease-in alternate forwards;
    -o-animation: loader 2s 0s 1 ease-in alternate forwards;
}
.loading-2 {
	animation: loader 2s 1s 1 ease-in alternate forwards;
	-webkit-animation: loader 2s 1s 1 ease-in alternate forwards;
	-moz-animation: loader 2s 1s 1 ease-in alternate forwards;
	-o-animation: loader 2s 1s 1 ease-in alternate forwards;
}
@keyframes loader {
	0% {
		opacity:1;
	}
	100% {
		opacity:0;
	}
}
@-webkit-keyframes loader {
	0% {
		opacity:1;
	}
	100% {
		opacity:0;
	}
}
@-moz-keyframes loader {
	0% {
		opacity:1;
	}
	100% {
		opacity:0;
	}
}
@-o-keyframes loader {
	0% {
		opacity:1;
	}
	100% {
		opacity:0;
	}
}
@media only screen and (max-width:667px) {
	.i-soc {
		display: none;
	}
    .content-table-cell {
        padding:32px;
    }
    .content-table-cell .c50 {
        padding:0;
    }
    .content-table-wrapper {
        text-align: left !important;
    }
    .vh66, .vh100 {
        height: auto !important;
    }
    #slider-small {
        height: 50vh !important;
    }
    #menuItems li a {
        padding:16px;
    }
    .bio-section {
        height: auto !important;
    }
    .bio-section .content-table {
        display: block;
        height: auto !important;
    }
    .bio-section .h100 {
        display: block;
        height: 50vh !important;
    }
    .bio-section .content-table-cell.w50 {
        display: block;
        width: 100% !important;
        height: auto !important;
    }
    #advanced {
        height: auto !important;
    }
    #advanced ul li {
        width:50%;
    }
    #advanced ul li a h2 {
        font-size:1em;
    }
    #advanced ul li a h2 span {
        top:0;left:50%;
        width:8em;
        margin:0 0 0 -4em;
    }
}
