@import url("lexum-base.css");

body {
	font-family: Verdana, Helvetica, sans-serif;
	font-size: 12px; /* reference size */
}

a {
	text-decoration: none;
}

a:link, a:visited, a:hover, a:focus, a:active {
	color: #c6453f;
}

a:hover {
	text-decoration: underline;
}

input {
	font-size: 1em;
}

img.togglerState {
	padding-left: .5em;
	vertical-align: middle;
}
p.ajaxError {
	background-color: #ffe2e2;
	color: #cc0000;
	margin: .75em 0;
	padding: .5em 0;
	text-align: center;
}

/* Forces blocks to enclose their floated children */
.clearfix:after,
div.admin div.row:after,
div.admin li.row:after {
	content:			".";
	display:			block;
	height:				0;
	clear:				both;
	visibility:			hidden;
}

ul.multipleSelect,
ul.multipleSelectMedium,
ul.multipleSelectLarge {
	background-color: #ffffff;
	border: 1px solid #f1d884;
	width: 200px;
	height: 8em;
	overflow: auto;
	margin: 0;
}

ul.multipleSelectMedium {
	width: 500px;
}

ul.multipleSelectLarge {
	width: 600px;
}

ul.multipleSelect li.odd,
ul.multipleSelectMedium li.odd,
ul.multipleSelectLarge li.odd {
}

ul.multipleSelect li.even,
ul.multipleSelectMedium li.even,
ul.multipleSelectLarge li.even {
	background-color: #F5F5F5;
}

/* *********** Skeleton *********** */
#page,
#smallPage {
	background-color: #fff;
	clear: both;
	padding: 0;
	position: relative;
	width: 100%;
}

#pageHeader,
#pageSession,
#pageSearch,
#pageMenu,
#pageBreadcrumbs,
#pageContent,
#pageFooter,
#pageMessages,
#pageWarnings,
#pageErrors {
	clear: both;
	margin: 0;
	padding: 0;
	position: relative;
}

#pageHeader .content,
#pageSession .content,
#pageSearch .content,
#pageMenu .content,
#pageBreadcrumbs .content,
#pageContent .content,
#pageFooter .content,
#pageMessages .content,
#pageWarnings .content,
#pageErrors .content {
	background-color: inherit;
	margin: 0 auto;
	padding: .2em .8em;
	position: relative;
	width: 985px;
}

#smallPage #pageHeader .content,
#smallPage #pageSession .content,
#smallPage #pageMenu .content,
#smallPage #pageBreadcrumbs .content,
#smallPage #pageContent .content,
#smallPage #pageFooter .content,
#smallPage #pageMessages .content,
#smallPage #pageWarnings .content,
#smallPage #pageErrors .content {
	padding: 0;
	width: 690px;
}

#pageHeader {
	background-color: #f5f5dc;
}

#pageMenu {
	border-bottom: 1px solid #000;
	font-size: 1.2em;
	height: 3em;
	line-height: 3em;
	z-index: 1000;
}

#pageBreadcrumbs {
	font-size: .8em;
	line-height: 2em;
}

#pageContent {
}

#pageFooter {
	border-top: 1px solid #000;
	margin-top: 3em;
}

/* ******************************** */



/* ************ Header ************ */
#pageHeader img#logo {
	margin: 1.5em 0;
}

#languageSelector {
	/*background-color: #f5f7ee;
	border-left: 1px solid #8cc63f;
	border-right: 1px solid #8cc63f;
	border-top: 1px solid #8cc63f;*/
	bottom: 0;
	/*color: #f5f5dc;*/
	height: 25px;
	padding: 0;
	position: absolute;
	right: 0;
}

#languageSelector span {
	border-right: 1px solid #000;
	float: left;
	height: 20px;
	line-height: 20px;
	padding: 0 1em;
}

#languageSelector span.last {
	border-right: none;
}

#languageSelector span.selected {
	color: #587e2b;
}

#languageSelector span.inactive {
	color: #777777;
}

div.parents {
	font-weight: bold;
}

/* ******************************** */
/* *********** Session ************ */
#pageSession {
	border-top: 1px solid #4a538f;
	border-bottom: 1px solid #4a538f;
	background-color: #f5f4f2;
	/*position: relative;
	line-height: 1.2em;*/
}

#credentials {
	font-size: .8em;
	/*position: absolute;*/
	/*line-height: 1.2em;*/
	right: 0;
	top: .6em;
}

#pageSession a,
#credentials a {
	/*color: #fff*/
}
/* ********************************** */
/* ************* Search ************* */
#pageSearch {

}

#pageSearch .content {
	padding-bottom: 0;
	padding-top: 0;
}

#searchForms {
	background-color: #fbf6e1;
	border-color: #e2b108;
	border-style: none solid solid;
	border-width: 0 2px 2px;
	margin-bottom: 0;
	padding: .3em .5em;
}

#searchForms table {
	border: none;
	width: 100%;
}

#searchForms thead th {
	border: none;
	font-weight: bold;
	text-align: left;
}

#searchForms table td {
	border: none;
	width: 50%;
}

#searchForms form {

}

#searchForms fieldset {
	border: 1px solid #e2b108;
	margin: .5em 0;
	padding: .3em;
}

#searchForms legend {
	font-weight: bold;
	margin-left: .5em;
}

#formsTab {
	margin-top: 0;
}

#formsTab .tab {
	background-color: #e2b108;
	color: #fff;
	display: block;
	float: right;
	padding: .2em .5em .3em;
	position: relative;
	right: .7em;
}

#pageSearch label {
	color: #000;
	display: block;
	float: left;
	line-height: 1.5em;
	width: 17em;
}

#pageSearch div.row {
	padding: 0.1em;
}

#pageSearch ul.multipleSelect,
#pageSearch ul.multipleSelectMedium,
#pageSearch ul.multipleSelectLarge {
	border: 1px solid #f1d884;
}

#pageSearch input {
	border: 1px solid #f1d884;
	padding: .2em .6em;
}

#simpleSearch input {
	width: 50em;
}

#pageSearch input.submit {
	/*background-color: #e2b108;
	border: 1px solid #e2b108;
	color: #fff;*/
	cursor: pointer;
	width: auto;
}

#simpleSearch table,
#advancedSearch table {
	border: none;
	width: 100%
}

#advancedSearch table td {

}

#searchForms td.submit {
	text-align: right;
}

a.highlight {
	background-color: #ff6;
}

/* ******************************** */
/* ************* Menu ************* */
#pageMenu .content {
	height: 3em;
	padding: 0;
}

#pageMenu ul {
	margin: 0;
}

#pageMenu.top {
	background-color: #8cc63f;
	clear: both;
	color: #fff;
	font-size: 0.9em;
	left: 0;
	padding: 0;
	top: 0;
	width: 100%;
}

	#pageMenu.top a {
		color: #fff;
	}

	#pageMenu.top #credentials {

	}

	#pageMenu.top #menu {
		height: 3em;
	}

	#pageMenu.top #menu ul {
		padding: 0;
	}

	#pageMenu.top #menu li.menuItem {
		background-color: inherit;
		border-right: 1px solid #fff;
		display: block;
		float: left;
		height: 3em;
		margin: 0;
		padding: 0 1em;
		position: relative;
		word-spacing: .3em;
	}

	#pageMenu.top #menu li.firstMenuItem {
		border-left: 1px solid #fff
	}

	#pageMenu.top #menu li.lastMenuItem {

	}

	#pageMenu.top #menu li.menuHover {
		background-color: #c6e39f;
		cursor: pointer;
	}

	#pageMenu.top #menu li.menuItem ul {
		background-color: #8cc63f;

	}

	#pageMenu.top #menu li.menuItem ul li {
		background-color: inherit;
		border-top: 1px solid #fff;
		line-height: 1.2em;
		padding: .5em .7em;
	}


    /*#pageMenu.top #laws {
        clear: both;
    }

    #pageMenu.top #laws .menuItem {
        font-weight: bold;
        font-size: 1.1em;
    }

    #pageMenu.top #laws ul {
        display: inline;
    }

    #pageMenu.top #laws ul li {
        display: inline;
    }
    */

/* ******************************** */
/* *********** Messages *********** */

#pageMessages,
#pageWarnings,
#pageErrors {
	margin-top: 2em;
	padding: .2em;
}

#pageMessages .content {
	border: 1px solid #3fa2c6;
	color: #3fa2c6;
}
#pageWarnings .content {
	border: 1px solid #d2560d;
	color: #d2560d;
}
#pageErrors .content {
	border: 1px solid #c6453f;
	color: #c6453f;
}

#pageMessages ul,
#pageWarnings ul,
#pageErrors ul {
	margin: 0 0 0 45px;
	padding-left: .5em;
	list-style-position: inside;
}

#pageMessages li,
#pageWarnings li,
#pageErrors li {
	padding: .2em;
}

#pageMessages img,
#pageWarnings img,
#pageErrors img {
	float: left;
	margin: .3em;
}

/* ******************************** */



/* ************ Footer ************ */
#pageFooter a.lexumLogo {
	position: absolute;
	top: .2em;
}

#lexumLogo {
	margin-bottom: .5em;
}

#lexactoLogo {
	margin-bottom: .5em;
	position: absolute;
	right: 0;
	top: .6em;
}

#copyright {
	margin-top: -2em;
	text-align: center;
}
/* ******************************** */





/* ******************************** */
/* ************* Login ************ */
#loginBox {
	border:	1px solid #5a7e24;
	margin: 3em auto;
	padding: .8em;
	width: 25%;
}

#loginBox h1 {
	background-color: #f5faee;
	border-bottom: 1px solid #5a7e24;
	color: #5a7e24;
	display: none;
	margin: 0 0 1em;
	text-align: center;
}

#loginBox form {
	margin: 1em 0;
}

#loginBox .row {
	margin: .8em 0;
}

#loginBox label {
	display: block;
	font-weight: bolder;
}

#loginBox input.text {
	background-color: #f5faee;
	border: 1px solid #8cc63f;
	padding: .2em 0;
	width: 100%;
}

#loginBox .rowSubmit {
	text-align: right;
}

#loginBox input.button {
	background-color: #eaf5dc;
	border: 1px solid #8cc63f;
	color: #5a7e24;
}

#loginBox p {
	margin: 1em .3em;
	text-align: center;
}

/* ********** Pager ************ */
div.pager, div.searchPager {
	background-color: #fbfbfb;
	border: 1px solid #eee;
	clear: both;
	height: 1.8em;
	margin-top: 1em;
	margin-bottom: 1em;
	width: 100%;
}

div.pager a {
	color: #666;
}

div.pager div.pagerLeft,
div.pager div.pagerUp,
div.pager div.pagerRight {
	float: left;
	height: 1.8em;
	line-height: 1.6em;
}

div.pager div.pagerLeft img,
div.pager div.pagerUp img,
div.pager div.pagerRight img {
	vertical-align: middle;
}

div.pager div.pagerLeft {
	padding-left: 0.5em;
	width: 32%;
}

div.pager div.pagerUp {
	text-align: center;
	width: 34%;
}

div.pager div.pagerRight {
	float: right;
	padding-right: 0.5em;
	text-align: right;
	width: 32%;
}

div.searchPager div.searchPagerPages, div.searchPager div.searchPagerSort {
    float: left;
    height: 1.8em;
    line-height: 1.6em;
}

div.searchPager div.searchPagerPages {
    width: 49%;
    padding-left: 0.5em;
}

div.searchPager div.searchPagerSort {
    width: 49%;
    padding-right: 0.5em;
    text-align: right;
}

div.searchPager ul {
    display: inline;
    margin: 0;
    padding: 0;
    width: 50%;
}

div.searchPager li {
    list-style-type: none;
    display: inline;
}

div.searchPager span.active {
    font-weight: bold;
}

/* ********* Calendar ********** */

input.calendar {
	width: 74px;
}

button.calendar {
	background: url(../images/calendar.gif);
	border: 0;
	cursor: pointer;
	height: 20px;
	left: .5em;
	position: relative;
	top: 0;
	width: 20px;
}

button.calendar:hover,
button.calendar.active {
	background-position: left bottom;
}

div.calendar {
	background: #000;
	height: 175px;
	padding: 0 12px;
	text-align: center;
	width: 147px;
}

	div.calendar * {
		margin: 0;
		padding: 0;
	}

	div.calendar div {
		background: none !important;
		cursor: move;
		height: 165px;
		overflow: hidden;
		padding-top: 10px;
		position: relative;
		width: 147px;
	}

	div.calendar caption {
		color: #CF0;
		font: normal 12px/17px Arial, Helvetica, sans-serif;
		padding-top: 4px;
		text-align: center;
		width: 100%;
	}

	div.calendar caption a {
		cursor: pointer;
		display: block;
		height: 11px;
		overflow: hidden;
		position: absolute;
		text-indent: -100px;
		top: 16px;
		width: 11px;
	}

	div.calendar caption a.prev {
		background-image: url(../images/calendar-prev.gif);
		left: 1px;
	}

	div.calendar caption a.next {
		background-image: url(../images/calendar-next.gif);
		right: 1px;
	}

	div.calendar caption a:hover {
		background-position: 0 11px;
	}

	div.calendar caption span {
		height: 25px;
		position: relative;
		text-align: center;
	}

	div.calendar caption span.month {
		padding-right: 8px;
	}

	div.calendar caption span.month:after {
		content: ',';
	}

	div.calendar table {
		border: 0;
		border-collapse: collapse;
		border-spacing: 0;
		cursor: default;
		margin: 0 auto;
		overflow: hidden;
		width: 147px;
	}

	div.calendar td,
	div.calendar th {
		border: 0;
		color: #999;
		font: normal 12px Arial, Helvetica, sans-serif;
		height: 19px;
		text-align: center;
		width: 21px;
	}

	div.calendar td {
		color: #333;
		font-size: 11px;
		padding-right: 5px;
		text-align: right;
		width: 16px;
	}

	div.calendar td.invalid {
		color: #666;
	}

	div.calendar td.valid {
		color: #FFF;
		cursor: pointer;
	}

	div.calendar td.active,
	div.calendar td.hover {
		color: #CF0;
		cursor: pointer;
	}

/* ***** Search results ***** */

#searchResults ul {
    margin: 0;
    padding: 0;
}

#searchResults ul li {
    list-style-type: none;
}

h3.resultTitle {
    display: block !important;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

div.resultSummary {
    padding-left: 30px;
}

div.resultMeta {
    padding-left: 30px;
    font-style: italic;
    font-size: 0.9em;
}

