/*quick tools toolbar styles*/
#speechtext {
    display: none;
}

#quick-tools-wrap {
    /*overflow:hidden;*/
    display:none;
    z-index:10;

    position:absolute;
    height:50px;
    border:1px #212426 solid;
    background-color: #575757;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#666666), to(#353535));
    background-image: -webkit-linear-gradient(top, #666666, #353535);
    background-image: -moz-linear-gradient(top, #666666, #353535);
    background-image: -ms-linear-gradient(top, #666666, #353535);
    background-image: -o-linear-gradient(top, #666666, #353535);
    background-image: linear-gradient(top, #666666, #353535);
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;
    -moz-box-shadow:   0 0 5px #000, inset 0 0 3px #828282; /* FF3.5+ */
    -webkit-box-shadow:   0 0 5px #000, inset 0 0 3px #828282; /* Saf3.0+, Chrome */
    box-shadow:   0 0 5px #000, inset 0 0 3px #828282; /* Opera 10.5, IE9, Chrome 10+ */
}

#quick-tools-nav, #quick-tools-nav li {
    box-sizing: content-box; /* fixes sizing to work with comet/2017 global nav */
    float: left;
    list-style-type: none;
    margin: 0;
}
#quick-tools-nav li:last-child {
    background: none;
}

#quick-tools-nav li div {
    height: 42px;
    float: left;
    padding: 0 9px 8px;
    margin: 0;
    text-shadow: 0 0 5px #353535;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    background: url(/static/img/components/quick-tools-divider.png) top right no-repeat;
}
#quick-tools-nav li div:hover {
    background-color:#d78200;
}
#quick-tools-nav li div:active,
#highlight-tool-btn.menu-open {
    background-color:#af641b;
}

.lt-ie8 #quick-tools-nav li div {
    width:75px;
}

#quick-tools-nav li div span {
    background: url(/static/img/components/quick-tools-sprite.png) no-repeat;
    width: 33px;
    height: 33px;
    display: block;
    text-indent: -5000px;
    overflow: hidden;
    margin: 0 auto;
}
#quick-tools-nav li div.speak span {
    background-position: 0 0;
}
#quick-tools-nav li div.translate span {
    background-position: 0 -30px;
}
#quick-tools-nav li div.highlight span {
    background-position: 0 -32px;
}
#quick-tools-nav li div.notes span {
    background-position: 0 -63px;
}
#quick-tools-nav li div.lookup span {
    background-position: 0 -90px;
}
#quick-tools-nav li div.quick-tools-close {
    font-weight: bold;
    padding: 6px 10px 0 23px;
    height: 19px;
    float: none;
    display: block;
    border-bottom: 1px solid #1E1E1E;
    text-shadow: 0 0 5px #000;
    background: url(/static/img/components/quick-tools-sprite.png) no-repeat -5px -151px;
}
#quick-tools-nav li div.quick-tools-close:hover {
    background-color: #d78200;
}
#quick-tools-nav li div.quick-tools-drag {
    font-weight: bold;
    padding: 4px 0 0;
    height: 18px;
    float: none;
    display: block;
    background: url(/static/img/components/quick-tools-drag.png) repeat;
    cursor: move;
    border-top: 1px solid #676767;
    text-shadow: 0 0 5px #000;
}
#quick-tools-nav li div.quick-tools-drag .drag-icon {
    background: url(/static/img/components/quick-tools-sprite.png) no-repeat -2px -184px;
    height: 15px;
    width: auto;
    text-indent: 0;
    padding: 0 0 0 12px;
}


/* notes */
#note-delete {
    box-sizing: content-box; /* fixes sizing to work with comet/2017 global nav */
    font-size: 0.9em;
    font-weight: bold;
    text-shadow: 1px 1px 1px #fff;
    background-repeat: no-repeat;
    overflow-x: hidden;
    overflow-y: hidden;
    z-index: 1002;
    /*position: relative;*/
    float: left;
    background-position: -5px -97px;
    width: 28px;
    margin-right: -9px;
    margin-top: -1px;
    padding: 8px 24px 6px;
    /*border: 1px solid;*/
    background-image: url(/static/img/components/quick-tools-sprite.png);
}
#note-close {
    box-sizing: content-box; /* fixes sizing to work with comet/2017 global nav */
    font-size: 0.9em;
    font-weight: bold;
    text-shadow: 1px 1px 1px #fff;
    background-repeat: no-repeat;
    overflow-x: hidden;
    overflow-y: hidden;
    text-indent: 0;
    z-index: 1002;
    /*position: relative;*/
    float: right;
    background-position: 0 -122px;
    margin-right: -6px;
    margin-top: -1px;
    padding: 8px 30px 6px 27px;
    /*border: 1px solid;*/
    background-image: url(/static/img/components/quick-tools-sprite.png);
}

.note-corner{
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.note.ui-widget-content{
    background-image: none;
    border: 0px;
    width: 93%;
    height: 83%;
    overflow: hidden;
      border: 0px;
    outline: none;     /* Removes glow in Chrome & Safari when active, works on :focus or not */
    webkit-appearance: none;
}

.note.ui-corner-all {
    padding: 0;
    -webkit-box-shadow: 0 0 6px rgba(0,0,0,.55);
    -moz-box-shadow: 0 0 6px rgba(0,0,0,.55);
    box-shadow: 0 0 6px rgba(0,0,0,.55);
}

#noteText {
    position:absolute;
    left:0;
    top:36px;
    resize: none;
    overflow: auto;
    margin-left: 10px;
}

#note-nav {
    box-sizing: content-box; /* fixes sizing to work with comet/2017 global nav */
    overflow: hidden;
}

.hl_yellow #note-nav {
    border-bottom: 1px solid #e6e48d;
}

.hl_blue #note-nav {
    border-bottom: 1px solid #9fcfde;
}

.hl_green #note-nav {
    border-bottom: 1px solid #96d296;
}

.hl_pink #note-nav {
    border-bottom: 1px solid #d6a0a8;
}

.ui-helper-clearfix:after { content: ""; display: table; }
.ui-helper-clearfix:after { clear: both; }

.note.ui-corner-all, .note.ui-corner-top, .note.ui-corner-left, .note.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; }
.note.ui-corner-all, .note.ui-corner-top, .note.ui-corner-right, .note.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; }
.note.ui-corner-all, .note.ui-corner-bottom, .note.ui-corner-left, .note.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
.note.ui-corner-all, .note.ui-corner-bottom, .note.ui-corner-right, .note.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }

.note.ui-resizable { position: relative;}
.note.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; }
.note.ui-resizable-disabled .note.ui-resizable-handle, .note.ui-resizable-autohide .note.ui-resizable-handle { display: none; }
.note.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
.note.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
.note.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
.note.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
.note.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
.note.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
.note.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
.note.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}
.note.ui-dialog .note.ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
.note.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
.note.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
.note.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
.note.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
.note.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
.note.ui-icon-grip-diagonal-se { background: url('/static/img/components/drag-corner-icon.png') 0 0 no-repeat; }



.ui-dialog { padding: 0; }
.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em .5em; background: none; overflow: hidden; zoom: 1; }

/*
    Notes icon
*/
div.note-icon {
    background-image: url('/static/img/components/note-icon-sprite.png');
    background-color: transparent;
    background-repeat: no-repeat;
    display: block;
    height: 19px;
    width: 17px;
    position:absolute;
}

div.note-icon.hl_yellow {
    background-position: 0 0;
}

div.note-icon.hl_pink {
    background-position: 0 -20px;
}

div.note-icon.hl_green {
    background-position: 0 -40px;
}

div.note-icon.hl_blue {
    background-position: 0 -60px;
}

/*
    ReadSpeaker Overwrites
*/
#xp1, #highlight-menu {
    background-color: #575757;
    background-image: -webkit-linear-gradient(top, #666666, #353535);
    position: absolute;
    top: 52px;
    left: -1px;
    z-index:11;
    width: 290px;
    height: 30px;
    text-align: center;
    border: 1px solid #212426;
    border-radius: 3px;
}

.rsbtn .rsbtn_powered {
    display: none;
}

#highlight-menu {
    display: none;
}

.lt-ie8 #xp1, .lt-ie8 #highlight-menu {
    left: -345px;
}

.hl-btn {
    cursor: pointer;
    float: left;
    margin: 5px 5px;
    width: 25px;
    height: 25px;
}

#highlight-menu .hl-color{
    border: thin solid white;
}

#highlight-menu .hl-color:hover {
    border: thin solid blue;
}

#highlight-menu .highlighter-color-1,
.hl_yellow {
    background-color: #fffb71;
}

#highlight-menu .highlighter-color-2,
.hl_pink {
    background-color: #ffb6c1;
}

#highlight-menu .highlighter-color-3,
.hl_green {
    background-color: #a3ffa3;
}

#highlight-menu .highlighter-color-4,
.hl_blue {
    background-color: #adebff;
}

#hl-delete {
    background:url(/static/img/components/quick-tools-sprite.png) no-repeat -5px -97px;
    border: 0;
    color: #fff;
    font-size: 0.9em;
    font-weight: bold;
    margin: 4px 0 0 0;
    padding: 0 0 0 6px;
    width: 131px;
    height: 30px;
    text-shadow: 0 0 5px #000;
}

#quick-tools-nav li #xp1 a {
    display: none;
    height: auto;
    float: none;
    padding: 2px;
    text-shadow: none;
    font-size: inherit;
    font-weight: normal;
    text-decoration: none;
    text-align: left;
    background: none;
}

#highlight-menu {
    height: 40px;
    padding: 2px;
    overflow: hidden;
    position: absolute;
    z-index: 15;
    border: 1px solid #000;
    background-color: #575757;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#666), to(#353535));
    background-image: -webkit-linear-gradient(top, #666, #353535);
    background-image: -moz-linear-gradient(top, #666, #353535);
    background-image: -ms-linear-gradient(top, #666, #353535);
    background-image: -o-linear-gradient(top, #666, #353535);
    background-image: linear-gradient(top, #666, #353535);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#666666', EndColorStr='#353535')";
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: 0 0 5px #000, inset 0 0 3px #828282;
    -webkit-box-shadow: 0 0 5px #000, inset 0 0 3px #828282;
    box-shadow: 0 0 5px #000, inset 0 0 3px #828282;
}

.rsbtn_sampleskin {
    border: 1px solid #ccc;
    float: left;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.3em;
    margin-bottom: 10px;
    position: relative;
}

/************************************************ GENERAL CLASSES */

/**
 * These are a couple of classes that apply to many object or redefine elements
 */
.rsbtn_sampleskin a, .rsbtn_sampleskin span {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

/**
 * Use the predefined CSS sprite for all graphical elements.
 */
.rsbtn_sampleskin .rsimg {
    background: transparent url(/static/vendor/readspeaker/ReadSpeakerSampleSkin.png) no-repeat scroll 0 0;
}

/**
 * All the player elements should float.
 */
.rsbtn_sampleskin .rspart {
    margin-left: 2px;
}

.rsbtn_sampleskin .rsdefloat {
    clear: both;
}

/**
 * This goes for all buttons
 */
.rsbtn_sampleskin .rspart.rsbutton {
    background-color: #393939;
    width: 18px;
    height: 18px;
    border-radius: 4px;

    /**
     * This is just to make the rollover effect a little smoother.
     */
    -moz-transition: background-color .2s ease;
    -webkit-transition: background-color .2s ease;
    -o-transition: background-color .2s ease;
    transition: background-color .2s ease;
}

/**
 * Add a subtle rollover effect to the buttons.
 */
.rsbtn_sampleskin .rspart.rsbutton:hover {
    background-color: #d78200;
}

/**
 * Add a little pressed-down effect as well
 */
.rsbtn_sampleskin .rspart.rsbutton:active {
    background-color: #888;
}

/**
 * Hide all text labels. They will still be visible to non-CSS browsers
 */
.rsbtn_sampleskin .rspart .rsbtn_btnlabel {
    display: none;
}

/************************************************ PLAYER BOX */
.rsbtn_sampleskin .rsbtn_box {
    margin: 1px;
}

/************************************************ LISTEN BUTTON + ICON */
.rsbtn_sampleskin .rsbtn_play {
    float: left;
    margin: 1px 0;
}

.rsbtn_sampleskin .rsbtn_left .rsbtn_text {
    background: transparent url(/static/vendor/readspeaker/ReadSpeakerSampleSkin.png) no-repeat scroll 0 0;
    padding-left: 20px;
}

/************************************************ EXPANDING AREA */
.rsbtn_sampleskin .rsbtn_exp.rsimg.rspart {
    background: none;
    display: none;
}

/**
 * We want the expanding area to be visible only when the player
 * is expanded, hence the .rsexpanded class.
 */
.rsbtn_sampleskin.rsexpanded .rsbtn_exp.rsimg {
    display: block;
    margin-top: 5px;
}

/************************************************ PLAY/PAUSE BUTTON */
.rsbtn_sampleskin .rsbtn_pause {
    background-position: 0 -34px;
}

.rsbtn_sampleskin.rspaused .rsbtn_pause,
.rsbtn_sampleskin.rsstopped .rsbtn_pause {
    background-position: 0 -16px;
}

/************************************************ STOP BUTTON */
.rsbtn_sampleskin .rsbtn_stop {
    background-position: 0 -52px;
}

/************************************************ PROGRESS CONTAINER */
.rsbtn_sampleskin .rsbtn_progress_container {
    border: 1px solid #999;
    width: 120px;
    height: 8px;
    margin-bottom: 3px;
    margin-left: 4px;
    background-image: none;
}

/************************************************ PROGRESS DRAG HANDLE */
.rsbtn_sampleskin .rsbtn_progress_handle.rsimg {
    position: absolute;
    background-color: white;
    top: -1px;
    left: -2px;
    width: 4px;
    height: 10px;
    background-image: none;
}

/************************************************ PROGRESS BAR */
.rsbtn_sampleskin .rsbtn_progress_played {
    position: absolute;
    height: 100%;
    background-image: none;
}

/************************************************ VOLUME BUTTON */
.rsbtn_sampleskin .rsbtn_volume {
    margin-left: 4px;
    background-position: 0 -70px;
}

/************************************************ VOLUME SLIDER CONTAINER */
.rsbtn_sampleskin .rsbtn_volume_container {
    position: absolute;
    display: none;
    top: 100%;
    width: 16px;
    height: 40px;
    border: 1px solid #999;
    background: #fff;
}

/************************************************ VOLUME SLIDER SLIDER AREA */
.rsbtn_sampleskin .rsbtn_volume_slider {
    width: 6px;
    height: 30px;
    margin: 5px;
    background: #ccc;
}

/************************************************ VOLUME SLIDER SLIDE HANDLE */
.rsbtn_sampleskin .rsbtn_volume_handle.rsimg {
    position: absolute;
    top: -2px;
    left: -3px;
    width: 12px;
    height: 4px;
    background: #666;
}

/************************************************ SETTINGS BUTTON */
.rsbtn_sampleskin .rsbtn_settings {
    background-position: 0 -88px;
}

/************************************************ CLOSE BUTTON */
.rsbtn_sampleskin .rsbtn_closer {
    margin-left: 4px;
    background-position: 0 -106px;
}

/************************************************ POPUP BUTTON */
/**
 * This is the style of the listen button that popups when the user
 * makes a text selection on the page.
 */
.rsbtn_sampleskin.rspopup {
    position: absolute;
    background: #fff;
    border: 1px solid #555;
    box-shadow: 0 0 5px #777;
    display: none;
}

/* About-page link */
.rsbtn_sampleskin a.rsbtn_abouthelp {
    background: url(/static/vendor/readspeaker/ReadSpeakerSampleSkin.png) no-repeat scroll 0px -124px transparent;
    background-color: #999999;
    transition: background-color 0.2s ease 0s;
    height: 18px;
    width: 18px;
    float: left;
    margin: 1px;
}

.rsbtn_sampleskin a.rsbtn_abouthelp:hover {
    background-color: #aaa;
}

.rsbtn_sampleskin a.rsbtn_abouthelp span {
    display: none;
}

/************************************************ POWERED BY READSPEAKER */
.rsbtn_sampleskin .rsbtn_powered {
    display: none;
}

.rsbtn_sampleskin .rsbtn_powered a, .rsbtn_sampleskin .rsbtn_powered span {
    font-family: "Lucida Grande", "Lucida Sans", "Lucida", sans-serif;
    font-weight: normal;
    font-style: normal;
    line-height: 10px;
    font-size: 10px;
    display: inline;
}

.rsbtn_sampleskin .rsbtn_powered .rsbtn_btnlabel {
    display: inline;
    float: right;
}

.rsbtn_sampleskin .rsbtn_powered .rsbtn_btnlabel a span.rsbtn_label_read {
    color: #e60;
}

.rsbtn_sampleskin .rsbtn_powered .rsbtn_btnlabel a span.rsbtn_label_speaker {
    color: #33a;
}

.rsbtn_sampleskin .rsbtn_powered .rsbtn_btnlabel a span.rsbtn_label_icon.rsimg {
    position: relative;
    top: 1px;
    width: 11px;
    height: 9px;
    margin-left: 2px;
    padding-right: 11px;
    background-position: -137px -490px;
}

.rsbtn_sampleskin.rs_whitelogo .rsbtn_powered,
.rsbtn_sampleskin.rs_whitelogo .rsbtn_powered .rsbtn_btnlabel a span.rsbtn_label_read,
.rsbtn_sampleskin.rs_whitelogo .rsbtn_powered .rsbtn_btnlabel a span.rsbtn_label_speaker {
    color: #fff;
}

.rsbtn_sampleskin.rs_whitelogo .rsbtn_powered .rsbtn_btnlabel a span.rsbtn_label_icon.rsimg {
    background-position: -285px -490px;
}

.rsbtn_sampleskin.rs_blacklogo .rsbtn_powered,
.rsbtn_sampleskin.rs_blacklogo .rsbtn_powered .rsbtn_btnlabel a span.rsbtn_label_read,
.rsbtn_sampleskin.rs_blacklogo .rsbtn_powered .rsbtn_btnlabel a span.rsbtn_label_speaker {
    color: #000;
}

.rsbtn_sampleskin.rs_blacklogo .rsbtn_powered .rsbtn_btnlabel a span.rsbtn_label_icon.rsimg {
    background-position: -433px -490px;
}

.rsbtn_sampleskin.rspopup .rsbtn_powered  {
    display: none;
}

#rslightbox_logo {
    display: none;
}

select option[value="sent"] {
    display: none;
}

#rslightbox_closer {
    transition: none;
}
