/*
 * Torshov Torg
 *
 * HTML, CSS and code by Incendio, 2011
 * <http://www.incendio.no>
 */

@import "/include/style.css";

body
{
	background: #dddddd;
	font-family: Helvetica,Arial,sans-serif;
	font-size: 0.8em;
	color: black;
	padding: 3em 0;
}

a img, .map1, .map2, map
{
	border: 0 !important;
}

#body
{
	width: 1000px;
	margin: 0 auto;
}

#logo
{
	display: block;
	margin: 0 0 1em;
}

a
{
	color: #336017;
}

.mceContentBody
{
	background: white !important;
	color: black !important;
	line-height: 1.4em !important;
	padding: 1em !important;
}

.super
{
	vertical-align: super;
	font-size: 0.6em;
}

.clear
{
	clear: both;
}

/*
 * Topmenu
 */
#topmenu, #footer
{
	background: #656263;
	color: white;
	line-height: 40px;
	height: 40px;
}

#topmenu
{
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}

#topmenu li
{
	display: inline;
	float: left;
}

#topmenu li a
{
	background: url('/images/gradient.gif') repeat-x top left;
	color: white;
	text-decoration: none;
	text-transform: uppercase;
	text-align: center;
	display: block;
	float: left;
	font-weight: bold;
	font-size: 15px;
}

#topmenu li.page- a {			width: 183px; }
#topmenu li.page-leiligheter a {	width: 165px; }
#topmenu li.page-beliggenhet a {	width: 162px; }
#topmenu li.page-fremdrift a {		width: 148px; }
#topmenu li.page-priser a {		width: 110px; }
#topmenu li.page-kart a {		width: 98px; }
#topmenu li.page-kontakt a {		width: 127px; }

#topmenu li a
{
	border-right: 1px solid #736F70;
}

#topmenu li a:hover
{
	background: url('/images/gradient-hover.gif') repeat-x top left;
	color: black;
}

#topmenu li.active a
{
	background: url('/images/gradient-active.gif') repeat-x top left;
	color: white;
}

#textbody
{
	background: white;
	color: black;
	line-height: 1.4em;
	padding: 2em;
}

#signature
{
	clear: both;
	margin: 2em 0 0;
}

#omprosjektet img
{
	float: left;
}

/*
 * Footer
 */
#footer
{
	text-align: right;
	background: white;
	color: black;
	padding: 0.1em 26px;
	font-weight: bold;
	font-size: 1.1em;
	color: black;
	clear: both;
}

#footer a
{
	color: black !important;
}

/*
 * Apartment chooser
 */
#aptchooser
{
	width: 1000px;
	height: 500px;
	overflow: hidden;
	position: relative;
	background: white url('/images/apt/background.jpg') top center no-repeat;
}

#aptchooser #apartment
{
	width: 100%;
	height: 100%;
}

#aptchooser #overview .infobox
{
	position: absolute;
	right: 55px;
	bottom: 35px;
	top: 45px;
	width: 180px;
	padding: 30px 22px;
	background: white;
	border-radius: 8px;
}

#aptchooser #overview .infobox table
{
	display: none;
}

#aptchooser #buildings .infobox
{
	display: none;
	position: absolute;
	left: 320px;
	top: 29px;
	width: 310px;
	height: 100px;
	background: transparent;
	font-size: 0.7em;
}

#aptchooser #buildings .infobox th
{
	padding-left: 0;
	padding-right: 0.8em;
}

#aptchooser #buildings .infobox th.pad
{
	padding-left: 0.8em;
}

#aptchooser #buildings .infobox td
{
	padding-left: 0.6em;
	padding-right: 0.6em;
}

#aptchooser #apartment .infobox
{
	display: none;
	position: absolute;
	left: 45px;
	bottom: 35px;
	top: 95px;
	width: 210px;
	padding: 30px 22px;
	background: white;
	opacity: 0.95;
	border-radius: 8px;
	display: block;
	left: 700px;
}

#aptchooser .infobox p
{
	white-space: nowrap;
	font-size: 1.3em;
	margin: 1.5em 0;
}

#aptchooser .infobox h2
{
	font-weight: bold;
	font-size: 1.7em;
	margin: 0 0 1em;
}

#aptchooser #buildings .infobox h2
{
	height: 1.2em;
	border-bottom: 1px solid black;
	margin: 0 0 0.6em;
}

#aptchooser #buildings h2 .price
{
	float: right;
}

#aptchooser #buildings h2 .h2
{
	float: left;
}

#aptchooser .infobox table
{
	width: 100%;
	padding: 0;
	margin: 0;
	font-size: 1.4em;
}

#aptchooser .infobox table tr.white th,
#aptchooser .infobox table tr.white td,
#aptchooser .infobox table td.white,
#aptchooser .infobox table th.white
{
	background: white;
}

#aptchooser .infobox table tr.gray th,
#aptchooser .infobox table tr.gray td,
#aptchooser .infobox table td.gray,
#aptchooser .infobox table th.gray
{
	background: #E9E9E9;
}

#aptchooser .infobox table th,
#aptchooser .infobox table td
{
	padding: 0.4em 0.2em;
	margin: 0;
	vertical-align: bottom;
}

#aptchooser .infobox table th
{
	text-align: left;
	font-weight: normal;
}

#aptchooser .infobox table td
{
	text-align: right;
	font-weight: bold;
}

#aptchooser .utilbox
{
	position: absolute;
	right: 45px;
	top: 25px;
	z-index: 10001;
	text-align: right;
}

#aptchooser .utilbox a
{
	color: #434142;
	font-weight: bold;
}

#aptchooser .utilbox a:hover
{
	background: #8CC87C;
}

#aptchooser #buildings #buildinginfo
{
	position: absolute;
	top: 25px;
	left: 45px;
	font-size: 1.3em;
	z-index: 10000;
}

#aptchooser #buildings #buildinginfo h2
{
	font-weight: bold;
	font-size: 1.2em;
	margin: 0;
}

#aptchooser #buildings #buildinginfo div,
#aptchooser .utilbox div
{
	margin: 0.4em 0;
}

#aptchooser .utilbox h3
{
	font-weight: bold;
	font-size: 1.2em;
	text-align: left;
	margin: 0;
}

#aptchooser .utilbox .flip
{
	padding-left: 48px;
	background: transparent url('/images/apt/turnbuilding.png') bottom left no-repeat !important;
	height: 25px;
	line-height: 35px;
	display: block;
	margin-top: -10px;
	margin-left: -48px;
}

#aptchooser #buildings img
{
	position: absolute;
}

#aptchooser #apartment img
{
	position: absolute;
	left: 45px;
	top: 35px;
}

#prices
{
	line-height: 1.2em;
	margin: 0 0 2em;
	width: 100%;
}

#prices th,
#prices td
{
	padding: 0.5em 0;
	text-align: left;
}

#prices th
{
	border-bottom: 1px solid black;
	font-size: 1em;
	font-weight: bold;
	padding-right: 2em;
	text-align: left;
}

#prices td
{
	padding-right: 2em;
}

tr.white
{
	background: none repeat scroll 0 0 white;
}

tr.gray
{
	background: none repeat scroll 0 0 #EBEBEB;
}

tr.hover
{
	background: none repeat scroll 0 0 #B8E29F;
}

td .sold
{
	color: red;
}

#frontpage
{
	position: relative;
}

#frontpage #frontleft
{
	background: #918F90;
	width: 153px;
	padding: 30px 15px 0;
	height: 420px;
	float: left;
	position: relative;
	line-height: 1.5em;
	color: white;
}

#frontpage #frontleft .body
{
	position: absolute;
	bottom: 160px;
	right: 15px;
	left: 15px;
}

#frontpage #frontleft .buttons
{
	position: absolute;
	margin: 0 0 0 -15px;
	bottom: 0;
}

#frontpage #frontleft .buttons a
{
	display: block;
	padding: 0.3em 15px;
	width: 153px;
	margin: 1px 0 0;
	color: black;
	font-weight: bold;
	text-decoration: none;

	/* SWEET! Thanks, http://www.colorzilla.com/gradient-editor */
	background: rgb(132,216,248); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(132,216,248,1) 0%, rgba(175,229,250,1) 50%, rgba(132,216,248,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(132,216,248,1)), color-stop(50%,rgba(175,229,250,1)), color-stop(100%,rgba(132,216,248,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(132,216,248,1) 0%,rgba(175,229,250,1) 50%,rgba(132,216,248,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(132,216,248,1) 0%,rgba(175,229,250,1) 50%,rgba(132,216,248,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(132,216,248,1) 0%,rgba(175,229,250,1) 50%,rgba(132,216,248,1) 100%); /* IE10+ */
	background: linear-gradient(top, rgba(132,216,248,1) 0%,rgba(175,229,250,1) 50%,rgba(132,216,248,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#84d8f8', endColorstr='#84d8f8',GradientType=0 ); /* IE6-9 */
}

#frontpage #frontleft .buttons a:hover
{
	background: rgb(170,227,250); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(170,227,250,1) 0%, rgba(199,236,251,1) 50%, rgba(170,227,250,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(170,227,250,1)), color-stop(50%,rgba(199,236,251,1)), color-stop(100%,rgba(170,227,250,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(170,227,250,1) 0%,rgba(199,236,251,1) 50%,rgba(170,227,250,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(170,227,250,1) 0%,rgba(199,236,251,1) 50%,rgba(170,227,250,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(170,227,250,1) 0%,rgba(199,236,251,1) 50%,rgba(170,227,250,1) 100%); /* IE10+ */
	background: linear-gradient(top, rgba(170,227,250,1) 0%,rgba(199,236,251,1) 50%,rgba(170,227,250,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aae3fa', endColorstr='#aae3fa',GradientType=0 ); /* IE6-9 */
}

#frontpage #frontright
{
	width: 817px;
	height: 450px;
	float: right;
	overflow: hidden;
	position: relative;
}

#frontpage #frontright h1
{
	position: absolute;
	color: white;
	margin: 0;
	top: 0.2em;
	left: 0.5em;
	text-shadow: 2px 2px 5px #2F5D92;
	font-size: 4em;
	font-weight: normal;
}

#frontpage p
{
	margin: 0;
}

#frontpage #frontsun
{
	position: absolute;
	z-index: 10000;
	right: 20px;
	top: 210px;
}

.contact .body
{
	width: 20em;
}

.contact .cbox
{
	margin-top: -3.5em;
	width: 250px;
	float: right;
	margin-right: 350px;
}

.contact form label
{
	display: block;
	margin: 0.5em 0 0.2em;
}

.contact form textarea
{
	display: block;
	width: 43em;
	height: 15em;
}

.contact #submit-div
{
	margin: 1.5em 0;
}

iframe
{
	border: 0;
}

