/* 
    Document   : form
    Created on : July 25, 2013, 12:14:17 PM
    Author     : odyman
    Description:
    Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/
.desc {
    padding: 2px;
    margin: 4px 2px 4px 2px;
}
.box_form {
    margin: 2px;
}
form hr {
    border-bottom: solid 1px #6E6C64;
}
span.required {
    color: #ff3300;
}
form p {
    display: block;
    padding: 2px;
    margin: 2px;
    border-bottom: dotted 1px #cccccc;
}
form p.msg_box {
    text-align: center;
    padding: 4px;
    background: #ffffff;
    color: #cc0033;
    border: solid 1px #cc0033;
    display: none;
}
form .btn_action {
    display: block;
    padding: 2px;
    margin: 2px;
}
form .desc {
    line-height: 18px;
    padding: 10px 0px 0px 0px;
}

form input[type='text'], form input[type='text'], form input[type='password'] {
    padding: 6px;
    border: solid 1px #cccccc;
    width: 250px;
    
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
form input[type='number'] {
    padding: 6px;
    border: solid 1px #cccccc !important;
    width: 250px;
    text-align: right;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
form select {
    padding: 6px;
    border: solid 1px #cccccc;
    width: 265px;
    
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

form input[type='text']:focus, form input[type='number']:focus, form input[type='password']:focus, form select:focus, form textarea:focus {
    border: solid 1px #0099ff;
}

form input[type='submit'] {
    border: solid 1px #0099ff;
    background: #4d90fe;
    padding: 6px 15px 6px 15px;;
    
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    
    font-weight: bold;
    color: #f4f5f5;
    cursor: pointer;
}
form input[type='submit']:hover {
    background: #357ae8;
    color: #ffffff;
}

form textarea {
    vertical-align: top;
    padding: 6px;
    border: solid 1px #cccccc;
    width: 250px;
    
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    
    
}

form span.label {
    display: inline-block;
    width: 180px;
    font-size: 12px;
}

form span.sub_label {
    display: inline-block;
    width: 180px;
    margin-left: 15px;
}

form fieldset {
    border: none;
    border-top: solid 1px #cccccc;
}

form fieldset legend {
    font-weight: bold;
    color: #999999;
}

form input[type='submit'].button {
    background: #4c8efb; /* Old browsers */
    background: -moz-linear-gradient(top, #4c8efb 0%, #4788ee 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4c8efb), color-stop(100%,#4788ee)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #4c8efb 0%,#4788ee 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #4c8efb 0%,#4788ee 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #4c8efb 0%,#4788ee 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c8efb', endColorstr='#4788ee',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #4c8efb 0%,#4788ee 100%); /* W3C */
    
    padding: 7px 12px 7px 12px;
    border: solid 1px #4788ee;
    
    font-weight: bold;
    
    color: #ffffff;
    
    cursor: pointer;
    
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;    
}

form input[type='submit'].button:hover {
    color: #ffffff;
    
    border: solid 1px #2f5bb7;
    
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;     
     background: ;
}

.button {
    background: #4c8efb; /* Old browsers */
    background: -moz-linear-gradient(top, #4c8efb 0%, #4788ee 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4c8efb), color-stop(100%,#4788ee)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #4c8efb 0%,#4788ee 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #4c8efb 0%,#4788ee 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #4c8efb 0%,#4788ee 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c8efb', endColorstr='#4788ee',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #4c8efb 0%,#4788ee 100%); /* W3C */
    
    padding: 7px 12px 7px 12px;
    border: solid 1px #4788ee;
    
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    
    color: #ffffff;
    
    cursor: pointer;
    
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;    
    
}

.button:hover {

    color: #ffffff;
    border: solid 1px #2f5bb7;
    
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;      
    
    text-shadow: 0px 1px 3px #2e2e2e;
    filter: dropshadow(color=#2e2e2e, offx=1, offy=1);
}

.button:active {
    color: #ffffff;
}

#modal-dialog {
    display: none;
	position: relative;
    border: solid 2px #2f5bb7;
    /*width: 400px;*/
	margin-top:20px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;     
}

#modal-dialog .title-dlg {
    border-bottom: solid 1px #2f5bb7;
    
    background: #e2e2e2; /* Old browsers */
    background: -moz-linear-gradient(top,  #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e2e2e2), color-stop(50%,#dbdbdb), color-stop(51%,#d1d1d1), color-stop(100%,#fefefe)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #e2e2e2 0%,#dbdbdb 50%,#d1d1d1 51%,#fefefe 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #e2e2e2 0%,#dbdbdb 50%,#d1d1d1 51%,#fefefe 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #e2e2e2 0%,#dbdbdb 50%,#d1d1d1 51%,#fefefe 100%); /* IE10+ */
    background: linear-gradient(top,  #e2e2e2 0%,#dbdbdb 50%,#d1d1d1 51%,#fefefe 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#fefefe',GradientType=0 ); /* IE6-9 */
    
    padding: 10px 4px 10px 4px;
    font-weight: 600;
}

#modal-dialog .content-dlg {
    padding: 20px 4px 20px 4px;
    
    vertical-align: middle;
    
    background: #ffffff; /* Old browsers */
    
}

#modal-dialog .footer-dlg {
    border-top: solid 1px #2f5bb7;
    padding: 4px;
    text-align: right;
    background: #ffffff; /* Old browsers */
}

#from_day_select, #to_day_select {
    width: 65px;
}

#from_year_select, #to_year_select {
    width: 85px;
}

#from_month_select, #to_month_select {
    width: 125px;
}

.from_day_select, .to_day_select {
    width: 65px;
}

.from_year_select, .to_year_select {
    width: 85px;
}

.from_month_select, .to_month_select {
    width: 125px;
}

.select_small {
    width: 65px;
}
.select_medium {
    width: 125px;
}

input[type='text'].input_very_small {
    width: 50px;
}
input[type='text'].input_small {
    width: 100px;
}

input[type='text'].input_medium {
    width: 125px;
}
input[type='text'].input_big {
    width: 500px;
}
input[type='text'].input_number {
    width: 125px;
    text-align: right;
}
input[type='text'].date_pick {
    width: 125px;
}
input[name='debit_amount'].editable  {
    text-align: right;
}
input[name='credit_amount'].editable  {
    text-align: right;
}
input[name='je_det_debit_amount'].editable  {
    text-align: right;
}
input[name='je_det_credit_amount'].editable  {
    text-align: right;
}