:root {
    --primary: #4093c7;
    --secondary_color: #e1edf0;
  
    --main_font_color: #333e4f;
  
    --grey: #666666;
    --dark_grey: #4f4f4f;
    --overlay_color: #00000099;
  
    --red: #FF0000;
      --orange: #840d24;
    --light_red: #db5858;
      --purple: #001b49;
      --green: #008f1c;
      --light_green: #d4ffee;
    --white: #FFFFFF;
    --black: #000000;
    --off_white: #ededed;
  
  }
  * {
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      padding: 0;
      margin: 0;
  }
  
  body {
      font-family: "Arial", sans-serif;
    color: var(--main_font_color);
  }
  
  a {
    text-decoration: none;
    color: var(--main_font_color);
  }
  
  ul {
    list-style: none;
  }
  
  .align_center {
    text-align: center;
  }
  
  .align_right {
    text-align: right;
  }
  
  .line {
    border-top: 4px solid var(--primary);
  }
  
  .mar_bot_10 {
    margin-bottom: 10px;
  }
  
  .mar_bot_15 {
    margin-bottom: 15px;
  }
  
  .mar_bot_20 {
    margin-bottom: 20px;
  }

  .mar_top_10 {
    margin-top: 10px;
  }
  
  .mar_top_15 {
    margin-top: 15px;
  }
  
  .mar_top_20 {
    margin-top: 20px;
  }
  
  .footnote {
    font-size: .7em;
    font-style: italic;
  }
  
  .primary {
    color: var(--primary);
  }
  
  .only_desk {
    display: none;
  }
  
  .error {
    color: var(--red);
  }
  
  /************************** forms begin ****************************/
  input[type=text], input[type=password] {
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--primary);
    padding: 2px;
    font-size: .8em;
  }
  
  button {
    color: var(--main_font_color);
    border: 1px solid var(--primary);
    background-color: var(--secondary_color);
    padding: 5px 8px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px var(--grey);
  }
  
  button:active {
  box-shadow: 0 1px var(--grey);
    transform: translateY(3px);
  }
  
  input::placeholder {
    font-style: italic;
  }
  /************************** forms end ******************************/
  
  
  
  /************************** HEADER begin ****************************/
  .header_title {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    margin-top: 10px;
  }
  
  .content {
    padding: 20px 15px 40px 15px !important;
    min-height: 300px;
  }
  
  .page_title {
    font-size: 1.5em;
    font-weight: bold;
    margin: 20px 0 30px 0;
    font-style: italic;
  }
  
  #toast {
    display: none;
    position: fixed;
    float: left;
    z-index: 100;
    width: 100%;
    height: 2em;
    padding-top: .5em;
    margin-top: 42px;
    text-align: center;
    background-color: rgba(175, 227, 189, .6);
    color: var(--black);
  }
  /************************** HEADER end ******************************/
  
  
  /************************** FOOTER begin ****************************/
  .footer {
    padding-top: 20px !important;
    font-size: .9em;
  }
  
  .footer ul {
    padding: 15px;
  }
  
  .footer li {
    padding: 3px 0;
  }
  /************************** FOOTER end ******************************/
  
  
  /************************* OVERLAY begin *****************************/
  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay_color);
    z-index: 100;
    margin: auto;
  }
  
  #calculator_wrapper {
    position: relative;
    width: 75%;
    max-width: 500px;
    height: 520px;
    border-radius: 10px;
    background-color: var(--off_white);
    margin: 50px auto;
    z-index: 200;
  }
  
  #calc_screen {
    background-color: var(--dark_grey);
    height: 3em;
    font-size: 2em;
    text-align: right;
    padding: 1em;
    color: var(--off_white);
    margin-bottom: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  
  .calc_button {
    cursor: pointer;
    border: 1px solid var(--black);
    border-radius: 5px;
    text-align: center;
    font-size: 1.5em;
    line-height: 2em;
    margin: 8px;
  }
  
  #calc_ac {
    background-color: var(--light_red);
    color: var(--off_white);
  }
  
  #calc_equal {
    background-color: var(--green);
    color: var(--off_white);
  }
  
  #close_calculator {
    position: absolute;
    text-align: center;
    top: 5px;
    left: 5px;
    color: var(--off_white);
    width: 20px;
    height: 20px;
    border-radius: 10px;
    border: 1px solid var(--off_white);
    cursor: pointer;
  }
  /************************** OVERLAY end ******************************/
  
  
  /************************** W & B begin ****************************/
  .wb_form {
    float: left;
    width: 100%;
    max-width: 1000px;
    font-size: .7em;
  }
  
  #wb_form_head {
    padding: 0 10px;
  }
  
  .wb_form_line_titles {
    padding: 10px 10px;
    width: 100%;
    float: left;
    font-size: 1.2em;
  }
  
  .wb_form_line {
    padding: 5px 5px;
    width: 100%;
    float: left;
    line-height: 2em;
  }
  
  .wb_form_line > div{
    padding-right: 10px;
  }
  
  .wb_form_line:nth-child(odd) {
    background-color: var(--secondary_color);
  }
  
  .wb_form_line:nth-child(odd) .arm_val {
    background-color: var(--secondary_color);
  }
  
  .fuel_gal_input {
    width: 5em !important;
  }
  
  .wb_form_totals {
    font-weight: bold;
    font-size: 1.2em;
  }
  
  .weight_col {
    position: relative;
  }
  
  .calc_icon {
    /*display: none;*/
    position: absolute;
    right: 15px;
    width: 20px;
    top: -7px;
    z-index: 10;
  }
  
  .calc_icon img {
    width: 100%;
    cursor: pointer;
  }
  
  #max_fuel_link {
    text-decoration: underline;
    cursor: pointer;
  }
  
  .arm_val {
    border-width: 0px !important;
    outline: none;
  }
  
  #nan_msg {
    display: none;
  }
  
  /*
  .weight_val:focus ~ .calc_icon {
    display: block;
  }
  */
  /************************** W & B end ******************************/
  
  
  /************************** FLEET begin ****************************/
  .aircraft_block_wrapper {
    margin-top: 0;
    margin-bottom: 25px;
  }
  
  .aircraft_block {
    float: left;
    width: 100%;
    padding: 10px !important;
    border: 1px solid var(--primary);
  }
  
  .aircraft_block:not(:first-child) {
    margin-top: 20px;
  }
  
  .aircraft_picture {
    width: 50%;
    float: left;
    max-width: 300px;
  }
  
  .aircraft_picture img {
    width: 100%;
  }
  
  .aircraft_info {
    float: left;
    padding-left: 15px;
  }
  
  .edit_aircraft_info {
    margin-bottom: 25px;
  }
  
  /*
  .edit_image {
    width: 100%;
    max-width: 250px;
    background-repeat: no-repeat;
    background-size: 100%;
  }
  */
  
  .upload_image {
    text-align: center;
    width: 100%;
    max-width: 250px;
    min-height: 170px;
    padding-top: 43px;
    font-size: .8em;
    outline: 2px dashed var(--dark_grey);
    outline-offset: -8px;
  
    background-size: cover;
  }
  
  .upload_image_over {
    background-color: var(--off_white) !important;
    /*outline: 2px dashed #ffffff !important;*/
    outline-offset: -9px !important;
  }
  
  .upload_image p {
    background-color: rgba(255,255,255,.6);
    margin: 0 15px;
  }
  
  .upload_wait {
    display: none;
  }
  
  .upload_wait p {
    padding: 10px 0;
  }
  
  #file {
    display: none;
  }
  /************************** FLEET end ******************************/
  