@import url("http://fonts.googleapis.com/css?family=Raleway:200,300,600,700&subset=latin,latin-ext");

body {
	font-family:"Raleway";	
	font-size:14px;
	background-color: #EEE ;
	color:#666;
}
.text-center {
	text-align: center;	
}
/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;1px solid #DDD
  z-index: 99;
}

#status {
  width: 200px;
  height: 200px;
  position: absolute;
  left: 50%;
  top: 50%;
  background-image: url(https://raw.githubusercontent.com/niklausgerber/PreLoadMe/master/img/status.gif);
  background-repeat: no-repeat;
  background-position: center;
  margin: -100px 0 0 -100px;
}
#intro {
	padding-top: 10px;
	padding-bottom: 0;
	margin-bottom:-1px;
	background:url(../images/topbg.png) #EEE top left repeat-x;
}
.caricature {
	text-align: center;
}
.caricature img {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	margin: auto;
}
.designer {
	text-align: right;
}
.developer {
	text-align: left;
}
.designer .inner {
    float: right;
}
.developer .inner {
    float: left;
}
#intro .inner {
    width: 220px;
	margin-top: 290px;
}
#intro p {
	font-size:17px;	
}
h1 span, h3 span { font-weight:600; }


.center-line { height:50px; clear:both; position:relative; }
.center-line:after {
    background-color: #DDD;
    left: 50%;
    margin-left: -1.5px;
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 1px;
	height:50px;
}

/* Timeline styling begins */
.bs_timeline {
    margin: 0;
    padding: 60px 0;
    list-style: none;
    position: relative;
}

.bs_timeline:before {
    background-color: #DDD;
    left: 50%;
    margin-left: -1.5px;
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 1px;
}

.bs_timeline > li {
    margin-bottom: 20px;
    position: relative;
}

.bs_timeline > li:before,
.bs_timeline > li:after {
    content: " ";
    display: table;
}

.bs_timeline > li:after { clear: both; }

.bs_timeline > li:before,
.bs_timeline > li:after {
    content: " ";
    display: table;
}

.bs_timeline > li:after { clear: both; }

.bs_timeline > li > .timeline-panel {
    width: 47%;
    float: left;
    border: 1px solid #DDD;
	background-color:#FFF;
    padding: 18px;
    position: relative;
	border-left-width:0;
}

.bs_timeline > li > .timeline-panel:before {
    display: inline-block;
    content: " ";
    position: absolute;
    top: 30px;
    right: -10px;
    border-top: 10px solid transparent;
    border-left: 10px solid #DDD;
    border-right: 0 solid #DDD;
    border-bottom: 10px solid transparent;
}

.bs_timeline > li > .timeline-panel:after {
    display: inline-block;
    content: " ";
    position: absolute;
    top: 31px;
    right: -9px;
    border-top: 9px solid transparent;
    border-left: 9px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 9px solid transparent;
}

.bs_timeline > li > .timeline-badge {
	position: absolute;
    z-index: 100;
    top: 18px;
    left: 50%;
    color: #fff;
    width: 50px;
    height: 50px;
    padding-top: 10px;
    line-height: 18px;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
    font-size: 30px;
    text-align: center;
    margin-left: -26px;
    background-color: #DDD;
}

.bs_timeline > li.timeline-right > .timeline-panel { float: right; border-right-width:0; border-left-width:1px; }

.bs_timeline > li.timeline-right > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 10px;
    left: -10px;
    right: auto;
}

.bs_timeline > li.timeline-right > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 9px;
    left: -9px;
    right: auto;
}

.timeline-badge.primary { background-color: #2e6da4 !important; }

.timeline-badge.success { background-color: #3f903f !important; }

.timeline-badge.warning { background-color: #f0ad4e !important; }

.timeline-badge.danger { background-color: #d9534f !important; }

.timeline-badge.info { background-color: #5bc0de !important; }

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-copy > p,
.timeline-copy > ul {
    margin-bottom: 0;
    color: #444444;
}

.timeline-copy > p + p { margin-top: 5px; }

/* Responsive styling begins */
@media (max-width: 767px) {

    ul.bs_timeline:before { left: 40px; }

    ul.bs_timeline > li > .timeline-panel {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
    }

    ul.bs_timeline > li > .timeline-badge {
        left: 15px;
        margin-left: 0;
        top: 16px;
    }

    ul.bs_timeline > li > .timeline-panel { float: right; border-right-width:0; border-left-width:1px; }

    ul.bs_timeline > li > .timeline-panel:before {
        left: -10px;
        right: auto;
        border-left-width: 0;
        border-right-width: 10px;
    }

    ul.bs_timeline > li > .timeline-panel:after {
        border-left-width: 0;
        border-right-width: 9px;
        left: -9px;
        right: auto;
    }

}


ul { list-style-type: none; margin:0; padding:0;}
.portfolio-list {
  width: 100%;
  margin: 0 auto;
  padding:0;
  background: #FFF;
  border-top:1px solid #DDD;
  border-bottom:1px solid #DDD;
  background-color:#fafafa;
}

.link {
  display: block;
  padding: 15px 65px 15px 60px;
  font-size: 22px;
  font-weight: normal;
  border-bottom: 1px solid #DDD;
  border-top: 1px solid #DDD;
  position: relative;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
  text-align:center;
  background-color:#FFF;
}
.link small { font-size:13px; }

.link i {
  padding: 5px 0;
  position: absolute;
  font-size: 26px;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
  text-align: center;
  width: 60px;
  top:14px;
}

.link i.lefticon {
    left: 0;
    right: auto;
    font-size: 26px;
    top: 0;
    padding: 19px 30px;
	width:inherit;
	height:100%;
}

.link .link { color: #333; }

.link i { color: #333; }

/**
 * Submenu
 -----------------------------*/


.portfolio-detail {
  background: #FFF;
  font-size: 18px;
}
.portfolio-detail.last li { border-bottom: 0px solid #DDD; border-top: 1px solid #DDD;}



/* Example wrapper */
.wrap {
	position: relative;
}

/* Frame */
.frame {
	overflow: hidden;
}
.frame ul {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100%;
	font-size: 50px;
}
.frame .content {
	width:550px;
	background-color:transparent !important;
	color:#333 !important;
	text-align:left;	
}
.frame p {
	font-size:14px;
	line-height:20px;
}
.frame ul li {
	float: left;
	height: 100%;
	margin: 0 10px 0 0;
	padding: 0;
	background: #333;
	color: #ddd;
	text-align: center;
	cursor: pointer;
}
.frame ul li.active {
	color: #fff;
	background: #a03232;
}

/* Scrollbar */
.scrollbar {
	margin:1em 0 0 0;
	height: 2px;
	background: #ccc;
	line-height: 0;
}
.scrollbar .handle {
	width: 100px;
	height: 100%;
	background: #888;
	cursor: pointer;
}
.scrollbar .handle .mousearea {
	position: absolute;
	top: -9px;
	left: 0;
	width: 100%;
	height: 20px;
}
@media only screen and (min-width: 1170px) {
  
  .timeline-panel.is-hidden, .timeline-badge.is-hidden {
    visibility: hidden;
  }
  .timeline-panel.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-2-inverse 0.6s;
    -moz-animation: cd-bounce-2-inverse 0.6s;
    animation: cd-bounce-2-inverse 0.6s;
  }
  .timeline-badge.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-1 0.6s;
    -moz-animation: cd-bounce-1 0.6s;
    animation: cd-bounce-1 0.6s;
  }
}

@media only screen and (min-width: 1170px) {
  /* inverse bounce effect on even content blocks */
  .bs_tblock:nth-child(even) .timeline-panel.bounce-in {
    -webkit-animation: cd-bounce-2 0.6s;
    -moz-animation: cd-bounce-2 0.6s;
    animation: cd-bounce-2 0.6s;
  }
}
@-webkit-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
  }
  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -moz-transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    -moz-transform: translateX(20px);
  }
  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
    -moz-transform: translateX(-100px);
    -ms-transform: translateX(-100px);
    -o-transform: translateX(-100px);
    transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
    -moz-transform: translateX(20px);
    -ms-transform: translateX(20px);
    -o-transform: translateX(20px);
    transform: translateX(20px);
  }
  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}
@-webkit-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
  }
  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -moz-transform: translateX(100px);
  }
  60% {
    opacity: 1;
    -moz-transform: translateX(-20px);
  }
  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
    -moz-transform: translateX(100px);
    -ms-transform: translateX(100px);
    -o-transform: translateX(100px);
    transform: translateX(100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
    -moz-transform: translateX(-20px);
    -ms-transform: translateX(-20px);
    -o-transform: translateX(-20px);
    transform: translateX(-20px);
  }
  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}

@-webkit-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
  }
}
@-moz-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -moz-transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -moz-transform: scale(1.2);
  }
  100% {
    -moz-transform: scale(1);
  }
}
@keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}

#contact { 
	background-color:#FFF;
	border-top:1px solid #DDD;
	border-bottom:1px solid #DDD;
	padding:30px;
}

footer { text-align:center; padding:20px 0; }


@media  only screen and (max-width: 768px) {
	.caricature img {
		position:relative;	
	}
	#intro .inner {
		text-align:center;
		width:80%;
		margin:10px auto;
		float:none !important; 
	}
	.frame .content {
		width:300px;
	}
     .link { font-size:18px; }
	.link small { font-size:12px; }
	.link i { top: 9px; }
}


@media (max-width: 480px) {.g-recaptcha>div>div{width:inherit !important;position:relative;display:block;padding:0;overflow:hidden;max-width:302px;border-right:1px solid #d3d3d3;border-radius:4px;box-shadow:2px 0px 4px -1px rgba(0,0,0,.08);-webkit-box-shadow:2px 0px 4px -1px rgba(0,0,0,.08);-moz-box-shadow:2px 0px 4px -1px rgba(0,0,0,.08)} .g-recaptcha iframe{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0} .g-recaptcha>div{position:relative} .g-recaptcha>div:before{content:'Loading captcha...';position:absolute;top:38%;left:0} .g-recaptcha:empty:before{content:'Something went wrong'}}

/*
.frame .slide > .item {
  height:400px;
}
.frame .slide .item img {
  height:100%;	
}
@media (min-width: 768px) 
  and (max-width: 1024px) {
	.frame .slide > .item {
		height:350px;
	}
}
@media (min-width: 480px) 
  and (max-width: 768px) {
	.frame .slide > .item {
		height:300px;
	}
}
@media (max-width: 480px) {
	.frame .slide > .item {
		height:250px;
	}
}
*/

.label { line-height:2; }

.navbar { margin-bottom:0 ; }
.navbar-nav {
  width: 100%;
  text-align: center;
}
.navbar-nav > li {
  float: none;
  display: inline-block;
}

.scroll-top {
  width: 50px;
  height: 50px;
  position: fixed;
  bottom: 25px;
  right: 20px;
  display: none;
  z-index:999;
}
.scroll-top i {
  display: inline-block;
  color: #fff;
}


.porfolio-list {
    background-color:#FFF;
}
section.portitem {
  margin: 0 auto;
  padding: 0;
}
section.portitem .link {
    z-index:99;
    position:sticky!important;
    top:0px;
    margin-left:-15px;
    margin-right:-15px;
}
section.portitem aside {
    position:sticky!important;
    top:50px;
}
section.portitem .content {
    padding: 100px 0;
}
.gallery-wrapper {
  position: relative;
  z-index: 1;
  padding:30px 0;
}
.gallery {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction:column;
}

.gallery-box {
  margin: 30px 0;
}
.gallery-box img { max-width:100%; }
@media only screen and (max-width: 768px) {
  
section.portitem aside {
    position:inherit!important;
    top:50px;
}
section.portitem .content {
    padding:50px ;
    margin:0 auto;
}
}