/* home.css */

/* Redefine default padding */
#MainContent {
  padding: 0;
}
#MainPage .MainPageTable {
 border-spacing: 0;
}
#MainContent.WithoutSectionMenu h1 {
 width: 309px !important;
}
#MainContent ul li,
#MainContent p,
#SquareStickerGouv {
 padding: 0;
 margin: 0;
}

#SquareStickerGouv {
  height: 255px;
}

/* verticalShow */

#MainPage .VerticalShow {
  position: absolute;
  margin-left: 940px;
}

/* HomeBoxes */

#MainContent .HomeBoxes {
 margin: 5px 0 0 5px;
}

/* HomeBox */

#MainContent .HomeBox {
  width: 309px;
  margin: 0 5px 0 0;
  background: transparent url(/images/homeboxes/background-homebox.gif) no-repeat bottom;
}
#MainContent .HomeBox h1 {
  margin: 0;
  width: 309px;
  background: transparent url(/images/homeboxes/header-homebox.gif) no-repeat;
  font-size: 14px;
  height: 31px;
  line-height: 31px;
  color: white;
  padding-left: 5px;
}
#MainContent .HomeBox h1 a {
  color: white;
}
#MainContent .HomeBox h1 a:hover {
  text-decoration: none;
}
#MainContent .HomeBox p {
 padding: 0 5px 5px 5px;
}
#MainContent .HomeBox img {
 float: left;
 margin: 5px 5px 0 0;
}
#MainContent ul li {
  list-style-type: none;
  color: #A1001A;
}

#scellierBox,
#lawBox {
 height: 250px;
}
#SimulationBox,
#CalculBox {
 height: 210px;
}
#scellierBox ul li,
#lawBox ul li,
#CalculBox ul li {
 margin: 4px 0 0 0;
}

/* NewsBox */ 

#MainContent #NewsBox {
 width: 300px;
 margin: 0 0 5px 0;
 height: 380px;
 background: transparent url(/images/homeboxes/background-small.gif) no-repeat bottom;
}
#MainContent #NewsBox h1 {
  width: 300px;
  background: transparent url(/images/homeboxes/header-small.gif) no-repeat;
}
#MainContent #NewsBox h1 a {
  color: white;
}
#MainContent #NewsBox a {
  text-decoration: none;
}
#NewsBox .photo {
  float: left;
}
#NewsBox .photo img {
  height: 40px;
  width: 55px;
  border: none;
}
#MainContent #NewsBox ul {
  padding: 0 5px 0 0;
  margin: 0 0 0 5px;
}
#MainContent #NewsBox li {
  list-style-type: none;
  border-bottom: 2px dotted #CCC8C8;
  text-align: justify;
  padding: 2px 0;
}
#MainContent #NewsBox .NewsTitle {
  font-size: 11px;
  color: #A1001A;
}
#MainContent #NewsBox .NewsDate {
  font-size: 11px;
  color: #314f9c;
}
#MainContent #NewsBox .NewsDescription {
  color: #595959;
  font-size: 11px;
}
#MainContent #NewsBox .NewsResource {
  color: #595959;
  font-size: 10px;
  font-weight: bold;
}
#MainContent #NewsBox .linkFile {
  text-align: center;
  font-weight: bold;
  margin-top: 7px;
}
#MainContent #NewsBox .linkFile a {
  color: #314f9c;
}
#MainContent #NewsBox .linkFile a:hover {
  text-decoration: underline;
}

/* faq */

#MainContent #faqBox {
  margin: 0;
  height: 165px;
}
#MainContent #faqBox .question {
  margin-top: 5px;
}
#MainContent #faqBox .question a {
  color: #BE1E2D;
  font-weight: bold;
}
#MainContent #faqBox .text {
  font-size: 11px;
}

/* ProgramBox */

#MainContent .ProgramBox {
  height: 335px;
  width: 309px;
  margin: 0;
  background: transparent url(/images/homeboxes/background-homebox.gif) no-repeat bottom;
}

#MainContent .ProgramBox h1 {
  background: transparent url(/images/homeboxes/header-homebox.gif) no-repeat;
  font-size: 14px;
  height: 31px;
  line-height: 31px;
  color: white;
  padding-left: 5px;
}

.ProgramBox .program a {
  text-decoration: none;
}
.ProgramBox .program img {
  width: 135px;
  height: 95px;
  border: 1px solid black;
  margin: 0 5px;
}
.ProgramBox .program .info {
  color: #595959;
  font-weight: bold;
  height: 30px;
  overflow: hidden;
  display: block;
  font-size: 11px;
  margin: 5px 0 0 5px;
}
.ProgramBox .link {
  font-size: 11px;
  margin: -5px 0 0 170px;
}
#MainContent .ProgramBox .link a {
  color: #314f9c;
}

/* partnerBox */

#MainContent #partnerBox {
  width: 300px;
  padding: 0;
  height: 165px;
  margin-bottom: 5px;
  background: red url(/images/homeboxes/background-partner.gif) no-repeat bottom;
}
#MainContent #partnerBox h1 {
  width: 300px;
  margin: 0; 
  background: transparent url(/images/homeboxes/header-small.gif) no-repeat;
}