/*
    --main-color: #0066CC;
    --dark-color: #004b96;
    --text-color: #2d3e4d;
    --body-text-color: #485764;
    --action-color: #3594E0;
    --red-color: #F24F35;
    --error-color: #888;
    --font-family: Lato, sans-serif;
*/


#header h1.logo a {
	background-image: url("https://viafirma.com/download/inbox/aoc/v3/logo-interno.png") !important;
  background-repeat: no-repeat !important;
  background-position-x: center !important;
  background-position-y: 20px;
}

body.interior #global #cabecera {
 	background: url("logo.png") no-repeat center center;
 	text-indent: -9999px;
  height: 90px;
}

body.login #header {
	height: 50px;
}

#header h1 a img {
	display: none !important;
}

.login #header h1.logo a {
  background-image: none !important;
}
.login #header h1 a img {
	display: block !important;
  max-width: 336px;
	margin:0em auto 0 auto;
}


#wrapper>.group:first-child {
    background: #0066CC;
}

body.login p.certificate a {
    color: #485764;
}

.login form label {
    color: #2d3e4d;
}

form .requerido {
    color: #F24F35;
}

form input.button {
    background: #0066CC;
}

#body .main fieldset.copyCustodySearch input.boton:last-child {
    color: #0066CC;
}

body.verifirma .message h3, 
body.verifirma .message .meta.group .date, 
body.verifirma .download-all, 
body.verifirma .attached li a, 
body.verifirma .attached li span.link, 
body.verifirma form.big label {
    color: #485764;
}

body.verifirma fieldset p,
body.verifirma fieldset ul,
body.verifirma fieldset .group {
    color: #485764;
}

body.verifirma fieldset a.eula {
    color: #0066CC !important;
}

body.verifirma form.big label {
    color: #2d3e4d;
}

.verifirma input.boton {
    background: #0066CC !important;
}

.verifirma .otpsms p {
    color: #485764;
}

.verifirma .otpsms a {
    color: #0066CC;
}

.verifirma .otpsms input.boton,
.verifirma .otpsms a.back {
    border: 1px solid #0066CC;
}

.verifirma .otpsms a.back {
    border: 1px solid #485764;
    color: #485764;
}

.verifirma h6,
.verifirma .annexes {
    color: #2d3e4d;
}

body,
body.login{
    color: #2d3e4d;
    font-family: Lato, sans-serif;;
}

body.interior #contenido {
    color: #485764;
}

body.interior #contenido a {
    color: #3594E0;
}

body.interior #contenido .volver a,
body.verifirma input.boton.back {
    border: 1px solid #485764 !important;
    color: #485764 !important;
}

.bubble-wrapper .bubble {
    color: #485764;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, .33);
}

input.text:focus, 
input.cajaTexto:focus, 
textarea:focus {
    border-color: #0066CC;
}

.rich-mpnl-body {
    font-family: Lato, sans-serif;;
}

.rich-mpnl-panel .rich-mpnl-header {
    color: #2d3e4d;
}

.rich-fileupload-button,
.rich-fileupload-button-light,
.rich-fileupload-button-press {
    background: #0066CC;
}

.rich-fileupload-font {
    font-family: Lato, sans-serif;;
}

.rich-fileupload-del a {
    color: #888;
}

.login .group .group .actionLogin,
input.button,
input.boton {
    background: #0066CC !important;
}

.botonera a.back {
    border: 1px solid #485764;
    color: #485764;
}

input.boton.addFilter {
    color: #0066CC;
}

#busquedaAvanzada_formularioBusqueda input.addFilter {
    background: #0066CC !important;
}

#busquedaAvanzada_formularioBusqueda input.addFilter:hover {
    background: #004b96 !important;
}

input.boton.addFilter:hover {
    color: #004b96;
}

.login .group .group input.button:hover,
.login .group .group input.boton:hover {
    background: #004b96 !important; /*dark-color*/
}

input.button:focus,
input.boton:focus,
input.button:hover,
input.boton:hover {
    background: #004b96 !important; /*dark-color*/
}

input.text:focus,
input.cajaTexto:focus,
textarea:focus {
    border-color: #0066CC;
}

fieldset legend {
    color: #2d3e4d;
}

form.big label,
form.big h5 {
    color: #2d3e4d;
}

form.big input.text,
form.big input.cajaTexto,
form.big textarea {
    color: #2d3e4d;
}

.verifirma input.boton:hover {
    background: #004b96 !important;
}

form.big input.boton.add-metadata {
    border: 1px solid #0066CC;
    color: #0066CC;
}

form.big input.boton.add-metadata:hover,
form.big .attach-file:hover,
form.big .attach-document:hover,
form.big .attach-corporate-repo:hover,
form.big .attach-personal-repo:hover {
    background: #0066CC !important;
}

form.big input.button.reject {
    color: #485764;
}

form.big .attach-file,
form.big .attach-document,
form.big .attach-corporate-repo,
form.big .attach-personal-repo,
a.reset {
    border: 1px solid #0066CC;
}

a.reset {
    border: 1px solid #0066CC !important;
}

a.reset:hover {
    background: #0066CC;
}

fieldset.buscador input:last-of-type {
    color: #0066CC;
}

table.listado tfoot td a.delete,
table.listado tfoot td .eliminarSeleccionados {
    border:1px solid #888;
    color: #888;
}

table.listado tfoot td a.add,
table.listado tfoot td a.anyadir {
    background: #0066CC !important;
    border: 1px solid #0066CC;
}

table.listado tfoot td a.import:hover,
table.listado tfoot td a.exportxls:hover,
table.listado .xls.listado.TR_AUDIT:hover {
    background-color: #0066CC;
}

table.listado tfoot td a.anyadir:hover {
    background: #004b96 !important;
}

p.volver a {
    border: 1px solid #485764;
    color: #485764;
}

.back {
    border: 1px solid #485764;
    color: #485764;
}

.back:hover {
    background: #485764;
}

table.listado tfoot td a:focus, table.listado tfoot td a:hover {
    background-color: #004b96;
}

table.listado tfoot td a.add, 
table.listado tfoot td a.anyadir, 
table.listado tfoot td a.exportxls,
table.listado tfoot td a.import,
table.listado .xls.listado.TR_AUDIT {
    border: 1px solid #0066CC;
}     

table.listado td {
    color: #2d3e4d;
}

table.listado td span {
    color: #485764;
}

table.listado tbody tr.hover td,
table.listado tbody tr:hover td {
    color: #2d3e4d;
}

/*table.listado thead th {
    background: #0066CC;
}
*/

table.listado thead th.first,
table.listado thead th,
table.listado thead th.last{
    color: #2d3e4d;
}

table.listado thead tr th a:link,
table.listado thead tr th a:visited,
table.listado thead tr th a:active,
table.listado thead tr th span {
    color: #2d3e4d;
}

ul.paginacion li a:focus,
ul.paginacion li a:hover,
ul.paginacion li.primero a:focus,
ul.paginacion li.primero a:hover,
ul.paginacion li.anterior a:focus,
ul.paginacion li.anterior a:hover,
ul.paginacion li.siguiente a:focus,
ul.paginacion li.siguiente a:hover,
ul.paginacion li.ultimo a:focus,
ul.paginacion li.ultimo a:hover {
    color: #0066CC;
}

ul.paginacion li a.actual {
    background: #0066CC;
}

.info {
    border-left: 3px solid #0066CC;
    color: #0066CC;
}

.container.admin .botonera input,
.container.admin .botonera a {
    border: 1px solid #0066CC;
}

.container.admin .botonera a.back {
    border: 1px solid #485764;
}

.container.admin .botonera a.xls:hover {
    background: #0066CC;
}

.container.admin .botonera a.eliminarAuditoria {
    border: 1px solid #485764;
}

.container.admin .botonera a.eliminarAuditoria:hover {
    background: #485764;
}

.container.admin .botonera .boton-preview {
    border: 1px solid #0066CC;
    color: #0066CC;
}

.container.admin .botonera .boton-preview:hover {
    background: #0066CC !important;
}

#contenidoMensaje .moreOptions {
    color: #2d3e4d;
}

#detallePeticion .dropdown-menu form p > * {
    color: #2d3e4d;
}

.message .sendDate {
    color: #2d3e4d;
}

.message .meta {
    color: #485764;
}

.message .date {
    color: #485764;
}

.message .tipoAcceso {
    color: #485764;
}

.message .from li .user {
    color: #485764;
}

.message .from li .date {
    color: #485764;
}

.message-body p {
    color: #485764;
}

.message a.download-all,
.message a.attach-annex {
    border: 1px solid #0066CC;
    color: #0066CC;
}

.message a.download-all:hover,
.message a.attach-annex:hover {
    background-color: #0066CC;
}

.attached li .file {
    color: #0066CC;
}

.attached li .document {
    color: #0066CC;
}

div#mailbox ul.paginacion li {
    color: #485764;
}

.mailbox table thead th {
    color: #2d3e4d;
}

.mailbox table thead th a {
    color: #2d3e4d;
}

.mailbox table tbody td a {
    color: #485764;
}

.mailbox input[title="Eliminar seleccionados"] {
    background:  #F24F35 !important;
}

.mailbox table tbody .unread td,
.mailbox table tbody .unread td a {
    color: #2d3e4d;
}

.mailbox table tbody .hover td a,
.mailbox table tbody .hover td {
    color: #2d3e4d;
}

.mailbox table tbody .seleccionado td a,
.mailbox table tbody .seleccionado td {
    color: #2d3e4d;
}

#listaDocumentosFirma h6,
#listaDocumentosAnexos h6,
#signedDocuments h6,
#wrapperComentarios h6,
.metadataContainer h6 {
    color: #2d3e4d;
}

.menu ul li.current a {
    color: #2d3e4d;
}

.box .box-title {
    color: #2d3e4d;
}

.tasks h3 {
    color: #2d3e4d;
}

.tasks ul li {
    color: #2d3e4d;
}

.tasks .tools a {
    color: #2d3e4d;
}

div.datePicker {
    font-family: Lato, sans-serif !important;
}

div.datePicker table thead th.date-picker-title span {
    color: #2d3e4d;
}

div.datePicker th span {
    color: #2d3e4d !important; /*text-color*/
    font-family: Lato, sans-serif;
}

div.datePicker table th.date-picker-day-header,
div.datePicker th span.fd-day-header {
    color: #2d3e4d;
}

div.datePicker table td {
    color: #2d3e4d;
}

div.datePicker table tbody td.date-picker-hover {
    color: #2d3e4d;
}

.comments .comment .meta {
    color: #2d3e4d;
}

.comments .comment .meta .date {
    color: #485764;
}

#search input.text,
#search input.cajaTexto {
    background: rgba(255, 255, 255, 1);
    color: #2d3e4d;
}

#nav ul li a strong {
    color: #485764;
}

#nav ul li a:focus,
#nav ul li a:hover {
    color: #2d3e4d;
}

#nav ul li a.redactar {
    background: #0066CC;
}

#nav ul li a.redactar:hover {
    background: #004b96;
}

#body .main .header-title {
    color: #2d3e4d;
    font-family: Lato, sans-serif;
}

#body .main h3 {
    color: #2d3e4d;
    font-family: Lato, sans-serif;
}

#body .main h3 a {
    color: #2d3e4d;
}

.rich-tree-node-highlighted {
    color: #0066CC;
}

ul.metadata li {
    color: #2d3e4d;
}

div.calendario table tr {}
div.calendario table tr th {
    color: #2d3e4d;
}

div.calendario table tr td {
    color: #485764;
}

div.calendario table tr td.hoy span {
    background-color: rgba(20, 91, 148, .15);
    color: #0066CC;
}

div.calendario table tr td.conEventos span {
    color: #2d3e4d;
}

div.calendario table tr td.conEventos .bubble-wrapper > span:after {
    background: #0066CC;
}

div.disenador div.linea div.bloque .firma span {
    color: #0066CC;
}

div.disenador div.nuevaLinea {
    color: #485764;
}

a.eliminarAuditoria {
    border: 1px solid #888;
    color: #888;
}

div.disenador + .volver .espere {
    border: 1px solid #0066CC;
}

div.disenador + .volver .espere:hover {
    background: #0066CC;
}

a.eliminarPeticion {
    color: #2d3e4d;
}

div#mailbox .numPorPagina {
    color: #2d3e4d;
}

.mailbox .numPorPagina a {
    color: #2d3e4d; /*text-color: */
}

.mailbox .numPorPagina a.actual {
    color: #0066CC;
}

fieldset.buscador p {
    color: #485764;
}

.checkNotification table label {
    color: #2d3e4d;
}

input.disabled,
input.disabled:hover {
    color: #888;
}

.pass-text {
    color: #485764;
}

a.button {
    color: #0066CC;
}

a.signbutton {
    color: #0066CC;
}

.annexDetail {
    color: #485764;
}

.mailbox input.button.btnReject {
    color: #0066CC;
}

.mailbox .dropdown-trigger,
.mailbox .button-one {
    color: #0066CC;
}

#detallePeticion .mainActions.dropdown span.dropdown-trigger {
    background-color: #0066CC;
}

#detallePeticion .mainActions.dropdown span.dropdown-trigger:hover {
    background-color: #004b96;
}

#body .main #inbox #detalleRefresh .dropdown-menu input,
#body .main #inbox #detalleRefresh .dropdown-menu a,
#body .main #inbox #detalleRefresh .dropdown-menu button {
    color: #485764;
}

footer a {
    color: #485764;
}

footer div.selectorIdioma strong {
    color: #485764;
}




/* PLATFORM */
body.interior {
    box-sizing: border-box;
}
body.interior a {
    text-decoration: none; 
}
body.interior html {
    height: 100%;
}
body.interior {
    background: #efefef;
    display: table;
    font-family: sans-serif;
    height: 100%;
    width: 100%;
}
body.interior #global {
    display: table-cell;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}
body.interior #cabecera {
    text-align: center
}
body.interior #cabecera h1 {
    margin-bottom: 0;
}
body.interior #cabecera h1 a {
    color: #2d3e4d; 
    text-transform: capitalize;
}
body.interior #cabecera p {
    margin-top: .25em;
    opacity: .5;
}
body.interior #contenido {
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 3px;
    color: #485764;
    font-size: 15px;
    line-height: 1.5em;
    margin: 0 auto;
    padding: 1em 2em;
    width: 500px; 
}
body.interior #contenido li {
    list-style: none;
}
body.interior #contenido a {
    color: #3594E0;
}
body.interior #contenido ul {
    padding-left: 0;
}
body.interior #contenido ul li a {
    text-decoration: underline;
}
body.interior #contenido .volver {
    margin-top: 2em;
}
body.interior #contenido .volver a {
    border: 1px solid #485764;
    border-radius: 3px;
    color: #485764;
    display: inline-block;
    padding: .5em 1em;
    text-decoration: none;
    transition: .3s;
}
body.interior #contenido .volver a:hover {
    background: #485764;
    color: white !important;
    transition: .3s;
}
body.interior .separador {
    display: none;
}
body.interior #pie,
body.interior .ayuda h2 {
    display: none !important;
}


@media(max-width: 440px) {
    body.interior {
        background: white;
    }
    body.interior #cabecera h1 a {
        font-size: 22px;
    }
    body.interior #global {
        display: block;
    }
    body.interior #contenido {
        border: none;
        padding: 0em 1em;
        width: 100%;
    }
}

/* body.interior #windowsAppOption,
body.interior #windows10AppOption,
body.interior #windowsAppDownload {
	display: none!important;
} */

#optionList {
  display: flex;
  flex-direction: column-reverse;
}

#marketing {
	display: none !important;
}