button.big {
  width: 100%;
  height: 100%; }

span.component {
  border-width: 2px;
  border-style: solid; }

span.good {
  border-color: #4C4; }

span.bad {
  border-color: #c93c3c; }

#pieces_selected, #pieces_available {
  width: 300px;
  height: 600px;
  border: 2px inset black;
  margin: 20px;
  float: left;
  overflow: scroll; }
  #pieces_selected hr, #pieces_available hr {
    clear: left;
    height: 3px; }
  #pieces_selected div, #pieces_available div {
    min-height: 40px; }

#grid_editor, #saving, #image_links, #controls, #color_selector, #specific_piece_selector {
  width: 200px;
  padding: 5px;
  border: 3px double black;
  margin-bottom: 5px; }

#specific_piece_selector {
  min-height: 200px; }

.saving_box {
  margin: 0px;
  padding: 0px; }
  .saving_box .title {
    font-weight: bold;
    margin-bottom: 4px;
    margin-top: 4px; }
  .saving_box .indent {
    margin-left: 10px; }

#image_links p {
  text-align: center;
  margin: 0px; }
#image_links button {
  width: 80px; }

#side_panel {
  float: left;
  margin-right: 10px; }
  #side_panel h3 {
    margin-top: 2px; }
  #side_panel h4 {
    text-align: center;
    margin-bottom: 0px;
    margin-top: 0px; }

.popup, .flash {
  position: absolute;
  left: 300px;
  top: 250px;
  border: 7px solid black;
  background: white; }

.popup {
  padding: 0px;
  max-width: 550px; }
  .popup .title_bar {
    padding-left: 5px;
    padding-top: 3px;
    border-bottom: 2px solid black;
    font-weight: bold;
    font-size: large; }
    .popup .title_bar .close {
      float: right;
      padding-left: 3px;
      padding-right: 3px;
      margin: 2px;
      border: 2px outset black;
      cursor: default; }
      .popup .title_bar .close:hover {
        background: #97caff; }
  .popup .contents {
    padding: 5px; }

.flash {
  max-width: 250px;
  padding: 15px;
  color: #DD4444;
  text-align: center;
  font-weight: bold;
  font-size: large;
  line-height: 150%; }

#connect_div {
  height: 45px;
  overflow: scroll;
  white-space: nowrap; }

#pieces_available {
  width: 600px; }

.grouper {
  margin: 0px;
  border-width: 0px;
  padding: 0px; }

table.tetris_table td.tet {
  width: 20px;
  height: 20px;
  background-color: #eeeeee;
  border-width: 1px;
  border-style: solid;
  border-color: black; }
  table.tetris_table td.tet .filler {
    min-width: 20px;
    min-height: 20px; }
table.tetris_table td.blank {
  background-color: black; }
table.tetris_table td.highlighted {
  background-color: #F93; }

div.unattached_piece_holder {
  float: left;
  margin: 2px;
  padding: 2px;
  text-align: center;
  font-weight: bold;
  border: 1px solid black;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  cursor: pointer; }
  div.unattached_piece_holder:hover {
    border-width: 3px;
    border-style: double;
    margin: 0px; }
  div.unattached_piece_holder.piece_mode_free {
    background: #aaeeaa; }
  div.unattached_piece_holder.piece_mode_fixed, div.unattached_piece_holder.piece_mode_onesided {
    background: #ffff99; }
  div.unattached_piece_holder.focused {
    border-width: 3px;
    border-style: solid;
    margin: 0px; }

table.unattached_piece {
  border: 2px solid gray;
  margin: 2px; }
  table.unattached_piece td.tet {
    width: 10px;
    height: 10px; }
  table.unattached_piece.disabled {
    border-style: dashed; }
  table.unattached_piece.color_hover {
    border-color: black; }


#piece_categories {
  margin-top: 30px;
  width: 700px;
  float: left;
  padding: 10px; }
  #piece_categories .buttons {
    margin-bottom: 5px; }

.color {
  float: left;
  width: 20px;
  height: 20px;
  border: 1px solid black;
  padding: 0px;
  margin: 1px;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px; }

#custom_piece {
  width: 300px;
  height: 300px; }

#tab_bar div {
  float: left; }
#tab_bar .tab {
  text-align: center;
  cursor: pointer;
  border: 1px solid black;
  padding-left: 4px;
  padding-right: 4px;
  border-radius-topleft: 4px;
  -moz-border-radius-topleft: 4px;
  -webkit-border-radius-topleft: 4px;
  border-radius-topright: 4px;
  -moz-border-radius-topright: 4px;
  -webkit-border-radius-topright: 4px; }
  #tab_bar .tab.selected {
    border-bottom-style: none;
    background-color: #ffff99; }
  #tab_bar .tab:hover {
    background-color: #97caff; }
#tab_bar .nottab {
  border-bottom: 1px solid black; }
  #tab_bar .nottab.left {
    width: 30px; }
  #tab_bar .nottab.middle {
    width: 5px; }
  #tab_bar .nottab.right {
    width: 150px; }

.loading_holder {
  border: 2px solid black;
  padding: 0px;
  width: 300px; }

.loading {
  margin: 0px;
  background: #97caff;
  min-height: 20px; }
