/*
 * Ext JS Library 2.1
 * Copyright(c) 2006-2008, Ext JS, LLC.
 * licensing@extjs.com
 * 
 * http://extjs.com/license
 */

/*===================================
/*   Basic page styles
/*===================================*/
body {
    font-family:'lucida grande',tahoma,arial,sans-serif;
    font-size:11px;
}
html, body {
    height: 100%;
}
a {
    color:#15428B;
}
a:link, a:visited {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.main_header{
    background-color: #1a3652;
    padding-top: 4px;
    height: 41px
}
.main_header>.logo-container {

}
.main_header>.logo-container>img {
    margin-left: 5px;
    height: 35px;
    margin-top: 0px;
    border-radius: 5px;
    float: left;
}
.header-title {
    color: white;
    font-size: 1.5em;
    margin-top: 6px;
    float: left;
    margin-left: 10px;
}
.header-user,.header-help,.header-proceso-asincrono {
    color: white;
    font-size: 1.5em;
    margin-top: 6px;
    float: right;
    margin-right: 10px;
    cursor: pointer;
}
.header-user>img {
    height: 35px;
    width: 35px;
    margin-top: -6px;
    border-radius: 23px;
    margin-right: 14px;
}
.header-help>img {
    height: 25px;
    width: 25px;
    margin-right: 5px;
}
.header-proceso-asincrono>img {
    height: 25px;
    width: 25px;
    margin-right: 5px;
    display: none;
}
.user-email {
    font-size: 11px;
}
.version {
    font-size: 11px;
}
.triangle {
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid white;
    position: absolute;
    top: 19px;
    margin-left: 40px;
}

.over-triangle {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #1a3652;
    position: relative;
    top: -7px;
    left: -5px;
}
#header h1 {
    font-size: 16px;
    color: #fff;
    font-weight: normal;
    padding: 5px 10px;
}
#start-div h2 {
    font-size: 12px;
    color: #555;
    padding-bottom:5px;
    border-bottom:1px solid #C3D0DF;
}
#start-div p {
    margin: 10px 0;
}
#ayuda-panel h2 {
    padding:10px 10px 0;
    font-size:12px;
    color:#15428B;
}
#ayuda-panel p {
    padding:10px 10px 0;
}
#ayuda-panel pre {
    border-top:1px dotted #ddd;
    border-bottom:1px dotted #ddd;
    margin-top:10px;
    padding:0 5px;
    background:#f5f5f5;
}
#ayuda-panel .ayuda-info {
    margin:15px;
    padding:15px;
    border:1px dotted #999;
    color:#555;
    background: #f9f9f9;
}
#buscar-panel h2 {
    padding:10px 10px 0;
    font-size:12px;
    color:#15428B;
}
#buscar-panel p {
    padding:10px 10px 0;
}
#buscar-panel pre {
    border-top:1px dotted #ddd;
    border-bottom:1px dotted #ddd;
    margin-top:10px;
    padding:0 5px;
    background:#f5f5f5;
}
#buscar-panel .buscar-info {
    margin:15px;
    padding:15px;
    border:1px dotted #999;
    color:#555;
    background: #f9f9f9;
}

/*===================================
/*   Customized layout styles
/*===================================*/

/* Remove the border around the tabs and override the default white background: */
.x-tab-panel-header-plain .x-tab-strip-top {
    background: #DFE8F6 url(../images/default/tabs/tab-strip-bg.gif) repeat-x scroll center bottom !important;
}

/* Custom CSS applied to a single panel in an accordion: */
.custom-accordion .x-panel-body {
    font-family:georgia,serif;
    padding:20px 80px !important;
    background:#ffe;
    font-size:18px;
    text-align:center;
    color:#15428B;
}
.custom-accordion .x-panel-header-text {
    font-weight:bold;
    font-style:italic;
    color:#555;
}

/* Custom style for the FormLayout footer so that it integrates into the border layout nicely: */
#form-panel .x-panel-footer {
    background:#DFE8F6;
    border-color:#99BBE8;
    border-style:none solid solid;
    border-width:0pt 1px 1px;
}

/* Customize the TableLayout html using standard CSS rules: */
#table-panel .x-table-layout {
    padding:5px;
}
#table-panel .x-table-layout td {
    vertical-align:top;
    padding:5px;
    font-size: 11px;
}

/* Toolbar icons for absolute form example: */
.icon-send {
    background-image:url(images/email_go.png) !important;
}
.icon-save {
    background-image:url(images/disk.png) !important;
}
.icon-print {
    background-image:url(images/printer.png) !important;
}
.icon-spell {
    background-image:url(images/spellcheck.png) !important;
}
.icon-attach {
    background-image:url(images/page_attach.png) !important;
}
/* Custom rule to make the toolbar fit within a framed panel with no margin: */
.email-form .x-panel-mc .x-panel-tbar .x-toolbar {
    border-top:1px solid #C2D6EF;
    border-left:1px solid #C2D6EF;
    border-bottom:1px solid #99BBE8;
    margin:-5px -4px 0;
}

/* Custom styles for the "Tabs with nested layouts" example: */
.inner-tab-custom .x-border-layout-ct {
    background: #fff;
}

/*===================================
/*  Rules for custom ux layouts
/*====================================*/
/* 
 * Ext.ux.layout.CenterLayout
 */
.ux-layout-center-item {
    margin:0 auto;
    text-align:left;
}
.ux-layout-center .x-panel-body,  /* if the container is a panel */
body.ux-layout-center {           /* if the container is the doc body (for viewport) */
    text-align:center;
}
.x-form-field-wrap .x-form-color-trigger {
	background:transparent url(color-trigger.gif) no-repeat 0 0;
    cursor:pointer; 
}

.titulo_ayuda { width:100%; text-align:center; text-decoration:underline; font-weight: bold; padding: 2 2 2 2;}
.pantalla_completa_ayuda { width:100%; text-align:right; color: #3366FF;cursor:pointer;cursor:hand }
.icon-add { background-image: url(./images/boton_mas.png) !important; }
.x-form-file-wrap {
    position: relative;
    height: 22px;
}
.x-form-file-wrap .x-form-file {
	position: absolute;
	right: 0;
	-moz-opacity: 0;
	filter:alpha(opacity: 0);
	opacity: 0;
	z-index: 2;
    height: 22px;
}
.x-form-file-wrap .x-form-file-btn {
	position: absolute;
	right: 0;
	z-index: 1;
}
.x-form-file-wrap .x-form-file-text {
    position: absolute;
    left: 0;
    z-index: 3;
    color: #777;
}
.upload-icon {
	background: url('../ext/shared/icons/fam/image_add.png') no-repeat 0 0 !important;
}
.show {
    display: block;
    top: 0px;
}
.dropdown-menu, .dropdown-menu-nav {
    display: none;
    position: absolute;
    width: auto;
    top: 100%;
    z-index: 300;
    min-width: 240px;
    max-width: 500px;
    margin-top: 4px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    margin-right: 5px;
    font-size: 1rem;
    color: #2e2e2e;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 0.25rem;
}
.dropdown-menu ul, .dropdown-menu-nav ul {
    margin: 0;
    padding: 0;
}
ul ul {
    list-style-type: circle;
    margin-block-start: 0px;
    margin-block-end: 0px;
}
ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}
.header-user.show .dropdown-menu {
    margin-top: 4px;
    color: #2e2e2e;
    left: auto;
}
.header-user.show .dropdown-menu li.current-user {
    padding: 8px 12px;
}
.dropdown-menu li, .dropdown-menu-nav li {
    display: block;
    text-align: left;
    list-style: none;
    padding: 0 1px;
    padding-left: 10px;
}
.dropdown-menu li:hover, .dropdown-menu-nav li:hover {
    background-color: #EEEEEE;
}
.dropdown-menu li.with-link, .dropdown-menu-nav li.with-link {
    cursor: pointer;
}
.dropdown-menu .divider, .dropdown-menu-nav .divider {
    height: 1px;
    margin: 4px 0;
    padding: 0;
    background-color: #dfdfdf;
}
