/* @override http://templates.jonnotie.nl/iphone/stylesheets/main.css */

* {
	margin: 0;
	padding: 0;
}

html, body {
	background-image: url(../images/basics/bg.png);
	background-color: #262b2f;
}

body {
	color: #a7abb0;
	font: 12px/18px "Lucida Grande", Lucida, "Lucida Grande Unicode", Verdana, sans-serif;
	text-shadow: rgba(0,0,0,0.41) 0 -1px 1px;
}

p {
	margin-bottom: 18px;
}

img {
	border-style: none;
	border-width: 0;
	vertical-align: bottom;
}

ul, ol {
	
}

h1, h2, h3, h4 {
	font-size: 12px;
	line-height: 18px;
	font-style: normal;
	font-weight: normal;
}

a:link, a:visited {
	text-decoration: underline;
	outline: 0;
	color: #a7abb0;
}

a:link:hover, a:visited:hover {
	text-decoration: none;
	color: #fff;
}

a:link:active, a:visited:active {
	text-decoration: none;
}

/* @group basics */

#wrapper {
	width: 894px;
	margin: 0 auto;
}

/* @group columns */

.row {
	overflow: hidden;
/*	width: 690px; */
	width: 500px; 
	margin-bottom: 18px;
	float: left;
}

.column {
	float: left;
	margin-right: 26px;
	width: 474px;
	overflow: hidden;
	position: relative;
}

.column.six {
	width: 474px;
}

.column.six .row {
	width: 480px;
}

.column.three {
	width: 224px;
}

.column.three .row {
	width: 250px;
}

.column.four {
	width: 294px;
}

.column.four .row {
	width: 324px;
}

.column.two {
	width: 134px;
}

.column.two .row {
	width: 160px;
}

.column.oneandahalf {
	width: 94px;
}

.column.oneandahalf .row {
	width: 120px;
}
.column.middle {
	width: 224px;
}
.column.middle ul li {
	margin-top: 15px;
}


/* @end */

/* @group links */

.link {
	position: relative;
	width: 94px;
	height: 95px;
	display: block;
/*	text-indent: -9999px; 
	text-indent: 8px; */
	text-align: center;
	overflow: hidden;
		z-index: 1;
	cursor: pointer;
}

a.link{
text-decoration:none;
}

.link.left {
	float: left;
	margin-right: 14px;
	margin-bottom: 18px;
}

.link.right {
	float: right;
	margin-bottom: 18px;
	margin-left: 14px;
}

.link .img {
	display: block;
	width: 94px;
	height: 95px;
	overflow: hidden;
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	background-image: url(../images/basics/links/link-oneandahalf.png);  
		cursor: pointer; 
}

.link img {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 86px;
}

/* --- */

.link:hover .img {
	background-position: 0 -95px;
}

.link:active .img {
}

/* --- */

.link.wide {
	width: 214px;
	cursor: pointer;
}

.link.wide .img {
	width: 214px;
	background-image: url(../images/basics/links/link-three.png);
		cursor: pointer;

}

.link.wide img {
	width: 206px;
}



/* @end */


/* @group essentials */

/* @group header */

#header {
	height: 125px;
	padding-top: 50px;
	position: relative;
}

/* @group title */

#title {
	height: 99px;
	padding: 26px 402px 0 31px;
	position: relative;
	background: url(../images/essentials/header/title/bg.png) no-repeat 0 bottom;
	width: 461px;
	<!-- the padding 2nd and 4th digit are the width.  It was originally 	padding: 26px 52px 0 381px;-->
}

#title h1 {
	font-size: 24px;
	padding-top: 35px;
/*	background: url(../images/essentials/header/title/icon.png) no-repeat 0 21px; */
	height: 63px;
	padding-left: 0px;
	line-height: 30px;
	color: #fff;
}

#title a {
	height: 41px;
	position: absolute;
	top: 60px;
	right: 52px;
	background-image: url(../images/essentials/header/title/price-left.png);
	font-size: 18px;
	text-decoration: none;
	font-weight: bold;
	display: block;
	padding-left: 10px;
	line-height: 40px;
	background-color: #4e9430;
	color: #fff;
	margin-right: 3px;
}

#title a span {
	height: 41px;
	background: url(../images/essentials/header/title/price-right.png) no-repeat right 0;
	display: inline-block;
	cursor: pointer;
	padding-right: 10px;
}

#title a:hover {
	background-position: 0 -41px;
}

#title a:hover span {
	background-position: right -41px;
}

#title a:active {
	background-position: 0 -82px;
}

#title a:active span {
	background-position: right -82px;
}

/* --- */

.mirror #title {
	background: url(../images/essentials/header/title/bg-mirrored.png) no-repeat 0 bottom;
	padding: 26px 50px 0 51px;
	width: 793px;
}

.mirror #title a {
	right: 381px;
	top: 60px;
	position: absolute;
	display: block;
}



/* @end */

/* @group navigation */

#navigation {
	height: 31px;
	list-style-type: none;
	position: absolute;
	z-index: 1;
	overflow: hidden;
	left: 383px;
	top: 50px;
	padding-right: 50px;
}

#navigation li {
	height: 31px;
	float: left;
	margin-right: -11px;
}

#navigation li a {
	float: left;
	text-decoration: none;
	background: url(../images/essentials/header/navigation/left.png) no-repeat 3px 0;
	height: 29px;
	padding-left: 15px;
	margin-right: 22px;
	display: inline;
}

#navigation li a span {
	height: 23px;
	background: url(../images/essentials/header/navigation/right.png) no-repeat right 0;
	margin-right: -25px;
	padding-right: 25px;
	position: relative;
	z-index: 1;
	cursor: pointer;
	display: block;
	float: left;
	padding-top: 6px;
	white-space: nowrap;
}

/* --- */

#navigation li a:hover {
	position: relative;
	z-index: 1;
	background: url(../images/essentials/header/navigation/left-current.png) no-repeat 0 0;
	height: 29px;
}

#navigation li a:hover span {
	height: 23px;
	background-image: url(../images/essentials/header/navigation/right-current.png);
}

/* --- */

#navigation li a:active {
	position: relative;
	z-index: 1;
	background: url(../images/essentials/header/navigation/left-current.png) no-repeat 0 1px;
	height: 29px;
}

#navigation li a:active span {
	height: 22px;
	background: url(../images/essentials/header/navigation/right-current.png) no-repeat right 1px;
	padding-top: 7px;
}

/* --- */

#navigation li.current a {
	position: relative;
	z-index: 2;
	height: 31px;
	background: url(../images/essentials/header/navigation/left-current.png) 0 0;
	color: #fff;
}

#navigation li.current a span {
	height: 25px;
	background: url(../images/essentials/header/navigation/right-current.png) no-repeat right 0;
	padding-top: 6px;
}

#navigation li.current a:hover {
	background-position: 0 0;
	height: 31px;
}

#navigation li.current a:hover span {
	height: 25px;
}

/* --- */

.mirror #navigation {
	right: 383px;
	top: 122px;
	left: 52px;
}



/* @end */



/* @end */

/* @group main */

#main {
	background-image: url(../images/essentials/main/bg.png);
	position: relative;
	min-height:390px;
  	height:auto !important;
  	height:390px;
}

/* @group content */

#content {
	background: url(../images/essentials/main/content/bg.png) repeat-x;
/*	width: 461px; */
	width: 832px;
/*	width: 100%; */
/*	width: 454px; */
	overflow: hidden;
/*	padding: 27px 402px 1px 31px; */
	padding: 27px 31px 1px 31px;
	margin-bottom: -20px;
	<!-- originally was the right column with padding: 27px 55px 1px 385px; -->
}

#content abbr {
	border-bottom: 1px dotted #656c73;
	cursor: help;
}

#content abbr:hover {
	color: #fff;
}

#content h2 {
	margin-bottom: 9px;
	color: #fff;
	font-weight: bold;
}

#content ul {
	margin-bottom: 18px;
	width: 100%;
}

#content ol {
	margin-bottom: 18px;
	width: 100%;
}

#content ul li {
	list-style-type: none;
	background: url(../images/basics/li.png) no-repeat 0 8px;
	padding-left: 15px;
}

#content ol li {
	list-style-type: none;
	background: url(../images/basics/li.png) no-repeat 0 8px;
	padding-left: 15px;
}

/* --- */

.mirror #content {
	padding: 30px 385px 1px 55px;
}



/* @end */



/* @end */

/* @group footer */

#footer {
	padding-top: 30px;
	background: url(../images/essentials/footer/bg.png) no-repeat;
	text-align: center;
	position: relative;
	z-index: 1;
}



/* @end */



/* @end */

/* @group columns */

.rowright {
	overflow: hidden;
/*	width: 690px; */
	width: 310px; 
	margin-bottom: 18px;
	float: right;
}

.columnright {
	float: right;
/*	margin-left: 26px; */
	width: 284 px;
	overflow: hidden;
	position: relative;
}

.columnright ul li {
	margin-top: 15px;
}

.columnright.sixright {
	width: 284px;
}

.columnright.sixright .rowright {
	width: 310px;
}
/* @end */


/* @ picture of me */

.me {
	position: relative;
	width: 282px;
	height: 284px;
/*	height: 188px;  this was the height for the old me.jpg. The new one works with 341, but i lowered it to ... */
	display: block;
	text-indent: -9999px;
	overflow: hidden;
	z-index: 1;
	cursor: pointer;
}

.me.left {
	float: left;
	margin-right: 14px;
	margin-bottom: 18px;
}

.me.right {
	float: right;
	margin-bottom: 18px;
	margin-left: 14px;
}

.me .imgme {
	display: block;
	width: 282px;
/*	height: 188px; (original me.jpg */
	height: 284px;
	overflow: hidden;
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	background-image: url(../images/basics/links/link-oneandahalf.png);
		cursor: pointer;
		background-size: 33.33333%;

}

.me img {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 282px;
}



/* --- */

.me:hover .img {
	background-position: 0 -95px;
}

.me:active .img {
	background-position: 0 -190px;
}

/* --- */

.me.wide {
	width: 214px;
	cursor: pointer;
}

.me.wide .img {
	width: 214px;
	background-image: url(../images/basics/links/link-three.png);
		cursor: pointer;

}

.me.wide img {
	width: 206px;
}

/* @end */


/* @group QIST */

.QIST {
        position: relative; 
        width: 482px;
	height: auto;
        display: block;
        overflow: hidden;
        z-index: 1;
        cursor: pointer;
}
.QIST img {
        position: relative;
        top: 4px;
        left: 4px;
        width: 482px;
	height: auto;
}






/* @group news */

.newsitem {
	overflow: hidden;
/*	width: 690px; */
	width: 894px; 
	margin-bottom: 18px;
	float: left;
/*	text-align: justify;*/

}

.newscolumn {
	float: right;
	margin-left: 26px; 
	width: 284 px;
	overflow: hidden;
	position: relative;
	border-style:solid;
	border-width:medium;
}

.newscolumn ul li {
	margin-top: 15px;
}

.newscolumn h2 {
	text-align: center;
}

.newscolumn.sixright {
	width: 284px;
}

.newscolumn.sixright .newsrow {
	width: 310px;
}
/* @end */

/* @ hovering info group
the command is <a class="info" href="#">link<span>text to hover</span></a> */

a.info{
    position:relative; /*this is the key*/
    z-index:24; 
/*    background-color:#ccc;
    color:#000; 
    text-decoration:none
*/
}
a.info:hover{z-index:25; 
/*background-color:#a7abb0 */
}

a.info span{display: none}

a.info:hover span{ /*the span will display just on :hover state*/
    display:block;
    position:absolute;
    display: inline; 
    padding: 10px 10px;
  	 left:-200; width:280px; 
/*     top:4px; left: -200px; width:280px; */
/*    top:4px; left:4px; width:180px; */
/*    background-image: url(../images/basics/bg.png); */
	 background-color: #262b2f; 
/*	 background-color: #a7abb0; */
    border: 3px solid #a7abb0; 
/*    background-color:#cff; color:#000; */
    text-align: justify;
    overflow: visible;
    }
    
a.info span img{
	text-align: center; 
	width:240px;
	}   

img.newsimage {
	border:3px solid black;
	margin: 5px 5px;
	margin-right: 10px;
	} 

/* @ end */


/* Form */
.myform {
    margin: 20px; /* Adjusts space around the form */
    padding: 20px; /* Adjusts space inside the form, around the elements */
    position: relative; /* Allows for positioning adjustments if needed */
}


/* I tried to make a floating tweet with tex which wraps but it didn't work... 
#container{
	width: 400px;
}
#floated{
	float: left;
	width: 150px;
} */
