/*
	Max width before this PARTICULAR table gets nasty. This query will take effect for any screen smaller than 760px and also iPads specifically.
	*/
	@media
	  only screen 
    and (max-width: 760px), (min-device-width: 768px) 
    and (max-device-width: 1024px)  {

		/* Force table to not be like tables anymore */
		table, thead, tbody, th, td, tr {
			display: block;
		}

		/* Hide table headers (but not display: none;, for accessibility) */
		thead tr {
			position: absolute;
			top: -9999px;
			left: -9999px;
		}

    tr {
      margin: 0 0 1rem 0;
    }
      
    tr:nth-child(odd) {
      background: #fff;
    }

	tr:nth-child(even) {
		background: #fff;
	  }
    
		td {
			/* Behave  like a "row" */
			border: none;
			border-bottom: 1px solid #eee;
			position: relative;
			padding-left: 50%;
		}

		td:before {
			/* Now like a table header */
			/* position: absolute; */
			/* Top/left values mimic padding */
			top: 0;
			left: 6px;
			width: 45%;
			padding-right: 10px;
			white-space: nowrap;
		}

    @media only screen and (max-width: 1021px) and (min-width: 320px){
      td:nth-of-type(1):before { content: "Name: "; }
      td:nth-of-type(2):before { content: "CPL: "; }
      td:nth-of-type(3):before { content: "FI: "; }
      td:nth-of-type(4):before { content: "Medical: "; }
      td:nth-of-type(5):before { content: "ELP: "; }
      td:nth-of-type(6):before { content: "NTC: "; }

      .aircraft-table td:nth-of-type(1):before { content: "Aircraft Identification"; }
      .aircraft-table td:nth-of-type(2):before { content: "Aircraft Type"; }
      .aircraft-table td:nth-of-type(3):before { content: "Airworthiness Expiry"; }
      .aircraft-table td:nth-of-type(4):before { content: "NTC Expiry"; }
      .aircraft-table td:nth-of-type(5):before { content: "Registration Expiry"; }
      .aircraft-table td:nth-of-type(6):before { content: "Insurance Expiry"; }

	  .logbook-tab{
		margin-top: 110px !important;
	  }
    }
	}

body {
	font-family: Poppins, sans-serif
}
.text-monospace {
	font-family: monospace;
}

.modal-content {
	width:100%;
}
.modal-dialog-centered {
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	-webkit-box-align:center;
	-ms-flex-align:center;
	align-items:center;
	min-height:calc(100% - (.5rem * 2));
}

@media (min-width: 576px) {
	.modal-dialog-centered {
		min-height:calc(100% - (1.75rem * 2));
	}
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.col-reset {
	padding: 0px;
}

a:link {
	color: #424242;
}

a:visited {
	color: #424242;
}

a:hover {
	color: #424242;
}

a:active {
	color: #424242;
}

.btn {
	cursor: pointer;
}

.hover-gray:hover {
	background-color: #ececec;
	cursor: pointer;
	color: black!important;
}

.hover-gray {
	color: #d9d9d9;
}

.col-vertical-center {
	margin: 0;
  	position: absolute;
  	top: 50%;
  	left: 50%;
  	transform: translate(-50%, -50%);
}

.table-nonfluid {
	width: auto !important;
 }

.carousel .carousel-indicators li {
	background-color: #ececec;
}
.carousel .carousel-indicators li.active {
	background-color: black;
}

.carousel-indicators{
	bottom: -50px;
}

.table-wrapper {
	max-height: 75vh;
	overflow: auto;
	display:inline-block;
}

::-webkit-scrollbar {
	width: 20px;
}
::-webkit-scrollbar-track {
	background-color: transparent;
}
::-webkit-scrollbar-thumb {
	background-color: #d6dee1;
	border-radius: 20px;
	border: 6px solid transparent;
	background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
	background-color: #a8bbbf;
}

@media screen and (max-width: 768px) {
	div.index-data-tables { display: none; }
	.index-fasis-logo {width: 40%!important;}
}