html,
body {
    height: 100%;
    margin: 0;
    padding: 0;    
    font: normal 10pt Helvetica Neue,Helvetica,sans-serif;
}
.fondo {
    height:100%; 
    background-image:url(../../web/img/fodo-azul-arriba.png); 
    background-repeat:repeat-x; 
    background-position:top left;
}
.logo {
    margin: 40px 0px 20px 0px;
    display: block;
}

.login-form {
    padding: 0px 10px 5px 10px;
}
.login-titulo {
    color: #4f4f4f;
    font-size: 20px;
    font-weight: 400;
    display: block;
    margin-left: -15px;
    margin-top: -5px;	
}
.linea-titulo {
    margin: 5px -15px 5px -15px;
}
.login-ingreso {
    background-color: #9fc848;
    border-color: #9fc848;
    width: 120px;
    font-weight: bold;
    margin-right: -15px;
}
.recuperar-pass {
    display: block;
    margin-top: 10px;
    color: #3992d4;
    font-style: italic;
}
.derechos {
    display: block;
    margin-top: 20px;
    color: #8a9092;	
}
.form-group {
    margin-bottom: 1px;
}
.login-recordar { 
    float:left; 
    width:50%;
    color: #636363;
    padding-top:5px;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron .btn {
    font-size: 14px;
    font-weight: bold;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}
.grid-view th {
    white-space: nowrap;
}
.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}
.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}
.site-login{
    float: none;
    margin-left: auto;
}
.barra_menu{
    background: #49A0D2;
    border: 1px solid #49A0D2;
}
.barra_menu .navbar-brand{
    color: white;
}
.barra_menu .navbar-nav > li > a{
    color: white;
}
.menu_lateral{
    background: #EFF7FC;
    border: 1px solid #87CBEC;
}

/*Ajuste de campos */
.form_personal{
    padding-left: 0px;
    padding-right: 0px;
}

.form-control{
    width: 95%;
}

.textarea_historial{
    width: 90%;
}

.obligatorio{
    width: 1px;
    color: red;
    display: inline;
}

.fc-left h2{
    color: #333;
    font-size: 22px;
    font-weight: bold;
}

div.required label.control-label:before {
    content: " *";
    color: red;
}

.test_border {
    border: 1px solid;
}

.fc-event{
    cursor: pointer;
}

/*==================== LAYOUT ============*/

.btn-sesion { /*No reconoce el primer estilo por eso esta duplicado*/
              background-color: #49a0d2; 
              border-color: #49a0d2; 
              color: #FFFFFF;
}
.btn-sesion { 
    background-color: #49a0d2; 
    border-color: #49a0d2; 
    color: #FFFFFF;
}
.btn-sesion:hover, .btn-sesion:focus, .btn-sesion:active, .btn-sesion.open .dropdown-toggle.btn-sesion {         
    background-color: #49a0d2; 
    border-color: #49a0d2;
    color: #FFFFFF;
    box-shadow: inset;								    
}

.sidebar { 
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;    
    overflow-x: hidden;
    overflow-y: auto; 
    background-color: #eff7fc;    
}
@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 51px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto; 
        background-color: #eff7fc;
        min-width: 184px;
    }  	
}

.menu_Inicio>a:before { background-image: url('../img/menu_vertical/HomeDash.png'); background-position: 0 0; }
.menu_Agenda>a:before { background-image: url('../img/menu_vertical/Agenda.png'); background-position: 0 2px; }
.menu_Consultas>a:before { background-image: url('../img/menu_vertical/Consultas.png'); background-position: 0 3px; }
.menu_Expedientes>a:before { background-image: url('../img/menu_vertical/Expedientes.png'); background-position: 0 3px; }
.menu_Ajustes>a:before { background-image: url('../img/menu_vertical/Ajustes.png'); background-position: 0 3px; }
.menu_Facturacion>a:before { background-image: url('../img/menu_vertical/Facturacion.png'); background-position: 0 3px; }

.main {
    padding: 50px 15px 0px 15px;
}

.main .page-header {
    margin-top: 0;
}

@media (min-width: 200px) and (max-width: 1279px) {
    .main {
        padding: 67px 15px 0px 15px;
    }
}

.nav-sidebar>li>a:before {
    background-repeat: no-repeat;    
    content: "";
    display: inline-block;
    height: 40px;
    margin-right: 15px;
    vertical-align: middle;
    width: 30px;				
}
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;				
    font-size:18px;
}
.nav-sidebar > li > a {
    padding-right: 20px;
    padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #fff;  
    background-color: #eff7fc;
}

.jumbotron {
    text-align: left;     
    min-height: 300px;
}

.inicio_hombre{
    background: #ffffff url(../img/medico.png) no-repeat;
    background-position: right +50px top -20px; 
}
.inicio_mujer{
    background: #ffffff url(../img/persona-bienvenida.png) no-repeat;
    background-position: right +50px top -20px; 
}

.jumbotron_texto p{
    width: 70%;                
}

@media (min-width: 200px) and (max-width: 640px) {
/*    .nav-sidebar {                    
        padding-top: 40px;                    
    }*/
    .barra_nav2 {
        padding-bottom: 5px;
    }    
    .inicio_hombre{
        background: #ffffff url(../img/medico_movil.png) no-repeat;
        background-position: right +5px top -20px; 
    }
    .inicio_mujer{
        background: #ffffff url(../img/asistente_movil.png) no-repeat;
        background-position: right +5px top -20px; 
    }    
    .jumbotron_texto p {
        width: 100%;
        font-size: 16px;
        font-weight: bold;                    
    }
    .jumbotron_texto h1 {
        width: 100%;
        font-size: 22px;
        font-weight: bold;                    
    } 
    .kv-sidenav .indicator {    
        padding-right: 30px;
    }
}

.header-avatar{
    width:40px; 
    height:40px; 
    float:left; 
    border-radius: 5px; 
    -moz-border-radius: 5px;                                  
    -webkit-border-radius: 5px; 
    background-color: #d2ecff; 
    border: 1px solid #006;
}

.header-avatar img{
    width: 38px; 
    height: 38px; 
    border-radius: 5px; 
    -moz-border-radius: 5px; 
    -webkit-border-radius: 5px;
}

/* navbar */
.navbar-primary .navbar { background:#9f58b5; border-bottom:none; }
.navbar-primary .navbar .nav > li > a {color: #501762;}
.navbar-primary .navbar .nav > li > a:hover {color: #fff; background-color: #8e49a3;}
.navbar-primary .navbar .nav .active > a,.navbar .nav .active > a:hover {color: #fff; background-color: #501762;}
.navbar-primary .navbar .nav li > a .caret, .tnav .navbar .nav li > a:hover .caret {border-top-color: #fff;border-bottom-color: #fff;}
.navbar-primary .navbar .nav > li.dropdown.open.active > a:hover {}
.navbar-primary .navbar .nav > li.dropdown.open > a {color: #fff;background-color: #9f58b5;border-color: #fff;}
.navbar-primary .navbar .nav > li.dropdown.open.active > a:hover .caret, .tnav .navbar .nav > li.dropdown.open > a .caret {border-top-color: #fff;}
.navbar-primary .navbar .navbar-brand {color:#fff;}
.navbar-primary .navbar .nav.pull-right {margin-left: 10px; margin-right: 0;}
.navbar-xs .navbar-primary .navbar { min-height:28px; height: 28px; }
.navbar-xs .navbar-primary .navbar .navbar-brand{ padding: 0px 12px;font-size: 16px;line-height: 28px; }
.navbar-xs .navbar-primary .navbar .navbar-nav > li > a {  padding-top: 0px; padding-bottom: 0px; line-height: 28px; }
.navbar-sm .navbar-primary .navbar { min-height:40px; height: 40px; }
.navbar-sm .navbar-primary .navbar .navbar-brand{ padding: 0px 12px;font-size: 16px;line-height: 40px; }
.navbar-sm .navbar-primary .navbar .navbar-nav > li > a {  padding-top: 0px; padding-bottom: 0px; line-height: 40px; }

.success_login{
    margin-left: 0px;
    color: green;
}
.error_login{
    margin-left: 0px;
    color: red;
}

.event-index{
    padding-top: 15px;
}

/* Menu´s Laterales */

.shoji {  
    overflow-x: hidden; 
}
.shoji > .shoji-rail { 
    height: 0;
    position: absolute;
    width: 100%;
}
.shoji > .shoji-rail > .shoji-panel {
    display: none;
    width: 265px; 
    
}
.shoji > .shoji-rail > .shoji-panel.shoji-panel-left { 
    float: left !important; 
    padding: 71px 0px 0px 20px; 
}
.shoji > .shoji-rail > .shoji-panel.shoji-panel-right { 
    float: right !important; 
    padding: 71px 0px 0px 30px; 
}
.shoji > .shoji-door { 
    position: relative;     
}
.navbar-toggle-left, .navbar-toggle-right { 
    margin: 5px; 
}
.navbar-toggle-left { 
    float: left !important; 
}
.navbar-toggle-right { 
    float: right !important; 
}
.navbar-banner {
    position: absolute;
    width: 100%;
    text-align: center;
}
.navbar-banner > .navbar-brand {
    float: none !important;
    line-height: 50px;
}
.square { 
    border-radius: 0 !important; 
}
.content { 
    background-color: white; 
}
.user {
    margin-bottom: 5px;
    padding: 5px;
    width:50%px; 
    height:auto;     
}

.jsgrid-row td { 
    overflow: hidden; 
}

/* Animación de carga para botones */
.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

.removePaddingLeft{
    padding-left: 0px;
}

.modal-md-v{
    width: 400px;
}

.img_perfil{
    max-height: 150px;
}

.div-foto-perfil  .file-preview-frame{
	float: none !important;
	display: block !important;
}

.sidebar .panel {
    background-color: transparent;
}
.sidebar > div {
    border: none;
}

.sidebar > div li a {
    border-bottom: none;
}

.sidebar > div .opened, .sidebar > div .closed {    
    padding: 10px 10px;
}

/* Modal Full */
.modal-full .modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

.modal-full .modal-dialog {
    position: fixed;
    margin: 0;
    width: 100%;
    height: 100%;
    padding: 0;
}

.modal-full .modal-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 2px solid #3c7dcf;
    border-radius: 0;
    box-shadow: none;
}

.modal-full .modal-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 50px;
    padding: 10px;
    background: #6598d9;
    border: 0;
}

.modal-full .modal-title {
    font-weight: 300;
    font-size: 2em;
    color: #fff;
    line-height: 30px;
}

.modal-full .modal-body {
    position: absolute;
    top: 50px;
    bottom: 60px;
    width: 100%;
    font-weight: 300;
    overflow: auto;
}

.modal-full .modal-footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 60px;
    padding: 10px;
    background: #f1f3f5;
}