/*
blue:   #4AA5FF
red:    #FA4444
green:  #3EBFBE
yellow: #FFB553
*/
html
{
  font-family: helvetica,tahoma,verdana,arial,sans-serif;
  color:#444;
}
body
{
  padding:20px;
  margin:0;
  /*font-size: 62.5%;  test: 10px base */
  font-size: 1.0em; /* test: em's */
}
h2
{
  color:#999;
  font-weight: normal;
  border-bottom:1px solid #999;
}
.right
{
  text-align: right;
}
.left
{
  text-align: left;
}
.center
{
  text-align: center;
}
#tab-tests-panel a,
#tab-buttons-panel a,
#tab-buttons-panel div,
#tab-bootstrap-panel a,
#tab-cross-domain-panel a,
button,
input[type=button]
{
  margin:5px 0;
  display:inline-block;
  padding:5px 10px;
  background:#4AA5FF;
  color:#fff;
  border-radius: 3px;
  text-decoration: none;
}
button,
input[type=button]
{
  background:#666;
  border:none;
  cursor: pointer;
}
.tabs
{
  list-style: none;
  margin:0;
  padding:0;
  overflow:hidden;
  clear:both;
}
.tabs li
{
  margin:0;
  display: inline-block;
  float:left;
  padding:0 5px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.tabs li button
{
  font-size: 1em;
  cursor: pointer;
  border:none;
  color:#fff;
  background:#444;
  padding:.5em;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  margin:5px 0 0 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.tabs li button:hover
{
  background:#888;
}
.tabs li button:focus,
.tabs li button:active
{
  color:#333;
  background:#FFB553;
}
.tab-panel
{
  display:none;
  background:#f6f6f6;
  padding:10px;
}
.host-app-tabs li button
{
  background:#666;
}
.tabs li button.selected
{
  background:#e0e0e0;
  color:#444;
}
#tab-tests-panel>ul,
#tab-tests-panel>ul>li,
#tab-buttons-panel>ul,
#tab-buttons-panel>ul>li,
#tab-bootstrap-panel>ul,
#tab-bootstrap-panel>ul>li
{
  list-style: none;
  margin:0;
  padding:0;
}

#tab-bootstrap-panel a
{
  background:#3EBFBE;
}

input[type=text],
input[type=password],
textarea,
select
{
  border:2px solid #B3D9FF;
  background:#f9f9f9;
  margin:5px;
}

input[type=text]:focus,
input[type=password]:focus,
textarea:focus,
[contenteditable=true]:focus
{
  border:2px solid #4AA5FF;
}
#wrapper
{
  max-width: 1200px;
  margin:0 auto;
}
.editable
{
  min-height: 50px;
  min-width: 250px;
  border:2px solid #B3D9FF;
  background:#f9f9f9;
  margin:5px 0 0 0;
  padding:5px;
}
*[role=checkbox],
*[role=radio]
{
  display:inline-block;
  cursor: pointer;
}
*[role=checkbox]:hover,
*[role=radio]:hover
{
  color:#4AA5FF;
}
*[role=checkbox]:before
{
  font-family: Consolas, Courier, fixed;
  content: "[ ]";
}
*[role=radio]:before
{
  font-family: Consolas, Courier, fixed;
  content: "( )";
}
*[role=checkbox][aria-checked=true]:before
{
  font-family: Consolas, Courier, fixed;
  content: "[X]";
}
*[role=radio][aria-checked=true]:before
{
  font-family: Consolas, Courier, fixed;
  content: "(O)";
}

fieldset
{
  margin:20px 0;
  border: 1px solid #999;
}
legend
{
  background:#999;
  color:#fff;
  padding:5px 10px;
  border-radius: 3px;
}

.corner-element,
.re-roll-ids
{
  position:fixed;
  z-index:101;
  background:#999;
  text-align: center;
  padding:3px 5px;
}
.corner-element>a
{
  color:#fff;
}
.corner-tl
{
  top:0;
  left:0;
  border-bottom-right-radius: 10px;
}
.corner-tr
{
  top:0;
  right:0;
  border-bottom-left-radius: 10px;
}
.corner-bl
{
  bottom:0;
  left:0;
  border-top-right-radius: 10px;
}
.corner-br
{
  bottom:0;
  right:0;
  border-top-left-radius: 10px;
}
.re-roll-ids
{
  top:0;
  right:40px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  transition: background-color 1s;
}
.re-roll-ids.active
{
  background-color:#4AA5FF;
  transition: background-color 1s;
}
.re-roll-ids a
{
  color:#fff;
}

.pre-label
{
  display:inline-block;
  min-width:125px;
}

.fake-field
{
  font-size: 13.33333px;
  display: inline-block;
  color:#aaa;
  background: none repeat scroll 0 0 #F9F9F9;
  border: 2px solid #B3D9FF;
  margin: 5px;
  padding:1px;
  min-width: 200px;
  cursor:pointer;
}

.real-field
{
  display:none;
  min-width: 200px;
}

.replaceable-real-field
{
  min-width: 200px;
}

/* timesheet */
.right
{
  float:right;
}
table.timesheet
{
  border:1px solid #ccc;
  border-collapse: collapse;
  border-spacing: 0;
}
table.timesheet *
{
  box-sizing:border-box;
}
table.timesheet td
{
  text-align: right;
}

table.timesheet th
{
  border:1px solid #ccc;
  padding:0.5em;
  color:#fff;
  background: #444;
}

table.timesheet td
{
  min-height: 1em;
  border:1px solid #ccc;
  padding:0.;
  background: #fff;
  width: 8%;
}

table.timesheet div.tc,
table.timesheet input.tcText
{
  height:24px;
  text-align: right;
  background:#fff;
  padding:0 4px;
}
table.timesheet input.tcText
{
  width:100%;
  border:none;
  margin:0;
}
table.timesheet input.tcText:focus
{
  background:#FFDC73;
}
table.timesheet select
{
  width:100%;
  margin:0;
}

table.timesheet .details
{
  width: 11.3333%;
}

ul.actions
{
  margin: 1em 0 0 0;
  padding: 0;
}

ul.actions li
{
  display:inline-block;
  margin:0 1em 0 0;
}

ul.actions a
{
  display:inline-block;
  border-radius: 5px;
  border: 1px solid #ccc;
  padding:0.875em 1em;
  text-decoration: none;
  background: #fff;
  color:#444;
}

code
{
  display:block;
  color:#ccc;
  background:#444;
  font-family: Consolas,Courier,"Courier New";
  padding:1em;
  border-radius: 3px;
}

#uguide-extension-results
{
  margin:1em 0;
}

#uguide-extension-results>div
{
  color:#fff;
  padding:1em;
  border-radius: 3px;
  display:none;
}

#uguide-extension-results>div.added,
#uguide-extension-results>div.updated
{
  background:#3EBFBE;
}
#uguide-extension-results>div.error
{
  background:#FA4444;
}

@media only screen and (max-width: 768px) {
  .tabs li button
  {
    font-size: 0.875em;
    cursor: pointer;
    border:none;
    color:#fff;
    background:#444;
    padding:10px;
    border-radius: 5px;
  }
  .tabs li
  {
    border:none;
  }
  .tabs
  {
    margin:0 0 5px 0;
  }
}

/* 
  Offensive styles to safeguard against 

  ...I'm looking at you, Mr. Lattice Engines.

.ui-dialog .ui-button.ui-state-default
{
  border: 1px solid #C3C3C3;
  border-bottom-color: #A7A7A7;
}

.ui-dialog .ui-dialog-titlebar-close
{
  z-index: 99999;
}

.ui-dialog .ui-dialog-titlebar-close, 
.ui-dialog .ui-dialog-titlebar-close.ui-state-hover
{
  border-radius: 50%;
  visibility: visible;
}

.ui-dialog .ui-dialog-titlebar-close:after
{
  content: '\00d7';
  position: absolute;
  top: 4px;
  left: 9px;
  font-size: 18px;
  color: #666;
}
*/