/*
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
*/

body {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

h1, h2, h3 {
	margin: 0;
	padding: 0;
	font-weight: normal;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 2em;
	margin-top: 1em;
	margin-bottom: 1px;
}

h3 {
	font-size: 1.6em;
	line-height: 2em;
}

p, ul, ol {
	margin-top: 0;
	line-height: 180%;
}

ul, ol {
}

a {
	text-decoration: none;
}

a img {
	border: 0;
}

textarea , input, select{
	padding: 2px;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
form p {
	line-height: 100%;
	padding: 0;
	margin:2px 0;
}
form p label, form p em, form table td label, form table td em {
	padding-right: 4px;
	font-size:.9em;
}
form p span label {
	padding-left: 8px;
}

#wrapper {
	margin: 0 auto;
	padding: 0;
}

/* Header */
#header-wrapper {
	height: 100px;
}

#header {
	width: 1000px;
	margin: 0 auto;
	padding: 0px 0px 0px 30px;
	position: relative;
}

/* Logo */
#logo {
	float: left;
	margin: 0;
	padding: 0;
	background-repeat: no-repeat;
}

/** header = 950px; */
#header-search { width:400px; position:absolute; top:0; right:0; text-align:right; }
#header-search select { border: 1px solid #999; }
#header-search #search-submit { background-image: url(img/header-search-submit.gif); background-color: transparent; }

/* Search */
#search {
	float: right;
	width: 250px;
	height: 60px;
	margin: 0px;
	padding: 0px;
}

#search form {
	margin: 0;
	padding-top: 0px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 20px;
}
#search-select  {
	padding: 20;
	border: 1px solid #999;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0px;
	margin-left: 0;
	width: 150px;
}

#search-text {
	width: 170px;
	padding: 6px 5px 2px 5px;
	border: 1px solid #999;
	background: #FFFFFF;
	text-transform: lowercase;
	color: #069;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-style: normal;
	font-weight: bold;
	font-variant: normal;
}

#search-submit {
	width: 40px;
	height: 35px;
	color: #000000;
	background-image: url(img/search-submit.gif);
	background-repeat: no-repeat;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	background-position: center;
	margin-top: 0px;
}

/* Page */
#page {
	width: 980px;
	margin: 0 auto;
	padding: 0px 0px 0px 0px;
}

#page-bgtop {
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 20px;
	padding-left: 0px;
	margin-top: 0px;
}

/* Content */
#content {
	float: right;
	width: 700px;
}

.post {
	margin-bottom: 40px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

.post .title {
	letter-spacing: -.5px;
	padding-top: 7px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 30px;
}

.post .title a {
	color: #333333;
	border: none;
}

.post .meta {
	margin-bottom: 30px;
	padding: 0px 30px 0px 30px;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	font-style: italic;
}

.post .meta .date {
	float: left;
}

.post .meta .posted {
	float: right;
}

.post .meta a {
}

.post .entry {
	padding: 0px 30px 20px 30px;
	padding-bottom: 20px;
	text-align: justify;
}

/* Sidebar */
#sidebar {
	float: left;
	width: 250px;
	margin: 0px;
	padding: 0px;
}

#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#sidebar li {
	margin: 0;
	padding: 0;
}

#sidebar li ul {
	margin: 0px 0px;
	padding-bottom: 30px;
}

#sidebar li li {
	line-height: 35px;
	margin: 0px 30px;
	border-left: none;
}

#sidebar li li span {
	display: block;
	margin-top: -20px;
	padding: 0;
	font-size: 11px;
	font-style: italic;
}

#sidebar li li a {
	padding: 0px 0px 0px 15px;
/*	background: url(img/img01.jpg) no-repeat left 5px; */
}

#sidebar h2 {
	padding-left: 0;
	letter-spacing: -.5px;
	font-size: 1.8em;
}

#sidebar p {
	margin: 0;
	padding: 0 30px 20px 0;
	text-align: justify;
}

#sidebar a {
	border: none;
}

/* Footer */
#footer {
	height: 10px;
	font-family: Arial, Helvetica, sans-serif;
	bottom: 0px;
	overflow: visible;
	position: fixed;
	visibility: visible;
	width: 100%;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 0px;
	padding-right: 0;
	padding-bottom: 0px;
	padding-left: 0;
}

#footer p {
	display: none;
	margin: 0;
	padding-top: 20px;
	line-height: normal;
	font-size: 9px;
	text-transform: uppercase;
	text-align: center;
}

/**
 * menu top and menu internal (tab)
 */
#menu {
	float: right;
	width: 690px;
	height: 90px;
	padding: 0;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

#menu ul {
	margin: 0;
	padding: 65px 0px 0px 0px;
	list-style: none;
	line-height: normal;
}

#menu li {
	float: left;
}

#menu a {
	display: block;
	margin-right: 1px;
	padding: 10px 15px 15px 15px;
	text-decoration: none;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	border: none;
}
#menu a:hover, #menu .current_page_item a {
	text-decoration: none;
}

#menu .current_page_item a {
}

#menu li.dir {
	position:relative;
}
#menucontroller-left ul.dropdown-horizontal li.dir ul {
  display:none;
  list-style-type: none;
}
#menu .dirtitle, #menu strong {
	display: block;
	margin-right: 1px;
	text-decoration: none;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	border: none;
	padding-top: 10px;
	padding-right: 15px;
	padding-bottom: 15px;
	padding-left: 15px;
}
#menu .dirtitle:hover, #menu .current_page_item .dirtitle {
	text-decoration: none;
}
#menu .dirtitle a {
	display:inline;
	margin:0;
	padding:0;
}
#menu ul ul li a {
	padding: 10px;
}
#menucontroller-left ul.dropdown-horizontal li.dir:hover ul {
	display:block;
	position:absolute;
	top:2.5em;
	left:0;
	width:150px;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 0px;
}
#menucontroller-left ul.dropdown-horizontal ul {
	z-index:1;
}
#menu ul.dropdown-horizontal li.dir ul {
	padding-top: 0px;
	padding-bottom: 0px;
}
#menu ul.dropdown-horizontal li.dir li {
	display: block;
	float:none;
}
#menu ul.dropdown-horizontal li.dir li a {
	text-align:left;
}

/*menu fiche*/
div.tab_out {
	height: 55px;
}
ul#menuFiche, div.tab {
	width: 100%;
	height: 43px;
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	list-style-type: none;
	margin: 0;
	padding: 0;
	background-color: #FFF;
	background-image: url(img/menu-bg.gif);
	background-repeat: repeat-x;
	background-position: left top;
}
ul#menuFiche li, div.tab span {
	display: block;
	float: left;
	margin: 0 0 0 5px;
}
ul#menuFiche li a, div.tab span a {
	height: 43px;
	color: #777;
	text-decoration: none;
	display: block;
	float: left;
	line-height: 200%;
	padding: 8px 15px 0;
}
div.tab em.sep {
	display: none;
}
ul#menuFiche li a:hover, div.tab span a:hover {
	color: #333;
}
ul#menuFiche li a.current, div.tab span a.selected {
	color: #36F;
	padding: 5px 15px 0;
	background-color: #FFF;
	background-image: url(img/menu-current-bg.gif);
	background-repeat: repeat-x;
	background-position: left top;
}
/* end menu */

/*
 * origine: CSS Admin de Yan
 */
#internal {
	padding-bottom: 15px;
}

table.multisave {
	width:100%;
}
table.multisave th {
  text-align: left; padding: 7px;
}
table.multisave td {
	padding:4px 2px;
}

/* osm part, you can erase this if you don't use openlayers */
p.osmfield {
	position:relative;
}
iframe.osm_map, iframe.osm_map_visible {
  position:absolute;
	top:1.5em;
	left:0;
	width:500px;
	height:400px;
  border:1px solid black; background:white;
}
iframe.osm_map {
  display:none;
}
iframe.osm_map_visible {
  display:block;
}
/* end of osm part */

iframe { border:0; }

.pager_order a {
	font-size: 18px;
}

ul#shortlist {
	padding-left: 0;
	list-style-type: none;
}
form p#cmd {
	padding-bottom: 2em;
}
input.text.full, div.fiche textarea {
	width: 90%;
}

body.layoutshort {
	padding: 0 3px;
}
body.layoutshort h2 {
	margin-top: 0;
}
#ysmauth_message {
	padding: 8px;
  margin-bottom:16px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
#ysmauth_message .error {
	color: red;
	margin:0;
}

/** auth */
#ysmauth_authform, #ysmauth_message, p.admin_return_home {
  margin: 0 auto 0;
  width: 400px;
  text-align: left;
}
#ysmauth_authform { margin-top: 200px; }

input.radio {
	margin-right: 3px;
}
input.checkbox {
	margin-right: 3px;
}
.currentpage {
	font-weight:bold;
	text-decoration:underline;
}

/** admin_save */
p.filariane {
	font-size: 16px;
}

/* admin_default_index */
#default_icon td {
	text-align: center;
	vertical-align: top;
}
/* admin_multisave */
a.add-new-h2 {
	display: block;
	float:right;
}
label.inline { padding-left: 30px; }
p.fieldtitle input, p.fieldmetatitle input { width: 650px; }

/** theme adaptation - color */
body {
	background: #FFFFFF;
	color: black;
}
h1, h2, h3 {
	color: #d83d32;
}
a {
	color: #4c4849;
}
a:hover {
	text-decoration: underline;
}
textarea , input, select{
	color: #4c4849;
}

body.layoutshort {
	background: white;
}

body.layoutauth #page-bgtop {
	padding-top:0px;
}

#header-wrapper {
	background: #5a9047;
	border-bottom: 10px solid #5fb133;
}

#logo {
	width: 250px;
	background-image: url(../img/logo-rabaska.png);
	height: 125px;
}

#footer {
	background: #5fb133;
}
#footer a, #footer p {
	color: #FFFFFF;
}

#menu a {
	color: #FFFFFF;
}
#menu a:hover, #menu .current_page_item a {
	background: transparent url(/img/menu-back-hover.png) repeat-x top left;
}
#menu ul.dropdown-horizontal li.dir ul {
	background-color:#FFF;
}
#menu .dirtitle, #menu strong {
	color: #FFFFFF;
}
#menu .dirtitle:hover, #menu .current_page_item .dirtitle {
	background: #2AA1CC;
}
#menucontroller-left ul.dropdown-horizontal li.dir:hover ul {
	background: #1582AB;
	/*background: #9cc8ff;*/
  color: black;
}
#actions { display:none; }

#ysmauth_message {
  border:1px solid rgb(230, 219, 85);
  background-color: rgb(255, 255, 224);
}

#sidebar {
	color: #787878;
}
#sidebar li li {
	border-bottom: 1px dotted #E7E2DC;
}
#sidebar a {
	color: #339CCB;
}
#sidebar a:hover {
	color: #8A8A8A;
}
tr.row0 td {
	background:#e6e6e6;
}
table.multisave {
	border: 1px solid #999;
}
table.multisave th {
	color: #333333;
	background-color: #EBEBEB;
	border-bottom: 1px solid #999;
}
table.multisave td {
	border-bottom:1px solid #999;
}
table.multisave tr.row0 td {
	background: white;
}
table.multisave tr.row1 td {
	background: #e6e6e6;
}
.pager_order a.selected {
	color: red;
}

/* admin_multisave */
a.add-new-h2 {
	background: transparent url(img/ico_ajout.png) no-repeat top left;
	padding-left: 50px;
	padding-top: 5px;
  height: 44px;
}

/** modphoto */
ul.shortlist_photo { margin:0; padding:0; list-style-type: none}
ul.shortlist_photo li { border: 1px solid white; }
ul.shortlist_photo li.selected { border: 1px solid #3e5066; }

/** modpage */
td.fieldposition { text-align: right; }
td.fieldposition input { text-align: right; width: 50px; }

body.layoutpublicen #header-wrapper {
  border-bottom-color: #454545;
}
body.layoutpublicen #footer {
  background-color: #454545;
}
input.url {
    font-family: monospace;
    width: 100%;
}
td.tdtop { vertical-align: top; padding-top: 10px; }

@media only screen and (max-width: 980px) {
  #page {width: auto; }
  #header { width: auto; }
  #logo {width: 87px; }
  #header { height: 105px; }
  #menu { position: absolute; bottom:0; right: 0; float:none; height: auto; width: auto; }
  #menu ul { padding-top: 0; }
}
