.campl-app-footer {
    color: #fff;
}

.campl-app-footer-content {
    padding: 0 20px;
}

.campl-app-footer-content img {
    padding: 0 10px 0 0;
}

legend {
    width: 50%;
    float: left;
}

.campl-no-padding {
    padding: 0;
}

.campl-min-padding {
    padding: 0 20px 14px;
}

.campl-nav-tabs, .campl-nav-pills {
    font-size: 14px;
    font-weight: 200;
    line-height: 22px;
    margin-bottom: 12px;
}

.campl-nav-tabs > li > a {
    text-decoration: none;
    background-color: #f1efed;
    color: #0072CF;
}

.tab-pane .campl-content-container {
    padding: 10px 20px;
}

.campl-listing-title {
    font-family: verdana, arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 16px;
    margin: 0 0 4px 0;
}

.results .campl-content-container {
    padding: 20px 20px 10px;
}

.campl-search-input {
    height: 36px;
    min-height: 36px;
    padding: 0;
}

.campl-search-input input.campl-search-submit {
    height: 37px;
    width: 36px;
}

.user_identity p {
    padding: 0 0 0 12px;
}

/* mobile stuff */
@media (max-width: 1000px) {
    /*Change main nav*/
    .campl-global-navigation {
        width: 280px
    }

    .campl-global-navigation li {
        width: 33%
    }

    .campl-global-navigation li a {
        padding: 25px 10px
    }

    .campl-header-container {
        width: auto;
        float: left
    }
}

@media (max-width: 767px) {
    .campl-page-title {
        font-size: 28px;
        line-height: 28px;
        margin-bottom: 0
    }

    /*reduced line height*/
    h2, .campl-slide-caption-txt, legend, .campl-highlight-day {
        font-size: 22px;
        line-height: 24px;
    }

    /*reduced font size and line height*/
    .campl-site-box {
        float: left;
    }

    /*fix height of global header (contents absolutely positioned)*/
    .campl-header-container {
        height: 68px;
    }

    .collapse {
        display: none
    }

    .campl-min-padding h1 {
        padding-top: 10px;
    }

    .campl-user_identity {
        padding: 0 20px;
    }

    .campl-user_identity p {
        padding: 0;
    }

}

.serverPurpose {
	display: inline;
	padding: 0.2em 0.4em;
	border-radius: 3px;
	border: 1px solid #000;
	background: #c0c0c0;
	color: #000;
}

.serverPurpose.localhost { background-color: #f060f0 }
.serverPurpose.testing { background-color: #6060f0 }
.serverPurpose.staging { background-color: #f0f060 }
.serverPurpose.development { background-color: #f06060 }

/* Primefaces 4.0 fix */
.ui-button, .ui-splitbutton { white-space: nowrap; }

/* Make session expiry dialogue appear in front of any colorbox ones */
#sessionExpiredDialog { z-index:10000 !important;}

.draft {
	font-family: monospace;
	background: yellow;
}

.well li {
	padding-bottom: 0.3em;
}

/* tweaks to validation msgs */

.ui-messages-warn, .ui-message-warn {
	background-color: #fbeed5;
	border-color: #f5dec5;
	color: #805833;
}

.ui-message {
	display:inline-block;
	vertical-align: top;
}

form .ui-message-error {
	position: relative;
	opacity: 0.83;
	z-index: 1000;
}

.ui-message-error:hover {
	opacity: 1;
	cursor: default;
	z-index: 100000;
	border-color: #ff5347;
}

td .ui-message {
	display:block;
	position: absolute;
	z-index: 1000;
	margin-top: -1em;
}
label.ui-state-error {
	background: none;
	font-weight: bold;
}


.ui-inputfield.ui-state-error,
.ui-widget-header .ui-inputfield.ui-state-error,
.ui-widget-content .ui-inputfield.ui-state-error {
	border: 1px solid #ff5347;
}

table.ui-selectoneradio td:first-child {
	padding-right: 0.5em;
}

/* allows auto-sizing and HTML size="" attribute to do their job (otherwise bootstrap.css and full-stylesheet.css charge in like a bull in a China shop) */
select, input, textarea, .uneditable-input {
	width: inherit;
}

/* deleted embedded collection entries */
.embeddedCollection {
	margin-bottom:10px;
	border: 1px solid #aaaaaa;
}

.embeddedCollection .deleted {
	margin-bottom: 0;
}

.embeddedCollection .deleted td {
	overflow: visible;
	padding: 8px 0 8px 0;
}

.embeddedCollection .deleted .title {
	font-weight: normal;
	font-style: italic;
	padding-left: 5px;
}

.embeddedCollection .deleted .title s {
	font-weight: bold;
}
.deleted .ui-panel-content {
	padding:0;
}

.controlDescription {
	font-size: 90%;
}

/* Simulate (non-existent) <p:messages for=""/> using <h:messages/> */
.errors-like-primefaces:empty {
	display: none;
}
.errors-like-primefaces ul {
	margin: 0;
}

.errors-like-primefaces li {
	min-height: 16px;
	max-height: 32px;
	list-style-type:none;
	padding-left: 22px;
	background: 0 -96px no-repeat url("../../javax.faces.resource/messages/messages.png.xhtml?ln=primefaces&v=4.0");
}

.ui-messages a {
	font-weight: bold;
	color: #0072cf !important;
}

.ui-messages strong a {
	text-decoration: underline;
}


/**** Table status styles ****/

/** Base CSS for status columns */

.fileUploadStatus {
	background-color: transparent;
	text-align: center;
}

/* 'Pending' or 'in progress' notifications */

.processing .fileUploadStatus {
	background-color: #f0d880; /* for IE */
	background-image: linear-gradient(to bottom, #f0d880, #e0c26c);
}

.ui-state-highlight .processing .fileUploadStatus  {
	background-color: #d2b770; /* for IE */
	background-image: linear-gradient(to bottom, #d2b770, #b8a860);
}

/* 'Complete' or 'OK' notifications */

.complete .fileUploadStatus {
	background-color: #d6ebca; /* for IE */
	background-image: linear-gradient(to bottom, #d6ebca, #c0d6b6);
}

.ui-state-highlight .complete .fileUploadStatus {
	background-color: #88c459;
	background-image: linear-gradient(to bottom, #88c459, #80b840);
}

/* 'Failed' or 'Error' notifications */

.error .fileUploadStatus  {
	background-color: #eb566a;
	background-image: linear-gradient(to bottom, #eb566a, #d64846);
	color: white;
}

.ui-state-highlight .error .fileUploadStatus {
	background-color: #ca464a;
	background-image: linear-gradient(to bottom, #ca464a, #a62826);
}
