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

/* Global Styles */

body {
	margin-top: 100px;
	background-color: #222;
}

@media(min-width:768px) {
	body {
		margin-top: 50px;
	}
}

#wrapper {
	padding-left: 0;
}

#page-wrapper {
	width: 100%;
	padding: 0;
	background-color: #fff;
}

.huge {
	font-size: 50px;
	line-height: normal;
}

@media(min-width:768px) {
	#wrapper {
		padding-left: 160px;
	}

	#page-wrapper {
		padding: 10px;
	}
}

/* Top Navigation */

.top-nav {
	padding: 0 15px;
}

.top-nav>li {
	display: inline-block;
	float: left;
}

.top-nav>li>a {
	padding-top: 15px;
	padding-bottom: 15px;
	line-height: 20px;
	color: #999;
}

.top-nav>li>a:hover,
.top-nav>li>a:focus,
.top-nav>.open>a,
.top-nav>.open>a:hover,
.top-nav>.open>a:focus {
	color: #fff;
	background-color: #000;
}

.top-nav>.open>.dropdown-menu {
	float: left;
	position: absolute;
	margin-top: 0;
	border: 1px solid rgba(0,0,0,.15);
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	background-color: #fff;
	-webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
	box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.top-nav>.open>.dropdown-menu>li>a {
	white-space: normal;
}

ul.message-dropdown {
	padding: 0;
	max-height: 250px;
	overflow-x: hidden;
	overflow-y: auto;
}

li.message-preview {
	width: 275px;
	border-bottom: 1px solid rgba(0,0,0,.15);
}

li.message-preview>a {
	padding-top: 15px;
	padding-bottom: 15px;
}

li.message-footer {
	margin: 5px 0;
}

ul.alert-dropdown {
	width: 200px;
}

/* Side Navigation */

@media(min-width:768px) {
	.side-nav {
		position: fixed;
		top: 51px;
		left: 160px;
		width: 160px;
		margin-left: -160px;
		border: none;
		border-radius: 0;
		overflow-y: auto;
		background-color: #222;
		bottom: 0;
		overflow-x: hidden;
		padding-bottom: 40px;
	}

	.side-nav>li>a {
		width: 160px;
	}

	.side-nav li a:hover,
	.side-nav li a:focus {
		outline: none;
		background-color: #000 !important;
	}
}

.side-nav>li>ul {
	padding: 0;
}

.side-nav>li>ul>li>a {
	display: block;
	padding: 10px 15px 10px 38px;
	text-decoration: none;
	color: #999;
}

.side-nav>li>ul>li>a:hover {
	color: #fff;
}

/* Flot Chart Containers */

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

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

/* Custom Colored Panels */

.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;
}
/*   Personalizados facturArte    */

.dere {
	text-align:right;
}
.centr {
	text-align:center;
}
.menosAlto {
	margin-top:10px;
}
.enrojo {
	color:red;
}
.rengFact table{
	table-layout:fixed;
}
.tblFacturas {
	table-layout:fixed;
}
.fija {
	table-layout:fixed;
}
.fija td {text-overflow:ellipsis;  overflow:hidden;  white-space:nowrap; }
.tachado {text-decoration:line-through;}
.activencab .fmactividad {
	display:none;
}
.activenren .paraemactividad, .activenren .fmdetalle {
	display:none;
}
.activnada .paraemactividad, .activnada .fmactividad {
	display:none;
}
.noveriva .fmdeiva {
	display:none;
}
.marlef {margin-left:10px;}

.calculadora {
	font-family: 'Roboto Mono', monospace;
}
.botonArticulo {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
  min-height: 20vh;
}
.botonNumero {
  min-height: 10vh;
  font-size: 2em;
  text-align: center;
}

#Calculadora p {
	font-family: 'Roboto Mono', monospace;
	font-size:  1em;
	overflow-x: hidden;
	overflow-y:  auto;
	text-align:  right;
	max-height: 90%;
}
#Calculadora p small {
	font-size:  0.2em;
	float: left;
	margin-top: 15px;
	max-width: 30%;
}
#Calculadora p span {
	float: right;
}
.row-height {
    height: calc( 100vh - 70px);
}
.dh100 {
  height:  100%;
  overflow: auto;
}
.fondoRojo{
	background-color: red;
}
@media (min-width: 768px) {
	#Calculadora p {
		font-size:  3em;
	}
	#Calculadora p small {
		font-size:  0.3em;

	}

}
.blink_me {
  animation: flasher .7s linear infinite;
}

.declick {
  -webkit-animation-name: flasher;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-timing-function: cubic-bezier(.5, 0, 1, 1);
  -webkit-animation-duration: .5s;
}


@keyframes flasher {
  0% {
  	background-color: rgba(0,255,0,.5);
  }
  50% {
    background-color: rgba(255,0,0,.5);
  }
  100% {
  	background-color: rgba(0,255,0,.5);
  }
}

.botonNumero a, .botonNumero a:hover, .botonNumero a:visited {
	text-decoration:  none;
}

.mb-1 {
	margin-bottom: 3px;
}

.btnTablet {
	width: 99%;
	margin-top: 20px;
	margin-bottom: 20px;
	padding-top: 30px;
	padding-bottom: 30px;
}