/* -------------------------------------------------------------------------- */
/* Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org)             */
/*                                                                            */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may    */
/* not use this file except in compliance with the License. You may obtain    */
/* a copy of the License at                                                   */
/*                                                                            */
/* http://www.apache.org/licenses/LICENSE-2.0                                 */
/*                                                                            */
/* Unless required by applicable law or agreed to in writing, software        */
/* distributed under the License is distributed on an "AS IS" BASIS,          */
/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   */
/* See the License for the specific language governing permissions and        */
/* limitations under the License.                                             */
/* -------------------------------------------------------------------------- */

body {
    font: 9pt Arial, Verdana, Geneva, Helvetica, sans-serif;
}

p {
    margin:0 10px 10px;
}
a {
    color: #000C96; text-decoration: none;
}
a:hover {
    color: #127FE4; text-decoration: none;
}
select, button {
    padding: 2px;
}

h2 {
    float:left;
    font-size:20px;
    margin-bottom: 5px;
    padding-bottom: 0}

h3 {
    border-bottom: 1px solid #CCCCCC;
    color: #353735;
    font-size: 14px;
    font-weight: normal;
    padding: 5px 8px;
    margin: 0 0;
}

table#dashboard_table{
    width:100%;
    margin: 0;
}

table#dashboard_table tr {
    vertical-align: top;
}

table#dashboard_table > tbody > tr > td{
    width:50%;
}

div.panel {
    background-color: #ffffff;
    padding:0;
    margin: 10px;
    border: 1px #ddd solid;
    min-height: 50px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -moz-box-shadow: 5px 5px 5px #888;
    -webkit-box-shadow: 5px 5px 5px #888;
    box-shadow: 5px 5px 5px #888;
}

div.panel h3 {
    border: 0;
    padding:5px 10px 5px 10px;
    margin: 0;
    color: white;
    font-weight: bold;
    background-color: #353735;
    -webkit-border-radius: 3px 3px 0 0;
    -moz-border-radius: 3px 3px 0 0;
}

div.panel .new-resource {
    float: right;
}

div.panel h3 a {
    color: white;
    font-weight: bold;
}

div.panel_info {
    padding: 5px;
}

div.panel_info table.info_table {
    background: none;
    width: 100%;
    margin:0;
}

div.panel_info table.info_table tr {
    border: 0;
    border-bottom: 1px dotted #ccc;
}
div.panel_info table.info_table > tbody > tr > td {
    border: 0;
    width: 100%!important;
}

div.panel_info table.info_table td.value_td {
    text-align: right;
}

.green {
    color: green!important;
}

.red {
    color: #B81515!important;
}


ul.multi_action_menu { list-style: none; position: absolute; text-align: left; padding:0; border: 1px solid #D3D3D3; background-color: #F0EDED;}
ul.multi_action_menu li { cursor: pointer;  padding: 2px 5px;}
ul.multi_action_menu li:hover { background-color: #D3D3D3;}


div.action_block {
    display:inline;
    margin-right: 5px;
    border-right: 1px solid #D3D3D3;
}

div.action_blocks {
    margin-bottom: 0.5em;
    text-align: right;
    margin-top: 0.5em;
}

input, textarea, select {
    border: 0;
    border: 1px #bbbbbb solid;
}

input, textarea {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
}

form.create_form{
    margin:0;
    padding:0;}

fieldset{
    margin:0 0;
    border:none;
    border-top:1px solid #ccc;
    padding: 10px 5px;}

fieldset div{
    margin-bottom:.5em;
    padding:0;
    display:block;
}


fieldset input,
fieldset textarea{
    width:140px;
    /*border-top:1px solid #555;
      border-left:1px solid #555;
      border-bottom:1px solid #ccc;
      border-right:1px solid #ccc;*/
    padding:1px;color:#333;
    vertical-align: top;
    margin: 0 2px;
    margin-bottom: 4px;
}

fieldset select{
    width:144px;
    /*border-top:1px solid #555;
      border-left:1px solid #555;
      border-bottom:1px solid #ccc;
      border-right:1px solid #ccc;*/
    padding:1px;
    color:#333;
    vertical-align: top;
    margin: 0 2px;
    margin-bottom: 4px;
}

/*Chrome hack*/
input[type="radio"],input[type="checkbox"] {
    width:20px;
}

legend{
    margin-top:0;
    margin-bottom: 5px;
    padding:0 .5em;
    color:#036;
    background:transparent;
    font-size:1.0em;
    font-weight:bold;
}

label{
    float: left;
    width:100px;
    padding:0 1em;
    text-align:left;
}

.dataTables_wrapper label {
    float: none;
    width: auto;
    padding: 0 0;
    text-align:right;
}


div.tip {
    display: inline-block;
    padding-left: 5px;
    vertical-align: middle;
    float:none;
}

div.tip span.ui-icon{
    display:inline-block;
}

div.tip span.man_icon {
    display:none;
}
.img_man .man_icon {
    display:inline-block!important;
}

span.tipspan,div.full_info {
    position: fixed;
    display:block;
    padding:4px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #353735;
    margin-left:2px;
    margin-right:5px;
    background-color: white;
    color: #353735;
    font-size:10px;
}
.vm_section input {
    float:none;
}

.vm_section legend{
    display:none!important;
}
.vm_section fieldset {
    border:none!important;
}

div.show_hide {
    float:none;
    clear:both;
}

.vm_param label{
    float:left;
}

fieldset div.vm_section {
    margin-top:-8px;
    margin-bottom:0px;
}


input:focus,
textarea:focus{
    background:#efefef;
    color:#000;
}

.form_buttons {
    margin-top:6px;
    text-align:left;
    margin-bottom:20px;
}

.add_remove_button {
    font-size:0.8em !important;
    height:25px !important;
    margin-bottom:4px;
}

.add_button {
    margin-left:148px;
    width:58px !important;
}

.remove_button {

}

tr.odd, tr.even {
    background-color: #ffffff;
    border: 1px #e9e9e9 solid;
    height:30px!important;
}

tr.odd td, tr.even td{
    border-left: 1px #e9e9e9 solid;
}

tr.odd:hover{
    background-color: #0098C3 !important;
    color: white;
}

tr.even:hover{
    color: white;
    background-color: #0098C3 !important;
}

.show_hide label{
    width: 100%;
}

.clear {
    clear: both;
}

/* Create dialogs */
/* host: */
#create_host_form fieldset label {
    width: 200px;
}

.action_block_info{
    width: 235px;
    margin: auto;
}

.icon_right {
    display: inline-block;
    margin-left: 20px;
    position: relative;
    top: 2px;
}
.icon_left {
    float: left;
    margin-right: 20px;
    position: relative;
    top: 0px;
/*border:1px solid;*/
}



.info_table{
    background: none repeat scroll 0 0 #FFFFFF;
    border-collapse: collapse;
    margin: 20px;
    text-align: left;
    display: inline-block;
    width:85%;
    vertical-align:top;
    overflow:auto;
}

.info_table > thead th,h3 {
    border-bottom: 2px solid #353735;
    color: #353735;
    font-size: 14px;
    font-weight: normal;
    padding: 10px 8px;
}


.info_table > tbody > tr > td{
    border-bottom: 1px solid #CCCCCC;
    color: #353735;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 8px;
    padding-right: 8px;
}

/*.info_table > tbody, .info_table > thead, info_table > tbody > tr {
  width: 100%;
  }*/

.info_table td.key_td{
    min-width: 150px;
    text-align:left;
    font-weight:bold;
}

.info_table td.graph_td{
    padding-top:0px!important;
    padding-bottom:0px!important;
    vertical-align:middle!important;
}

.info_table td.value_td{
    text-align:left;
    width:100%;
}

#dialog > div > div {
    margin:     0;
    padding:    0;
}

.loading_img {
    vertical-align:middle;
    display:inline;
    overflow:hide;

}

.top_button {
    font-size: 0.8em!important;
    height: 25px;
    margin: 3px 2px;
    vertical-align: middle;
/*width: 89px;*/
}
.top_button button {
    font-size: 0.9em;
    height: 25px;
    vertical-align: middle;
}

.image_button {
    font-size: 0.8em;
    margin: 3px 2px;
    vertical-align: middle;
    border:0;
}

/*
  .multi_action_slct{
  font-size: 0.7em;
  vertical-align:middle;
  margin:3px 0;
  height: 25px;
  }*/

.ui-icon-refresh{
    position:relative!important;
    top:14px!important;
}

#vm_log {
    padding: 0 20px 0 20px !important;
}

#vm_log h3 {
    border-bottom: 2px solid #353735;
}

#vm_log pre {
    font-size: 0.9em;
}

#vm_log .vm_log_error {
    color: red;
    font-weight: bold;
}

/* Growl */
.jGrowl-notification h1 {
    font-size: 1.2em;
}

.jGrowl-notification, .jGrowl-notify-submit {
    border: 2px #444444 solid;
    background-color: #F3F3F3!important;
    color: #666666;
}

.jGrowl-notify-error {
    border: 2px #660000 solid;
    background-color: #F39999!important;
    color: #660000;
}

.jGrowl-notify-error table td.key_error {
    text-transform: capitalize;
    width: 100%;
    font-weight: bold;
}

.jGrowl-notify-error table td.key_error:after {
    content:":";
}

.refresh_image {
    position: relative;
    top: 8px;
    cursor: pointer;
}

.ui-widget-overlay { background: #353735; opacity: .60; filter:Alpha(Opacity=60); }

.ui-tabs .ui-tabs-nav li a {
    /*padding: .5em 1em;*/
    padding: .3em 1em;
}

ul.action_list{

    /*background: #EDEDED;*/
    border: 1px solid #525252;
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0.25, #E9E9E9),
        color-stop(0.63, #F5F5F5)
    );
    background-image: -moz-linear-gradient(
        center bottom,
        #E9E9E9 25%,
        #F5F5F5 63%
    );
    position:absolute;
    z-index:1;
    list-style-type:none;
    text-align:left;
    padding:5px 5px;
    -webkit-border-radius:4px;
    -webkit-border-bottom-right-radius:5px;
    -webkit-border-bottom-left-radius:5px;
    -moz-border-radius:4px;
    -moz-border-radius-bottomright:5px;
    -moz-border-radius-bottomleft:5px;
    border-radius:4px;
    border-bottom-right-radius:5px;
    border-bottom-left-radius:5px;
}

ul.action_list li a{
    font-size: 0.8em;
    color:#575C5B;

}
ul.action_list li a:hover{
    color:#0098C3;

}

.progress_bar{
    height:10px;
    background: #8F9392;
}

.ui-widget{
    font: 10pt Arial, Verdana, Geneva, Helvetica, sans-serif;
}

.ui-layout-resizer-open-hover, /* hover-color to 'resize' */
.ui-layout-resizer-dragging {
    background: #EEE;
}

.dashboard_p {
    color: #353735;
    text-align:justify;
}

.dashboard_p p{
    padding-top:5px;
}

.dashboard_p img {
    padding-left:10px;
    padding-right: 10px;
    border:0;
}

