/* mainpage.css */

/***** global css *****/

* {
  margin: 0;
  padding: 0;
}
body {
  background: #CCC8C8;
}
img {
  border: 0;
}
table {
  border-collapse: collapse;
}
.FlashError a {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  color: #595959;
  text-decoration: underline;
}

/***** Header *****/

#Header {
  height: 161px;
  width: 950px;
  margin-left: -1px;
  background: transparent url(/images/bandeau.gif) no-repeat;
}
#Header .linkTitle a {
  position: absolute;
  margin-top: 5px;
  width: 740px;
  overflow: hidden;
  color: black;
  text-decoration: none;
  font-size: 10px;  
}
#Header .homeLink {
  display: block;
  width: 930px;
  height: 112px;
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  padding: 10px;  
}

/* NewsletterSubscriptionBox */

#Header .NewsletterSubscriptionBox {
  float: right;
  margin: -3px 5px 0 0;
}
#Header .NewsletterSubscriptionBox label {
  font-size: 12px;
  color: black;
}
#Header .NewsletterSubscriptionBox .DrWInput {
  width: 100px;
  font-size: 12px;
}
#Header .NewsletterSubscriptionBox .DrWIButton {
  height: 20px;
  width: 25px;
}

/***** MainPage *****/

#MainPage {
  margin: 5px auto;
  width: 948px;
  border-left: 1px solid #6C7F93;
  border-right: 1px solid #6C7F93;
  background: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}
#MainPage .MainPageTable {
  width: 100%;
  border-spacing: 5px;
  border-collapse: separate;
}
#MainPage .MainPageTable td {
  vertical-align: top;
}

/***** MainContent  *****/

#MainContent {
 width: 620px;
 min-height: 600px;
 margin-top: 5px;
 background: transparent url(/images/content/background-content.gif) no-repeat bottom left;
 text-align: justify;
 color: #2f2f2f;
}

/* WithoutSectionMenu */

#MainContent.WithoutSectionMenu {
 width: 810px;
 margin-top: 0;
 padding-bottom: 10px;
 background: transparent url(/images/withoutsectionmenu/background-content.gif) no-repeat bottom left;
}
#MainContent.WithoutSectionMenu h1 {
 width: 810px;
 background: transparent url(/images/withoutsectionmenu/title.gif) no-repeat top left;
}
#MainContent.WithoutSectionMenu h2 {
 width: 808px;
 margin: 0 0 5px 1px;
 background: transparent url(/images/withoutsectionmenu/background-h2.gif) no-repeat top left;
}

#MainContent h1 {
 color: white;
 width: 620px;
 background: transparent url(/images/content/title.gif) no-repeat top left;
 height: 24px;
 line-height: 26px;
 padding-left: 8px;
 margin-bottom: 10px;
 text-transform: uppercase;
 font-size: 14px;
 text-align: left;
}
#MainContent h2 {
  color: #FF0000;
  font-size: 14px;
  text-transform: uppercase;
  text-align: left;
  height: 22px;
  line-height: 22px;
  padding-left: 5px;
  width: 618px;
  margin: 0 1px 5px 1px;
  background: transparent url(/images/content/background-h2.gif) no-repeat;
}
#MainContent h3 {
  color: #2E3192;
  padding: 5px 5px 3px 20px;
  font-size: 12px;
  background: transparent url(/images/homebox/arrow-chip.gif) no-repeat 5px 8px;
}
#MainContent p {
  margin-bottom: 10px;
  padding: 0 5px;
}
#MainContent ul,
#MainContent ol {
  margin: 0 0 10px 15px;
  padding: 0 5px;
}
#MainContent li {
  padding-bottom: 5px;
}
#MainContent a,
#MainPage a:active {
  color: #2E3192;
  text-decoration: none;
}
#MainContent a:hover {
  text-decoration: underline;
}
#MainContent a:visited {
  color: #1468a9;
}
#MainContent form table {
  width: 100%;
  border-spacing: 5px;
  border-collapse: separate;
}
#MainContent .required,
#MainContent .error {
  color: red;
}
#MainContent .cleaner {
  clear: both;
}
#MainContent .SlideBar {
  padding: 0 5px 15px 5px;
}
#MainContent .center {
  text-align: center;
}
#MainContent .underline {
  text-decoration: underline;
}
#MainContent td.vertical {
  vertical-align: middle;
}
#MainContent .fieldError {
  background: #ECCAB8;
}
#MainContent .ProgramSearchBox {
  border: 1px solid #c0c7d0;
  margin: 10px 0 20px 8px;
  width: 600px;
}
#MainContent .ProgramSearchBox h2 {
  background: #c0c7d0;
  color: #E3272D;
  text-decoration: none;
  width: 600px;
  line-height: 22px !important;
}
#MainContent h2.immo {
  height: 50px;
  width: 592px;
  background: transparent url(http://www.diagnostic-expertise.com/images/defiscalisation/calcul/fond-h2.jpg) no-repeat;
  text-align: right;
  padding: 20px 25px 0 0;
}
#MainContent a.calculTitle {
  text-decoration: underline;
  font-weight: bold;
  font-size: 12px;
}
#MainContent hr {
  margin-bottom: 10px;
}
#MainContent .pictoCalcul {
  float: left;
  margin: 10px;
}
#MainContent .text {
  margin: 15px 10px;
  font-size: 12px;
}
#MainContent .calcul {
  text-align: right;
  margin: 0;
  padding: 0 10px 10px 0;
}
#MainContent .infoLegal {
  text-align: center;
  font-size: 11px;
}
#MainContent #DefiscBox table h2 {
  width: 440px;
  background: none;
  text-transform: none;
  line-height: 16px;
  margin-bottom: 10px;
}
#MainContent #DefiscBox img {
  margin: 25px 10px 10px 10px;
}

/***** MenuBar *****/

#MenuBar {
  height: 41px;
  width: 938px;
  margin: 1px 0 0 4px;
  background: transparent url(/images/menu/background-menu.gif) repeat-x;
}
#MenuBar ul li {
  list-style-type: none;
  float: left;
}
#MenuBar ul .separator {
  height: 33px;
  width: 2px;
  background: transparent url(/images/menu/separator.gif) no-repeat;
}
#MenuBar a{
  display: block;
  color: white;
  font-weight: bold;
  line-height: 33px;
  height: 33px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
#MenuBar .home {
  width: 55px;
  background: transparent url(/images/menu/house.gif) no-repeat 17px 5px;
}
#MenuBar .scellier {
  width: 95px;
}
#MenuBar .social {
  width: 120px;
}
#MenuBar .bbc {
  width: 100px;
}
#MenuBar .overseas {
  width: 145px;
}
#MenuBar .program {
  width: 145px;
}
#MenuBar .calculators {
  width: 145px;
}
#MenuBar .etude {
  width: 93px;
  background: transparent url(/images/menu/important-arrow.gif) no-repeat 5px 8px;
  padding: 0 0 0 26px;
}
#MenuBar a:hover,
#MenuBar a:active, 
#MenuBar .selected {
  color: #FF0000 !important;
  background: transparent url(/images/menu/menu-hover.gif) repeat-x; 
}
#MenuBar .home:hover,
#MenuBar .selected.home {
  background: transparent url(/images/menu/house-hover.gif) no-repeat center; 
}
#MenuBar .etude:hover,
#MenuBar .selected.etude {
  background: transparent url(/images/menu/important-hover.gif) no-repeat left; 
}

/***** SectionMenu *****/

.SectionMenu {
  width: 181px;
  font-weight: bold;
}
.SectionMenu ul {
  list-style-type: none;
}
.SectionMenu .SectionName {
  text-align: center;
  padding: 10px 0;
  font-weight: bold;
  color: #6b7887;
  text-transform: uppercase;
}
.SectionMenu .section a.simulation,
.SectionMenu .section li a {
  display: block;
  height: 28px;
  line-height: 28px;
  margin-bottom: 4px;
  padding-left: 7px;
  background: transparent url(/images/sectionmenu/background-menu.png) no-repeat;
  text-decoration: none;
  color: white;
  font-size: 14px;
  position: relative;
  z-index: 2;
}
.SectionMenu .section a.simulation {
  background: transparent url(/images/sectionmenu/background-simulation.gif) no-repeat;
  padding-left: 30px;
}
.SectionMenu .section a .SectionMenuArrow {
  background: transparent url(/images/sectionmenu/arrow.gif) no-repeat right;
  padding: 0 10px;
}
.SectionMenu .section li a:hover,
.SectionMenu .section li .selected {
  color: #E3272D;
  background: transparent url(/images/sectionmenu/background-menu-hover.png) no-repeat;
}
.SectionMenu .section li .selected {
  position: relative;
  z-index: 2;
}
.SectionMenu .section a.simulation:hover {
  color: #E3272D;
}
.SectionMenu .section a:hover span,
.SectionMenu .section .selected span {
  background: transparent url(/images/sectionmenu/bottom-arrow.gif) no-repeat right;
  padding: 0 10px;
}
.SectionMenu .rubric {

  position: relative;
  z-index: 1;
  margin-top: -8px;
  background: transparent url(/images/sectionmenu/background-rubric.gif) no-repeat bottom;
}
.SectionMenu .rubric li a {
  background: transparent url(/images/sectionmenu/separator.gif) no-repeat top;
  padding: 5px 0 5px 10px;
  font-size: 12px;
  line-height: 27px;
  height: 20px;
  text-transform: none;
  color: black;
}
.SectionMenu .rubric li a.selected,
.SectionMenu .rubric li a:hover {
  color: #E1001A;
  background: transparent url(/images/sectionmenu/separator.gif) no-repeat top;
}
.SectionMenu .section a .SectionMenuArrow3 {
  background: none;
}
.SectionMenu .section a:hover .SectionMenuArrow3,
.SectionMenu .section .selected .SectionMenuArrow3 {
  background: none;
  padding: 0;
}
.SectionMenu .category {
  background: none;
  list-style-type: circle;
  padding: 0 0 10px 20px;
}
.SectionMenu .category li a {
  background: none;
  padding: 0;
  height: 10px;
  line-height: 10px;
  font-size: 12px;
  font-weight: normal;
  text-transform: none;
  color: black;
}
.SectionMenu .category li a.selected,
.SectionMenu .category li a:hover {
  color:#2E3192;
  background: none;
}
.SectionMenu img {
  margin-top: 8px;
}

/***** StickerGouv *****/

#StickerGouv {
  clear: both;
  margin: 10px 0 0 10px;
}
#StickerGouv a {
  display: block;
  width: 160px;
  height: 280px;
  background: transparent url(/images/sectionmenu/sticker-gouvernement.gif) no-repeat;
}

/***** Shows *****/

.SquareFooterShow {
  margin-top: 20px;
  text-align: center;
}

/***** Footer *****/

#Footer {
  height: 18px;
  width: 950px;
  background: transparent url(/images/mainpage-bottom.gif) no-repeat;
  margin-left: -1px;
}
#Footer .FooterLinks {
  float: left;
  color: black;
  padding-top: 25px;
}
#Footer .FooterLinks a {
  padding: 0 3px;
  color: black;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}
#Footer .Copyright {
  float: right;
  margin-top: -40px;
  color: black;
  font-size: 14px;
}
#Footer .Copyright a {
  color: black;
  text-decoration: none;
}

/***** Network *****/

#Network {
  clear: both;
  padding: 5px 10px 5px 2px;
  font-size: 10px;
  color: black;
}
#Network .partners {
  float: left;
  padding-right: 3px;
  font-weight: bold;
}
#Network ul li {
  display: inline;
}
#Network ul li a {
  margin-right: 5px;
  color: black;
  text-decoration: none;
}
#Network ul li a:hover {
  text-decoration: underline;
}
