@font-face {
font-family: "TitilliumText";
src: url('../fonts/TitilliumText25L004.otf');
}

/*reset*/
html, body, div, section, article, aside, header, hgroup, footer, nav, h1, h2, h3, h4, h5, h6,a, blockquote, address, time, span, em, strong, img, ol, ul, li, figure, canvas, video, th, td, tr,iframe {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align:baseline;
	font: inherit;
	text-decoration:none;
	list-style:none;
	font-family: Arial,Helvetica,sans-serif;
	
}

a,a:active,a:hover {outline: none;}

/*html5 display rule*/
address, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, nav, menu, nav, section, summary {
	display: block;
}

section {
	clear: both;
}


/* General  Style */ 

html {
	overflow-y:scroll;
}


body{
	background:url(../images/pattern/pattern1.png) repeat-x ;
	font:100% Arial, Helvetica, sans-serif;
	line-height: 1.5;
	font-weight:normal;
	font-style:normal;
}

#wrapper{
	margin:20px auto 20px auto;
	width:700px;
	background:url(../images/shadow.png) no-repeat center bottom;
	position:relative;
}

#header {
	position:relative;
	z-index:10;	
}

#header h2{
	position:absolute;
	background:url(../images/v-card-red.png) no-repeat;
	top:18px;
	left:466px;
	text-indent:-9999px;
	width:208px;
	height:55px;
	z-index: 1;	
}

#tabsContainer{	
	border-top:5px solid #ef0007;
	margin:0 auto;
	background:#fff;
	-moz-box-shadow : 0px 0px 4px rgba(0,0,0,0.19);
	-webkit-box-shadow :0px 0px 4px rgba(0,0,0,0.19);
	box-shadow:0px 0px 4px rgba(0,0,0,0.19);
	border-radius:4px;
	padding:0 8px 8px 8px;
	position:relative;	
}

#innerBg{
	
	margin:0 auto;
	border-radius:0 0 4px 4px;
	border:1px solid #ebebeb;
	-moz-box-shadow : 0px 0px 13px rgba(0,0,0,0.1) inset;
	-webkit-box-shadow :0px 0px 13px rgba(0,0,0,0.1) inset;
	box-shadow:0px 0px 13px rgba(0,0,0,0.1) inset;
	padding:30px 25px 30px 25px;
}

#mainNav ul
{
	
	margin:0 ;
	padding:0;
	position:relative;
}

#mainNav li{
	
	display:inline;
	font-size:16px;
	padding-left:10px;
}

#mainNav li a{
	
	font-weight:bold;
	color:#999;
	text-shadow:1px 1px #efefef;
	display:inline-block;
	padding:10px;
	text-align:center;
}

#mainNav a.active{
	-moz-transition: color 0.2s ease-out 0.3s;
	-webkit-transition : color 0.2s ease-out 0.3s;
	background:url(../images/arrow-green.png) no-repeat center 38px;
	color:#ef0007;
	z-index:1000;
}

article{
	font-size:12px;
	color:#999;
}

footer p{
	text-align:center;
	color:#999;
	margin-top:15px;
	font-size:11px;
}

footer span {
	color:#666;
}


footer span + span a{
	color:#ef0007;
}
/* End general style */ 


/*Style for the about tab*/



div.about h1{
	font-family: "TitilliumText";
	font-size:30px;
	color:#666;
}

div.about h2{
	font-family: "TitilliumText";
	font-size:18px;
	color:#666;
}

.about hgroup{
	margin-bottom:12px;
	padding-bottom:12px;
	border-bottom:1px solid #ebebeb;
}

.introduction {
	clear:both;
}

.introduction h2{
	margin-bottom:4px;
}

.introduction p{
	margin-bottom:8px;
}

.skills h2{
	margin-bottom:8px;
}

.skills ul li {
	background: url(../images/checkList.png) no-repeat scroll 6px center #EBEBEB;
    border-radius: 4px 4px 4px 4px;
    color: #666666;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 3px 23px;
}

.skillList{
	float:left;
	margin-right:20px;
}

/*End Style for the about tab*/




/* Style for the social tab*/

#social h2{
	font-family: "TitilliumText";
	font-size:18px;
	color:#666;
	border-bottom:1px solid #ebebeb;
	margin-bottom:19px;
	padding-bottom:12px;
}

#socialsLists{
	margin-left:52px;
}


ul.socialList1, ul.socialList2{
	width:283px;
}

ul.socialListWide{
	width:100%;
}
ul.socialList1 li , ul.socialList2 li {
	margin-bottom:20px;
	margin-right:50px;
	background:#EBEBEB;
	-moz-border-radius : 4px 4px 4px 4px;
	-webkit-border-radius : 4px 4px 4px 4px;
	border-radius: 4px 4px 4px 4px;
	padding:8px;
}

ul.socialList1{
	float:left;
}

 ul.socialList2{
	float:right;
}

ul.socialList1 img, ul.socialList2 img{
		float: left;
	    margin-left: 9px;
	    margin-right: 20px;
	    margin-top: 4px;
}

ul.socialList1 li h3 , ul.socialList2 li h3{
	font-weight:bold;
	color:#666;
}

ul.socialList1 li span , ul.socialList2 li span{
	font-weight:normal;
	color:#999;
}

#twitter{
	border-bottom:1px solid #ebebeb;
	border-top:1px solid #ebebeb;
	padding-top:12px;
	padding-bottom:5px;	
}

#twitter img , #twitter h2 {
	float:left;
	border:none;
}
#twitter img{
	margin-right:25px;
	margin-top:15px;
}

#twitter h2{
	margin-right:50px;
	margin-top:15px;
	padding:0;	
}

#twitter h3{
	font-weight:bold;
	color:#666;
}
#twitter span{
	font-size:11px;
}

/*End Style for the social tab*/


label.error{
	display:block;
	padding-bottom:10px;
	font-size:11px;
	color:#ff0000;
	font-weight:bold;
}


/* Clear float style*/
.clearfix:before,
.clearfix:after{
	content:"";
	display:table;
}

.clearfix:after{
	clear:both;
}
/*End clear float style */


/*-------------------------------------------------------------------------*/

/* Media queries */

/* Tablet Portrait size -> standard 960 */
@media only screen and (min-width: 768px) and (max-width: 959px) {

/* Works style(portfolio section) */	
#works{margin-left:38px;}

/* Social style (social section) */	
#socialsLists{margin-left: 45px;}


}

/* Mobile Landscape Size -> Tablet Portrait size*/
@media only screen and (min-width: 480px) and (max-width: 767px) {
	
/* preventing font-size from scaling */	
html{-webkit-text-size-adjust: none;-moz-text-size-adjust:none;-ms-text-size-adjust:none;}

/* Wrapper style */	
#wrapper{width:470px;background:url(../images/shadow-470.png) no-repeat center bottom;}

/* Nav style */	
#mainNav li{
	padding: 0px;
	font-size: 13px;
}

#mainNav a.active{
background:url(../images/arrow-green.png) no-repeat center 33px;
}

/* Header style */
#header h2{
	top:13px;
	left:253px;}

/* Image style */	
figure#img{
	margin-left:28px;
	padding:5px 5px 5px 5px;
	background: url(../images/img-470.png) no-repeat center center !important;
	width:324px;
	height:206px;
	margin-bottom:20px;
}

#introduction p{font-size:11.8px;}
#skills ul li {padding: 3px 18px;}

/* Works style(portfolio section) */
#works {margin-left: -2px;}

li.item h3 {width: 186px;}

/* Social style (social section) */
#socialsLists {margin-left:60px;}
ul.socialList1, ul.socialList2 {float: none;width:330px;}

/* Footer style */
footer p{font-size:11px}

}


/* Mobile Portrait Size -> Mobile Landscape Size */
@media only screen and (max-width: 479px) {

/* Wrapper style */		
#wrapper{width:300px;background:url(../images/shadow-300.png) no-repeat center bottom;}	

/* Inner style */	
#innerBg{padding-top:60px;}


/* Nav style */	
#mainNav li{
	padding: 0px;
	font-size: 13px;
}

/* Nav style */	
#mainNav li a {padding:8px 8px 12px;}

#mainNav a.active{
background:url(../images/arrow-green.png) no-repeat center 33px;
}

/* Header style */	
#header h2 {
	left:45px;
	top:45px;
	position:absolute;
	background:url(../images/v-card-green-png.png) no-repeat !important;
}

/* Image style */	
figure#img{margin-left:31px;}

/* About style (about section) */	
div.about {float: none;width: 248px;}
#skills ul li {padding: 3px 20px;}


/* Portfolio style (portfolio section) */		
ul#category {width: 230px;}		
ul#category li{margin-bottom:5px;margin-right:9px;padding:4px;}		
#works {margin-left: 19px;}											
ul li.item{float:none;margin-bottom:130px;}
li.item h3{width:187px;}	

/* Social style (social section) */		
#socialsLists {margin-left:14px;}			
ul.socialList1, ul.socialList2 {width: 255px;float:none;}
#twitter {padding-bottom: 16px;padding-top: 0;}

/* Style switcher (removing the style switcher in the small device) */
#styleswitcher{display:none;}
	
}

/*End Media queries*/

/*-------------------------------------------------------------------------*/