html, body {
    height: 100%;
    min-height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 10pt;
    /*background-color: white;*/
    /*background-image: url(/bpm/img/bg/body_noise.png);*/
    /*background-image: url(/bpm/img/bg/bright_squares.png);*/
    /*background-image: url(/bpm/img/bg/grey.png);*/
    /*background-image: url(/bpm/img/bg/hexellence.png);*/
    /*background-image: url(/bpm/img/bg/white_texture.png);*/
    /*background-image: url(/img/wood_pattern.png);*/
    /*background-image: url(/bpm/img/bg/tweed.png);*/
    /*background-image: url(/bpm/img/bg/carbon_fibre_big.png);*/
    background-repeat: repeat;
}

#container {
    min-height: 100%;
    position: relative;
    /*background:  url(/img/planta-background-alpha.png) scroll no-repeat bottom right;*/
    padding-bottom: 40px;
}

#maincontent {
    /*padding-bottom: 40 px;*/
}

#main {
    display: block;
    overflow: auto;
    padding-bottom: 40px;
    height: auto !important; /* real browsers */
    height: 100%; /* IE6: treaded as min-height*/
    min-height: 100%; /* real browsers */
    min-width: 800px;
}

#footer {
    position: relative;
    margin-top: -50px; /* negative value of footer height */
    height: 50px;
    clear: both;
    color: white;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 10;
    width: 100%;

}

#footer a {
    color: #FFFFFF;;
    text-decoration: none;
}

#footer a:hover {
    color: #FFFFFF;
    font-weight: normal;
    text-decoration: underline;
}

#copyright {
    padding: 17px 20px 5px 10px;
    float: right;
}

#footercontact {
    padding: 5px 10px 5px 0px;
    float: right;
}

#contact {
    padding: 23px 10px 0px 0px;
    float: right;
    text-align: right;
    color: #FDC530;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-decoration: none;
}

#contact a {
    color: #FFFFFF;
    font-weight: bold;
    text-decoration: none;
}

#contact a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

/*#title {
    color:#FFFFFF;
    font-family: Impact;
    font-size: 24pt;
    font-weight: normal;
    margin:0px 0px 0px 20px;
    position:absolute;
    background-image: url(/img/logo.gif);
}


#path {
    width:100%;
    clear:both;
    float:left;
    font-size:83%;
    font-weight:normal;
    margin:0px 0px 10px 0px;
}

#path a {
    font-weight:normal;
}

#header {
    padding:0px 0px 0px 0px;
    margin:0px 0px 0px 0px;
    color:white;
    background-color:black;
    height:75px;
    width:100%;
}


 ajax 

div.auto_complete {
    position:			absolute;
    background-color:	white;
    border:				1px solid #888;
    margin:				0px;
    padding:			0px;
    width: 				200px;
}
div.auto_complete ul {
    list-style-type:none;
    margin:0px;
    padding:0px;
}
div.auto_complete ul li.selected { background-color: #ffb;}
div.auto_complete ul li {
    list-style-type:none;
    display:block;
    margin:0;
    padding:2px;
    height:1.2em;
    cursor:pointer;
    font-size:8pt;
}

div.slim {
    margin:0;
    padding:0;
}

 Paging 
.paging {
    color: #ccc;
    font-size:8pt;
}
.paging div.disabled {
    color: #ddd;
    display: inline;
}
.paging span {
    margin:0px 5px;
    float: left;
}
.paging span.current {
    color: #000;
    background-color: #FDC731;
}
.paging span a {
}
.paging span.disabled {
    color: #58585A;
}


 Notices and Errors 
div.message {
    background-color: #fe7;
    clear: both;
    color: #E00;
    font-weight: bold;
    font-size:8pt;
    margin: 10px 5px 10px 0px;
    padding: 10px 10px 10px 10px;
    text-align: center;
}
div.error-message {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #E00;
    font-weight: bold;

}
p.error {
    background-color: #e32;
    color: #fff;
    font-family: Courier, monospace;
    font-size: 120%;
    line-height: 140%;
    padding: 0.8em;
    margin: 1em 0;
}
p.error em {
    color: #000;
    font-weight: normal;
    line-height: 140%;
}
.notice {
    background-color: #ffcc00;
    color: #000;
    display: block;
    font-family: Courier, monospace;
    font-size: 120%;
    line-height: 140%;
    padding: 0.8em;
    margin: 1em 0;
}
.success {
    background-color: green;
    color: #FFF;
}

.view {
    font-size:8pt;
}*/

.cake-sql-log {
    background: #f4f4f4;
    clear: both;
}

.cake-sql-log td, .cake-sql-log th {
    padding: 4px 8px;
    text-align: left;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    white-space: normal;
    overflow: auto;
    max-width: none;
}

/* icons */
.icon16 {
    /*background-color:#f00;*/
    /*background-image: url(/i/rounded_bg.gif);*/
    /*background-repeat: no-repeat;*/
    top: 1px;
    float: left;
}

/*div.disabled {
    display: inline;
    float: none;
    clear: none;
    color: #C0C0C0;
}*/
/*
.ui-autocomplete-loading {
    background: white url('/img/ui-anim_basic_16x16.gif') right center no-repeat; 
}*/
pre.cake-error, .cake-debug-output {
    position: relative;
    z-index: 10000;
}

.metrobg {
    background-color: white;
    margin: 20px auto;
    padding: 20px;
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.45), inset 0 0 30px rgba(0, 0, 0, 0.07);
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.45), inset 0 0 30px rgba(0, 0, 0, 0.07);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.45), inset 0 0 30px rgba(0, 0, 0, 0.07);
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    min-width: 600px;
}

.metrotable {
    width: 100%;
    border-collapse: collapse;
}

.metrotable > thead > tr > th {
    padding: 2em 1em 0 0;
    /*text-transform: lowercase;*/
    text-align: left;
    font-size: 2em;
    /*font-weight: lighter;*/
    color: #bbb;
    border-bottom: 1px solid #ccc;
}

.metrotable > tbody > tr > td {
    padding: .5em 1em .5em 0;
    /*text-transform: lowercase;*/
    text-align: left;
    font-size: 1.2em;
    font-weight: lighter;
    color: #333;
    border-bottom: 1px solid #e1e1e1;
}

.metrotable > thead > tr > th {
    font-size: 1.3em;
    padding-top: 0;
    padding-bottom: 5px;
}

th {
    white-space: nowrap;
}

.table-responsive {
    overflow-x: auto;
}

.table-responsive.has-scroll {
    position: relative;
    overflow: hidden; /* Clips the shadow created with the pseudo-element in the next rule. Not necessary for the actual scrolling. */
}

.table-responsive.has-scroll:after {
    position: absolute;
    top: 0;
    left: 100%;
    width: 50px;
    height: 100%;
    border-radius: 10px 0 0 10px / 50% 0 0 50%;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.25);
    content: '';
}

.table-responsive.has-scroll:before {
    position: absolute;
    top: 0;
    right: 100%;
    width: 50px;
    height: 100%;
    border-radius: 0px 10px 10px 0px / 0% 50% 50% 0%;
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.25);
    content: '';
}

/* This is the element whose content will be scrolled if necessary */
.table-responsive.has-scroll > div {
    overflow-x: auto;
}

.n-count {
    background: #F00000;
    font-size: 10px;
    position: absolute;
    text-align: center;
    padding: 2px 3px 1px;
    border-radius: 2px !important;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
    margin: -6px 0 0 -10px;
    font-style: normal;
    line-height: 100%;
    -webkit-animation-name: bounceIn;
    animation-name: bounceIn;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    color: #fff;
    font-weight: bold;
}

#flashMessage {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.spinner {
    display: inline-block;
    opacity: 0;
    max-width: 0;

    -webkit-transition: opacity 0.25s, max-width 0.45s;
    -moz-transition: opacity 0.25s, max-width 0.45s;
    -o-transition: opacity 0.25s, max-width 0.45s;
    transition: opacity 0.25s, max-width 0.45s; /* Duration fixed since we animate additional hidden width */
}

.has-spinner.active .spinner {
    opacity: 1;
    max-width: 50px;
}

.thumbnail {
    margin-bottom: 0px;
}

.thumbnail-100 {
    width: 100px;
    height: 100px;
}

.thumbnail-50 {
    width: 50px;
    height: 50px;
}

.media-object {
    max-height: 100%;
    max-width: 100%;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);

}

.clickable-row {
    cursor: pointer;
}

.spaced {
    margin-bottom: 20px;
}

@media (max-width: 978px) {
    div.responsive {
        padding: 0;
        margin: 0;
    }

    /*.navbar-fixed-top, .navbar-fixed-bottom, .navbar-static-top {*/
    /*margin-bottom: 0;*/
    /*}*/
}

.bootbox-close-button {
    margin-top: -24px !important;
}

.modal-body {
    padding: 30px;
}

@media print {
    body {
        width: 100%;
        height: 100%;
        -webkit-transform: scale(.96, .96);
        -moz-transform: scale(.96, .96);
        zoom: 96%;
    }

    #header, footer, #sidecontent, .noprint {
        display: none;
    }
}

@page {
    margin: 5mm;
}