/**
 * @author Victor Zamfir
 */

/* X-browser CSS properties reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {margin:0;padding:0;}
table {border-collapse:collapse;border-spacing:0;}
fieldset,img {border:0;}
address,caption,cite,code,dfn,th,var {font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6 {font-size:100%;font-weight:normal;}
q:before,q:after {content:'';}
abbr,acronym {border:0;}
a {outline:none;}
/* /X-browser CSS properties reset */

.general-actions {
  margin-bottom: 10px; overflow: hidden;
}

/********************************************************************************************************************************************************************
 *    BOF FORMS STYLING  
 ********************************************************************************************************************************************************************/
.form {
  clear: both;
}
.form.new-object, .form.hidden {
  display: none;
}

  .form .form-body {
    padding: 10px;
  }
    .form fieldset, .form fieldset legend {
      /* background-color: #CFE7FF;*/
      -moz-border-radius: 7px; -webkit-border-radius: 7px;
      border: 1px solid #BBBBA6;
    }
    
    .form fieldset fieldset, .form fieldset fieldset legend
    {
    }
    
    .form fieldset {
      margin: 0 0 10px 0; padding: 10px;
    }
      .form fieldset legend {
        color: #4F4F4F;
        margin-left: 15px; padding: 2px 8px; 
        font-size: 14px; font-weight: bold; font-family: Helvetica;
      }
      
      .form fieldset .fieldset-help {
        background-color: #fbfccc; color: #625d22;
        padding: 5px; margin-bottom: 10px;
      }
      
      .help-text {
        padding: 1px 5px; margin-left: 10px; 
        background-color: black; color: #9FD4FF; font-size: 10px; font-weight: bold; cursor: pointer; opacity: 0.7;
      }
      
      .tip-wrap {
        display: none;
      }
      
      .tip {
        background-color: black; color: #9FD4FF; font-size: 10px; font-weight: bold;
        padding: 7px; -moz-border-radius: 3px;
        opacity: 0.7;
      }
  
    .form .form-body label {
      color: #858585; font-family: "Lucida Grande",Tahoma,Arial,Verdana,sans-serif; font-weight: bold; 
      font-size: 13px; line-height: 28px;
    }
    
    .form .form-body .form-field {
    }
      .form .form-body .form-field input.text, .form .form-body .form-field textarea.textarea {
        width: 600px; padding: 5px; font-size: 13px;
        font-size: 1em; font-family: Verdana; color: #333333;
        border-color: #999999 #CCCCCC #CCCCCC;
	      border-width:1px;
      	border-style: solid;
      }
      
      .form .form-body .form-field input.text.has-error, .form .form-body .form-field textarea.textarea.has-error {
        border-color: #DF280A;
        border-width: 2px;
      }
      
      .form .form-body .form-field .text:focus, .form .form-body .form-field .textarea:focus {
        border-color: #999999;
      }
      
      .form .form-body .form-field .textarea {
        height: 100px;
      }
      
      .form .form-body .form-field label {
        float: none; width: auto; margin-right: 0; text-align:left; 
      }
      
      .form .form-body .form-field .plain {
        line-height: 20px; font-weight: bold; border-bottom: 1px dotted #7A7A7A;
      }
    
    .form .form-body li {
      margin-bottom: 5px; padding: 1px;
    }
    
      .error_list {
        color: red;
      }
    
      .form .form-body .error_list {
      }
        .form .form-body .error_list li {
          clear: both;
          margin-bottom: 0; padding: 0;
        }

  .form .form-actions {
    border-top: 2px solid #CCCCCC; padding: 5px; overflow: hidden;
  }
    
    /*
    .form .form-actions a, .form .form-actions button {
      float: left; margin-right: 5px; height: 22px; line-height: 22px; padding: 0 6px;
      border: 1px solid #A2A2A2; background-color: white;
      color: black !important; font-size: 12px; text-decoration: none;
      cursor: pointer;
    }
    .form .form-actions button {
      height: 24px; line-height: 24px;
    }
    .form .form-actions a:hover, .form .form-actions button:hover {
      background-color: #A2A2A2; color: white !important;
    }
    .form .form-actions .negative {
      color: red !important; font-weight: bold;
    }
    .form .form-actions .negative:hover {
      background-color: red; border: 1px solid red;
      color: white !important;
    }
    */
   .form .form-actions a {
     float: left; line-height: 28px; color: #5AB0F8; text-decoration: none;
   }
   .form .form-actions a:hover {
     text-decoration: underline;
   }
   .form .form-actions a.btn {
     line-height: 16px;
   }
   .form .form-actions a.btn:hover {
     text-decoration: none !important;
   }
   .form .form-actions a, .form .form-actions button {
     margin-right: 10px;
   }
   
   .form .field-group {
     background-color: #E3E3E3; border: 1px solid #BBBBA6; -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
     margin-top: 7px;
   }
   .form .field-group:hover {
     border-color: #BBBBA6 !important;
   }
   .form .field-group.collapsed {
     -moz-border-radius: 5px; border: 1px solid #E3E3E3;
   }
    .form .field-group .header {
      cursor: pointer;
      color: #444444; font-size: 1.1em;
      padding: 7px 10px 7px 25px;
      background: url(../images/bullet_toggle_minus.png) no-repeat 5px center;
    }
    .form .field-group.collapsed .header {
      background: url(../images/bullet_toggle_plus.png) no-repeat 5px center;
    }
    .form .field-group .field-group-body {
      overflow: hidden; padding: 5px; background-color: #FEFEFE;
    }
      .form .field-group .field-group-body .fields {
        margin-left: 20px;
      }
    .form .field-group.collapsed .field-group-body {
      display: none;
    }

.form .radio_list {
  overflow: hidden;
}    
  .form .radio_list li {
    float: left; margin-right: 10px;
  }
  
.form select {
  border-color: #999999 #CCCCCC #CCCCCC; border-style: solid; border-width: 1px; 
  padding: 2px;
}
/********************************************************************************************************************************************************************
 *    EOF FORMS STYLING  
 ********************************************************************************************************************************************************************/

 /********************************************************************************************************************************************************************
 *    BOF DATAGRID STYLING  
 ********************************************************************************************************************************************************************/
.datagrid-wrapper {
  
}
  
  .datagrid-wrapper .datagrid-actions {
    margin-bottom: 10px; overflow: hidden; line-height: 20px;
  }
  
  .datagrid-wrapper .display-filters span {
    padding-left: 25px; background: url(../images/bullet_toggle_plus.png) no-repeat 5px center;
  }
  .datagrid-wrapper .hide-filters span {
    padding-left: 25px; background: url(../images/bullet_toggle_minus.png) no-repeat 5px center;
  }
    /*
      .datagrid-wrapper .datagrid-actions li a {
        display: block; padding: 3px; 
        font-weight: bold; text-decoration: none;
        border-bottom: 1px dotted black;
      }
      .datagrid-wrapper .datagrid-actions li a:hover {
        border-bottom-style: solid;
      }
      .datagrid-wrapper .datagrid-actions li a.active {
        background-color: black; color: white !important;
      }
    */

  .datagrid-wrapper .datagrid-table {
    border: 1px solid #BEBFB9; color: #333333;
    border-collapse: collapse; border-spacing: 0; font-size: 12px; width: 100%;
    'Lucida Grande', Tahoma, Arial, Verdana, sans-serif;
  }
  
  .datagrid-wrapper .datagrid-filters-form {
    margin-bottom: 10px; display: none;
  }
    .datagrid-wrapper .datagrid-filters-form .form-body {
      border: 1px solid #BBBBA6; border-bottom: 0; padding: 10px;
    }
  .datagrid-wrapper .datagrid-filters-form.displayed {
    display: block;
  }
  
    .datagrid-wrapper .datagrid-table td, .datagrid-wrapper .datagrid-table th {
      padding: 8px 10px;
    }
    
    .datagrid-wrapper .datagrid-table tr.even, .datagrid-wrapper .datagrid-table tr.odd {
      border-width: 0 1px 0 1px; border-style: solid; border-color: #bebfb9;
      background: #f3f4ee;
    }
    .datagrid-wrapper .datagrid-table tr.odd {
      background: #fff;
    }
    
    .datagrid-wrapper .datagrid-table th {
      font-size: 13px;
      text-transform: uppercase;
      background: #e1e2dc;
      font-weight: normal;
      border-width: 1px;
      border-style: solid;
      border-color: #bebfb9;
      padding: 6px 10px; padding-right: 2px;
    }
    .datagrid-wrapper .datagrid-table th.active {
      background: #bdbeb9;
    }
    .datagrid-wrapper .datagrid-table th a, .datagrid-wrapper .datagrid-table th span {
      display: block; font-weight: bold; padding-right: 8px;
    }
    
    .datagrid-wrapper .datagrid-table th a {
      color: #0074BD;
    }
    
    .datagrid-wrapper .datagrid-table thead tr th .no-sort {
      background: url(../images/no-sort.gif) no-repeat right center;
    }
    .datagrid-wrapper .datagrid-table thead tr th .no-sort:hover {
      background: url(../images/sort-asc.gif) no-repeat right center;
    }
    .datagrid-wrapper .datagrid-table thead tr th .sort-asc {
      background: url(../images/sort-asc.gif) no-repeat right center;
    }
    .datagrid-wrapper .datagrid-table thead tr th .sort-asc:hover {
      background: url(../images/sort-desc.gif) no-repeat right center;
    }
    .datagrid-wrapper .datagrid-table thead tr th .sort-desc {
      background: url(../images/sort-desc.gif) no-repeat right center;
    }
    .datagrid-wrapper .datagrid-table thead tr th .sort-desc:hover {
      background: url(../images/no-sort.gif) no-repeat right center;
    }
    
    .datagrid-wrapper .datagrid-table tbody tr:hover {
      background-color: #D5EAF7;
    }
      .datagrid-wrapper .datagrid-table tbody a {
        font-weight: bold; color: #21759B;
      }
      .datagrid-wrapper .datagrid-table tbody a:hover {
        color: #D54E21;
      }
    
    .datagrid-wrapper .datagrid-table tfoot {
      background: #e1e2dc; border-top: 1px solid #BEBFB9;
    }
      .datagrid-wrapper .datagrid-table tfoot td {
        padding: 2px 10px;
      }
      
        .datagrid-wrapper .datagrid-table tfoot .row-selector-actions {
          float: left; line-height: 30px;
        }
          .datagrid-wrapper .datagrid-table tfoot .row-selector-actions select {
            margin-top: 2px;
          }
          .datagrid-wrapper .datagrid-table tfoot .row-selector-actions button {
            float: right;
          }
          
        .datagrid-wrapper .datagrid-table tfoot .pagination_desc {
          float: right; line-height: 30px;
        }
    
/********************************************************************************************************************************************************************
 *    EOF DATAGRID STYLING  
 ********************************************************************************************************************************************************************/

/**
 * bof buttons
 */
.btn {
  float:left; 
  padding: 0; margin: 0; border-width: 0; 
  cursor:pointer;
  background-color: transparent;
}
.btn span {
  display: block; margin: 2px; padding: 3px 10px 4px;
  border:1px solid #c0c0c0; border-top:1px solid #dedede; border-left:1px solid #dedede; -moz-border-radius: 5px; -webkit-border-radius: 5px;
  background-color: white !important;
  font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif; text-decoration:none; font-weight:bold; color:#565656;
}

.btn img {
  border:none;
  width:16px;
  height:16px;
  margin: 0 3px -2px 0 !important;
  padding: 0;
}

button.btn span {
  margin-top: 1px;
}

a.btn {
  text-decoration: none;
}

*:first-child+html button.btn span {
  margin-top: 0px; padding: 3px 4px 4px;
}

.btn:hover span {
  border:1px solid #a8a8a8; border-top:1px solid #c0c0c0; border-left:1px solid #c0c0c0; color: black;
}

/*** custom buttons ***/
.btn.positive span {
  padding-left: 25px; background: url(../images/accept.png) no-repeat 5px center;
}
.btn.list span {
  padding-left: 25px; background: url(../images/application_view_list.png) no-repeat 5px center;
}
.btn.negative span {
  color: #ff4747 !important;
  padding-left: 25px; background: url(../images/delete.png) no-repeat 5px center;
}
.btn.negative:hover span {
  color: red !important;
}
.btn.add span {
  padding-left: 25px; background: url(../images/add.png) no-repeat 5px center;
}

.btn.edit span {
  padding-left: 25px; background: url(../images/application_form_edit.png) no-repeat 5px center;
}

*:first-child+html button.btn.positive span {
  padding-left: 13px !important;
}

/**
 * eof buttons
 */

.textboxlist {
  width: 610px;
}

#flash_messages {
}
  .feedback-message {
    border: 1px solid; padding: 8px 8px 8px 30px;
    margin: 10px 0;
  }
    .feedback-message strong {
      font-weight: bold;
    }
  .feedback-message.success {
    border-color: #95A486; color: #3D6611;
    background: #EFF5EA url(../images/accept.png) no-repeat 8px center;
  }
  .feedback-message.error {
    border-color: #f16048; color:#df280a; background:#faebe7 url(../images/error.png) no-repeat 8px center;
  }
 
.page-actions {
  overflow: hidden;
  margin: 5px 0;
}
