/*!
 * Datepicker for Bootstrap
 *
 * Copyright 2012 Stefan Petre
 * Improvements by Andrew Rowls
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 */
.haitouDatepicker {
    padding: 4px;
    width: 238px;
    font-size: 12px;
    margin: 0px;
    background-color: #111111;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid #000000;
    border: 1px solid rgba(0, 0, 0, 0.8);
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.haitouDatepicker-dropdown:before {
    content: "";
    border-style: solid;
    width: 0px;
    height: 0px;
    position: absolute;
    border-width: 0 7px 7px 7px;
    border-color: transparent transparent rgba(0, 0, 0, 0.7) transparent;
    top: -8px;
}

.haitouDatepicker table {
    margin: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
}

.haitouDatepicker table tr td,
.haitouDatepicker table tr th {
    text-align: center;
    width: 24px;
    height: 26px;
    border: none;
}

.haitouDatepicker table tr td.day:hover,
.haitouDatepicker table tr td.day.focused {
    color: #fff;
    background: #3388ff;
    cursor: pointer;
    border-radius: 4px;
}

.haitouDatepicker table tr td.old,
.haitouDatepicker table tr td.new {
    color: #999999;
}

.haitouDatepicker table tr td.today,
.haitouDatepicker table tr td.today:hover {
    color: #fff;
    background-color: #3388ff;
    border-radius: 4px;
}

/*
.haitouDatepicker table tr td.today:hover,
.haitouDatepicker table tr td.today:hover:hover,
.haitouDatepicker table tr td.today:focus,
.haitouDatepicker table tr td.today:hover:focus,
.open .dropdown-toggle.haitouDatepicker table tr td.today,
.open .dropdown-toggle.haitouDatepicker table tr td.today:hover {
  color: #000000;
  background-color: #3388ff;
}
.open .dropdown-toggle.haitouDatepicker table tr td.today,
.open .dropdown-toggle.haitouDatepicker table tr td.today:hover {
  background-image: none;
}
.haitouDatepicker table tr td.today:hover:hover {
  color: #fff;
}
.datepicker table tr td.range,
.datepicker table tr td.range:hover {
  background: #eeeeee;
  border-radius: 0;
}
.datepicker table tr td.range.today,
.datepicker table tr td.range.today:hover {
  color: #000000;
  background-color: #f76120;
  border-radius: 0;
}
.datepicker table tr td.range.today:hover,
.datepicker table tr td.range.today:hover:hover,
.datepicker table tr td.range.today:focus,
.datepicker table tr td.range.today:hover:focus,
.datepicker table tr td.range.today,
.datepicker table tr td.range.today:hover {
  color: #000000;
  background-color: #f76120;
}
.open .dropdown-toggle.datepicker table tr td.range.today,
.open .dropdown-toggle.datepicker table tr td.range.today:hover {
  background-image: none;
}
.datepicker table tr td.selected,
.datepicker table tr td.selected:hover {
  color: #ffffff;
  background-color: #999999;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.datepicker table tr td.selected:hover,
.datepicker table tr td.selected:hover:hover,
.datepicker table tr td.selected:focus,
.datepicker table tr td.selected:hover:focus,
.open .dropdown-toggle.datepicker table tr td.selected,
.open .dropdown-toggle.datepicker table tr td.selected:hover {
  color: #ffffff;
  background-color: #858585;
}
.open .dropdown-toggle.datepicker table tr td.selected,
.open .dropdown-toggle.datepicker table tr td.selected:hover {
  background-image: none;
}
*/
.haitouDatepicker table tr td span {
    display: block;
    width: 70px;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
}

.haitouDatepicker.dropdown-menu td span.future,
.haitouDatepicker.dropdown-menu td span.all,
.haitouDatepicker.dropdown-menu td span.history {
    margin-top: 5px;
    color: #fff;
    background: #f76120;
    border-radius: 4px;
}

.haitouDatepicker.dropdown-menu td span.future:hover,
.haitouDatepicker.dropdown-menu td span.all:hover,
.haitouDatepicker.dropdown-menu td span.history:hover {
    background: #dc4808;
}

.haitouDatepicker.dropdown-menu td span.all {
    float: left;
}

.haitouDatepicker.dropdown-menu td span.future {
    float: left;
}

.haitouDatepicker.dropdown-menu td span.history {
    float: left;
    margin-left: 4px;
    margin-right: 4px;
}

.haitouDatepicker table tr td span:hover {
    background: #eeeeee;
}

.haitouDatepicker table tr td span.old,
.haitouDatepicker table tr td span.new {
    color: #999999;
}

.haitouDatepicker thead tr:nth-child(2) {

    border-bottom: 1px solid #3f4044;

}

.haitouDatepicker thead tr:nth-child(3) th {

    height: 32px;

    padding-top: 8px;
}

.haitouDatepicker thead tr:nth-child(2) th.prev,
.haitouDatepicker thead tr:nth-child(2) th.next,
.haitouDatepicker tfoot tr th {
    cursor: pointer;
    height: 32px;
    line-height: 32px;
}

.haitouDatepicker thead tr:nth-child(2) th:hover.prev,
.haitouDatepicker thead tr:nth-child(2) th:hover.next,
.haitouDatepicker tfoot tr th:hover {
    color: #3388ff;
}

.haitouDatepicker .cw {
    font-size: 10px;
    width: 12px;
    padding: 0 2px 0 5px;
    vertical-align: middle;
}

.haitouDatepicker thead tr:nth-child(2) th.cw {
    cursor: default;
    background-color: transparent;
}

.input-group.date .input-group-addon i {
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.input-daterange input {
    text-align: center;
}

.haitouDatepicker.dropdown-menu th,
.haitouDatepicker.dropdown-menu td {
    padding: 3px 5px;
    /* margin: 3px 5px; */
    /* padding: 0px; */
}



.dropdown-menu .item-box {
    padding: 5px;
    max-height: 360px;
    overflow-x: hidden;
    overflow-y: auto;
}

#datepicker {
    width: auto;
    min-width: 90px;
    text-align: left;
    border-radius: 0;
    margin-left: -2px;
}
