/* jqModal base Styling courtesy of;
	Brice Burgess <bhb@iceburg.net> */

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
	the Window's z-index value will be set to 3000 by default (via jqModal.js). */
	
.jqmWindow {
    display: none;
    
    position: fixed;
    top: 17%;
    left: 50%;
    
    margin-left: -300px;
    width: 600px;
    
    background-color: #ffffff;
    color: #333;
    border: 1px solid black;
    padding: 0px;
}

.jqmOverlay { background-color: #000; }

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
	width: expression(this.parentNode.offsetWidth+'px');
	height: expression(this.parentNode.offsetHeight+'px');
}

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}


.modalHeader {
	background-image: url(/static/images/merenkulkulaitos/panel/modal_header_bg.gif);
	background-repeat: repeat-x;	
	height: 31px;
}

.jqmClose {
	background-image: url(/static/images/merenkulkulaitos/panel/modal_close_muokkaa.gif);
	background-repeat: no-repeat;
	display: block;
	width: 12px;
	height: 12px;
	overflow: hidden;
	text-indent: -9999px;
	margin: 9px 9px 0px 0px;
	float: right;
}

.modalHeader h1 {
	color:#555555;
	display:block;
	float:left;
	font-size:16px;
	margin:7px 0 0 10px;
}

.modalTextField {
	height:450px;
	overflow:auto;
	background-color: #E9E9E9;
}

#newServiceInModal {

}

/* *** Uudet lomakkeet Alkaa *** */

.targetModifyHelp, .serviceModifyHelp, .imageModifyHelp, .authorityModifyHelp {
	background-image: url(/static/images/merenkulkulaitos/panel/dotline_horisontal.gif);
	background-repeat: repeat-x;
	background-position: bottom;	
}



.targetModifyHelp p {
	background-image:url(/static/images/merenkulkulaitos/targetinfo/kohteet_58x58.gif);
	background-position:38px 5px;
	background-repeat:no-repeat;
	padding:10px 0 10px 130px;
}

.serviceModifyHelp p {
	background-image:url(/static/images/merenkulkulaitos/targetinfo/palvelut_58x58.gif);
	background-position:38px 5px;
	background-repeat:no-repeat;
	padding:10px 0 10px 130px;
}

.imageModifyHelp p {
	background-image:url(/static/images/merenkulkulaitos/targetinfo/valokuvat_58x58.gif);
	background-position:38px 5px;
	background-repeat:no-repeat;
	padding:10px 0 10px 130px;
}

.authorityModifyHelp p {
	background-image:url(/static/images/merenkulkulaitos/targetinfo/tiedotteet_58x58.gif);
	background-position:38px 5px;
	background-repeat:no-repeat;
	padding:10px 0 10px 130px;
}

form.modalForm fieldset, .modalForm fieldset {
	border:0 none;
	margin-bottom:0;
	padding:0;
}
form.modalForm legend, .modalForm legend {
  padding: 0 2px;
  font-weight: bold;
}
form.modalForm label, .modalForm label {
  display: inline-block;
  line-height: 1.8;
  vertical-align: top;
}
form.modalForm fieldset ol, .modalForm ol {
  margin: 0;
  padding: 0;
}
form.modalForm fieldset li, .modalForm fieldset li {
	background-color:#E9E9E9;
	border-bottom:1px solid #DDDDDD;
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin:0;
	padding:5px 0 5px 10px;
}

form.modalForm fieldset li ul li, .modalForm fieldset li ul li {
	border-bottom: 0px none;

}
form.modalForm fieldset fieldset, .modalForm fieldset fieldset {
  border: none;
  margin: 3px 0 0;
}
form.modalForm fieldset fieldset legend, .modalForm fieldset fieldset legend {
  padding: 0 0 5px;
  font-weight: normal;
}
form.modalForm fieldset fieldset label, .modalForm fieldset fieldset label {
  display: block;
  width: auto;
}
form.modalForm em, #placeInfoNotifyError em {
  font-weight: bold;
  font-style: normal;
  color: #f00;
}
form.modalForm label, .modalForm label {
	width: 130px; /* Width of labels */
	font-size:12px;
	font-weight:bold;
}
form.modalForm fieldset fieldset label, .modalForm fieldset fieldset label {
  margin-left: 123px; /* Width plus 3 (html space) */
}

ul.serviceProperties li.selectionName {
	float: left;
}

li.acceptButton {
	float: none;
	clear:both;
}




/* *** Uudet lomakkeet Loppuu *** */

ul.commentListHeaders {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

ul.commentListHeaders li{
	list-style-type:none;
	margin:20px 0 25px 3px;
	padding:0;
}

ul.commentListHeaders span.comment {
	display:block;
	float:left;
	width:255px;
}

ul.commentListHeaders span.time {
	display:block;
	float:left;
	width:98px;
}

ul.commentListHeaders span.nick {
	display:block;
	float:left;
}

ul.commentListHeaders span {
	font-weight: bold;
}

.addCommentHeader {
	float:none !important;
	margin:10px;
}
