@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/roboto-v18-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Roboto'), local('Roboto-Regular'),
       url('fonts/roboto-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/roboto-v18-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/roboto-v18-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/roboto-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/roboto-v18-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/roboto-v18-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Roboto Bold'), local('Roboto-Bold'),
       url('fonts/roboto-v18-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/roboto-v18-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/roboto-v18-latin-700.woff') format('woff'), /* Modern Browsers */
       url('fonts/roboto-v18-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/roboto-v18-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
}

body {
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: .85em;
  line-height: 1.846;
  color: #555;
  background: #f4f9ff;
  background: linear-gradient(350deg, rgba(229,240,240,1) 57%, rgba(186,217,254,1) 100%) center/cover no-repeat fixed;
  /* linear-gradient(0deg, rgba(249,245,223,1) 0%, rgba(229,240,240,1) 57%, rgba(186,217,254,1) 100%); */
}
body.bi::before{
	position:fixed;
	bottom:3%;left:1%;
	z-index:-1;
	font-size:15em;
	color: rgba(0,0,0,.04);
}

/* Tables */
table.dataTable.table-striped > tbody > tr.odd:hover > *,
tr:hover td{
	background-color:#fff;
	box-shadow:none;
}
.table-striped > tbody > tr.text-secondary > * 
,.table-striped > tbody > tr.text-secondary > td > a{
  color: #999;
}
.table-striped>tbody>tr:nth-of-type(odd).text-danger>* {
 --bs-table-accent-bg:var(--bs-table-striped-bg);
 color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity)) !important;
}
tr td {
	position:relative;
}
tr:hover td.edit button::after,
tr:hover td:last-child button::after {
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\f4ca";
  font-size:1.5em;
}
.short {
	max-width:11vw;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.status {
	max-width:3vw;
	white-space: nowrap;
	overflow: none;
	text-overflow: ellipsis;
	text-align:center;
}

/*Nav*/
.navbar {
padding:0;
}
.navbar-brand { 
	padding: .6em; 
	line-height: 17px;
}
.navbar-brand span {
	font-size: .6em;
	color:rgba(255,255,255,.7);
	display: block;
}
.navbar-nav {
	text-align:center;
}
.nav-link {
	padding:1.2em !important;
}
.navbar-nav .nav-link.active, .navbar-nav .show > .nav-link {
  color: rgba(var(--bs-primary-rgb),var(--bs-bg-opacity)) !important;
  background: #f4f9ff;
}
.bi-sailing::before {
  display: inline-block;
  content: "";
  vertical-align: -.125em;
  background-image: url("data:image/svg+xml,%3Csvg fill='%23444' version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='800px' height='800px' viewBox='0 0 448.875 448.875' xml:space='preserve'%3E%3Cg%3E%3Cg%3E%3Cpolygon points='259.671,35.018 259.671,302.869 394.926,302.869 '/%3E%3Cpath d='M214.273,302.869V38.168C79.65,90.343,19.308,289.463,20.439,302.869H214.273z'/%3E%3Cpolygon points='0,332.309 100.317,413.857 348.557,413.857 448.875,332.309 '/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  width: 1rem;
  height: 1rem;
  background-repeat: no-repeat;
  background-size: 1rem 1rem;
}
.feature-icon-small {
  width: 3rem;
  height: 3rem;
}

.logsel .nav-link { padding:.5em !important; border-bottom:1px solid rgb(var(--bs-primary-rgb)); }
.logsel .nav-link.active { border-bottom:5px solid rgb(var(--bs-primary-rgb)); font-weight:bold; }

/* Tooltip */
label.tt {
    position: relative;
    text-decoration: none;
  }
label.tt:before {
    content: attr(data-tt);
    position: absolute;
    left: 0;
    padding: 5px 15px;
    color: #000;
	z-index: 100;
	border: 1px solid #666;
	background:#fff;
    border-radius:10px;
	font-weight:normal;
	display:none;
  }
label.tt:after {
	content: "\f431"; 
	font-family: bootstrap-icons !important;
	display: inline-block;
	vertical-align: -.125em;
	-webkit-font-smoothing: antialiased;
	position: absolute;
	right: 1em;
  }
label.tt:hover:before { 
	display:block;
	bottom: 100%; 
	}
label.tt:hover { font-weight:bold; }

/* Select 2*/
.select2-container .select2-selection--single {
  height: 2.7em;
  border-radius: .375rem;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #000;
	line-height: 2.3rem;
	font-size: 1rem;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 2.7em;
  position: absolute;
  top: 1px;
  right: 1px;
  width: 3em;
}

/* Forms */
.btn-check { width: auto; }
.form-switch {  margin-top: .4rem; }
select:required:invalid, select:focus:invalid,
input:required:invalid, input:focus:invalid {
  -moz-box-shadow: none;
   border:1px solid red;
}
select:required:valid,
input:required:valid {
  border-bottom:2px solid green;
}

.select2-dropdown--below { top: -38px; }

@media print {
   .no-print
  ,#navbarNav
  ,button, .btn
  ,.dataTables_paginate, .dataTables_length
  ,footer
  /*,.alert*/ { display: none !important; }
  body {
		background:none; 
		font-size:70%;
  }
  .sticky-top {margin-bottom: 1em !important;}
  .table>:not(caption)>*>* { padding: .2rem .2rem !important;  }
}

@media screen and (max-width: 750px) {
body {font-size:.8em;}
.mo {display:none;}
.row > *{
  padding: .3em;
}