/**
 * Retrieve custom Google web font, it looks better than normal fonts.
 */
@font-face { 
  font-family: "Source Sans Pro" ; 
  font-weight: 400;
  src: url( ../fonts/Source_Sans_Pro/SourceSansPro-Regular.ttf ) format("truetype"); 
} 

@font-face { 
  font-family: "Source Sans Pro" ; 
  font-weight: 600;
  src: url( ../fonts/Source_Sans_Pro/SourceSansPro-Semibold.ttf ) format("truetype"); 
}


/**
 * Set font to custom Google web font for the body text and all inputs.
 */
.g5, .g5 input, .g5 select, .g5 textarea, .g5 button {
  font-size: 1em;
  font-family: Source Sans Pro, Arial;
}

.g5 input, .g5 select, .g5 textarea {
}

.g5 a {
  color: #0169c9;
  font-weight: 600;
  text-decoration: none;
}

/**
 * Error codes 
 */
.g5 .error-403 {
  font-size: 1.1em;
  background: url("../images/icons/54-lock.png") no-repeat 0px 2px;
  background-size: 18px 18px;
  padding-left: 28px;
}

.g5 .error-404 {
  font-size: 1.1em;
  background: url("../images/icons/06-magnify.png") no-repeat 0px 3px;
  background-size: 18px 18px;
  padding-left: 28px;
}

.g5 .error-system {
  font-size: 1.1em;
  background: url("../images/icons/184-warning.png") no-repeat 0px 3px;
  background-size: 18px 18px;
  padding-left: 28px;
}

/**
 * Icons 
 */
.g5 .ui-standalone-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: text-bottom;
}

/**
 * Button styling. 
 * Make them a little bigger to stand out.
 */
.g5 button, .g5 input[type='button'], .g5 input[type='submit'] {
  font-size: 1em;
  font-weight: 600;
}

/**
 * - remove highlighting on webkit browsers
 * - remove text size adjustments
 */
body.g5 {
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-text-size-adjust:none;
  /* Disable Mobile Chrome's font boosting https://bugs.webkit.org/show_bug.cgi?id=84186#c17 */
  max-height:1000000px;
  /* 
  TODO: Find a way to make this work with Android jellybean. There's a bug reported at
  http://stackoverflow.com/questions/12391179/background-attachment-messes-up-rendering-in-jelly-bean-webview
  
  background-image: url("../images/EDBack.png");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 200px 200px;
  */
  
}

/**
 * Make sure scripts have no height or take up any space.
 */
script {
  position: fixed;
  height: 0;
  width: 0;
}

/**
 * Reset all the sizes for headings.
 */
.g5 h1, .g5 h2, .g5 h3, .g5 h4, .g5 h5, .g5 h6 {
  /* not using bold, because the font is optimized for 600 */
  font-weight: 600; 
  padding: 0;
  margin: 0; 
}

.g5 h1 {
  font-size: 1em;
}

.g5 h2 {
  font-size: 1em;
}

/**
 * Paragraph styling. 
 * General indentations for elements containing actual information is 
 * 5px top and bottom, 10px left and right. 
 */
.g5 p {
  padding: 5px auto;
}

.g5 .ui-overflow {
  text-overflow: ellipsis;
  overflow:hidden;
  width:inherit;
  display:block;
}

.g5 .ui-wrap {
  white-space: pre-wrap !important;
}

/**
 * Label styling.
 */
.g5 label, .g5 .ui-label {
  font-weight: 600;
}

/**
 * User input controls.
 */
 
/** 
 * Text and Passwords
 */
.g5 input {
  width: 100%;
  box-sizing:border-box;
  -moz-box-sizing:border-box; /* Firefox */
  -webkit-box-sizing:border-box; /* Safari */
  border: 1px solid #aaa;
  border-radius: 10px;
  box-shadow: 1px 1px 1px #777;
  background: #fff;
  font-family: Source Sans Pro, Arial;
  outline: none;
  padding: 5px 5px;
  display: block;
}

/** Focus styles */
.g5 input:focus,
.g5 input[type="password"]:focus{
  background: #ffffaa;
  background: #cfdde3;
  border: 1px solid #333;
  font-weight: bold;
  font-size: 16px !important;
}

.g5 input[type="submit"]:focus,
.g5 input[type="button"]:focus {
  font-size: 14px !important;
}

.g5 select:focus {
  font-size: 16px !important;
}

/**
 * Checkbox styles.
 * This provides a consistent look and feel across many devices.
 */
 
/*
 * First hide the actual checkbox, opacity is set to 0 to 
 * maintain accessibility.
 */
.g5 input[type="checkbox"],
.g5 input[type="radio"]{
  opacity: 0;
  outline: 1px solid blue;
  position: fixed;
}

/*
 * Set a background image on the label associated to the checkbox.
 * This represents the "unchecked state". This particular image is a sprite.
 * Turn off user selection to prevent highlighting of the label on tap/click.
 */
.g5 input[type="checkbox"] + label,
.g5 input[type="radio"] + label {
  background: #fff url("../images/checkboxes.png") no-repeat;
  background-size: 21px 108px;
  background-position: 0px 0px;
  border: 1px solid transparent;
  padding: 4px 0 2px 32px;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none; 
  height: 27px;
  line-height: 30px;
}

/*
 * Do the same thing for radio buttons with a different sprite image.
 */
.g5 input[type="radio"] + label {
  background: #fafafa url("../../theme/images/radios.png") no-repeat;
}

/*
 * Move the sprite by 54 pixels to get the "checked" state (or "selected"
 * for radio buttons
 */
.g5 input[type="checkbox"]:checked + label,
.g5 input[type="radio"]:checked + label {
  background-position: 0px -54px;
}

/*
 * When selected, place a dotted border around the label.
 */
.g5 input[type="checkbox"]:focus + label,
.g5 input[type="radio"]:focus + label {
  border: 1px dotted #777;
}

/*
 * Move the sprite by 81 pixels to get the "disabled" "checked"/"selected" 
 * state.
 */
.g5 input[type="checkbox"]:checked:disabled + label,
.g5 input[type="radio"]:checked:disabled + label {
  background-position: 0px -81px;
}

/*
 * Move the sprite by 27 pixels to get the "disabled" state.
 */
.g5 input[type="checkbox"]:disabled + label,
.g5 input[type="radio"]:disabled + label {
  background-position: 0px -27px;
}

/**
 * Button styling.
 * All content area buttons are to be displayed on a single line. They will use 90% of
 * the available real state.
 */
.g5 input[type='button'], .g5 input[type="submit"],
.g5 .ui-link-button, .ui-button {
  padding: 0;
  padding-top: 5px;
  padding-bottom: 5px;
  font-weight: bold;
  display: block;
  border-radius: 15px;
  margin: 3px 0px;
  font-size: 1em; 
  border: 1px solid black;
  text-align: center;
  
  
  background-color: #ddd;
  background-image: -webkit-gradient(linear, left top, left bottom, from( #fafafa ), to( #cccccc )); 
  background-image: -webkit-linear-gradient( #fafafa, #cccccc);
  background-image: -moz-linear-gradient( #fafafa, #cccccc);
  background-image: -ms-linear-gradient( #fafafa, #cccccc);
  background-image: -o-linear-gradient( #fafafa, #cccccc);
  background-image: linear-gradient( #fafafa, #cccccc);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fafafa', endColorstr='#cccccc');
  
  border: 1px solid #aaa;
  text-shadow: 0 1px 1px rgba(255,0,0,0.2);
  
  color: #000;
  
  
}

/**
 * Styling for action buttons.
 */
.g5 input[type='button'].ui-action, .g5 input[type="submit"].ui-action,
.g5 .ui-link-button.ui-action {
    background-image: -webkit-linear-gradient( #fee47f, #feda4c);
  background-image: -webkit-gradient(linear, left top, left bottom, from( #fee47f ), to( #feda4c )); 
  background-image: -webkit-linear-gradient( #fee47f, #feda4c);
  background-image: -moz-linear-gradient( #fee47f, #feda4c);
  background-image: -ms-linear-gradient( #fee47f, #feda4c);
  background-image: -o-linear-gradient( #fee47f, #feda4c);
  background-image: linear-gradient( #fee47f, #feda4c);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fee47f', endColorstr='#feda4c');
  box-shadow: 0px 1px 1px #555;
  text-shadow: 1px 1px 1px #ddd;
  color: #000;

  border: 1px solid #fdca01;
  border-bottom: 1px solid #f0a513;
  
}

/* Styling for action buttons disabled */
.g5 input[type='button'].ui-action:disabled, .g5 input[type="submit"].ui-action:disabled,
.g5 .ui-link-button.ui-action:disabled{
  background: #eee;
  color: #999;
  border: 1px solid #fdca01;
  border-bottom: 1px solid #f0a513;
  box-shadow: none; 
  border: 1px solid #ddd;
}

/**
 * Styling for inline buttons.
 */
.g5 input[type='button'].ui-inline, .g5 input[type="submit"].ui-inline,
.g5 .ui-link-button.ui-inline {
  display: inline-block;
  width: auto;
}



/*
 * Search styling
 */
.g5 input[type="search"] {
  /* fixes disappearing edges on search with rounded corners in chrome */
  -webkit-appearance: none;
}


/*
 * Select styling
 */
.g5 select {
  width: 98%;
  border: 1px solid #aaa;
  border-radius: 10px;
  box-shadow: 1px 1px 1px #777;
  background: #fff;
  font-family: Source Sans Pro, Arial;
  /* outline: none; */
  padding: 5px 5px;
  display: block;
}


/**
 * Special output fields.
 */
/* Form fields */
.g5 .ui-field {
  margin: 0px 0px 10px 0px;
}

.g5 .required-flag {
  color: red;
  font-weight: 600;
}
/* Form field errors */
.g5 input.error {
  border-color: #f00;
  margin-top: 3px;
}

.g5 .ui-field-error {
  color: #e00;
  font-weight: 600;
  padding: 0 0px;
}
 
/* Address */
.g5 address {
  font-style: normal;
  margin-top: 5px;
  margin-bottom: 5px;
}

.g5 .ui-phone {
  display:inline-block;
  padding-left: 32px;
  /* TODO: Add retina equivalent */
  background: url("../images/icons/75-phone.png") no-repeat 5px 50%;
}

.g5 .ui-email {
  display:inline-block;
  padding-left: 32px;
  /* TODO: Add retina equivalent */
  background: url("../images/icons/18-envelope.png") no-repeat 5px 50%;
}

/**
 * Header Styles.
 */
.g5 .ui-header {
  background: #003366;
  color: #ffffff;
  font-weight: bold;
  position: absolute;
  z-index: 100;
  width: 100%;
  top: 0px;
  text-shadow: 0 1px 1px #222222;
  background-image: -webkit-gradient(linear, left top, left bottom, from( #336699 ), to( #003366 )); 
  background-image: -webkit-linear-gradient( #336699, #003366);
  background-image: -moz-linear-gradient( #336699, #003366);
  background-image: -ms-linear-gradient( #336699, #003366);
  background-image: -o-linear-gradient( #336699, #003366);
  background-image: linear-gradient( #336699, #003366);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#336699', endColorstr='#003366');
  height: 40px;
}

/* Page title */
.g5 .ui-header h1 {
  height: 24px;
  padding: 0px 0px 0px 0px;
  text-overflow: ellipsis;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  font-size: 1.15em;
}

/*
 * header table layout.
 */
.g5 .ui-header .ui-header-layout {
  border-collapse: collapse;
  table-layout: auto;
  width: 100%;
}

.g5 .ui-header .ui-header-layout > tbody > tr > td {
  padding: 1px 0px;
  height: 40px;
  white-space: nowrap;
}


.g5 .ui-header .ui-header-layout-middle {
}
.g5 .ui-header .ui-header-layout-left {
  text-align: left;
  width: 20%;
}

.g5 .ui-header .ui-header-layout-right {
  text-align: right;
  width: 23%;
}

/**
 * Titlebar buttons.
 */
.g5 .ui-header a.ui-titlebar-button {
  height: 28px;
  display: inline-block;
  vertical-align: bottom;
  text-decoration: none;
}
.g5 .ui-header .ui-titlebar-button {
  margin: 0 5px 0px 5px;
  height: 30px;
  line-height: 2em;
  padding: 0; 
  font-size: 0.9em;
  font-weight: 600;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 5px;

  border: 1px solid #003366;
  border-bottom: 1px solid #002255;
  
  color: #ffffff;
  text-shadow: 0 1px 1px #222222;
  box-shadow: 0px 1px 1px #555;
  
  background-image: -webkit-gradient(linear, left top, left bottom, from( #336699 ), to( #003366 )); 
  background-image: -webkit-linear-gradient(#336699, #003366);
  background-image: -webkit-linear-gradient( #336699, #003366);
  background-image: -moz-linear-gradient( #336699, #003366);
  background-image: -ms-linear-gradient( #336699, #003366);
  background-image: -o-linear-gradient( #336699, #003366);
  background-image: linear-gradient( #336699, #003366);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#336699', endColorstr='#003366');
  width: auto;
}


.g5 .ui-header .ui-header-layout-right .ui-titlebar-button {
  margin-right: 5px;
  margin-left: auto;
 }

/**
 * Footer styles.
 */
.g5 .ui-footer-bar {
  background: #147;
  color: #ffffff;
  font-weight: bold;
  position: absolute;
  z-index: 100;
  width: 100%;
  border-top: 1px solid #ddd;
  height: 40px;
  top: auto;
  bottom: 0;
  text-align: center;
}

/**
 * styling for footer buttons
 */
.g5 .ui-footer-bar .ui-button {
  
  cursor: pointer;
  margin: 5px 5px 0px 5px;
  height: 28px;
  line-height: 2em;
  padding: 0; 
  font-size: 0.9em;
  font-weight: 600;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 5px;

  background-color: #ddd;
  background-image: -webkit-gradient(linear, left top, left bottom, from( #fafafa ), to( #cccccc )); 
  background-image: -webkit-linear-gradient( #fafafa, #cccccc);
  background-image: -moz-linear-gradient( #fafafa, #cccccc);
  background-image: -ms-linear-gradient( #fafafa, #cccccc);
  background-image: -o-linear-gradient( #fafafa, #cccccc);
  background-image: linear-gradient( #fafafa, #cccccc);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fafafa', endColorstr='#cccccc');
  
  border: 1px solid #aaa;
  text-shadow: 0 1px 1px rgba(255,0,0,0.2);
  
  color: #000;
  box-shadow: 0px 1px 1px #555;
  border: 1px solid #777;
  box-shadow: none;
  width: auto;
  
  height: 28px;
  display: inline-block;
  vertical-align: bottom;
  text-decoration: none;
}

.g5 .ui-footer-bar .ui-button.ui-action {
  background-color: #fee57f;
  background-image: -webkit-gradient(linear, left top, left bottom, from( #fee47f ), to( #feda4c )); 
  background-image: -webkit-linear-gradient( #fee47f, #feda4c);
  background-image: -moz-linear-gradient( #fee47f, #feda4c);
  background-image: -ms-linear-gradient( #fee47f, #feda4c);
  background-image: -o-linear-gradient( #fee47f, #feda4c);
  background-image: linear-gradient( #fee47f, #feda4c);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fee47f', endColorstr='#feda4c');
  box-shadow: 0px 1px 1px #555;
  text-shadow: 1px 1px 1px #ddd;
  color: #000;

  border: 1px solid #fdca01;
  border-bottom: 1px solid #f0a513;
}  

.g5 .ui-footer-bar .ui-button.ui-neg-action {
  background-color: #980101;
  background-image: -webkit-gradient(linear, left top, left bottom, from( #fe6d6d ), to( #980101 )); 
  background-image: -webkit-linear-gradient( #fe6d6d, #980101);
  background-image: -moz-linear-gradient( #fe6d6d, #980101);
  background-image: -ms-linear-gradient( #fe6d6d, #980101);
  background-image: -o-linear-gradient( #fe6d6d, #980101);
  background-image: linear-gradient( #fe6d6d, #980101);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fe6d6d', endColorstr='#980101');
  box-shadow: 0px 1px 1px #555;
  text-shadow: 1px 1px 1px #222;
  color: #fff;

  border: 1px solid #fe6d6d;
  border-bottom: 1px solid #980101;
    
}

.g5 .ui-footer {
  width:100%;
  margin-top: 30px;
}

.g5 .ui-footer-layout {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  text-align: center;
}
 
/**
 * Main content.
 */
.g5 .ui-content {
  position:absolute; z-index:1;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
  width:100%;
  padding:0;
  max-height:1000000px;
  background-color: white;
}

.g5 .ui-scrollable {
  position:absolute; z-index:1;
  top:40px; bottom:0px; left:0;
  width:100%;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
  max-height:1000000px;
}

.g5 .ui-text-container {
  padding: 5px 10px;
  background-color: white;
}
/*
 * Listview styles.
 */
.g5 .ui-listview {
  margin: 0;
  padding: 0;
  border-top: 1px solid #ccc;
}

.g5 .ui-listview .ui-listitem,
.g5 .ui-listview .ui-multiline-listitem {
  list-style: none;
  background: #fff;
  border-bottom: 1px solid #ddd; 
  padding: 3px 10px;
  max-height: 1000000px;
}

.g5 .ui-listview.ui-field-output {
  border-top: 0;
}
.g5 .ui-listview.ui-field-output .ui-listitem,
.g5 .ui-listview.ui-field-output .ui-multiline-listitem{
  background: #fff;
  border: 0;
}

.g5 .ui-listview .ui-listitem {
  height: 28px;
  line-height: 28px;
  vertical-align: middle;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.g5 .ui-listview > li > a {
  color: #000;
  text-decoration: none;
  cursor: default;
  
}

.g5 .ui-listview > li > a {
  outline: none;
  cursor: pointer;
  font-weight: 400;
}

.g5 .ui-listview .ui-listitem:focus,
.g5 .ui-listview .ui-listitem:focus a,
.g5 .ui-listview .ui-multiline-listitem:focus,
.g5 .ui-listview .ui-multiline-listitem:focus a{
  background-image: -webkit-gradient(linear, left top, left bottom, from( #fafafa ), to( #eeeeee )); 
  background-image: -webkit-linear-gradient( #fafafa, #eeeeee);
  background-image: -moz-linear-gradient( #fafafa, #eeeeee);
  background-image: -ms-linear-gradient( #fafafa, #eeeeee);
  background-image: -o-linear-gradient( #fafafa, #eeeeee);
  background-image: linear-gradient( #fafafa, #eeeeee);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fafafa', endColorstr='#eeeeee');
}
.g5 .ui-listview .ui-listitem-link:hover,
.g5 .ui-listview .ui-multiline-listitem-link:hover {
  cursor: pointer;
  background-image: -webkit-gradient(linear, left top, left bottom, from( #fafafa ), to( #eeeeee )); 
  background-image: -webkit-linear-gradient( #fafafa, #eeeeee);
  background-image: -moz-linear-gradient( #fafafa, #eeeeee);
  background-image: -ms-linear-gradient( #fafafa, #eeeeee);
  background-image: -o-linear-gradient( #fafafa, #eeeeee);
  background-image: linear-gradient( #fafafa, #eeeeee);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fafafa', endColorstr='#eeeeee');
}


.g5 .ui-listview .ui-disclosure,
.g5 .ui-listview .ui-disclosure-info,
.g5 .ui-listview .ui-disclosure-edit  {
  margin-top: 5px;
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: auto;
  margin-right: 0px;
  right: 3px;
  left: auto;
  float: right;
  position: absolute;
  border-radius: 9px;
  background: #336699 url('../images/icons-18-white.png') no-repeat -108px 0px;
}

.g5 .ui-listview .ui-disclosure-info {
   background: #336699 url('../images/icons-18-white.png') no-repeat -540px 0px;
}

.g5 .ui-listview .ui-disclosure-edit {
  background: #336699 url("../images/icons/216-compose-w.png") no-repeat 50% 50%;
  background-size: 13px 10px;  
    
}


.g5 .ui-listview .ui-listitem.ui-list-icon {
  padding-left: 6px;
}

.g5 .ui-listview .ui-list-icon .ui-icon {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  margin-left: 0px;
  margin-right: 4px;
  display: block;
  float: left;
  background-size: 18px 18px;
  background-repeat: no-repeat;
}

.g5 .ui-listview .ui-multiline-listitem.ui-list-icon {
  padding-left: 28px;
}

.g5 .ui-listview .ui-multiline-listitem,
.g5 .ui-listview .ui-listitem {
  max-height: 1000000px;
  position: relative;
}

.g5 .ui-listview .ui-multiline-listitem .ui-description,
.g5 .ui-listview .ui-multiline-listitem .ui-other {
  display: block;
}

.g5 .ui-listview .ui-multiline-listitem .ui-other,
.g5 .ui-listview .ui-listitem .ui-other  {
  position: absolute;
  right: 10px;
  float: right;
}

.g5 .ui-listview .ui-multiline-listitem .ui-other {
  top: 5px;	
}

.g5 .ui-listview .ui-multiline-listitem-link .ui-other,
.g5 .ui-listview .ui-listitem-link .ui-other {
  right: 25px;
}

.g5 .ui-listview .ui-multiline-listitem .ui-description{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9em;
}

.g5 .ui-listview .ui-multiline-listitem .ui-icon {
  width: 18px;
  height: 18px;
  margin-left: -24px;
  margin-top: 10px;
  vertical-align: middle;
  display: block;
  float: left;
}

.g5 .ui-listview .ui-multiline-listitem .ui-disclosure,
.g5 .ui-listview .ui-multiline-listitem .ui-disclosure-info,
.g5 .ui-listview .ui-multiline-listitem .ui-disclosure-edit {
  margin-top: -10px;
  position: absolute;
  top: 50%;
  
}

.g5 .ui-listview .ui-multiline-listitem .ui-label.ui-fixed-80,
.g5 .ui-listview .ui-listitem .ui-label.ui-fixed-80  {
  width:80%;
  display:inline-block;
}

.g5 .ui-listview .ui-multiline-listitem-link {
  padding-right: 30px; 
}

.g5 .ui-listview .ui-listitem.ui-selected,
.g5 .ui-listview .ui-multiline-listitem.ui-selected {
  background: #ffd;
  
}

.g5 .ui-listview .ui-listitem.ui-divider {
  
  background-image: -webkit-gradient(linear, left top, left bottom, from( #ffffff ), to( #e5e5e5 )); 
  background-image: -webkit-linear-gradient( #ffffff, #e5e5e5);
  background-image: -moz-linear-gradient( #ffffff, #e5e5e5);
  background-image: -ms-linear-gradient( #ffffff, #e5e5e5);
  background-image: -o-linear-gradient( #ffffff, #e5e5e5);
  background-image: linear-gradient( #ffffff, #e5e5e5);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e5e5e5');
}

/**
 * Tab view styles.
 */
.g5 .ui-tab-container {
  display: table;
  width: 100%;
  background: #003366;
}
.g5 .ui-tabs {
  display: table-row;
  list-style: none;
  margin: 0;
  padding: 0;
  width:100%;
}

.g5 .ui-tabs .ui-tab {
  display: table-cell;
  background: #222;
  padding: 5px;
  padding-top: 7px;
  padding-bottom: 7px;
  text-align: center;
  border-top-left-radius: 3px;
  border-top-right-radius: 13px;
  border: 1px solid #222222;
  width: 50%;
  cursor:pointer;
  background-image: -webkit-gradient(linear, left top, left bottom, from( #aaaaaa ), to( #777777 )); 
  background-image: -webkit-linear-gradient( #aaaaaa, #777777);
  background-image: -moz-linear-gradient( #aaaaaa, #777777);
  background-image: -ms-linear-gradient( #aaaaaa, #777777);
  background-image: -o-linear-gradient( #aaaaaa, #777777);
  background-image: linear-gradient( #aaaaaa, #777777);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#aaaaaa', endColorstr='#777777');
  border-bottom: 1px solid #aaaaaa;
}


.g5 .ui-tabs .ui-tab img {
  vertical-align: middle;
}

.g5 .ui-tabs .ui-tab a {
  text-decoration: none;
  font-weight: bold;
  color: #000000;
  vertical-align: middle;
}

.g5 .ui-tabs .ui-tab.ui-active {
  background-image: -webkit-gradient(linear, left top, left bottom, from( #eeeeee ), to( #aaaaaa )); 
  background-image: -webkit-linear-gradient( #eeeeee, #aaaaaa);
  background-image: -moz-linear-gradient( #eeeeee, #aaaaaa);
  background-image: -ms-linear-gradient( #eeeeee, #aaaaaa);
  background-image: -o-linear-gradient( #eeeeee, #aaaaaa);
  background-image: linear-gradient( #eeeeee, #aaaaaa);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#aaaaaa');
  border-bottom: 1px solid #aaaaaa;

}

.g5 .ui-tabs .ui-tab.ui-active a{
  color: #000000;
}

/**
 * Page section styling.
 */
.g5 .ui-section {
  margin-top: 5px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.g5 .ui-section .ui-section-header {
  height: 30px;
  line-height: 30px;
  background-image: -webkit-gradient(linear, left top, left bottom, from( #eeeeee ), to( #aaaaaa )); 
  background-image: -webkit-linear-gradient( #eeeeee, #aaaaaa);
  background-image: -moz-linear-gradient( #eeeeee, #aaaaaa);
  background-image: -ms-linear-gradient( #eeeeee, #aaaaaa);
  background-image: -o-linear-gradient( #eeeeee, #aaaaaa);
  background-image: linear-gradient( #eeeeee, #aaaaaa);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#aaaaaa');
  
  
  
  background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */  
  
  padding-left: 10px;
  padding-right: 10px; 
}

.g5 .ui-section .ui-section-body {
  background-color: #fff;
  padding: 5px 10px;
}

/**
 * Collapsible section.
 */
.g5 .ui-collapsible-section {
  margin-top: 0px;
  border-top: 1px solid #ccc;
  /* border-bottom: 1px solid #ccc; */
  background-color: #fff;
}

.g5 .ui-collapsible-section .ui-collapsible-section-header {
 background-image: -webkit-gradient(linear, left top, left bottom, from( #eeeeee ), to( #aaaaaa )); 
  background-image: -webkit-linear-gradient( #eeeeee, #aaaaaa);
  background-image: -moz-linear-gradient( #eeeeee, #aaaaaa);
  background-image: -ms-linear-gradient( #eeeeee, #aaaaaa);
  background-image: -o-linear-gradient( #eeeeee, #aaaaaa);
  background-image: linear-gradient( #eeeeee, #aaaaaa);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#aaaaaa'); 
  border-bottom: 1px solid #ccc;
  padding: 6px 0px 6px 28px;
  background: #eee;
  background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */
  overflow:hidden;
  white-space:nowrap;;
  text-overflow:ellipsis;
}

.g5 .ui-collapsible-section .ui-collapsible-section-body {
  background-color: #fff;
  overflow:hidden;
}

.g5 .ui-collapsible-section .ui-collapsed {
  height: 18px;
  width: 18px;
  left:5px;
  position:absolute;
  background-color: #aaa;
  border-radius: 9px;
  background: #336699 url("../images/icons-18-white.png") no-repeat -108px 0px;
}

.g5 .ui-collapsible-section .ui-expanded {
  height: 18px;
  width: 18px;
  left:5px;
  position:absolute;
  background-color: #aaa;
  border-radius: 9px;
  background: #336699 url("../images/icons-18-white.png") no-repeat -216px 0px;
}

/**
 * Collapsible article.
 */
.g5 .ui-collapsible-article {
  margin-top: 3px;
  margin-bottom: 3px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background-color: #fff;
}

.g5 .ui-collapsible-article .ui-collapsible-article-header {
  background-image: -webkit-gradient(linear, left top, left bottom, from( #ffffff ), to( #e5e5e5 )); 
  background-image: -webkit-linear-gradient( #ffffff, #e5e5e5);
  background-image: -moz-linear-gradient( #ffffff, #e5e5e5);
  background-image: -ms-linear-gradient( #ffffff, #e5e5e5);
  background-image: -o-linear-gradient( #ffffff, #e5e5e5);
  background-image: linear-gradient( #ffffff, #e5e5e5);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e5e5e5');
  border-bottom: 1px solid #ccc;
  padding: 3px 10px;
  overflow:hidden;
  white-space:nowrap;;
  text-overflow:ellipsis;
}

.g5 .ui-collapsible-article .ui-collapsible-article-header .ui-icon {
  margin: 0;
  margin-left: 2px;
  padding: 0;
  margin-top: -12px;
}

.g5 .ui-collapsible-article .ui-collapsible-article-body {
  background-color: #fff;
  padding: 5px 10px 10px 10px;
  max-height: 300px;
  overflow:hidden;
}

.g5 .ui-collapsible-article .ui-collapsible-article-body .ui-collapsible-article-caption {
  font-size: 0.75em;
  margin: 2px 0px 5px 0px;
}

.g5 .ui-collapsible-article .ui-collapsible-article-header .ui-icon {
  display: block;
  height: 18px;
  width: 18px;
  float: left;
  margin-top: 6px;
  margin-right: 4px;
  background-size: 18px 18px;
}

.g5 .ui-collapsible-article .ui-collapsible-article-header .ui-icon.ui-icon-car {
  height: 12px;
  width: 18px;
  margin-top: 10px;
  background-size: 18px 12px;
}

.g5 .ui-collapsible-article .ui-collapsible-article-indicator {
  height: 20px;
}

.g5 .ui-collapsible-article .ui-collapsible-article-indicator .ui-collapsed {
  height: 18px;
  width: 18px;
  display: block;
  margin-right:10px;
  margin-left: auto;
  background-color: #aaa;
  border-radius: 9px;
  background: #336699 url("../images/icons-18-white.png") no-repeat -216px 0px;
}

.g5 .ui-collapsible-article .ui-collapsible-article-indicator .ui-expanded {
  height: 18px;
  width: 18px;
  display: block;
  margin-right:10px;
  margin-left: auto;
  background-color: #aaa;
  border-radius: 9px;
  background: #336699 url("../images/icons-18-white.png") no-repeat -180px 0px;
}
 
/**
 * Main menu styling.
 */
.g5 .ui-menu-container,
.g5 .ui-menu-container-fixed { 
  background: #ddd;
  position: fixed;
  top: 40px;
  overflow: auto;
  width: 100%;
  z-index: 1000;
  box-shadow: 1px 0px 20px #333;
  padding: 10px 0px;
  background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */
  background: -moz-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */
}
.g5 .ui-menu-container-fixed {
  position: static;
  border-bottom: 2px solid #999;
}
.g5 .ui-menu-button {
  margin-right: 10px;
  margin-left:10px;
  margin-bottom: 8px;
  margin-top: 4px;
  text-align: center;
  float: left;
  text-decoration: none;
  display: inline-block;
  width: 80px;
}

.g5 .ui-menu-button:hover .ui-app-button,
.g5 .ui-menu-button:active .ui-app-button,
.g5 .ui-menu-button:focus .ui-app-button  {
  border: 2px solid #6699cc;
  background-image: -webkit-gradient(linear, left top, left bottom, from( #ffffff ), to( #aaccee )); 
  background-image: -webkit-linear-gradient( #ffffff, #aaccee);
  background-image:    -moz-linear-gradient( #ffffff, #aaccee);
  background-image:     -ms-linear-gradient( #ffffff, #aaccee);
  background-image:      -o-linear-gradient( #ffffff, #aaccee);
  background-image:         linear-gradient( #ffffff, #aaccee);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#aaccee');
} 

.g5 .ui-app-button {
  width: 40px;
  height: 40px;
  background: #eee;
  border-radius: 8px;
  border: 2px solid #ccc;
  box-shadow: 2px 2px 10px #333;
  display: block;
  padding: 5px;
  background-image: -webkit-gradient(linear, left top, left bottom, from( #ffffff ), to( #e5e5e5 )); 
  background-image: -webkit-linear-gradient( #ffffff, #e5e5e5);
  background-image:    -moz-linear-gradient( #ffffff, #e5e5e5);
  background-image:     -ms-linear-gradient( #ffffff, #e5e5e5);
  background-image:      -o-linear-gradient( #ffffff, #e5e5e5);
  background-image:         linear-gradient( #ffffff, #e5e5e5);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e5e5e5');
  margin-left: auto;
  margin-right: auto;
}

.g5 .ui-app-button-label {
  display: block;
  font-weight: bold;
  color: #111111;
  text-shadow: 1px 1px 1px #eeeeee;
  margin: 5px 0px 0px 0px;
}

.g5 .ui-app-button-image  {
  display: block;
  width: 40px;
  height: 40px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}


.g5 .ui-profile {
  background-image: url("../images/icons/123-id-card.png");
}

.g5 .ui-home{
  background-image: url("../images/icons/53-house.png");
}


.g5 .ui-myawards {
  background-image: url("../images/icons/85-trophy.png");
}

.g5 .ui-links {
  background-image: url("../images/icons/259-list.png");
}

.g5 .ui-helpdesk {
  background-image: url("../images/icons/75-phone.png");
}

.g5 .ui-logout {
  background-image: url("../images/icons/63-runner.png");
}

.g5 .ui-payments {
  background-image: url("../images/icons/190-bank.png");
}

/**
 * Dialog styling.
 */
.g5 .ui-dialog {
  position:fixed;
  top:30%;
  left:5%; 
  width:90%;
  border:1px solid #ccc;
  display:none;
  background-color:#ffffff;
  z-index:1000;
}

.g5 .ui-dialog .ui-dialog-header {
  height: 30px;
  line-height: 30px;
  background-image: -webkit-gradient(linear, left top, left bottom, from( #eeeeee ), to( #aaaaaa )); 
  background-image: -webkit-linear-gradient( #eeeeee, #aaaaaa);
  background-image: -moz-linear-gradient( #eeeeee, #aaaaaa);
  background-image: -ms-linear-gradient( #eeeeee, #aaaaaa);
  background-image: -o-linear-gradient( #eeeeee, #aaaaaa);
  background-image: linear-gradient( #eeeeee, #aaaaaa);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#aaaaaa');
  padding-left: 10px;
  padding-right: 10px; 
}

.g5 .ui-dialog .ui-dialog-body {
  padding: 10px; 
}

.g5 .ui-dialog .ui-dialog-actions {
  text-align: center;
  padding-bottom: 10px;
}

.g5 .ui-dialog .ui-dialog-actions .ui-button,
.g5 .ui-dialog .ui-dialog-actions .ui-action {
  cursor: pointer;
  margin: 5px 5px 0px 5px;
  height: 28px;
  line-height: 2em;
  padding: 0; 
  font-size: 0.9em;
  font-weight: 600;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 5px;
  
}

.g5 .ui-overlay {
  display:none;
  position:fixed;
  top:40px;
  left:0;
  bottom:0;
  overflow:hidden;
  opacity:.70;
  filter:alpha(opacity=70);
  background-color:#000000;
  width:100%;
  z-index:999;
}

/**
 * Background decorations.
 */
.g5 .ui-back {
  padding-left: 16px !important;
  background-image: url("../images/icons/49-play-reversed.png") !important;
   background-repeat: no-repeat;
   background-position: 5px 50%;
}

.g5 .ui-menu {
  background: transparent url('../images/icons/menu.png') no-repeat 50% 50%!important;
  width: 36px !important;
}


.g5 .ui-phone {
  display:inline-block;
  padding-left: 24px;
  background: url("../images/icons/75-phone.png") no-repeat 5px 50%;
  background-size: 16px 16px;
}

.g5 .ui-fax {
  display:inline-block;
  padding-left: 24px;
  background: url("../images/icons/185-printer.png") no-repeat 5px 50%;
  background-size: 16px 16px;
}


.g5 .ui-email {
  display:inline-block;
  padding-left: 24px;
  background: url("../images/icons/18-envelope.png") no-repeat 5px 50%;
  background-size: 16px 12px;
}

.g5 .ui-icon-pdf {
  background: url("../images/pdf.png") no-repeat 0px 50%;
  background-size: 18px 18px;
}

.g5 .ui-icon-plus {
  background-image: url("../images/icons/05-plus.png");
  background-repeat: no-repeat;
  background-position: 0px 50%;
}

.g5 .ui-icon-compose {
  background: url("../images/icons/216-compose.png") no-repeat 0px 60%;
  background-size: 18px 14px;
}

.g5 .ui-icon-compose-w {
  background: url("../images/icons/216-compose-w.png") no-repeat 0px 60%;
  background-size: 18px 14px;
}


.g5 .ui-icon-flag-red {
    background: url('../images/red_flag.png');
    background-size: 18px 18px;
}

.g5 .ui-icon-flag-yellow {
  background: url('../images/yellow_flag.png');
  background-size: 18px 18px;
}

.g5 .ui-icon-loading {
    display: block;
    margin: 2px auto -2px auto;
    width: 37px;
    height: 37px;
    background: url('../images/ajax-loader.gif') no-repeat;
}

.g5 .ui-icon-pending {
  background: url('../images/icons/11-clock.png');
}

.g5 .ui-icon-accepted {
  background: url('../images/icons/19-circle-check.png');
}

.g5 .ui-icon-rejected {
  background: url('../images/icons/37-circle-x.png');
  background-size: 18px 18px;
}

.g5 .ui-icon-rejected-w {
  background: url('../images/icons/37-circle-x-w.png');
  background-size: 18px 18px;
}

.g5 .ui-icon-draft {
  background: url('../images/icons/179-notepad.png');
}


.g5 .ui-warning-message {
  background-color: #ffffdd;
  background-position: 10px 50%;
  background-repeat: no-repeat;
  background-image: url("../images/icons/184-warning-y.png");
  background-size: 18px 16px;
  padding-left: 38px;
  border: 2px solid #f6cd00;
  font-weight: 600;
}

.g5 .ui-warning-message a {
  color: #000;
}

.g5 .ui-success-message {
  background-color: #d5efd3;
  background-position: 10px 50%;
  background-repeat: no-repeat;
  background-image: url("../images/icons/19-circle-check.png");
  background-size: 18px 16px;
  padding-left: 38px;
  border: 2px solid #7ccf76;
  font-weight: 600;
  color: #135510;
  
}

.g5 .ui-success-message a {
  color: #135510;
}

.g5 .ui-error-message {
  background-color: #FFDFDF;
  background-position: 10px 50%;
  background-repeat: no-repeat;
  color: #7F0F0F;
  background-image: url("../images/icons/37-circle-x.png");
  background-size: 18px 16px;
  padding-left: 38px;
  border: 2px solid #f5aeae;
  font-weight: 600;
}

.g5 .ui-error-message a {
  color: #7F0F0F;
}

/**
 * Background decorations and retina displays.
 */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
  .g5 .ui-listview .ui-disclosure,
  .g5 .ui-listview .ui-multiline-listitem .ui-disclosure {
   background: #336699 url('../images/icons-36-white.png') no-repeat -108px 0px;
   background-size: 776px 18px;
  }
  
  .g5 .ui-listview .ui-disclosure-info,
  .g5 .ui-listview .ui-multiline-listitem .ui-disclosure-info {
     background: #336699 url('../images/icons-36-white.png') no-repeat -540px 0px;
     background-size: 776px 18px;
  }
  
  .g5 .ui-collapsible-section .ui-collapsed {
    background: #336699 url("../images/icons-36-white.png") no-repeat -108px 0px;
    background-size: 776px 18px;
  }
  .g5 .ui-collapsible-section .ui-expanded {
    background: #336699 url("../images/icons-36-white.png") no-repeat -216px 0px;
    background-size: 776px 18px;
  }

  .g5 .ui-back {
    background-image: url("../images/icons/49-play-reversed@2x.png") !important;
    background-size: 5px 10px;
  }
  
  .g5 .ui-menu {
    background: transparent url('../images/icons/menu@2x.png') no-repeat 50% 50%!important;
    background-size: 18px 18px;
  }

   .g5 .ui-collapsible-article .ui-collapsible-article-indicator .ui-collapsed {
   background: #336699 url("../images/icons-36-white.png") no-repeat -216px 0px;
   background-size: 776px 18px;
  }
  .g5 .ui-collapsible-article .ui-collapsible-article-indicator .ui-expanded {
   background: #336699 url("../images/icons-36-white.png") no-repeat -180px 0px;
   background-size: 776px 18px;
  }
  
  .g5 .ui-phone {
    background: url("../images/icons/75-phone@2x.png") no-repeat 5px 50%;
    background-size: 16px 16px;
  }

  .g5 .ui-fax {
    background: url("../images/icons/185-printer@2x.png") no-repeat 5px 50%;
    background-size: 16px 16px;
  }
  
  .g5 .ui-email {
    background: url("../images/icons/18-envelope@2x.png") no-repeat 5px 50%;
    background-size: 16px 12px;
  }

  .g5 .ui-icon-compose {
    background-image: url("../images/icons/216-compose@2x.png");
    background-size: 18px 14px;
  }

  .g5 .ui-icon-compose-w {
    background-image: url("../images/icons/216-compose-w.png");
    background-size: 18px 14px;
  }
  
  
  .g5 .ui-icon-flag-red {
    background: url('../images/red_flag.png');
    background-size: 18px 18px;
  }

  .g5 .ui-icon-flag-yellow {
    background: url('../images/yellow_flag.png');
    background-size: 18px 18px;
  }

  .g5 .ui-icon-loading {
    background: url('../images/ajax-loader.gif') no-repeat;
  }

  .g5 .ui-icon-pending {
    background-image: url('../images/icons/11-clock@2x.png');
    background-size: 18px 18px;
  }

  .g5 .ui-icon-accepted {
    background-image: url('../images/icons/19-circle-check@2x.png');
    background-size: 18px 18px;
  }

  .g5 .ui-icon-rejected {
    background-image: url('../images/icons/37-circle-x@2x.png');
    background-size: 18px 18px;
  }
  
  .g5 .ui-icon-rejected-w {
    background-image: url('../images/icons/37-circle-x-w@2x.png');
    background-size: 18px 18px;
  }
  
  .g5 .ui-icon-draft {
    background-image: url('../images/icons/179-notepad@2x.png');
    background-size: 18px 18px;
  }
  
  .g5 .ui-profile {
    background-image: url("../images/icons/123-id-card@2x.png");
    background-size: 24px 17px;
  }

  .g5 .ui-home{
    background-image: url("../images/icons/53-house@2x.png");
    background-size: 22px 22px;
  }
  
  .g5 .ui-myawards {
    background-image: url("../images/icons/85-trophy@2x.png");
    background-size: 24px 24px;
  }
  
  .g5 .ui-links {
    background-image: url("../images/icons/259-list@2x.png");
    background-size: 20px 14px;
  }
  

  .g5 .ui-helpdesk {
    background-image: url("../images/icons/75-phone@2x.png");
    background-size: 24px 24px;
  }

  .g5 .ui-logout {
    background-image: url("../images/icons/63-runner@2x.png");
    background-size: 18px 25px;
  }

  .g5 .ui-payments {
    background-image: url("../images/icons/190-bank@2x.png");
    background-size: 26px 22px;
  }
  

  .g5 .ui-warning-message {
    background-image: url("../images/icons/184-warning-y@2x.png");
  }
  .g5 .ui-success-message {
    background-image: url("../images/icons/19-circle-check@2x.png");
  }
}
  
  
 
/**
 * Hints.
 */

.g5 .ui-hint-container {
  position: fixed;
  left: 0; top: 0;
  z-index: 99;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  height: 100%;
}
.g5 .ui-hint-container canvas {
  position: fixed;
}

.g5 .ui-hint {
  border: 1px solid #222;
  border-radius: 10px;
  background-color: #000;
  width: 150px;
  color: white;
  position: absolute;
}

.g5 .ui-hint-title {
  background-color: #000;
  padding: 4px 8px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.g5 .ui-hint-content {
  padding: 5px 8px;
}

.g5 .ui-hint canvas {
  position: fixed;
  height: 100%;
  width: 100%;
  border: 2px solid white;
}

.g5 .ui-hint .ui-hint-left {
  display: block;
  float: left;
  width: 18px;
  height: 18px;
  position: absolute;
  z-index: 1000;
  left: -18px;
  top: 32px;
/*   background: #000 url('../images/icons-18-white.png') no-repeat -144px 0px;  */
}
.g5 .ui-hint .ui-hint-inst {
  font-size: 0.7em;
  font-style: italic;
  text-align: right;
}

.ui-header-right {
z-index:2;top: 5px;
position:absolute;
right:0;
  }
  
  .ui-header-left {
position:absolute;
left:0;top: 5px;
z-index:2;  }
  
  .ui-header-title {
width:100%;
position:absolute;
display:block;
top: 5px;
text-align: center;
z-index:1;
font-size:1.25em;
  }
  
.ui-aside {
  display: inline-block;
  position: absolute;
  right: 10px;
  font-weight: 400;
  font-size: 0.8em;
}

.currency-input {
  position:relative;  
}

.currency-input .currency {
  padding-left:20px;
}

.currency-input .currency-symbol {
  position:absolute;
  top:5px;
  left:10px;
}


.ui-collapsible-section-header-label {
  position: absolute;
  border: 1px solid red;
  z-index: 10;
}
.ui-aria-label {
  position: relative;
  display: block;
  width: 4px;
  overflow: hidden;
  height: 0px;
  z-index: 10;
  /* border: 1px solid red; */
  color: transparent;
}


 .ui-ibm-event-calendar table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}

.ui-ibm-event-calendar table > tbody > tr > td {
  vertical-align: top;
  width: 14%;
  overflow: hidden;
  border: 1px solid #ccc;
}

.ui-ibm-calendar-day {
  font-family: "Source Sans Pro";
  font-size: 14px;
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
  font-weight: 300;
  height: 35px;
}
.ui-ibm-dialog-events,
.ui-ibm-dialog-events li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.ibm-cal-day-busy .ui-ibm-calendar-day {
  font-weight: 600;
}

.ui-ibm-event {
  text-align: center;
  font-size: 20px;
}

.ui-ibm-calendar-controls {
  border-collapse: collapse;
}

.ui-ibm-event-calendar table.ui-ibm-calendar-controls > tbody > tr > td {
  border: none;
  white-space: nowrap;
}


.ui-ibm-event-calendar h3 {
  margin: 0;
}

.ui-ibm-calendar-title {
  text-align: left;
  vertical-align: middle;
}

.ui-ibm-calendar-buttons {
  text-align: right;
}
.ui-ibm-calendar-buttons button {
  width: 75px;
  display: inline;
}

.ui-ibm-aria-label, .ibm-aria-label {
  color: transparent;
  position: relative;
  overflow: hidden;
  display: block;
  width: 5px !important;
  height: 1px !important;
  font-size: 3px;
 /*border: 1px solid blue;*/
}

.ui-widget-header {
  background-color: #336699;
  color: white;
  text-shadow: 1px 1px 1px #000;
}

.ui-state-highlight {
  background-color: #ffe45c;
}

/*! jQuery UI - v1.10.2 - 2013-04-15
* http://jqueryui.com
* Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.button.css, jquery.ui.dialog.css
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
* Copyright 2013 jQuery Foundation and other contributors Licensed MIT */

/* Layout helpers
----------------------------------*/
.ui-helper-hidden {
  display: none;
}
.ui-helper-hidden-accessible {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
.ui-helper-reset {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  line-height: 1.3;
  text-decoration: none;
  font-size: 100%;
  list-style: none;
}
.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
  content: "";
  display: table;
  border-collapse: collapse;
}
.ui-helper-clearfix:after {
  clear: both;
}
.ui-helper-clearfix {
  min-height: 0; /* support: IE7 */
}
.ui-helper-zfix {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  opacity: 0;
  filter:Alpha(Opacity=0);
}

.ui-front {
  z-index: 100;
}


/* Interaction Cues
----------------------------------*/
.ui-state-disabled {
  cursor: default !important;
}


/* Icons
----------------------------------*/

/* states and images */
.ui-icon {
  display: block;
  text-indent: -99999px;
  overflow: hidden;
  background-repeat: no-repeat;
}


/* Misc visuals
----------------------------------*/

/* Overlays */
.ui-widget-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.ui-resizable {
  position: relative;
}
.ui-resizable-handle {
  position: absolute;
  font-size: 0.1px;
  display: block;
}
.ui-resizable-disabled .ui-resizable-handle,
.ui-resizable-autohide .ui-resizable-handle {
  display: none;
}
.ui-resizable-n {
  cursor: n-resize;
  height: 7px;
  width: 100%;
  top: -5px;
  left: 0;
}
.ui-resizable-s {
  cursor: s-resize;
  height: 7px;
  width: 100%;
  bottom: -5px;
  left: 0;
}
.ui-resizable-e {
  cursor: e-resize;
  width: 7px;
  right: -5px;
  top: 0;
  height: 100%;
}
.ui-resizable-w {
  cursor: w-resize;
  width: 7px;
  left: -5px;
  top: 0;
  height: 100%;
}
.ui-resizable-se {
  cursor: se-resize;
  width: 12px;
  height: 12px;
  right: 1px;
  bottom: 1px;
}
.ui-resizable-sw {
  cursor: sw-resize;
  width: 9px;
  height: 9px;
  left: -5px;
  bottom: -5px;
}
.ui-resizable-nw {
  cursor: nw-resize;
  width: 9px;
  height: 9px;
  left: -5px;
  top: -5px;
}
.ui-resizable-ne {
  cursor: ne-resize;
  width: 9px;
  height: 9px;
  right: -5px;
  top: -5px;
}
.ui-button {
  display: inline-block;
  position: relative;
  padding: 0;
  line-height: normal;
  margin-right: .1em;
  cursor: pointer;
  vertical-align: middle;
  text-align: center;
  overflow: visible; /* removes extra width in IE */
}
.ui-button,
.ui-button:link,
.ui-button:visited,
.ui-button:hover,
.ui-button:active {
  text-decoration: none;
}
/* to make room for the icon, a width needs to be set here */
.ui-button-icon-only {
  width: 2.2em;
}
/* button elements seem to need a little more width */
button.ui-button-icon-only {
  width: 2.4em;
}
.ui-button-icons-only {
  width: 3.4em;
}
button.ui-button-icons-only {
  width: 3.7em;
}

/* button text element */
.ui-button .ui-button-text {
  display: block;
  line-height: normal;
}
.ui-button-text-only .ui-button-text {
  padding: .4em 1em;
}
.ui-button-icon-only .ui-button-text,
.ui-button-icons-only .ui-button-text {
  padding: .4em;
  text-indent: -9999999px;
}
.ui-button-text-icon-primary .ui-button-text,
.ui-button-text-icons .ui-button-text {
  padding: .4em 1em .4em 2.1em;
}
.ui-button-text-icon-secondary .ui-button-text,
.ui-button-text-icons .ui-button-text {
  padding: .4em 2.1em .4em 1em;
}
.ui-button-text-icons .ui-button-text {
  padding-left: 2.1em;
  padding-right: 2.1em;
}
/* no icon support for input elements, provide padding by default */
input.ui-button {
  padding: .4em 1em;
}

/* button icon element(s) */
.ui-button-icon-only .ui-icon,
.ui-button-text-icon-primary .ui-icon,
.ui-button-text-icon-secondary .ui-icon,
.ui-button-text-icons .ui-icon,
.ui-button-icons-only .ui-icon {
  position: absolute;
  top: 50%;
  margin-top: -8px;
}
.ui-button-icon-only .ui-icon {
  left: 50%;
  margin-left: -8px;
}
.ui-button-text-icon-primary .ui-button-icon-primary,
.ui-button-text-icons .ui-button-icon-primary,
.ui-button-icons-only .ui-button-icon-primary {
  left: .5em;
}
.ui-button-text-icon-secondary .ui-button-icon-secondary,
.ui-button-text-icons .ui-button-icon-secondary,
.ui-button-icons-only .ui-button-icon-secondary {
  right: .5em;
}

/* button sets */
.ui-buttonset {
  margin-right: 7px;
}
.ui-buttonset .ui-button {
  margin-left: 0;
  margin-right: -.3em;
}

/* workarounds */
/* reset extra padding in Firefox, see h5bp.com/l */
input.ui-button::-moz-focus-inner,
button.ui-button::-moz-focus-inner {
  border: 0;
  padding: 0;
}
.ui-dialog {
  position: absolute;
  top: 0;
  left: 0;
  padding: .2em;
  outline: 0;
}
.ui-dialog .ui-dialog-titlebar {
  padding: .4em 1em;
  position: relative;
}
.ui-dialog .ui-dialog-title {
  float: left;
  margin: .1em 0;
  white-space: nowrap;
  width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ui-dialog .ui-dialog-titlebar-close {
  position: absolute;
  right: .3em;
  top: 50%;
  width: 21px;
  margin: -10px 0 0 0;
  padding: 1px;
  height: 20px;
}
.ui-dialog .ui-dialog-content {
  position: relative;
  border: 0;
  padding: .5em 1em;
  background: none;
  overflow: auto;
}
.ui-dialog .ui-dialog-buttonpane {
  text-align: left;
  border-width: 1px 0 0 0;
  background-image: none;
  margin-top: .5em;
  padding: .3em 1em .5em .4em;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
  float: right;
}
.ui-dialog .ui-dialog-buttonpane button {
  margin: .5em .4em .5em 0;
  cursor: pointer;
}
.ui-dialog .ui-resizable-se {
  width: 12px;
  height: 12px;
  right: -5px;
  bottom: -5px;
  background-position: 16px 16px;
}
.ui-draggable .ui-dialog-titlebar {
  cursor: move;
}
.ui-icon-closethick {
  width: 16px;
  height: 16px;
  background-image: url('../images/icons-18-black.png');
  background-repeat: no-repeat;
  background-position: -74px;
}

.ui-widget-overlay {
   opacity:.70;
  filter:alpha(opacity=70);
  background-color:#000000;
}
/* 
* {
    border: 1px solid green !important;
  }
.ui-aria-label {
  border: 1px solid red !important;
  }
*:focus {
  outline: 0;
  border: 1px solid blue !important;
}

*:hover {
  border: 2px solid black !important; 
}
 */