/* Global styles */

body {
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 4px;
    margin: 0px;
    background-color: #666666;
    vertical-align: top;
}

a {
    color: darkblue;
    padding: 2px;
    text-decoration: underline;
}

a:link {
    color: darkblue;
    text-decoration: underline;
}

a:visited {
    color: black;
    text-decoration: underline;
}

a:hover {
    color: black;
    text-decoration: underline;
    background-color: yellow;
    border-bottom: none;
}

/* Layout basico */

table.Layout {
    /* table-layout: fixed; */
    border-spacing: 0px;
    border-collapse: collapse;
    empty-cells: show;
    margin: 0px;
    padding: 0px;
    border: none;
}

table.Layout td {
    border: 0px dotted red;
    vertical-align: top;
    padding: 0px;
    margin: 0px;
}

/* Especificos */

#logo {
    margin: 0px;
    padding: 0px;
    padding-top: 26px;
    padding-bottom: 16px;
    background-color: #ffffff;
    text-align: center;
    vertical-align: middle;
    width: 180px;
    /* no estoy seguro que sea necesario, lo dejamos por si FF lo necesita */
}
#logo a { font-size: 12px; }

#header {
    font-family: "Open Sans", sans-serif;
    margin: 0px;
    padding: 0px;
    padding-left: 20px;
    background-color: #b74cb7;
    vertical-align: top;
    background-image: url(../images/backg-viloleta.jpg);
    background-repeat: no-repeat;
    background-position: top right;
    color: #990099;
}

#header h1 {
    font-size: 2.4em;
    font-weight: bold;
    /*line-height: 140%;*/
    padding: 26px 10px 10px 10px;
    margin: 0px;
    vertical-align: middle;
    text-align: left;
    color: white;
}

#header h2 {
    font-size: 1.4em;
    font-weight: bold;
    padding: 2px 10px 10px 10px;
    margin: 0px;
    padding-top: 0px;
    vertical-align: top;
    text-align: left;
    color: white;
}

#header p {
    font-size: 1.1em;
    padding: 2px 10px 10px 10px;
    margin: 0px;
    vertical-align: middle;
    text-align: left;
    color: white;
}

#header p.small {
    padding: 2px 10px 6px 10px;
    font-size: 1em;
}

#header a {
    color: white;
    padding: 2px;
    border: none;
}

#header a:link {
    color: white;
    text-decoration: underline;
}

#header a:visited {
    color: white;
    text-decoration: underline;
}

#header a:hover {
    color: black;
    text-decoration: underline;
    background-color: beige;
}

/* Lista de Vistas */

#viewsContainer {
    width: 180px;
    /* no estoy seguro que sea necesario, lo dejamos por si FF lo necesita */
}

#views {
    padding: 0px;
    padding-top: 16px;
    padding-bottom: 16px;
    margin: 0px;
    vertical-align: top;
    background-color: #e1e1e1;
    ;
    #dff0f0;
    #d4d1f7;
    #e2eff5;
    #d3e5e9;
    #c7c2cb;
    border-right: 0px solid white;
}

#views a {
    text-align: right;
    padding: 12px;
    display: block;
    color: darkmagenta;
    text-decoration: none;
    font-weight: bold;
    border: none;
}

#views a:link {
    color: darkblue;
    text-decoration: none;
}

#views a:visited {
    color: black;
    text-decoration: none;
}

#views a:hover {
    color: white;
    text-decoration: none;
    background-color: blue;
}

#views a.selected {
    color: black;
    text-decoration: none;
    background-color: white;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 1.05em;
}

#views a.selected:link {
    color: black;
    text-decoration: none;
    background-color: white;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 1.05em;
}

#views a.selected:hover {
    color: white;
    text-decoration: none;
    background-color: blue;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 1.05em;
}

/* Contenido */

#title {
    vertical-align: top;
    padding: 0px;
    margin: 0px;
    border-left: 1px solid #e1e1e1;
    clear: both;
}

#title h2 {
    color: black;
    font-size: 1.8em;
    vertical-align: top;
    text-align: left;
    padding: 8px;
    margin: 8px;
    border-bottom: 2px dotted #ff9900;
}

#title p {
    margin: 0px;
}

.TopCommands {
    float: right;
    font-size: 0.875rem;
    font-weight: bold;
    padding: 0px;
    margin: 0px;
    margin-top: 4px;
    margin-right: 12px;
    border: 0px dotted red;
    vertical-align: bottom;
    line-height: 32px;
}

.TopCommands a {
    vertical-align: middle;
}

.TopCommands select {
    vertical-align: bottom;
    padding: 8px;
    margin: 0px;
    font-size: 1em;
    font-weight: 400;
    border-radius: 4px;
    no-background-color: #b74cb7 !important;
    no-color: #fff;
}
.TopCommands select option {
  background-color: #fff !important;
  color: #222;
}

/* Contenido */

#content {
    padding: 12px;
    margin: 0px;
    padding-right: 12px;
    vertical-align: top;
    border: 0px solid green;
    height: 100%;
}

/*== Catalog & sus estilos ================================================================================= */

/* Dentro del Catalog */

#catalog {
    padding: 0px;
    margin: 0px;
    border: 0px solid red;
    vertical-align: top;
}

#catalog h3 {
    color: black;
    font-size: 1.8rem; /** #ff9900; $$MAZ-2021-02-09$$ */
    font-weight: normal;
    vertical-align: top;
    text-align: left;
    padding: 12px 4px; /** $$MAZ-2021-02-09$$ */
    margin: 0px;
    border-bottom: 4px dotted transparent; /** #ff9900; $$MAZ-2021-02-09$$ */
}

#catalog .DocInfo .Title img {
    vertical-align: bottom;
}

#catalog .DocInfo .Title a {
    font-weight: bold;
    color: darkblue;
    font-size: 1.2em;
    vertical-align: top;
    padding: 2px;
}

#catalog .DocInfo .Properties {
    margin: 0px;
    padding-top: 8px;
    padding-bottom: 4px;
    margin-left: 20px;
    color: black;
    border-bottom: 1px solid #ffe319;
}

#catalog .Title a:link {
    color: darkblue;
}

#catalog .Title a:visited {
    color: black;
}

#catalog .Title a:hover {
    background-color: yellow;
    color: black;
}

#catalog-table {
    padding: 0px;
    margin: 0px;
    width: 100%;
}

/* la tabla del catalogo propiamente dicho */

table.CatalogTable {
    padding: 0px;
    margin: 0px;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 10px;
    border: 0px solid blue;
    background: none;
}

table.CatalogTable tr {
    background: none;
}

table.CatalogTable th {
    padding-top: 12px;
    padding-bottom: 2px;
    padding-left: 4px;
    padding-right: 4px;
    margin: 0px;
    border-bottom: 1px solid gray;
    border-left: 0px solid gray;
    border-right: 1px solid white;
    background-color: white;
    font-family: Trebuchet MS;
    font-weight: bold;
    text-align: left;
    vertical-align: top;
    /* $$REVISAR$$ $$2018$$ */
    font-size: 1em;
    font-family: "Open Sans" ; 
}

table.CatalogTable th.selector {
    width: 0%;
}

table.CatalogTable th img {
    vertical-align: middle;
    border: 0px solid red;
}

table.CatalogTable td {
    padding-top: 4px;
    padding-bottom: 2px;
    padding-left: 4px;
    padding-right: 4px;
    margin: 0px;
    border: none;
    border-bottom: 1px dotted #CCCCCC;
    vertical-align: middle;
}

table.CatalogTable td.selector {
    vertical-align: top;
    background: #DCDCDC;
}

table.CatalogTable td img {
    vertical-align: bottom;
}

a.DocTitle {
    font-weight: bold;
}

/*== FormArea & sus estilos ================================================================================= */

/* Dentro del FormArea */

#formArea {
    padding: 0px;
    margin: 0px;
    border: 0px solid red;
    vertical-align: top;
}

#formArea h3 {
    color: black;
    font-size: 1.8em;
    font-weight: normal;
    vertical-align: top;
    text-align: left;
    padding: 12px;
    margin: 0px;
    border-bottom: 2px dotted #ff9900;
}

/*== Alertas y popups ==================================================================================*/

/* Alerta y Popup */

#jDialogContainer div.dialog {
    background-color: white;
    border: 1px solid black;
}

#jDialogContainer div.dialog h5 {
    background-color: DarkMagenta;
    color: white
}

#jDialogContainer div.dialog p.buttons {
    text-align: right;
    margin-right: 20px;
}

#jDialogContainer div.dialog div.withScroll {
    overflow: auto;
    width: 100%;
    height: 80%;
}

#jDialogContainer div.dialog p.message {
    margin: 20px;
}

#jDialogContainer div.dialogSmall {
    width: 400px;
    height: 200px;
}

#jDialogContainer div.dialogMedium {
    width: 500px;
    height: 340px;
}

/*== Especificos de elementos de este modulo ========================================================== */

/* comun a todas las tablas */

.TableCtrl table th.RowTitle {
    width: 180px;
    text-align: left;
}

.TableCtrl table td.RowTitle {
    width: 180px;
    text-align: left;
}

/* tablas de Presupuesto en editPICTv2Form */

.TableCtrl table th.colRubro {
    width: 180px;
    text-align: left;
}

.TableCtrl table th.colSubsidio {
    width: 90px;
    text-align: right;
}

.TableCtrl table th.colContraparte {
    width: 90px;
    text-align: right;
}

.TableCtrl table th.colAdoptante {
    width: 90px;
    text-align: right;
}

.TableCtrl table th.colTotal {
    width: 90px;
    text-align: right;
}

.TableCtrl table th.colPorcentaje {
    width: 90px;
    text-align: right;
}

.TableCtrl table td.colRubro {
    width: 180px;
    text-align: left;
}

.TableCtrl table td.colSubsidio {
    width: 90px;
    text-align: right;
}

.TableCtrl table td.colContraparte {
    width: 90px;
    text-align: right;
}

.TableCtrl table td.colAdoptante {
    width: 90px;
    text-align: right;
}

.TableCtrl table td.colTotal {
    width: 90px;
    text-align: right;
}

.TableCtrl table td.colPorcentaje {
    width: 90px;
    text-align: right;
}

/* tablas de Becas en editPICTv2Form */

.TableCtrl table th.colDescrBeca {
    width: 120px;
    text-align: left;
}

.TableCtrl table td.colDescrBeca {
    width: 120px;
    text-align: left;
}

/* tablas de Grupos en editPICTv2Form */

.TableCtrl table .colRol {
    width: 180px;
    text-align: left;
}

.TableCtrl table .colNombre {
    width: 180px;
    text-align: left;
}

.TableCtrl table .colApellido {
    width: 180px;
    text-align: left;
}

/* tablas de Adjuntos en editPICTv2Form */

.TableCtrl table .link {
    width: 180px;
    text-align: left;
}

.TableCtrl table .colDescr {
    width: 180px;
    text-align: left;
}

/* Aviso antes de crear */

#avisoAntesCrear {
    padding: 0px;
    margin: 0px;
    margin-left: 180px;
    font-size: 1.2em;
    border: 0px solid red;
}

#avisoAntesCrear h4 {
    padding: 6px;
    font-size: 1.6em;
    font-weight: bold;
}

#avisoAntesCrear h5 {
    padding: 6px;
    font-size: 1.25em;
    font-weight: bold;
}

#avisoAntesCrear p {
    padding: 6px;
}

#avisoAntesCrear table {
    border-spacing: 1px;
    border-collapse: separate;
    margin-left: 24px;
}

#avisoAntesCrear table th {
    padding: 6px;
    font-weight: bold;
    text-align: center;
}

#avisoAntesCrear table td {
    padding: 6px;
    text-align: center;
    border: 1px solid #e1e1e1;
}

#verificarProyectoMsg div.withScroll {
  width: 100%;
  /*height: 10vh;
  border: 1px dotted red;
  overflow: auto;*/
}

.ImIR {
    background-color: white;
}

.ImIR .TITLE {
    background-color: white;
}

.ImNotIR {
    background-color: #cdcdcd;
}

.ImNotIR .TITLE {
    background-color: #cdcdcd;
}

.colorInfo {
    margin-top: 10px;
    padding: 4px;
}
.colorInfo span {
    border: 1px solid black;
    margin-right: 20px;
    padding: 4px;
}