/* Popupin kehys */
div.popup-admin{
	padding:10px 15px 15px 15px;
	width:500px;
	background-color:#ffffff;
	font-size:12px !important;
	font-family:arial !important;
}
.wide-holder{
	width:700px !important;
}

div.popup-admin div.errorMessage, div.popup-admin div.successMessage{
	font-size:12px;
	font-family:arial;
	padding:5px;
	margin:10px 0 20px 0;
}
div.popup-admin div.errorMessage{
	color:#ab0000;
	border:1px solid #fcb2c9;
	background-color:#fedfe9;
}
div.popup-admin div.successMessage{
	color:#0a6900;
	border:1px solid #abc2ac;
	background-color:#fffeb8;
}

div.popup-admin div.hr{
	height:10px;
	margin-bottom:10px;
	border-bottom:1px solid #c3c3c3;
}

div.popup-admin table td{
	padding:1px;
	vertical-align:top;
}

div.popup-admin .mandatory{
	color:#555555;
	font-weight:normal;
}
div.popup-admin p.info{
	font-size:11px;
	margin-top:0;
	margin-bottom:15px;
	padding:0;
}

div.popup-admin fieldset{
	padding:10px;
	border:1px solid #c3c3c3;
	display:block;
	margin-bottom:10px;
	width:auto !important;
}
div.popup-admin fieldset legend{
	font-weight:bold;
	font-size:11px;
	color:#555555;
}

div.popup-admin input, div.popup-admin select, div.popup-admin textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height:14px;
}
div.popup-admin .text{
	width:100%;
	border:1px solid #bdbdbd;
}

div.popup-admin h1, div.popup-admin h2{
	color:#555555;
	font-size:18px;
	font-weight:normal;
	text-decoration:none;
	background:none;
	border-bottom:1px dotted #000000;
	padding-bottom:5px;
	padding-left:5px;
	margin-top:0px;
	margin-bottom:10px;
	height:auto !important;
}
div.popup-admin p.description{
	border-bottom:1px dotted #000000;
	padding-bottom:5px;
	padding-left:5px;
	margin-bottom:10px;
}

/* Title ja työkalut */
div.popup-titlebar, .loading{
	font-size:12px !important;
	font-family:arial !important;
	color:white;
	background-color:black;
	padding:3px;
}
div.popup-titlebar img.closebutton{
	position:absolute;
	right:4px;
	cursor:pointer;
}
div.popup-titlebar a:link, div.popup-titlebar a:active, div.popup-titlebar a:visited {
	color:#ffffff;
}
div.popup-titlebar a:hover{
	color:#eeeeee;
} 


div.popup-admin div.toolbar{
	background-color:#eeeeee;
	border-bottom:1px solid #ababab;
	margin-top:-10px;
	margin-bottom:10px;
	margin-left:-15px;
	margin-right:-15px;
	display:table;
	padding:3px 15px 3px 15px;
}
div.popup-admin div.toolbar div.toolholder{
	width:500px;
}
div.popup-admin div.toolbar .button-left:link, div.popup-admin div.toolbar .button-left:active, div.popup-admin div.toolbar .button-left:visited,
div.popup-admin div.toolbar .button-right:link, div.popup-admin div.toolbar .button-right:active, div.popup-admin div.toolbar .button-right:visited{
	border:1px solid #6d6d6d;
	background-color:#e4e4e4;
	color:#000000;
	font-size:11px;
	padding:1px 6px;
	margin-right:3px;
}
div.popup-admin div.toolbar .button-left:hover,
div.popup-admin div.toolbar .button-right:hover{
	background-color:#ababab;
	color:#ffffff;
}
div.popup-admin div.toolbar .button-left{
	float:left;
}
div.popup-admin div.toolbar .button-right{
	float:right;
}



/* Tabit */
div.popup-admin .tab-button:link, div.popup-admin .tab-button:active, div.popup-admin .tab-button:visited{
	border:1px solid #c3c3c3;
	border-bottom:1px solid #c3c3c3;
	background-color:#eeeeee;
	padding:3px 7px;
	color:#555555;
	text-decoration:none;
	line-height:16px;
	margin-bottom:-1px;
	margin-top:14px;
	margin-right:3px;
	margin-left:3px;
	position:relative;
	float:left;
}
div.popup-admin .tab-button:hover{
	background-color:#ababab;
	color:#ffffff;
}
div.popup-admin .tab-button-a:link, div.popup-admin .tab-button-a:active, div.popup-admin .tab-button-a:visited{
	border:1px solid #c3c3c3;
	border-bottom:0px solid #ffffff;
	background-color:#ffffff;
	padding:5px 7px 1px 7px;
	color:#000000;
	text-decoration:none;
	line-height:20px;
	margin-top:10px;
	margin-right:1px;
	margin-left:0px;
	position:relative;
	bottom:-1px;
	float:left;
}
div.popup-admin div.tab-content{
	clear:both;
	border:1px solid #c3c3c3;
	padding:10px;
	margin-bottom:10px;
	width:470px;
}

div.popup-admin .content-tools{
	float:right;
	position:absolute;
	margin-top:-16px;
	right:45px;
}

/* Napit */
div.popup-admin .small_button, div.popup-admin a.small_button, div.popup-admin a.small_button:link, div.popup-admin a.small_button:active, div.popup-admin a.small_button:visited {
	border:1px solid #dddddd;
	padding:0 2px;
	margin:1px;
	color: #555555;
	background-color: #eeeeee;
	text-decoration: none;
	font-size:10px;
	width:auto;
	line-height:16px;
	display:block;
	float:right;
	white-space:nowrap;
}
div.popup-admin a.small_button:hover {
	border: 1px solid #555555;
	background-color: #ababab;
	color: #ffffff;
}
div.popup-admin a.small_button img{
	margin-right:2px;
	vertical-align:top;
	border:0;
}
