/* Page structure */

body {
  background-color: white;
  font-size: 13px;
  line-height:1.2;
  font-family:verdana, arial, sans-serif
}

button {
  display: block;
}

/* Fonts */

h1
{
  font-size: 40px;
}

h2
{
  font-size: 25px;
  font-variant:small-caps;
  padding: 5px 0;
  text-align:center;
}

ul.square li, li.square {
  list-style:square;
  list-style-position:inside;
}

.unselectable {
   -moz-user-select: none;
   -khtml-user-select: none;
   user-select: none;
}

p.text {
  padding-bottom: 10px;
}

/* Design */

#wrap{
  width: 960px;
  margin: 0 auto;
}

#header {
  top:0px;
  padding: 5px;
  vertical-align:middle;
}

#header .logo {
  float: left;
  margin: 10px;
}

#header .nav {
  margin-top: 20px;
  float: right;
}

a {
  color: #800000;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

a.icon {
  background: transparent url(images/login.png) no-repeat scroll center left;
  padding-left: 18px;
}

a.login {
  background-image: url(images/login.png);
}

a.logout {
  background-image: url(images/logout.png);
}

a.create {
  background-image: url(images/create.png);
}

a.profil {
  background-image: url(images/profil.png);
}

a.details {
  background-image: url(images/details.png);
}

#header .nav li {
  float: left;
  margin-right: 10px;
}

#content {
  position: relative;
  clear: both;
  background-color: white;
  float: left;
  width: 960px;
}

#footer {
  padding: 5px;
  clear: both;
  text-align: center;
  font-size:0.8em;
  padding-top:2px;
}

#footer li {
  display: inline;
  padding-right: 10px;
}

#footer a {
  color: gray;
}


table.hlayout td {
  vertical-align: middle;
  padding-right: 10px;
}

.lavaLamp {
background: url(images/menu.gif) no-repeat scroll top left;
position: relative;
height: 50px;
margin: 0 0;
padding-top: 10px;
padding-left: 20px;
overflow: hidden;
}

.lavaLamp li {
  float: left;
  list-style:none;
}

.lavaLamp li.back {
  background: url(images/lava.gif) no-repeat scroll top right;
  width: 30px; height: 30px;
  position: absolute;
}
.lavaLamp li.back .left {
  background: url(images/lava.gif) no-repeat scroll top left;
  height: 30px;
  margin-right: 30px;
}
.lavaLamp li a {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  text-transform: uppercase;
  font: bold 14px arial;
  color: white;
  outline: none;
  text-align: center;
  height: 30px; top: 7px;
  z-index: 10; letter-spacing: 0;
  float: left; display: block;
  margin: auto 10px;
}

button {
  display: block;
  margin: 5px 0;
}

button.skin {  
  border-style: none;
  background-color: #8e0000;
  padding: 0;
  outline-width: 10px;
}

button.skin p {
    background: transparent url(images/button.png) no-repeat scroll top right;
    height: 40px;
    padding-right: 19px;
}

button.skin p span {
    background: transparent url(images/button.png) no-repeat scroll top left;
    display: block;
    padding-top: 10px;
    padding-left: 40px;
    height: 40px;
    color: #8e0000;
    font-size: 15px;
    font-weight: bold;
}

button.white p span {
    background-image: url(images/button-white.png);
}

button.white {
  background-color: white;
}

/* Diplomas */

ul.diploma_list {
  margin-top: 10px;
}

ul.diploma_list li {
  padding-left: 10px;
}

/* Nurse, Replacement lists */
.nurse_list, .replacement_list, .link_list {
  margin-top: 10px;
  margin-bottom: 10px;
  border: 1px solid #eeeeee;
  width: 100%;
}

.link_list {
  width: 900px;
  text-align: left;
}

.link_list a.name {
  font-size: larger;
  color: #8e0000;
}

.nurse_list thead, .replacement_list thead{
  text-align: left;
  border-bottom: 1px solid gray;
}

.nurse_list th, .replacement_list th {
  padding: 5px 0 5px 5px;
  color: white;
  background-color: #9e0000;
}

.nurse_list td, .replacement_list td, .link_list td {
  padding: 3px 15px 3px 5px;
  vertical-align:middle;
}

.nurse_list .telephone{
  font-weight: bold;
}

.replacement_list .border {
  border-top: 1px solid gray;
}

tr.odd {
  background-color: #ffeeee;
}

.nurse_list .name, .replacement_list .city, .replacement_list .name {
  color:#8e0000;
  text-decoration:none;
  font-size:1.2em;
  font-weight:bold;
}

.nurse_list a.details {
  background: transparent url(images/zoom.png) no-repeat scroll center center;
  display: block;
  text-indent: -9999px;
  overflow:hidden;
  width: 25px;
  height: 30px;
}

.replacement_list tr.comment, .nurse_list tr.comment {
  border-top: 1px solid #eeeeee;
}

.replacement_list p.comment, .nurse_list tr.comment ul {
  padding-left: 15px;
  font-style: italic;
  color: gray;
}

/* Nurse Info */
.nurse_info {
  float: left;
  width: 45%;
}

.nurse_info .source {
  font-size: 0.8em;
  color: gray;
  font-style: italic;
  text-align: center;
}

.nurse_info .name {
  font-size: 2em;
  font-weight: bold;
  color: #8e0000;
}

.nurse_info .subtitle {
  font-style: italic;
  color: #555555;  
}

.nurse_info .item {
  padding-top: 10px;
  display: block;
}

.nurse_info .label {
  font-weight: bold;
}

.nurse_info_window .name {
  font-size: 1.2em;
  font-weight: bold;
  color: #8e0000;
}

.nurse_info_window .telephone {
  font-weight: bold;
  font-size: 1.2em;
}

.nurse_map {
  float: right;
  width: 45%;
}

/* Query */

#query {
  background: #8e0000 url(images/qbb.gif) no-repeat scroll bottom left;
  color: white;
}

#query_body {
  background: transparent url(images/nurse_head.gif) no-repeat scroll bottom left;
  padding-left: 300px;
  padding-bottom: 10px;
}

#query h2  {
  background: transparent url(images/qbt.gif) no-repeat scroll top left;
  font-variant:small-caps;
  color: white;
  text-align: center;
}

#query form {
  padding-left: 50px;
}

#query .error_list {
  color: white;
}

#query h3  {
  background: transparent url(images/quac.gif) no-repeat scroll 3px 5px;
  font-variant:small-caps;
  cursor: pointer;
  color: black;
  padding-top: 5px;
  font-size: 25px;
  text-align: left;
  height: 40px;
}

#query h3.current {
  cursor: default;
}

#query h3 span {
  padding-left: 30px;
  background: transparent url(images/right_arrow.png) no-repeat scroll 5px 7px;
}

#query h3.current span {
  background-image: url(images/down_arrow.png);
}

/* Forms */

.protection {
  display: none;
}

.form_feedback {
  background: #eeccdd url(../images/map/info.png) no-repeat scroll 5px 50%;
  padding: 10px 0 10px 45px;
}

legend {
  padding: 4px 0 4px 0;
  font-weight: bold;
}

ul.error_list {
  padding: 5px 0;
  font-weight: bold;
  background: transparent url(images/alert.png) no-repeat scroll left center;
  padding-left: 20px;
  color: red;
}

.form_label {
  margin-top: 4px;
}

em.required {
  font-size: 0.8em;
  color: #8e0000;
}

label.checkbox {
  display: inline;
}

p.group {
  font-weight: bold;
  margin: 5px 0;
}

.ui-datepicker-trigger{
  vertical-align:middle;
  margin-left: 5px;
  cursor: pointer;
}

/* Misc */

ul.buttons li {
  margin-top: 5px;
  margin-right: 5px;
  float: left;
  list-style:none;
  padding: 5px 10px;
  border: 1px solid #600000;
  background-color: #8e0000;
  color: white;
  font-variant:small-caps;
  font-weight:bold;
  cursor: pointer;
}

input, textarea {
  margin-top: 3px;
  font-size: inherit;
}

input[type=text], input[type=password], textarea {
    border: 1px solid gray;
}

/* box */

.box {
  margin-top: 10px;
	background: url(images/nbbr.png) no-repeat scroll bottom right;
}
.boxhead {
	background: url(images/nbtr.png) no-repeat scroll top right;
	margin: 0;
	padding: 0;
	text-align: center;
  height: 33px;
}
.boxhead h3 {
	background: url(images/nbtl.png) no-repeat scroll top left;
	margin: 0;
	padding: 8px 30px 5px;
	color: white;
	font-weight: bold;
  height: 33px;
}
.boxbody {
	background: url(images/nbbl.png) no-repeat scroll bottom left;
	margin: 0;
	padding: 5px 30px 31px;
}

.boxbody h3 {
  margin: 5px 0;
}

a.block {
  margin-top: 4px;
  display: block;
}

/* map */

#map, .gmap {
  margin: 5px auto;
  width: 900px;
  height: 500px;
  border: 1px solid black;
}

ul.buttons li.add {
  padding-left: 25px;
  background: #8e0000 url(../images/map/add.png) no-repeat scroll left center;
}

ul.buttons li.edit {
  padding-left: 25px;
  background: #8e0000 url(../images/map/edit.png) no-repeat scroll left center;
}

ul.buttons li.delete {
  padding-left: 25px;
  background: #8e0000 url(../images/map/remove.png) no-repeat scroll left center;
}

.map_mask {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #330033 url(../images/ajax/loading.gif) no-repeat scroll center center;
  opacity: 0.9;
  filter: alpha(opacity=90);
}

.map_message {
  margin: 5px 0;
  width: 902px;
}

.map_message p {
  margin: 0;
  padding: 5px;
  border: 1px solid gray;
}

.map_message p.help {
  background: #ddffdd url(../images/map/help.png) no-repeat scroll 5px 50%;
  padding-left: 45px;
}

.map_message p.info {
  background: #ddddff url(../images/map/info.png) no-repeat scroll 5px 50%;
  padding-left: 45px;
}

.map_message p.alert {
  background: #ffdddd url(../images/map/alert.png) no-repeat scroll 5px 50%;
  padding-left: 45px;
}

.map_message img {
  vertical-align: middle;
}

