.ui-resizable-handle.ui-resizable-se.ui-icon.ui-icon-gripsmall-diagonal-se, .ui-resizable-s {
    bottom:10px;
}

.grid-container .grid {
    margin-top: 10px;
    margin-right: 10px;
    overflow-x: visible;
    overflow-y: visible;
}
.grid {
    position: relative;
    list-style: none;
    /* Will be modified by the grid jquery lib, depending on the items */
    transition: width 0.2s;
}

.grid-container .grid {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.grid-widget {
    position: absolute;
    transition: top 0.2s,
    left 0.2s,
    width 0.2s,
    height 0.2s,
    font-size 0.2s,
    line-height 0.2s;
}
#grid.fullscreen {
    position:inherit;
}
#grid.fullscreen .grid-widget {
    position:absolute;
    width:100% !important;
    height: 100% !important;
    z-index: 99999 !important;
}
#grid.fullscreen .grid-widget .inner{
    left:0;
    bottom:0;
}
.grid li,
.grid ul {
    margin:0;
    padding:0;
    list-style-type:none;
}
.grid .inner {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.26);
    position: absolute;
    background: #fff;
    top: 0;
    bottom: 10px;
    left: 10px;
    right: 0px;
    padding:25px 0 0 0; /* Top padding includes header's height positionned with absolute values */
    transition: background 3s;
}
.grid .inner .content {
    overflow: auto;
    height: 100%;
    width:100%;
}

.grid .changed .inner {
    background: #ffff66;
    transition: none;
}
.grid .ui-draggable-dragging {
    transition: none;
}
.grid .position-highlight {
    position: absolute;
    transition: none;
}
.grid .position-highlight .inner {

    border: none;
    background: #ccc;
}

#grid.screenfull .inner{
    padding:0;
}

#grid.screenfull .widget-header{
    z-index:1;
}

#grid.hideControls .inner {
    padding:0px;
}

#grid.hideControls .widget-header {
    display:none;
}

/*
 * Very simple jQuery Color Picker
 * https://github.com/tkrotoff/jquery-simplecolorpicker
 *
 * Copyright (C) 2012-2013 Tanguy Krotoff <tkrotoff@gmail.com>
 *
 * Licensed under the MIT license
 */

/**
 * Inspired by Bootstrap Twitter.
 * See https://github.com/twbs/bootstrap/blob/master/less/navbar.less
 * See https://github.com/twbs/bootstrap/blob/master/less/dropdowns.less
 */

.simplecolorpicker.picker {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1051; /* Above Bootstrap modal (@zindex-modal = 1050) */
  display: none;
  float: left;

  width:260px;

  padding: 5px 0 0 5px;
  margin: 2px 0 0;
  list-style: none;
  background-color: #fff; /* @dropdown-bg */

  border: 1px solid #ccc; /* @dropdown-fallback-border */
  border: 1px solid rgba(0, 0, 0, .15); /* @dropdown-border */

  -webkit-border-radius: 4px; /* @border-radius-base */
     -moz-border-radius: 4px;
          border-radius: 4px;

  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
     -moz-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
          box-shadow: 0 6px 12px rgba(0, 0, 0, .175);

  -webkit-background-clip: padding-box;
     -moz-background-clip: padding;
          background-clip: padding-box;
}

.simplecolorpicker.inline {
  display: inline-block;
  padding: 6px 0;
}

.simplecolorpicker span {
  margin: 0 5px 5px 0;
}

.simplecolorpicker.icon,
.simplecolorpicker span.color {
  display: inline-block;

  cursor: pointer;
  border: 1px solid transparent;
}

.simplecolorpicker.icon:after,
.simplecolorpicker span.color:after {
  content: '\00a0\00a0\00a0\00a0'; /* Spaces */
}

.colorpicker .simplecolorpicker.icon {
    width:30px;
    height:30px;
    line-height:30px;
    text-align:center;
    border: 1px solid #000;
}
.colorpicker .simplecolorpicker.icon:after {
  content: ''; /* Spaces */
}

.simplecolorpicker span.color[data-disabled]:hover {
  cursor: not-allowed;
  border: 1px solid transparent;
}

.simplecolorpicker span.color:hover,
.simplecolorpicker span.color[data-selected],
.simplecolorpicker span.color[data-selected]:hover {
  border: 1px solid #222; /* @gray-dark */
}
.simplecolorpicker span.color[data-selected]:after {
  color: #fff;
}

/* Vertical separator, replaces optgroup. */
.simplecolorpicker span.vr {
  border-left: 1px solid #222; /* @gray-dark */
}

.simplecolorpicker.regularfont span.color[data-selected]:after {
    content: '\2714'; /* Ok/check mark */
    margin-right: 2.2px;
    margin-left: 2.2px;
}

.widget-header {
    display: flex;
    position: absolute;
    height: 25px;
    border-bottom: 1px solid #eee;
    width: 100%;
    top: 0;
    left: 0;
    background: #fff;
}

.widget-header a:not(.autoscroll) {
    color: #000 !important;
}
.widget-header a:not(.autoscroll):hover {
    background: black !important;
    color: #fff !important;
}
.widget-header a.autoscroll {
    margin-top: 2px;
}

.widget-header-title {
    display: block;
    flex: 1;

    line-height: 25px;
    height: 25px;
    font-weight: bold;
    margin-left: 10px;
}
.ui-draggable .widget-header {
    cursor: move;
}
.widget-header .tooltip {
    white-space: nowrap;
}

.Widget {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: auto;
    padding: 10px;
}
.modal {
    overflow: visible;
}
.grid-widget .Widget.selected ::-moz-selection {
    background-color: rgba(0, 0, 0, 0.2);
}
.grid-widget .Widget.selected ::selection {
    background-color: rgba(0, 0, 0, 0.2);
}

/* Mobile */
#grid .widget-mobile {
    display: none;
}
#grid .widget-mobile.active {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
#grid .widget-mobile .inner {
    padding: 0;
}
#grid .widget-mobile .widget-header {
    display: none;
}

/* Chat */
.chat-overlay {
    position: absolute;
    text-align: center;
    padding-top: 35%;
    background-color: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    z-index: 1;
    top: 0;
    left: 0;
}
.chat-overlay p {
    font-weight: bold;
    font-size: 18px;
}
#chat-disconnected,
#chat-loading {
    opacity: 0.7;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: lightgray;
}
#widget-chat .tab,
#widget-chat .chat-send {
    font-family: "Open Sans", sans-serif !important;
}
#widget-chat #loading {
}
#widget-chat {
    height: 100%;
    overflow-y: auto;
    padding: 0;
}
#widget-chat .panel {
    margin-bottom: 10px;
}
#widget-chat .chat-header {
    height: 30px;
    padding: 0;
    margin: 0;
    width: 100%;
}
#widget-chat ul.chat-options {
    text-align: left;
    display: flex;
    gap: 0.5em;
}
#widget-chat li button.chat-option {
    cursor: pointer;
    font-size: 20px;
    margin: 0 5px;
}
#widget-chat li.chat-option:hover {
    color: #80cc28;
}
#widget-chat .chat-content {
    height: 80%;
    position: relative;
    padding: 0px;
    overflow: hidden;
    float: left;
    width: 75%;
}
#widget-chat .chat-content.hideTime .chat-room .message-time {
    display: none !important;
}
#widget-chat .chat-content .chat-rooms {
    overflow-y: auto;
    overflow-x: hidden;
    word-wrap: break-word;
    max-height: 88%;
}
#widget-chat .chat-content .chat-room {
    padding: 5px;
}

#widget-chat .chat-content .rooms-tabs {
    position: absolute;
    width: 100%;
    border-top: 1px solid #efefef;
    text-align: left;
    height: 25px;
    bottom: 0;
}
#widget-chat .chat-content .rooms-tabs li.tab {
    display: block;
    float: left;
    font-size: 10px;
    margin: 0px;
    cursor: pointer;
    height: 24px;
    line-height: 24px;
    width: 50px;
    text-align: center;
    background-color: #fff;
    color: #000;
    font-weight: normal;
}
#widget-chat .chat-content .rooms-tabs li.tab .username {
    float: left;
    width: 35px;
    display: block;
    overflow: hidden;
}
#widget-chat .chat-content .room-status {
    position: absolute;
    width: 100%;
    height: 20px;
    bottom: 25px;
    text-align: left;
    font-size: 10px;
    font-style: italic;
    text-indent: 5px;
}
#widget-chat .rooms-tabs li.tab.active {
    font-weight: bold;
    border: 1px solid #e7e7e7;
}
#widget-chat .rooms-tabs li.tab.newMessage {
    background-color: #0b335e;
    color: #80cc28;
}
#widget-chat .rooms-tabs li.tab .tab-close {
    display: block;
    float: right;
    line-height: 24px;
    font-size: 12px;
    margin-right: 3px;
}
#widget-chat .rooms-tabs li.tab .tab-close:hover {
    color: darkred;
}
#widget-chat .rooms-tabs #tab-main-room {
    width: 70px;
}
#widget-chat .chat-content .chat-room {
    display: none;
}
#widget-chat .chat-content .chat-room.active {
    display: block;
}

#widget-chat .chat-userlist {
    height: 80%;
    padding: 5px;
}
#widget-chat .chat-userlist ul {
    text-align: right;
}
#widget-chat .chat-userlist li.chat-user.user-v1 {
    font-style: italic;
    cursor: auto;
}
#widget-chat .chat-userlist li.chat-user.admin-user .admin-user-ico {
    float: left;
    line-height: 20px;
    margin-right: 4px;
}
#widget-chat .chat-userlist li.chat-user {
    cursor: pointer;
    overflow: hidden;
    text-align: left;
}
#widget-chat .chat-userlist li.chat-user:hover {
    background-color: #efefef;
}
#widget-chat .chat-userlist li.chat-user .username {
    width: 75%;
    float: left;
    overflow: hidden;
}

#widget-chat .chat-userlist li.chat-user .notifications {
    float: right;
    width: 10px;
}

#widget-chat .chat-userlist li.chat-user .notifications > * {
    display: none;
}
#widget-chat .chat-userlist li.chat-user.newMessage .ico-new-message {
    display: inline;
    color: #80cc28;
    font-size: 8px;
    float: left;
    line-height: 22px;
}

#widget-chat .chat-send {
    padding: 0;
}

#widget-chat .chat-send .message-box {
    padding-left: 0;
    padding-right: 0;
}
#widget-chat .chat-send .emojies {
    padding-left: 0;
}

#widget-chat .chat-send .submit-message {
    padding-right: 0;
    padding-left: 0;
    min-width: 60px;
}

#widget-chat .chat-message {
    text-align: left;
}

#widget-chat .chat-message .message-username {
    color: grey;
    font-size: 12px;
}
#widget-chat .chat-message .message-time {
    float: right;
    color: grey;
    font-size: 11px;
}
#widget-chat .chat-message .message-content {
    text-indent: 10px;
}

#widget-chat .chat-content ul.private-room {
    display: none;
}

#widget-chat .tooltip {
    z-index: 99999;
}

/* Notes */
.Widget.widget-notes {
    overflow: hidden;
}

/* Ads */
.widget-capad {
    padding: 5px;
}
.widget-capad img {
    display: none;
}

.capAd {
    text-align: center;
    display: inline-block;
}
.capAd-1-item .capAd {
    width: 100%;
}
.capAd-2-item .capAd {
    width: 49%;
}
.capAd-3-item .capAd {
    width: 33%;
}
.capAd-4-item .capAd {
    width: 24%;
}
.capAd-5-item .capAd {
    width: 19%;
}

blockquote {
  border-left: 4px solid #2E8CFA;
  margin-left: 0px;
  padding-left: 15px;
  margin-right: 0px;
}

.switcher {
  width: 150px;
  position: fixed;
  top: 20px;
  left: 10px;
  font-family: sans-serif;
  font-size: 16px;
}

.switcher .switch-toggle {
  margin-bottom: 10px;
}

.container {
  width: 840px;
  margin: 80px auto;
}

.editor {
  font-family: "Times New Roman", Times, serif;
  font-size: 22px;
  font-weight: normal;
  width: 100%;
  height: 760px;
  line-height: 30px;
  outline: none;
}

/*
 * CSS TOGGLE SWITCHES
 * Unlicense
 *
 * Ionuț Colceriu - ghinda.net
 * https://github.com/ghinda/css-toggle-switch
 *
 */
/* Toggle Switches
 */
/* Shared
 */
/* Checkbox
 */
/* Radio Switch
 */
/* Hide by default
 */
.switch-toggle a, .switch-light span span {
  display: none; }

/* We can't test for a specific feature,
 * so we only target browsers with support for media queries.
 */
@media only screen {
  /* Checkbox switch
	 */
  /* Radio switch
	 */
  /* Standalone Themes */
  /* Candy Theme
	 * Based on the "Sort Switches / Toggles (PSD)" by Ormal Clarck
	 * http://www.premiumpixels.com/freebies/sort-switches-toggles-psd/
	 */
  /* Android Theme
	 */
  /* iOS Theme
	 */
  .switch-light {
    display: block;
    height: 30px;
    /* Outline the toggles when the inputs are focused
	 */
    position: relative;
    overflow: visible;
    padding: 0;
    margin-left: 100px;
    /* Position the label over all the elements, except the slide-button (<a>)
	 * Clicking anywhere on the label will change the switch-state
	 */
    /* Don't hide the input from screen-readers and keyboard access
	 */ }
    .switch-light * {
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box; }
    .switch-light a {
      display: block;
      -webkit-transition: all 0.3s ease-out;
      -moz-transition: all 0.3s ease-out;
      transition: all 0.3s ease-out; }
    .switch-light label, .switch-light > span {
      line-height: 30px;
      vertical-align: middle; }
    .switch-light input:focus ~ a, .switch-light input:focus + label {
      outline: 1px dotted #888888; }
    .switch-light label {
      position: relative;
      z-index: 3;
      display: block;
      width: 100%; }
    .switch-light input {
      position: absolute;
      opacity: 0;
      z-index: 5; }
      .switch-light input:checked ~ a {
        right: 0%; }
    .switch-light > span {
      position: absolute;
      left: -100px;
      width: 100%;
      margin: 0;
      padding-right: 100px;
      text-align: left; }
      .switch-light > span span {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 5;
        display: block;
        width: 50%;
        margin-left: 100px;
        text-align: center; }
        .switch-light > span span:last-child {
          left: 50%; }
    .switch-light a {
      position: absolute;
      right: 50%;
      top: 0;
      z-index: 4;
      display: block;
      width: 50%;
      height: 100%;
      padding: 0; }
  .switch-toggle {
    display: block;
    height: 30px;
    /* Outline the toggles when the inputs are focused
	 */
    position: relative;
    /* For callout panels in foundation
	 */
    padding: 0 !important;
    /* Generate styles for the multiple states */ }
    .switch-toggle * {
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box; }
    .switch-toggle a {
      display: block;
      -webkit-transition: all 0.3s ease-out;
      -moz-transition: all 0.3s ease-out;
      transition: all 0.3s ease-out; }
    .switch-toggle label, .switch-toggle > span {
      line-height: 30px;
      vertical-align: middle; }
    .switch-toggle input:focus ~ a, .switch-toggle input:focus + label {
      outline: 1px dotted #888888; }
    .switch-toggle input {
      position: absolute;
      opacity: 0; }
    .switch-toggle label {
      position: relative;
      z-index: 2;
      float: left;
      width: 50%;
      height: 100%;
      margin: 0;
      text-align: center; }
    .switch-toggle a {
      position: absolute;
      top: 0;
      left: 0;
      padding: 0;
      z-index: 1;
      width: 50%;
      height: 100%; }
    .switch-toggle input:last-of-type:checked ~ a {
      left: 50%; }
    .switch-toggle.switch-3 label, .switch-toggle.switch-3 a {
      width: 33.33333%; }
    .switch-toggle.switch-3 input:checked:nth-of-type(2) ~ a {
      left: 33.33333%; }
    .switch-toggle.switch-3 input:checked:last-of-type ~ a {
      left: 66.66667%; }
    .switch-toggle.switch-4 label, .switch-toggle.switch-4 a {
      width: 25%; }
    .switch-toggle.switch-4 input:checked:nth-of-type(2) ~ a {
      left: 25%; }
    .switch-toggle.switch-4 input:checked:nth-of-type(3) ~ a {
      left: 50%; }
    .switch-toggle.switch-4 input:checked:last-of-type ~ a {
      left: 75%; }
    .switch-toggle.switch-5 label, .switch-toggle.switch-5 a {
      width: 20%; }
    .switch-toggle.switch-5 input:checked:nth-of-type(2) ~ a {
      left: 20%; }
    .switch-toggle.switch-5 input:checked:nth-of-type(3) ~ a {
      left: 40%; }
    .switch-toggle.switch-5 input:checked:nth-of-type(4) ~ a {
      left: 60%; }
    .switch-toggle.switch-5 input:checked:last-of-type ~ a {
      left: 80%; }
  .candy {
    background-color: #2d3035;
    border-radius: 3px;
    color: white;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 1px #191b1e;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3), 0 1px 0px rgba(255, 255, 255, 0.2); }
    .candy label {
      color: white;
      -webkit-transition: color 0.2s ease-out;
      -moz-transition: color 0.2s ease-out;
      transition: color 0.2s ease-out; }
    .candy input:checked + label {
      color: #333333;
      text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); }
    .candy a {
      border: 1px solid #333333;
      background-color: #70c66b;
      border-radius: 3px;
      background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0));
      background-image: linear-gradient(to  bottom, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0));
      box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.45); }
    .candy > span {
      color: #333333;
      text-shadow: none; }
    .candy span {
      color: white; }
    .candy.blue a {
      background-color: #38a3d4; }
    .candy.yellow a {
      background-color: #f5e560; }
  .android {
    background-color: #464747;
    border-radius: 1px;
    color: white;
    box-shadow: inset rgba(0, 0, 0, 0.1) 0 1px 0;
    /* Selected ON switch-light
		 */ }
    .android label {
      color: white; }
    .android > span span {
      opacity: 0;
      -webkit-transition: all 0.1s;
      -moz-transition: all 0.1s;
      transition: all 0.1s; }
      .android > span span:first-of-type {
        opacity: 1; }
    .android a {
      background-color: #666666;
      border-radius: 1px;
      box-shadow: inset rgba(255, 255, 255, 0.2) 0 1px 0, inset rgba(0, 0, 0, 0.3) 0 -1px 0; }
    .android.switch-light input:checked ~ a {
      background-color: #0e88b1; }
    .android.switch-light input:checked ~ span span:first-of-type {
      opacity: 0; }
    .android.switch-light input:checked ~ span span:last-of-type {
      opacity: 1; }
    .android.switch-toggle, .android > span span {
      font-size: 85%;
      text-transform: uppercase; }
  .ios.switch-light {
    color: #868686; }
    .ios.switch-light a {
      left: 0;
      width: 30px;
      background-color: white;
      border: 1px solid lightgrey;
      border-radius: 100%;
      -webkit-transition: all 0.3s ease-out;
      -moz-transition: all 0.3s ease-out;
      transition: all 0.3s ease-out;
      box-shadow: inset 0 -3px 3px rgba(0, 0, 0, 0.025), 0 1px 4px rgba(0, 0, 0, 0.15), 0 4px 4px rgba(0, 0, 0, 0.1); }
    .ios.switch-light > span span {
      width: 100%;
      left: 0;
      opacity: 0; }
      .ios.switch-light > span span:first-of-type {
        opacity: 1;
        padding-left: 30px; }
      .ios.switch-light > span span:last-of-type {
        padding-right: 30px; }
    .ios.switch-light > span:before {
      content: '';
      display: block;
      width: 100%;
      height: 100%;
      position: absolute;
      left: 100px;
      top: 0;
      background-color: #fafafa;
      border: 1px solid lightgrey;
      border-radius: 30px;
      -webkit-transition: all 0.5s ease-out;
      -moz-transition: all 0.5s ease-out;
      transition: all 0.5s ease-out;
      box-shadow: inset rgba(0, 0, 0, 0.1) 0 1px 0; }
    .ios.switch-light input:checked ~ a {
      left: 100%;
      margin-left: -30px; }
    .ios.switch-light input:checked ~ span:before {
      border-color: #53d76a;
      box-shadow: inset 0 0 0 30px #53d76a; }
    .ios.switch-light input:checked ~ span span:first-of-type {
      opacity: 0; }
    .ios.switch-light input:checked ~ span span:last-of-type {
      opacity: 1;
      color: white; }
  .ios.switch-toggle {
    background-color: #fafafa;
    border: 1px solid lightgrey;
    border-radius: 30px;
    box-shadow: inset rgba(0, 0, 0, 0.1) 0 1px 0; }
    .ios.switch-toggle a {
      background-color: #53d76a;
      border-radius: 25px;
      -webkit-transition: all 0.3s ease-out;
      -moz-transition: all 0.3s ease-out;
      transition: all 0.3s ease-out; }
    .ios.switch-toggle label {
      color: #868686; }
  .ios input:checked + label {
    color: #3a3a3a; } }

/* Bugfix for older Webkit, including mobile Webkit. Adapted from
 * http://css-tricks.com/webkit-sibling-bug/
 *
 * Improved by @seantimm, to fix memory use issues
 * https://github.com/zurb/foundation/pull/2725
 */
@media only screen and (-webkit-min-device-pixel-ratio: 0) and (max-device-width: 480px) {
  .switch-light, .switch-toggle {
    -webkit-animation: webkitSiblingBugfix infinite 1s; } }
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
  .switch-light, .switch-toggle {
    -webkit-animation: none 0; } }

@-webkit-keyframes webkitSiblingBugfix {
  from {
    position: relative; }

  to {
    position: relative; } }

.popline {
  position: absolute;
  height: 25px;
  line-height: 25px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  background: -moz-linear-gradient(top, #858585 0%, #3e3e3e 50%, #303030 51%, #303030 100%);
  background: -webkit-linear-gradient(top, #858585 0%, #3e3e3e 50%, #303030 51%, #303030 100%);
  background: -o-linear-gradient(top, #858585 0%, #3e3e3e 50%, #303030 51%, #303030 100%);
  background: -ms-linear-gradient(top, #858585 0%, #3e3e3e 50%, #303030 51%, #303030 100%);
  background: linear-gradient(to bottom, #858585 0%, #3e3e3e 50%, #303030 51%, #303030 100%);
  opacity: 0.95;
  border: 1px solid #3B3B3A;
  display: none;
  margin: 0;
  list-style: none;
  padding: 0px 5px;
  font-family: Arial, Helvetica, "Hiragino Sans GB", sans-serif;
  text-rendering: optimizeLegibility; }
  .popline li {
    color: white;
    font-size: 14px;
    font-weight: bold;
    float: left;
    cursor: pointer;
    padding: 0 8px;
    text-align: center; }
    @media screen and (-webkit-min-device-pixel-ratio: 0) {
      .popline li i {
        font-weight: bold; } }
    .popline li .text {
      font-size: 15.4px; }
  .popline .hover {
    background: -moz-linear-gradient(top, #7096f8 0%, #3a6ff3 50%, #2b64f3 51%, #2b64f3 100%);
    background: -webkit-linear-gradient(top, #7096f8 0%, #3a6ff3 50%, #2b64f3 51%, #2b64f3 100%);
    background: -o-linear-gradient(top, #7096f8 0%, #3a6ff3 50%, #2b64f3 51%, #2b64f3 100%);
    background: -ms-linear-gradient(top, #7096f8 0%, #3a6ff3 50%, #2b64f3 51%, #2b64f3 100%);
    background: linear-gradient(to bottom, #7096f8 0%, #3a6ff3 50%, #2b64f3 51%, #2b64f3 100%); }
  .popline .boxed {
    padding: 0; }
  .popline .lighter {
    font-weight: lighter; }
  .popline .subbar {
    display: none;
    list-style: none;
    padding: 0; }
  .popline .textfield {
    border: none;
    padding: 4px;
    margin-left: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    display: none;
    outline: none;
    width: 150px; }

.lineNumber {
    font-weight:bold;
    padding-right:30px;
    display:inline-block;
    float:left;
}
.StreamRTL .line {
    direction:rtl;
    text-align:right;
}
.line {
    white-space:pre-wrap;
}
.word {
    opacity:0;
    /* Needed to get text aligned right since jquery adds 
     * inline-block property to the element, so when a word is 
     * aligned with "inline" text there is vertical alignement
     * issue.*/
    vertical-align:bottom;
    display:-webkit-inline-box;
    white-space:pre-wrap;
    overflow:hidden;
}
.lineTime {
    display:inline-block;
    float:left;
    padding-right:8px;
}
.lineUT {
    display:none;
}

.StreamHideTimes .lineTime,
.StreamHideLines .lineNumber {
    display:none !important;
}

#streamCaret {
    /* absolute otherwise carter 
     * perturbate the line height */
    position:absolute;
}
#streamCaret .glyphicon-chevron-up {
    left: -5px;
    top: 10px;
    /*
    width:10px;
    height:15px;
    border:1px solid #000;
    display:inline-block;
    background:red;
    */
}
#streamCaret.glyphicon-pencil {
    left: 5px;
    top: -5px;
}

#StreamSpeedSlider {
    width:80%;
    margin-left:10px;
}

#StreamSpeedSlider .ui-state-default, 
#StreamSpeedSlider .ui-widget-content 
#StreamSpeedSlider .ui-state-default, 
#StreamSpeedSlider .ui-widget-header,
#StreamSpeedSlider .ui-state-default {
    background:none;
    border:none;
    color:none;
    font-size:21px;
    cursor:pointer;
    padding-top:1px;
}
#StreamSpeedSlider .ui-state-hover {
    color:#c77405;
}
body.webcaptions .STREAM {
    padding: 0px 8px 0px 8px !important;
}
body.webcaptions .SCROLLER {
    overflow: hidden !important;
}
body.webcaptions,
body.webcaptions .widget-streambox,
body.webcaptions .grid .inner {
    transition: none !important;
    background: transparent !important;
}

#StreamInlineControls {
    width:100%;
    height:30px;
    position:absolute;
    bottom:5px;
    border-top:1px solid #EEE;
    color:#000 !important;
    line-height: normal !important;
    background-color: #FFF !important;
    padding-top:5px;
    padding-left:5px;
    display:none;
}
#StreamInlineControls .streamControlButton {
    width: 30px;
    height: 30px;
    font-size:20px;
    float:left;
    margin:0 2px;
    cursor:pointer;
}

#StreamInlineControls .colorpicker .simplecolorpicker {
    width:0px;
    height:0px;
    line-height:0px;
    visibility:hidden;
}

#StreamInlineControls .btn-group button {
    border: none;
    background: none;
}

#inlineLanguagePicker {
    /* width:30px;
    height:30px; */
}
#inlineLanguagePicker button {
    padding:0;
    color:black;
    border:none;
    line-height:normal;
    font-size: 20px;
}
#inlineLanguagePicker button:hover {
    background-color: white;
}
.simplecolorpicker {
    z-index:999999 !important;
}
.tooltip {
    z-index:99999 !important;
}
.partial_stream {
    opacity: 0.7;
}

mark, .mark {
    color: unset;
    background: none;
    background-color: unset;
}

/**
* CSS themes for simplePagination.js
* Author: Flavius Matis - http://flaviusmatis.github.com/
* URL: https://github.com/flaviusmatis/simplePagination.js
*/

ul.simple-pagination {
	list-style: none;
}

.simple-pagination {
	display: block;
	overflow: hidden;
	padding: 0 5px 5px 0;
	margin: 0;
}

.simple-pagination ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.simple-pagination li {
	list-style: none;
	padding: 0;
	margin: 0;
	float: left;
}

/*------------------------------------*\
	Compact Theme Styles
\*------------------------------------*/

.compact-theme a, .compact-theme span {
	float: left;
	color: #333;
	font-size:14px;
	line-height:24px;
	font-weight: normal;
	text-align: center;
	border: 1px solid #AAA;
	border-left: none;
	min-width: 14px;
	padding: 0 7px;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
	background: #efefef; /* Old browsers */
	background: -moz-linear-gradient(top, #ffffff 0%, #efefef 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#efefef)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #ffffff 0%,#efefef 100%); /* IE10+ */
	background: linear-gradient(top, #ffffff 0%,#efefef 100%); /* W3C */
}

.compact-theme a:hover {
	text-decoration: none;
	background: #efefef; /* Old browsers */
	background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#efefef), color-stop(100%,#bbbbbb)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #efefef 0%,#bbbbbb 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #efefef 0%,#bbbbbb 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #efefef 0%,#bbbbbb 100%); /* IE10+ */
	background: linear-gradient(top, #efefef 0%,#bbbbbb 100%); /* W3C */
}

.compact-theme li:first-child a, .compact-theme li:first-child span {
	border-left: 1px solid #AAA;
	border-radius: 3px 0 0 3px;
}

.compact-theme li:last-child a, .compact-theme li:last-child span {
	border-radius: 0 3px 3px 0;
}

.compact-theme .current {
	background: #bbbbbb; /* Old browsers */
	background: -moz-linear-gradient(top, #bbbbbb 0%, #efefef 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bbbbbb), color-stop(100%,#efefef)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #bbbbbb 0%,#efefef 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #bbbbbb 0%,#efefef 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #bbbbbb 0%,#efefef 100%); /* IE10+ */
	background: linear-gradient(top, #bbbbbb 0%,#efefef 100%); /* W3C */
	cursor: default;
}

.compact-theme .ellipse {
	background: #EAEAEA;
	padding: 0 10px;
	cursor: default;
}

/*------------------------------------*\
	Light Theme Styles
\*------------------------------------*/

.light-theme a, .light-theme span {
	float: left;
	color: #666;
	font-size:14px;
	line-height:24px;
	font-weight: normal;
	text-align: center;
	border: 1px solid #BBB;
	min-width: 14px;
	padding: 0 7px;
	margin: 0 5px 0 0;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.2);
	background: #efefef; /* Old browsers */
	background: -moz-linear-gradient(top, #ffffff 0%, #efefef 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#efefef)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #ffffff 0%,#efefef 100%); /* IE10+ */
	background: linear-gradient(top, #ffffff 0%,#efefef 100%); /* W3C */
}

.light-theme a:hover {
	text-decoration: none;
	background: #FCFCFC;
}

.light-theme .current {
	background: #666;
	color: #FFF;
	border-color: #444;
	box-shadow: 0 1px 0 rgba(255,255,255,1), 0 0 2px rgba(0, 0, 0, 0.3) inset;
	cursor: default;
}

.light-theme .ellipse {
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	font-weight: bold;
	cursor: default;
}

/*------------------------------------*\
	Dark Theme Styles
\*------------------------------------*/

.dark-theme a, .dark-theme span {
	float: left;
	color: #CCC;
	font-size:14px;
	line-height:24px;
	font-weight: normal;
	text-align: center;
	border: 1px solid #222;
	min-width: 14px;
	padding: 0 7px;
	margin: 0 5px 0 0;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.2);
	background: #555; /* Old browsers */
	background: -moz-linear-gradient(top, #555 0%, #333 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#555), color-stop(100%,#333)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #555 0%,#333 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #555 0%,#333 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #555 0%,#333 100%); /* IE10+ */
	background: linear-gradient(top, #555 0%,#333 100%); /* W3C */
}

.dark-theme a:hover {
	text-decoration: none;
	background: #444;
}

.dark-theme .current {
	background: #222;
	color: #FFF;
	border-color: #000;
	box-shadow: 0 1px 0 rgba(255,255,255,0.2), 0 0 1px 1px rgba(0, 0, 0, 0.1) inset;
	cursor: default;
}

.dark-theme .ellipse {
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	font-weight: bold;
	cursor: default;
}
