div.bbcode {
    display: inline-block;
}

.markItUp * {
    margin:0px;
    outline:none;
}
.markItUp a:link,
.markItUp a:visited {
    color:#000;
    text-decoration:none;
}
.markItUp  {
    width:700px;
    margin:5px 0 5px 0;
    border:5px solid #F5F5F5;
}
.markItUpContainer  {
    border:1px solid #3C769D;
    background:#FFF url(../images/bbcode/bg-container.png) repeat-x top left;
    padding:5px 5px 2px 5px;
    font:11px Verdana, Arial, Helvetica, sans-serif;
}
.markItUpEditor {
    font:12px 'Courier New', Courier, monospace;
    padding:5px 5px 5px 5px;
    border:3px solid #3C769D;
    width:673px !important;
    height:320px;
    background:#FFF url(../images/bbcode/bg-editor.png) repeat-x top left;
    clear:both;
    line-height:18px;
    overflow:auto;
}
.markItUpPreviewFrame	{
    overflow:auto;
    background-color:#FFFFFF;
    border:1px solid #3C769D;
    width:665px;
    /*height:300px;*/
    height:0;
    margin:5px 0;
    padding: 10px;
}
.markItUpFooter {
    width:100%;
    cursor:n-resize;
}
.markItUpResizeHandle {
    overflow:hidden;
    width:22px; height:5px;
    margin-left:auto;
    margin-right:auto;
    background-image:url(../images/bbcode/handle.png);
    cursor:n-resize;
}
/***************************************************************************************/
/* first row of buttons */
.markItUpHeader ul	{
    padding: 0;
}
.markItUpHeader ul li	{
    list-style:none;
    float:left;
    position:relative;
}
.markItUpHeader ul li ul{
    display:none;
}
.markItUpHeader ul li:hover > ul{
    display:block;
}
.markItUpHeader ul .markItUpDropMenu {
    background:transparent url(../images/bbcode/menu.png) no-repeat 115% 50%;
    margin-right:5px;
}
.markItUpHeader ul .markItUpDropMenu li {
    margin-right:0px;
}
.markItUpHeader ul .markItUpSeparator {
    margin:0 10px;
    width:1px;
    height:16px;
    overflow:hidden;
    background-color:#CCC;
}
.markItUpHeader ul ul .markItUpSeparator {
    width:auto; height:1px;
    margin:0px;
}
/* next rows of buttons */
.markItUpHeader ul ul {
    display:none;
    position:absolute;
    top:18px; left:0px;
    background:#F5F5F5;
    border:1px solid #3C769D;
    height:inherit;
}
.markItUpHeader ul ul li {
    float:none;
    border-bottom:1px solid #3C769D;
}
.markItUpHeader ul ul .markItUpDropMenu {
    background:#F5F5F5 url(../images/bbcode/submenu.png) no-repeat 100% 50%;
}
/* next rows of buttons */
.markItUpHeader ul ul ul {
    position:absolute;
    top:-1px; left:150px;
}
.markItUpHeader ul ul ul li {
    float:none;
}
.markItUpHeader ul a {
    display:block;
    width:16px; height:16px;
    text-indent:-10000px;
    background-repeat:no-repeat;
    padding:3px;
    margin:0px;
}
.markItUpHeader ul ul a {
    display:block;
    padding-left:0px;
    text-indent:0;
    width:120px;
    padding:5px 5px 5px 25px;
    background-position:2px 50%;
}
.markItUpHeader ul ul a:hover  {
    color:#FFF;
    background-color:#3C769D;
}
.markItUp .markItUpButton1 a	{
    background-image:url(../images/bbcode/bold.png);
}
.markItUp .markItUpButton2 a	{
    background-image:url(../images/bbcode/italic.png);
}
.markItUp .markItUpButton3 a	{
    background-image:url(../images/bbcode/underline.png);
}
.markItUp .markItUpButton4 a	{
    background-image:url(../images/bbcode/strike.png);
}

.markItUp .markItUpButton5 a	{
    background-image:url(../images/bbcode/picture.png);
}
/*.markItUp .markItUpButton6 a	{*/
/*background-image:url(../images/bbcode/video.png);*/
/*}*/
.markItUp .markItUpButton6 a	{
    background-image:url(../images/bbcode/email.png);
}
.markItUp .markItUpButton7 a	{
    background-image:url(../images/bbcode/link.png);
}

.markItUp .markItUpButton8 a {
    background-image:url(../images/bbcode/h.png);
}
.markItUp .markItUpButton9 a {
    background-image:url(../images/bbcode/colors.png);
}
.markItUp .markItUpButton9 ul {
    width:81px;
    padding:1px;
}
.markItUp .markItUpButton9  li {
    border:1px solid white;
    width:25px;	height:25px;
    overflow:hidden;
    padding:0px; margin:0px;
    float:left;
}
.markItUp .markItUpButton9 ul a {
    width:25px;	height:25px;
}
.markItUp .markItUpButton9 ul a:hover {
    background-color:none;
}

.markItUp .markItUpButton9 .col1-1 a {
    background:yellow;
}
.markItUp .markItUpButton9 .col1-2 a {
    background:orange;
}
.markItUp .markItUpButton9 .col1-3 a {
    background:red;
}

.markItUp .markItUpButton9 .col2-1 a {
    background:blue;
}
.markItUp .markItUpButton9 .col2-2 a {
    background:purple;
}
.markItUp .markItUpButton9 .col2-3 a {
    background:green;
}

.markItUp .markItUpButton9 .col3-1 a {
    background:magenta;
}
.markItUp .markItUpButton9 .col3-2 a {
    background:gray;
}
.markItUp .markItUpButton9 .col3-3 a {
    background:black;
}

.markItUp .markItUpButton10 a	{
    background-image:url(../images/bbcode/fonts.png);
}
.markItUp .markItUpButton10 .sub a {
    background-image:url(../images/bbcode/sub.png);
}
.markItUp .markItUpButton10 .sup a {
    background-image:url(../images/bbcode/sup.png);
}

.markItUp .markItUpButton11 a	{
    background-image:url(../images/bbcode/center.png);
}
.markItUp .markItUpButton11 li {
    border:1px solid white;
    width:25px;	height:25px;
    overflow:hidden;
    padding:0px; margin:0px;
    float:left;
}
.markItUp .markItUpButton11 ul a {
    width:25px;	height:25px;
}
.markItUp .markItUpButton11 ul a:hover {
    background-color:#999999;
}
.markItUp .markItUpButton11 .left a {
    background:url(../images/bbcode/left.png) no-repeat no-repeat 4px 4px;
}
.markItUp .markItUpButton11 .justify a {
    background:url(../images/bbcode/justify.png) no-repeat no-repeat 4px 4px;
}
.markItUp .markItUpButton11 .right a {
    background:url(../images/bbcode/right.png) no-repeat no-repeat 4px 4px;
}

.markItUp .markItUpButton12 a	{
    background-image:url(../images/bbcode/table.png);
}

.markItUp .markItUpButton13 a	{
    background-image:url(../images/bbcode/list-bullet.png);
}
.markItUp .markItUpButton14 a	{
    background-image:url(../images/bbcode/list-numeric.png);
}
.markItUp .markItUpButton15 a	{
    background-image:url(../images/bbcode/list-item.png);
}
.markItUp .markItUpButton16 a	{
    background-image:url(../images/bbcode/br.png);
    display: none;
}

.markItUp .markItUpButton17 a	{
    background-image:url(../images/bbcode/quotes.png);
}

.markItUp .markItUpButton18 a	{
    background-image:url(../../../images/smiles/smile.gif);
}

.markItUp .markItUpButton18 ul {
    width:101px;
    padding:1px;
}
.markItUp .markItUpButton18  li {
    border:0;
    width:25px;	height:25px;
    overflow:hidden;
    padding:0px; margin:0px;
    float:left;
}
.markItUp .markItUpButton18 ul a {
    width:25px;	height:25px;
}
.markItUp .markItUpButton18 ul a:hover {
    background-color:#000044;
}

.markItUp .markItUpButton18 .col1-1 a {
    background:url(../../../images/smiles/smile.gif) no-repeat no-repeat 5px 5px;
}
.markItUp .markItUpButton18 .col1-2 a {
    background:url(../../../images/smiles/wink.gif) no-repeat no-repeat 5px 5px;
}
.markItUp .markItUpButton18 .col1-3 a {
    background:url(../../../images/smiles/laugh.gif) no-repeat no-repeat 5px 5px;
}
.markItUp .markItUpButton18 .col1-4 a {
    background:url(../../../images/smiles/smile2.gif) no-repeat no-repeat 5px 5px;
}

.markItUp .markItUpButton18 .col2-1 a {
    background:url(../../../images/smiles/lol.gif) no-repeat no-repeat 5px 5px;
}
.markItUp .markItUpButton18 .col2-2 a {
    background:url(../../../images/smiles/tongue.gif) no-repeat no-repeat 5px 5px;
}
.markItUp .markItUpButton18 .col2-3 a {
    background:url(../../../images/smiles/malicious.gif) no-repeat no-repeat 4px 4px;
}
.markItUp .markItUpButton18 .col2-4 a {
    background:url(../../../images/smiles/sad.gif) no-repeat no-repeat 5px 5px;
}

.markItUp .markItUpButton18 .col3-1 a {
    background:url(../../../images/smiles/cry.gif) no-repeat no-repeat 2px 5px;
}
.markItUp .markItUpButton18 .col3-2 a {
    background:url(../../../images/smiles/hm.gif) no-repeat no-repeat 5px 5px;
}
.markItUp .markItUpButton18 .col3-3 a {
    background:url(../../../images/smiles/angry.gif) no-repeat no-repeat 4px 4px;
}
.markItUp .markItUpButton18 .col3-4 a {
    background:url(../../../images/smiles/swear.gif) no-repeat no-repeat 5px 5px;
}

.markItUp .markItUpButton18 .col4-1 a {
    background:url(../../../images/smiles/fingal.gif) no-repeat no-repeat 5px 4px;
}
.markItUp .markItUpButton18 .col4-2 a {
    background:url(../../../images/smiles/exclamation.gif) no-repeat no-repeat 5px 5px;
}
.markItUp .markItUpButton18 .col4-3 a {
    background:url(../../../images/smiles/question.gif) no-repeat no-repeat 5px 5px;
}
.markItUp .markItUpButton18 .col4-4 a {
    background:url(../../../images/smiles/heart.gif) no-repeat no-repeat 5px 5px;
}

.markItUp .markItUpButton18 .col5-1 a {
    background:url(../../../images/smiles/kiss.gif) no-repeat no-repeat 5px 5px;
}
.markItUp .markItUpButton18 .col5-2 a {
    background:url(../../../images/smiles/thumbs_up.gif) no-repeat no-repeat 4px 4px;
}
.markItUp .markItUpButton18 .col5-3 a {
    background:url(../../../images/smiles/thumbs_down.gif) no-repeat no-repeat 4px 4px;
}
.markItUp .markItUpButton18 .col5-4 a {
    background:url(../../../images/smiles/fingers_fan.gif) no-repeat no-repeat 4px 4px;
}

.markItUp .markItUpButton19 a	{
    background-image:url(../images/bbcode/clean.png);
}
.markItUp .preview a {
    background-image:url(../images/bbcode/preview.png);
}

.form .form-bbcode-button {
    margin-left: 200px;
}

.form .form-bbcode-submit {
    margin-left: 20px;
}
