p {
	margin-left: 5px;
}

.not-displayed {
    display: none;
}

#roster-page {
	text-align: center;
    background-color: lightgray;
}

#roster-change-page {
	text-align: center;
}

#training-page {
	text-align: center;
}

#message-page {
	text-align: center;
}

form {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
  /*  background-color: white;*/
}

#jour-form {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    background-color: transparent;
	align-items : center; 
	background-color : transparent;
}

#title {
    font-size: 16px;
}

#summary {
    font-size: 35px;
}

#summary img {
    float: right;
}

#DutyDetail {
    text-align: center;
}

.DutyDetailBlue {
    text-align: center;
    color: #d1effa;
    background-color: #151974;
    text-shadow: none;
}

#DisplayInfo {
    text-align: center;
}

.DisplayInfoCentered {
    text-align: center;
}

.DisplayInfoLeft {
    text-align: left;
	border-color: blue;
	border-width: thin;
}

.DisplayInfoLeftRed {
    text-align: left; 
	border-width: thin;
	color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
	text-shadow: 0 0 black;
}

.DisplayInfoLeftOrange {
    text-align: left; 
	border-width: thin;
	color: #212529;
    background-color: #ffc107;
    border-color: #ffc107; 
    text-shadow: 0 0 black;
}

.DisplayWarningRed {
    border-color: #dc3545;
}

.DisplayWarningOrange {
    border-color: #ffc107;
}


#LoginInfo {
    text-align: center;
}

#Welcome {
    text-align: center;
	margin-block: initial;
	margin-block: initial;
}

#NextDuty {
    text-align: center;
	margin-block: initial; 
}

#CurrentDuty {
    text-align: center;
	margin-block: initial; 
}


#ChangeMsg {
    text-align: center;
	color: #d1effa;
	margin-block: initial;
}
#ChangeTng {
    text-align: center;
	color: #d1effa;
	margin-block: initial;
}

#TofLdg {
    text-align: center;
	color: #d1effa;
	margin-block: initial;
}

#ChangePasswordInfo {
    text-align: center;
}

h4.centered {
    text-align: center;
}

hr {
    margin-top: 0px;
    margin-bottom: 0px;
    height: 5px;
    border: 0;
    box-shadow: 0 10px 10px -10px #151974 inset;
    width: 97%;
    background-color: lightgray;
}

.ui-content .ui-listview-inset {
    margin: 0.1em 0;
}

.ui-popup {
    font-size: 14px;
}

.ui-content .ui-btn-a {
    margin-top: 1px;
    margin-bottom: 1px;
    font-style: normal;
    font-size: 12px;
}

.ui-content .ui-listview .ui-btn-a {
    margin-top: 1px;
    margin-bottom: 1px;
    font-style: normal;
    font-size: 11px;
}

.ui-content .ui-listview .ui-btn-b {
    font-size: 11px;
    font-weight: normal;
    color: black;
    background-color: lightgray;
}

.ui-content .ui-listview .ui-btn-c {
    margin-top: 1px;
    margin-bottom: 1px;
    font-style: normal;
    font-size: 11px;
}

.ui-content .ui-listview .ui-btn-d {
    margin-top: 1px;
    margin-bottom: 1px;
    font-style: normal;
    font-size: 11px;
}

.ui-content .ui-listview .ui-li-divider {
    font-style: italic;
    font-size: 11px;
}

.CrewTitle {
    text-align: center;
}

.NoRosterChange {
    text-align: center;
}

.CrewCompositionList {
    text-align: Left;
    list-style-type: square;
}

.TableCentered {
    margin: 0 auto;
}

.TableLeft {
    margin: 0;
}

th,td {
    text-align: Left;
}

#error-msg {
    text-align: center;
    margin-top: 50%;
    font-weight: bold;
}

.ui-icon-takeoff {
    background-image: url('images/takeoff18.png');
    background-size: 18px;
    width: 18px;
    height: 18px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: 20px;
}

.ui-icon-landing {
    background-image: url('images/landing18.png');
    background-size: 18px;
    width: 18px;
    height: 18px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: 20px;
}

#notifoverlay {
	margin-bottom: 30px;
}

.notif {
    border-top: 2px ridge rgba(21, 25, 116, 0.5);
    background-color: rgba(21, 25, 116, 0.9);
    border-bottom: 2px ridge rgba(21, 25, 116, 0.5);
    text-align: center;
	text-shadow: none;
	font-size: 14px;
    padding: 8px;
    padding-top: 0px;
    max-height: 700px;
    position: fixed;
    bottom: 200px;
    left: 20px;
    right: 20px;
	color: #d1effa;
    -webkit-box-shadow: 0px 2px 13px 0.5px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 13px 0.5px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 9999;
	border-radius: 15px;
}

#notiftext {
    position: relative;
}

#ack {
    float: right;
    margin-top: 6px;
    margin-right: 10px;
    font-size: 25px;
}

#ackMsg {
    float: right;
    margin-top: 6px;
    margin-right: 10px;
    font-size: 25px;
}

#ack a {
    color: #28ba03;
    text-decoration: none;
}

#ackMsg a {
    color: #28ba03;
    text-decoration: none;
}

* Tab Container */
.tab-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

/* Tab Buttons */
.tab-buttons {
  display: flex;
  border-bottom: 1px solid #ccc;
}

.tab-button {
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  background: #f1f1f1;
  margin-right: 5px;
  transition: background 0.3s;
}

.tab-button.active {
  background: #ddd;
}

.tab-button:hover {
  background: #ddd;
}

/* Tab Content */
.tab-content {
  padding: 20px;
  border: 1px solid #ccc;
  border-top: none;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Style the tab */
.tab {
    overflow: hidden;
	
    display: flex;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
  }
  
  /* Style the buttons that are used to open the tab content */
  .tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
  }
  
  /* Change background color of buttons on hover */
  .tab button:hover {
    background-color: #ddd;
  }
  
  /* Create an active/current tablink class */
  .tab button.active {
    background-color: #ccc;
  }
  
  /* Style the tab content */
  .tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
  }
  
  
  
  /* Container for the form */
.form-layout {
    /*max-width: 400px;   Adjust as needed */
    margin: 0 auto; /* Center the form */
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    
}

/* Each form group (label + input) */
.form-group {
    display: flex; /* Use Flexbox */
    /* align-items: left;  Vertically center align items */
    margin-bottom: 5px; /* Space between form groups */
	/* width: 100%; */
	align-items: center;
}

/* Style for labels */
.form-group label {
    margin-right: 10px; /* Space between label and input */
	margin-top: 10px;
    flex-grow: 1;
    text-align: left;
    font-size: 15px;
}

/* @media only screen and (max-width: 600px) {
    .form-group input {
        width: 200px;
    }
}

@media only screen and (max-width: 1000px) {
    .form-group input {
        width: 300px;
    }
} */

.form-group .label-left {
    font-size: 12px;
    flex-grow: unset;
    flex-shrink: 1;
    text-align: left;
    margin-left: 4px;

}

.form-group .label-top {
    font-size: 12px; 
    margin-bottom: 4px;
    width: 100%; 
}

.form-group span { 
    padding-right: 10px;
}

/* Style for input fields */
.form-group > div > input {
    flex: 2; /* Inputs take up 2 parts of the space */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    width: 20vw;
}

/* Style for the submit button */
.form-layout button {
    width: 100%;
    padding: 10px; 
    border: none;
    border-radius: 4px;
    font-size: 16px; 
}

.form-layout button:hover {
    background-color: #0056b3;
}

#uplift-form .ui-select {
    max-width: 30vw;
    min-width: 30vw;
}

#uplift-form .ui-select > div {
    padding: 7px 20px 8px 8px;
} 

#fuel-form input, #uplift-form input {
    padding: 4px;
}

#crew-asg-table-container {
    overflow-x: auto;
}

#crew-asg-table th, #crew-asg-table td {
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 4px;
    text-align: left;
    white-space: nowrap;
}

.pure-toggle {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 34px !important;
    height: 18px !important;
    background-color: lightgrey;
    border-radius: 34px;
    position: relative !important;
    cursor: pointer;
    outline: none !important;
    transition: background-color 0.3s ease;
  }
  
  .pure-toggle::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 1px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
  }
  
  .pure-toggle:checked {
    background-color: #151974;
  }
  
  .pure-toggle:checked::before {
    transform: translateX(14px);
  }