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

   reset.css
   * Resets default browser CSS.

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

html {
  margin:0;
  padding:0;
  border:0;
}

body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, dialog, figure, footer, header,
hgroup, nav, section {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* This helps to make newer HTML5 elements behave like DIVs in older browers */
article, aside, details, figcaption, figure, dialog,
footer, header, hgroup, menu, nav, section {
    display:block;
}

/* Line-height should always be unitless! */
body {
  line-height: 1.5;
  background: white;
}

/* Tables still need 'cellspacing="0"' in the markup. */
table {
  border-collapse: separate;
  border-spacing: 10;
  margin-left:10px;
}
/* float:none prevents the span-x classes from breaking table-cell display */
caption, th, td {
  text-align: left;
  font-weight: normal;
  float:none !important;
}
table, th, td {
  vertical-align: middle;
}

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ''; }
blockquote, q { quotes: "" ""; }

/* Remove annoying border on linked images. */
a img { border: none; }

/* Remember to define your own focus styles! */
:focus { outline: 0; }


.top_custom_menu li.current_page_item a {
background: url('../images/border-menuitems-hover.png') no-repeat right 0 #c80f37;
border-radius: 2px 0px 0px 2px;
}

.top_custom_menu li{
position: relative;
}

.sub-menu{
display: none;
}

.nav_m_main ul li:hover .sub-menu, .main ul li .sub-menu:hover {
display: block;
position: absolute;
top: 80px;
left: 0;
z-index: 11;
min-width: 200px;
list-style: none;
background: url('../images/background-header-nav.png') repeat-x 0 0;
}

.top_custom_menu li > .sub-menu > li a{
background: url('../images/background-header-nav.png') repeat-x 0 0 !important;
}

.top_custom_menu li > .sub-menu > li a:hover{
background: url('../images/border-menuitems-hover.png') no-repeat right 0 #c80f37 !important;
}

.current_page_parent, .top_custom_menu li > .sub-menu > li.current_page_item a{
background: url('../images/border-menuitems-hover.png') no-repeat right 0 #c80f37 !important;
}


.sub-menu li {
margin-top: 2px;
}

.sub-menu li a {
padding-left: 8px;
padding-right: 10px;
display: block;
text-decoration: none;
color: #fff;
}
