body {
  background: #fafafa;
  background-image: -moz-linear-gradient(top, #C3D9FF, #fafafa 200px, #fafafa);
  background-repeat: no-repeat;
  padding-top: 54px;
  min-height: 200px;
}

h1 {
  text-align: center;
  color: #222;
  font-weight: bold;
  font-size: 40px;
  text-shadow: 0 1px 2px white, 0 0 5px #444;
}

.records-list, #directories {
  border: 1px solid #ccc;
}

/*
 * Messages d'erreur
 */

#jelixerror {
  margin-top: 36px;
  width: 90%;
  margin-left: 5%;
}

#errors {
  color: red;
  font-weight: bold;
  background: #fcc;
  border: 3px solid red;
  border-left: 0;
  border-right: 0;
  padding: 5px;
}

#browser-warning {
  background: #FCC;
  color: red;
  border: 5px solid red;
  padding: 5px;
  font-size: 1.5em;
  margin: 18px 0;
}

/*
 * Pied de page
 */

#admin-foot {
  height: 32px;
  width: 950px;
  text-align: center;
  color: #888;
}

/*
 * Formulaire de login
 */

#jforms_administration_loginform fieldset {
  width: 318px;
  height: 150px;
  margin-left: 320px;
  background: #eee;
  background-image: url(images/admin-login.png);
  background-repeat: no-repeat;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

#jforms_administration_loginform input[type=text],
#jforms_administration_loginform input[type=password] {
  width: 205px;
}
#jforms_administration_loginform input[type=submit] {
  width: 180px; !important
}

/*
 * Gros boutons de gestion de module
 */
 
span.admin-big-button {
  border: 2px solid;
  -moz-border-bottom-colors: #818181 #d2d2d2;
  -moz-border-top-colors: #818181 #F6F6F6;
  -moz-border-left-colors: #818181 #F6F6F6;
  -moz-border-right-colors: #818181 #F6F6F6;
  background-image: -moz-linear-gradient(top, #efefef, #e3e3e3 50%, #dedede 50%, #d2d2d2);
  margin-bottom: -1px;
  text-align: center;
  display: block;
  width: 460px;
  height: 200px;
  margin: 5px;
  margin-left: 6px;
  font-size: 500%;
  text-align: center;
  font-weight: bold;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  float: left;
	box-shadow: 0px 0px 10px rgba(0,0,0,.2);
	-moz-box-shadow: 0px 0px 10px rgba(0,0,0,.2);
	-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.2);
}

span.admin-big-button:hover {
	box-shadow: 0px 0px 6px #666;
	-moz-box-shadow: 0px 0px 6px #666;
	-webkit-box-shadow: 0px 0px 6px #666;
}

a span.admin-big-button {
  color: black;
  text-shadow: 0 1px 0 white;
}

span.admin-big-button .module-description {
  font-size: 10pt;
  text-shadow: none;
  color: black;
  font-weight: normal;
  font-style: italic;
}

span.admin-big-button .module-version {
  font-size: 7pt;
  text-shadow: none;
  color: #888;
  font-weight: normal;
}

span.admin-big-button-disabled {
  background: #EEE;
  color: #AAA;
  text-shadow: none;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	border: 1px dotted #AAA;
  -moz-border-bottom-colors: none;
  -moz-border-top-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  width: 462px;
  height: 202px;
}

span.admin-big-button-disabled .module-description {
  color: #AAA;
}

span.admin-big-button-disabled:hover {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}

/*Liens d'admin dans les tables CRUD + actions de l'admin*/

ul#admin-actions, ul.crud-table-links {
  list-style-type: none;
  text-align: right;
  height: 24px;
  line-height: 24px;
  margin-bottom: 0;
  font-weight: normal;
}

ul#admin-actions li, ul.crud-table-links li {
  display: inline-block;
  margin-left: -4px;
  padding: 1px 5px;

  border: 2px solid;
  -moz-border-bottom-colors: #818181 #d2d2d2;
  -moz-border-top-colors: #818181 #F6F6F6;
  -moz-border-left-colors: #818181 #F6F6F6;
  -moz-border-right-colors: #818181 #F6F6F6;
  height: 18px;
  line-height: 18px;
  background-image: -moz-linear-gradient(top, #efefef, #e3e3e3 50%, #dedede 50%, #d2d2d2);
  text-shadow: 0 1px 0 white;
}

ul.crud-table-links li.checked {
  background-image: -moz-linear-gradient(top, #bbb, #aaa 50%, #b5b5b5 50%, #ccc);
  -moz-border-bottom-colors: #818181 #f6f6f6;
  -moz-border-top-colors: #818181 #d2d2d2;
}

ul#admin-actions li.disabled, ul.crud-table-links li.disabled {
  background-image: -moz-linear-gradient(top, #f3f3f3, #e9e9e9 50%, #e3e3e3 50%, #dfdfdf);
  color: #777;
}

ul#admin-actions li:first-child, ul.crud-table-links li:first-child {
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-bottomleft: 5px;
}

ul#admin-actions li:last-child, ul.crud-table-links li:last-child {
  -moz-border-radius-topright: 5px;
  -moz-border-radius-bottomright: 5px;
}

ul#admin-actions li a, ul.crud-table-links li a, div#admin-actions-top div.dock-top a {
  text-decoration: none;
  color: #222;
  display: block;
}

ul#admin-actions li a:hover, ul.crud-table-links li a:hover, div#admin-actions-top div.dock-top a:hover {
  color: black;
  text-shadow: 0 0 5px #888;
}

ul#admin-actions {
  display: block;
  margin: 0;
  padding:0;
  height: 36px;
  width: 786px;
  text-align: center;
}

ul#admin-actions li {
  width: 250px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-top: 0;
}

ul#admin-actions li:first-child {
  -moz-border-radius-topleft: 0;
}

ul#admin-actions li:last-child {
  -moz-border-radius-topright: 0;
}

ul#admin-actions img {
  position: absolute;
  margin: 1px 0 0 -25px;
}

/*
 * Admin top dock
 */

div#admin-top-dock {
  font-size: 0.9em;
  height: 159px;
  top: -130px;
  position: fixed;
  z-index: 100;
  -moz-border-radius-bottomleft: 5px;
  -moz-border-radius-bottomright: 5px;
  width: 786px;
  margin-left: 85px;
  padding-left: 4px;
  -moz-box-shadow: -2px 0 10px rgba(0,0,0,.2);
}
div#admin-actions-top {
  height: 130px;
  margin: 0;
  padding:0;
  list-style-type: none;
  text-align: center;
  width: 786px;
}
div#admin-actions-top div.dock-top {
  margin-left: -4px;
  padding: 1px 5px;
  display: block;
  width: 253px;
  height: 100px;
  background: #efefef;
  border: 2px solid;
  -moz-border-left-colors: #818181 #F6F6F6;
  -moz-border-right-colors: #818181 #F6F6F6;
  border-top: 0;
  border-bottom: 0;
  float: left;
  padding-top: 30px;
}
div#admin-actions-top div.dock-top:last-child {
  width: 250px;
}
div#admin-actions-top div.dock-top a{
  height: 100%;
  text-shadow: 0 1px 0 white;
}
ul.module-dock {
  list-style-type: none;
}
ul#admin-actions-top ul.module-dock li {
  height: 18px;
  line-height: 18px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.module-mini-disabled {
  color: #555;
}

/*
 * Tables de CRUD
 */
table.records-list tr th {
}
table.records-list tr td, table.records-list tr th{
  text-align: center;
  padding-left: 0;
  padding-right: 0;
  border-right: 1px dotted #758FBC;
}
table.records-list tr td:first-child {
  text-align: left;
  padding-left: 3px;
}
table.records-list tr td:last-child, table.records-list tr th:last-child {
  border-right: none;
}
table.records-list h2{
  font-weight: bold;
  text-shadow: 0 1px 2px white, 0 0 5px #444;
}
table.records-list {
  border: 1px solid #758FBC;
  -moz-box-shadow: 0 0 10px rgba(0,0,0,.2);
}
table.records-list tbody tr td{
  border-top: 1px solid #758FBC;
}
table.records-list tbody tr.even td{
  background-image: -moz-linear-gradient(top, #D3DAE6, #E5ECF9);
}
table.records-list tbody tr.odd td{
  background-image: -moz-linear-gradient(top, #FFF, #F0F0F0);
}
table.records-list tbody tr:hover td{
  background-image: -moz-linear-gradient(top, #FFC97B, #FDFDC0);
}

/*
 * Liens CRUD
 */
 
div#crud-actions ul{
  list-style-type: none;
  width: 50%;
  margin-left: 25%;
  margin-top: 18px;
  -moz-border-radius: 5px;
  -moz-box-shadow: 0 0 10px rgba(0,0,0,.2);
}
div#crud-actions ul li{
  border: 2px solid;
  -moz-border-bottom-colors: #818181 #d2d2d2;
  -moz-border-top-colors: #818181 #F6F6F6;
  -moz-border-left-colors: #818181 #F6F6F6;
  -moz-border-right-colors: #818181 #F6F6F6;
  height: 18px;
  line-height: 18px;
  background-image: -moz-linear-gradient(top, #efefef, #e3e3e3 50%, #dedede 50%, #d2d2d2);
  text-shadow: 0 1px 0 white;
  margin-bottom: -1px;
  text-align: center;
}
div#crud-actions ul li a{
  color: black;
  display: block;
  text-decoration: none;
}
div#crud-actions ul li a:hover{
  border-bottom: 1px dotted black;
}
div#crud-actions ul li:first-child {
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
}
div#crud-actions ul li:last-child {
  -moz-border-radius-bottomleft: 5px;
  -moz-border-radius-bottomright: 5px;
}

input.jforms-submit {
  width: 50%;
  margin-left: 25%;
  margin-top: 18px;
  -moz-border-radius: 5px;
  -moz-box-shadow: 0 0 10px rgba(0,0,0,.2);
  border: 2px solid;
  -moz-border-bottom-colors: #818181 #d2eed2;
  -moz-border-top-colors: #818181 #F6FFF6;
  -moz-border-left-colors: #818181 #F6FFF6;
  -moz-border-right-colors: #818181 #F6FFF6;
  height: 22px;
  line-height: 22px;
  background-image: -moz-linear-gradient(top, #efffef, #e3eee3 50%, #deeede 50%, #d2eed2);
  text-shadow: 0 1px 0 white;
  margin-bottom: -1px;
  text-align: center;
  color: green;
  font-weight: bold;
}

/*
 * Miniatures d'images
 */

img.thumbnail {
  max-height: 72px;
  max-width: 180px;
}

.thumbnail-container {
  height: 72px;
}

img.thumbnail-mini {
  max-height: 18px;
  max-width: 45px;
}

.thumbnail-container-mini {
  height: 18px;
  float: left;
}

/*
 * Module Newsletter
 */

#jforms_newsletter_letters_text_tbl {
  width: 950px;
}

table#template-table {
  -moz-box-shadow: 0 0 10px black;
  margin: auto;
}

div#mail-template-controls {
  position: relative;
  width: 380px;
  height: 300px;
  margin: auto;
  margin-bottom: 18px;
}

div#mail-template-controls div.colorsample {
  background: red;
  width: 38px;
  height: 28px;
  position: absolute;
  border: 0;
}

div#mail-template-controls div#colorpicker {
  position: absolute;
  display: none;
}

div#mail-template-controls #mail-template-controls-img {
  position: absolute;
  left:0;
  top:0;
}

div#mail-template-controls div.farbtastic {
  background: rgba(255,255,255,.7);
  border: 1px solid black;
  -moz-border-radius-topleft: 0px;
  -moz-border-radius-topright: 100px;
  -moz-border-radius-bottomleft: 100px;
  -moz-border-radius-bottomright: 100px;
}

div#mail-template-controls div.farbtastic-left {
  -moz-border-radius-topleft: 100px;
  -moz-border-radius-topright: 0px;
}

div#mail-template-controls div.selected {
  -moz-box-shadow: 0 0 10px black;
}

span#temp-infos {
  opacity: 0;
  display: block;
  position: absolute;
  width: 240px;
  left: 70px;
  top: -20px;
  text-align: center;
}

table.newsletter-mail tr, table.newsletter-mail td, table.newsletter-mail th {
  padding: 0;
}

table.newsletter-mail tr.newsletter-mail-center td {
  vertical-align: top;
}

