/**
 * @package   	JCE
 * @copyright 	Copyright (c) 2009-2012 Ryan Demmer. All rights reserved.
 * @license   	GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * JCE is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
*/
#jce {
    font-size : 12px;
    padding: 10px;
    background-color: #FFFFFF;
}

#jce .ui-addselect {
    background-color:#DDD;
}

#jce textarea, #jce fieldset textarea {
    padding: 2px;
    width: 300px;
}

#jce select.inputbox.levels, select.inputbox.users {
    width: 200px;
}
#jce select {
    min-width : 50px;
}
#jce select[multiple] {
    height: auto !important;
}

div#jce label input {
    margin: 2px 10px 2px 6px;
}

/* Parameters */
#jce fieldset.adminform {
    color: #000000;
    font-family: Verdana,Arial,sans-serif;
    font-size: 1em;
    margin : 5px;

    clear : none;

    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}
#jce ul.adminformlist {
    display: inline-block;
    width : 100%;
}
/* Mission Control resets */
#jce ul.adminformlist li label {
    clear: none;
    float: none;
    width: auto;
    padding: 0;
}
#jce ul.adminformlist, #jce dl.adminformlist, dl.adminformlist > dd, #jce ul.adminformlist > li {
    list-style: none outside none !important;
    margin: 5px;
    padding: 0;
    display: inline-block;
}
#jce ul.adminformlist + ul {
    display: block;
    clear: left;
}
#jce dl.adminformlist dt {
    margin: 5px;
    font-weight: bold;
}
#jce ul.adminformlist > li, #jce dl.adminformlist > dd {
    vertical-align: middle;
    margin: 2px;
    float: left;
    clear: both;
    display: inline-block;
    width: 100%;
}
html[dir="rtl"] #jce ul.adminformlist > li, 
html[dir="rtl"] #jce dl.adminformlist > dd {
    background-position: right;
}
#jce ul.adminformlist > li > div {
    margin-left: 215px;
}
#jce ul.adminformlist > li > div h4 {
    margin-left: 10px;
}
/*#jce ul.adminformlist > li {
    line-height: 30px;
}*/
#jce dl.adminformlist > dd {
    display: block;
    float: none;
}
#jce dl.adminformlist dd {
    margin: 10px 2px;
}
#jce ul.adminformlist > li > label:first-child, #jce ul.adminformlist > li > h4:first-child, 
#jce ul.adminformlist > li > span:first-child, #jce dl.adminformlist > dd > label:first-child, 
#jce dl.adminformlist > dd > span:first-child {
    display: inline-block;
    margin: 2px 5px;
    width: 200px;
    max-width: 200px;
    min-width: 200px;
    padding: 0 0 0 5px;
    vertical-align: top;
    line-height: 30px;
    float: left;
}
html[dir="rtl"] #jce ul.adminformlist > li > label:first-child, 
html[dir="rtl"] #jce ul.adminformlist > li > h4:first-child, 
html[dir="rtl"] #jce ul.adminformlist > li > span:first-child, 
html[dir="rtl"] #jce dl.adminformlist > dd > label:first-child, 
html[dir="rtl"] #jce dl.adminformlist > dd > span:first-child {
    float: none;
}
#jce ul.adminformlist li input, #jce ul.adminformlist li textarea, #jce ul.adminformlist li select, #jce dl.adminformlist dd input, #jce dl.adminformlist dd textarea, #jce dl.adminformlist dd select {
    vertical-align: middle;
}
#content-box #jce .ui-widget {
    font-size: 1em;
}
#jce td.ui-state-default {
    text-align:right;
    width: 150px;
    vertical-align:middle;
}
#jce img.pluginicon {
    vertical-align: middle;
    line-height: 20px;
    padding: 0 3px 3px 0;
    text-align: right;
}
#jce ul.widget-checklist {
    list-style : none;
    margin: 0 !important;
    padding: 0;
    display: inline-block;
    min-width : 200px;
}
#jce ul.widget-checklist li {
    line-height : 20px;
    width: 100%;
    margin: 1px 0;
    padding: 0;
    background-repeat: no-repeat;
    background-position: 98% center;
    padding: 4px;
    border : 1px solid #ccc;
    border-radius : 3px;
    -moz-border-radius : 3px;
    -webkit-border-radius : 3px;
    background-color: #fff;
}

#jce ul.widget-checklist.sortable li, #jce ul.widget-checklist.sortable li label {
    cursor : move;
}

#jce ul.widget-checklist.sortable li label {
    margin: 0 0 0 20px;
}

#jce ul.widget-checklist li.flash {
    background-image: url('../img/flash.gif');
}
#jce ul.widget-checklist li.silverlight {
    background-image: url('../img/silverlight.gif');
}
#jce ul.widget-checklist li.gears {
    background-image: url('../img/gears.gif');
}
#jce ul.widget-checklist li.browserplus {
    background-image: url('../img/browserplus.gif');
}
#jce ul.widget-checklist li.html5 {
    background-image: url('../img/html5.gif');
}

#jce ul.widget-checklist li.ui-state-highlight {
    border: 1px dashed #ccc;
    height: 22px; 
}
/* Formats */
#jce ul.widget-checklist.sortable li label.widget-checklist-p {}
#jce ul.widget-checklist.sortable li label.widget-checklist-address {font-style:italic}
#jce ul.widget-checklist.sortable li label.widget-checklist-pre {font-family:monospace}
#jce ul.widget-checklist.sortable li label.widget-checklist-h1 {font-weight:bolder; font-size: 1.8em}
#jce ul.widget-checklist.sortable li label.widget-checklist-h2 {font-weight:bolder; font-size: 1.5em}
#jce ul.widget-checklist.sortable li label.widget-checklist-h3 {font-weight:bolder; font-size: 1.17em}
#jce ul.widget-checklist.sortable li label.widget-checklist-h4 {font-weight:bolder; font-size: 1em}
#jce ul.widget-checklist.sortable li label.widget-checklist-h5 {font-weight:bolder; font-size: .83em}
#jce ul.widget-checklist.sortable li label.widget-checklist-h6 {font-weight:bolder; font-size: .75em}
#jce ul.widget-checklist.sortable li label.widget-checklist-span {display: inline; float:none; width : inherit;}

#jce ul.widget-checklist.sortable li input {
    margin : 2px 5px;
    vertical-align:middle;
}
/*#jce ul.widget-checklist.sortable li, ul.widget-checklist.sortable li label {
    cursor: move;
}
#jce ul.widget-checklist li span {
    vertical-align:middle;
    line-height:20px;
}*/
#jce span.viewbox, #jce span.checkbox {
    cursor:pointer;
    display: inline-block;
    height:20px;
    width:20px;
}
#jce span.checkbox {
    background: transparent url("../../../../../components/com_jce/editor/libraries/img/icons.png") no-repeat 0 -740px;
}
#jce span.checkbox.checked {
    background: transparent url("../../../../../components/com_jce/editor/libraries/img/icons.png") no-repeat 0 -760px;
}
#jce span.checkbox.disabled {
    opacity:0.5; -ms-filter:'alpha(opacity=50)'; filter:alpha(opacity=50);
}
#jce div.loader {
    background: #FFFFFF url("../../../../../components/com_jce/editor/tiny_mce/themes/advanced/skins/default/img/progress.gif") no-repeat center center;
    width: 100%;
    height: 100%;
    z-index: 100;
    position: absolute;
    top: 0;
    left: 0;
}

#jce span.widget-password {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-left: 5px;
    background: transparent url("../../../../../components/com_jce/editor/libraries/img/icons.png") no-repeat 0 -1140px;
    cursor: pointer;
    vertical-align: middle;
}
#jce span.widget-password.locked {
    background: transparent url("../../../../../components/com_jce/editor/libraries/img/icons.png") no-repeat 0 -1120px;
}

input.placeholder, textarea.placeholder {
    color: #bbb;
}
/** IE Specific **/
input.ie_input_text {
    height: 20px;
    line-height: 18px;
    padding: 1px;
}
button.ie_button {
    min-width: 0;
    height: 26px;
}
input.ie_upload_input_file {
    position	: absolute;
    top			: 0;
    right		: 0;
    font-size	: 20px;
    padding		: 0;
    margin		: 0;
}

/* Parameter Lists */

dl.adminformlist dd.ie_adminformlist, #jce ul.adminformlist li.ie_adminformlist {
    list-style: none outside none !important;
    margin: 5px;
    padding: 0;
}

#jce dl.adminformlist dd.ie_adminformlist {
    display: block;
    float: none;	
}

#jce ul.adminformlist li.ie_adminformlist label.ie_adminformlist_child, #jce ul.adminformlist li.ie_adminformlist span.ie_adminformlist_child, 
#jce dl.adminformlist dd.ie_adminformlist label.ie_adminformlist_child, #jce dl.adminformlist dd.ie_adminformlist span.ie_adminformlist_child {
    display: inline-block;
    margin: 2px 5px;
    width: 200px;
    max-width: 200px;
    min-width: 200px;
    padding: 0 0 0 5px;
    vertical-align: top;
    font-weight: normal;
}

#jce ul.adminformlist li.ie_adminformlist, #jce dl.adminformlist dd.ie_adminformlist {
    line-height: 24px;
    vertical-align: middle;
    margin: 2px;
    float: left;
    clear: both;
    display: inline-block;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    width: 100%;
}

body.ui-jce .ui-dialog-content.ui-widget-content {
    padding: 10px;
}

#jce a.dialog:hover, #jce a.dialog:active {
    text-decoration: none;
}

#jce #accordian ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#toolbar span.icon-32-update span.icon-32-error {
    background: url('../img/error.png') no-repeat bottom right;
}

#jce #filter-bar div.upload-container {
    float: right;
    display : inline-block;
    position: relative;
}
html[dir="rtl"] #jce #filter-bar div.upload-container {
    float: left;
}
#jce #profiles-toolbar label[for="search"] {
    margin : 0 5px;
}
html[dir="rtl"] div.ui-dialog-buttonset button.ui-button span.ui-button-text {
    padding: 0.4em 2.1em 0.4em 1em
}
html[dir="rtl"] .ui-jce .ui-tabs .ui-tabs-nav li {
    float: right;
}

#jce input[name="order[]"] {
    width : 30px;
    display: block;
    margin: auto;
}

#jce a.saveorder.pull-right {
    float : none;
}

#jce td.order span.order-up, #jce td.order span.order-down {
    display: inline-block;
    float: left;
    margin: 5px 5px 0 0;
}

#jce td.order span.order-up {
    margin-left: 15%;
}

#jce a.saveorder {
    display: inline-block;
    float: none;
    vertical-align: middle;
}

#jce div.limit select {
    height : 24px;
}

#jce .smallsub {
    font-size : 0.9em;
}

#jce #profiles-list td {
    vertical-align: middle;
}

#jce a.nolink {
    display: none;
}

#jce .tabs-left .tab-content {
    overflow: hidden;
}

#jce .ui-checkbox, #jce .ui-radio {
    border: 2px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    height: 10px;
    line-height: 10px;
    /*margin: 0 10px 3px 0;*/
    position: relative;
    vertical-align: middle;
    width: 10px;
    background-color: #fff;
}

#jce .ui-checkbox.disabled, #jce .ui-radio.disabled {
    opacity : 0.5;
    cursor: default;
}

#jce .ui-checkbox.checked:before {
    content : "";
    width: 13px;
    height: 11px;
    display: inline-block;    
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAALCAYAAACksgdhAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA/ppVFh0WE1MOmNvbS5hZG9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udElEPSJ4bXAuZGlkOjAyODAxMTc0MDcyMDY4MTE4MDgzRTdGNDQzQTE0MUI2Ii8+IDxkYzp0aXRsZT4gPHJkZjpBbHQ+IDxyZGY6bGkgeG1sOmxhbmc9IngtZGVmYXVsdCI+Z2x5cGhpY29uc19oYWxmbGluZ3M8L3JkZjpsaT4gPC9yZGY6QWx0PiA8L2RjOnRpdGxlPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PtCEoh0AAACLSURBVHjaYvj//z8DISwrKy0AxAtANIjPCCLwATk5GQEgdQCI9YH4IhA74NWEpgEGFuLUhEMD2CYmqAIDIN4AVYhXw6NHTz4wAj1nAFXAD5UIAOINuDSAOCxA3ADVwABVeB/NpSgaQADkvASoBDaAoQGsCSrggEUjVg0wmxiwaMSpAQzwxTwuDBBgABDrfcvq+ba5AAAAAElFTkSuQmCC);
}

.ui-bootstrap #jce .ui-checkbox.checked:before{
    content: "G";
    font-family: 'IcoMoon';
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    height: 8px;
    line-height: 4px;
    vertical-align: middle;
    width: 8px;
    background-image : none;
    color : #333;
}


#jce .ui-radio {
    border-radius: 100%;
    width: 12px;
    height: 12px;
}

#jce .ui-radio.checked:before {
    content : "";
    border-radius: 100%;
    width: 8px;
    height: 8px;
    background-color : #333;
    display: inline-block;
    margin : 2px;
}

#jce .ui-checkbox input[type="checkbox"], #jce .ui-radio input[type="radio"] {
    left: -1px;
    opacity: 0;
    position: absolute;
    top: -1px;
    margin : 0 !important;
    outline: 0 none !important;
    z-index: 1;

    width : 13px;
    height : 13px;

    min-height : 13px;

    -webkit-appearance: none;
    -moz-appearance:    none;
    appearance:         none;
    
    cursor: pointer;
}

#jce #profiles-list th:first-child {
    width : 20px;
}

#jce #profiles-list tr td:first-child i.icon-menu {
    font-size : 13px;
}

#jce #profiles-list th:first-child + th {
    width : 20px;
}

#jce #profiles-list th:first-child + th + th + th {
    width : 5%;
    text-align: center;
}

#jce #profiles-list td:first-child + td + td + td {
    text-align: center;
}

#jce #profiles-list th:first-child + th + th + th + th {
    width : 150px;
    text-align: center;
}

#jce #profiles-list th:first-child + th + th + th + th + th {
    width : 1%;
}

#jce #profiles-list tr:first-child span.order-up, 
#jce #profiles-list tr:last-child span.order-down,
#jce #profiles-list tr.last span.order-down {
    visibility : hidden;
}

#jce #profiles-list tr.ui-sortable-helper {
    border : 1px solid #DDDDDD;
    background: #fff;
    opacity : 0.8;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}

#jce #profiles-list tr.busy {
    opacity : 0.5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}

#jce #profiles-list tr.ui-sortable-helper td {
    border : 0 none;
}

#jce #profiles-list span.sortable-handle {
    cursor: move;
}

#tabs .tab-disabled {
    display : none !important;
}

#jce table.adminlist td.order {
    width : inherit;
}

#jce #profiles-list th:first-child + th {
    width : 20px;
}

#jce #profiles-list th:first-child + th + th + th {
    width : 5%;
    text-align: center;
}

#jce #profiles-list td:first-child + td + td + td {
    text-align: center;
}

#jce #profiles-list th:first-child + th + th + th + th + th {
    width : 1%;
}

/* Mobile stuff */
@media (max-width: 767px) {
    #sbox-window {
        max-width : 560px;
        left : 5px !important;
    }
}