/* Some resets for compatibility with existing CSS */

.date_selector, .date_selector * { width: auto; height: auto; border: none; background: none; margin: 0; padding: 0; text-align: left; text-decoration: none; }

div.date_selector { background: #F5F5F5; border: 2px solid #cac9c7; padding: 5px; margin: -1px 0 0 0; position: absolute; z-index: 100000; display: none;}
div.date_selector_ieframe { position: absolute; z-index: 99999; display: none; }

div.date_selector p.month_nav { margin: 0 0 5px 0; font-weight: bold; }
div.date_selector span.month_name { line-height: 20px; display: block; text-align: center; }
div.date_selector p.month_nav a { display: block; position: absolute; top: 5px; width: 20px; height: 20px; line-height: 20px; text-align: center; overflow: hidden; }
div.date_selector p.month_nav a:hover,
div.date_selector p.month_nav a:focus { background: none; text-decoration: none; }
div.date_selector .prev { left: 5px; }
div.date_selector .next { right: 5px; }
  
table.form-table div.date_selector table { border-collapse: collapse; border-spacing: 0; width: auto; }
table.form-table div.date_selector th,
table.form-table div.date_selector td { width: 35px; height: 30px; line-height: 30px; padding: 0; text-align: center; }
table.form-table div.date_selector th { background: none; }
table.form-table div.date_selector td { border: 1px solid #ccc; white-space: nowrap; font-size: 1.3em; }
table.form-table div.date_selector td.today { background: transparent url(images/features-head-bg.png) 0 0 repeat; }
table.form-table div.date_selector td.unselected_month { color: #ccc; }
table.form-table div.date_selector td a { display: block; text-decoration: none !important; width: 100%; height: 100%; line-height: 30px; color: #a52100; text-align: center; }
table.form-table div.date_selector td.today a { background: transparent url(images/features-head-bg.png) 0 0 repeat; }
table.form-table div.date_selector td.selected a { background: #f0c531; font-weight: bold; }
table.form-table div.date_selector td a:hover { background: #a52100; color: #fff; }

