html, body {
	height:100%;
}

body {
	display:flex;
	flex-direction: column;
}

#body-content {
	flex: 1 0 auto;
}

footer {
	flex-shrink: 0;
}


#fullscreen-pbi {
	position:absolute;
	top: 0px;
	right: 20px;
}

/***************************************************************
						ESTILOS GENERALES
****************************************************************/

.heading-title {
	border-bottom: 2px solid #008ebc;
	padding-bottom: 0;
	padding-left: 0.5rem;
	padding-right: 0px;
	margin-bottom: 0.5rem;
}

.pointer {
	cursor: pointer;
}
.default {
	cursor:auto;
}

.vertical-middle {
	vertical-align: middle;
}


.form-control {
	font-size:15px !important;
}

.input-group-text {
	font-size:15px;
}

.form-select {
	font-size:15px !important;
}

label {
	color: #58555e;
}

.vertical-align-center {
	display: table-cell;
	vertical-align: middle;
}

/**********************
		SELECT2
**********************/
.select2-container--default .select2-selection--single .select2-selection__rendered, 
.select2-selection__placeholder, .select2-results__options li, .select2-search__field {
	font-size: 15px !important;
}

/* SELECTOR DE CATEGORIAS Y SUBCATEGORIAS */
.my_select2_optgroup_selected {
    background-color: #ddd;
}
.my_select2_optgroup_hovered {
    color: #FFF;
    background-color: #76bbe3 !important;
    cursor: pointer;
}
strong.select2-results__group {
    padding: 0 !important;
}
.my_select2_optgroup {
    display: block;
    padding: 6px;
}







/**********************
		SWAL
**********************/
.swal2-title, .swal2-html-container {
	font-size: 15px !important;
}

/**********************
		DROPDOWN
**********************/
.dropdown-menu .dropdown-item {
	font-size: 15px !important;
}



/**********************
		COLORES
**********************/
.clr {
	color: #008ebc;
}
.clr:hover {
	outline: none !important;
	box-shadow: none;
}
.clr:active {
	outline: none !important;
	box-shadow: none;
}

.brd-clr {
	border: 1px solid #008ebc !important;
}
.brd-grey {
	border: 1px solid #B5B5B5 !important;
}



.btn {
	font-size: 15px;
}
.btn-clr {
	border: 2px solid #008ebc;
	color: #008ebc;
	background-color:#FFF;
}
.btn-clr:hover {
	background-color:#008ebc;
	color:#FFF;
}
.btn-clr:active {
	transform: scale(0.99);
	box-shadow: 3px 2px 8px 1px rgba(0, 0, 0, 0.24);
}

.btn {
	font-size: 15px;
}
.btn-wrn-clr {
	border: 2px solid #a8352f;
	color: #a8352f;
	background-color:#FFF;
}
.btn-wrn-clr:hover {
	background-color:#a8352f;
	color:#FFF;
}
.btn-wrn-clr:active {
	transform: scale(0.99);
	box-shadow: 3px 2px 8px 1px rgba(0, 0, 0, 0.24);
}




.clr-grey {
	color: #3f4344;
}
.clr-brd {
	border: 2px solid #008ebc;
	color: #008ebc;
}

.white-bg {
	background-color:#FFF;
}

.transparent-text {
	color: transparent;
}

.red-clr {
	color:red !important;
}

.blue-clr {
	color:blue !important;
}

.green-clr {
	color:green !important;
}

.orange-clr {
	color:orange !important;
}


.light-blue-bg {
	background-color:#42b9df !important;
}

.light-grey-bg {
	background-color:#eee !important;
}


/**********************
	MODO MANTENIMIENTO
**********************/

#maintance-mode {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}


/**********************
		LOGIN
**********************/

#microsoft-login-wrapper {
	border: 2px solid #B5B5B5;
	border-radius: 4px;
}




/**********************
	PIN MENÚ PRINCIPAL
**********************/

/*
#toggle-main-menu {
	position:absolute;
	right:10px;
	top:10px;
}
*/

@media screen and (min-width: 768px) {
	#toggle-main-menu {
		display: none;
	}
}

@media screen and (orientation: portrait) {
	#fixed-menu-icon {
		display:none;
	}
}

@media only screen and (orientation: landscape) and (min-width: 768px) {
	#fixed-menu-icon {
		display:block;
	}
	.body-page-padding {
		padding-left: 2rem !important;
	}
}

.nav__link i {
	margin-left: 4px;
}

/**********************
	DATATABLES
**********************/

.dataTables_filter input {
	max-width: 200px;
}




.tooltip-helper::after {
	position: absolute;
	top: -5px;
	right: -20px;
	display: inline-block;
	content: "\003F";
	color: #f00;
	border: 1px solid #aaa;
	border-radius: 50%;
	padding: 0px 5px;
	background-color: #ececec;
	font-size: 10px;
	font-weight: bolder;
}

.tooltip-helper.exclamation::after {
	content: "\0021";
	background-color: #ffb4b4;
	padding: 0px 5px;
	font-size: 13px;
}


/**********************
		REGISTRO
**********************/

.required label:after {
	content:" *";
	color:red;
	font-weight: bold;
}




/**********************
		FORMULARIOS
**********************/

.input-group-prepend .input-group-text {
	background-color: #BADDE6;
	white-space:inherit;
}
.input-group-prepend .input-group-text.grey-bg {
	background-color: #E9ECEF !important;
}



/**********************
		PEDIDOS
**********************/

.order-label{
	margin-bottom:0;
}

.quantity-span-cell, .discount-span-cell, .measurement-span-cell, .customer-ref-span-cell, .ud-price-span-cell {
	border: 1px solid #8f8f9d;
	border-radius: 4px;
	display:inline-block;
	height: 30px;
	margin: 0 auto;
	text-align: right;
	padding: 2px 7px 0;
}
.quantity-span-cell.disabled {
	background-color: #D5D5D5;
}

.quantity-span-cell {
	width: 70%;
}
.discount-span-cell {
	width: 80%;
}
.customer-ref-span-cell {
	width: 100%;
}
.ud-price-span-cell {
	width: 80%;
}

.applied-tranche {
	cursor:default;
}

/**********************
	MODAL PRODUCTOS
**********************/
.close-modal-x {
	float: right;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1;
	color: #000;
	text-shadow: 0 1px 0 #fff;
	opacity: 0.5;
}
.close-modal-x:hover {
	color: #000;
	text-decoration: none;
}
.close-modal-x:not(:disabled):not(.disabled):hover,
.close-modal-x:not(:disabled):not(.disabled):focus {
  opacity: 0.75;
}

button.close-modal-x {
  padding: 0;
  background-color: transparent;
  border: 0;
}





#products-modal .modal-dialog {
	max-width: 100% !important;
	margin: 0 auto !important;
}


.emul-disabled-input {
	background-color: #e9ecef;
	border-radius: .25rem;
	border: 1px solid #ced4da;
	padding: .375rem .75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
}

.nowrap {
	white-space:nowrap;
}





/**********************
	MODAL PRODUCTOS
**********************/

.column-sort-input{
	width: 70px;
}




/**********************
		TREEVIEW
**********************/

ul.jstree-children {
	margin-top: 4px;
}

.jstree-default .jstree-node {
	margin-bottom: 3px;
}

.jstree-default-contextmenu {
	z-index:100;
}

ul.vakata-context li > a {
	padding: 0 1em;
}



/****************************
	HISTORIAL DE VERSIONES
****************************/

.tasks-version {
	padding-left: 0px;
}

.version-divider {
	height: 3px !important;
	color: #000;
	opacity: 1;
}


/****************************
			RUTAS
****************************/

.no-resizable {
	resize: none;
}



/**********************
	MODAL PLANTILLAS
**********************/
/*esto habría que ponerlo para todas, cuando se pongan clases uniformes para las modales: g-x, row-cols-x, etc..*/
#templates-modal .modal-header {
	position: relative;
	z-index: 100000;
	background-color: #fff;
}




/****************************
			TASKS
****************************/
#calendar a {
	text-decoration: none;
}

.color-helper-tooltip {
	width:20px;
	height:20px;
}
.color-helper-tooltip#not-started-clr {
	background-color: #B1B1B1;
}
.color-helper-tooltip#in-progress-clr {
	background-color: #63B9D8;
}
.color-helper-tooltip#completed-clr {
	background-color: #63D86B;
}
.color-helper-tooltip#waiting-clr {
	background-color: #F5D966;
}
.color-helper-tooltip#postponed-clr {
	background-color: #f56666;
}


/****************************
		CARDS PRODUCTOS
****************************/
/*
table.cards {
	background-color: transparent;
}
*/

/*--[  This does the job of making the table rows appear as cards ]----------------*/
.cards tbody {
	/*arreglo para no tener que los elementos queden centrados:*/
	display: block;
	text-align: center;
}

.cards tbody img {
	height: 200px;
}
.cards tbody a {
	display:inline-block;
}
.cards tbody tr {
	/*float: left;*/
	/*arreglo para no tener que flotar los elementos:*/
	display:inline-block;
	margin: 10px;
	background-color: white;
	border: 1px solid #dfdfdf;
	border-radius: 8px;
}
.cards tbody td {
	display: block;
	width: 330px;
	overflow: hidden;
	text-align: left;

	border:0px;
}

.cards tbody td.photo {
	position: relative;
}


/*
.table tbody label {
	display: none;
	margin-right: 5px;
	width: 50px;
}
.cards tbody label {
	display:block;
	position: relative;
	font-size: 85%;
	font-weight: normal;
	top: -5px;
	left: -3px;
	color: #808080;
}
*/

.cards img {
	cursor:pointer;
}

.cards .description {
	display: flex;
}


/****************************
		HIST. FACT. PROD.
****************************/

.blocked {
	background-color: #ffd4d4 !important;
}


/****************************
			D&D
****************************/


#upload-area-wrapper {
	border:2px dotted #0B85A1;
	/* width:400px; */
	height: 200px;
	color:#92AAB0;
	text-align:left;vertical-align:middle;
	padding:10px 10px 10 10px;
	margin-bottom:10px;
	font-size:200%;
	cursor:pointer;
}
.statusbar {
	border-top:1px solid #A9CCD1;
	min-height:40px;
	/* width:700px; */
	/* padding:10px 10px 0px 10px; */
	vertical-align:top;
}
.statusbar:nth-child(odd) {
	background:#EBEFF0;
}
.progressBar {
	/* width: 200px; */
	/* height: 22px; */
	border: 1px solid #ddd;
	border-radius: 5px; 
	overflow: hidden;
	/* display:inline-block; */
	/* margin:0px 10px 5px 5px; */
	/* vertical-align:top; */
}

.progressBar div {
	height: 100%;
	color: #fff;
	text-align: center;
	/* same as #progressBar height if we want text middle aligned */
	/*line-height: 22px;*/
	width:0;
	background-color: #0ba1b5; border-radius: 3px; 
}

.filename {
	/* display:inline-block;
	vertical-align:top; */
	/* width:250px; */
}
.filesize {
	/* display:inline-block;
	vertical-align:top; */
	color:#30693D;
	/* width:100px; */
	/* margin-left:10px;
	margin-right:5px; */
}
.abort {
	background-color:#A8352F;
	/* -moz-border-radius:4px;
	-webkit-border-radius:4px; */
	border-radius:4px;
	/* display:inline-block; */
	color:#fff;
	/* font-family:arial;font-size:13px;font-weight:normal; */
	/* padding:4px 15px; */
	cursor:pointer;
	/* vertical-align:top */
}

.sharepoint-document-icon {
	width: 23px;
	height: 25px;
}

