body {
	background-color: ##003c96;
}

div#loginstatus {
    padding: 1%;
}

#loginButton {
  cursor: pointer;
}

div#wrapper {
    max-width: max-content;
    margin: 0 auto;
    display: block; /*flex;*/
    min-height: 300px;
    background-color: #bea55a;
    border: 15px double #fefefe;
    border-radius: 15px;
    padding: 5px;
}

div#main-container {
    background-color: ##003c96;
}

div#leftPanel, div#rightPanel {
    float: left;
    padding: 10px;
    min-width: 200px;
    max-width: calc(50% - 20px);
}

div#credsfooter {
    display: block;
    clear: both;
    float: left;
    width: 100%;
    text-align: center;
}

p#footermsg {
    background-color: #fefefe;
    border: 15px double #bea55a;
    margin: 0px 10px;
    border-radius: 15px;
    padding: 5px 10px;
}

span#appheader {
    color:#fefefe; 
    float:left; 
    font-size: 2em; 
    margin-top: 15px;
    font-weight: bold;
    font-style: italic;
}

span#apptitle {
    float: left;
    margin-top: 15px;
    font-size: 1.25em;
    padding-left: 5px;
}

#gearbox {
    float: right; 
    color:#fefefe; 
    margin-top: 0px;
}

#menuButton {
    display: none;
}

#appmenuToggle span {
    display: none;
}

li.mmitem {
    display: none;
}

li#username {
    font-size:1.3em; 
    float: left; 
    padding-right:5px; 
    color:#fefefe;
}

ul#appmenuList {
    list-style-type: none;
    padding: 0px 50px 0px 0px;
}

li#logoutbutton {
    text-decoration:underline; 
    cursor: pointer; 
    float:left; 
    padding-left:5px; 
    color:#fefefe;
}

#gba_build label {
    margin-right: 5px;
    margin-left: 25px;
    color: #06c;
}

label#gba_np_lb {
    margin-left: 5px;
}

#gba_build input {
    width: 80%;
    border: 1px solid #c0c0c0;
    border-radius: 3px;
    /*color: slategray;*/
}
    
.gba_build_special {
    text-align: left;
    margin-left: calc(20% + 7px);
    border: none;
}

.gba_fieldset, .sub_fieldset {
    /*border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #d6d6d6;
    margin-left: 10%;
    margin-right: 10%;*/
    margin-top: 5px;
    border: none;
}

input#gba_da, input#gba_dd_on {
    background-color: #fdfd75;
}

input#gba_dnd, input#gba_ec, input#gba_gc, input#gba_vp, input#gba_svp, input#teamsCommentYN {
    width: 1em;
}

label#gba_gc_lb, label#gba_vp_lb, label#gba_svp_lb, label#teamsCommentYN_lb {
    margin-left: 5px;
} 
fieldset#gba_np_fs, fieldset#gba_mx_fs {
    text-align: left;
}

input#gba_np, input#gba_mx {
    width: 50px;
}

input#gba_da, input#gba_dd_on {
    width: 80px;
}
input#gba_ty, input#gbt_cat {
    width: 100px;
}

.gba_build_spacer {
    display: inline-block;
    width: calc(80% - 155px);
}

.gba_dates_spacer {
    display: inline-block;
    width: calc(80% - 240px);
}

span.desc_spacer {
    width: calc(80% - 1em);
    display: inline-block;
    text-align: left;
}

fieldset#gba_vp_fs, fieldset#gba_gc_fs, fieldset#gba_svp_fs, input#gba_gc, input#gba_vp, input#gba_svp, input#teamsCommentYN {
    clear: none;
    display: inline-block;
    float: left;
}

fieldset#teamsCommentYN_fs {
    text-align: left;
}

div#gba_build select {
    width: 160px;
}

div#gba_linked_div, div#gba_other_linked_div, div#gba_is_guest_div, div#gba_linked_msg_div {
    clear: left;
    display: block;
    /*width: 100%;*/
    text-align: left;
    margin: 0px 0px 0px 150px;
}

label#gba_linked_lb, label#gba_other_linked_lb, label#gba_is_guest_lb, label#gba_linked_msg_lb {
    float: left;
}

[id^="la_"] {
    clear: left;
    max-width: 1em;
}

/**********************/
/* Fixed Table Header */
/**********************/
.fixed_header > tbody, thead
{
    display: block;
}

.fixed_header > tbody 
{
   overflow: auto;
   max-height: 300px;
   display: block;
}

table.fixed_header  {
    width: 100%; /* can be dynamic */
}

.fixed_header > th
{
    width: 75px;
}

.fixed_header > tbody tr:nth-child(even){
  background-color: #c3c3c3;
  color: #000000;
}

table.fixed_header > thead > tr > th, 
table.fixed_header > tbody > tr > td {
    width: 125px;
    text-align: left;
}

/********************/
/* PORTABLE SCREENS */
/********************/
@media only screen and (max-width: 799px){

    span#appheader {
    font-size: 1.25em;
    }

    li#username {
    display: none;
    }

    div#navbar {
    /*width: calc(100% + 40px);*/
    position: absolute;

    /*left: -40px;*/
    }

    .ui-tabs.ui-tabs-vertical > .ui-tabs-nav {
    display: none;
    }

    div#medcons {
    padding-left: 5px;
    padding-right: 5px;
	}


    div#loginstatus {
        padding: 0; 
    }
    div#leftPanel, div#rightPanel {
        float: left;
        padding: 10px;
        min-width: 200px;
        background-color: #bea55a;
    }

    div#rightPanel, div#leftPanel {
        clear: both
    }

    

    /* MENU ITEMS *******************************/
    /* https://codepen.io/erikterwan/pen/grOZxx */
    /********************************************/

    #gearbox {
        float: right; 
        color:#fefefe; 
        margin-top: 15px;
    }

    li.mmitem {
        display: block;
    }

    #menuButton {
    display: block;
    }

    #appmenuToggle span {
        display: block;
    }

    #appmenuToggle
    {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
  
    -webkit-user-select: none;
    user-select: none;
    }

    #appmenuToggle input
    {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
  
    cursor: pointer;
  
    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */
  
    -webkit-touch-callout: none;
    }

    /*
     * Just a quick hamburger
     */
    input:valid + span:after {
        content: none;
    }

    #appmenuToggle span
    {
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
  
        background: #cdcdcd;
        border-radius: 3px;
  
        z-index: 1;
  
        transform-origin: 3px 3px;
  
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    opacity 0.55s ease;
    }

    #appmenuToggle span:first-child {
        transform-origin: 0% 0%;
    }

    #appmenuToggle span:nth-last-child(2) {
        topransform-origin: 0% 100%;
    }

    /* 
    * Transform all the slices of hamburger
    * into a crossmark.
    */
    #appmenuToggle input:checked ~ span {
        opacity: 1;
        transform: rotate(45deg) translate(-2px, -1px);
        background: #232323;
    }

    /*
    * But let's hide the middle one.
    */
    #appmenuToggle input:checked ~ span:nth-last-child(3) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    /*
    * Ohyeah and the last one should go the other direction
    */
    #appmenuToggle input:checked ~ span:nth-last-child(2){
        opacity: 1;
        transform: rotate(-45deg) translate(0, -1px);
    }

    /*
     * Make this absolute positioned
    * at the top left of the screen
    */
    ul#appmenuList {
        list-style-type: none;
        padding: 30px 50px 0px 0px;
    }

    #appmenuList {
        position: absolute;
        width: 300px;
        margin: -40px 0 0 0;
        padding: 50px;
        padding-top: 125px;
        right: -50px;
  
        background: #ededed;
        list-style-type: none;
        -webkit-font-smoothing: antialiased;
        /* to stop flickering of text in safari */
  
        transform-origin: 0% 0%;
        transform: translate(100%, 0);
  
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    }

    #appmenuList li {
        padding: 10px 0;
        font-size: 22px;
        color: #000000;
        cursor: pointer;
    }

    /*
    * And let's fade it in from the left
    */
    #appmenuToggle input:checked ~ ul {
        transform: scale(1.0, 1.0);
        opacity: 1;
    }


	div.form-group {
        margin-bottom: 5px;
        display: table;
	   width: -webkit-fill-available;
	}

	input[type=text] {
        display: table-row;
        width: -webkit-fill-available;
	}

    .ui-tabs.ui-tabs-vertical > .ui-tabs-panel {
       /* max-width: calc(100% - 40px);
        min-width: 100%; */
    }

}

  .pt_title {
    position: relative;
    top: -25px;
    right: -30px;
    background: #fff;
    line-height: 1.2em;
    width: 75px;
    color: #bea55a;
    font-weight: bold;
   }

  .pt_legend {
    border-radius: 50%;
    background-color: #bea55a;
    border-color: #fefefe;
    padding: 5px 2px 1px 9px;
    height: 1.5em;
    max-height: 1.5em;
    width: 1.2em;
    max-width: 1.25em;
    text-align: left;
    /* vertical-align: middle; */
    color: #fefefe;
    font-weight: bold;
    font-size: 1em;
    /* font-family: sans-serif; */
  }

  .pt_default {
    padding: 5px;
    margin: 5px;
    border-radius: 5px;
  }

  .ptlookup {
    /*display: inline-block;*/
    padding: 0pc;
    margin: 0px;
    border:	none;
  }

  select.prelookup {
    display: inline;
    max-height: 0;
  }

  span.select_one {
    display: inline-block;
    width: 100px;
    float: left;
    clear: none;
  }

  dl.select_one {
    border: 1px solid #000;
    width: 256px;
    height: 5em;
    overflow: scroll;
    margin: 0;
  }
  input.select_one {
  	width: 250px;
  }

  .hideme {
  	visibility: hidden;
  }

  .showme {
  	visibility: visible;
  }

  .boldme {
    font-weight: bold;
  }

  button.btn.btn-primary.btn_center {
    /*margin-left: calc(50% - 128px);
    margin-right: calc(50% - 128px);*/
    margin-left: 25px;
    margin-bottom: 25px;
    width: 250px;
    background-color: #003c96;
    color: #fff;
    border: 0px;
    border-radius: 3px;
}
  button {
    cursor: pointer;
  }

  div#gba_build {
    text-align: center;
  }

  span.desc {
    display: inline-block;
    font-size: small;
    color: #6e6e6e;
    margin-top: 5px;
    /*margin-right: 10%;
    margin-left: 10%;*/
    margin-bottom: 10px;
    width: 80%;
    text-align: left;
    margin-left: 20%;
  }

  div#gba_status {
    display: inline-block;
    width: 100%;
    text-align: center;
    color: green;
    font-weight: bold;
  }

  fieldset#step_one_fs {
    padding: 25px;
  }
  
  fieldset#gba_zab_fs {
    text-align: left;
}

  input#gba_zabz, input#gba_zabb {
    width: 25px;
}

  label#gba_zabz_lb, label#gba_zabb_lb {
    margin: 0px;
}

  /********************/
  /* font awsome mods */
  /********************/

  .fa-layers {
      margin-right: -3px;
  }
 
 /*****************/ 
 /* SMALL SCREENS */
 /*****************/ 

@media only screen and (max-width: 435px){
    span#appheader {
    font-size: 1.25em;
    margin-top: 5px;
    }

    span#apptitle {
    float: left;
    margin-top: 0px;
    font-size: 1.25em;
    padding-left: 5px;
    margin-right: 50px;
    }

    div#wrapper {
    max-width: max-content;
    margin: 0 auto;
    display: block;
    }

    div#rightPanel, div#leftPanel {
    min-width: calc(100% - 20px);
    }
}
