.col-auto {
    flex: 0 0 auto;
    width: auto;
}
.ml-auto {
    margin-left: auto !important;
}
@media (max-width: 1199.98px) {
    #calendar {
        background: #fff;
        padding-top: 1rem;
    }
}
@media (max-width: 767.98px) {
    #calendar {
        margin: 0 -1rem;
    }
}
.ecalendar {
    table-layout: fixed;
    font-size: 14px;
}
.ecalendar__month {
    font-size: 14px;
}
.ecalendar__event-box {
    height: 6px;
    border-radius: 4px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 6px;
	background: #9b57a6;
}
.ecalendar__event-box.holiday {
    background-color: #ffe3e4;
    max-width: 53px;
    border-radius: 4px;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    max-width: 100%;
}
.ecalendar__event-box.holiday.holiday-us {
    background-color: #fff;
    right: 0px;
    bottom: 0px;
    content: "US";
    font-size: 9px;
    display: inline;
    height: 12px;
    width: 21px;
    line-height: 12px;
    text-align: center;
    background: #ff5800;
    color: #fff;
    border-radius: 2px;
    position: relative;
    display: block;
    margin-bottom: 2px;
    z-index: 1;
}
.ecalendar__event-box.holiday.holiday-us:after {
    content: "US";
}
.ecalendar__event-box.federal {
    width: 23px;
    height: 5px;
    position: relative;
    border-radius: 5px;
    background: #3cccd6;
    margin-bottom: 2px;
    z-index: 1;
}
.ecalendar__event-box.market-result {
    width: 23px;
    height: 5px;
    position: relative;
    border-radius: 5px;
    background: #b945e2;
    margin-bottom: 2px;
    z-index: 1;
}
.ecalendar__event-box.dividend {
    width: 23px;
    height: 5px;
    position: relative;
    border-radius: 5px;
    background: #299c26;
    margin-bottom: 2px;
    z-index: 1;
}
.ecalendar__event-box.new-listing {
    width: 23px;
    height: 5px;
    position: relative;
    border-radius: 5px;
    background: #ff5800;
    margin-bottom: 2px;
    z-index: 1;
}
.ecalendar__event-box.econ-event {
    width: 23px;
    height: 5px;
    position: relative;
    border-radius: 5px;
    background: #2f80ed;
    margin-bottom: 2px;
    z-index: 1;
}
.ecalendar__event-box.stock-connect {
    right: 0px;
    bottom: 0px;
    font-size: 9px;
    display: inline;
    height: 12px;
    width: 21px;
    line-height: 12px;
    text-align: center;
    background: #d40a0e;
    color: #fff;
    border-radius: 2px;
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 2px;
}
.ecalendar__event-box.stock-connect:after {
    content: "北";
}
.ecalendar__event-box.expiring {
    background: #d40a0e;
    width: 7px;
    height: 7px;
    left: 0;
    right: 0;
    top: 7px;
    margin-left: auto;
    margin: 0 auto;
    border-radius: 50%;
    z-index: 1;
    transform: translateX(-17px);
}
.ecalendar__event-box.expiring ~ .holiday {
    display: none;
}
.ecalendar__event-name {
    display: none;
}
.ecalendar__popup {
    z-index: 100;
}
.ecalendar__popup-box {
    width: 370px;
    padding: 20px 16px 0 16px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0px 0px 8px 5px rgba(0, 0, 0, 0.07);
    z-index: 100;
    right: 0;
    margin-top: 30px;
    display: block;
    position: absolute !important;
}
.ecalendar__popup-box .ecalendar__dummy {
    top: 102px;
}
@media (max-width: 767.98px) {
    .ecalendar__popup-box .ecalendar__dummy {
        top: 130px;
    }
}
@media (max-width: 991.98px) {
    .ecalendar__popup-box {
        right: auto;
        left: 16px;
    }
}
@media (max-width: 767.98px) {
    .ecalendar__popup-box {
        left: 0 !important;
        width: 100% !important;
        top: 0 !important;
        position: fixed !important;
        margin: 0;
        height: 100%;
        padding-top: 3rem;
    }
}
.ecalendar__mask {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 1;
    top: 0;
    left: 0;
    display: none;
    z-index: 99;
}
.ecalendar__title {
    font-size: 1.875rem;
    line-height: 1;
}
.ecalendar__close {
    color: #8c8e90;
    cursor: pointer;
}
.ecalendar__close:hover {
    color: gray;
}
.ecalendar__year {
    font-size: 18px;
    margin: 0;
    line-height: 22px;
    text-align: center;
    font-weight: 600;
    color: #000;
    margin-right: 0.5rem;
}

.ecalendar__prev {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url(/home/images/icons/icon-calendar-left-arrow-blue.svg) no-repeat center;
    cursor: pointer;
}
.ecalendar__prev:hover {
    background: url(/home/images/icons/icon-calendar-left-arrow-black.svg) no-repeat center;
}
.ecalendar__disabled {
    pointer-events: none;
    opacity: 0;
}
.ecalendar__next {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url(/home/images/icons/icon-calendar-right-arrow-blue.svg) no-repeat center;
    cursor: pointer;
}
.ecalendar__next:hover {
    background: url(/home/images/icons/icon-calendar-right-arrow-black.svg) no-repeat center;
}
.ecalendar__weekday {
    text-align: center;
    font-size: 12px;
    color: #936846;
    font-weight: 600;
    height: 26px;
    vertical-align: middle;
    /*background: #f5f5f5;*/
}
.ecalendar__td {
    z-index: 4;
    padding: 0px !important;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    border-bottom: 1px solid #e8e8e8;
}
.ecalendar__date-box {
    min-height: 58px;
    line-height: 30px;
    margin-bottom: 0px;
    padding-bottom: 5px;
    position: relative;
    background: #fff;
}
.ecalendar__date-box.hv-event{ 
	cursor: pointer;
}
.ecalendar__date-box.next-month,
.ecalendar__date-box.prev-month {
    color: #e8e8e8;
}
@media (min-width: 992px) {
    .ecalendar__date-box {
        min-height: 66px;
    }
}
.ecalendar__date-box.invert {
    height: 30px;
    line-height: 30px;
    margin-bottom: 23px;
    position: relative;
    background: #d8f5f7;
}
.ecalendar__date-box.invert.ecalendar__hvevent,
.ecalendar__date-box.invert[data-weekday="5"],
.ecalendar__date-box.invert[data-weekday="6"] {
    background: #fff;
}
.ecalendar__today {
    color: #f0a470 !important;
}
.ecalendar__dummy {
    position: absolute;
    left: 0;
    top: 0px;
}
.ecalendar__date-num {
    position: relative;
    z-index: 1;
    line-height: 1;
    padding: 10px 0 3px 0;
    font-weight: 600;
}
.calendar-toolip .calendar-tooltip__scroll {
    display: flex;
    flex-wrap: wrap;
}
.calendar-toolip .etooltip__content {
    background: #fff;
    color: #000;
    max-width: 300px;
    width: 300px;
    box-shadow: 0 2px 6px rgba(56, 65, 74, 0.2);
    -webkit-appearance: none;
    -webkit-box-shadow: 0 2px 6px rgba(56, 65, 74, 0.2);
    padding: 0;
}
.calendar-toolip .calendar-tooltip__container {
    overflow: hidden;
    width: 100%;
    order: 1;
}
.calendar-toolip .etooltip__tail {
    border-color: #fff rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
    display: none;
}
.calendar-toolip .calendar-tooltip__scroll {
    max-height: 300px;
    width: 100%;
    overflow-y: auto;
}
.calendar-toolip .calendar-tooltip__title {
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    border-bottom: 1px solid #d2d2d2;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
}
.calendar-toolip .calendar-tooltip__links {
    display: flex;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    font-size: 14px;
}
.calendar-toolip .calendar-tooltip__texts {
    display: flex;
    flex-wrap: wrap;
    padding: 7px 5px;
    font-size: 14px;
}
.calendar-toolip .calendar-tooltip__container.federal .calendar-tooltip__title {
    border-left: 4px solid #3cccd6;
}
.calendar-toolip .calendar-tooltip__container.stock-connect .calendar-tooltip__title {
    border-left: 4px solid #ff5800;
}
.calendar-toolip .calendar-tooltip__container.econ-event .calendar-tooltip__title {
    border-left: 4px solid #2f80ed;
}
.calendar-toolip .calendar-tooltip__container.market-result {
    order: 9;
}
.calendar-toolip .calendar-tooltip__container.market-result .calendar-tooltip__title {
    border-left: 4px solid #b945e2;
}
.calendar-toolip .calendar-tooltip__container.dividend .calendar-tooltip__title {
    border-left: 4px solid #299c26;
}
.calendar-toolip .calendar-tooltip__container.new-listing .calendar-tooltip__title {
    border-left: 4px solid #ff5800;
}
.calendar-toolip .calendar-tooltip__container.expiring .calendar-tooltip__title {
    border-left: 4px solid #d40a0e;
}
.calendar-toolip .calendar-tooltip__container.holiday-hk .calendar-tooltip__title,
.calendar-toolip .calendar-tooltip__container.holiday-us .calendar-tooltip__title,
.calendar-toolip .calendar-tooltip__container.holiday-china .calendar-tooltip__title {
    border-left: 4px solid #d40a0e;
}
.calendar-toolip .calendar-tooltip__container.holiday-hk {
    order: 1;
}
.calendar-toolip .calendar-tooltip__container.stock-connect {
    order: 2;
}
.calendar-toolip .calendar-tooltip__container.holiday-us {
    order: 3;
}
.calendar-toolip .calendar-tooltip__container.market-result {
    order: 4;
}
.calendar-toolip .calendar-tooltip__container.federal {
    order: 5;
}
.calendar-toolip .calendar-tooltip__container.econ-event {
    order: 6;
}
.calendar-toolip .calendar-tooltip__container.new-listing {
    order: 7;
}
.calendar-toolip .calendar-tooltip__container.dividend {
    order: 8;
}
.calendar-toolip .calendar-tooltip__container.expiring {
    order: 9;
}
.calendar-tooltip__box::-webkit-scrollbar {
    width: 18px;
}
.calendar-tooltip__box::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-left: 12px solid #004568;
}
.calendar-tooltip__box::-webkit-scrollbar-thumb {
    background: #fff;
    border-left: 12px solid #004568;
}
.calendar-tooltip__box::-webkit-scrollbar-thumb:hover {
    background: #fff;
}
.calendar-tooltip-event-item {
    overflow: hidden;
}
.calendar-tooltip-event-item + .calendar-tooltip-event-item {
    margin-top: 20px;
}
.ecalendar__event-box.alert {
    width: 5px;
    height: 5px;
    background: #d40a0e;
    padding: 0 !important;
    border-radius: 50%;
    border: none;
    right: auto;
    left: 5px;
    top: 10px;
}
.ecalendar__event-box.last-trade,
.ecalendar__event-box.first-trade {
    display: none;
}
.next-month .ecalendar__event-box,
.prev-month .ecalendar__event-box {
    display: none;
}
.calendar {
    overflow: hidden;
}
.calendar__remarks.inner {
    margin: 25px 0 0 3px;
}
@media (max-width: 767.98px) {
    .calendar__remarks.inner {
        margin: 20px -14px;
    }
}
.calendar__remarks.inner .row > * {
    border: 1px solid #e7e7e7;
    padding: 0;
    margin: 0 -1px -1px 0px;
}
.calendar__remarks.inner label {
    padding: 8px 10px 7px 10px;
    display: block;
    position: relative;
    cursor: pointer;
}
@media (max-width: 767.98px) {
    .calendar__remarks.inner label {
        padding-left: 1rem;
    }
}
.calendar__remarks.inner input {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 16px;
    height: 16px;
}
.calendar__remarks.inner .calendar__remarks-item {
    padding-right: 15px;
}
@media (max-width: 767.98px) {
    .calendar__inner-table {
        margin-left: -1rem;
        margin-right: -1rem;
        margin-right: -14px;
        width: calc(100% + 28px);
    }
}
.calendar .next.ecalendar {
    animation: 0.3s swipeOut2 linear forwards;
}
.calendar .next.ecalendar__dummy {
    animation: 0.3s swipeOut linear forwards;
}
.calendar .prev.ecalendar {
    animation: 0.3s swipeIn2 linear forwards;
}
.calendar .prev.ecalendar__dummy {
    animation: 0.3s swipeIn linear forwards;
}
.calendar__remarks-item {
    font-size: 14px;
    padding-left: 1.75rem;
    position: relative;
}
@media (max-width: 767.98px) {
    .calendar__remarks-item {
        font-size: 10px;
    }
}
.calendar__remarks-item:before {
    position: absolute;
    left: 0;
    top: 5px;
    width: 18px;
    height: 5px;
    border-radius: 3px;
    content: "";
}
.calendar__remarks-item.holiday:before {
    height: 18px;
    width: 18px;
    background: #ffe3e4;
    top: -1px;
}
.calendar__remarks-item.holiday-us:before {
    position: absolute;
    top: -1px;
    content: "US";
    font-size: 10px;
    display: inline;
    height: 18px;
    width: 18px;
    line-height: 18px;
    text-align: center;
    background: #ff5800;
    color: #fff;
    border-radius: 3px;
}
.calendar__remarks-item.stock-connect:before {
    position: absolute;
    top: -1px;
    content: "北";
    font-size: 12px;
    display: inline;
    height: 18px;
    width: 18px;
    line-height: 18px;
    text-align: center;
    background: #d40a0e;
    color: #fff;
    border-radius: 3px;
}
.calendar__remarks-item.econ-event:before {
    background: #2f80ed;
}
.calendar__remarks-item.federal:before {
    background: #3cccd6;
}
.calendar__remarks-item.market-result:before {
    background: #b945e2;
}
.calendar__remarks-item.dividend:before {
    background: #299c26;
}
.calendar__remarks-item.new-listing:before {
    background: #ff5800;
}
.calendar__remarks-item.expiring:before {
    width: 8px;
    height: 8px;
    background: #d40a0e;
    border-radius: 50%;
    top: 4px;
    left: 5px;
}
@keyframes swipeOut {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-100%);
    }
}
@keyframes swipeOut2 {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0%);
    }
}
@keyframes swipeIn {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(100%);
    }
}
@keyframes swipeIn2 {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0%);
    }
}
.etooltip {
    position: absolute;
    transform: translateY(-100%) translateX(-50%);
    z-index: 999;
}
@media (max-width: 767.98px) {
    .etooltip {
        position: fixed;
    }
}
.etooltip__container {
    position: relative;

}
.etooltip.bottom-side .etooltip__container {
    position: relative;
    padding: 10px 0 0px 0;
}
.etooltip__content {
    background: #000;
    color: #fff;
    padding: 6px 12px;
    max-width: 300px;
    border-radius: 4px;
}
.etooltip__content.hold {
    pointer-events: none;
}
.etooltip__tail {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 6px 0 6px;
    border-color: #000 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    margin-top: -1px;
}
.etooltip.bottom-side .etooltip__tail {
    width: 0;
    border-width: 0 6px 6px 6px;
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #000 rgba(0, 0, 0, 0);
    top: 4px;
}
.tooltip-fadeIn {
    animation: tooltip-fadeIn 0.15s linear forwards;
}
.bottom-side.tooltip-fadeIn {
    animation: tooltip-fadeIn2 0.15s linear forwards;
}
@media (max-width: 767.98px) {
    .etooltip.calendar-toolip {
        top: 50% !important;
        transform: translateY(-50%) !important;
        left: 1rem !important;
        right: 1rem !important;
        width: calc(100% - 2rem) !important;
        animation: none !important;
    }
    .etooltip.calendar-toolip .calendar-tooltip__scroll {
        max-height: 80vh;
    }
    .etooltip.calendar-toolip .etooltip__content {
        max-width: 100%;
        width: 100%;
    }
}
.tooltip__mask {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 8;
}
.tooltip__close {
    position: absolute;
    width: 24px;
    height: 24px;
    background: url(/home/images/icons/icon-close-white.svg) #d40a0e center no-repeat;
    top: -12px;
    right: -12px;
    border-radius: 20px;
    background-size: 12px;
}
@keyframes tooltip-fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-115%) translateX(-50%);
    }
    to {
        opacity: 1;
        transform: translateY(-100%) translateX(-50%);
    }
}
@keyframes tooltip-fadeOut {
    0% {
        opacity: 1;
        transform: translateY(-100%) translateX(-50%);
    }
    to {
        opacity: 0;
        transform: translateY(-110%) translateX(-50%);
    }
}
@keyframes tooltip-fadeIn2 {
    0% {
        opacity: 0;
        transform: translateY(10%) translateX(-50%);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}