* {
  border: none;
  margin: 0px;
  padding: 0px;
  text-decoration: none;
}

body {
  background-color: white;
  font: 0.75em/115% "Arial", verdana, helvetica, sans-serif;
  color: black;
}

#intro {
  width: 994px;
  height: 750px;
  margin: 0px auto;
  text-align: center;
  font-size: 15px;
}

#intro a, #layout div.main_footer a {
  color: #F07E3E;
}

#intro a:hover, #layout div.main_footer a:hover {
  color: #F07E3E;
  font-weight: bold;
}

#layout
{
  background: white url("/images/orange.jpg") repeat-y top center;
  position: relative;
  width: 1000px;
  margin: 0px auto;
}

#layout div.main_footer {
  /*height: 50px;*/
  padding: 5px 5px 5px 5px;
  background-color: white;
  text-align: center;
}

#header
{
  background: white url("/images/homemax_logo.jpg") no-repeat top center;
  height: 127px;
  width: 100%;
}

#header h1 {
  display: none;
}

/* ###################### TOP MENU #######################################################" */
#top-menu
{
  position: relative;
  width: 1000px;
  height: 135px;
  background: transparent url("/images/menu_left_decoration.jpg") no-repeat top left;
  top: -70px;
}

#top-menu ul
{
  position: absolute;
  top: 73px;
  left: 130px;
  display: block;
}

#top-menu ul li
{
  list-style-type: none;
  display: block;
  float: left;
  border-top: solid #E87A3C 2px;
  border-bottom: solid #E87A3C 2px;
  height: 27px;
  background-color: white;
  padding: 0px 6px 0px 6px;
}

#top-menu ul li.end
{
  border-right: solid #E87A3C 2px;
}

#top-menu ul li a
{
  display: block;
  position: relative;
  top: 3px;
  float: left;
}

#top-menu ul li a.snack_max {
  width: 85px;
  height: 20px;
  background: url("/images/snack_max_btn.jpg") no-repeat top left;
}

#top-menu a.burger_max {
  width: 90px;
  height: 20px;
  background: url("/images/burger_max_btn.jpg") no-repeat top left;
}

#top-menu a.nippon_max {
  width: 92px;
  height: 20px;
  background: url("/images/nippon_max_btn.jpg") no-repeat top left;
}

#top-menu a.apero_max {
  width: 85px;
  height: 20px;
  background: url("/images/apero_max_btn.jpg") no-repeat top left;
}

#top-menu a.formules {
  width: 75px;
  height: 20px;
  background: url("/images/formules_btn.jpg") no-repeat top left;
}

#top-menu a.pizza_max {
  width: 78px;
  height: 20px;
  background: url("/images/pizza_max_btn.jpg") no-repeat top left;
}

#top-menu a.desserts {
  width: 69px;
  height: 20px;
  background: url("/images/desserts_btn.jpg") no-repeat top left;
}

#top-menu a.promos {
  width: 58px;
  height: 20px;
  background: url("/images/promos_btn.jpg") no-repeat top left;
}

#top-menu a.contacts {
  width: 70px;
  height: 20px;
  background: url("/images/contacts_btn.jpg") no-repeat top left;
}

#top-menu a.link_image:link {background-position: 0 0;}     /* unvisited link */
#top-menu a.link_image:visited {background-position: 0 0;}  /* visited link */
#top-menu a.link_image:hover,  #top-menu a.selected   /* mouse over link */
{
  border-bottom: solid #E87A3C 2px;
}
#top-menu a.link_image:active /* selected link */
{
  border-bottom: solid #E87A3C 2px;
}

#top-menu a.link_image span {
  display: none;
}

/* ###################### MAIN ####################################################### */
#main
{
  position: relative;
  top: -70px;
  background: white url("/images/main_background.jpg") repeat-y top left;
  background-position: 0px 0px;
/*  border: solid red 1px;*/
  width: 100%;
}

/* ----------------------------- BOX */
div.box
{
  float: left;
  border: solid #E87A3C 2px;
  color: black;
  margin-top: 15px;
  background-color: white;
}

#TB_window div.box
{
  border: none;
  width: 98%;
}

div.large
{
  width: 780px;
  padding: 5px;
}

div.larger
{
  width: 98%;
  padding: 5px;
}

.footer
{
display: block;
clear: both;
}


/* ----------------------------- */

/* ###################### LEFT MENU ####################################################### */
#left-menu
{
  margin-top: 25px;
  float: left;
  width: 158px;
}

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

#left-menu ul li a, #left-menu ul li.selected
{
  color: white;
  display: block;
  margin: 3px 0px 0px 0px;
  padding: 2px 5px 0px 0px;
  text-align: right;
  width: 152px;
  height: 17px;
  background: url("/images/left_menu_btn.jpg") no-repeat top left;
  color: white;
  font-weight: bold;
  font-size: 13px;
}

#left-menu ul li a:link, #left-menu ul li a:visited
{
  background-position: 0px 0px;
}

#left-menu ul li a:hover, #left-menu ul li a:active, #left-menu ul li.selected
{
  color: yellow;
  background-position: 5px 0px;
}

#left-menu ul li.minimised
{
  margin-top: 10px;
}

#left-menu ul li.minimised a
{
  background-position: 25px 0px;
}


/* ###################### CARD ####################################################### */
#card
{
  width: 630px;
}

#category-logo img
{
  float: left;
  margin: 5px 10px 5px 5px;
}

#card div.header, #promos div.header
{
  color : #0091BB;
  margin: 5px;
  font-size: 13px;
}

#card div.header strong,  #promos div.header strong
{
  display: block;
  color : #F07E3E;
  margin-top: 15px;
  font-size: 20px;
  font-weight: bolder;
  font-style: normal;
}

#card h2, #TB_window h2
{
  clear: both;
  color: #F07E3E;
  font-size: 15px;
  margin-top: 10px;
  font-weight: bold;
}

#card em
{
  /*font-style: normal;*/
  margin-left: 10px;
  font-size: 12px;
  color : #0091BB;
  font-weight: bold;
  font-style: italic;
}

#card div.content, #promos div.content
{
  margin: 0px 10px 5px 5px;
}

/* ###################### PRODUCT ####################################################### */
div.box div.product
{
  position: relative;
/*  padding: 4px 1px 4px 1px;*/
  /*
  border-left: solid white 2px;
  border-right: solid white 2px;
  border-top: solid white 1px;
  */
  border-bottom: solid #F07E3E 1px;
  width: 99%;
  padding-bottom: 2px;
  margin-top: 2px;
}

div.box div.product a big
{
  color: black;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  border: none;
}

div.box div.product a dfn
{
  display: block;
  font-size: 10px;
  font-style: normal;
  width: 400px;
  cursor: pointer;
}

div.box div.product a span.price
{
  display: block;
  position: absolute;
  bottom: 2px;
  right: 10px;
  font-size: 15px;
  font-weight: bold;
  width: 30px;
  cursor: pointer;
}

#component_list span.price
{
  right: 15px;
  font-size: 13px;
  color: black;
}

div.box  div.product img
{
  display: block;
  position: absolute;
  bottom: -3px;
  right: 60px;
}

div.box div.product a
{
  display: block;
  color: black;
  /*
  border-left: solid white 2px;
  border-right: solid white 2px;
  border-top: solid white 1px;
  border-bottom: solid white 1px;
  */
  padding: 2px 5px 2px 5px;
  cursor: pointer;
  width: 98%;
}


div.box div.product a:link, div.box div.product a:visited, div.box div.product a:hover, div.box div.product a:active
{
  color: black;
  text-decoration: none;
}

div.box div.product a:hover
 {
  background-color: khaki ;
  cursor: pointer;
 }

div.box div.product a.out_of_stock *{
 color: grey;
}

div.box div.product a.out_of_stock:hover
 {
  background-color: white ;
  cursor: pointer;
 }

/* ----------- */


/* ###################### TICKET ####################################################### */

#ticket
{
  width: 195px;
  margin-left: 5px;
  padding: 0px;
  position: absolute;
  top:0px;
  left: 795px;
}
/*
#ticket div.content {
  /*margin: 5px;
}

#ticket #ordered_product_list
{
  position: absolute;
  top: 35px;
  left: 0px;
  height: 200px;
  overflow: auto;
}

#ticket #order_buttons
{
  position: relative;
  margin-top: 200px;
}
*/

#ticket div.ordered_product
{
  position: relative;
  margin-top: 5px;
  width: 195px;
}

div.ticket, div.user
{
  margin-left: 25px;
}

div.ticket div.ordered_product
{
  position: relative;
  margin-top: 5px;
  width: 295px;

}


#ticket div.ordered_product a:link, #ticket div.ordered_product a:visited, #ticket div.ordered_product a:hover, #ticket div.ordered_product a:active
{
  display: block;
  color: black;
  text-decoration: none;
  cursor: pointer;
  width: 140px;
  /*border: 1px solid red;*/
  position: relative;
  top: 3px;
  left: 17px;
}

#ticket div.ordered_product a:hover
{
  color: #F07E3E;
}

div.ordered_product span.name
{
  font-size: 12px;
  text-align: left;
}

div.ordered_product span.price
{
  position: absolute;
  top: 4px;
  right: 2px;
  font-size: 12px;
  font-weight: bold;
}

div.user ul, div.ordered_product ul {
  display: block;
  margin-left: 5px;
}


div.user ul, div.ordered_product ul.root {
  display: block;
  margin: 5px 5px 0px 35px;
}

div.user li, div.ordered_product ul li {
  font-size: 95%;
  /*width: 155px;*/
}


div.summary div.ordered_product ul li.child {
  margin-left: -50px
}

div.total
{
  margin-top: 20px;
  font-weight: bold;
}

#ticket div.header
{
  width: 192px;
  height:26px;
  background: url("/images/ticket_header.jpg") no-repeat top center;
  margin-top: 10px;
}

#ticket div.header h2
{
  display: none;
}

#ticket form.button-to, div.button-to
{
  margin-top: 10px;
  text-align: center;
}

#ticket form.button-to input, div.button-to input
{
  width: 126px;
  height: 23px;
  background: url("/images/command_btn_background.jpg") no-repeat center;
  color: white;
  font-weight: bold;
  font-size: 12px;
  cursor:pointer;
}

#ticket div.ordered_product input
{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 15px;
  height: 15px;
  background: url("/images/delete_btn_background.jpg") no-repeat center;
  font-size: 1px;
  cursor:pointer;
  margin: 2px 2px 2px 2px;
  padding-top: 15px;
}


#ticket  p
{
  color : #F07E3E;
  font-size: 14px;
  text-align: center;
  margin-top: 5px;
}

#ticket #informations p
{
  color : #0091BB;
  margin: 15px 0px 10px 0px;
  font-size: 13px;
  font-weight: bold;
  line-height: 120%;
}

#ticket .out_of_stock {
  color: grey;
}

#ticket #code_form {
  margin: auto;
  text-align: center;
  width: 192px;
}

#ticket #code_form label{
  display: block;
  margin: 5px auto 5px auto;
  color: #F07E3E;
  font-size: 13px;
  width: 190px;
  font-weight: bold;
}

#ticket #code_form input.text{
  display: block;
  border: 1px solid #0091BB;
  width: 10em;
  height: 22px;
  float: left;
  margin-left: 10px;
  margin-bottom: 5px;
}


#ticket #code_form input.valid{
  display: block;
  border: 1px solid #0091BB;
  font-weight: bold;
  background-color: white;
  color: #F07E3E;
  height: 24px;
  float: left;
  margin-left: 2px;
}


#advice
{
  margin: auto;
  width: 180px;
  height: 80px;
  background: url("/images/advice_background.jpg") no-repeat top left;
  position: absolute;
  right: 70px;
  top: 25px;
}

#advice p
{
  display: none;
  color : #F07E3E;
  font-size: 16px;
  /*font-weight: bold;*/
  text-align: center;
  line-height: 120%;
}


/* ###################### USUAL ####################################################### */


div.usual a:link, div.usual a:visited, div.usual a:hover, div.usual a:active
{
  color: #0091BB;
  font-weight: bold;
}

div.usual a:hover
{
  text-decoration: underline;
}

div.usual em
{
  margin-left: 10px;
  margin-top: 10px;
  font-size: 15px;
  color : #0091BB;
  font-weight: bold;
  font-style: italic;
}

div.usual h2, div.usual strong
{
  color: #F07E3E;
  font-size: 18px;
  margin-top: 10px;
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

div.usual h3
{
  color: #F07E3E;
  font-size: 16px;
  margin-top: 10px;
  font-weight: bold;
}

div.usual h4
{
  color: #0091BB;
  font-size: 14px;
  margin-top: 5px;
  font-weight: bold;
}


div.usual p
{
  margin-top: 10px;
  font-size: 13px;
  margin-left: 20px;
  line-height: 1.5em;
}

div.usual .logo
{
  float: left;
  margin: 5px 10px 5px 5px;
}

div.usual div.content {
  clear: both;
}

div.usual ul {
  margin-top: 5px;
  margin-left: 70px;
}


div.advice {
  clear: both;
  text-align: center;
  font-size: 15px;
  line-height: 115%;
}


div.advice a {
  color: #0091BB;
}


/* --------------------------------- FORMS */

div.usual input
{
  margin-top: 10px;
}

div.usual input.text
{
  border: 1px solid #410A00;
  margin-top: 10px;
  width: 300px;
  height: 15px;
  margin-bottom: 5px;
  font-size: 12px;
}

div.usual textarea.text
{
  border: 1px solid #410A00;
  width: 28em;
  height: 15em;
  margin-top: 10px;
  margin-bottom: 5px;
}

div.usual select {
  border: 1px solid #410A00;
  margin-top: 10px;
  width: 300px;
  height: 20px;
  margin-bottom: 5px;
  font-size: 12px;
}

div.usual label
{
  text-align: right;
  width: 250px;
  display: inline;
  float: left;
  margin-left: 20px;
  margin-right: 5px;
  clear: left;
  height: 20px;
  margin-top: 10px;
  font-size: 12px;
}

div.usual label.right
{
  text-align: right;
  display: inline;
  float: none;
  margin-left: 10px;
  clear: both;
  height: 20px;
}


div.usual input.right {
  display: inline;
  clear: both;
  margin-top: 10px;
  margin-left: 190px;

}

div.usual fieldset {
  border: 2px solid #E87A3C;
  padding: 10px;
  width: 90%;
  margin: 15px auto 15px auto;
  color: black;
  margin-top: 15px;
}

div.usual fieldset.small {
  width: 450px;
}

div.usual legend {
  font-size: 14px;
  padding-left: 10px;
  padding-right: 10px;
  color: #E87A3C;
}

div.usual .formError {
  font-weight: bold;
  font-style: italic;
  color: #FFC87A;
  text-align: left;
  margin-left: 200px;
  width: 400px;
  height: 12px;
}

div.usual p.checkbox {
  width: 300px;
  border: solid black 1px;
  margin: auto;
  padding-left: 10px;
  border: 1px solid  #FFA17A;
  color: #FFA17A;
  height: 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

div.usual p.checkbox label, p.checkbox input{
  float: none;
  cursor: pointer;
}


div.usual div.fieldWithErrors input, div.fieldWithErrors textarea {
  border: 2px solid #E87A3C;
}

div.usual .button-to input, .link input, input.button{
  color: #E87A3C;
  font-size: 13px;
  font-weight: bold;
  background-color: white;
  cursor:pointer;
  border: 1px solid  #E87A3C;
  padding: 2px 5px 2px 5px;
  height: 20px;
}

div.usual input.button {
    vertical-align: top;
}

div.usual input.float_right  {
    float: right;
    margin-right: 20px;
    margin-bottom: 10px;
}


div.usual input.aligned, label.aligned{
    margin-left: 220px;
}

div.usual input.checkbox, label.checkbox
{
    height: 20px;
    font-size: 16px;
    vertical-align: middle;
}

div.usual div.inline input {
  border : none;
  padding : 0px;
}

div.usual pre
{
  font-size: 15px;
  margin: 5px 10px 5px 10px;
  border: solid 1px black;
  padding: 5px;
  line-height: 120%
}



div.user ul li strong
{
  color: black;
  font-size: 95%;
  margin: 0px;
}


#errorExplanation
{
  width: 400px;
  text-align: center;
  margin: auto;
  border: solid #E87A3C 2px;
  padding-bottom: 5px;
}



#TB_window_control {
  position: absolute;
  bottom: 0px;
  right: 0px;
}

#component_list div.content {
  position: absolute;
  height: 310px;
  width: 500px;
  overflow: auto;
  top: 150px;
}

#component_list div.content div.product {
  width: 480px;
}


#component_list div.product a img
{
  position: relative;
  display: block;
  left: 0px;
  top: 0px;
}

#loading div.header img.loading_bar {
  position: absolute;
  width: 208px;
  margin: auto;
  top: 250px;
  left: 150px;
}

* img.png {
    background-image: expression(
        this.runtimeStyle.backgroundImage = "none",
        this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "', sizingMethod='image')",
        this.src = "/images/blank.gif"
    );
}

/* ###################### PROMOS ####################################################### */
#promos
{
  width: 630px;
}

#promos div.content
{
  margin-top: 20px;
}

div.box div.promo h2
{
  color: #EE3B92;
  font-size: 18px;
  margin-top: 10px;
  font-weight: bold;
}

div.box div.promo
{
  position: relative;
  margin: 20px 5px 20px 15px;
  border-bottom: solid #F07E3E 1px;
  width: 94%;
  clear: both;
}

div.box div.promo big
{
  color: #F07E3E;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5em;
}

div.box div.promo dfn
{

  font-size: 14px;
  font-style: normal;
}

div.box  div.promo img
{
  float: right;
  margin: 5px 25px 5px 5px;
}


#product_image_box
{
  z-index: 20;
  position: fixed;
  margin-right: 5px;
  margin-top: 10px;
  width: 150px;
  height: 150px;
  border: solid #E87A3C 2px;
  background-color: white;
}

#product_image {
  behavior: url(/stylesheets/iepngfix.htc) }
}
