/*!
 * Start Bootstrap - SB Admin 2 Bootstrap Admin Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    background-color: #f8f8f8;
}

#wrapper {
    width: 100%;
}

#page-wrapper {
    padding: 0 15px;
    min-height: 568px;
    background-color: #fff;
}

@media(min-width:768px) {
    #page-wrapper {
        position: inherit;
        margin: 0 0 0 250px;
        padding: 0 30px;
        border-left: 1px solid #e7e7e7;
    }
}

.navbar-top-links {
    margin-right: 0;
    
}

.navbar-top-links li {
    display: inline-block;
}

.navbar-top-links li:last-child {
    margin-right: 0px;
}

.navbar-top-links li a {
    padding: 15px;
    min-height: 50px;
    
}

.navbar-top-links .dropdown-menu li {
    display: block;
    
}

.navbar-top-links .dropdown-menu li:last-child {
    margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
    padding: 3px 20px;
    min-height: 0;
}

.navbar-top-links .dropdown-menu li a div {
    white-space: normal;
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
    width: 310px;
    min-width: 0;
}

.navbar-top-links .dropdown-messages {
    margin-left: 5px;
}

.navbar-top-links .dropdown-tasks {
    margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
    margin-left: -123px;
}

.navbar-top-links .dropdown-user {
    right: 0;
    left: auto;
}

.sidebar .sidebar-nav.navbar-collapse {
    padding-right: 0;
    padding-left: 0;
}

.sidebar .sidebar-search {
    padding: 15px;
}

.sidebar ul li {
    border-bottom: 1px solid #e7e7e7;
}

.sidebar ul li a.active {
    background-color: #eee;
}

.sidebar .arrow {
    float: right;
}

.sidebar .fa.arrow:before {
    content: "\f104";
}

.sidebar .active>a>.fa.arrow:before {
    content: "\f107";
}

.sidebar .nav-second-level li,
.sidebar .nav-third-level li {
    border-bottom: 0!important;
}

.sidebar .nav-second-level li a {
    padding-left: 37px;
}

.sidebar .nav-third-level li a {
    padding-left: 52px;
}

@media(min-width:768px) {
    .sidebar {
        z-index: 1;
        position: absolute;
        width: 250px;
        margin-top: 217px;
    }

    .navbar-top-links .dropdown-messages,
    .navbar-top-links .dropdown-tasks,
    .navbar-top-links .dropdown-alerts {
        margin-left: auto;
    }
}

.btn-outline {
    color: inherit;
    background-color: transparent;
    transition: all .5s;
}

.btn-primary.btn-outline {
    color: #428bca;
}

.btn-success.btn-outline {
    color: #5cb85c;
}

.btn-info.btn-outline {
    color: #5bc0de;
}

.btn-warning.btn-outline {
    color: #f0ad4e;
}

.btn-danger.btn-outline {
    color: #d9534f;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
    color: #fff;
}

.chat {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #999;
}

.chat li.left .chat-body {
    margin-left: 60px;
}

.chat li.right .chat-body {
    margin-right: 60px;
}

.chat li .chat-body p {
    margin: 0;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
    margin-right: 5px;
}

.chat-panel .panel-body {
    height: 350px;
    overflow-y: scroll;
}

.login-panel {
    margin-top: 5%;
}

.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

.dataTables_wrapper {
    position: relative;
    clear: both;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background: 0 0;
}

table.dataTable thead .sorting_asc:after {
    content: "\f0de";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting_desc:after {
    content: "\f0dd";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting:after {
    content: "\f0dc";
    float: right;
    font-family: fontawesome;
    color: rgba(50,50,50,.5);
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 18px;
    line-height: 1.33;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 24px;
    line-height: 1.33;
}

.show-grid [class^=col-] {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #eee!important;
}

.show-grid {
    margin: 15px 0;
}

.huge {
    font-size: 40px;
}

.panel-green {
    border-color: #5cb85c;
}

.panel-green .panel-heading {
    border-color: #5cb85c;
    color: #fff;
    background-color: #5cb85c;
}

.panel-green a {
    color: #5cb85c;
}

.panel-green a:hover {
    color: #3d8b3d;
}

.panel-red {
    border-color: #d9534f;
}

.panel-red .panel-heading {
    border-color: #d9534f;
    color: #fff;
    background-color: #d9534f;
}

.panel-red a {
    color: #d9534f;
}

.panel-red a:hover {
    color: #b52b27;
}

.panel-yellow {
    border-color: #f0ad4e;
}

.panel-yellow .panel-heading {
    border-color: #f0ad4e;
    color: #fff;
    background-color: #f0ad4e;
}

.panel-yellow a {
    color: #f0ad4e;
}

.panel-yellow a:hover {
    color: #df8a13;
}



.logo{
    margin: 0 auto;
    padding: 40px 20px 20px 20px;  
}
.logo img{
    margin: 0 auto;
    display: block;
    position: relative;
}
/************agregados***********/
#est_nuevo{
	float:right;
	text-align:right;
	}

#est_consulta{
	float:left;
	text-align:left;
	font-size:10px;
	}


/************tabla usados***********/
.datagrid {
font: normal 12px/150% 'Open Sans', sans-serif; 
overflow: hidden;
position:relative;
float:left;
width:100%;
padding:20px 0px;
 }

 .datagrid table{ 
border: #e7e7e7 solid 1px;
text-align: left; 
width: 100%;
border-collapse: collapse;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}

.datagrid table th { 
padding: 5px 5px;
}

.datagrid table td {
	background:#fff;
	border: #e7e7e7 solid 1px;
	padding: 10px 5px;
	text-transform:uppercase;
        text-align: center;
        vertical-align: central;
}

.datagrid table thead th {
background-color: #5bc0de; 
color:#ffffff; 
font-size: 12px; 
font-weight: bold; 
border: #e7e7e7 solid 1px;
text-align:center;
text-transform:uppercase;} 

.datagrid table tbody td {
	color: #666666;
	border: #e7e7e7 solid 1px;
	font-size: 11px;
	font-weight: normal;
	text-transform:uppercase;
}

.datagrid table tbody .alt td { background: #EBEBEB; color: #7D7D7D; }
.datagrid table tfoot td div { border-top: 1px solid #e7e7e7;background: #5bc0de;} 
.datagrid table tfoot td { padding: 0; font-size: 12px } 
.datagrid table tfoot td div{ padding: 6px; }
.datagrid table tfoot td ul { margin: 0; padding:0; list-style: none; text-align: right; }
.datagrid table tfoot  li { display: inline; }
.datagrid table tfoot li a { text-decoration: none; display: inline-block;  padding: 2px 8px; margin: 1px;color: #5974b7;border: 1px solid #e7e7e7;-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; background-color:#ffffff; }
.datagrid table tfoot ul.active, .datagrid table tfoot ul a:hover { text-decoration: none;border-color: #e7e7e7; color: #ffffff; background-color: #5974b7;}
div.dhtmlx_window_active, div.dhx_modal_cover_dv { position: fixed !important; }



/**************fin tabla usados*****************/

.datagrid2 table { 
text-align: left; 
margin:0px;
font: normal 12px/150% 'Open Sans', sans-serif; 
overflow: hidden;
width:95%;
-webkit-border-radius: 3px; 
-moz-border-radius: 3px; 
border-radius: 3px;
padding:0px;
float:left;
margin-bottom:50px;
}

.datagrid2 table tbody td {
	color: #777;
	height: 30px;
	font-size: 13px;
	font-family: 'Open Sans', sans-serif;
	outline: 0;
	margin:0px;
	border: 1px solid #CCC;
	}
	
.datagrid2 table thead th {
background-color:#999999; 
color:#FFFFFF; 
height: 30px;
font-size: 13px;
font-weight:normal;
padding:5px;
font-family: 'Open Sans', sans-serif;
outline: 0;
margin:3px 0px 0px 0px;
border: 1px solid #CCC;
text-align:center;
text-transform:uppercase;
} 

.datagrid2 table input[type=submit]{ 
  color: #ffffff;
  text-decoration: none;
  border:none;
  background-color: none;
  background-color:#AAAAAA;
  width:30px;
  height:25px;
  padding:2px;
  cursor:pointer;
  margin: 0px;
}

.modificar{
  background-image: url(../images/edit.png); 
  background-repeat: no-repeat;
  background-position: 5px;
  margin:0px;
  margin-top:5px;
}

.eliminar{
  background-image: url(../images/trash.png); 
  background-repeat: no-repeat;
  background-position: 5px;
  margin:0px;
  margin-top:5px;
}

.borrar{
text-decoration: none;
background-color:#5974b7;
cursor:pointer;
background-image: url(../images/borrar.png); 
background-repeat: no-repeat;
background-position: 30px;
height: 30px;
width:100%;
font-size: 13px;
font-family: 'Open Sans', sans-serif;
outline: 0;
padding: 0px;
border-top:none;
border-right:4px solid #CCC;
overflow:hidden;
border:none;
margin:0px;
  }

#contenedorcampos{
font: normal 12px/150% 'Open Sans', sans-serif; 
overflow: hidden; 
width:100%;
padding:0px;
margin:0px;
}
 

.datagrid2 .botones{
border:none;
background-color:#FFFFFF;
text-align: left;
padding-left:5px;
padding-top:5px;
padding-bottom:0px;
color: #777;
height: 30px;
font-size: 13px;
font-family: 'Open Sans', sans-serif;
outline: 0;
}

.datagrid2 td .check{
border:none;
background-color:#FFFFFF;
padding:0px;
margin:0px;
color: #777;
height: 30px;
font-size: 13px;
font-family: 'Open Sans', sans-serif;
outline: 0;
}

 
.datagrid2 table td input[type=text] {
color: #777;
height: 30px;
width:100%;
font-size: 13px;
padding:0px;
margin:0px;
font-family: 'Open Sans', sans-serif;
outline: 0;
border:none;
}

.datagrid2 td{
	background-color:#FFFFFF;
	height: 30px;
	padding-left:5px;
	}



/**************fin tabla adjudicados*****************/





#titulo{
	float:left;
	text-align:left;
	}
#submenu{
	float:right;
	position: relative;
        display: block;
	margin:0px;
        padding: 0px;
	}

#submenu a.btn_submenu{
	-webkit-border-top-left-radius: 2;
	-webkit-border-top-right-radius: 2;
	-moz-border-top-right-radius: 2;
	-moz-border-top-left-radius: 2;
	border-top-left-radius:3px;
        border-top-right-radius:3px;
	font-family: 'Open Sans', sans-serif;
	color: #ffffff;
	text-decoration: none;
	border: none;
	text-shadow: 1px 1px 0 rgba(255,255,255,0.1);
	background-image: url(../images/agregar.png);
	background-repeat: no-repeat;
	background-position: 120px;
	background-color: #5974b7;
	display: inline;
	width: 130px;
	padding: 7px 10px;
	cursor: pointer;
	text-align: left;
	margin: -36px -2px 0px 5px;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 12px;
	overflow: hidden;
	float: right;
	text-transform: uppercase;
	}
#submenu a.btn_submenu_active{
	-webkit-border-top-left-radius: 2;
	-webkit-border-top-right-radius: 2;
	-moz-border-top-right-radius: 2;
	-moz-border-top-left-radius: 2;
	border-top-left-radius:3px;
    border-top-right-radius:3px;
	font-family: 'Open Sans', sans-serif;
	color: #ffffff;
	text-decoration: none;
	border: none;
	text-shadow: 1px 1px 0 rgba(255,255,255,0.1);
	background-color: #5974b7;
	display: inline;
	width: 150px;
	padding: 7px 10px;
	cursor: pointer;
	text-align: center;
	margin: 60px 5px 0px 5px;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 12px;
	overflow: hidden;
	float: right;
	text-transform: uppercase;
	cursor:default;
	}

#submenu a.btn_submenu:hover {
	text-decoration: none;
	background-color: #666;
 }
 


#usados{
	position:relative;}
.btn_listar {
        width: 110px;
	text-align: right;
	text-transform: uppercase;      
        background-image: url(../images/list.png);
        background-repeat: no-repeat;
        background-position: 7px;
        background-color: #5974b7;
        -webkit-border-radius: 2;
        -moz-border-radius: 2;
        border-radius: 2px;
        color: #ffffff;
        text-decoration: none;
        text-shadow: 1px 1px 0 rgba(255,255,255,0.1);
        background-color: #5974b7;
        display:inline;
        padding: 7px 10px;
        cursor:pointer;
        margin: 0px 5px 0px 0px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        float: left;
        text-transform:uppercase;
        font: 12px 'Open Sans', sans-serif;
        border: 1px solid #AAA;
}

.btn_listar:hover {
    background: #999;
	background-image: url(../images/list.png);
	background-repeat: no-repeat;
	background-position: 7px;
	color: #ffffff;
}


.titulo2{
	float:left;
	display:block;
	width:90%;
	margin:30px 50px 10px 50px;
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	color: #333;
	border-bottom:thin #666 solid;
	padding-bottom:10px;
	}

#contenedor{
	border:#5974b7 solid 2px;
	margin-top:0px;
	padding-top:20px 50px;
	background:#CCC;
	position:relative;
	display:block;
	width:100%;
	background-color: #CCC;
	}

.btn5{
	-webkit-border-top-left-radius: 2;
	-webkit-border-top-right-radius: 2;
	-moz-border-top-right-radius: 2;
	-moz-border-top-left-radius: 2;
	border-top-left-radius:3px;
    border-top-right-radius:3px;
	font-family: 'Open Sans', sans-serif;
	color: #ffffff;
	text-decoration: none;
	border: none;
	text-shadow: 1px 1px 0 rgba(255,255,255,0.1);
	background-image: url(../images/agregar.png);
	background-repeat: no-repeat;
	background-position: 130px;
	background-color: #5974b7;
	display: inline;
	width: 155px;
	height:30px;
	padding: 7px 10px;
	cursor: pointer;
	text-align: left;
	margin: 30px 53px 0px 0px;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 12px;
	overflow: hidden;
	text-transform: uppercase;
	float:right;
	}

.btn5:hover {
	text-decoration: none;
	background-color: #666;
 }
 
.btn6{
	-webkit-border-top-left-radius: 2;
	-webkit-border-top-right-radius: 2;
	-moz-border-top-right-radius: 2;
	-moz-border-top-left-radius: 2;
	border-top-left-radius:3px;
    border-top-right-radius:3px;
	font-family: 'Open Sans', sans-serif;
	color: #ffffff;
	text-decoration: none;
	border: none;
	text-shadow: 1px 1px 0 rgba(255,255,255,0.1);
	background-image: url(../images/agregar.png);
	background-repeat: no-repeat;
	background-position: 125px;
	background-color: #5974b7;
	display: block;
	width: 135px;
	height:15px;
	padding: 7px 10px;
	cursor: pointer;
	text-align: left;
	margin: 30px 0px 10px 0px;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 12px;
	overflow: hidden;
	text-transform: uppercase;
	float:right;
	}

.btn6:hover {
	text-decoration: none;
	background-color: #666;
	color: #ffffff;
 }


.btn7{
	-webkit-border-top-left-radius: 2;
	-webkit-border-top-right-radius: 2;
	-moz-border-top-right-radius: 2;
	-moz-border-top-left-radius: 2;
	border-top-left-radius:3px;
    border-top-right-radius:3px;
	font-family: 'Open Sans', sans-serif;
	color: #ffffff;
	text-decoration: none;
	border: none;
	text-shadow: 1px 1px 0 rgba(255,255,255,0.1);
	background-image: url(../images/list.png);
	background-repeat: no-repeat;
	background-position: 112px;
	background-color: #666;
	display: inline;
	width: 140px;
	height:30px;
	padding: 7px 10px;
	cursor: pointer;
	text-align: left;
	margin: 30px 10px 0px 0px;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 12px;
	overflow: hidden;
	text-transform: uppercase;
	float:right;
	}

.btn7:hover {
	text-decoration: none;
	background-color: #5974b7;
 }



#aviso{
	display: inline-block;
	width:100%;
	text-align:center;
	margin:20px 0px;
	padding:20px 0px;
	background-color:#F8F8F8;}

#imagen{
	margin:0px;
	margin-left:auto;
	margin-right:auto;
	padding:0px;
	position:relative;
	}

.foto{
	margin:0 auto;
	border:#B4B4B4 1px solid;
	position: relative;
        display: block;
	width:60px;
	height:60px;
        }

.fotod{
	margin:0 auto;
	border:#B4B4B4 1px solid;
        opacity: 0.2;
	position: relative;
        display: block;
	width:60px;
	height:60px;
	}

.datagrid table tbody tr:hover td{
  background-color: #f6f6f6;
}

.botones .btn{
    padding: 6px 6px;
}

#vista-previa{
    width: 170px;
    height: 170px;
    border: #0088cc medium solid;
}
#vista-previa-dni{
    width: 258px;
    height: 324px;
    border: #0088cc medium solid;
}
#eliminar{
    width: 170px;
    height: 170px;
    border: #0088cc medium solid;
}

table tr.deshabilitado td{
    color: #B4B4B4 !important;
    background-color: #EBEBEB;
}

table tr.deshabilitado td button.des{
    color: #B4B4B4 !important;
    cursor: default;
    pointer-events: none;
    }
 
    #my_camera{
     
       width: 320px;
       height: 240px;
    }