﻿@font-face {
    font-family: "Yekan";
    src: url('../fonts/BYekan.ttf'), url('../fonts/BYekan.eot');
}


/*  0.  Reset & Clearfix (http://meyerweb.com/eric/tools/css/reset/)
/* ------------------------------------------------------------------------------- */

	html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,and,address,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video,input,textarea,select{margin:0;padding:0;outline:0;border:0;background:transparent;vertical-align:baseline;font-size:100%;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:none;}del{text-decoration:line-through;}hr{clear:both;margin:0;padding:0;height:1px;border:0;background:transparent;color:transparent;}mark{background-color:#ffffb3;font-style:italic;}input,select{vertical-align:middle;}ins{background-color:red;color:#fff;text-decoration:none;}ol,ul{list-style:none;}table{border-collapse:collapse;border-spacing:0;}

	.clear{clear:both;display:block;visibility:hidden;overflow:hidden;width:0;height:0;}.clearfix:after{clear:both;display:block;visibility:hidden;width:0;height:0;content:' ';font-size:0;line-height:0;}* html .clearfix,:first-child+html .clearfix{zoom:1;}


/*  1.  Document Setup
/* ------------------------------------------------------------------------------- */


	body {
		background: #dcdfe2 url(../images/bg.png);
		color: rgb(50,50,50);
		font: normal 12px 'Yekan',Tahoma,Helvetica,Arial,sans-serif;
		overflow-y: scroll;
	}

	h1 {
    font: normal 30px 'Yekan' ,Helvetica,Arial,sans-serif;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2A2A2A;
    text-transform: uppercase;
}

	h2 {
		font: normal 28px/28px 'ff',Helvetica,Arial,sans-serif;
		margin-bottom: 10px;
		font-weight: 400;
		color: #fff;
	}

	h3 {
		font-size: 20px;
		margin-bottom: 5px;
		font-weight: 400;
		color: #b2b2b2;
	}

	h4 {
		font-size: 16px;
		margin-bottom: 10px;
		font-weight: 400;
		color: #b2b2b2;
	}	

	h5 {
		font-size: 14px;
		font-weight: 600;
		color: #b2b2b2;
	}

	h6 {
		font-size: 12px;
		color: #b2b2b2;
	}

	p {
		margin-bottom: 20px;
	}

	a {
		text-decoration: none;
	}

	.font-red h2, .font-blue h2, .font-green h2, .font-yellow h2 {
		color: #fff;
		text-shadow: 0 1px 1px rgba(0,0,0,0.5);
	}

	.font-red p {
		color: #ffa3a3;
	}

	.font-red h3, .font-red h4, .font-red h5, .font-red h6 {
		color: #ffcaca;
	}

	.font-blue p {
		color: #a9dcff;
	}

	.font-blue h3, .font-blue h4, .font-blue h5, .font-blue h6 {
		color: #d4edff;
	}

	.font-green p {
		color: #dcff91;
	}

	.font-green h3, .font-green h4, .font-green h5, .font-green h6 {
		color: #f0ffcf;
	}

	.font-yellow p {
		color: #ffe9a0;
	}

	.font-yellow h3, .font-yellow h4, .font-yellow h5, .font-yellow h6 {
		color: #fff4d1;
	}

	#content-wrapper {
    position: relative;
    margin: 0 auto;
    margin-top: 150px;
    margin-bottom: 50px;
    width: 860px;
    background: rgba(238,238,238,0.5);
    border-radius: 20px;
    -moz-box-shadow: 0 0 1px rgba(255,255,255,0.25);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,0.25);
    box-shadow: 0 0 1px rgba(255,255,255,0.25);
    border: 1px solid rgb(218, 218, 218);
}

	.shadow {
		position: relative;
		width: 860px;
		margin: 0 auto;
	}

	.shadow:before,
	.shadow:after{
		position: absolute;
		bottom: 15px;
		left:  10px;
		z-index: -2;
		width: 50%;
		height: 100px;
		box-shadow: 0 15px 10px rgba(0, 0, 0, 0.3);
		content: '';
		-webkit-transform: rotate(-3deg);
		-moz-transform: rotate(-3deg);
		-o-transform: rotate(-3deg);
		transform: rotate(-3deg);
		-ms-transform: rotate(-3deg);
	}

	.shadow:after {
		right: 10px;
		left: auto;
		-webkit-transform: rotate(3deg);
		-moz-transform: rotate(3deg);
		-o-transform: rotate(3deg);
		transform: rotate(3deg);
		-ms-transform: rotate(3deg);
	}

	.left-column {
		float: left;
		margin: 20px 0 0 20px;
		padding: 15px;
		width: 270px;
	}

	.right-column {
		float: right;
		margin: 20px 20px 0 0;
		padding: 15px;
		width: 490px;
	}

	.full-width {
		width: 780px;
		margin: 20px 20px 0 20px;
		padding: 10px 20px;
	}

	.floatlimit {
		clear: both;
		height: 0;
	}

	.float-left {
		float: left;
	}

	.float-right {
		float: right;
	}

	.substrate {
		background: #202020;
		margin-bottom: 30px;
		padding: 15px 20px;
		border-top: 1px solid #333;
		-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    	box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    	position: relative;
    	display: block;
	}

	.substrate h2 {
		margin: 0 0 30px;
	}

	.left-column .substrate {
		width: 230px;
	}

	.right-column .substrate {
		width: 450px;
	}

	#resume .right-column .substrate {
		padding-left: 30px;
		width: 440px;
	}

	.paper-clip {
		width: 60px;
		height: 85px;
		background: url(../images/paper-clip.png);
		position: absolute;
		top: -14px;
		right: -13px;
	}

	.about-wrapper {
		float: right;
		margin: 20px 20px 0 0;
		padding: 15px;
		width: 470px;
	}

	/* Colored Elements */

	.fill-red, .fill-blue, .fill-green, .fill-yellow {
		height: 45px;
		color: #fff;
		text-transform: uppercase;
		font-weight: 600;
		font-size: 30px;
		line-height: 45px;
		padding-left: 35px;
	}

	.fill-red {
		background: #d01919;
	}

	.fill-blue {
		background: #08558b;
	}

	.fill-green {
		background: #298a26;
	}

	.fill-yellow {
		background: #d28f0f;
	}

	/* Demo */

	#demo-logo {
		position: absolute;
		right: 40px;
		top: -150px;
	}

/*  1.1 Buttons
-------------------------------------------*/

	.button {
		text-decoration: none;
		color: #fff;
		text-align: center;
	}

	.button-small {
		width: 120px;
		height: 25px;
		background: #404040;
		position: relative;
	}

	.button-small-label {
		position: relative;
		width: 120px;
		height: 25px;
		line-height: 25px;
		overflow: hidden;
	}

	.button-medium {
		width: 150px;
		height: 30px;
		background: #404040;
		position: relative;
	}

	.button-medium-label {
		position: relative;
		width: 150px;
		height: 30px;
		line-height: 30px;
		overflow: hidden;
	}

	.button-big {
		width: 230px;
		height: 40px;
		background: #404040;
		position: relative;
	}

	.button-big-label {
		position: relative;
		width: 230px;
		height: 40px;
		line-height: 40px;
		overflow: hidden;
	}

	.button-anim-border, .button-anim {
		height: 100%;
		position: absolute;
		transition: width 1s;
		-moz-transition: width 1s;
		-webkit-transition: width 1s;
		-o-transition: width 1s;
	}

	.button-anim-border {
		width: 5px;
	}

	.button-anim {
		width: 0;
	}

	.download-card{
		margin: -25px 0 5px;
		float: right;
	}

	/* Colored Buttons */

	.button-red .button-anim-border {
		background: #d01919;
	}

	.button-red .button-anim {
		background: #d01919;
	}

	.button-blue .button-anim-border {
		background: #08558b;
	}

	.button-blue .button-anim {
		background: #08558b;
	}

	.button-green .button-anim-border {
		background: #298a26;
	}

	.button-green .button-anim {
		background: #298a26;
	}

	.button-yellow .button-anim-border {
		background: #d28f0f;
	}

	.button-yellow .button-anim {
		background: #d28f0f;
	}

	.button:hover .button-anim-border {
    	width: 100%;
    }
    .current .button-anim-border {
    	width: 100%;
    }
    .button:hover .button-anim {
    	width: 100%;
    }
    .current .button-anim {
    	width: 100%;
    }


/*  2.  Navigation
/* ------------------------------------------------------------------------------- */

	#logo {
		width: 290px;
		padding: 30px 0 10px 40px;
		line-height: 80px;
		float: left;
		text-transform: uppercase;
		color: #666;
		display: none;
	}

	.etabs {
		margin-left: 355px;
		height: 110px;
	}

	.etabs li {
		float: left;
		margin-right: 10px;
	}

	.etabs li a {
		display: block;
		position: relative;
		width: 150px;
		height: 80px;
		text-align: center;
		font-size: 12px;
		color: #fff;
		overflow: hidden;
		transition: height 0.5s;
		-moz-transition: height 0.5s;
		-webkit-transition: height 0.5s;
		-o-transition: height 0.5s;
	}

	.etabs li a:hover {
		display: block;
		width: 150px;
		height: 100px;
	}

	.etabs li a.active {
		display: block;
		width: 110px;
		height: 110px;
	}

	.tab-main a.active{
		height: 80px !important;
	}

	.navicon-about {
		background: url(../images/nav_icons.png);
		height: 32px;
		width: 32px;
		position: absolute;
		margin-left: -16px;
		top: 25px;
		left: 50%;
		-webkit-transition: all 0.3s ease-in-out;
		-moz-transition: all 0.3s ease-in-out;
		-o-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
		-ms-transition: all 0.3s ease-in-out;
	}

	.navicon-resume, .navicon-portfolio, .navicon-contact {
		height: 32px;
		width: 150px;
		position: absolute;
		/*margin-left: -16px;*/
		top: 25px;
		/*left: 50%;*/
		-webkit-transition: all 0.3s ease-in-out;
		-moz-transition: all 0.3s ease-in-out;
		-o-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
		-ms-transition: all 0.3s ease-in-out;
          font-family:'Yekan';
        font-size:14px;
	}

	.navicon-resume {
		background: url(../images/nav_icons.png) -32px 0;
	}

	.navicon-portfolio {
		background: url(../images/nav_icons.png) -64px 0;
	}

	.navicon-contact {
		background: url(../images/nav_icons.png) -96px 0;
	}

	.navicon-text, .uhere-text {
		position: absolute;
		width: 150px;
		color: rgba(255,255,255,0);
		-webkit-transition: all 0.3s ease-in-out;
		-moz-transition: all 0.3s ease-in-out;
		-o-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
		-ms-transition: all 0.3s ease-in-out;
	}

	.navicon-text {
		bottom: -20px;
        font-family:'Yekan';
        font-size:11px;
	}

	.uhere-text {
		top: 50px;
		text-align: center;
	}

	.tab-main a.active:hover .uhere-text {
		top: 30px;
		color: rgba(255,255,255,1);
	}

	.tab-main a.active:hover .navicon-about {
		top: -30px;
		color: rgba(255,255,255,1);
	}

	.etabs li a:hover .navicon-text {
		bottom: 15px;
		color: rgba(255,255,255,1);
	}

	.etabs li a.active .navicon-text {
		bottom: 15px;
		color: rgba(255,255,255,1)
	}

	.tab-main a.active .navicon-text {
		color: rgba(255,255,255,0) !important;
		bottom: -20px !important;
	}

	.etabs li a.active .navicon-about {
		top: 25px;
	}

	.etabs li a.active .navicon-resume {
		top: 40px;
	}

	.etabs li a.active .navicon-portfolio {
		top: 40px;
	}

	.etabs li a.active .navicon-contact {
		top: 40px;
	}

	/* Colored Elements */

	.gradient-red {
		margin-top: -1px;
		border-top: 1px solid #ffa36e;
		background: #dd6300; /* Old browsers */
		background: -moz-linear-gradient(top,  #dd6300 0%, #d01919 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dd6300), color-stop(100%,#d01919)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #dd6300 0%,#d01919 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #dd6300 0%,#d01919 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #dd6300 0%,#d01919 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #dd6300 0%,#d01919 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dd6300', endColorstr='#d01919',GradientType=0 ); /* IE6-9 */

	}

	.gradient-blue {
		margin-top: -1px;
		border-top: 1px solid #98f1ff;
		background: #28c8e0; /* Old browsers */
		background: -moz-linear-gradient(top,  #28c8e0 0%, #08558b 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#28c8e0), color-stop(100%,#08558b)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #28c8e0 0%,#08558b 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #28c8e0 0%,#08558b 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #28c8e0 0%,#08558b 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #28c8e0 0%,#08558b 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#28c8e0', endColorstr='#08558b',GradientType=0 ); /* IE6-9 */

	}

	.gradient-green {
		margin-top: -1px;
		border-top: 1px solid #eaff89;
		background: #b2d200; /* Old browsers */
		background: -moz-linear-gradient(top,  #b2d200 0%, #298a26 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b2d200), color-stop(100%,#298a26)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #b2d200 0%,#298a26 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #b2d200 0%,#298a26 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #b2d200 0%,#298a26 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #b2d200 0%,#298a26 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b2d200', endColorstr='#298a26',GradientType=0 ); /* IE6-9 */

	}

	.gradient-yellow {
		margin-top: -1px;
		border-top: 1px solid #ffefbb;
		background: #ffd133; /* Old browsers */
		background: -moz-linear-gradient(top,  #ffd133 0%, #d28f0f 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffd133), color-stop(100%,#d28f0f)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #ffd133 0%,#d28f0f 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #ffd133 0%,#d28f0f 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #ffd133 0%,#d28f0f 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #ffd133 0%,#d28f0f 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffd133', endColorstr='#d28f0f',GradientType=0 ); /* IE6-9 */

	}

/*  3.  About Me
/* ------------------------------------------------------------------------------- */

/*  3.1 Main Slider
-------------------------------------------*/
	.slider-wrapper {
		position: absolute;
		top: -50px;
		left: 40px;
		width: 270px;
	}

	.slider-wrapper:before {
		content: '';
		position: absolute;
		bottom: 15px;
		width: 80%;
		height: 20%;
		box-shadow: 0 15px 10px rgba(0, 0, 0, 0.3);
		right: 5px;
		left: auto;
		-webkit-transform: rotate(3deg);
		-moz-transform: rotate(3deg);
		-ms-transform: rotate(3deg);
		-o-transform: rotate(3deg);
		transform: rotate(3deg);
	}

	/* Colored Elements */

	.top-border-red, .top-border-blue, .top-border-green, .top-border-yellow {
		padding-top: 10px;
	}

	.top-border-red {
		border-top: 5px solid rgb(223, 70, 3);
	}

	.top-border-blue {
		border-top: 5px solid #27c6de;
	}

	.top-border-green {
		border-top: 5px solid #298a26;
	}

	.top-border-yellow {
		border-top: 5px solid #dca014;
	}


/*  Styles for 2nd version --------------------------*/

	#portfolio-content li {
		width: 220px;
		float: left;
		margin: 10px;
		border-top: 1px solid #333;
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		-ms-transition: .5s ease-in-out;
		-o-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
	}



/*  7. Footer
/* ------------------------------------------------------------------------------- */

	.footer p {
		font-size: 9.8px;
		padding-top: 10px;
		color: rgb(50,50,50);
		text-align: center;
	}

	.footer .left-column {
		margin: 0 0 0 20px;
	}

	 .footer .right-column {
	 	margin: 0 20px 0 0;
	}

/*  8. Social
/* ------------------------------------------------------------------------------- */

	.social {
		margin: 0 auto;
		text-align: center;
	}

	.social li {
		display: inline-block;
		margin: 5px 5px 5px 0;
		width: 30px;
		height: 30px;
		border-radius: 15px;
		background: #262626;
 		-webkit-transition: all 0.5s 0s ease;
		-moz-transition: all 0.5s 0s ease;
 		-o-transition: all 0.5s 0s ease;
	}

	

/* Smaller than 860px (devices and browsers) */
@media screen and (max-width: 860px) {

	#content-wrapper {
		width: 620px;
	}

	.shadow {
		width: 620px;
	}

	.left-column {
		padding-left: 5px;
	}

	.right-column {
		padding-left: 0;
		width: 270px;
	}

	.right-column .substrate {
		width: 230px;
	}

	#resume .right-column .substrate {
		width: 230px;
	}

	.substrate {
		margin-bottom: 20px;
	}

	.about-wrapper {
		margin-right: 30px;
		width: 230px;
	}

	.full-width {
		width: 540px;
	}

	.download-card{
		float: none;
		margin: 10px 0;
	}

	.info-slider {
		width: 230px;
	}

	.info-slide-item {
		width: 230px;
		height: 195px;
	}

	.mini-portfolio li {
		margin: 0 0 10px;
	}

	.helper-miniportfolio-margin {
		width: 10px;
	}

	.bigp-1 {
		width: 230px;
		background: url(../images/photocontent/thumbs_bigslider.jpg) -120px 0;
	}

	.mini-location {
		width: 230px;
	}

	.mini-location-text {
		width: 210px;
	}

	.etabs {
		margin: 10px 0 0 40px;
	}

	.etabs li {
		margin-right: 13px;
	}

	.etabs li a {
		width: 125px;
	}

	.etabs li a:hover {
		width: 125px;
	}

	.etabs li a.active {
		width: 125px;
	}

	.navicon-text, .uhere-text {
		width: 125px;
	}

	#logo {
		float: none;
	}

	.info-period {
		padding-left: 60px;
	}

	.time-period-left-red, .time-period-left-blue, .time-period-left-green, .time-period-left-yellow {
		position: relative;
		float: left;
		width: 50px;
		font-weight: 600;
	}

	#portfolio-content {
		width: 540px;
	}

	#map {
		width: 230px;
		height: 250px;
	}


}

/* Smaller than 620px (devices and browsers) */
@media screen and (max-width: 620px) {

	#demo-logo {
		position: absolute;
		right: 25px;
		top: -120px;
	}

	#content-wrapper {
		width: 320px;
	}

	.shadow {
		width: 320px;
	}

	.left-column {
		float: none;
		margin: 20px 20px 0;
		padding: 0 0 0 5px;
	}

	.right-column {
		float: none;
		margin: 0 25px 0;
		padding: 0;
	}

	#resume .right-column .substrate {
		width: 220px;
	}

	.slider-wrapper {
		left: 25px;
	}

	.info-slider .left-column {
		float: none;
		margin-bottom: 15px;
	}

	.info-slider .right-column {
		float: none;
		margin: 0;
	}

	.full-width {
		width: 270px;
		padding: 10px 5px;
	}

	.download-card{
		margin: 5px 0 20px 40px;
	}

	.info-slider {
		text-align: left;
	}

	.title {
		padding-top: 330px;
		text-align: center;
	}

	.footer .left-column, .footer .right-column {
		margin: 0 25px;
	}

	.etabs {
		margin-left: 25px;
	}

	.etabs li {
		margin-right: 6px;
	}

	.etabs li a {
		width: 63px;
	}

	.etabs li a:hover {
		width: 63px;
	}

	.etabs li a.active {
		width: 63px;
	}

	.navicon-text, .uhere-text {
		width: 63px;
	}

	#logo {
		width: 270px;
		margin: 0 auto;
		text-align: center;
		padding: 20px 0 10px;
	}

	#portfolio-content {
		width: 270px;
	}

	.social {
		padding-bottom: 10px;
	}

}

/*-- end -------------------------------------------------------------------*/