div#feedback {
  position: fixed;
  top: 220px;
  right: -6px;
}

div#feedback:hover {
  right: 0px;
}

div.close {
  float: right;
  cursor: pointer;
  border: solid;
  border-width: 1px;
  text-align: center;
  border-radius: 50%;
  width: 1.2em;
  color: gray;
  font-family: arial, sans-serif;
}

div.docview {
  margin: 1em;
  border: 4px solid #e4e4e4;
  float: left;
  width: 60%;
  height: 710px;
  background-color: #aaa;
}

div.docview img {
  width: 100%;
}

div.docdata {
  float: left;
  margin: 0 0 0 12px;
}

form#signform {
  width: 400px;
}

div.controlbar {
  background-color: #eee;
  border: 1px solid #aaa;
  padding: 6px 4px;
}

p.imageerrortext {
  cursor: pointer;
  text-decoration: underline;
  color: blue;
  padding-top: 20px;
}

#document {
  border: 1px solid #aaa;
}

#document {
  border-top: 0;
  border-bottom: 0;
}

div.controlbar li {
  vertical-align: middle;
  display: inline-block;
  margin-bottom: 0;
  /* IE7 */
  zoom: 1;
  *display: inline;
}

div.controlbar .button {
  margin: 0;
  width: 32px;
  height: 26px;
  position: relative;
  /* To solve ie background-image bug */
}

div.controlbar ul {
  margin: 0;
  padding: 0 20px;
}

div.controlbar .button>span {
  font-size: 0.8em;
  display: none;
}

li.go_first {
  background-image: url(../images/player/start.png);
  background-repeat: no-repeat;
}

li.go_last {
  background-image: url(../images/player/end.png);
  background-repeat: no-repeat;
}

li.go_next {
  background-image: url(../images/player/next.png);
  background-repeat: no-repeat;
}

li.go_previous {
  background-image: url(../images/player/previous.png);
  background-repeat: no-repeat;
}

li.zoom_plus {
  background-image: url(../images/player/zoom.png);
  background-repeat: no-repeat;
}

li.zoom_minus {
  background-image: url(../images/player/zoom_minus.png);
  background-repeat: no-repeat;
}

.download {
  background-image: url(../images/page_white_text.png);
  background-repeat: no-repeat;
  padding-left: 20px;
  height: 16px;
  display: inline-block;
}

.pdfdownload {
  background-image: url(../images/page_white_acrobat.png);
  background-repeat: no-repeat;
  padding-left: 20px;
  height: 16px;
  display: inline-block;
}

span.status {
  display: block;
  height: 18px;

  background-repeat: no-repeat;
}

span.status>span {
  display: none;
}

.button-cell {
  text-align: center;
  padding: 4px;
}

.status {
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: top center;
  width: 48px;
  display: block-inline;
  background-position: left;
}

.expired {
  background-image: url(../images/clock_red.png);
}

.comment {
  background-image: url(../images/comments.png);
}

.noreqs {
  background-image: url(../images/email_edit.png);
}

.notsent {
  background-image: url(../images/email_delete.png);
}

.sent {
  background-image: url(../images/email_go.png);
}

.pendingapproval {
  background-image: url(../images/magnifier.png);
}

.partsigned {
  background-image: url(../images/add.png);
}

.warning {
  background-image: url(../images/error.png);
}

.no_oncopy {}

.calculatingStatus {
  background-image: url(../images/ajax-loader-bw-mini.gif);
}

.oncopy_notified,
.signed,
.selfsigned,
.presigned {
  background-image: url(../images/tick.png);
}

.approved {
  background-image: url(../images/tick_orange.png);
}

.oncopysent {
  background-image: url(../images/email_link.png);
}

.rejected {
  background-image: url(../images/cross.png);
}

.erroneous {
  background-image: url(../images/exclamation.png);
}

td .error {
  background-image: url(../images/exclamation.png);
  display: block;
  /*background-position: top center;*/
}

.compact-text {
  line-height: 1.2em;
  margin-bottom: 8px;
}

.help {
  background-image: url(../images/iconInformation.gif);
  background-repeat: no-repeat;
  background-position: center;
}

.helpInfo {
  border: 1px dotted;
  background-color: #fff4e5;
  padding: 4px;
  line-height: 1.4em;
  margin: 8px 0;
  min-height: 3em;
}

/* we need some of this else the CSS cascade takes some other selectors as more specific (e.g. form li p) */
.legalInfo,
p.legalInfo,
li.legalInfo,
div.legalInfo {
  font-style: italic;
  font-size: 90%;
  color: #555;
  padding: 4px;
  line-height: 1.4em;
  max-width: 800px;
}

div.infobox {
  width: 600px;
  border-width: 2px;
  border-style: solid;
  padding: 8px 16px 16px 48px;
  line-height: 1.4em;
  margin: 8px 0;
  font-size: 1.1em;
  border-color: #888;
}

div.warning {
  background: #ffe url(../images/error.png) no-repeat 16px 24px;
  border-color: #aa8;
}

div.info {
  background: #eef url(../images/information.png) no-repeat 16px 24px;
  border-color: #88a;
}

div.mail {
  background: #eef url(../images/email.png) no-repeat 16px 24px;
  border-color: #88a;
}

div.success {
  background: #efe url(../images/tick.png) no-repeat 16px 24px;
  border-color: #8a8;
}

p.warning {
  margin: 0 10px 0 0;
}

.signature-ok,
.signature-error {
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: top left;
  padding-left: 18px;
}

.signature-ok {
  background-image: url(../images/tick.png);
}

.signature-error {
  background-image: url(../images/cross.png);
}

.signature-certificate-key {
  font-style: italic;
  color: gray;
  font-size: 0.9em;
  text-align: right;
  padding-right: 4px;
}

.signature-certificate-value {
  font-size: 0.9em;
}

.certificate td.signature-certificate-key,
.certificate td.signature-certificate-value {
  border-width: 0px;
  padding: 0px;
}

.signature-signer {
  background: #e0e0ff url(../images/plus.gif) no-repeat 6px 6px;
  padding-left: 20px;
}

.signature-signer.open {
  background: #bbbbdd url(../images/minus.gif) no-repeat 6px 6px;
  padding-left: 20px;
}

.certificate-auth {
  background: url(../images/plus.gif) no-repeat 6px 6px;
  padding: 3px 2px 2px 20px;
}

.certificate-auth.open {
  background: url(../images/minus.gif) no-repeat 6px 6px;
}

div.certificate {
  margin-left: 10px;
}

div.loginboxes {
  background: transparent url(../images/roundedbox-500.gif) no-repeat top left;
  width: 500px;
  margin: 40px auto 20px auto;
}

div.loginboxes>ul {
  margin: 0 16px;
  padding: 0;
  position: relative;
  top: -10px;
}

div.loginboxes>ul>li {
  display: inline;
  background: transparent url(../images/roundedbox-240.png) no-repeat bottom left;
  width: 232px;
  margin: 1px 4px;
  padding: 22px 0 0 14px;
  vertical-align: bottom;
  /* color: #333; */
}

div.loginboxes>ul>li>span {
  background: transparent url(../images/roundedbox-240.png) no-repeat bottom right;
  padding-right: 16px;
  padding-top: 22px;
  font-size: 14px;
  color: black;
}

div.loginboxes>ul>li.highlighted {
  font-weight: bold;
}

div.loginboxes>ul>li.highlighted>span>span {
  /* border-top: 4px #ff7503 solid;
    padding-top: 6px; */
  border-bottom: 4px #ff7503 solid;
  padding-bottom: 2px;
}

div.loginboxes-close {
  background: transparent url(../images/roundedbox-500-bottom.gif) no-repeat bottom left;
}

div.paddedbox {
  padding: 8px 20px 24px 20px;
}

div.loginbox {
  border: none;
  width: 460px;
  padding: 8px 20px 24px 20px;
  vertical-align: top;
  float: left;
}

div.loginbox li {
  text-align: left;
  padding: 0;
}

div.roundbox {
  background: transparent url(../images/roundedbox-500.gif) no-repeat top left;
  width: 500px;
  margin: 8px auto;
}

div.roundbox-close {
  background: transparent url(../images/roundedbox-500-bottom.gif) no-repeat bottom left;
  padding: 16px;
}

/* COLUMNS for display:table */

td.column_title {
  width: 200px;
}

td.column_title_owner {
  width: 200px;
}

td.column_reference {
  width: 100px;
}

td.column_batch {
  width: 100px;
}

td.column_date {
  width: 110px;
}

td.column_statusdetail {
  width: 250px;
}

td.column_status {
  width: 68px;
}

td.column_notification_status {
  width: 68px;
}

td.username {
  width: 100px;
}

td.digitalId {
  width: 9em;
}

td.email,
td.fullname {
  width: 180px;
}

td.expiryDate {
  width: 150px;
}

td.signatures {
  width: 90px;
  text-align: right;
}

/* END columns */

.centerh {
  width: auto;
  margin-right: auto;
  margin-left: auto;
}

div.ifapplet,
div.ifnoapplet {
  min-height: 240px;
}

div.padded {
  margin: 16px 0;
}

table.docDetail {
  width: 100%;
}

table.docDetail td {
  max-width: 300px;
}

table.docDetail th {
  width: 100px;
}

div#header div#nav ul li a {
  font-size: 1.3em;
}

div#header div#nav ul li.current a {
  font-size: 1.4em;
}

div.infoarea {
  float: left;
  width: 60%;
  padding-top: 16px;
}

dl.table-display {
  float: left;
  width: 400px;
  margin: 8px 0 16px 0;
  padding: 4px 0;
  border-bottom: 1px dotted #999;
  border-top: 1px dotted #999;
}

dl.table-display dt {
  clear: left;
  width: 260px;
  font-weight: bold;
  float: left;
  margin: 0;
  padding: 2px;
}

dl.table-display dd {
  float: left;
  width: 120px;
  margin: 0;
  padding: 2px;
}

div.inner {
  margin-left: 16px;
  clear: both;
  width: 400px;
}

td.rightalign {
  text-align: right;
  padding-right: 16px;
}

div.buttonBar {
  margin: 0px 24px;
  clear: both;
}

div.contact {
  border: 2px solid black;
  border-radius: 5px;
  background-color: lightgray;
  text-align: center;
  width: fit-content;
  margin: auto;
  padding: 2% 5%;
  font-weight: bolder;
  margin-top: 20px;
  font-size: medium;
}

div.planChange {
  float: left;
  display: block;
  margin: 0px 24px;
}

div.fancyButtonBar {
  float: left;
  display: block;
  margin: 0px 8px;
}

.clearfloat {
  clear: both;
}

fieldset h3,
fieldset legend {
  color: #ff6800;
  margin-top: 4px;
}

fieldset h3 {
  border-bottom: dotted 1px;
}

fieldset.address,
fieldset.account {
  background: #eee;
  float: left;
  margin: 16px 16px 8px 0;
  padding: 0 16px 16px 16px;
}

form ul.pricing-plan-list {
  margin-left: 16px;
}

form ul.pricing-plan-list>li {
  height: 1.4em;
  font-size: 1.3em;
  margin-left: 8px;
  margin-bottom: 4px;
}

ul.pricing-plan-list>li.pricing-plan span {
  display: inline-block;
}

ul.pricing-plan-list>li.odd-row {
  background-color: #e6f5fe;
}

ul.pricing-plan-list>li.even-row {
  background-color: #f2fafe;
}

ul.pricing-plan-list>li.pricing-plan span.checkbox {
  width: 26px;
}

ul.pricing-plan-list>li.pricing-plan span.name {
  width: 180px;
  font-weight: bold;
}

ul.pricing-plan-list>li.pricing-plan span.price {
  width: 85px;
  text-align: right;
}

ul.pricing-plan-list>li.pricing-plan span.signatures {
  width: 115px;
  text-align: right;
}

ul.pricing-plan-list>li.pricing-plan span.quota {
  width: 100px;
  text-align: right;
}

ul.pricing-plan-list>li.heading {
  height: 2em;
  line-height: 1em;
}

ul.pricing-plan-list>li.heading>span {
  font-weight: normal;
  font-size: 11px;
  font-style: italic;
  color: #888;
}

p.pricing-plan-chosen {
  font-size: 1.2em;
}

form ul.payment-period-list {
  margin-left: 20px;
}

form ul.payment-period-list * {
  display: inline;
}

input#acceptInvalidNif {
  margin-left: 8px;
}

span.acceptInvalidNif {
  font-size: 90%;
  color: #444;
}

td.icon-column {
  width: 20px;
  height: 20px;
  padding: 2px;
  margin: 0;
}

/* license list, validation status */

.license-name {
  font-weight: bold;
}

.license-true,
.license-false {
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: top center;
  width: 100px;
  display: block-inline;
  padding-left: 48px;
}

.license-true {
  background-image: url(../images/tick.png);
}

.license-false {
  background-image: url(../images/cross.png);
}

/* keyfiles */

.mobile,
.stamp {
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: 0 2px;
  padding-left: 20px;
}

.mobile {
  background-image: url(../images/phone.png);
}

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

.keyfile-icons {
  background-position: 0px 2px;
  width: 0px;
  height: 20px;
  background-color: transparent;
  background-repeat: no-repeat;
}

.table tr.latest-modified {
  background-color: #76b5ae !important;
}

.table tbody tr.latest-modified:hover td {
  background: #96d5ce !important;
  border-color: #523a0b !important;
  /* important needed on both for IE */
}

.table tr.current-request {
  background-color: #ffe4c4 !important;
}

.table tbody tr.current-request:hover td {
  background: #eed5b7 !important;
  border-color: #eed5b7 !important;
  /* important needed on both for IE */
}

div.loginbox li.wait-msg,
p.wait-msg {
  background-image: url(../images/ajax-loader-bw-small.gif);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 48px;
  padding-top: 8px;
  min-height: 48px;
  margin: 0;
}

#signerIdCountry {
  max-width: 70px;
}

.authority-country {
  min-width: 4em;
}

.authority-filename {
  font-size: 0.9em;
  font-style: italic;
  color: #666;
}

.doc-list a {
  font-weight: bold;
}

.doc-list tbody a:visited {
  font-weight: normal;
}

.table tr.signing {
  border-color: #ebe5d9;
  background: #f5d0a9 !important;
}

.table tr.signed {
  border-color: #ebe5d9;
  background: #c9f5c9 !important;
}

.table tr.selected {
  background: #d4d4c4 !important;
}

.table tr.marked {
  background: #c9f5c9 !important;
}

.table tr.ignored {
  background: #f2f5a9 !important;
}

.table tr.pending {
  color: #000000;
  background: #f2f5a9 !important;
}

.table tr.error {
  color: #000000;
  background: #fa5858 !important;
}

.notificationcontainer {
  position: relative;
  width: 800px;
  margin: 12px 4px;
}

.notificationcontainer .progressbar {
  width: 200px;
  height: 20px;
  display: inline-block;
}

.notificationcontainer .ratio {
  position: absolute;
  left: 90px;
  top: 4px;
}

.notificationcontainer .log {
  position: absolute;
  left: 216px;
  top: 4px;
}

.notificationcontainer .signature-ok {
  font-weight: bold;
  font-size: 110%;
}

.additional-options a {
  margin-left: 5px;
}

.additional-options {
  font-size: 110%;
}

form[id] li div.charleft,
div.charleft {
  display: block;
}

.input-helper {
  margin-left: 130px;
}

.input-helper--warning {
  color: red;
}

/* Help Box */

div#helpbox {
  border: 1px solid #ddd;
  padding: 8px;
  background-color: #f8f8f8;
  margin-right: 12px;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  box-shadow: 4px 4px 4px #ccc;
  -moz-box-shadow: 4px 4px 4px #ccc;
  margin-bottom: 16px;
  font-size: 1.12em;
}

div#helpbox.alert {
  background-color: #ffe8e0;
}

div#helpbox div {
  padding: 0 12px;
}

div#helpbox h2,
div#helpbox h3 {
  border-radius: 4px 4px 0 0;
  -moz-border-radius: 4px 4px 0 0;
  -webkit-border-radius: 4px 4px 0 0;
  margin-bottom: 6px;
  padding: 2px 8px;
  color: white;
  background: transparent url(../images/fold.png) right no-repeat;
}

div#helpbox h2.closed,
div#helpbox h3.closed {
  background-image: url(../images/unfold.png);
}

div#helpbox h2 {
  background-color: #1a476c;
  font-size: 16px;
}

div#helpbox.alert h2 {
  background-color: #800;
}

div#helpbox.news h2 {
  background-color: #ff7503;
}

div#helpbox h3 {
  background-color: #2a577c;
  margin-bottom: 4px;
}

div#helpbox.alert h3 {
  color: #800;
}

div#helpbox h2:hover,
div#helpbox h3:hover {
  color: #eee;
}

div#helpbox p {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.1em;
}

div#helpbox a {
  font-size: 105%;
}

div#helpbox ul {
  margin-bottom: 6px;
}

div#helpbox li {
  list-style-type: disc;
  margin-left: 16px;
  margin-bottom: 4px;
  margin-top: 4px;
}

.authority-expired span {
  padding-left: 20px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-image: url(../images/tick.png);
}

.authority-expired span.expired {
  background-image: url(../images/cross.png);
}

.authority-expired span.expire-soon {
  background-image: url(../images/error.png);
}

/*------------------------------------*\

/* Establecer el fondo del datepicker como blanco */
.ui-datepicker {
  background-color: #fff;
  border: 1px solid #ccc;
  font-size: 10px;
  padding: 5px;
  /* Añadir padding para separar el contenido del borde */
}

.ui-timepicker-div .ui-widget-header {
  margin-bottom: 8px;
}

.ui-timepicker-div dl {
  text-align: left;
}

.ui-timepicker-div dt {
  float: left;
  clear: left;
  width: 54px;
  margin: 0;
  height: 30px;
}

.ui-timepicker-div dd {
  float: left;
  text-align: bottom;
  width: 100px;
  margin: 0;
  height: 30px;
}

.ui-timepicker-div td {
  font-size: 90%;
}

.ui-timepicker-div {
  font-size: 10px;
}

.ui-datepicker-buttonpane {
  clear: both;
  text-align: center;
  margin-top: 10px;
  /* Aumentar el margen superior */
}

/* Cambio de color para los fines de semana */
#ui-datepicker-div td.ui-datepicker-week-end a {
  color: #833;
  background: #fee;
}

/* Estilo para los botones dentro del panel del datepicker */
.ui-datepicker .ui-datepicker-buttonpane button {
  background-color: #0A4E89;
  color: #fff;
  margin: 0 5px;
  /* Reducir la separación entre los botones */
  padding: 5px 10px;
  border-radius: 10px;
  /* Hacer los botones redondeados */
  border: none;
  /* Eliminar el borde */
}

/* Estilo para el botón "Ahora" */
.ui-datepicker .ui-datepicker-buttonpane .ui-datepicker-current {
  float: left;
  /* Alinear a la izquierda */
  margin-right: 5px;
  /* Añadir margen derecho */
}

/* Estilo para el botón "Hecho" */
.ui-datepicker .ui-datepicker-buttonpane .ui-datepicker-close {
  float: right;
  /* Alinear a la derecha */
  margin-left: 5px;
  /* Añadir margen izquierdo */
}

/* Estilo al pasar el cursor por encima de los botones */
.ui-datepicker .ui-datepicker-buttonpane button:hover {
  background-color: #002b6d;
}

/* Estilo para el botón de navegación "Anterior" del datepicker */
.ui-datepicker-prev {
  float: left;
  margin-right: 10px;
  /* Aumentar el margen derecho para separar del contenido */
  margin-bottom: 5px;
  /* Añadir margen inferior */
}

/* Estilo para el botón de navegación "Siguiente" del datepicker */
.ui-datepicker-next {
  float: right;
  margin-left: 10px;
  /* Aumentar el margen izquierdo para separar del contenido */
  margin-bottom: 5px;
  /* Añadir margen inferior */
}

/* Estilo común para ambos botones */
.ui-datepicker-prev,
.ui-datepicker-next {
  color: #000000;
  border-radius: 10px;
  /* Hacer los botones redondeados */
  border: none;
  /* Eliminar el borde */
}
