/* WHEN MAKING CHANGES IN THIS FILE YOU MUST DO A SHIFT + F5 IN ORDER TO SEE YOUR CHANGES REFLECTED */
body {
  padding-top: 60px;
  font-size: 14px;                          /* Compact */
}

body.test {
    background-color: #ddffdd;
}

@media (min-width: 992px) {
  body {
    padding-top: 80px;
  }
}

table {
	border-spacing: 0;
}

.btn.btn-secondary {
    background-color: #fff;
    color: #090101;
    border-color: #0a0a0a;
    vertical-align: top;
}

.btn.btn-secondary:hover {
    background-color: #e9e9e9;
    border-color: #0a0a0a;
}

.btn.btn-secondary:active {
    background-color: #d1d1d1;
    color: #090101;
    border-color: #0a0a0a;
    transform: scale(0.95);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

.btn-secondary:not(:disabled):not(.disabled):active,
.show > .btn-secondary.dropdown-toggle {
    background-color: #e9e9e9;
    border-color: #0a0a0a;
    color: #090101;
}

.btn-secondary:not(:disabled):not(.disabled):active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}

.mx-3 {
    margin-left: 0 !important;
}

.btn.btn-success:active {
    transform: scale(0.95);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 1);
}

.form-value {
	background-color: #e9eced
}

.form-group {
  margin-bottom: 3px;  
}

table-sm th, .table-sm td {
    padding: 2px;                                /* Compact */
}

.dropdown-item {
	padding: 0.15rem 1.5rem;                    /* Compact */
}
.dropdown-menu {
	font-size: 1em;                            /* Compact - em is relative to parent.. */ 
}

.bg-dark-blue {
	background-color: #054679 !important;      /* Avdata colour */
}
.bg-dark-red {
    background-color: #bf2e1a !important;      /* Avdata colour */
    /* background-image: linear-gradient(to bottom, #de8d79, #bf2e1a); */
}

.col-form-label {
    display: flex;
    justify-content: left;
    align-items: center;
}

.headeredViewPanel .form-group {
    margin-bottom: 0px;
}

.panel-anchor {
	display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

/* Data TABLE hover colour */
.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
  background-color: #dddddd;
}

/* Data TABLE Print View */
body.dt-print-view  {
	padding-top: 0px;
}

/* Flowmeter Report styles */
.warn-1 { background: #FFFF77; }            
.warn-2 { background: #FFc544; }      
.warn-3 { background: #ffa0a0; }        
.warn-3 * { color: black; }


/* Align numbers in tables correctly */
.num {
   text-align: right;
}


/* Undo some of the bootstrap4 print media shenanigans */
@media print {
    /* Dave this this ..
    @page { size: a4; }
    ... replated SMB-2022-03-02 to overcome landscape/portrait issue */
    @page { size: auto !important; }

    body { min-width: initial !important; }

    table { font-size: 11px; }

    .container { min-width: initial !important; }

    h2,h3 { page-break-after: initial; }
  
  /* Fix bootstrap4 issue printing tables past the first page */
  .row { display: block; }

  footer .row { display: flex; }
}

/* Charts */
.chart-widget { 
    margin: 10px; 
    background-color: #f7f7f7;
    border:1px solid #aaaaaa;
    border-radius: 0.2rem !important;
}

/*******************************************/
/* FLIGHT STRIP TRANSCRIPTION              */
/* This is only for internal use, so       */
/* browser compatibility is less critical  */
/*******************************************/

/* FLIGHT STRIP ORIENTATION - Some flight strips are scanned upside down. We provide a way to flip them over in the browser. */

.rightWayUp {
}

.upsideDown {
    transform:rotate(180deg);
    -ms-transform:rotate(180deg); /* IE 9 */
    -webkit-transform:rotate(180deg); /* Safari and Chrome */
}

.rot90Cw {
    transform:rotate(90deg);
    -ms-transform:rotate(90deg); /* IE 9 */
    -webkit-transform:rotate(90deg); /* Safari and Chrome */
}

.rot90Acw {
    transform:rotate(-90deg);
    -ms-transform:rotate(-90deg); /* IE 9 */
    -webkit-transform:rotate(-90deg); /* Safari and Chrome */
}

