body {
    font-size: 1em;
}

.position {
    /* static window bar */
    position: relative;
    opacity: 1 !important;
    -webkit-animation: unset !important;
}
.position.fadeout{
    opacity: 1;
    top: 0;
}
.drag-handle {
    width: calc(100% - 70px);
}

#credits {
    position: fixed;
    bottom: 0;
    left: 0;
}
#options {
    padding-bottom: 185px;
}

#request-url-form {
    margin-bottom: 2em;
}
#request-url-form > label > span {
    display: block;
}
#request-url-form input[type=url] {
    line-height: 24px;
    padding: 5px;
    width: 100%;
    font-size: 12px;
    margin: 5px 0;
}

.options-container {
    padding: 1em;
    display: inline-block;
    min-width: 360px;
    width: 100%;
    float: left;
    clear: left;
    box-sizing: border-box;
}

.options-container + .options-container {
    padding-top: 0;
}

.options-container div {
    display: inline;
}

.options-container h1,
.options-container h2,
.options-container h3,
.options-container h4,
.options-container h5,
.options-container h6 {
    font-size: 110%;
    display: inline;
    font-weight: bold;
}
.options-container h1:first-child,
.options-container h2:first-child,
.options-container h3:first-child,
.options-container h4:first-child,
.options-container h5:first-child,
.options-container h6:first-child {
    margin-top: 0;
}

ul.kb-shortcut-legend {
    list-style: none;
    padding: 0;
}
.kb-shortcut-keys {
    min-width: 115px;
    display: inline-block;
    text-align: right;
    margin-right: 5px;
}
.kb-shortcut {
    background: #d3d3d3;
    padding: 5px 8px;
    line-height: 32px;
    border-radius: 4px;
    border: 1px solid #989898;
    font-family: monospace;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.61);
    box-shadow: 0 1px 0 rgba(0,0,0,.1);
}


/* Alert */
div#alert {
    background-color: #ffcfcf;
    padding: .3em .5em;
    margin: .7em 0 0;
    display: inline-block;
    width: 95%;
}
div#alert p {
    margin: 0;
}
div#alert p:nth-child(2) {
    margin-top: .5em;
}
div#alert.tip {
    background-color: #f0e68c;
}

ul#options-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5em;
}
ul#options-list li {
    margin: .7em 0;
}
ul#options-list li.more-space {
    margin: 1em 0;
}



/* Notice */
.notice {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 80%;
    margin: 10px 0;
}
.notice:empty {
    display: none;
}



/* Checkbox styling */
.toggle {
    position: relative;
    display: block;
    width: 40px;
    height: 20px;
    cursor: pointer;
    float: left;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(0, 0, 0);
}
.toggle:before {
    content: "";
    position: relative;
    top: 3px;
    left: 3px;
    width: 34px;
    height: 14px;
    display: block;
    background: #9A9999;
    border-radius: 8px;
    transition: background 0.2s ease;
}
.toggle span {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    display: block;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(154, 153, 153, 0.5);
    transition: all 0.2s ease;
}
.toggle span:before {
    content: "";
    position: absolute;
    display: block;
    margin: -18px;
    width: 56px;
    height: 56px;
    background: rgba(46, 140, 220, 0.5);
    border-radius: 50%;
    transform: scale(0);
    opacity: 1;
    pointer-events: none;
}
.toggle + span {
    float: left;
    margin-left: 5px;
}

.toggleBox {
    -webkit-appearance: none;
    -moz-appearance:    none;
    appearance:         none;
    margin: 0;
}
.toggleBox:checked + .toggle:before {
    background: #92cdff;
}
.toggleBox:checked + .toggle span {
    background: #2e8cdc;
    transform: translateX(20px);
    transition: all 0.2s cubic-bezier(0.8, 0.4, 0.3, 1.25), background 0.15s ease;
    box-shadow: 0 3px 8px rgba(79, 46, 220, 0.2);
}
.toggleBox:checked + .toggle span:before {
    transform: scale(1);
    opacity: 0;
    transition: all 0.4s ease;
}


input[type=range] {
    position: relative;
}
input[type=range]::before {
    content: attr(min);
    left: 0;
}
input[type=range]::after {
    content: attr(max);
    right: 0;
}
input[type=range]::before,
input[type=range]::after {
    position: absolute;
    top: 15px;
}
input[type=range] + .range-value {
    margin-left: 10px;
}
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  margin: 3px 0;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 14px;
  cursor: pointer;
  background: #9a9999;
  border-radius: 7px;
  border: 0;
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 1.5px 1.5px 8px rgba(79, 46, 220, 0.2), 0px 0px 1.5px rgba(97, 68, 224, 0.2);
  height: 20px;
  width: 20px;
  border-radius: 10px;
  background: #2e8cdc;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -3px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #bebdbd;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 14px;
  cursor: pointer;
  background: #9a9999;
  border-radius: 7px;
  border: 0;
}
input[type=range]::-moz-range-thumb {
  box-shadow: 1.5px 1.5px 8px rgba(79, 46, 220, 0.2), 0px 0px 1.5px rgba(97, 68, 224, 0.2);
  height: 20px;
  width: 20px;
  border-radius: 10px;
  background: #2e8cdc;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 14px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #767575;
  border: 0;
  border-radius: 14px;
}
input[type=range]::-ms-fill-upper {
  background: #9a9999;
  border: 0;
  border-radius: 14px;
}
input[type=range]::-ms-thumb {
  box-shadow: 1.5px 1.5px 8px rgba(79, 46, 220, 0.2), 0px 0px 1.5px rgba(97, 68, 224, 0.2);
  height: 20px;
  width: 20px;
  border-radius: 10px;
  background: #2e8cdc;
  cursor: pointer;
  height: 14px;
}
input[type=range]:focus::-ms-fill-lower {
  background: #9a9999;
}
input[type=range]:focus::-ms-fill-upper {
  background: #bebdbd;
}


#appLabelTitleBarTimout {
    display: block;
    margin-bottom: .2em;
}

#titlebartimeout-option {
    width: 130px;
}
#titlebartimeout-option + .range-value {
    margin-left: 10px;
}
#titlebartimeout-option + .range-value::after {
    content: " sec";
}
