body.custom-background {
    background-color: #9ff2df;
    background-image: url(https://members.blueskyaeromodellers.org/cloud_bkgnd.jpg);
    background-position: left top;
    background-size: auto;
    background-repeat: repeat;
    background-attachment: scroll;
}

body {
    font-size: 14px;
    font-family: "Ubuntu", Helvetica, Arial, sans-serif;
    text-rendering: optimizeLegibility;
    color: #444;
    width:  80%;
    height: 100%;
}

* {
    box-sizing: border-box;
}

#head1 , .login , .welcome, #BSTable2 {
    width:80%; 
    display: block; 
    margin-left: auto; 
    margin-right: auto;
}

/* Style the top navigation bar */
.topnav {
    overflow: hidden;
    background-color: #f0f0f5;
}

/* Style the topnav links */
.topnav a {
    float: left;
    font-size: 12px;
    display: block;
    color: #333;
    text-align: center;
    padding:15px;
    text-decoration: none;
}

/* Change color on hover */
.topnav a:hover {
    background-color: #66C2FF;
    color: black;
}

/* Highlight current page in nav menu */
a.active {
    background:#0099ff;
    color: white;
}

/* On screens that are 600px wide or less, make the menu links stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .topnav a {
        float: none;
        width: 100%;
    }
}


/*the following html and body rule sets are required only if using a % width or height*/
/*html {
width: 100%;
height: 100%;
}*/

body {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 20px 0 20px;
  text-align: left;
}


/* Define login screen */
#login_container {
    position: fixed;
    width: 680px;
    height: 280px;
    top: 50%;
    left: 50%;
    margin-top: -140px;
    margin-left: -220px;
}



.error {
    color: red;
    right: 0;
}

.responsive {
    width: 100%;
    height: auto;
}

.scrollingtable {
  box-sizing: border-box;
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
  width: auto; /*if you want a fixed width, set it here, else set to auto*/
  min-width: 0/*100%*/; /*if you want a % width, set it here, else set to 0*/
  height: 50%; /*set table height here; can be fixed value or %*/
  min-height: 0/*104px*/; /*if using % height, make this large enough to fit scrollbar arrows + caption + thead*/
  font-family: "Ubuntu", Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 20px;
  padding: 20px 0 20px 0; /*need enough padding to make room for caption*/
  text-align: left;
}
.scrollingtable * {box-sizing: border-box;}
.scrollingtable > div {
  position: relative;
  border-top: 1px solid black;
  height: 100%;
  padding-top: 20px; /*this determines column header height*/
}
.scrollingtable > div:before {
  top: 0;
  background: cornflowerblue; /*header row background color*/
}
.scrollingtable > div:before,
.scrollingtable > div > div:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  left: 0;
}
.scrollingtable > div > div {
  min-height: 0/*43px*/; /*if using % height, make this large enough to fit scrollbar arrows*/
  max-height: 100%;
  overflow: scroll/*auto*/; /*set to auto if using fixed or % width; else scroll*/
  overflow-x: hidden;
  border: 1px solid black; /*border around table body*/
}
.scrollingtable > div > div:after {background: white;} /*match page background color*/
.scrollingtable > div > div > table {
  width: 100%;
  border-spacing: 0;
  margin-top: -20px; /*inverse of column header height*/
  /*margin-right: 17px;*/ /*uncomment if using % width*/
}
.scrollingtable > div > div > table > caption {
  position: absolute;
  top: -20px; /*inverse of caption height*/
  margin-top: -1px; /*inverse of border-width*/
  width: 100%;
  font-weight: bold;
  text-align: center;
}
.scrollingtable > div > div > table > * > tr > * {padding: 0;}
.scrollingtable > div > div > table > thead {
  vertical-align: bottom;
  white-space: nowrap;
  text-align: center;
}
.scrollingtable > div > div > table > thead > tr > * > div {
  display: inline-block;
  padding: 0 6px 0 6px; /*header cell padding*/
}
.scrollingtable > div > div > table > thead > tr > :first-child:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 20px; /*match column header height*/
  border-left: 1px solid black; /*leftmost header border*/
}
.scrollingtable > div > div > table > thead > tr > * > div[label]:before,
.scrollingtable > div > div > table > thead > tr > * > div > div:first-child,
.scrollingtable > div > div > table > thead > tr > * + :before {
  position: absolute;
  top: 0;
  white-space: pre-wrap;
  color: white; /*header row font color*/
}
.scrollingtable > div > div > table > thead > tr > * > div[label]:before,
.scrollingtable > div > div > table > thead > tr > * > div[label]:after {content: attr(label);}
.scrollingtable > div > div > table > thead > tr > * + :before {
  content: "";
  display: block;
  min-height: 20px; /*match column header height*/
  padding-top: 1px;
  border-left: 1px solid black; /*borders between header cells*/
}
.scrollingtable .scrollbarhead {float: right;}
.scrollingtable .scrollbarhead:before {
  position: absolute;
  width: 100px;
  top: -1px; /*inverse border-width*/
  background: white; /*match page background color*/
}
.scrollingtable > div > div > table > tbody > tr:after {
  content: "";
  display: table-cell;
  position: relative;
  padding: 0;
  border-top: 1px solid black;
  top: -1px; /*inverse of border width*/
}
.scrollingtable > div > div > table > tbody {vertical-align: top;}
.scrollingtable > div > div > table > tbody > tr {background: white;}
.scrollingtable > div > div > table > tbody > tr > * {
  border-bottom: 1px solid #1affff;
  padding: 0 6px 0 6px;
  height: 20px; /*match column header height*/
}
.scrollingtable > div > div > table > tbody:last-of-type > tr:last-child > * {border-bottom: none;}
.scrollingtable > div > div > table > tbody > tr:nth-child(even) {background: #e6fff5;} /*alternate row color*/
.scrollingtable > div > div > table > tbody > tr > * + * {border-left: 1px solid #1affff;} /*borders between body cells*/

/* set up tabs */

/* Define data area background */
.tabs {
  position: relative;   
  min-height: 330px; /* This part sucks */
  clear: both;
  display: block; 
  width: 80%;
  margin-left: auto; 
  margin-right: auto;

}

/* Define tab position */
.tab {
    
  float: left;

/* Define tab appearance */
}
.tab label {
  position: relative;   
  clear: both;
  display: block; 
  margin-left: auto; 
  margin-right: auto;
  padding: 10px 20px 10px 20px; 
  left: 118px;
  font-family: Arial;
  color: black;
  text-align: center;
  background-color: #f0f0f5;
  border-style: solid; 
  border-color: #e6e6e6; 
  border-width: 1px;
  
}

.tab:active {
    background-color: #66C2FF;
    color: black;
}

.tab label:hover {
    background-color: #66C2FF;
    color: black;
}

.tab [type=radio] {
  display: none;   
    background-color: #66C2FF;
}

.content {
  font: 14px;    
  width: 80%;
    display: block; 
  margin-left: auto; 
  margin-right: auto;
  position: absolute;
  top: 38px;
  left: 0;
  background: #ccffff;
  right: 0;
  bottom: 0;
  padding: 5px;
  float: right;
  border-style: solid; 
  border-color: #e6e6e6; 
  border-width: 1px;
}

[type=radio]:checked ~ label ~ .content {
  z-index: 1;
  
}

.readonly {
   readOnly= true;
   color : blue;
   backgroundColor :#e6ffff ; 
   border :solid blue;
}

.upperdata{
  width: 64%;
  display: block; 
  padding-top: 5px;
  padding-bottom: 0px;
  margin-left: auto; 
  margin-right: auto;
  border-style: solid; 
  border-color: black; 
  border-width: 1px;
  margin-bottom: 10px;
  background: #ccffff;
}

.SubSection{
font-size: 14px;
text-align:left;
margin-left:50px;
padding-top:2px;
}

.label1{
    padding-bottom:10px;
    padding-right:10px; 
}

input, select, textarea {
    font-size: 14px;
    background: #e4fad4;
}

input:valid {
    border: solid black;
}

input:invalid {
    border: solid black;
}



.error.active {
  padding: 0.3em;
}

a.button {
    font-size: 24px;
    background: #ffe6cc;
}

.datablock {
   width: 64%;
  margin-left: auto; 
  margin-right: auto;
  border-style: solid; 
  border-color: black; 
  border-width: 1px;
  margin-bottom: 10px;
  background: #ccffff;
}

.viewdata {
    color: red;
    font-weight: bold;
}

#Result {
  float:right; width:30%; 
  font-size: xx-large; 
  font-weight: bold;

}

fieldset {
   width:500px; 
   border-radius: 7px;
}
legend {
    font-size: 14px;
    
}

label.field {
    text-align: right;
    width:100px;
    float:left;
    font-weight: bold;
}

input.textbox-300 {
    width:300px;
    float:left;
}

input[type=button], input[type=submit], input[type=reset], button {
  background-color: #e6f2ff;
  border-radius: 10px;
  border: solid black;
  color: black;
  text-decoration: none;
  margin: 4px 2px;
  cursor: pointer;
}

fieldset p {
    clear:both;
    padding: 5px;
}

.flex-container {
  display: flex;
  background-color: DodgerBlue;
}

.flex-container > div {
  background-color: #f1f1f1;
  margin: 10px;
  padding: 20px;
  font-size: 20px;
}

/* Main container: initialize the flex, direction is row */
.table-row {
  display: flex;           display: -webkit-flex;
  flex-direction: row;     -webkit-flex-direction: row;
  flex-grow: 0;            -webkit-flex-grow: 0;
  flex-wrap: wrap;         -webkit-flex-wrap: wrap;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

/* Text based cells: grow, truncate and show ellipsis when there is not enough space */
.text {
  flex-grow: 1;            -webkit-flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-right: 20px;
}


            .navbar {
                overflow: hidden;
                background-color: #f0f0f5;
            }

            navbar a {
                float: left;
                font-size: 12px;
                color: #333;
                text-align: center;
                padding: 14px 16px;
                text-decoration: none;
                
                display: block;
                color: #333;
            }

            .submenu {
                float: left;
                overflow: hidden;
            }

            .submenu .submenubtn {
                font-size: 12px;  
                border: none;
                outline: none;
                color: black;
                padding: 14px 16px;
                background-color: inherit;
                font-family: inherit;
                margin: 0;
            }

            .navbar a:hover, .submenu:hover .submenubtn {
                background-color: #66C2FF;
            }

            .submenu-content {
                display: none;
                position: absolute;
                background-color: #f9f9f9;
                min-width: 160px;
                box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
                z-index: 1;
            }

            .submenu-content a {
                float: none;
                color: black;
                padding: 12px 16px;
                text-decoration: none;
                display: block;
                text-align: left;
            }

            .submenu-content a:hover {
                background-color: #66C2FF;
            }

            .submenu:hover .submenu-content {
                display: block;
            }
            
textarea {
    font-size: 14px;
    background: #e4fad4;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 300px;
  background-color: white;
  color: black;
  text-align: left;
  border: solid;
  border-radius: 6px;
  padding: 5px 5px;
  line-height: 150%;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.protected {
	color : blue;
    background-color :#e6ffff; 
    border : solid blue;	
}

.col-wrapper{width:960px; margin:0 auto;}
.col{margin:0 10px; float:left; display:inline;c}
.col-670{width:670px; color:blue}
.col-250{width:250px;}