/**
 * CSS styles for forms generated by yiic.
 *
 * The styles can be applied to the following form structure:
 *
 * <div class="form">
 *     <div class="row">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 *     <div class="row">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 *     <div class="row buttons">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 * </div>
 *
 * The above code will render the labels and input fields in separate lines.
 * In order to render them in the same line, please use the "wide" form as follows,
 *
 * <div class="wide form">
 *     ......
 * </div>
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @link http://www.yiiframework.com/
 * @copyright Copyright &copy; 2008-2010 Yii Software LLC
 * @license http://www.yiiframework.com/license/
*/

div.form
{
    padding: 10px;
    background-color: #fff;
    /*    border: 5pt Solid #f0f0f0;*/
    font-family: Segoe UI;
}

div.form input,
div.form textarea,
div.form select
{
    /*margin: 0.2em 0 0.5em 0;*/
    /*    padding: 2px;*/
}

div.form fieldset
{
    border: 1px solid #DDD;
    padding: 10px;
    margin: 0 0 10px 0;
    -moz-border-radius:7px;
}

div.form label
{
    color: #000;
    font-size: 10pt;
    display: block;
    font-size: 10pt;
    font-family: Segoe UI;
}

div.form .row
{
    margin: 5px 0;
    font-family: Segoe UI;
}

div.form .hint
{
    margin: 0;
    padding: 0;
    color: #999;
}

div.form .note
{
    font-style: italic;
}

div.form span.required
{
    color: red;
}

div.form div.error label,
div.form label.error,
div.form span.error
{
    color: #C00;
}

div.form div.error input,
div.form div.error textarea,
div.form div.error select,
div.form input.error,
div.form textarea.error,
div.form select.error
{
    background: #FEE;
    border-color: #C00;
}

div.form div.success input,
div.form div.success textarea,
div.form div.success select,
div.form input.success,
div.form textarea.success,
div.form select.success
{
    background: #E6EFC2;
    border-color: #C6D880;
}


div.form .errorSummary
{
    border: 2px solid #C00;
    padding: 7px 7px 12px 7px;
    margin: 0 0 20px 0;
    background: #FEE;
    font-size: 10pt;
}

div.form .errorMessage
{
    color: red;
    font-size: 10pt;
}

div.form .errorSummary p
{
    margin: 0;
    padding: 5px;
}

div.form .errorSummary ul
{
    margin: 0;
    padding: 0 0 0 20px;
}

div.wide.form label
{
    float: left;
    margin-right: 10px;
    position: relative;
    text-align: right;
    width: 100px;
}

div.wide.form .row
{
    clear: left;
}

div.wide.form .buttons, div.wide.form .hint, div.wide.form .errorMessage
{
    clear: left;
    padding-left: 110px;
}

div.blockquote {
    padding-left: 10px;
    background: #F3F9F6;
    font-size: 0.9em;
    border-width: 1px 1px 1px 3px;
    border-style: solid;
    border-color: #6FA987;
    margin: 0px;
    margin-top: 0px;
}

.citation {
    background: #D3E9DC;
    color: #2B3730;
    font-size: 10pt;
    font-weight: bold;
    padding: 5px 8px;
    border-width: 1px 1px 0 3px;
    border-style: solid;
    border-color: #6FA987;
}

/* p.citation {
    background: #D3E9DC url(http://www.yiiframework.com/forum/public/style_images/master/citation_bg.png) no-repeat right;
    color: #2B3730;
    font-size: 0.9em;
    font-weight: bold;
    border-width: 1px 1px 0 3px;
    border-style: solid;
    border-color: #6FA987;
    padding: 5px 8px;
}*/

input[type=submit], input[type=button]
{
    background: #195f9d;
    border: 2pt Solid #fff;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    padding: 5px 10px 5px 10px;
    font-family: Segoe UI;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -khtml-border-radius: 20px;
    border-radius: 20px;
}

input[type=submit]:hover, input[type=button]:hover
{
    background: #195f9d;
    border: 2pt Solid #195f9d;
    color: #fff;
}

input[type=text], textarea
{
    font-family: Segoe UI;
    font-size: 10pt;
}

select
{
    font-family: Segoe UI;
    font-size: 10pt;
}

div.form .divider {
    /*    background-color: #00bcf2;*/
    background-color: green;
    height: 1px;
    margin: 20px 0px 10px 0px;
}

.divider {
    background-color: #00bcf2;
    height: 2px;
    margin: 20px 0px 10px 0px;
}

.divider.green {
    background-color: #008d17;
}

.simpleBox {
    border: 5px Solid #f4f4f4;
    background-color: #fff;
    padding: 2px;
}

.clearSpace {
    height: 2px;
}

.clearVertical {
    width: 2px;
}

.labelDesc {
    font-family: Segoe UI;
    font-size: 10pt;
    color: gray;
}

/* CRUD LINKS */

.createLink {
    float: right;
    /*    background-color: #fff;*/
    background-color: #ad193d;
    border: 2pt Solid #c63f60;
    /*    color: #c63f60;*/
    color: #fff;
    padding: 5px 10px 5px 10px;
    font-size: 10pt;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -khtml-border-radius: 20px;
    border-radius: 20px;
}

.createLink:hover {
    background-color: #ad193d;
    border: 2pt Solid #ad193d;
    color: white;
    text-decoration: none;
}

.multipleRows {
    background-color: #fff;
    padding: 10px;
}

.smallButton {
    font-size: 8pt;
}

.rowDynamicAddButton {
    float: right;
}

.dashboardBox {
    border: 1px Solid #dcdcdc;
}

.dashboardBox h3 {
    padding: 5px;
    background-color: #f1f1f1;
    color: #000;
    height: 20px;
    font-size: 12pt;
    margin: 0;
}

.dashboardBox .refresh-icon {
    cursor: pointer;
    float: right;
}

.dashboardBox .content {
    padding: 5px;
}

.stockBalance {
    /*    border: 1px Solid #195f9d;*/
    display: inline-block;
    background-color: #008d17;
    color: #fff;
    padding: 10px;
    margin: 3px;
    min-width: 80px;
    /*    max-width: 110px;*/
    height: 80px;
    text-align: center;
}

.stockBalance .title {
    display: block;
    font-size: 12pt;
    font-weight: bold;
}

.stockBalance .balance {
    display: block;
    font-size: 25pt;
    font-weight: bold;
}

.stockBalance .unit {
    display: block;
    font-size: 10pt;
}


/************* CHAT CLASSES *******************/
.chatUser {
    background-color: #cef2ff;
    padding: 5px 10px 5px 10px;
    border-bottom: 1pt Solid #fff;
    cursor: pointer;
    font-size: 8pt;
}

.gotmessage {
    background-color: orange;
    padding: 5px 10px 5px 10px;
    border-bottom: 1pt Solid #fff;
    cursor: pointer;
    font-size: 10pt;
    font-weight: bold;
}

/*.chatUser:hover {
    background-color: #00aff0;
    color: #fff;
}*/

.chatUser .designation {
    font-size: 8pt;
}

.commentBox {
    background-color: #f0f0f0;
    font-family: Calibri;
    font-size: 10pt;
    font-style: normal;
    padding: 5px;
}

.GridRow {
    /*padding: 10px 10px 0px 10px;*/
    border: 1pt Solid #f0f0f0;
    background-color: #fff;
}

.amountTextField {
    font-size: 15pt;
    font-weight: bold;
    background-color: yellow;
}