/* DO NOT EDIT - vmbed-pp.css is the one that you want */

/* Override yui-reset defaults */

html {
  background: #d3d7d9;
}

p {
  text-align: left;
}

ul {
  text-align: left;
}

h2 {
  text-align: left;
  border-bottom: 2px solid #000;
}

h3 {
  text-align: left;
  border-bottom: 2px solid #aaa;
  padding-left: 10px;
}

/* The overall page container */

.vmbed-container {
  /* auto causes the div to center */
  margin: 5px auto 0px auto;
  padding: 0px 5px;
  width: 950px;
}

/* The VMBed banner */

.vmbed-hd {
  border: 1px solid #000;
  background: #67af20 none repeat scroll 0%;
  /* aligns the title image (and anything we stick in there) */
  text-align: left;
}

.vmbed-hd-state {
  padding: 5px;
  text-align: right;
  float: right;
  font-size: 93%;
}

.vmbed-hd-state-link {
  color: #ccc;
}

.vmbed-hd-title {
  padding: 5px;
}

/* The navigation menu */

.vmbed-menu {
  margin: 0px;
  z-index: 3;
}

/* The LHS main body */

.vmbed-body {
  border:        2px solid #3d3f40;
  border-top:    4px solid #3d3f40;
  padding:       5px;
  padding-left:  10px;
  padding-right: 10px;
  background:    #F0F5F9 none repeat scroll 0%;
  width:         687px;
  float:         left;
  /* Min height hack */
  min-height:    490px;
  height:        auto !important;
  height:        490px;
}

.vmbed-body-node {
}

/* The RHS status pane */

.vmbed-rhs {
  border:      2px solid #3d3f40;
  border-top:  4px solid #3d3f40;
  background:  #F0F5F9 none repeat scroll 0%;
  padding:     5px;
  width:       219px; /* 950 - (5 + 715 + 10 + 10 + 2 + 2 + 2 + 2 + 5 + 5) */
  float:       left;
  margin-left: 6px;
  min-height:  490px;
  height:      auto !important;
  height:      490px;
}

/* Footer */

.vmbed-ft {
  font-size:  77%;
  color:      grey;
}

/* Landing pages */

.vmbed-lp h1 {
  font-size:   150%;
  font-weight: bold;
}

.vmbed-lp p {
  font-size:   150%;
  font-weight: bold;
  text-align:  center;
}

/* The Rent Page */

/* The Chooser */

.vmbed-rent-chooser {
  /*  width: 176px; The width gets set by the 170ps narrow form. */
  margin-right: 6px;
  float: left;
}

.vmbed-rent-chooser fieldset {
  background: #d3d7d9;
}

.vmbed-rent-chooser fieldset.submit {
  background: transparent;
}

.vmbed-rent-chooser p {
  margin-left: 0.8em;
}

.vmbed-rent-loading {
  display: none;
  margin: 5px auto;
  width: 176px;
  text-align: center;
}

/* The Results */
  
.vmbed-rent-results {
  float: left;
  width: 501px;
  margin: 0px 0px 0px 10px;
}

.vmbed-rent-results > .failure {
    margin: 100px auto;
    width: 200px;
    background-color: #d3d7d9;
    border: 1px solid black;
    padding: 10px;
    text-align: left;
}

.vmbed-rent-results > .failure img {
    float: left;
    width: 32px;
    height: 32px;
}

.vmbed-rent-results > .failure p {
    float: left;
    margin: 0px;
    margin-left: 10px;
    width: 158px;
}

/* Machine menu link */

.vmbed-mm {
  text-decoration: underline;
  color: blue;
  cursor: pointer;
}

/* Machine box */

.vmbed-machine {
  margin: 0px;
  border: 2px solid #__M_BLOCK__;
  background-color: #d3d7d9;
  width: 244px;
  float: left;
}

.vmbed-machine h3 {
  margin: 0px;
  margin-bottom: 5px;
  border: 0px;
  padding: 2px;
  background-color: #__M_BLOCK__;
}

.vmbed-machine-owned {
  border: 2px solid #5f9f9f;
}

.vmbed-machine-owned h3 {
  background-color: #5f9f9f;
}

.vmbed-machine-free {
  border: 2px solid #3f7fbf;
}

.vmbed-machine-free h3 {
  background-color: #3f7fbf;
}

.vmbed-machine-busy {
  opacity: 0.50;
  filter: alpha(opacity=50);
}

.vmbed-machine span {
  color: black;
}

.vmbed-machine-lhs {
  margin:  0px;
  margin-bottom: 5px;
  border:  0px;
  padding: 0px;
  width:   80px;
  text-align: center;
}

.vmbed-machine-lhs img {
  width: 50px;
  height: 50px;
}

.vmbed-machine-rhs {
  margin:  0px;
  margin-bottom: 5px;
  border:  0px;
  padding: 0px;
  width:   160px;
  float:   right;
}

.vmbed-machine-rhs p {
  margin:  0px;
  border:  0px;
  padding: 0px;
  padding-left: 5px;
  padding-bottom: 5px;
  font-size:  85%;
  text-align: left;
}

.vmbed-machine-cell-next {
  margin-left: 5px;
}

.vmbed-machine-row-start {
  clear: left;
}

.vmbed-machine-row-next {
  margin-top: 5px;
}

.vmbed-machine-links {
  padding-top: 5px;
  text-align: right;
  clear: left;
}


.vmbed-error {
  color: red;
}

.vmbed-notice {
    background-color: #d3d7d9;
    border: 1px solid black;
    padding: 5px;
    margin-bottom: 5px;
}

/* Signup and Login */

.vmbed-account {
    padding:    10px;
}

.vmbed-account fieldset {
  background: #d3d7d9;
}

.vmbed-account fieldset.submit {
  background: transparent;
}

/* Bookings Status */
  
.vmbed-bookings {
    font-size:  100%;
}

.vmbed-bookings > .empty {
    width: 140px;
    background-color: #d3d7d9;
    border: 1px solid black;
    padding: 10px;
}

/* One booking */

.vmbed-booking {
    position: relative;
    border:             2px solid #77bf30;
    background-color:   #d3d7d9;
    margin-bottom: 5px;
}

.vmbed-booking-title {
  margin: 0px;
  margin-bottom: 5px;
  border: 0px;
  padding: 2px;
  background-color: #77bf30;
}

.vmbed-booking-title span {
  color: black;
}

.vmbed-booking-icon {
    position:absolute;
    top:0px;
    right:0px;
    z-index:3;
    height:20px;
    width:20px; 
    margin:0px;
    padding:0px;
    visibility:inherit;
}

.vmbed-booking > .created-icon {
    background:url(images/bstat2.png) no-repeat scroll -60px 0px;
}

.vmbed-booking > .booting-icon {
    background:url(images/bstat2.png) no-repeat scroll -40px 0px;
}

.vmbed-booking > .running-icon {
    background:url(images/bstat2.png) no-repeat scroll -20px 0px;
}

.vmbed-booking > .failure-icon {
    background:url(images/bstat2.png) no-repeat scroll 0px 0px;
}

.vmbed-booking > .done-icon {
    background:url(images/bstat2.png) no-repeat scroll -80px 0px;
}

/* Booking state display */

.vmbed-booking-display {
  margin: 0px auto;
  display: block;
}

.vmbed-booking > .created-display {
  color: #888;
}

.vmbed-booking > .booting-display {
  color: #fcd116;
  background: #000;
  width: 50%;
}

.vmbed-booking > .running-display {
  color: #090;
}

.vmbed-booking > .failure-display {
  color: red;
}

.vmbed-booking > .done-display {
  color: black;
}

.vmbed-booking p {
  padding: 0px 5px;
  margin-bottom: 5px;
}

/* Contact page */

.vmbed-contact {
}

.vmbed-contact label {
  position: relative;
  width: 60px;
}

.vmbed-contact input[type=text] {
  width: 200px;
}

.vmbed-contact textarea#contact_message {
	width:  500px;
	height: 250px;
}

.vmbed-contact fieldset {
  background: #d3d7d9;
}

.vmbed-contact fieldset.submit {
  background: transparent;
}

/* Account settings - override the generic form widths and apply a
   background to stand out from the page */

.vmbed-settings {
}

.vmbed-settings label {
  position: relative;
  width: 105px;
}

.vmbed-settings label strong {
  position: absolute;
  top: 0.2em;
  left: 290px;
  width: 250px;
}

.vmbed-settings select, .vmbed-settings input[type=text], .vmbed-settings input[type=password] {
  width: 200px;
}

.vmbed-settings fieldset {
  background: #d3d7d9;
}

.vmbed-settings fieldset.submit {
  background: transparent;
}

.vmbed-settings-error {
  color: red;
  text-align: center;
}

/* Availability Widget */

.vmbed-availability-picker {
  width: 240px;
  text-align: center;
}

.vmbed-availability-cal {
  margin-left: 4px;
  width: 232px;
}

.vmbed-availability-msel {
  position: relative;
  height: 20px;
}

.vmbed-availability-msel > .link {
  position: absolute;
  top: 2px;
  width: 50px;
  height: 20px;
  font-size:  77%;
}

.vmbed-availability-msel > .prev {
  left: 2px;
}

.vmbed-availability-msel > .next {
  right: 2px;
}

.vmbed-availability-msel > .active {
  text-decoration: underline;  
  cursor:pointer;
}

.vmbed-availability-msel > .inactive {
  text-decoration: underline;  
  color: #bbb;
}

.vmbed-availability-grid > .head {
  /* border: 1px solid black; */
  width: 232px;
  height: 21px;
}

.vmbed-availability-grid > .head > .cell {
  border-top: 1px solid black;
  border-left: 1px solid black;
  width: 32px;
  height: 20px;
  float: left;
}

.vmbed-availability-grid > .head > .last {
  border-right: 1px solid black;
}

.vmbed-availability-grid > .row {
  /* border: 1px solid black; */
  width: 232px;
  height: 33px;
}

.vmbed-availability-grid > .row > .cell {
  border-top: 1px solid black;
  border-left: 1px solid black;
  width: 32px;
  height: 32px;
  float: left;
}

.vmbed-availability-grid > .row > .last {
  border-right: 1px solid black;
}

.vmbed-availability-grid > .row > .lastRow {
  border-bottom: 1px solid black;
}

.vmbed-availability-grid > .row > .nonday {
    background: #888;
}

.vmbed-availability-grid > .row > .selected {
  background: #6cc;
}

.vmbed-availability-grid > .row > .cell > .day {
  height: 0px;
  width:  32px;  
}

.vmbed-availability-grid > .row > .cell:hover {
  background: #9fc;
}

.vmbed-availability-grid > .row > .nonday:hover {
  background: #888;
}

.vmbed-availability-grid > .row > .cell > .state {
  height: 32px;
  float: left;
  opacity: 0.25;
  filter:alpha(opacity=25);
}

.vmbed-availability-grid > .row > .cell > .past {
    background: #888;
}

.vmbed-availability-grid > .row > .cell > .busy {
    background: red;
}

.vmbed-availability-grid > .row > .cell > .free {
    background: green;
    cursor: pointer;
}

.vmbed-availability-time {
    position: relative;
    margin-top: 20px;
    background:url(images/ruler.png) no-repeat scroll 0px 0px;
    width: 240px;
    height: 20px;
}

.vmbed-availability-time > .state {
    height: 20px;
    opacity: 0.25;
    filter:alpha(opacity=25);
    float:left;
}

.vmbed-availability-time > .free {
    background: green;
    cursor:pointer;
}

.vmbed-availability-time > .free:hover {
    opacity: 0.50;
    filter:alpha(opacity=50);
}

.vmbed-availability-time > .busy {
    background: red;
}

.vmbed-availability-time > .past {
    background: #888;
}

.vmbed-availability-rhs {
  float: right;
  margin-top: 13px;
  margin-left: 20px;
}

.vmbed-availability-status {
  width: 180px;
  text-align: center;
}

/* Form - Labels aligned with the input fields, fields grouped in sets */

.vmbed-gf {
  text-align: left;
}

.vmbed-gf-narrow {
    width: 170px;
}

.vmbed-gf-wide {
    width: 250px;
}

.vmbed-gf label {
  float: left;
  margin-right: 10px;
}

.vmbed-gf-narrow label {
  width: 30px;
}

.vmbed-gf-wide label {
  position: relative;
  width: 60px;
}

.vmbed-gf-narrow select, .vmbed-gf-narrow input[type=text], .vmbed-gf-narrow input[type=password] {
  width: 110px;
}

.vmbed-gf-wide select, .vmbed-gf-wide input[type=text], .vmbed-gf-wide input[type=password] {
  width: 150px;
}

.vmbed-gf label strong {
  color: #c00;
}

/* Put errors with the label in the narrow form */
.vmbed-gf-narrow label strong {
  display: block;
}

/* In the wide case they go after the input */
.vmbed-gf-wide label strong {
  position: absolute;
  top: 0.2em;
  left: 210px;
  width: 150px;
}

.vmbed-gf fieldset {
  float: left;
  clear: left;
  width: 100%;
  padding: 0px;
  border: 1px solid black;
}

.vmbed-gf-narrow fieldset {
  margin-bottom: 8px;
}

.vmbed-gf-wide fieldset {
  margin-bottom: 1em;
}

.vmbed-gf legend {
  margin-left: 10px;
  color: #000000;
  font-weight: bold;
}

.vmbed-gf fieldset ol {
  margin:  0px;
  padding: 10px 10px 0 10px;
}

.vmbed-gf fieldset ol li {
  list-style: none;
}

.vmbed-gf fieldset li {
  padding-bottom: 10px;
}

.vmbed-gf fieldset.submit {
  border-style: none;
  text-align: center;
}

/* Tables */

th {
  background: #acb3b8;
}

td {
  background: #d3d7d9;
}

/* Collapsibles */

.vmbed-col {
  position: relative;
  text-align: left;
  margin: 3px;
}

.vmbed-col > .hd {
  padding: 3px;
  padding-left: 17px;
}

.vmbed-col > .bd {
  display: none;
  padding: 3px;
  background-color: #F0F5F9;
}

.vmbed-col > .icon {
    position:absolute;
    top:4px;
    left:2px;
    z-index:6;
    height:11px;
    width:11px; 
    margin:0px;
    padding:0px;
    cursor:pointer;
    visibility:inherit;
}

.vmbed-col > .show {
    background:url(images/icons1.png) no-repeat scroll -20px 0px;
}

.vmbed-col > .hide {
    background:url(images/icons1.png) no-repeat scroll 0px 0px;
}

/* To give a DIV comprised of floating elements the height of its contents */

.vmbed-clear {
  clear: both;
}

/* Code segments */

.vmbed-code {
  background: #d3d7d9;
  text-align: left;
  padding: 5px;
}

