/**
 * @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.
*/
html {
    overflow-y: visible !important;
}
#profileLayoutTable {
    position: relative;
}
#jce ul#profileLayoutTable > li {
    margin-bottom: 10px;
}
#profileLayoutTable ul {
    margin: 0 !important;
    list-style: none;
    position: relative;
    padding : 0 2px;
}
#profileLayoutTable ul.sortableList {
    padding: 0;
    display: inline-block;
    position: relative;
}
#profileLayoutTable span.profileLayoutContainer {
    display: block;
    float: left;
    position: relative;
    margin-left: 10px;
}
#profileLayoutTable li:first-child span.profileLayoutContainer {
    margin: 35px 0 0 10px;
}
#profileLayoutTable span.profileLayoutContainerToolbar, #profileLayoutTable span.profileLayoutContainerEditor, #profileLayoutTable span.profileLayoutContainerStatusBar {
    display: block;
    position: relative;
}
#profileLayoutTable span.profileLayoutContainerEditor {
    margin: 1px 0;
    width: 600px;
    padding: 5px 2px 5px 1px;
}
#profileLayoutTable span.profileLayoutContainerEditor p {
    line-height: 16px;
    margin: 2px 5px;
    white-space: normal;
}
#profileLayoutTable span.profileLayoutContainerStatusBar {
    margin: 0 20px 1px 0;
}
#profileLayoutTable span.profileLayoutContainerStatusBar span.mceStatusbar {
    padding : 0 3px 0 0;
}
#profileLayoutTable span.profileLayoutContainerStatusBar span.mceStatusbar > span {
    padding: 0 2px;
    float: left;
    display: inline-block;
}
#profileLayoutTable span.profileLayoutContainerToolbar + span.profileLayoutContainerEditor {
    margin: 0 0 1px 0;
}
#profileLayoutTable span.profileLayoutContainerStatusBar .mcePathLabel {
    padding: 3px 2px 2px 0;
}
#profileLayoutTable span.profileLayoutContainerStatusBar a.mceResize {
    cursor: default;
    float: right;
    margin: 0 -3px 0 0;
}
#jce span#editor_toggle {
    padding : 5px;
    line-height: 20px;
    -moz-user-select: none;  
    -webkit-user-select: none;  
    -ms-user-select: none; 
    cursor: default;
}
#jce span.widthMarker {
    border: 1px dashed #999;
    border-bottom-width: 0;
    display: block;
    left: 0;
    padding: 40px 1px 0 2px;
    position: absolute;
    text-align: center;
    top: -24px;
}
#jce span.widthMarker span {
    background: none repeat scroll 0 0 #FFFFFF;
    display: inline-block;
    left: 50%;
    line-height: 20px;
    margin: 0 0 0 -25px;
    position: absolute;
    top: -10px;
    width: 50px;
    text-align: center;
}
#jce ul.sortableList.group {
    margin: 20px 0px 0px 0px;
}
#jce ul.sortableList li.sortableListItem {
    position: relative;
    padding: 0 20px 0 0;
    margin: 0 0 1px 0;
    height: 28px;
}
#jce ul.sortableList li.sortableListItem span.sortableRow {
    white-space: nowrap;
    padding: 0px 3px;
    height: 26px;
    margin: 0;
    min-width: 597px;
    /* Prevent spacing in inline-block spans */
    font-size: 0;
    letter-spacing: normal;
    word-spacing: normal;
    position: relative;
    
    display: block;
}
#jce ul.sortableList li.sortableListItem span.sortableRow span.sortableRowItem {
    /* Prevent spacing in inline-block spans */
    font-size: 0;
    letter-spacing: normal;
    word-spacing: normal;
}
#jce ul.sortableList.mceLeft li.sortableListItem span.sortableRow {
    text-align: left;
}
#jce ul.sortableList.mceCenter li.sortableListItem span.sortableRow {
    text-align: center;
}
#jce ul.sortableList.mceRight li.sortableListItem span.sortableRow {
    text-align: right;
}
#jce ul.sortableList li.sortableListItem span.sortableRow span.sortableRowItem {
    cursor: move;
    display: inline-block;
    height: 20px;
    margin: 2px 1px 0 0;
    min-width: 20px;
    vertical-align: top;
    font-size : 0;
    position: relative;
}

#jce.ie8 ul.sortableList li.sortableListItem span.sortableRow span.sortableRowItem {
    float : left;
}

#jce ul.sortableList li.sortableListItem span.sortableRow span.sortableRowItem.spacer {
    min-width: 0px;
    margin: 3px 0 0;
    clear: none;
}
#jce ul.sortableList li.sortableListItem span.sortableRow span.sortableRowItem img {
    border: 0;
    padding: 0;
    margin: 0
}
/* Sortable Highlight */
#jce ul.sortableList span.sortableRowItem.sortable-highlight {
    min-width: 5px;
}
#jce ul.sortableList li.sortableListItem.sortable-highlight, 
#jce ul.sortableList span.sortableRowItem.sortable-highlight {
    border: 1px dashed #9FBBDD;
}
#jce span.profileLayoutContainer span.sortableContainer.sortable-highlight {
    display: block;
}
#jce span.profileLayoutContainer span.sortableContainer.sortable-highlight:first-child {
    margin: 0 0 1px 0;
}

#jce span.sortableRowItem span.mceButton {
    cursor: move;
    height: auto;
}
#jce span.sortableRowItem span.mceButton img {
    cursor: move;
}

#jce span.sortableRowHandle {
    height: 26px;
    border: 1px solid #CCC;
    cursor: move;
    background-color: #F0F0EE;
    text-align: center;
    margin: -28px -19px 0 0;
    position: relative;
    display: block;
    float: right;
}

#jce span.sortableRowHandle span.ui-icon {
    margin: 5px 0 0;
    cursor: move;
    
    background-image: url("../../../../../components/com_jce/editor/libraries/jquery/css/images/ui-icons_222222_256x240.png");
    height: 16px;
    width: 16px;
    
    background-repeat: no-repeat;
    display: block;
    overflow: hidden;
    text-indent: -99999px;
}

#jce span.sortableRowHandle span.ui-icon.ui-icon-arrowthick-2-n-s {
    background-position: -128px -48px;
}

#jce span.sortableContainerHandle {
    border: 1px solid #CCC;
    cursor: move;
    background-color: #F0F0EE;
    text-align: center;
    margin: 0 0 0 -20px;
    position: relative;
    display: block;
    float: left;
    height: 20px;
}
#jce span.sortableContainerHandle span.ui-icon {
    margin: 2px 0 0;
}
#jce span.sortableHandle img {
    margin-top: 5px;
}
#jce span.sortableOption {
    width: 20px;
    height: 30px;
    display: inline-block;
    position: absolute;
    top: 0;
    right: -20px;
}
html[dir="rtl"] #jce span.sortableOption {
    left: -20px;
    right: auto;
}
#jce span.sortableOption span {
    width: 20px;
    height: 20px;
    display: inline-block;
    cursor: pointer;
    vertical-align: middle;
}
#jce span.sortableOption span {
    margin: 5px 0;
    background: url("../../../../../components/com_jce/editor/libraries/img/icons.png") no-repeat 0 -300px;
}
#jce span.profileLayoutContainerCurrent span.sortableOption span {
    background: url("../../../../../components/com_jce/editor/libraries/img/icons.png") no-repeat 0 -180px;
}
#jce span.sortableRemove.hidden {
    visibility: hidden;
}
#jce button#layout-legend {
    margin: 0 0 0 7px;
}
#jce a.dialog.legend {
    display: inline-block;
    margin: 0 0 10px 8px;
}
