@import url(ui/ui.css);

body {
    background: none repeat scroll 0 0 #022c5e;
    color: #465262;
    /* font-family: "Helvetica Neue",helvetica,sans-serif; */
    font-family: 'Ubuntu', sans-serif;
    font-size: 12px;
    line-height: 20px;
    margin: 0;
}
.outer-wrapper {
    width: 940px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
}
#content {
    background: none repeat scroll 0 0 #ebeff2;
    padding-bottom: 25px;
}
.navbar-inverse .navbar-inner {
    background: #fff;
    border-color: #fff;
    border-radius: 0;
}

.nav-tabs>.active>a, .nav-tabs>.active>a:hover, .nav-tabs>.active>a:focus {
    color: #43bcd3;
}
/*.btn {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 #EFF3F7;
    border-color: -moz-use-text-color -moz-use-text-color #DEE6ED;
    border-image: none;
    border-radius: 4px 4px 4px 4px;
    border-style: none none solid;
    border-width: medium medium 2px;
    box-shadow: none;
    color: #666D73;
    font-size: 13px;
    font-weight: bold;
    padding: 6px 12px;
    text-shadow: none;
}*/
#search input[type="text"] {
    background-clip: padding-box;
    background-color: #FFFFFF;
    border: 0 none;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 2px 0 rgba(205, 216, 227, 0.32);
    color: #757F87;
    display: block;
    font-weight: bold;
    height: 22px;
    overflow: hidden;
    padding: 3px 14px;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    width: 212px;
}
.nav {
    text-align: center;
    margin: 0 0 0 25px;
}

.nav>li>a:hover, .nav>li>a:focus {
    background-color: #37acc3;
    border-color: #37acc3 #37acc3 #37acc3;
}

a {
    color: #43bcd3;
}
.nav a {
    color: #fff;
}
.nav > li > a {
    padding-top: 3px;
    padding-bottom: 3px;
}
.navbar {
    margin-bottom: 0;
}

.toolbar .dashboard-btn > a {
    background: none repeat scroll 0 0 #FFFFFF;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 2px 0 rgba(185, 200, 215, 0.26);
    color: #878F99;
    display: block;
    height: 28px;
    position: relative;
    text-align: center;
    width: 28px;
}
.toolbar .dashboard-btn {
    border-right: 3px solid #CAD0D8;
    float: left;
    margin-right: 10px;
    margin-top: 14px;
    padding-right: 10px;
}
section#page-header {
   background: #43bcd3;
   padding-top: 10px;
}
.main {
    padding: 20px;
}
footer {
    background: #2054a5;
    color: #fff;
    height: 100px;
    padding: 20px;
}
footer p {
    border-bottom: 1px solid #6A798C;
    padding-bottom: 20px;
}
.overview-section-title {
/*    border-top: 1px solid #C9D3DD;
    border-left: 1px solid #C9D3DD;
    border-right: 1px solid #C9D3DD;*/
    background: #E5ECF4;
    padding-left: 10px;
    padding-top: 5px;

    -webkit-border-radius: 7px 7px 0px 0px;
    -moz-border-radius: 7px 7px 0px 0px;
    border-radius: 7px 7px 0px 0px;
}
.overview-section-title h3 {
    margin-bottom: 0;
}
.section-overview {
    margin-bottom: 20px;
    background: #f7f7f7;
}
.full-report {
    font-size: 10px;
    padding-right: 10px;
}
.full-report:hover, .full-report:active, .overview-section-title :hover, .no_decoration:hover { text-decoration: none;}
.overview-section-content, .display-object-list-content { overflow-x: auto;}
p{
    font-weight: bold;
    /* background: #C8D2DE; */
}
td {
    border-top: 1px solid #f4f8fb;
    background: #f4f8fb;
}
tbody td:first-child {
    font-weight: bold;
}
tbody td, thead th {
    border-right: 1px solid #fff;
}
thead th {
    background: #c8d2de;
}
button.btn {
    background: #5d9cec;
    color: #fff;
    margin-left: 10px;
    margin-bottom: 10px;
}
button.btn:hover {
    background: #fff;
    color: #5d9cec;
}

table tr th a, button.btn a {
    text-decoration: none;
    cursor: pointer;
}
table tr th a {
    color: #465262;
}
button.btn a {
    color: #fff;
}
button.btn:hover a {
    color: rgb(106, 170, 169)
}

.paginator {
    float: right;
    padding-right: 10px;
    font-weight: normal;
    background: none;
}
tfoot td {
    background: #E5ECF4;
}
body.object-list #object_list_search_form .field_row {
    float: left;
}
body.object-list #object_list_search_form p {
    float: left;
    margin-right: 2em;
    margin-top: 0;
}
form#object_list_search_form {
    background: #e5ecf4;
    padding: 15px;
    margin-bottom: 0;
}
.list-actions {
    margin-bottom: 0;
    background: #e5ecf4;
    padding-right: 15px;
    padding-top: 15px;
    text-align: right;
    color: #0088cc;
    overflow: hidden;
}
.list-actions i.hide-filters {
    color: #465262;
}
#attachments-group {
    margin-bottom: 0;
    background: #e5ecf4;
    padding-right: 15px;
    padding-top: 15px;
    padding-left: 15px;
    text-align: right;
    color: #0088cc;
    overflow: hidden;
}
#attachments-group i.hide-filters {
    color: #465262;
}
img.export_excel_icon {
    vertical-align: text-bottom;
}
a.export_excel {
}

body.claim-edit .object_detail_links {
    margin-top: 10px;
    position: absolute;
    float: right;
}
body.claim-edit .object_detail_links h2 {
    padding-left: 0;
}
h2 {
    color: #2054a5;
}
body.object-list  h2 {
    padding-top: 20px;
}
body.object-edit  h2 {
/*    padding-top: 20px;
    padding-bottom: 20px;*/
    padding-left: 30px;
}
ul#report-list {
    width: 500px;
    margin-left: auto;
    margin-right: auto;
}
ul#report-list li {
    list-style: none;
    line-height: 40px;
    height: 40px;
    font-weight: bold;s
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding-left: 5px;
}
ul#report-list li:hover {
    background: rgb(238, 238, 238);
}

body.reports h2 {
    padding-top: 20px;
}
body.overview h2 {
    padding-top: 20px;
}
body.auditlog h2 {
    padding-top: 20px;
    width: 500px;
    float: left;
}
body.auditlog .full-report {
    float: right;
    margin-top: 40px;
}
body.auditlog .object_list_data {
    width: 100%;
    clear: both;
}
body.auditlog tbody td, body.auditlog thead th {
    height: 40px;
    padding: 5px;
}
body.auditlog .object_list_data a {
    text-decoration: none;
}

span.error {
  color:#bf1e2d;
  font-weight: bold;
}
.block-error {
  color: #BF1E2D;
  padding-left: 150px;
}

body.object-detail td, body.object-detail th {
    padding: 10px;
}
body.object_detail td, body.object_detail th {
    padding: 10px;
}
body.object-edit h2 body.object_edit h2, body.object_detail h2, body.object-detail h2, body.object-inline h2, body.reports h2 {
    padding-top: 20px;
}
body.object_edit ul li, body.object-detail ul li {
    list-style: none;
}
body.case-edit .row-field-id_risk_attaching .controls, body.case-edit .row-field-id_follow_payments .controls, body.case-edit .row-field-id_has_profit_comission .controls {
    text-align: left;
}
body.case-edit .row-field-id_has_profit_comission .controls ul {
    margin-left: 0;
}

body.object-edit h2 a, body.object_edit h2 a, body.object_detail h2 a , body.object-detail h2 a, body.object-inline h2 a, body.reports h2 a {
    color: #465262;
    text-decoration: none;
}

/* bootstrap overrides */
input, textarea, .uneditable-input {
    width: 300px;
}
select {
    width: 315px;
}

.inline-row .control-group {
    float: left;
}

.row-required label {
    font-weight: bold !important;
    color: rgb(70, 82, 98);
}

.buttons {
    margin-top: 10px;
}

.expand-inline > strong {
  background-image: url("../img/icons/row_collapse.png");
  background-repeat:  no-repeat;
  padding-left: 15px;
  text-decoration: none;
}

td.is_freezed, tr:hover td.is_freezed {
  background-color: #ff000091 !important;
}

td.is_duplicated, tr:hover td.is_duplicated {
  background-color: #f89406 !important;
}

td.info.cell_0 {
    width: 20px !important;
}
.object_detail_links .object_detail_actions > .dropdown-menu { display: block;position: relative;}
.object_detail_links .object_detail_actions > .dropdown-menu > li > a { text-align: left; }
.object_detail_links .object_detail_actions > .dropdown-menu > li.disabled { margin-left: 10px; }
.object_detail_links {position: fixed;right: 20%;top: 27%;}
.object_list_data_wrapper { overflow-x: auto; padding-bottom: 10px;}
.object-detail #ui-datepicker-div th,
.object-detail #ui-datepicker-div td {
    padding: 0;
}
.object-edit .controls ul li {
    list-style: none;
}
.object-edit .controls ul {
    margin-left: 0;
}

.object-edit .formset_wrapper .fieldset-control-group.int-field input {
    width: 50px;
}
.object-edit .formset_wrapper .fieldset-control-group.row-comp-amount input {
    width: 50px;
}
.object-edit .formset_wrapper .fieldset-control-group.row-comp-amount select {
    width: 120px;
    margin-left: 10px;
}
.object-edit .formset_wrapper .fieldset-control-group select {
    width: 200px;
}
.object-edit .formset_wrapper .fieldset-control-group textarea {
    width: 200px;
    height: 70px;
}
.object-edit .formset_wrapper .fieldset-control-group.decimal-field input {
    width: 50px;
}

.object-edit form .amount-field select {
    width: 65px;
}
.object-edit form .amount-field input {
    margin-right: 5px;
    width: 70px;
}
.object-edit .add-row {
    clear: both;
    margin-top: 10px;
    margin-bottom: 30px;
}

/*.object-edit .formset_wrapper .control-group {
    width: auto !important;
    clear: none !important;
    display: inline !important;
}
.object-edit .form-horizontal .control-group:after { clear: none;}
.object-edit .form-horizontal .control-group { display: inline;}*/

.fieldset-control-group {
    float: left;
    display: inline;
    padding-right: 10px;
}
.fieldset-control-group.inline-delete {
    padding-top: 25px;
}
.form-horizontal .fieldset-control-group .controls {
    margin-left: auto;
}
.form-horizontal .fieldset-control-group .control-label {
    width: auto;
}

/*.case-edit #participations-group {
    margin-bottom: 20px;
}
.case-edit #participations-group .controls {
    margin-right: 30px;
}
.case-edit #participations-group .controls select {
    width: 300px;
}*/

.alert {
    margin-bottom: 10px;
}

section#messages {
    margin-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
}

.object-edit form  {
    background: none repeat scroll 0 0 #e5ecf4;
    padding: 30px 50px;
}

/*.user_edit #reinsurerpermission_set-group input {
    width: 25px;
}*/
.user_edit #reinsurerpermission_set-group select {
    width: 250px;
}
.user_edit #reinsurerpermission_set-group {
    margin-bottom: 20px;
}

.object-list td.cell_case-number {
    white-space: nowrap;
}

.status {
    color: #fff;
    text-align: center;
    font-weight: bold;
}
.case_status_A, .case_sale_status_A {
    background: #51A351;
}
.case_status_C, .case_sale_status_C {
    background: #f45f4a;
}
.case_status_D, .case_sale_status_D {
    background: #e32c1f;
}
.case_status_E, .case_sale_status_E {
    background: #e7b61f;
    color: #2e2e2e;
}
.case_status_L, .case_sale_status_L {
    background: #727272;
}
.case_status_N, .case_sale_status_N {
    background: #0088CC;
}
.case_status_R, .case_sale_status_R {
    background: #51A351;
}
.case_status_T, .case_sale_status_T {
    background: #e32c1f;
}

.row-field-id_1-collected_collections .help-block {
    margin-left: 20px;
}
.row-field-id_1-approved_claims .help-block {
    margin-left: 20px;
}
.row-field-id_1-book_report_date {
    margin-top: 25px;
}
.roe_fields {
    margin-left: 20px;
    margin-top: 10px;
}
.roe_fields .help-block {
    font-size: 12px;
}
input[id^="id_1-approved_claims_"] {
    margin-right: 10px;
}
input[id^="id_1-collected_collections_"] {
    margin-right: 10px;
}

.object-edit .formset_wrapper .fieldset-control-group.decimal-field input#id_bills-0-amount_billed {
    width: 200px;
}
.object-edit .formset_wrapper .fieldset-control-group.decimal-field input#id_bills-1-amount_billed {
    width: 200px;
}
.object-edit .formset_wrapper .fieldset-control-group.decimal-field input#id_bills-2-amount_billed {
    width: 200px;
}
.object-edit .formset_wrapper .fieldset-control-group.decimal-field input#id_bills-3-amount_billed {
    width: 200px;
}
.object-edit .formset_wrapper .fieldset-control-group.decimal-field input#id_bills-4-amount_billed {
    width: 200px;
}
.object-edit .formset_wrapper .fieldset-control-group.decimal-field input#id_bills-0-amount_approved {
    width: 200px;
}
.object-edit .formset_wrapper .fieldset-control-group.decimal-field input#id_bills-1-amount_approved {
    width: 200px;
}
.object-edit .formset_wrapper .fieldset-control-group.decimal-field input#id_bills-2-amount_approved {
    width: 200px;
}
.object-edit .formset_wrapper .fieldset-control-group.decimal-field input#id_bills-3-amount_approved {
    width: 200px;
}
.object-edit .formset_wrapper .fieldset-control-group.decimal-field input#id_bills-4-amount_approved {
    width: 200px;
}

/*.row:last-child {
    margin-top: 40px;
}*/

body.claim-attachments .row .inline-row label {
    text-align: left;
}
input[type='file'][has_value='1'] {
  color: transparent;
}
body.claim-attachments .fieldset-control-group {
    padding-bottom: 15px;
    text-align: left;
    width: 350px;
}

.object_list_data_wrapper span{
    font-size: 14px;
}

.object_list_data .status{
    color: #465262;
    font-weight: normal;
}

@media print {
    .row-fluid, .dropdown, .no_decoration, .export_excel{
        display: none;
    }

    #object_list_search_form .span, #object_list_search_form .span select, #object_list_search_form .span input {
        width: 200px;
        margin-right: 20px;
        display: inline-block;
    }

    .span12 div{
        float: left;
    }

    a[href]:after {
        display:none;
    }
}

/* ******************************************************************** */

body.claims td.cell_2 {
    white-space: nowrap;
}
body.overview td.cell_case-number {
    white-space: nowrap;
}


body.reports.uw thead th {
  background: none repeat scroll 0 0 #c8d2de;
  line-height: 15px;
  padding: 5px;
}
body.reports.uw tbody td {
    padding: 5px;
}
body.reports.uw form#object_list_search_form input {
    width: 200px;
}
body.reports.uw form#object_list_search_form select#id_year {
    width: 72px;
}
body.reports.uw .arrow_right, body.reports.uw .arrow_left {
    background-position: 115% 50%;
    left: auto;
    right: 0;
    background: url("/media/img/nav.png") no-repeat scroll -20% 50% #000;
    cursor: pointer;
    height: 60px;
    left: 20px;
    opacity: 0.3;
    outline: medium none;
    position: absolute;
    top: 333px;
    width: 28px;
}
body.reports.uw .arrow_right {
    background-position: 115% 50%;
    left: auto;
    right: 20px;
}


form input[id$="-clear_id"] {
    clear: left;
    float: left;
}
form label[for$="-clear_id"] {
    padding-left: 20px;
    padding-top: 13px;
}
