/* 
    Document   : APFCSS
    Created on : 6/04/2012, 02:25:34 PM
    Author     : DIOS
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/


.ap-tabla-row-over{background:#c8c9c9;}
.ap-tabla-row-non{background:#f0efef;}
.ap-tabla-row-par{background:#d2d1d1;}

.ap-bar-paginacion{
    display: block;
    background:#999999;
    color: #666666;
}
.ap-div-tabla{
    display: block;
    width: 100%;
    background-color:#ffffff;
    color: #333333;
    font-size: 13px;
    color: #333333;
}
.ap-div-tabla-view{
    border: 1px solid #000000;
    overflow: hidden;

}
.ap-span-view{
    display: block;
    overflow:hidden;
}
.ap-div-tabla td{
    color: #333333;
}
span,div{
   -moz-box-sizing:border-box;
   box-sizing:border-box;
}
.ap-tabla-titulo{
border-bottom: 1px solid #666666;
}
.ap-tabla-columnas-div{
    height: 21px;
    width: 100%;
    display: block;
}
.ap-tabla-colum{
    table-layout: fixed;
    overflow: scroll;
}
/*.ap-tabla-data{
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0px;
    padding:0px;
    margin: 0px;
}
.ap-tabla-data th {
    table-layout: fixed;
    padding:0px;
    margin: 0px;
    height: 0px;

}*/
.ap-tabla-colum-tr{
   height: 21px;
}
/*.ap-tabla-data td{
   height: 21px;
  / * border:1px solid #333333;* /
}
.ap-tabla-columna-span{
   overflow: hidden;
   padding:0px;
   padding-left: 3px;
   height: 21px;
   white-space: nowrap;
   text-overflow: ellipsis;
   display:inline-block;
   cursor:default;
   width: 100%;
   

}*/
.ap-tabla-data-row-td{
    
    padding:0px;
    padding-left: 5px;
    padding-right: 5px;
    margin: 0px;
}
.ap-tabla-row{
    border-collapse: collapse;
    border-spacing: 0px;
    padding:0px;
    margin: 0px;
    height: auto;
    width: auto;
}
.ap-tabla-row th{
    border-collapse: collapse;
    border-spacing: 0px;
    padding:0px;
    margin: 0px;
    height: 0px;
}
.ap-tabla-data-tr-td{
    overflow: hidden;
    padding:0px;
    height: 21px;
    border-bottom: 1px solid #999999;
}
.ap-tabla-data-tr-th{
    border-bottom: 0px;
}
.ap-tabla-colum-tr-td-div{
  /* cursor:e-resize;*/
   height: 100%;
}
.ap-tabla-data-tr-td-div{
    height: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    cursor: default;
}
.ap-tabla-data-tr-td-div-iner{
   overflow: hidden;
   white-space: nowrap;
   text-overflow: ellipsis;
   height: 100%;
   cursor:default;
}
.ap-tabla-colum-tr-td-div-iner{
   overflow: hidden;
   white-space: nowrap;
   text-overflow: ellipsis;
   height: 100%;
   cursor:default;
}

.ap-frame-kul,.ap-frame-kur,.ap-frame-kdl,.ap-frame-kdr{background-color:#666666;width: 1px; height: 1px;}
.ap-frame-bu,.ap-frame-bl,.ap-frame-br,.ap-frame-bd{background-color: #666666;}

.ap-div-tabla-titulo{
	padding:2px;
	text-align:center;
	vertical-align:middle;
        background-image: url(../img/titulo-bg.png);
        background-repeat: repeat-x;
	display:block;
        color:#333333;
	font-size: 13px;
        font-weight: bold;
        height: 21px;
}

/*
.ap-tabla-columna-resize{
       /* float:right;
        position: relative;
        width: 3px;
        left:2px;
        height: 20px;* /
        overflow: hidden;
        border-right: 1px solid #666666;
        border-bottom: 1px solid #666666;
        padding-right: 3px;
        cursor:e-resize;
        display:inline-block;
}*/
.ap-tabla-market{
        position: absolute;
        width: 1px;
        background-color: #666666;
}
.ap-tabla-vacia{
	width:100%;
	padding-top:20px;
	padding-bottom:20px;
	text-align:center;
	display:block;
        color:#333333;
}

/*#########################################################################*/
/*
/*                              ap-frame
/*
/*#########################################################################*/





.ap-frame{
	/*background-color:#CCC;*/
}
.ap-frame-corner-TL{
	width:16px;
	height:16px;
	background-image:url(../../img/cornerTL.png);
}
.ap-frame-corner-TR{
	width:16px;
	height:16px;
	background-image:url(../../img/cornerTR.png);
}
.ap-frame-corner-BL{
	width:16px;
	height:16px;
	background-image:url(../../img/cornerBL.png);
}
.ap-frame-corner-BR{
	width:16px;
	height:16px;
	background-image:url(../../img/cornerBR.png);
}

.ap-frame-top{
	background:#CCC;
	background-image:url(../../img/bgT.png);
}
.ap-frame-left{
	background:#CCC;
}

.ap-frame-center{
	background:#CCC;
	vertical-align:top;
}
.ap-frame-right{
	background:#CCC;
}
.ap-frame-bottom{
	background:#CCC;
}

/*#########################################################################*/
/*
/*                              ap-formulario
/*
/*#########################################################################*/

.ap-form{
 padding-left:50px;
}

.ap-form-label{
	font-size:15px;
}
label{
    display: inline-block;
  width: 200px;  
  padding: 0px 5px 0px 5px;
}

.ap-form-input{
	width:200px;
	height:23px;
	border:1px solid #666;
	background-image:url(../img/bgInput.png);
	vertical-align:middle;
        padding: 1px;
        margin: 3px 1px 3px 0px;
}
.ap-form-input:focus{
	width:200px;
	height:23px;
	border:2px solid #0066CC;
	background-image:url(../img/bgInput.png);
	vertical-align:middle;
        padding: 1px;
        margin: 2px 0px 2px 0px;
        outline: none;
}
.ap-form-input-error{
	width:200px;
	height:23px;
	border:2px solid #cc0000;
	background-image:url(../img/bgInput.png);
	vertical-align:middle;
        padding: 1px;
        margin: 2px 0px 2px 0px;
}

.ap-form-input-upper{
	width:200px;
	height:23px;
	border:1px solid #666;
	background-image:url(../img/bgInput.png);
	vertical-align:middle;
        padding: 1px;
        margin: 3px 1px 3px 0px;
}
.ap-form-input-upper:focus{
	width:200px;
	height:23px;
	border:2px solid #0066CC;
	background-image:url(../img/bgInput.png);
	vertical-align:middle;
        padding: 1px;
        margin: 2px 0px 2px 0px;
        outline: none;
}
.ap-form-input-upper-error{
	width:200px;
	height:23px;
	border:2px solid #cc0000;
	background-image:url(../img/bgInput.png);
	vertical-align:middle;
        padding: 1px;
        margin: 2px 0px 2px 0px;
}


.ap-form-commbo-input{
	width:200px;
	height:23px;
	border:1px solid #006699;
	background-image:url(../img/bgInput.png);
	vertical-align:middle;
        padding: 1px;
        margin: 3px 1px 3px 0px;
}
.ap-form-commbo-input:focus{
	width:200px;
	height:23px;
	border:2px solid #0066CC;
	background-image:url(../img/bgInput.png);
	vertical-align:middle;
        padding: 1px;
        margin: 2px 0px 2px 0px;
        outline: none;
}
.ap-form-commbo-input-error{
	width:200px;
	height:23px;
	border:2px solid #cc0000;
	background-image:url(../img/bgInput.png);
	vertical-align:middle;
        padding: 1px;
        margin: 2px 0px 2px 0px;
}

.ap-form-select{
	width:204px;
	height:25px;
	border:1px solid #666;
        background-image:url(../img/bgInput.png);
        padding: 1px;
        margin: 3px 1px 3px 0px;
}
.ap-form-select:focus{
	width:204px;
	height:27px;
	border:2px solid #0066CC;
        background-image:url(../img/bgInput.png);
        padding: 1px;
        margin: 2px 0px 2px 0px;
        outline: none;
}
.ap-form-select-error{
	width:204px;
	height:27px;
	border:2px solid #cc0000;
        background-image:url(../img/bgInput.png);
        padding: 1px;
        margin: 2px 0px 2px 0px;
}


.ap-form-fieldset{
	border:1px solid #666;
        padding: 10px;
}
.ap-form-fieldset-legend{
	color:#006666;
}

.ap-form-textarea{
    width:200px;
    border:1px solid #666;
    background-repeat: repeat-x;
    background-image:url(../img/bgInput.png);
    resize:none;
    font: 12px Tahoma, Geneva, sans-serif !important;
}

/*#########################################################################*/
/*
/*                              ap-button
/*
/*#########################################################################*/
.ap-button-over-azul,.ap-button-out-azul{
    cursor: pointer;
    display: inline;
    font: 12px Tahoma, Geneva, sans-serif !important;
    height: 28px !important;
}
.ap-button-over-gris,.ap-button-out-gris{
    cursor: pointer;
    display: inline;
    font: 12px Tahoma, Geneva, sans-serif !important;
    height: 28px !important;
}


.ap-button-gris-button{ background: none; border: none;cursor: pointer; padding: 0px; margin: 0px;}
.ap-button-gris-input { background: none; border: none;cursor: pointer; padding: 0px; margin: 0px;}
.ap-button-gris-td-l-u{ width: 4px; height: 4px; background-image:url(../img/btn_gris/bg_l_u.png);}
.ap-button-gris-td-l-m{ background-image:url(../img/btn_gris/bg_l_m.png);}
.ap-button-gris-td-l-d{ width: 4px; height: 4px; background-image:url(../img/btn_gris/bg_l_d.png);}
.ap-button-gris-td-r-u{ width: 4px; height: 4px; background-image:url(../img/btn_gris/bg_r_u.png);}
.ap-button-gris-td-r-m{ background-image:url(../img/btn_gris/bg_r_m.png);}
.ap-button-gris-td-r-d{ width: 4px; height: 4px; background-image:url(../img/btn_gris/bg_r_d.png);}
.ap-button-gris-td-c-u{ background-image:url(../img/btn_gris/bg_c_u.png);}
.ap-button-gris-td-c-d{ background-image:url(../img/btn_gris/bg_c_d.png);}
.ap-button-gris-td-c-m{ height: 19px; background-image:url(../img/btn_gris/bg_c_m.png); text-align: center;}

.ap-button-azul-button{ background: none; border: none; color: #f0efef; font-weight: bold;cursor: pointer;  padding: 0px; margin: 0px;}
.ap-button-azul-input { background: none; border: none; color: #f0efef; font-weight: bold;cursor: pointer;  padding: 0px; margin: 0px;}
.ap-button-azul-td-l-u{ width: 4px; height: 4px; background-image:url(../img/btn_azul/bg_l_u.png);}
.ap-button-azul-td-l-m{ background-image:url(../img/btn_azul/bg_l_m.png);}
.ap-button-azul-td-l-d{ width: 4px; height: 4px; background-image:url(../img/btn_azul/bg_l_d.png);}
.ap-button-azul-td-r-u{ width: 4px; height: 4px; background-image:url(../img/btn_azul/bg_r_u.png);}
.ap-button-azul-td-r-m{ background-image:url(../img/btn_azul/bg_r_m.png);}
.ap-button-azul-td-r-d{ width: 4px; height: 4px; background-image:url(../img/btn_azul/bg_r_d.png);}
.ap-button-azul-td-c-u{ background-image:url(../img/btn_azul/bg_c_u.png);}
.ap-button-azul-td-c-d{ background-image:url(../img/btn_azul/bg_c_d.png);}
.ap-button-azul-td-c-m{ height: 20px; background-image:url(../img/btn_azul/bg_c_m.png);text-align: center; overflow: hidden; }

.ap-button-over-azul .ap-button-azul-td-l-u{ width: 4px; height: 4px; background-image:url(../img/btn_azul_over/bg_l_u.png);}
.ap-button-over-azul .ap-button-azul-td-l-m{ background-image:url(../img/btn_azul_over/bg_l_m.png);}
.ap-button-over-azul .ap-button-azul-td-l-d{ width: 4px; height: 4px; background-image:url(../img/btn_azul_over/bg_l_d.png);}
.ap-button-over-azul .ap-button-azul-td-r-u{ width: 4px; height: 4px; background-image:url(../img/btn_azul_over/bg_r_u.png);}
.ap-button-over-azul .ap-button-azul-td-r-m{ background-image:url(../img/btn_azul_over/bg_r_m.png);}
.ap-button-over-azul .ap-button-azul-td-r-d{ width: 4px; height: 4px; background-image:url(../img/btn_azul_over/bg_r_d.png);}
.ap-button-over-azul .ap-button-azul-td-c-u{ background-image:url(../img/btn_azul_over/bg_c_u.png);}
.ap-button-over-azul .ap-button-azul-td-c-d{ background-image:url(../img/btn_azul_over/bg_c_d.png);}
.ap-button-over-azul .ap-button-azul-td-c-m{ height: 20px; background-image:url(../img/btn_azul_over/bg_c_m.png);text-align: center;overflow: hidden;}

.ap-msg {
		position: absolute;
		top: 0px;
		left: 0px;
		width: 100%;
		height: 100%;
		padding: 16px;
		background: #fff;
		color: #333;
		overflow: auto;
		background-color: #666;
		opacity: 0.3;
		filter: alpha(opacity=30);
	}
/***********************************COMBO************************/
.ap-commbo-data-row {
     display: block;
    font-size: 12px;
    background-color:#FFFFFF;
    color:#000000;
    border: 1px solid #FFFFFF;
    cursor: default;
}
.ap-commbo-data-row-over {
    display: block;
    font-size: 12px;
    background-color:#009999;
    color:#FFFFFF;
    border: 1px dotted #000000;
    cursor: default;
}
.ap-commbo-box {
        position:relative;
        display: inline-block;
}
.ap-commbo-input {
        position:absolute;
        display: inline;
}

 .ap-commbo-data {
        position:absolute;
        top:23px;
        left: 0px;
        overflow: auto;
        border: 1px solid #666;
        background-color: #FFFFFF;
        z-index: 100;
}
/***********************************radio************************/
.ap-form-cb {
     display:  inline-block;
    font-size: 12px;
    background-color:#FFFFFF;
    color:#000000;
    border: 1px solid #FFFFFF;
    cursor: default;
}
/***********************************checbox************************/
.ap-form-radio {
     display: inline-block;
    font-size: 12px;
    background-color:#FFFFFF;
    color:#000000;
    border: 1px solid #FFFFFF;
    cursor: default;
}
/***********************************ERRORES************************/
.ap-errores {
        display:block;
        background-color: #ffff66;
        color:#cc0000;
        font-size: 11px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.ap-errores ul{
    display:block;
    margin-bottom: 0px;
    margin-top: 0px;
}
/***********************************MENSAJES************************/
.ap-mensajes {
    display:block;
    background-color: #ffff66;
    color:#006600;
    font-size: 11px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.ap-mensajes ul{
    display:block;
    margin-bottom: 0px;
    margin-top: 0px;
}
/***********************************CALENDAR************************/
.ap-calendar-table {
       width: 100%;
       font-size: 12px;
       text-align: center;
       cursor: default;
}
.ap-calendar-year{
        width: 100%;
       font-size: 12px;
       font-weight: bold;
       text-align: center;
       background-color:#666666;
       color:#F0F0F0;
       cursor: pointer;
}
.ap-calendar-mes{
        width: 100%;
       font-size: 12px;
       font-weight: bold;
       text-align: center;
       background-color:#888888;
       color:#F0F0F0;
       cursor: pointer;
}
.ap-calendar-week{
        width: 100%;
       font-size: 12px;
       font-weight: bold;
       text-align: center;
       background-color:#bbbbbb;
       color:#F0F0F0;
       cursor: pointer;
}

.ap-calendar-today{
       background-color:#888888;
       color:#F0F0F0;
}
.ap-calendar-semana {
       font-size: 12px;
       font-weight: bold;
       text-align: center;
       background-color:#AAAAAA;
       color:#F0F0F0;
}
.ap-calendar-semanas {
       width: 100%;
       font-size: 12px;
       text-align: center;
}
.ap-calendar-move-year{
       width: 100%;
       font-size: 14px;
       font-weight: bold;
       text-align: center;
       background-color:#555555;
       color:#F0F0F0;
       cursor: pointer
}
.ap-calendar-move-month{
     width: 100%;
       font-size: 14px;
       font-weight: bold;
       text-align: center;
       background-color:#777777;
       color:#F0F0F0;
       cursor: pointer;
}
.ap-calendar-chose-year{
       font-size: 16px;
       text-align: center;
       cursor: pointer;
       background-color:#777777;
       color:#F0F0F0;
}
.ap-calendar-chose-month{
     font-size: 16px;
       text-align: center;
       cursor: pointer;
       background-color:#777777;
       color:#F0F0F0;
}
.ap-calendar-box {
        position:relative;
        display: inline-block;
}
.ap-calendar-box-render {
        display: inline-block;
}
.ap-calendar-input {
        position:absolute;
        top:0px;
        left:0px;
}
 .ap-calendar-data {
        position:absolute;
        top:23px;
        left: 0px;
        overflow: auto;
        border: 1px solid #666;
        background-color: #FFFFFF;
        -moz-box-shadow: 0px 0px 30px #AAAAAA;
        -webkit-box-shadow: 0px 0px 30px #AAAAAA;
         box-shadow: 0px 0px 30px #AAAAAA; 
        z-index: 100;
}
 .ap-calendar-data-render {
        overflow: auto;
        border: 1px solid #DDDDDD;
        background-color: #FFFFFF;
}
.ap-calendar-button{
     position:absolute;
     padding: 1px;
     cursor: pointer;
}
 .ap-calendar-day {
        padding: 3px;
        color: #666;
}
.ap-calendar-day-wk{
        padding: 3px;
        color: #666;
}

.agenda-color-chose{
    width: 15px;
    height: 15px;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
        
}
.agenda-color-chosen{
    width: 15px;
    height: 15px;
    display: inline-block;
    vertical-align: middle;
    border: solid 1px #000000;
        
}

.ap-label-evento-calendar{
    padding: 0px 15px 0px 0px;
    text-align: right;
    width: 100px;
    
}
/***********************************CALENDAR IN DIV************************/
.ap-calendar-table-indiv {
       font-size: 12px;
       text-align: center;
       cursor: default;
       width: 100%;
       height: 100%;
       position: absolute;
       top: 0px;left:0px;
       padding-top: 90px;
       z-index: 1 ;
}
.ap-calendar-year-indiv {
        width: 100%;
       font-size: 12px;
       font-weight: bold;
       text-align: center;
       background-color:#666666;
       color:#F0F0F0;
       cursor: pointer;
}
.ap-calendar-mes-indiv {
        width: 100%;
       font-size: 12px;
       font-weight: bold;
       text-align: center;
       background-color:#888888;
       color:#F0F0F0;
       cursor: pointer;
}
.ap-calendar-week-indiv{
        width: 100%;
       font-size: 12px;
       font-weight: bold;
       text-align: center;
       background-color:#bbbbbb;
       color:#F0F0F0;
       cursor: pointer;
}

.ap-calendar-semana-indiv  {
       font-size: 12px;
       font-weight: bold;
       text-align: center;
       background-color:#AAAAAA;
       color:#F0F0F0;
}
.ap-calendar-semanas-indiv  {
       width: 100%;
       font-size: 12px;
       text-align: center;
}
.ap-calendar-move-year-indiv {
       width: 100%;
       font-size: 14px;
       font-weight: bold;
       text-align: center;
       background-color:#555555;
       color:#F0F0F0;
       cursor: pointer
}
.ap-calendar-move-month-indiv {
     width: 100%;
       font-size: 14px;
       font-weight: bold;
       text-align: center;
       background-color:#777777;
       color:#F0F0F0;
       cursor: pointer;
}
.ap-calendar-chose-year-indiv {
        font-size: 16px;
       text-align: center;
       cursor: pointer;
       background-color:#777777;
       color:#F0F0F0;
}
.ap-calendar-chose-month-indiv {
     font-size: 16px;
       text-align: center;
       cursor: pointer;
       background-color:#777777;
       color:#F0F0F0;
}
.ap-calendar-box-indiv  {
        position:relative;
        display: inline-block;
}
.ap-calendar-box-render-indiv  {
        display: inline-block;
}
.ap-calendar-input-indiv  {
        position:absolute;
        top:0px;
        left:0px;
}
 .ap-calendar-data-indiv  {
        position:absolute;
        top:23px;
        left: 0px;
        overflow: auto;
        border: 1px solid #666;
        background-color: #FFFFFF;
        -moz-box-shadow: 0px 0px 30px #AAAAAA;
        -webkit-box-shadow: 0px 0px 30px #AAAAAA;
         box-shadow: 0px 0px 30px #AAAAAA; 
        z-index: 100;
}
 .ap-calendar-data-render-indiv {
        overflow: auto;
        border: 1px solid #DDDDDD;
        background-color: #FFFFFF;
}
.ap-calendar-button-indiv {
     position:absolute;
     padding: 1px;
     cursor: pointer;
}
 .ap-calendar-day-indiv  {
        padding: 3px;
        color: #666;
        border-right: 1px solid #dddddd;
        border-top: 1px solid #dddddd;
        text-align: left;
        height: 100%;
        
}
.ap-calendar-day-wk-indiv {
        background-color: #efefef;
}

.ap-calendar-day-w-indiv {
        background-color: transparent;
}
.ap-calendar-today-indiv {
        color: #888888;
        border-right: 1px solid #dc2127;
        border-top: 2px solid #dc2127;
        text-align: left;
}

/*********************************Agenda*************************/

.ap-agenda-center{
    display: table;
    margin: 0 auto;
    padding: 0px 0px 0px 0px;
    width: 1100px;
    color:#283890;
}
.agenda-date-info{
    font-size: 35px;
    font-weight: lighter;
    color: #555555;
    background-color: #E0E0E0;
    padding: 5px;
    text-align: center;
    width: 125px;
}
.agenda-week-day-today{
    font-size: 13px;
    color: #E0E0E0;
    background-color: #555555;
    padding-left: 5px;
    height:20px;
}
.agenda-week-day{
    font-size: 13px;
    color: #555555;
    background-color: #E0E0E0;
    padding-left: 5px;
    height:20px;
}
.agenda-week-day-all{
    font-size: 11px;
    color: #555555;
    background-color: #E0E0E0;
    padding-left: 5px;
    height:20px;
}
.agenda-week-day-all-data{
    font-size: 13px;
    color: #E0E0E0;
    background-color: #555555;
    padding-left: 5px;
    height:20px;
   /* cursor: pointer;*/
}
.agenda-week-container{
    position:relative;
    height: 1440px;
   /* background-image:url(../img/agenda/bg-week.png);*/
}
.agenda-tbl{
    padding: 0px;
    margin: 0px;
    border: 0px;
    border-spacing: 0;
    border-collapse: collapse;
    border-spacing: 0;
    border-collapse: collapse;
    background-color: #FAFAFA;
}

.agenda-title{
     padding: 5px;
    color: #E0E0E0;
    background-color: #555555;
}
.agenda-week-allday-jorney{
    font-size: 13px;
    color: #555555;
    background-color: #E8E8E8;
    height:30px;
}
.agenda-week-day-jorney{
    font-size: 13px;
    color: #555555;
    background-color: #E8E8E8;
    height:20px;
}

.agenda-div-hour{
    position:absolute; 
    width:75px; 
    height:60px;
    font-size: 13px;
    color: #555555;
    padding-left: 5px;
    border-right:1px solid #eeeeee;
}
.agenda-div-event{
    position:absolute; 
    width:137px; 
    font-size: 13px;
    color: #222222;
    padding-left: 5px;
    border:1px solid #333;
    background-color:blue;
    opacity:0.85;
    filter:Alpha(opacity=85);
    border-radius:5px; 
    -moz-border-radius:5px; /* Firefox */ 
    -webkit-border-radius:5px; /* Safari y Chrome */
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 20;
}
.agenda-div-event-all-day{
    width:137px; 
    position:absolute; 
    background-color:#FF4000;
    opacity:0.2;
    filter:Alpha(opacity=20);
    z-index: 10;
}
.ap-div-form-evento{
   position:absolute;
   top:50%;
    right:50%;
    overflow: auto;
    border: 1px solid #666;
    background-color: #FFFFFF;
    -moz-box-shadow: 0px 0px 30px #333333;
    -webkit-box-shadow: 0px 0px 30px #333333;
     box-shadow: 0px 0px 30px #333333; 
     border-radius:4px; 
    -moz-border-radius:4px; /* Firefox */ 
    -webkit-border-radius:4px; /* Safari y Chrome */
    z-index: 200;
    margin: 20px;
}

.ap-div-form-popup{
   position:absolute;
   top:80%;
    right:50%;
    overflow: auto;
    border: 1px solid #666;
    background-color: #FFFFFF;
    -moz-box-shadow: 0px 0px 30px #333333;
    -webkit-box-shadow: 0px 0px 30px #333333;
     box-shadow: 0px 0px 30px #333333; 
     border-radius:4px; 
    -moz-border-radius:4px; /* Firefox */ 
    -webkit-border-radius:4px; /* Safari y Chrome */
    z-index: 200;
    margin: 20px;
}
.agenda-selected-doctor-evento{
    height: 24px;
    background-color:#EEEEEE;
    border-radius:10px; 
    -moz-border-radius:10px; /* Firefox */ 
    -webkit-border-radius:10px; /* Safari y Chrome */  
    display: inline-block;
    padding: 2px;
}
.agenda-eventos-dia{
    opacity:0.85;
    filter:Alpha(opacity=85);
    background-color:#DDDDDD;
    border-radius:5px; 
    -moz-border-radius:5px; /* Firefox */ 
    -webkit-border-radius:5px; /* Safari y Chrome */  
    color:#333333;
    margin: 1px 1px 0px 1px;
    padding: 3px;
}

.agenda-div-hour-line-hard{
    position:absolute; 
    width: 100%;
    border-top:1px dotted #bbbbbb;
    border-bottom: 1px dotted #bbbbbb;
}

.agenda-div-hour-line-ligth{
    position:absolute; 
    width: 100%;
    border-top:1px dotted #dddddd;
    border-bottom: 1px dotted #dddddd;
}

/***********************************tabla************************/
.ap-tabla-box {
        position:relative;
        display: inline-block;
        background-color: #FFFFFF;
        border: 1px solid #999999;
}
.ap-tabla-cont {
        display:block;
        overflow: auto;
}
.ap-tabla-pagin {
        display:block;
      /*  background-color:#0066CC;*/
         background-image:url(../img/columna-bg.png);
}
.ap-tabla-headers {
    display:block;
    height: 21px;
    color:#222222;
    background-image:url(../img/columna-bg.png);
    -moz-user-select: none;
    cursor: default;
}
/*.ap-tabla-header {
   display:inline-block;
   overflow: hidden;
   white-space: nowrap;
   text-overflow: ellipsis;
   height: 100%;
   cursor:default;
   padding: 4px;
}*/
.ap-tabla-data-table{
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0px;
    padding:0px;
    margin: 0px;
}
.ap-tabla-data-table th {
    table-layout: fixed;
    padding:0px;
    margin: 0px;
    height: 0px;

}
.ap-tabla-data-table td{
   height: 21px;
  /* border:1px solid #333333;*/
}
.ap-tabla-header{
   overflow: hidden;
   padding: 1px 2px 1px 2px;
   height: 20px;
   white-space: nowrap;
   text-overflow: ellipsis;
   display:inline-block;
   cursor:default;
   width: 100%;
   background-color: #888888;
   color: whitesmoke;
}
.ap-tabla-headers-div{
   border-bottom: 1px solid #666666;
   height: 21px;
}

.ap-tabla-header-resize{
        border-right: 1px solid #666666;
       /* border-bottom: 1px solid #666666;*/
        padding-right: 3px;
        height: 20px;
        background-color: #009999;
        cursor:e-resize;
        display:inline-block;
        /*background-image:url(../img/columna-bg.png);*/
}
 .vo_etiqueta_subclass{
     padding: 0px 5px 3px 30px;
     text-align: right;
    /* width: 200px;*/
     font-weight: bold;
     display: inline-block;
 }
 .vo_etiqueta_class{
     padding: 0px 5px 3px 80px;
     text-align: right;
    /* width: 200px;*/
     font-weight: bold;
     display: inline-block;
 }

.vo_campo_class{
    display: inline-block;
    
}

.ap-tabla-data{
        display:block;
        background-color: #ffffff;
}
.ap-tabla-data-row-td{
    color:#222222;
    font-size: 12px;
}
.ap-tabla-tr-th{
    height: 0px;
    padding: 0px;
    margin: 0px;
   /* display: none;*/
}
.ap-tabla-th{
    height: 0px;
    padding: 0px;
    margin: 0px;
   /* display: none;*/
}
/*
.ap-tabla-data th,td {
    table-layout: fixed;
}*/
/*.ap-tabla-data-table{
        display:block;
        table-layout: fixed;
}*/


/*----------------------SSwith ----------------------*/

.ap-switch-form{
display: none;
}
.ap-switch-item{
    padding:0px;
    border: 0px;
    display: inline-block;
    background-color: transparent;
    vertical-align:middle;
}
.ap-switch-ini{          background-image:url(../img/onoff/ap-switch-ini.png);}
.ap-switch-ini-selec{    background-image:url(../img/onoff/ap-switch-ini-selec.png);}
.ap-switch-mid-on{       background-image:url(../img/onoff/ap-switch-mid-on.png);}
.ap-switch-mid-off{      background-image:url(../img/onoff/ap-switch-mid-off.png);}
.ap-switch-mid-selec{    background-image:url(../img/onoff/ap-switch-mid-selec.png);}
.ap-switch-end{          background-image:url(../img/onoff/ap-switch-end.png);}
.ap-switch-end-selec{    background-image:url(../img/onoff/ap-switch-end-selec.png);}


.ap-switch-ini-na {         background-image:url(../img/onoff/ap-switch-ini-na.png);}
.ap-switch-ini-selec-na{    background-image:url(../img/onoff/ap-switch-ini-selec-na.png);}
.ap-switch-mid-on-na{       background-image:url(../img/onoff/ap-switch-mid-on-na.png);}
.ap-switch-mid-off-na{      background-image:url(../img/onoff/ap-switch-mid-off-na.png);}
.ap-switch-mid-selec-na{    background-image:url(../img/onoff/ap-switch-mid-selec-na.png);}
.ap-switch-end-na{          background-image:url(../img/onoff/ap-switch-end-na.png);}
.ap-switch-end-selec-na{    background-image:url(../img/onoff/ap-switch-end-selec-na.png);}


/*-------------------------ligthBox-------------------------*/




    .ap-bg-ligthbox {
        position: fixed;
        top:0%;
        left: 0%;
        width: 100%;
        height: 100%;
        background-color: black;
        z-index:1001;
        -moz-opacity: 0.4;
        opacity:.40;
        filter: alpha(opacity=340);
    }
    .ap-over-ligthbox {
        position: fixed;
        top: 25%;
        left: 25%;
        width: 50%;
        height: 50%;
        z-index:1002;
        overflow: auto;
    }

/*---------------ALert---------------*/
/*.ap-alert-azul-button{ background: none; border: none; color: #f0efef; font-weight: bold;cursor: pointer;  padding: 0px; margin: 0px;}
.ap-alert-azul-input { background: none; border: none; color: #f0efef; font-weight: bold;cursor: pointer;  padding: 0px; margin: 0px;}
*/

.ap-alert-azul-td-l-t{ width: 34px; height: 52px; background-image:url(../img/alert_azul/top_left.png);}
.ap-alert-azul-td-l-m{ background-image:url(../img/alert_azul/middle_left_bg.png);}
.ap-alert-azul-td-l-b{ width: 34px; height: 34px; background-image:url(../img/alert_azul/buttom_left.png);}
.ap-alert-azul-td-r-t{ width: 34px; height: 52px; background-image:url(../img/alert_azul/top_rigth.png);}
.ap-alert-azul-x{ width: 13px; height: 13px; background-image:url(../img/alert_azul/close_x.png); background-repeat:no-repeat ;cursor: pointer}
.ap-alert-azul-td-r-m{ background-image:url(../img/alert_azul/middle_rigth_bg.png);}
.ap-alert-azul-td-r-b{ width: 34px; height: 34px; background-image:url(../img/alert_azul/buttom_rigth.png);}
.ap-alert-azul-td-c-t{ background-image:url(../img/alert_azul/bgtop.png);color:#EEEEEE;font-weight: bold;font-size: 14;vertical-align: bottom;padding-bottom: 5px}
.ap-alert-azul-td-c-b{ background-image:url(../img/alert_azul/buttom_bg.png);}
.ap-alert-azul-td-c-m{ height: 20px; background-color: #CCCCCC;text-align: center; overflow: hidden; }

/*----------------------------------------*/

/*---------------tooltip---------------*/
.ap-tooltip-gris{
    border: 2px solid #dddddd;
    background-color: #eeeeee;
    -moz-box-shadow: 0px 0px 30px #AAAAAA;
    -webkit-box-shadow: 0px 0px 30px #AAAAAA;
     box-shadow: 0px 0px 30px #AAAAAA; 
     border-radius:9px; 
    -moz-border-radius:9px; /* Firefox */ 
    -webkit-border-radius:9px; /* Safari y Chrome */
    z-index: 50;
    position: fixed;
    padding: 5px; 
}
/*---------------tooltip---------------*/

.ap-tabs-element{height: 30px;padding: 5px;float: left; border: 1px solid #1B2765; margin-left: 5px ;border-bottom: none; cursor: pointer}
.ap-tab-selected{background-color:#1B2765; color:#DDDDDD; font-weight: bold;height: 35px;float: left; 
                 border-bottom: none;
                 border-left:1px solid #1B2765; 
                 border-right: 1px solid #1B2765; 
                 border-top:  1px solid #1B2765;}
.ap-tabs-base{background-color:#1B2765}
.ap-tabs-body{border: 1px solid #1B2765}


/*--------------Tag Field--------------*/

    .ap-tag-input{
        color:#404040;
        display: inline-block;
        background: #FFFFFF;
        height:27px;
        width: 364px; 
	border-bottom:1px solid #ffffff;
        border-right:1px solid #ffffff;
        border-left:1px solid #ffffff;
        border-top: 1px solid #eeeeee;
	vertical-align:middle;
        padding: 1px;
        margin-top: 1px;
        
   }
   .ap-tag-div{
        display: inline-block;
        background: #FFFFFF;
        color:#404040;
        width: 372px; 
        padding: 1px;
        text-align: left;
        border:1px solid #666;
   }
   .ap-tag-valid-div{
        display: inline-block;
        background: #dddddd;
        color:#404040;
        padding: 2px;
        margin-right: 2px;
        margin-bottom: 2px;
        border:1px solid #aaaaaa;
   }
   .ap-tag-invalid-div{
        display: inline-block;
        background: #ffdddd;
        color:#404040;
        padding: 2px;
        margin-right: 2px;
        margin-bottom: 2px;
        border:1px solid #aaaaaa;
   }
   .ap-tag-cross-delete{
        margin: 4px;
        padding: 2px 6px 2px 2px;
        cursor: pointer;
        border-right:1px solid #aaaaaa;
   }
   
   /*--------------Tag Field END--------------*/