
/*  $Id: flt_plan.css,v 1.2 2008/08/12 21:30:22 wendell Exp $ */

/* html version of 3-line staggered output */
/* to enable:
     alter pilot preference to allow more enum choices (see P)
     set '#if 1' in html_output.c near line 74
     compile
     choose pilot prefs of html item...
*/

/*  put a small border around the entire table */
  table.fptable {
     border: 1px solid #00c ;
     font-size: 11pt;
     font-family: sans-serif;
     padding-top: 0px;
     padding-right: 0px;
     padding-left: 0px;
     padding-bottom: 0px;
   }

  /* ----------------- left 3 line box */

  .shid {  /* heading id (not bold) */
    border-top: 4px solid  #0061cc ;
    text-align: left;
    padding: 3px;
  }

  .sid {  /* id */
    border-top: 4px solid  #0061CC ;
    text-align: left;
    padding: 3px;
    /* font-weight: bold; */
  }

   .sname {     /* name */
     /* background-color:  #CCFFCC ; */
     background-color:  #aed7ff ;
     padding:    3px;
     border-top:1px solid black;

   }

   .slla {     /* lat lng alt */
/*    background-color:  #0061CC ; */
       border-top:1px solid black;
   }

  /* ----------------- middle 10 (route) items */

  /* leftmost: route/winds/temp */

   .shroute {     /* heading leg route */
     border-left: 1px solid  #000 ;
     border-top: 4px solid  #0061CC ;
     padding: 3px;
   }

   .sroute {     /* leg route */
     border-left: 1px solid  #000 ;
     border-top: 4px solid  #0061CC ;
     padding: 3px;
     font-weight: bold;
   }

   .srwind {     /* wind */
     border-left: 1px solid  #000 ;
     border-left: 1px solid  #000 ;
     text-align: right;
    padding: 3px;
   }

   .srtemp {   /* leg temp */
     border-left: 1px solid  #000 ;
     text-align: right;
     vertical-align: bottom;
     padding:    3px;
     font-size: smaller;
   }

  /* second: mag crs, hdg  */

   .stopborder {   /* just a border */
     border-top: 4px solid #0061CC ;
     border-left: 1px solid  #000 ;
    padding: 3px;
   }

   .srcrs {     /* leg mag course */
     border-left: 1px solid  #000 ;
     border-top:1px solid black;
     border-bottom:1px solid black;
     background-color:  #aed7ff;
     text-align: right;
    padding: 3px;
   }

   .srhdg {   /* leg hdg */
     border-left: 1px solid  #000 ;
     text-align: right;
    padding: 3px;
   }

  /* third: kts tas, gs */

  /* .stopborder */

   .srtas {     /* leg tas */
     border-left: 1px solid  #000 ;
     text-align: right;
    padding: 3px;
   }

   .srgs {   /* leg gs */
     border-left: 1px solid  #000 ;
     text-align: right;
    padding: 3px;
   }

  /* fourth: leg fuel, time, dist */

   .srfuel {     /* leg fuel */
     border-top: 4px solid  #0061CC ;
     border-left: 1px solid  #000 ;
     text-align:     right;
     padding:    3px;
     font-size: smaller;
   }

   .srtime {     /* leg time */
     border-left: 1px solid  #000 ;
     text-align: right;
    padding: 3px;
   }

   .srdist {   /* leg dist */
/*    background-color:  #FFFFCC ; */
     border-left: 1px solid  #000 ;
     text-align: right;
    padding: 3px;
   }

  /* ----------------- right 3 line box */

   .sfuel {     /* fuel */
     border-top: 4px solid  #0061CC ;
     border-left: 1px solid  #000 ;
     padding:    3px;
     text-align: right;
/*   background-color:  #FFFFCC ; */
   }

   .stime {     /* time */
     border-left: 1px solid  #000 ;
     background-color:  #d4eaff ;
     padding:    3px;
/*    background-color:  #FFFFCC ; */
   }

   .sdist {     /* dist */
     border-left: 1px solid  #000 ;
     text-align: right;
     padding:    3px;
   }

  /* ----------------- blank space to right of id */
   .sleftborder {   /* just a border */
     border-left: 1px solid  #000 ;
    padding: 3px;
   }

/******************/

   .stemp {     /* temp */
     border-left: 1px solid  #000 ;
     text-align: right;
     padding:    3px;
     font-size: smaller;
   }

/* 
static char * stag_flt_plan_table = "
*/


/***************   2-line css   *******************/

/* html version of 2-line flt plan output */
/* to enable:
     alter pilot preference to allow more enum choices (see P)
     set '#if 0' in html_output.c near line 710
     compile
     choose pilot prefs of html item...
*/


/* left block: id, type */

   .fid { /* id */
       background-color:white;
       border-top: 4px solid  #0061CC ;
       text-align: left;
       font-weight: bold;
   }

   .ftype {   /* type */
     text-align: right;
     background-color:#aed7ff;
   }

    /* make dme text small */
   span.fp_dme {font-size: 6pt;
       font-family: sans-serif;} 

    /* make kts text small */
   span.fp_kts {font-size: 6pt;
       font-family: sans-serif;} 

    /* make nm text small */
   span.fp_nm {font-size: 6pt;
       font-family: sans-serif;} 

   .falt { float: right;
         border-right: 10px;
         padding-right: 10px;
       }
/* second block: name, nav method, morse */

   .fname {   /* name */
     border-top: 4px solid  #0061CC ;
     border-left: 1px solid  #000 ;
     /* background-color: #CCFFCC ; */
     background-color: #D4EAFF ;
     text-align: left;
   }

   .fnameh {   /* name heading (no background(*/
     border-top: 4px solid  #0061CC ;
     border-left: 1px solid  #000 ;
   }

   .leftright {   /* a silly table to get morse code on left side */
        width: 100%;
    }
   .fname3 {   /* */
     text-align: left;
   }
   .fmorse {   /* morse code dots & dashes */
      /* font-family:courier,monospace; font-size:14px; */
      font-family:courier; font-size:14px;
   }

/* third block: leg dist, remain */

   .fld {     /* leg dist */
     border-left: 1px solid  #000 ;
     border-top: 4px solid  #0061CC ;
   }

   .fdr {     /* dist rem */
     border-left: 1px solid  #000 ;
     background-color:  #aed7ff ;
     text-align: right;
     vertical-align: bottom;
   }

/* fourth block: leg time, total time */

   .flt {     /* leg time */
     border-left: 1px solid  #000 ;
     border-top: 4px solid  #0061CC ;
   }

   .ftt {     /* tot time */
     border-left: 1px solid  #000 ;
     background-color: #d4eaff ;
     text-align: right;
     vertical-align: bottom;
   }

/* fifth block: mag hdg, gs */

   .fmh {     /* mag hdg */
     border-left: 1px solid  #000 ;
     border-top: 4px solid  #0061CC ;
   }

   .fgs {     /* gs */
     border-left: 1px solid  #000 ;
     background-color: #aed7ff;
     text-align: right;
     vertical-align: bottom;
   }

/* sixth block: wind, temp
 */
   .fwnd {     /* temp */
     border-left: 1px solid  #000 ;
     border-top: 4px solid  #0061CC ;
     font-size: smaller;
   }

   /* barbs took up too much space on printed page -wt */
   @media screen {
      .barbimg { }
      .barbtxt { display: none }
   }

   @media print {
      .barbimg { display: none }
      .barbtxt { }
      .fmorse {   /* morse code dots & dashes needs to be 14px when printing.  
		     This should override Both's custom setting */
	  font-family:monospace; font-size:14px;
      }
   }

/*  **************   faa_form css   ******************* */

/*  fixed text in Flight Plan Form  */

 span.fp_hdr {
   font-size:7pt;
   font-family: sans-serif;
   padding: 0px;
   margin: 1px;
   background-color:  #ccffee  ;
 }

/*   filled in text in  Flight Plan Form  */
 span.fp_txt {
   font-size:12pt;
   font-family: courier;
   padding-top: 2px;
   padding-right: 2px;
   padding-left: 2px;
   padding-bottom: 2px;
   margin: 2px;
   /* background-color:  paleblue  ; */
   background-color:  #AFEEEE  ;
 }
 span.tinycivil {
   font-size: 5pt;
   font-family: sans-serif;
}

/* trying to get left/right in 3rd line of lhs in 3-line staggered */
.xtable { width: 100%;
          }
.left  { float: left;
         border-left: 10px;
         padding-left: 20px;
        }
.right { float: right;
         border-right: 10px;
         padding-right: 10px;
        }
.center { text-align: center;
        } 

/* just so it shows up, don't do this for print! */

.freq {
    background-color:#FFCCFF;
    text-align: left;
    font-weight: bold;
}

/* wt additions for tower freq table */

/*  put a small border around the entire table */
  table.twrtbl {
     border: 1px solid #0061CC ;
     font-size: 11pt;
     font-family: sans-serif;
     padding-top: 0px;
     padding-right: 0px;
     padding-left: 0px;
     padding-bottom: 0px;
   }

   .twrapt {
     text-align:  center;
     padding:    0px;
     font-style: italic;
   }

   .twrlbl {
     text-align:     right;
     padding:    0px;
     font-size: smaller;
   }

   .twrfreq {
     text-align:  left;
     padding:    0px;
     font-weight: bold;
   }

