/*        Less Framework 4 with 16/24 type presets
        http://lessframework.com
        by Joni Korpi
        License: http://opensource.org/licenses/mit-license.php        */



/*        Resets
        ------        */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, 
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, 
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup, 
menu, footer, header, nav, section, summary, time, mark, audio, video {
        margin: 0;
        padding: 0;
        border: 0;
}

article, aside, canvas, figure, figure img, figcaption, hgroup,
footer, header, nav, section, audio, video {
        display: block;
}

a img {border: 0;}



/*        Typography presets
        ------------------        */

.gigantic {
        font-size: 110px;
        line-height: 120px;
        letter-spacing: -2px;
}

.huge, h1 {
        font-size: 68px;
        line-height: 72px;
        letter-spacing: -1px;
}

.large, h2 {
        font-size: 42px;
        line-height: 48px;
}

.bigger, h3 {
        font-size: 26px;
        line-height: 36px;
}

.big, h4 {
        font-size: 22px;
        line-height: 30px;
}

body {
        font: 16px/24px Georgia, serif;
}

.small, small {
        font-size: 13px;
        line-height: 18px;
}

/* Selection colours (easy to forget) */

::selection                  {background: rgb(255,255,158);}
::-moz-selection         {background: rgb(255,255,158);}
img::selection                 {background: transparent;}
img::-moz-selection        {background: transparent;}
body {-webkit-tap-highlight-color: rgb(255,255,158);}



/*                Default Layout: 992px. 
                Gutters: 24px.
                Outer margins: 48px.
                Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

html{
	height: 100%;
}

body {
	width: 97.5%;
	height:100%;
	background-image: url(../images/background.jpg);
	-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
	font-family: 'DroidSans', Fallback, sans-serif;
	margin: 0 auto;
	border-right: 20px solid #049CBE;
	border-left: 20px solid #049CBE;
	overflow:visible;
}

@font-face{
	font-family: 'DroidSans';
	src:url(../fonts/DroidSans.ttf);
}

@font-face{
	font-family: 'EquipLight';
	src:url(../fonts/EquipLig.otf);
}

#container {
	position:relative;
	width:70%;
/*	height:100%;
	margin: 0 auto -24px;*/
	overflow:visible;
	/*padding-bottom:24px;*/
	/*border: 1px solid black;*/
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -4em;
}

header{
	position:relative;
	height: 110px;
	width:100%;
	float:left;
	overflow:visible;
}

#horizontalLine{
	height:5px;
	background-image:url(../images/underline.png);
	margin-top:-0;
}

#logo{
	margin-left:auto;
	margin-right:auto;
	margin-top:-78px;
}

nav#mainNav {
	margin-top: 10px;
}

nav#mainNav ul li {
	list-style-type:none;
	float: left;
	padding:4px 12px 4px 12px;
	margin-right: 12px;
	font-family:'DroidSans';
}


nav#mainNav ul li.active{
	background-color:#C3C3C3;
	width:auto;
	height:25px;
}


nav#mainNav ul li:hover {
	background-color: #049dbf;
	width:auto;
	height:25px;
}



nav#mainNav ul li:active {
	background-color:#049dbf;	
}

nav#mainNav ul li a {
	color: #4D4D4D;
	text-decoration: none;
	font-family: 'DroidSans';
	font-size:13px;
}

nav#mainNav2 {
	margin-top:-90px;
	float:right;
	vertical-align:middle;
}


nav#mainNav2 ul li {
	list-style-type:none;
	float: left;
	padding:4px 12px 4px 12px;
}

#search {
	color:#4D4D4D;
	border:0px !important; /*important*/
	background-color:transparent; /*important*/
	font-family: 'DroidSans';
	font-size:13px;
	margin-top:8px;
}

#aboutme{
	float: left;
	width: 18%;
	height:150px;
	margin-top:30px;
}

#content1{
	width: 60%;
	margin-top:70px;
	margin-left:15px;
	display:inline-block;
}

h5.aboutme1{
	font-size:15px;
	font-family: 'DroidSans';
	font-weight:normal;
	color:#049CBE;
}

h6.aboutme2{
	font-size:13px;
	font-family: 'DroidSans';
	font-weight:normal;
	color:#4D4D4D;
	padding-top: 10px;
	margin-bottom:40px;
}

#technicalskills{
	float: left;
	width: 18%;
	height:350px;
}

#content2{
	width: 35%;
	margin-top:50px;
	margin-left:15px;
	display:inline-block;
	padding-bottom:24px;
}

.tech{
	display:inline-block;
	margin: 0 40px 35px 0;
}

#resume {
	border:0px !important; /*important*/
	font-family: 'DroidSans';
	font-size:13px;
	margin-bottom:12px;
	width:119px;
	height:33px;
	background-image:url(../images/resume.png);
	background-repeat:no-repeat;
	color:#4d4d4d;
}

input[type="submit"]:hover{
	background-color: #049dbf;
}

/*footer {
	position:absolute;
	z-index:1;
	width: 100%;
	height:24px;
	background-color:#AAAAAA;
	color:#FFF;
	font-family: 'DroidSans';
	font-size:11px;
	vertical-align:middle;
	display:block;
	margin: 0 auto;
	bottom: 25;
	top:55;
}*/

.push{
	height: 90px; /* '.push' must be the same height as 'footer' */
}

footer {
    height: 24px; /* Define height of the footer */
    position: absolute;
    bottom: 65px; /* Sit it on the bottom */
    left: auto;
	right: auto;
    width: 100%; /* As wide as it's allowed */
	background-color:#AAAAAA;
	color:#FFF;
	font-family: 'DroidSans';
	font-size:11px;
	vertical-align:middle;
}





/*                Tablet Layout: 768px.
                Gutters: 24px.
                Outer margins: 28px.
                Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px) {
        
body {
	width: 768px;
	height:98%;
	background-image: url(../images/background.jpg);
	-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
	font-family: 'DroidSans', Fallback, sans-serif;
	margin: 0 auto;
	border-right: 20px solid #049CBE;
	border-left: 20px solid #049CBE;
	overflow:visible;
}

@font-face{
	font-family: 'DroidSans';
	src:url(../fonts/DroidSans.ttf);
}

@font-face{
	font-family: 'EquipLight';
	src:url(../fonts/EquipLig.otf);
}

#container {
	position:relative;
	width:600px;
	height:100%;
	margin: 0 auto;
	overflow:auto;
	padding-bottom:24px;
}

header{
	position:relative;
	height: 110px;
	width:100%;
	float:left;
	overflow:visible;
}

#horizontalLine{
	height:5px;
	background-image:url(../images/underline.png);
	margin-top:-0;
}

#logo{
	margin-left:50px;
	margin-right:auto;
	margin-top:-78px;
}

nav#mainNav {
	margin-top: 10px;
}

nav#mainNav ul li {
	list-style-type:none;
	float: left;
	padding:4px 12px 4px 12px;
	margin-right: 12px;
	font-family:'DroidSans';
}


nav#mainNav ul li.active{
	background-color:#C3C3C3;
	width:auto;
	height:25px;
}


nav#mainNav ul li:hover {
	background-color: #049dbf;
	width:auto;
	height:25px;
}

nav#mainNav ul li:active {
	background-color:#049dbf;	
}

nav#mainNav ul li a {
	color: #4D4D4D;
	text-decoration: none;
	font-family: 'DroidSans';
	font-size:13px;
}

nav#mainNav2 {
	margin-top:-90px;
	float:right;
	vertical-align:middle;
}

nav#mainNav2 ul li {
	list-style-type:none;
	float: left;
	padding:4px 12px 4px 12px;
}

#search {
	color:#4D4D4D;
	border:0px !important; /*important*/
	background-color:transparent; /*important*/
	font-family: 'DroidSans';
	font-size:13px;
	margin-top:8px;
}

#aboutme{
	float: left;
	width: 18%;
	height:150px;
	margin-top:30px;
}

#content1{
	width: 450px;
	margin-top:70px;
	margin-left:15px;
	display:inline-block;
}

h5.aboutme1{
	font-size:15px;
	font-family: 'DroidSans';
	font-weight:normal;
	color:#049CBE;
}

h6.aboutme2{
	font-size:13px;
	font-family: 'DroidSans';
	font-weight:normal;
	color:#4D4D4D;
	padding-top: 10px;
	margin-bottom:40px;
}

#technicalskills{
	float: left;
	width: 18%;
	height:350px;
}

#content2{
	width: 50%;
	margin-top:50px;
	margin-left:15px;
	display:inline-block;
}

.tech{
	display:inline-block;
	margin: 0 40px 35px 0;
}

#resume {
	border:0px !important; /*important*/
	font-family: 'DroidSans';
	font-size:13px;
	margin-bottom:12px;
	width:119px;
	height:33px;
	background-image:url(../images/resume.png);
	background-repeat:no-repeat;
	color:#4d4d4d;
}

input[type="submit"]:hover{
	background-color: #049dbf;
}

}



/*                Mobile Layout: 320px.
                Gutters: 24px.
                Outer margins: 34px.
                Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

@media only screen and (max-width: 767px) {
  
html{
	height: 100%;
}        
      	
body {
	width: 320px;
	height:auto;
	background-image: url(../images/background.jpg);
	-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
	font-family: 'DroidSans', Fallback, sans-serif;
	margin: 0 auto;
	border-right: 20px solid #049CBE;
	border-left: 20px solid #049CBE;
	overflow:visible;
}

@font-face{
	font-family: 'DroidSans';
	src:url(../fonts/DroidSans.ttf);
}

@font-face{
	font-family: 'EquipLight';
	src:url(../fonts/EquipLig.otf);
}

/*#container {
	position:relative;
	width:275px;
	height:100%;
	margin: 0 auto;
	overflow:auto;
	padding-bottom:24px;
	border:1px solid black;
}*/

#container {
	position:relative;
	width:275px;
/*	height:100%;
	margin: 0 auto -24px;*/
	overflow:visible;
	/*padding-bottom:24px;*/
	/*border: 1px solid black;*/
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -4em;
}


header{
	position:relative;
	height: 110px;
	width:260px;
	margin:0 0 0 5px;
}

#logo{
	margin-left:auto;
	margin-right:auto;
	margin-top:-165px;
}

#horizontalLine{
	height:5px;
	background-image:url(../images/underline.png);
	margin-top:75px;
	margin-left: auto;
	margin-right: auto;
	width:240px;
	
}

nav#mainNav {
	/*margin-top: 10px;*/
	margin:95px 0 0 10px;
	/*border:1px solid black;*/
	width:250px;
	height:40px;
	overflow:hidden;
}

nav#mainNav ul li {
	list-style-type:none;
	float: left;
	padding:4px 12px 4px 12px;
/*	margin-right: 12px;*/
	font-family:'DroidSans';
}


nav#mainNav ul li.active{
	background-color:#C3C3C3;
	width:auto;
	height:25px;
}


nav#mainNav ul li:hover {
	background-color: #049dbf;
	width:auto;
	height:25px;
}



nav#mainNav ul li:active {
	background-color:#049dbf;	
}

nav#mainNav ul li a {
	color: #4D4D4D;
	text-decoration: none;
	font-family: 'DroidSans';
	font-size:13px;
}

nav#mainNav2 {
	position:relative;
	margin:35px auto auto 5px;
	float:left;
	vertical-align:middle;
	/*border:1px solid black;*/
	width:250px;
	height:40px;
	overflow:visible;
}


nav#mainNav2 ul li {
	list-style-type:none;
	float: left;
	margin-top:-22px;
	margin-left:23px;
}

#verticalbar1{
	margin-left:0px;
	/*border:1px solid black;*/
}

#verticalbar2{
	margin-left:-40px;
	margin-top:-75px;
}

#search {
	color:#4D4D4D;
	border:0px !important; /*important*/
	background-color:#dddddd; /*important*/
	font-family: 'DroidSans';
	font-size:13px;
	width:210px;
	margin-left:-17px;
	margin-top:25px;
}
#aboutme{
	float: left;
	width: 195px;
	height:60px;
	margin-top:100px;
}

#content1{
	width: 230px;
	margin-top:-20px;
	margin-left:15px;
	display:inline-block;
	height:50px;
}

h5.label{
	float:left;
	width:100px;
	font-size:15px;
	font-family: 'DroidSans';
	font-weight:normal;
	color:#049CBE;
}

h6.info{
	width:110px;
/*	float:left;*/
	font-size:13px;
	font-family: 'DroidSans';
	font-weight:normal;
	color:#4D4D4D;
	/*margin-bottom:10px;*/
	margin-left: 100px;
/*	border: 1px solid black;*/
	text-decoration:none;
}

h6.info a{
	font-size:13px;
	font-family: 'DroidSans';
	font-weight:normal;
	color:#4D4D4D;
	/*margin-bottom:10px;*/
/*	border: 1px solid black;*/
	text-decoration:none;
}

#technicalskills{
	float: left;
	width: 195px;
	height:60px;
	margin-top:360px;
}

#content2{
	width: 250px;
	margin-top:-20px;
	display:inline-block;
	margin-left:15px;
/*	border: 1px solid black;*/
}

input[type="submit"]:hover{
	background-color: #049dbf;
}


.push{
	height: 90px; /* '.push' must be the same height as 'footer' */
}

footer {
    height: 24px; /* Define height of the footer */
    position: absolute;
    bottom: 65px; /* Sit it on the bottom */
    left: auto;
	right: auto;
    width: 100%; /* As wide as it's allowed */
	background-color:#AAAAAA;
	color:#FFF;
	font-family: 'DroidSans';
	font-size:11px;
	vertical-align:middle;
}
        
}



/*                Wide Mobile Layout: 480px.
                Gutters: 24px.
                Outer margins: 22px.
                Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

@media only screen and (min-width: 480px) and (max-width: 767px) {
        
        body {
                width: 436px;
                padding: 36px 22px 48px;
        }

}


/*        Retina media query.
        Overrides styles for devices with a 
        device-pixel-ratio of 2+, such as iPhone 4.
-----------------------------------------------    */

@media 
        only screen and (-webkit-min-device-pixel-ratio: 2),
        only screen and (min-device-pixel-ratio: 2) {
        
        body {
        
        }
        
}
