/* Custom classes*/
.hidden {
    display: none;
}

/* To add a cariage return before inplace buttons */
.ui-inplace-editor {
    display: block;
}

/* Drop down size the full width available space */
.ui-selectone menu {
    width: 100% !important;
}

/* To truncate long string */
.truncate {
    width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncateInputText {
    width: 300px;
    overflow: hidden;
}

/* Loading panel */
.ajaxStatusPanel {
    z-index: 9999;
    top: 45%;
    right: 45%;
    text-align: center;
    position: fixed;
    background-position: center;
    vertical-align: middle;
    margin-left: 12px;
}

.ui-state-default .ui-icon {
    background-image: url("/images/ui-icons.png");
}

.border-table {
    border: 1px solid black;
}

.border-cell {
    border: 1px solid black;
}

/*.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default,
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {*/
/* PRIMEFACES OVERRIDE */
.ui-state-default {
    /* 	background: #54a614 !important; */
    color: #4f4f4f !important; /* #006a00!important;*/
    text-shadow: none !important;
    border: none;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    font-weight: normal;
}

.ui-state-default-menu {
    color: #059859;
}

a:visited, .ui-widget-header {
    color: #4f4f4f !important;
    text-shadow: none !important;
    border: none;
}

.portlet-content, .ui-state-default a, .ui-state-default a:link {
    color: #4f4f4f;

}

.terrain {
    /* border: 2px solid rgba(170, 186, 167, 1); */
    border: 1px solid #aaaaaa;
    /*color: #A8A8A8;*/
    color: #4F4F4F;
}

/* .ui-widget-content { */
/*     border: 2px solid rgba(125, 112, 112, 1); */
/*     background: none repeat scroll 0% 0% #FFF; */
/*     color: #4F4F4F; */
/* } */
.table {
    width: 100%;
    margin-bottom: 10px;
}

.legend {
    display: block;
    width: 20%;
    line-height: 15px;
    font-size: 1em;
}

/** cette propriete se trouve CharteGraphique\src\main\webapp\css\layout.css
div.portlet-column {
	overflow: hidden;
	width: 100%;
	display: block;
}
/**http://stackoverflow.com/questions/14227531/different-css-for-each-browser*/