body,h1,h2,h3,p,small,form,input,ul,li,ol,label{
	/* Page reset */
	margin:0px;
	padding:0px;
}

body{
	/* Setting default text color, background and a font stack */
	color:#444444;
	font-size:10pt;
	line-height: 14pt;
	background: #f2f2f2;
	font-family:Arial, Helvetica, sans-serif;
}

#footer{
    margin-bottom: 60px;
}
/* The portfolio thumbnails */

#portfoliothumbs{
    margin-top: 20px;
    margin-left: 60px;
    text-align:left;
    width:500px;
}

/* Gallery styles */

#gallery{
	margin-top: 20px;
	margin-left: 60px;
    text-align:center;
    font-size: 8pt;
    line-height: 10pt;
	/* CSS3 Box Shadow */
	-moz-box-shadow:0 0 3px #AAAAAA;
	-webkit-box-shadow:0 0 3px #AAAAAA;
	box-shadow:0 0 3px #AAAAAA;
	
	/* CSS3 Rounded Corners */
	
	-moz-border-radius-bottomleft:4px;
	-webkit-border-bottom-left-radius:4px;
	border-bottom-left-radius:4px;
	
	-moz-border-radius-bottomright:4px;
	-webkit-border-bottom-right-radius:4px;
	border-bottom-right-radius:4px;
	
	border:1px solid white;
	
	background:url(img/panel.jpg) repeat-x bottom center #ffffff;
	
	/* The width of the gallery */
	width:500px;
	overflow:hidden;
}

#galleryportfolio{
    /* CSS3 Box Shadow */
    -moz-box-shadow:0 0 3px #AAAAAA;
    -webkit-box-shadow:0 0 3px #AAAAAA;
    box-shadow:0 0 3px #AAAAAA;

    /* CSS3 Rounded Corners */

    -moz-border-radius-bottomleft:4px;
    -webkit-border-bottom-left-radius:4px;
    border-bottom-left-radius:4px;

    -moz-border-radius-bottomright:4px;
    -webkit-border-bottom-right-radius:4px;
    border-bottom-right-radius:4px;

    border:1px solid white;

    background: #ffffff;

    /* The width of the gallery */
    width:500px;
    overflow:hidden;
}

td.galleryportfolio{
    padding: 5px;
    width: 166px;
}

#slides{
	/* This is the slide area */
	height:420px;
	
	/* jQuery changes the width later on to the sum of the widths of all the slides. */
	width:500px;
	overflow:hidden;
}

.slide{
	float:left;
}

#menu{
	/* This is the container for the thumbnails */
	height:45px;
}

ul{
	margin:0px;
	padding:0px;
}

li{
	/* Every thumbnail is a li element */
	width:60px;
	display:inline-block;
	list-style:none;
	height:45px;
	overflow:hidden;
}

li.inact:hover{
	/* The inactive state, highlighted on mouse over */
	background:url(img/pic_bg.png) repeat;
}

li.act,li.act:hover{
	/* The active state of the thumb */
	background:url(img/active_bg.png) no-repeat;
}

li.act a{
	cursor:default;
}

.fbar{
	/* The left-most vertical bar, next to the first thumbnail */
	width:2px;
	background:url(img/divider.png) no-repeat right;
}

li a{
	display:block;
	background:url(img/divider.png) no-repeat right;
	height:35px;
	padding-top:10px;
}

a img{
	border:none;
}


#wholepage{
		text-align:center;
}

#main{
	/* The main container */
	margin:auto;
	text-align:center;
	width:1024px;
	position:relative;
	left:30px;
}

#topbar{
	/* The top container */
	margin:0px;
	text-align:left;
	width:1024px;
	position:relative;
	left:0px;
}

#quote{
	/* The quote container */
	text-align:left;
	position:relative;
	padding-top:10px;
	left:-60px;
}

#rightstuff{
	/* The right container */
	text-align:left;
	vertical-align: middle;
	width:400px;
	position:absolute;
	left:630px;
	top:63px;
}

#leftstuff{
	/* The right container */
	text-align:left;
	line-height: 14pt;
	width:420px;
	position:relative;
	left:58px;
	top:20px;
}

#textfield{
	/* The text field */
	text-align:left;
	position:relative;
	width:350px;
	padding-top:10px;
	line-height: 14pt;
	font-size: 9pt;		
}
a, a:visited {
	color:#0196e3;
	text-decoration:none;
	outline:none;
}

a:hover{
	text-decoration:underline;
}

p{
	padding-bottom:10px;
	text-align:left;
}
/*table style*/

.maintable
{
    font-size: 9pt;
    border-collapse:collapse;
}
.maintable td
{
    line-height: 10pt;
    text-align: left;
    vertical-align: top;
    font-size: 8pt;
    font-family: tinos, tahoma, arial, sans-serif;
    padding-right:5px;
    padding-bottom:10px;
    width:33%;
}
.maintable th
{
    font-style:normal;
    line-height: 2pt;
    text-align: left;
    font-size: 20pt;
    font-family: Tinos, Georgia, "Times New Roman", Times, serif;
    font-weight: 100;
    padding-top:20px;
    padding-bottom:20px;
    background-color: white;
    color:gray
}
