﻿/* ===================================== Generic ===================================== */
html {
	height: 100%;
}

img {
	border: 0;
}

br.breaker {
	clear: both;
}

div.fileDialog {
	display: none;
}

table th, table td {
	vertical-align: top;
}

.fLeft {
	float: left;
	margin-right: 2px;
	white-space: nowrap;
}

.fRight {
	float: right;
	margin-left: 2px;
	white-space: nowrap;
}

div.breaker {
	background: transparent !important;
	border: 0px !important;
	clear: both !important;
	height: 1px !important;
}

/* ===================================== Administration styles ===================================== */
#AdministrationP {
	background: url(../Images/16px50percentblack.png);
	height: 30px;
	left: 0px;
	position: fixed;
	top: 0px;
	width: 100%;
	z-index: 100;
}

#AdministratorPSpaceP {
	height: 30px;
}

#AdministrationP ul.horizontalMenu {
	background: none;
	display: block;
	float: left;
	margin: 0 5px;
	padding: 0;
	position: relative;
	right: 0;
	width: auto;
}

#AdministrationP ul.horizontalMenu li {
	float: left;
	left: 0;
	list-style: none;
	margin: 0;
	position: relative;
}

#AdministrationP ul.horizontalMenu li a {
	background: none;
	border-bottom: 0 none;
	border-top: 0 none;
	cursor: pointer;
	display: block;
	font: bold 11px/20px Arial, Sans-Serif;
	padding: 5px 10px;
	text-decoration: none;
	text-transform: uppercase;
}

#AdministrationP ul.horizontalMenu li a, ul.horizontalMenu li a:link, ul.horizontalMenu li a:visited, ul.horizontalMenu li a:active, ul.horizontalMenu li a:hover {
	color: #FFFFFF;
}

#AdministrationP ul.horizontalMenu a.selected {
	background: url(../Images/16px50percentblack.png);
	border-bottom: 0 none;
	border-top: 0 none;
}

#AdministrationP ul.horizontalMenu a.hover, ul.horizontalMenu a.selectedhover {
	background: url(../Images/16px50percentblack.png);
	border-bottom: 0 none;
	border-top: 0 none;
}

#AdministrationP ul.horizontalMenu ul {
	display: none;
	margin: 0;
	padding: 0;
	position: absolute;
	z-index: 1000;
}

#AdministrationP ul.horizontalMenu ul li {
	background: url(../Images/16px50percentblack.png);
	list-style: none;
	margin: 0;
}

#AdministrationP ul.horizontalMenu ul li a {
	background: #url(../Images/16px50percentblack.png);
	border: 0;
	color: #FFFFFF;
	cursor: pointer;
	display: block;
	font: bold 11px Arial, Sans-Serif;
	padding: 5px 10px;
	text-decoration: none;
	text-transform: uppercase;
	width: 200px;
}

#AdministrationP ul.horizontalMenu ul li a.selected {
	background: url(../Images/16px50percentblack.png);
	border: 0;
}

#AdministrationP ul.horizontalMenu ul li a.hover {
	background: url(../Images/16px50percentblack.png);
	border: 0;
}

/* ===================================== MagicBox styles ===================================== */
.blackBox {
	background: transparent url(../Images/16px50percentblack.png);
	left: 0px;
	min-height: 100%;
	position: fixed;
	text-align: left;
	top: 0px;
	width: 100%;
	z-index: 10000;
}

.innerBlackBox {
	background: transparent url(../Images/16px50percentblack.png);
	border-radius: 10px;
	margin: auto;
	position: relative;
	width: 580px;
}

.magicBoxOuter {
	padding: 10px;
}

.magicBoxInner {
	background: #FFFFFF;
	border-radius: 5px;
	overflow: auto;
	padding: 10px;
}

.magicBoxInner .top {
	font-size: 0px;
	height: 0px;
	line-height: 0px;
}

.magicBoxInner .trc {
	float: right;
}

.magicBoxInner img.closeButton {
	cursor: pointer;
	float: right;
}

.magicBoxInner div.content {
	margin: 0;
}

/* ===================================== Message styles ===================================== */
h1.messagesHeader {
	font: 18px/24px arial;
}

div.message {
	background: #ffffff;
	border-top: 2px solid #f0f0f0;
	clear: both;
	margin-top: 5px;
	padding-top: 5px;
}

div.commands {
}

div.sender {
	float: left;
	margin: 0 10px 0 0;
	width: 80%;
}

div.content {
	clear: both;
	margin-top: 12px;
}

img.messageImage {
	float: left;
	margin-right: 5px;
}

div.messageSent {
	background: #ffffff;
	font: 9px arial;
}

div.messageHeader {
	color: #6699cc;
	font: 14px/18px Arial;
	font-weight: normal;
}

p.messageText {
	display: block;
	font: 14px/18px Arial;
	margin: 0;
}

/* ===================================== FormDiv ===================================== */
div.form {
}

div.form .maxWidth {
	width: 100%;
}

div.form input {
	float: left;
}

div.form label {
}

div.form .buttons input {
	float: none;
}

div.form span.checkbox * {
	float: none;
}

.border, .searchborder {
	background: #FFFFFF;
	border: 1px solid #e9e9e9;
	border-top: 1px solid #cccccc;
	float: none;
	margin: 0;
	padding: 2px;
}

.border input, .border textarea, .border select, .searchborder input, .searchborder textarea {
	border: 0 none;
	float: none !important;
	margin: 0;
	padding: 0;
	width: 100%;
}

.border textarea {
	height: 100px;
}

.searchborder {
	padding: 2px 18px 2px 2px;
	position: relative;
}

.searchborder input.search {
}

.searchborder input.image {
	position: absolute;
	right: 2px;
	top: 1px;
	width: auto;
}

/* =====================================  NoteringsBoxar ===================================== */
div.note {
	-moz-border-radius: 5px;
	background: #eef6fe url(../Images/information.png) no-repeat 4px 4px;
	border: 1px solid #bcccfc;
	border-radius: 5px;
	line-height: 16px;
	margin: 5px 0;
	padding: 4px 4px 4px 25px;
}

div.error {
	-moz-border-radius: 5px;
	background: #fef6ee url(../Images/exclamation.png) no-repeat 4px 4px;
	border: 1px solid #fcccbc;
	border-radius: 5px;
	line-height: 16px;
	margin: 5px 0;
	padding: 4px 4px 4px 25px;
}

div.success {
	-moz-border-radius: 5px;
	background: #ddf6dd url(../Images/accept.png) no-repeat 4px 4px;
	border: 1px solid #a0eea0;
	border-radius: 5px;
	line-height: 16px;
	margin: 5px 0;
	padding: 4px 4px 4px 25px;
}

/* =====================================  Error ===================================== */
body#error {
	font: 16px/20px Helvetica, Arial, Sans-Serif;
	margin: 0;
	padding: 50px;
}

body#error h1 {
	font: bold 22px/26px Helvetica, Arial, Sans-Serif;
	margin: 0 0 10px 0;
}

div.exception {
	background: #FEF6EE;
	border: 1px solid #FCCCBC;
	font: 11px/14px Courier New, Sans-Serif;
	overflow: scroll;
	padding: 4px;
	white-space: pre;
}

/* =====================================  Viddboxar ===================================== */
div.percent80 {
	float: left;
	width: 80%;
}

div.percent65 {
	float: left;
	width: 65%;
}

div.percent35 {
	float: left;
	width: 35%;
}

div.percent66 {
	float: left;
	width: 66%;
}

div.percent50 {
	float: left;
	width: 50%;
}

.p40 {
	float: left;
	width: 40%;
}

.p40r {
	float: right;
	width: 40%;
}

div.percent33 {
	float: left;
	width: 33%;
}

div.percent25 {
	float: left;
	width: 25%;
}

.p20 {
	float: left;
	width: 20%;
}

div.percent16 {
	float: left;
	width: 16%;
}

div.percent10 {
	float: left;
	width: 20%;
}

div.p30r {
	float: right;
	width: 30%;
}

div.m2 {
	margin-left: 2px;
}

div.m5 {
	margin-left: 5px;
}

div.m2r {
	margin-right: 2px;
}

div.m5r {
	margin-right: 5px;
}

/* =====================================  Generell Style f? grid ===================================== */
table.grid {
	width: 100%;
}

table.grid tr th {
	white-space: nowrap;
}

table.grid tr td {
}

table.grid tr td.cellForm {
}

table.grid tr td.cellForm input, table.normalGrid tr td.cellForm select {
	width: 100%;
}

table.grid tr.header {
}

table.grid tr.header td {
}

table.grid tr.header td.first {
}

table.grid tr.header td.last {
}

table.grid tr.pager {
}

table.grid tr.pager td {
	white-space: nowrap;
}

table.grid tr.alternatingItem {
}

table.grid tr.item {
}

table.grid tr.selectedItem {
}

table.grid tr.alternatingItem th {
}

table.grid tr.item th {
}

table.grid td.maxWidth {
	width: 100%;
}

table.grid td.icon {
	margin: 0px;
	padding: 2px 0;
	padding-left: 1px;
	padding-right: 1px;
	vertical-align: top;
	width: 1px;
}

table.grid td.wrap {
	white-space: normal !important;
}

table.grid td.icon img {
}

/* =====================================  About styles ===================================== */
img.aboutLogo {
	float: right;
	margin-left: 20px;
}

p.about {
	float: left;
	margin: 20px 50px 30px 15px;
}

/* =====================================  Print styles ===================================== */
@media print {
	body {
		height: 100%;
		margin: 0;
		padding: 0;
		width: 100%;
	}

	h1, h2, h3 {
		page-break-after: avoid;
	}

	td {
		font: 18px Arial, Sans-Serif;
	}

	hr {
		border-bottom: 1px solid;
		border-left: 0px;
		border-right: 0px;
		border-top: 0px;
	}

	*, .note, .important {
		color: #000000 !important;
	}

	div#right {
		width: 100%;
	}

	.dontPrint, div#pageHeader, div#pageMenu, div#pageFooter, div#left {
		display: none;
	}

}
/* =====================================  Tooltip styles ===================================== */
div.tooltip {
	-moz-border-radius: 5px;
	background: #ffffcc;
	border: 1px solid #cccc00;
	border-radius: 5px;
	padding: 3px;
	text-align: left;
}

div.tooltip div.decoration {
	background: white;
	border: 1px solid #cccc00;
	border-top: 0px none;
	bottom: -4px;
	height: 3px;
	position: absolute;
	right: 50%;
	width: 2px;
}

/* =====================================  Generic shadowed box (white) styles ===================================== */
.shadowboxleft {
	/* One px less than actual size of images to account for added padding in outer box. */
	background: transparent url(../images/boxdesign2/l.png) repeat-y;
	margin: 2px 0 4px;
}

.shadowbox .topContent {
	background: #f1f1f1;
	border-bottom: 1px solid #cccccc;
	border-top: 1px solid white;
	font: 11px/28px arial;
	height: 28px;
	margin: 0 -1px;
	padding: 0 10px;
}

.shadowbox .topContent .textbox {
	margin: 3px 0;
	width: 100%;
}

.shadowboxouter {
	/* Needed padding to stop margins from collapsing. */
	margin: 0 -2px;
	padding: 1px 0;
}

.shadowboxright {
	background: transparent url(../images/boxdesign2/r.png) repeat-y right;
	padding: 0 4px;
}

.shadowboxtop {
	background: transparent url(../images/boxdesign2/t.png);
	border-bottom: 1px solid #ffffff;
	height: 3px;
	position: absolute;
	top: -4px;
	width: 100%;
}

.shadowboxcenter {
	background: #ffffff;
	border-left: 1px solid white;
	border-right: 1px solid white;
	position: relative;
}

.shadowboxcontent {
	font: 12px/14px arial;
	position: relative;
}

.shadowboxbot {
	background: transparent url(../images/boxdesign2/b.png);
	border-top: 1px solid white;
	height: 5px;
	position: absolute;
	top: 100%;
	width: 100%;
}

.shadowboxtlc {
	background: url(../images/boxdesign2/corners.png) top left;
	height: 5px;
	position: absolute;
	right: 100%;
	top: -1px;
	width: 4px;
}

.shadowboxtrc {
	background: url(../images/boxdesign2/corners.png) top right;
	height: 5px;
	left: 100%;
	position: absolute;
	top: -1px;
	width: 4px;
}

.shadowboxblc {
	background: url(../images/boxdesign2/corners.png) bottom left;
	bottom: 1;
	height: 6px;
	left: -5px;
	position: absolute;
	width: 5px;
}

.shadowboxbrc {
	background: url(../images/boxdesign2/corners.png) bottom right;
	bottom: 1;
	height: 6px;
	position: absolute;
	right: -5px;
	width: 5px;
}

/* =====================================  Generic tabstyles ===================================== */
ul.tabControl {
	float: left;
	margin: 0;
	padding: 0;
}

ul.tabControl li.tab {
	background: #f3f3f3;
	border: 1px solid #cccccc;
	border-radius: 5px 5px 0 0;
	color: #666666;
	cursor: pointer;
	float: left;
	line-height: 16px;
	list-style: none !important;
	margin-right: 1px;
	margin-top: 1px;
	padding: 4px 15px;
	position: relative;
	top: 1px;
}

ul.tabControl li.selected {
	background: #ffffff;
	border-bottom: 1px solid white;
	color: black;
	margin-top: 0;
	padding-top: 5px;
}

ul.tabControl img {
	margin-left: -8px;
	vertical-align: bottom;
}

div.tabPanel {
	background: white;
	border: 1px solid #cccccc;
	border-radius: 0 5px 5px 5px;
	padding: 5px;
}

/*///////////////////////////
	Formulärstilar
///////////////////////////*/
.formQuestionGroup fieldset{
	background:#e6e6e6;
	border:1px solid #e9e9e9;
	border-radius:10px;
	margin:0 0 10px;
	padding:5px;
}
.formQuestionGroup legend{
	background:#d6d6d6;	
	border-radius:10px;
	font-weight:normal;
	padding:4px 20px;
	margin-left:10px;
}
.formQuestionGroup .alternatingItem{
	background:#fff;
}
.formQuestionGroup .item{
	background:#f6f6f6;
}
.formQuestionGroup .formQuestion{
	padding:5px;
	zoom:1;
}
.formQuestionGroup .formAlternative{
	padding:2px 25px 2px 2px;
	float:left;
}
.formQuestionName {
	font-weight: bold;
	color: #0083C6;
}
.formQuestionDescription {
	color: GrayText;
}
.formQuestionDisabled{
	opacity:0.7;
	filter: alpha(opacity=70);
}
.formQuestionDisabled .formQuestionName {
	color: #555555;
}
.formAlternative .textBoxFormAlternativeShow textarea {
	width: 100%;
}

/*/////////////////////////////////////////////////////
Directory list
/////////////////////////////////////////////////////*/
.fmTopBox{
	background:#f5f5f5;
	border-top:solid 1px white;
	border-bottom:solid 1px #cccccc;
	padding:2px;
}
.fmTable{
	background:#ccc;
	width:100%;
	min-height: 300px;
}
.fmTable td{
	background:white;
}
.fmTable td.directoryView{
		
}
.fmTable td.fileView{
	height:382px;	
}
.fmTable td.controls	{
	background:#f5f5f5;
	border-top:white;
	height:0px ;
}
div.directoryView {
	float: left;
	width: 30%;
	height: 500px;
	/*min-height: 500px;*/
	border-top: 1px solid #cccccc;
	border-left: 1px solid #cccccc;
	border-bottom: 1px solid #e8e8e8;
	border-right: 1px solid #e8e8e8;
	background: #ffffff;
	padding: 0 0 0 2px;
	overflow:auto;
	/*overflow:scroll;*/
	position: relative;
	clear:both;
}
ul.directoryTree{
	min-height:200px;
}
ul.directoryTree, ul.directoryTree ul {
	margin: 0 0 0 7px;
	padding: 0 0 0 0;
	border-left:1px dotted #cccccc;
	position: relative;
	clear:both;
}
ul.directoryTree li {
	list-style: none;
	background: url(../../images/folder.png) no-repeat top left;
	line-height: 16px;
	position:relative;
	white-space:nowrap;
	left:6px;
	clear:both;
}
ul.directoryTree span{
	white-space:nowrap;
	cursor:pointer;
	padding-left:19px;
	float:left;
	width:100%;
}
ul.directoryTree span.hover{
	background:#D8E4ED;
}
ul.directoryTree span.droppableHover{
	background:#D8E4ED url(../../images/folder_add.png) no-repeat top left;
}
.hidden{
	display:none;
}

/*/////////////////////////////////////////////////////
File list
/////////////////////////////////////////////////////*/
div.fileviewBox{
	height:380px;
	overflow:auto;	
}
div.fileView div.form {
	background: #f6f6f6;
	border-bottom: 1px solid #cccccc;
	border-top: 1px solid #ffffff;
	border-left: 1px solid #eeeeee;
	padding:2px;
}
div.fileView a {
	text-decoration:none;
	cursor:pointer;
}
div.fileView .CreateDirectory {
	background: url(../../images/folder_add.png) no-repeat 1px 2px;
}
div.fileView .UploadFile {
	background: url(../../images/page_white_add.png) no-repeat 1px 2px;
}
div.fileView div.form input {
	margin: 0 2px;
	float: none;
}
table.fileGrid {
	width: 100%;
	border-collapse: separate !important;
}
table.fileGrid .header td {
	background: url(images/whitegloss.gif);
	font: 12px/20px arial;
	border: none 0px;
	border-bottom: 1px solid #cccccc;
	border-left: 1px solid #ffffff;
	border-right: 1px solid #e9e9e9;
}
table.fileGrid td.min {
	width: 1px;
	padding: 1px 0px !important;
	text-align:center;
}
table.fileGrid td.max {
	width: 100%;
}
table.fileGrid td {
	border: none 0px;
	font:12px/16px arial;
	padding: 1px 4px;
	border-right: 1px solid #f0f0f0;
}
table.fileGrid tr.hover{
	background:#D8E4ED;
	cursor:pointer;
}
table.fileGrid tr.droppableHover{
	background:#D8E4ED;
}

