/*
	Reset m?imo
*/
html, body, h1, h2, h3, h4, h5, h6, ul {
	padding: 0;
	margin: 0;
}

html, body {
	height: 100%;
}

@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/dosis.woff') format('woff');
}

iframe{
    border: 0;
}

ul.list {
	margin-bottom: 10px;
}

ul.list > li{
	margin-left: 40px;
}

.container {
	width: 970px !important;
	min-width: none !important;
}

/**
	Com?n de las vistas
*/
#container {
	/*width: 950px;*/
	width: 1200px;
	height: 100%;
	margin: 0 auto;
	display:table;
	padding-bottom: 40px;
	border-left: 1px solid #bcb;
	border-right: 1px solid #bcb;
	-moz-box-shadow: 0px 0px 8px #888;
	-webkit-box-shadow: 0px 0px 8px #888;
	box-shadow: 0px 0px 8px #888;
}

#header {
	width: 100%;
	height: 115px;
	background: url(../images/banner) no-repeat ;
	background-position: right top;
	 background-size: 824px 113px;
	margin-bottom: 10px;
}

#header > .logo {
	width: 120px;
	height: 95px;
	padding: 20px;
}

.logo img{
	width: 155px;
}

.navbar+.content {
	width: 100%;
}

.content {
	padding: 0 10px;
}

.title {
	font-family: 'Dosis', Arial, sans-serif;
	color: #980520;
	display: inline-block;
}

.welcome {
	font-family: 'Dosis', Arial, sans-serif;
	color: #980520;
	text-align: center;
	padding: 5px;
}

.welcome h1{
	font-size: 40px;

}
.welcome h3{
	font-size: 20px;
	color: #000 !important;
}

h2.title {
	margin-bottom: 10px;
}

h3.title {
	margin-bottom: 5px;
}

.right {
	float: right;
}

.left {
	float: left;
}

.navbar {
	padding: 0 20px;
	margin:0;
	list-style-type:none;
	height:30px;
	margin-bottom: 40px;
	background: #A5000D;
	background: -moz-linear-gradient(top,  #D20115 0%, #A5000D 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#D20115), color-stop(100%,#A5000D)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #D20115 0%,#A5000D 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #D20115 0%,#A5000D 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #D20115 0%,#A5000D 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #D20115 0%,#A5000D 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#D20115', endColorstr='#A5000D',GradientType=0 ); /* IE6-9 */
	-moz-box-shadow: 0px 0px 8px #888;
	-webkit-box-shadow: 0px 0px 8px #888;
	box-shadow: 0px 0px 8px #888;
}
.navbar li {
	float:left;
	position:relative;
/* 	z-index: 16777271 !important; */
	z-index: 999;
}
.navbar .nav-right {
	float:right;
}
.navbar li a {
	display: block;
	padding: 6px 10px 5px 10px;
	color: #FFF;
	text-decoration: none;
	font-size: 0.9em;
	font-weight: bold;
	height: 30px;
}

/* Submenu */
.navbar ul {
	position: absolute;
	left: 0px;
	top: 30px;
	list-style-type: none;
	display: none;
}
.navbar .nav-right ul {
	left: inherit;
	right: 0px;
}
.navbar li:hover {
	background: #5A5A5A;
	background: -moz-linear-gradient(top,  #5A5A5A 0%, #444 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5A5A5A), color-stop(100%,#444)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #5A5A5A 0%,#444 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #5A5A5A 0%,#444 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #5A5A5A 0%,#444 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #5A5A5A 0%,#444 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5A5A5A', endColorstr='#444444',GradientType=0 ); /* IE6-9 */
}
.navbar li:hover ul {
	z-index: 2;
	display: block;
	padding: 0px;
	background: #5A5A5A;
	background: -moz-linear-gradient(top,  #5A5A5A 0%, #444 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5A5A5A), color-stop(100%,#444)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #5A5A5A 0%,#444 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #5A5A5A 0%,#444 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #5A5A5A 0%,#444 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #5A5A5A 0%,#444 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5A5A5A', endColorstr='#444444',GradientType=0 ); /* IE6-9 */
}

.navbar li:hover ul li {
	width: 100%;
}
 
.navbar li:hover ul li a {
	display: block;
	min-width: 150px;
	text-indent: 12px;
	white-space: nowrap;
}

.navbar li:hover ul li a:hover {
	background: #A5000D;
	background: -moz-linear-gradient(top,  #D20115 0%, #A5000D 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#D20115), color-stop(100%,#A5000D)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #D20115 0%,#A5000D 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #D20115 0%,#A5000D 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #D20115 0%,#A5000D 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #D20115 0%,#A5000D 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#D20115', endColorstr='#A5000D',GradientType=0 ); /* IE6-9 */
}
/**/

/**
	Bot? b?ico (gris)
*/
.button {
	border: 1px solid #DDD;
	padding: 5px 10px;
	border-radius: 6px;
	background: #EEE;
	font-weight: bold;
	background: -moz-linear-gradient(top,  #FFF 0%, #EEE 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF), color-stop(100%,#EEE)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #FFF 0%,#EEE 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #FFF 0%,#EEE 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #FFF 0%,#EEE 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #FFF 0%,#EEE 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#EEEEEE',GradientType=0 ); /* IE6-9 */
}

input.button, button.button {
	padding: 4px 10px;
}

.button::-moz-focus-inner {
    padding: 1px 0 2px 0;
    border: 0
}

a.button {
	color: black;
}

.button:hover {
	background: #FFF;
}

.button-upload {
	border-color:#46b8da;
	border-width: 2px;
}
.button-delete {
	border-color:#d43f3a;
	border-width: 2px;
}

/**
	Ayuda en los formularios
*/
.help-well .help-show {
	cursor: pointer;
	margin-top: 10px;
	font-weight: bold;
	float: right;
}

.help-well .help-content{
	width: 100%;
	overflow: hidden;
	display: none;
}

/**
	Gif de carga en los dropdowns con busqueda (Selectize)
*/

.selectize.remote::before {
	-moz-transition: opacity 0.2s;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
	content: ' ';
	z-index: 2;
	position: absolute;
	display: block;
	top: 50%;
	right: 34px;
	width: 16px;
	height: 16px;
	margin: -11px 0 0 0;
	background: url(../images/spinner.gif);
	background-size: 16px 16px;
	opacity: 0;
}
.selectize.remote.loading::before {
	opacity: 0.4;
}

/**
	Para dividir visualmente un ?ea
*/
.border-top-bottom {
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
	display: block;
	padding: 15px 0 0 0;
	margin-bottom: 15px;
}

.border-top {
	border-top: 1px solid #e5e5e5;
	display: block;
	padding: 15px 0 0 0;
	margin-bottom: 15px;
}

.border-bottom {
	border-bottom: 1px solid #e5e5e5;
	display: block;
	padding: 10px 0;
	margin: 0;
}

.border-bottom:last-of-type {
	margin-bottom: 15px;
}

.clear {
	clear: both;
}

/**
	Tabma? m?imo a los errores y los mensajes.
*/

.alert {
	overflow: auto;
	max-height: 350px;
}

/**
	Formato de fieldsets de formularios
*/

fieldset {
	width: 100%;
	float: left;
}

fieldset.half {
	width: 50%;
}

fieldset.odd {
	padding-right: 15px;
}

fieldset.even {
	padding-left: 15px;
}

/* para la columna del medio si son tres */
fieldset.third.middle {
	margin: 0 4px;
}

fieldset.third {
	width: 33%;
}

fieldset.two-thirds {
	width: 67%;
}

fieldset.half.left-margin {
	margin-left: 50%;
}

fieldset.half.right-margin {
	margin-right: 50%;
}

/**
 *	Bot? al lado de un t?ulo
 */

.right-button {
	float: right;
	margin-bottom: 20px;
}

/**
 *	Para los grids
 */

th.sortable > a {
	cursor: pointer;
}

th.sortable .sort-caret {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: .3em;
	border: 0;
	content: "";
}

th.sortable.descending .sort-caret {
	vertical-align: super;
	border-top: 4px solid #000;
	border-right: 4px solid transparent;
	border-bottom: 0;
	border-left: 4px solid transparent;
}

th.sortable.ascending .sort-caret {
	vertical-align: baseline;
	border-top: 0;
	border-right: 4px solid transparent;
	border-bottom: 4px solid #000;
	border-left: 4px solid transparent;
}

#paginator {
	float: right;
}

#contador {
       float: left;
}

.label-closed {
	background: black;
	color: white;
}

.label-darkorange {
/*   background-color: #a76812 !important; */
	background: #a76812;
	color: white;
}

.label-notify {
	background: #584d86;
	color: white;
}

.label.label-white {
	background: white;
	color: black;
	border: 1px solid black;
}
.label-darkred {
  background-color: #88004A;
}

.label-yellow {
	background-color: #F2DB37;
    color: #333333;
}

.label-light{
	background-color: #f8f9fa !important;
	color: #000000 !important;
}

/**
	Bot? de selecci? de archivo
*/
.fileUpload {
	position: relative;
	overflow: hidden;
	float: right;
}
.fileUpload input.upload {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	padding: 0;
	font-size: 20px;
	cursor: pointer;
	opacity: 0;
	filter: alpha(opacity=0);
}

div#footer {
	font-family: 'Dosis', Arial, sans-serif;
	color: #888;
	position: relative;
	width: 950px;
	bottom: 0;
	text-align: right;
	padding-right: 12px;
	font-size: 12px;
}

/**
	Por defecto los label no se ven, se cambia solamente en IE
*/
label {
	display: none;
}

label.labelCheck{
	font-weight: normal;
}

.oldIE label, .showLabels label {
	display: block;
}

.showLabels #searchForm .half.odd+input[type=button], .oldIE #searchForm .half.odd+input[type=button]{
	margin-top: 25px;
}
.background-red {
	background-color: red;
}
.required {
	border-width: 2px;
}

.vertical-buffer { 
	margin: 20px 0px; 
}

.horizontal-buffer {
	margin: 0px 40px;
}

/**
	Dropdown menu
*/
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menuA {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

table.table > tbody > tr.selected td {
	background-color: #edf9f9;
}

a.hspacing {
	margin-right: 12px;
	margin-left: 12px;
}

a.vspacing {
	margin-top: 12px;
	margin-bottom: 12px;
}

.badge-sm {
	opacity: 0.8;
	font-size: 0.85em;
}

.clear-font {
	color: #fff !important;
	font-weight: bold;
	text-align: center !important;
}

.clear-font.active {
	background-color: #428bca !important;
}
.badge-success {
    background-color: #4b964b !important;
}
.badge-danger {
    background-color: #a33734 !important;
}
.badge-warning {
  background-color: #f89406 !important;
}
.badge-info {
  background-color: #3a87ad !important;
}
.badge-mine {
  background-color: #8a6d3b !important;
}
.badge-inverse {
  background-color: #333333 !important;
}
.badge-notify {
  background-color: #584d86 !important;
}
.badge-primary {
  background-color: #337ab7 !important;
}
.badge-closed {
  background-color: #313131 !important;
}
.badge-darkorange {
  background-color: #a76812 !important;
}
.badge-darkred {
  background-color: #88004A !important;
}
.badge-warning-dark {
  background-color: #FF6D00 !important;
}

input.read-only {
	border: 0;
	background: transparent;
}

.vertical-align {
    display: flex;
    align-items: center;
}

tr.tr-vertical-align > td {
	vertical-align: middle !important;
}

tr.tr-vertical-align-top > td {
	vertical-align: top !important;
}

table.cell-spacing tr td {
	padding: 6px;
}

div.space {
	height:16px;
}

table.en-captions {
	width: 100%;
	margin-bottom: 15px;
}

table.en-captions td {
	margin: 10px;
	padding: 8px;
}

span.label-heading span.label {
	margin-left: 10px;
	font-size: .7em;
}

.btn:focus,.btn:active:focus,.btn.active:focus {
    outline: 0 !important;
}

/* Fondos de cabecera */
div.header-bg-profile {
	position: absolute;
	top: 46px;
	right: 120px;
	font-size: 12px;
	font-weight: 600;
}

div.header-bg-profile span {
	text-transform: uppercase;
	background: rgba(255,255,255,0.5);
	padding: 3px 6px;
	border-radius: 4px;
}

table.borderless td, table.borderless th {
    border: none !important;
}

select.select-motivo-rechazo {
	width: 240px !important;
	font-size: 13px;
	padding: 1px 3px;
}

.sticky-header th, .sticky-header td {
	position: sticky;
	top: 0;
	background-color: rgba(255, 255, 255, 0.95);
	z-index:500;
}

.label-precinto {
	font-size: 12px;
	border: 1px solid #a3a3a3;
}

.comunicacion-wrapper {
	margin: 24px 2px;
	padding: 16px;
    box-shadow: 0 0 5px #c2c2c2;
}

.criterios-container {
	display: flex;
	justify-content: space-between;
}

.label{
	line-height: 1.42857143 !important;
}

.panel-btn {
	padding: 0.2rem;
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s ease-in-out;
}

.panel-btn:hover {
	background-color: #f5f5f6;
	transition: background-color 0.3s ease-in-out;
}

.px-15{
	padding: 0 1.5rem !important;
}

.resumen__title {
	display: flex;
	align-items:center;
	justify-content: space-between;
	width:100%;
	margin: 0 0 1rem 0;
}

.resumen__caja{
	position:relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap:0;
	justify-content: center;
	height: 75px;
	margin: 5px;
	border-radius: 5px;
	box-shadow: 1px 1px 4px 1px #cdcdcd;
}

.resumen-fase{
	align-items: start;
}

.resumen__caja-title{
	text-transform:uppercase;
	font-size:10px;
	position: absolute;
	top: -6px;
	left: 6px;
	background-color: white;
	padding: 0 5px;
}

.resumen__caja-puntuacion{
	font-weight: bold;
	font-size: 24px;
}

.resumen__caja-textopuntuacion{
	font-weight: bold;
	font-size: 18px;
}

.caja-condiciones{
	display: flex;
	flex-direction: column;
	width:100%;
}

.fase__header{
	display: flex;
	justify-content:space-between;
	align-items:center;
	width:100%;
	margin: 0 0 1rem 0;
}

.fase__row-body,
.fase__row-header{
	display: flex;
	justify-content: space-between;
	border-bottom: thin solid #80808050;
	align-items:center;
	padding: 8px;
	gap: 10px;
}

.fase__row-header{
	padding: 8px 8px 4px 8px;
}

.fase__row-body:NTH-CHILD(2n+1){
	background-color: #f9f9f9;
}

.fase__row-body span ul {
	padding: 0 0 0 16px;
}

 md-switch.md-checked.md-primary .md-thumb {
    background-color: #8491CC;
/*     background-color: rgba(100,114,193,0.7); */
}

md-switch.md-checked.md-primary .md-bar {
    background-color: rgba(63,81,181,0.2);
}

.fase__row-body md-switch .md-container {
    margin-right: 0;
}

.resumen-container__btns-action,
.resumen-container__btn-action {
	display: flex;
	justify-content: flex-end;
	width: 75%;
	margin: 0 auto;
	gap: 0.5rem;
}

.resumen-container__btn-action{
	justify-content: center;
} 

.text-container{
	margin: 0 auto;
	width: 75%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.m-0{
	margin: 0
}

.step-number{
	font-size: 4rem;
	position: absolute;
	top: 0;
	right: 16px;
}

