/* BBML-specific class and element styles */
textarea.bbml {
    height: 250px;
    width: 519px;       /* left padding = 2px */
}

textarea.comment {
    height: 100px;
}

ul.bbml, div.bbml_min {
    width: 520px;
}

ul.bbml, ul.bbml_min {
    background: #cccccc;
    border: 1px solid #999999;
    border-bottom: 1px solid #ededed;
    float: left;
    padding: 3px 0px;
}

ul.bbml_min {
    float: right;
}

div.bbml_min {
    display: none;
}

.bbml li, .bbml_min li {
    display: inline;
    list-style: none;
    padding: 1px;
    margin: 0px;
}

.bbml li.close, .bbml_min li.open {
    padding: 0px;
}

.bbml li.close a, .bbml_min li.open a {
    font-weight: bold;
    list-style: none;
    padding: 2px;
}


.bbml a, .bbml_min a {
    color: #000000;
}

div.bbml_min div.text {
    background: #ffffff;
    border: 1px dotted #999999;
    float: left;
    height: 1.2em;
    overflow: hidden;
    padding: 2px;
    width: 490px;
}

.bbml a, .bbml_min a {
    border: 1px solid #cccccc;
    text-decoration: none;
    padding: 4px 7px;
}

.bbml a:hover, .bbml_min a:hover {
    border-left-color: #ffffff;
    border-top-color: #ffffff;
    border-right-color: #666666;
    border-bottom-color: #666666;
}

.bbml a:active, .bbml_min a:active {
    background: #ededed;
    border-left-color: #666666;
    border-top-color: #666666;
    border-right-color: #ffffff;
    border-bottom-color: #ffffff;
}


.bbml img {
    border: none;
}

.bbml select.colour, .bbml select.size  {
    font-weight: bold;
    padding: 1px;
}

.bbml select.colour {
    width: 70px;
}

.bbml select.size  {
    width: 70px;
}

option.blue, option.green, option.red, option.grey, option.black {
    font-weight: normal;
}

/* this is the container used when displaying processed bbml to the user */
div.bbml_html {
    overflow: hidden;
    padding: 2px;
    width: 98%; 

    color: #333333;
    line-height: 110%;
    text-align: justify;
    position: relative;
    float: left;      
/*    
*/
}


object.video {
    width: 400px;
    height: 270px;
    border: 1px dashed #ccc;
}

.black {
    color: black;
}

.blue {
    color: blue;
}

.green {
    color: green;
}

.red {
    color: red;
}

.grey {
    color: gray;
}

.tiny {
    font-size: 0.75em;
}

.normal {
    font-size: 1em;
}

.huge, .texthuge, .text200 {
    font-size: 2em;
    line-height: normal;
}

.b {
    font-weight: bold;
}

.u {
    text-decoration: underline;
}

.i {
    font-style: italic;  
}

img.bbml {
    max-width: 99%; 
    padding-top: 4px;
}

a.bbml {
    text-decoration: none;
}

a.bbml:hover {
    text-decoration: underline;
}

div.quoted {
    background: #ffffff;
    border-left: 5px solid #cccccc;
    margin-top: 3px;
    padding: 3px;
    width: 95%
}



