@charset "utf-8";

/*
Description: Nikola
Author: Milos Milikic
Author URI: http://milosmilikic.com
*/

/*
TABLE OF CONTENTS:
01. CSS Reset
02. General
03. Header
04. Main
05. Footer
06. Retina
*/

/*---------------------------------------------------------------------*/
/*--- 01. CSS RESET ---*/
/*---------------------------------------------------------------------*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {  margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
:focus { outline: 0; }
ins { text-decoration: none; }
del { text-decoration: line-through; }
table { border-collapse: collapse; border-spacing: 0; }

/*---------------------------------------------------------------------*/
/*--- 02. GENERAL ---*/
/*---------------------------------------------------------------------*/

body{
	background: #fafafa;
	font: 14px/20px ProximaNova-Regular,'Open Sans', "Helvetica Neue", Helvetica, sans-serif;
	color: #777;
}

p{
	margin-bottom: 30px;
}

h1, h2, h3, h4 {
	color: #333;
	margin-bottom: 30px;
	padding-top: 30px;
	line-height: 1.6em;
	font-weight: bold;
}

h1 {
	font-size: 30px;
	
}

h2 {
	font-size: 24px;
}

h3 {
	font-size: 20px;
}

h4 {
	font-size: 16px;
}

a {
	color: #1893BB;
	text-decoration: none;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

a:hover{
	color: #33BEEB;
}

.clear{
	clear: both;
}

.noMarginR{
	margin-right: 0!important;
}

.noBorder{
	border: none !important;
}

.container{
	width: 800px;
	margin: 0 auto;
}


/*---------------------------------------------------------------------*/
/*--- 03. HEADER ---*/
/*---------------------------------------------------------------------*/
.headerWrapper{
	width: 100%;
	background-image: -o-linear-gradient(-130deg, #485597 0%, #1696BD 100%);
	background-image: -moz-linear-gradient(-130deg, #485597 0%, #1696BD 100%);
	background-image: -webkit-linear-gradient(-130deg, #485597 0%, #1696BD 100%);
	background-image: -ms-linear-gradient(-130deg, #485597 0%, #1696BD 100%);
	background-image: linear-gradient(-220deg, #485597 0%, #1696BD 100%);
}

header{
	height: 150px;
}

header nav{
	float: left;
	height: 50px;
	margin-top: 50px;
}

.logo{
	width: 50px;
	height: 50px;
	text-indent: -10000px;
}

.logo a{
	width: 50px;
	height: 50px;
	display: block;
	background: url('../images/sprites.png') no-repeat 0 0;
}

header nav li{
	display: inline-block;
	height: 50px;
	line-height: 50px;
	margin-right: 30px;
}

header nav li a{
	font-size: 16px;
	color: #fff;
	opacity: 0.7;
}

header nav .current a,
header nav a:hover{
	opacity: 1;
	color: #fff;
}

.social{
	float: right;
	margin-top: 60px;
}

.social li{
	width: 30px;
	height: 30px;
	display: inline-block;
	margin-left: 10px;
}

.social li a{
	width: 30px;
	height: 30px;
	line-height: 30px;
	display: block;
	text-indent: -10000px;
	opacity: 0.7;
}

.social li a:hover{
	opacity: 1;
}

.twitter a{
	background: url('../images/sprites.png') no-repeat 0 -60px;
}

.mail a{
	background: url('../images/sprites.png') no-repeat -40px -60px;
}

/*---------------------------------------------------------------------*/
/*--- 04. MAIN ---*/
/*---------------------------------------------------------------------*/

.mainWrapper{
	width: 100%;
	background: #fff;
	padding-bottom: 20px;
}

.main{
	padding-top: 20px;
}

.intro{
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #EAEAEA;
}

.intro .photo{
	width: 200px;
	height: 200px;
	margin: 40px 0 30px 50px;
	float: right;
}

.intro h1{
	float: left;
	width: 550px;
}

.intro p{
	font-size: 16px;
}

.projects{
	width: 470px;
	float: left;
	margin-right: 50px;
	margin-bottom: 20px;
}

.research{
	width: 280px;
	float: left;
}

.main ul{
	margin-bottom: 30px;	
}

.main li{
	padding-left: 20px;
	line-height: 22px;
	background: url('../images/bullet.png') no-repeat 0 7px;
}

.block{
	padding-bottom: 20px;
	border-bottom: 1px solid #EAEAEA;
	margin-bottom: 20px;
}

.tabs{
	float: left;
	margin-top: 40px;
}

.tabs li{
	display: inline-block;
	height: 30px;
	margin-right: 20px;
	padding: 0;
	background: none;
}

.tabs li a{
	height: 30px;
	line-height: 30px;
	display: inline-block;
	padding: 0 10px;
	background: #f3f3f3;
	border-radius: 3px;
}

.tabs .ui-tabs-active a,
.tabs li a:hover{
	background: #3E629F;
	color: #fff;
}




/*---------------------------------------------------------------------*/
/*--- 05. FOOTER ---*/
/*---------------------------------------------------------------------*/

footer{
	width: 100%;
	height: 100px;
	background: #FAFAFA;
	border-top: 1px solid #EDEDED;
	text-align: center;
}

footer p{
	color: #A1A1A1;
	font-size: 12px;
	padding-top: 32px;
}

footer a{
	color: #777777;
}


/*---------------------------------------------------------------------*/
/*--- 06. RETINA ---*/
/*---------------------------------------------------------------------*/

@media screen and (max-width: 480px) {

	.container{
		width: 100%;
	}
	
	header{
		height: auto;
		padding: 20px 0;
	}
	
	header nav{
		float: none;
		height: auto;
		margin: 0;
		text-align: center;
	}
	
	.logo{
		width: 100%;
		margin: 0 !important;	
	}
	
	.logo a{
		margin: 0 auto;
		opacity: 1;
	}
	
	header nav li{
		margin: 0 15px;
	}
	
	.social{
		margin: 0;
		text-align: center;
		float: none;
	}
	
	.social li{
		margin: 0 5px;
	}
	
	.social li a{
		opacity: 1;
	}
	
	.main{
		padding-top: 30px;
	}
	
	.intro{
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: 1px solid #EAEAEA;
	}
	
	.intro h1{
		float: none;
		width: auto;
		padding: 0 20px;
	}
	
	.intro .photo{
		width: 100%;
		margin: 20px 0 30px 0;
		float: none;
		text-align: center;
	}
	
	.intro p{
		padding: 0 20px;
	}
	
	.projects,
	.research{
		width: 100%;
		float: none;
		margin-right: 0;
		margin-bottom: 0;
	}
	
	.projects h2,
	.projects p,
	.research h2,
	.research p,
	.block h2,
	.block p,
	.block ul{
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.tabs{
		padding-left: 20px;
	}
	
	.projects{
		border-bottom: 1px solid #EAEAEA;
	}
	
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 240dpi) {
       
       	.logo a,
       	.twitter a,
       	.mail a{
            background-image: url('../images/sprites@2x.png');
            -moz-background-size: 100px 100px;
            -o-background-size: 100px 100px;
            -webkit-background-size: 100px 100px;
            background-size: 100px 100px;
        }
        
        .intro .photo{
        	background-image: url('../images/nikolamilikic@2x.png');
        	-moz-background-size: 200px 200px;
        	-o-background-size: 200px 200px;
        	-webkit-background-size: 200px 200px;
        	background-size: 200px 200px;
        }
        
}




