html, body {
    height: 100%;
}

body{
    background-attachment: fixed;
}

.row-fluid.custom{
    background-color: #f5f5f5;
    margin-top: -22px;
    padding: 0px 10px 10px 10px;
}

.titles{
    display: block;
    border-bottom: 1px dotted #ccc;
    width: 100%;
    margin: 0 0 17px 0;
}

span.green {
    /*border-bottom: 2px solid #7AB236;*/
}

.titles h2 span {
    color: #454545;
    font-size: 24px;
    padding: 0 30px 7px 0;
}

.fill{
/*   min-height: 100%;
   height: 100%;*/
   border-bottom: none;
   border-top: none;
   padding-top: 20px;
   padding-bottom: 40px;
   background-color: rgba(255,255,255,0.6);
   padding-left: 10px;
   padding-right: 10px;
}

.navbar-inverse .navbar-inner{
    background-image: linear-gradient(to bottom, rgb(212, 212, 212), rgb(232, 232, 232));
    background-repeat: repeat-x;
    border-color: rgb(224, 224, 224);
    background-color: rgb(219, 212, 212);
    -webkit-box-shadow: 1px 1px 8px 2px rgba(33,33,33,0.4);
    box-shadow: 1px 1px 8px 2px rgba(33,33,33,0.4);
}

.brand{
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    line-height: 26px !important;
}

.well{
    background-color: rgba(255,255,255,0.8);
    /*background-color: rgba(232,232,232,1);*/
}

.breadcrumb{
    margin-top: 20px;
    margin-bottom: 0px;
    background-color: rgba(255, 255, 255, 0);
}
.breadcrumb li{
    background-color: rgba(255, 255, 255, 0);
}

/* copio estils del bootstrap perquè s'assemblin el més possible */
#central{
    margin-right: auto;
    margin-left: auto;
    width: 1170px;
    min-height: 100%;
    border: medium none;
    padding: 60px 30px 40px;
    background-color: rgba(255, 255, 255, 0.6);
}

.labels, .textarea_labels {
    width: 9em !important;
    text-align: right;
}

.labels-extra-large {
    text-align: right;
    display: inline;
}

select {
    width: 120px;
}

.navbar-inverse .navbar-inner {
    background-image: -webkit-gradient(linear, 0 0, 0 90%, from(#d4d4d4), to(#e7e7e7)) !important;
    background-image: -webkit-linear-gradient(top, #d4d4d4, #e7e7e7) !important;
    background: -moz-linear-gradient(top,  #d4d4d4,  #e7e7e7);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d4d4d4', endColorstr='#e7e7e7');
}

.table-striped{
    background-color: rgba(255, 255, 255, 0.7) !important;
}

.breadcrumb{
    padding: 0px !important;
}

.check{
    margin-top: -27px !important;
    margin-left: 10px !important;
    
}

.radiochecks{
    display: inline-block !important;
}
.breadcrumb a{
    cursor: pointer !important;
}

.error_msg{
    display: none;
}

/* adequacio del Datepicker al Bootstrap */
.hasDatepicker{
    padding: 4px 6px;
    margin-bottom: 10px;
    color: #555555;
    vertical-align: middle;
    
    width: 140px !important;
    
    /*-webkit-border-radius: 4px;
    border-radius: 4px;
    background-color: #ffffff !important;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);*/
}

/* search bar*/
#custom-search-form {
        margin:0;
        margin-top: 5px;
        padding: 0;
}

#custom-search-form .search-query {
    padding-right: 3px;
    padding-right: 4px \9;
    padding-left: 3px;
    padding-left: 4px \9;
    /* IE7-8 doesn't have border-radius, so don't indent the padding */

    margin-bottom: 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#custom-search-form button {
    border: 0;
    background: none;
    /** belows styles are working good */
    padding: 2px 5px;
    margin-top: 2px;
    position: relative;
    left: -28px;
    /* IE7-8 doesn't have border-radius, so don't indent the padding */
    margin-bottom: 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.search-query:focus + button {
    z-index: 3;   
}
