*:focus { outline: none; }
body {
	margin: 0;
	padding: 0;
	border: 0;
	background-color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
}
img { border: none; }
td { vertical-align: top; } 
.nowrap { white-space: nowrap; }
table .menu {
	text-align: right;
	white-space: nowrap;
}
table .menu img { margin-left: 5px; }
.mceEditor {
	display: inline-block;
	margin-bottom: 5px;
}

blockquote {
	border: 1px solid #E6DB55;
	background-color: #FFFFE0;
	margin: 1em  0;
	padding: 10px;
	border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
}
blockquote.error {
	border-color: #C00;
	background-color: #FAE0E0;
	color: #C00;
}


/* tabs */
ul.tabs {
    list-style:none;
    margin:0 !important;
    padding:0;
    border-bottom:1px solid #666;
    height:30px;
}
/* single tab */
ul.tabs li {
    float:left;
    text-indent:0;
    padding:0;
    margin:0 !important;
    list-style-image:none !important;
}
/* link inside the tab. uses a background image */
ul.tabs a {
    background: url(../image/tabs.png) no-repeat -420px 0;
    font-size:11px;
    display:block;
    height: 30px;
    line-height:30px;
    width: 134px;
    text-align:center;
    text-decoration:none;
    color:#333;
    padding:0px;
    margin:0px;
    position:relative;
    top:1px;
}
ul.tabs a:active {
    outline:none;
}
/* when mouse enters the tab move the background image */
ul.tabs a:hover {
    background-position: -420px -31px;
    color:#fff;
}
/* active tab uses a class name "current". its highlight is also done by moving the background image. */
ul.tabs a.current, ul.tabs a.current:hover, ul.tabs li.current a {
    background-position: -420px -62px;
    cursor:default !important;
    color:#000 !important;
}
/* Different widths for tabs: use a class name: w1, w2, w3 or w2 */
/* width 1 */
ul.tabs a.s { background-position: -553px 0; width:81px; }
ul.tabs a.s:hover { background-position: -553px -31px; }
ul.tabs a.s.current  { background-position: -553px -62px; }
/* width 2 */
ul.tabs a.l { background-position: -248px -0px; width:174px; }
ul.tabs a.l:hover { background-position: -248px -31px; }
ul.tabs a.l.current { background-position: -248px -62px; }
/* width 3 */
ul.tabs a.xl { background-position: 0 -0px; width:248px; }
ul.tabs a.xl:hover { background-position: 0 -31px; }
ul.tabs a.xl.current { background-position: 0 -62px; }
.panes div {
    padding:15px 10px;
    border:1px solid #999;
    border-top:0;
    font-size:14px;
    background-color:#fff;
}
.panes .pane {
    display:none;
}
/* Tooltip */
.tip span {
	background: url('../image/icon/info.png') center center no-repeat;
	display: inline-block;
	height: 14px;
	margin-right: 4px;
	width: 14px;
}
.tooltip {
	background: #888;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-radius: 5px;
	color: white;
	display: none;
	padding: 6px 8px 6px 16px;
	pointer-events:none;
	line-height:140%;
}
.order-grippy {
	display:inline-block;
	background:url(../image/grippy.png) center no-repeat;
	width:14px;height:12px;
	padding:0 3px;
	margin:0 3px; 
	cursor:n-resize;
}
.order-grippy:hover {
	background-color: white;
	box-shadow: 0 0 4px #555;
	cursor: s-resize;
}
.image-lib-box {margin-bottom:10px;}
.image-lib-box.ui-tabs {padding:0; }
.image-lib-box.ui-tabs .ui-tabs-nav { border-top:0px;border-right:0px;border-left:0px;  }
.image-lib-box .lib-gallery {
	max-width:520px;
	max-height:250px;
	overflow-y:auto;
}
.image-lib-box .lib-gallery img {
	border:4px solid white;
	margin:0 2px 2px 0;
}
.image-lib-box .lib-gallery img.selected {
	background:url(../image/progressbg.png);
	padding:4px;
	border:none;
}

/* Tag-IT */
ul.tagit {
    padding: 1px 5px;
    overflow: auto;
    margin-left: inherit; /* usually we don't want the regular ul margins. */
    margin-right: inherit;
}
ul.tagit li {
    display: block;
    float: left;
    margin: 2px 5px 2px 0;
}
ul.tagit li.tagit-choice {    
    position: relative;
    line-height: inherit;
}

ul.tagit li.tagit-choice-read-only { 
    padding: .2em .5em .2em .5em; 
} 

ul.tagit li.tagit-choice-editable { 
    padding: .2em 18px .2em .5em; 
} 

ul.tagit li.tagit-new {
    padding: .25em 4px .25em 0;
}

ul.tagit li.tagit-choice a.tagit-label {
    cursor: pointer;
    text-decoration: none;
}
ul.tagit li.tagit-choice .tagit-close {
    cursor: pointer;
    position: absolute;
    right: .1em;
    top: 50%;
    margin-top: -8px;
    line-height: 17px;
}

/* used for some custom themes that don't need image icons */
ul.tagit li.tagit-choice .tagit-close .text-icon {
    display: none;
}

ul.tagit li.tagit-choice input {
    display: block;
    float: left;
    margin: 2px 5px 2px 0;
}
ul.tagit input[type="text"] {
    -moz-box-sizing:    border-box;
    -webkit-box-sizing: border-box;
    box-sizing:         border-box;

    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;

    border: none;
    margin: 0;
    padding: 0;
    width: inherit;
    background-color: inherit;
    outline: none;
}
 .lib-gallery-search input[type="text"] {
 	padding:6px;
 	margin-right:10px;
 	width:250px;
 }