@import url("//fonts.googleapis.com/css2?family=Fira+Sans:wght@300;400;700&display=swap");
@import url("//fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap");
@import url("//fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;700&display=swap");
@import url("//fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;700&display=swap");
/********************************************** CUSTOM FONT DECLARTIONS **************************************************/

/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/


/*************************************************** MAIN RULES **********************************************************/
body {
    padding: 0;
    margin: 0;
    font-family: 'Fira Sans', sans-serif;
    font-size: 16px;
    color: #333333;
    /*    background: #ECEFF6;*/

}

* {
    outline: 0;
}

.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-size: 16px;
    font-family: 'Fira Sans', sans-serif;
    color: #707070;
}

body.zh-tw,
body.zh-tw .tabItem,
body.zh-tw .tab-active,
body.zh-tw .form input,
body.zh-tw .form select,
body.zh-tw .next-event {
    font-family: 'Noto Sans TC', sans-serif;
}

body.zh-cn,
body.zh-cn .tabItem,
body.zh-cn .tab-active,
body.zh-cn .form input,
body.zh-cn .form select,
body.zh-cn .next-event {
    font-family: 'Noto Sans SC', sans-serif;
}

body {
    padding: 0 1px;
}

.wrapper {
    width: 100%;
    max-width: 1586px;
    margin: 0 auto;
    padding: 0 0 0 0;
    position: relative;
}

a:link,
a:visited,
.hyperlink,
.check-subscription-link {
    color: #004280;
    text-decoration: none;
}

a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    color: #333333;
}

.footer {
    padding: 0em;
}

/*********************************************** END OF MAIN RULES *******************************************************/

/********************************************* ALIGNMENT FOR CALENDAR ****************************************************/

/* NEXT EVENT HEADER */
.next-event {
    display: none;
    padding-bottom: 1em;
}

.next-event div.lable {
    line-height: normal;
    margin: 0px;
    padding: 0px;
    font-size: 1.25em;
    font-weight: bold;
    padding-top: 0em;
    padding-bottom: 1.0em;
    color: #003E5C;
    display: none;
}

.next-event div.date-time,
.next-event div.event-name {
    padding-bottom: 0.5em;
}

/* END OF NEXT EVENT HEADER */

/* CALENDAR TIMELINE */
.time-line-item {
    padding-top: 0.75em;
    margin: -0.08em 0 0 -0.08em;
    border: 0px;
    border-top: 0.08em solid #DBDBDB;
    text-align: center;
    transition: background 0.5s;
}

.time-line-item:hover {
    background-color: transparent;
    color: #4866B4;
}

.color-dot-box .display-none {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    border: 0.08em solid #DBDBDB;
    border-radius: 20px;
}

.color-dot-box .color-dot {
    display: none;
}

.calendar-time-line .current-month .time-line-item {
    background-color: transparent;
}

.calendar-time-line .year {
    font-size: 1em;
    padding-bottom: 2em;
    line-height: normal;
}

/* CALENDAR TIMELINE END */

/* + BUTTON CONTROLS */
.expand-collapse > .exco-text {
    display: inline-block;
    text-align: center;
    color: #707070;
    font-size: 1.5em;
    width: 1.15em;
    height: 1.15em;
    line-height: 1.25em;
    border: 0.16em solid #DBDBDB;
    border-radius: 0.75em;
}

.expand-collapse > .exco-text:hover,
.expand-collapse.expand > .exco-text {
    background-color: #DBDBDB;
    border-right-color: #DBDBDB;
    color: #707070 !important;
}

/* END OF + BUTTON CONTROLS */

/* EVENT ROWS */
.content-headline {
    margin-left: 2.5em;
    border-left: 0em solid transparent;
    border-right: 0em solid transparent;
    border-bottom: 0em solid #D3D3D4;
    padding-bottom: 2em;
    padding-top: 2em;
}

.box-border {
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0.08em solid #eaebe9;
}

/* END OF EVENT ROWS */

/* FILTERS */
.filter-type ul li {
    float: none;
    padding: 0.25em 0.5em;
    display: inline-block;
}

.filter-type {
    border-bottom: 0.08em solid #D3D3D4;
    padding-bottom: 0.6em;
}

/* END OF FILTERS */

/* PAGINATION */
.eupagination > li > a,
.eupagination > li > span {
    font-weight: normal;
    margin: 0em .4em .4em 0;
    line-height: normal;
    color: #999999;
    text-decoration: none;
    background-color: transparent;
    border: 1px solid #999999;
    border-radius: 0;
}

.eupagination > li > a:hover,
.eupagination > li > span:hover {
    background-color: #476fff;
    color: #fff !important;
    border-radius: 0em;
    border-color: #4866B4;
}

.eupagination > .active > a,
.eupagination > .active > span,
.eupagination > .active > a:hover,
.eupagination > .active > span:hover,
.eupagination > .active > a:focus,
.eupagination > .active > span:focus {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #476fff;
    border-color: #476fff;
    font-weight: normal;
}

.eupagination > li:last-child > a,
.eupagination > li:last-child > span {
    border-radius: 0em;
}

.eupagination > li:first-child > a,
.eupagination > li:first-child > span {
    border-radius: 0em;
}

.eupagination > li > a,
.eupagination > li > span {
    position: relative;
    float: left;
    height: 20px;
    width: 8px;
    padding: 15px 20px;
    line-height: 18px;
}

.zh-TW .eupagination > li > a,
.zh-TW .eupagination > li > span,
.zh-CN .eupagination > li > a,
.zh-CN .eupagination > li > span {
    padding: 14.2px 20px;
}

/* END OF PAGINATION */

/****************************************** END OF ALIGNMENT FOR CALENDAR ************************************************/

/*************************************************** BUTTONS *************************************************************/
.btn,
.btn-primary,
.btn-submit,
.btn-cancel,
.btn:focus,
.btn-primary:focus,
.btn-submit:focus,
.btn-cancel:focus {
    background: #FFFFFF;
    color: #032a72 !important;
    padding: 1.0em 1.0em 1.0em 1.0em;
    border: 1px solid #032a72;
    font-size: 1em;
    font-family: inherit;
    font-weight: normal;
    border-radius: 2em 2em 2em 2em;
    height: auto;
    text-decoration: none;
    line-height: normal;
    transition: background 0.5s, color 0.5s, border 0.5s;
    min-width: 11em;
    line-height: 14px;
}

.btn:active,
.btn-primary:active,
.btn-submit:active,
.btn-cancel:active,
.btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.btn-cancel:hover {
    background: #4564ff;
    cursor: pointer;
    border-color: #4564ff;
    color: #fff !important;
}

.btn-subscribe-wrapper .btn {
    background-image: url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/ky-msk/icon/subscriber_background.png");
    height: auto;
    border-radius: 0;
    background-color: transparent;
    border: none;
    background-repeat: no-repeat;
    min-width: auto;
    padding: 1.0em 4em 1.0em 2em;
}

.btn-subscribe-wrapper .btn {
    color: #fff !important;
}

body.zh-cn .btn-subscribe-wrapper .btn,
body.zh-tw .btn-subscribe-wrapper .btn {
    padding: 1em 6em 1.0em 3em;
}

/************************************************ END OF BUTTONS *********************************************************/

/***************************************************** TABS **************************************************************/
.tabs-wrapper {
    margin: 1em 0 1.5em 0;
}

.tabs {
    background-color: transparent;
    margin-top: 2em;
    margin-bottom: 2em;
    height: auto;
    line-height: normal;
    float: none;
    font-size: 0;
    text-align: center;
    border-radius: 0px;
}

.tabs li {
    float: none;
    margin: 0 8px;
    display: inline-block;
}

.tabItem {
    height: 54px;
    line-height: normal;
    padding: 15px 3em !important;
    text-decoration: none;
    font-weight: normal;
    font-style: normal;
    background: #FFFFFF;
    border: 1px solid #032a72;
    color: #032a72 !important;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    font-size: 18px;
    position: relative;
    min-width: 14em;
    border-radius: 3em 3em 3em 3em;
    text-align: center;
    transition: background 0.5s, color 0.5s, border 0.5s;
}

body.zh-cn .tabItem,
body.zh-tw .tabItem {
    line-height: 18px;
}

.tab-active {
    background: #4564ff;
    color: #ffffff !important;
    border-color: #4564ff;
    cursor: default;
    font-weight: normal;
    position: relative;
    top: 0px;
    left: 0px;
}

.tabItem:hover {
    background: #4564ff;
    color: #ffffff !important;
    border-color: #4564ff;
    cursor: pointer;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
}

/* YEAR BUTTONS */
.year-filter ul {
    margin: 1em 0;
}

.year-filter ul li {
    padding: 0;
    margin: 0;
    display: inline-block;
}

.year-filter ul li a {
    height: auto;
    font-size: 1em;
    line-height: normal;
    padding-top: 0.5em !important;
    padding-bottom: 0.5em !important;
    padding-left: 1.0em;
    padding-right: 1.0em;
    text-decoration: none;
    font-weight: normal;
    font-style: normal;
    background: #ffffff;
    border: 0.08em solid #032a72;
    transition: background 0.5s, color 0.5s, border 0.5s;
    color: #032a72;
    border-radius: 3em 3em 3em 3em;
    margin: 0;
    display: inline-block;
    margin-top: 5px;
}

li.selected .year-filter ul li a.selected {
    background: #1D5991 !important;
}

/* END OF YEAR BUTTONS */
/* REQUIRED TO OVERWRITE MAIN CSS */
.en-gb .tabItem {
    text-transform: none;
}

/* END OF IT */
/************************************************** END OF TABS **********************************************************/

/********************************************* MODAL WINDOW CONTROLS *****************************************************/
.modal-title {
    line-height: normal;
    margin: 0px;
    padding: 0px;
    font-size: 1.2em;
    font-weight: normal;
    padding-top: 0em;
    padding-bottom: 0em;
    color: #666;
}

.modal-header .close {
    margin-top: 0.1em;
    font-size: 2.0em;
    line-height: 0.25em;
}

li.type {
    width: 100%;
    padding: 0.5em 0;
    font-size: 14px;
    font-weight: normal;
    white-space: normal;
}

.checkbox-event-type {
    padding: 0;
}

label {
    vertical-align: text-top;
}

.modal-body {
    position: relative;
    padding: 2em;
    padding-top: 0px;
}

.your-preference-title {
    text-align: left;
    padding: 0 0 1em 0;
    color: #4866B4;
    font-weight: normal;
}

.your-preferences {
    background-color: transparent;
    box-sizing: border-box;
    border: 0em solid #DBDBDB;
    padding: 1em 0 1em 0;
    font-size: 14px;
}

.form input,
.form select {
    font-size: 1em;
    padding: 8px 20px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #4F4F4F;
    border-radius: 2px;
    height: auto;
}

.file-type-pdf {
    background-image: url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/ky-msk/icon/pdf_of_FC.png");
}

.form .lable {
    padding-right: 1em;
    height: auto;
    vertical-align: middle;
    line-height: normal;
    margin-top: 0.45em;
}
.attachment-icon {
    width: 18px;
    height: 20px;
}
/***************************************** END OF MODAL WINDOW CONTROLS **************************************************/

/**************************************************** TOOLTIP ************************************************************/
.popup-date {
    line-height: normal;
}

.popup-event-name {
    line-height: normal;
    padding: 0.25em 0;
}

.etooltip {
    border: 0.08em solid #003E5C;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    background: #fff;
    box-shadow: 0 0.08em 0.32em #003E5C;
    -moz-box-shadow: 0 0.08em 0.32em #DBDBDB;
    -webkit-box-shadow: 0 0.08em 0.32em #DBDBDB;
}

.etooltip .tip-arrow {
    background: transparent;
}

/************************************************* END OF TOOLTIP ********************************************************/
/*THIS IS REQUIRED*/
@media(max-width:640px) {
    li.type {
        width: 100% !important
    }
}

@media (max-width:479px) {
    #PastEventsContainer .attachments {
        margin-top: 0 !important;
    }

    .button-wrraper {
        margin-top: 1em !important
    }

    .headline .headline-right {
        float: none;
        margin-top: 0.5em;
    }

}

@media(max-width:471px) {
    .checkbox-event-type li.type div span:first-child {
        margin-left: 1em !important;
    }
}

@media(max-width:462px) {
    input.btn.btn-default.btn-cancel {
        margin-bottom: 5px;
    }
}

@media(max-width:425px) {
    body {
        font-size: 14px;
    }
}

@media(max-width:395px) {
    .checkbox-wrapper {
        min-width: 7em;
    }
}

@media(max-width:390px) {
    .tabs li {
        display: block;
        margin: auto;
        margin-bottom: 5px;
        width: 82%;
    }

    .tabs {
        background-color: transparent;
        width: auto;
    }

    .tabItem {
        padding: 1em 1em !important;
    }

    .tabItem,
    .tab-active,
    .form input,
    .form select,
    .next-event {
        font-size: 14px;
    }
}

@media(max-width:365px) {

    .TickerValueTD,
    .TickerNameTD {
        padding-left: 1em;
        padding-right: 1em;
    }
}

@media (max-width:320px) {
    .subscription-section .btn-subscribe-wrapper {
        float: none;
        width: 100% !important;
        padding-top: 0.5em !important;
    }

    .export-types {
        padding-bottom: inherit;
    }
}

/*END*/

.show-hide-toggle {
    display: block !important;
}

.expand-collapse {
    display: none !important;
}

.content-headline {
    margin-left: 0 !important;
}

.time-line-month-name:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 20px;
    position: relative;
    top: -16px;
    margin: 0 auto;
    font-size: 11px;
    background: #A0A0A0;
    color: #A0A0A0;
}

li.current-month .time-line-item .time-line-month-name:before {
    background: #476fff;
    color: #476fff;
    width: 12px;
    height: 12px;
    top: -14px;
}

li.current-month .time-line-item {
    padding-top: 0.5em;
}

.calendar-time-line .current-month {
    font-weight: normal;
    color: #476fff;
}

li.current-month .time-line-item .time-line-month-name:after {
    content: "";
    border-bottom: 0.08em solid #476fff;
    display: block;
    width: 30px;
    margin: 0 auto;
    margin-top: 5px;
}

.subscription-header,
.export-header {
    display: none;
}

.subscription-section {
    float: none;
    text-align: center;
}

.check-subscription-link .link {
    text-decoration: none;
    color: #333333;
    font-weight: normal;
}

.check-subscription-link {
    text-align: center;
    padding-bottom: 8px;
    color: #2e6da4;
    font-size: .9em;
    margin: auto;
    margin-bottom: 5em;
    margin-top: 2em;
    width: 13em;
}

.filter-type .selected .type-filter-name {
    font-weight: normal;
    text-decoration: underline;
}

.year-filter ul li a:hover,
.year-filter .selected a {
    background: #476fff;
    color: #fff;
    border-color: #476fff;
}

span.type-filter-name {
    color: #333333;
    font-size: 1em;
}

span.color-box {
    border-radius: 3em;
}

span.radio,
span.checkbox,
span.event-name,
span.color-box {
    vertical-align: initial;
}

.color-box {
    width: 15px;
    height: 15px;
}

.event-name:hover {
    color: #476fff;
    cursor: pointer;
}

.headline-right .event-type {
    font-size: 16px;
    color: #999;
}

/*
ul.type-filter li:last-child a span:first-child {
    background-color: #F19149 !important;
}

ul.type-filter li:nth-child(3) a span:first-child {
    background-color: #1794EC !important;
}

ul.type-filter li:nth-child(2) a span:first-child {
    background-color: #AE63D2 !important;
}
*/

.headline-right .event-type,
.headline-left .date-time {
    font-weight: normal;
}

.event-name {
    font-size: 18px;

}

ul.events li {
    margin: 1em 0em;
    background: #fff;
    box-shadow: 0px 0px 5px #D3D3D4;
}

ul.events li div div div div div ul li {
    box-shadow: none;
    background: transparent;
}

.event-row.focus .content-headline {
    border-right-width: 0px;
    border-right-color: none;
}

ul.events li:first-child {
    margin: 2em 0em 0em 0em;
}

.eupagination > .disabled > span,
.eupagination > .disabled > span:hover,
.eupagination > .disabled > span:focus,
.eupagination > .disabled > a,
.eupagination > .disabled > a:hover,
.eupagination > .disabled > a:focus {
    color: #777 !important;
    cursor: not-allowed;
    background-color: transparent;
    border-color: #D3D3D4;
}

.footer {
    text-align: center;
    padding-top: 2em;
    color: #999999;
    font-weight: 100;
    font-size: 14px;
}

.footer div a {
    color: #999999 !important;
}

.checkbox-event-type li.type div span:first-child {
    margin-left: 3em;
    margin-right: 10px;
}

.checkbox-event-type li.type:first-child div span:first-child {
    margin-left: 0em;
}

.modal-header {
    padding: 5px 0px 15px 0px;
    margin: 1em 2em;
    border-bottom: 1px solid #D3D3D4;
}

.select-option-title {
    color: #4866B4;
    font-size: 14px;
}

/*
span.checkbox {
    width: 15px;
    height: 15px;
    border-radius: 20px;
    position: relative;
    left: 1px;
    top: 0px;
    font-size: 11px;
    background: #BAC3D4;
    color: #BAC3D4;
}
*/

/*
.preference-period span.radio.radio-checked,
span.checkbox.checkbox-checked {
    background: #4866B4;
    color: #4866B4;
}
*/

ul.checkbox-event-type span.color-box {
    display: none;
}

.preference-period {
    text-align: left;
}

/*
.preference-period span.radio {
    width: 15px;
    height: 15px;
    border-radius: 20px;
    position: relative;
    left: 1px;
    top: 0px;
    font-size: 11px;
    background: #BAC3D4;
    color: #BAC3D4;
    margin-right: 5px;
}
*/

.form .label {
    width: 6em;
    text-align: left;
    padding-right: 0px;
}

.google-recapcha {
    display: none !important;
}

.headline .headline-left {
    width: 65%;
}

.headline .headline-right {
    width: 35%;
}

.event-row:hover .headline-left .event-name,
.event-row:hover .headline-right .event-type,
.event-row:hover .headline-left .date-time {
    color: #476fff;
}

li.item-attachment {
    margin: 0 !important;
}

* {
    outline: 0 !important;
}

@media (max-width: 540px) {
    .tabs li {
        margin: 4px auto;
        display: block;
        width: 98%;
    }
}

@media (max-width: 465px) {
    .tabItem {
        padding: 1em 2em !important;
    }
}

@media (max-width: 425px) {

    .tabItem {
        padding: 1em 0em !important;
    }

    .btn-subscribe-wrapper .btn {
        padding: 1em 6em 1.0em 2em;
    }

    body.zh-cn .btn-subscribe-wrapper .btn,
    body.zh-tw .btn-subscribe-wrapper .btn {
        padding: .8em 7em 1.0em 3em;
    }
}

