/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/
/*************************************************** MAIN RULES **********************************************************/
@font-face {
    font-family: "SourceHanSansCN";
    src: url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/ky-6855/fonts/SourceHanSansCN-Regular.woff");
    src: url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/ky-6855/fonts/SourceHanSansCN-Regular.otf") format('otf'),
        url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/ky-6855/fonts/SourceHanSansCN-Regular.woff") format('woff');
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "SourceHanSansCN";
    src: url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/ky-6855/fonts/SourceHanSansCN-Bold.woff");
    src: url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/ky-6855/fonts/SourceHanSansCN-Bold.otf") format('otf'),
        url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/ky-6855/fonts/SourceHanSansCN-Bold.woff") format('woff');
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "AlibabaPuHuiTi-2-55";
    src: url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/ky-6855/fonts/AlibabaPuHuiTi-2-55-Regular.ttf"),
        url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/ky-6855/fonts/AlibabaPuHuiTi-2-55-Regular.ttf") format('truetype');
    font-style: normal;
    font-weight: 400;
}

body {
    padding: 0;
    margin: 0;
    font-family: 'SourceHanSansCN', sans-serif;
    font-size: 17px;
    color: #1C1C1C;
    background-color: transparent;
}

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,
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: 'AlibabaPuHuiTi-2-55', sans-serif;
}

.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-size: 16px;
    font-family: 'SourceHanSansCN', sans-serif;
    color: #1C1C1C;
}

.wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 0 0;
    position: relative;
}

a:link,
a:visited,
.hyperlink,
.check-subscription-link {
    color: #1C1C1C;
    text-decoration: none;
}

.footer a:hover,
.footer a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    color: #2c6bb0 !important;
}

.check-subscription-link {
    text-align: right;
}

.footer {
    font-size: 14px;
    padding: 0em;
}

.footer a {
    color: #1C1C1C;

    font-weight: normal;
    text-decoration: none;
    font-style: none;
}

/*********************************************** END OF MAIN RULES *******************************************************/

/********************************************* ALIGNMENT FOR CALENDAR ****************************************************/
.main-heading {
    display: none;
}

.calendar-time-line .current-month {
    font-weight: normal;
}

/* NEXT EVENT HEADER */
.next-event {
    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: #1C1C1C;
}

.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;
    border: 1px solid #e1e1e1;
    text-align: center;
    transition: background 0.5s;
    font-weight: bold;
    margin: 0 3px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background: #fafafa;
}

.time-line-item:hover {
    background-color: #FFFFFF;
    color: #1C1C1C;
}

.color-dot-box .display-none {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    border: 1px solid #e1e1e1;
}

.color-dot-box .color-dot {
    display: none;
}

.calendar-time-line .current-month .time-line-item {
    background-color: #2c6bb0;
    color: #FFFFFF;
    font-weight: bold;
}

.calendar-time-line .current-month .time-line-item {
    background-color: #2c6bb0 !important;
    border: 1px solid #2c6bb0 !important;
}

.calendar-time-line .year {
    font-size: 1em;
    padding-bottom: 0.25em;
    line-height: normal;
}

/* CALENDAR TIMELINE END */

/* + BUTTON CONTROLS */
.expand-collapse>.exco-text {
    display: inline-block;
    text-align: center;
    color: #019fdc;
    font-size: 1em;
    width: 36px;
    height: 19px;
    border: 1px solid #019fdc;
    border-radius: 0.75em;
}

.expand-collapse>.exco-text:hover,
.expand-collapse.expand>.exco-text {
    background-color: #019fdc;
    border-right-color: #019fdc;
    color: #FFF !important;
}

/* END OF + BUTTON CONTROLS */

/* EVENT ROWS */
.content-headline {
    margin-left: 0em;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid #e1e1e1;
    padding: 15px 0 !important;
}

.box-border {
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid #e1e1e1;
}

.attachments {
    position: absolute;
    right: 10px;
    bottom: 0;
}

/* END OF EVENT ROWS */

/* FILTERS */
.filter-type ul li {
    float: none;
    padding: 0.25em 0.5em;
    display: inline-block;
}

.filter-type {
    border-bottom: 1px solid #E9E9E9;
    padding-bottom: 0.6em;
    text-align: center;
}

/* END OF FILTERS */

/* PAGINATION */
.eupagination>li>a,
.eupagination>li>span {
    font-size: 17px;
    font-weight: normal;
    padding: 0;
    margin-left: 0px;
    /* line-height: normal; */
    color: #1C1C1C;
    text-decoration: none;
    background-color: transparent;
    border: 1px solid #999999;

    margin: 0 6px;
    height: 38px;
    width: 38px;
    line-height: 37px;
}

.eupagination>li>a:hover,
.eupagination>li>span:hover {
    text-decoration: none !important;
    color: #FFF;
    background-color: #2c6bb0;
    border: 1px solid #2c6bb0;
}

.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: #2c6bb0;
    border-color: #2c6bb0;
    font-weight: normal;
}

.eupagination>li:last-child>a,
.eupagination>li:last-child>span {
    border-top-right-radius: 0em;
    border-bottom-right-radius: 0em;
    /* border-left:0; */
}

.eupagination>li:first-child>a,
.eupagination>li:first-child>span {
    border-top-left-radius: 0em;
    border-bottom-left-radius: 0em;
    /* border-right:0; */
}

/* 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: #2c6Cb3;
    border: 0em solid #2c6Cb3;
    color: #fff !important;
    padding: 0.75em;
    font-size: 1.0em;
    font-weight: bold;
    text-transform: capitalize;
    border-radius: 25px;
    transition: background 0.5s;
    height: 50px;
    box-sizing: border-box;
    line-height: 14px;
    margin: 0.5em 5px;
    width: 160px;
    box-shadow: 0px 4px 20px -1px #c9e3ff;
}

.btn:active,
.btn-primary:active,
.btn-submit:active,
.btn-cancel:active,
.btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.btn-cancel:hover {
    background: transparent;
    border: 1px solid #2c6Cb3;
    color: #2c6Cb3 !important;
}

/************************************************ END OF BUTTONS *********************************************************/

/***************************************************** TABS **************************************************************/
.tabs-wrapper {
    margin: 1em 0 1.5em 0;
}

.tabs {
    background-color: transparent;
    margin-top: 2em;
    margin-bottom: 2em;
    width: 100%;
    height: auto;
    line-height: normal;
    float: none;
    text-align: center;
    font-size: 0;
}

.tabs li {
    float: none;
    margin: 0px;

    display: inline-block;
}

.tabItem {
    height: 47px;

    box-sizing: border-box;
    line-height: 45px;
    margin: 5px;
    padding-top: 0em !important;
    padding-bottom: 0em !important;
    padding-left: 2em;
    padding-right: 2em;

    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    font-style: normal;

    background: #FFFFFF;
    border: 1px solid #2c6bb0;

    transition: background 0.5s;

    color: #1C1C1C !important;

    text-decoration: none !important;


    position: relative;
    top: 0;
    left: 0;

    display: block;
}

.tab-active {
    color: #FFF !important;
    cursor: default;
    font-weight: bold;
    background-color: #2c6bb0;
    position: relative;
    top: 0px;
    left: 0px;
}

.tab-active:before {
    content: "";
    width: 0;
    height: 0;

    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -1.0em;

    border-left: 0em solid transparent;
    border-right: 0em solid transparent;
    border-top: 0em solid #4B4E46;
}

.tabItem:hover {

    text-decoration: none !important;
    font-style: normal;

    background: #2c6bb0 !important;
    color: #FFF !important;
}

/* YEAR BUTTONS */
.year-filter ul {
    margin: 1em 0;
}

.year-filter ul li {
    padding: 0;
    margin: 0;
    display: inline-block;
    line-height: 3em;
}

.year-filter ul li a {
    height: auto;
    font-size: 16px;
    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: bold;
    font-style: normal;
    background: transparent;
    border: 1px solid #2c6bb0;
    transition: background 0.5s;
    color: #1C1C1C;
    border-radius: 0;
    margin: 0;
}

.year-filter ul li.selected a {
    color: #62A700 !important;
}

.year-filter ul li.selected a,
.year-filter ul li:hover a {
    color: #fff !important;
    background: #2c6bb0;
    border-color: #2c6bb0;
    text-decoration: none !important;
}

ul.type-filter li.selected a {
    text-decoration: none !important;
    color: #1C1C1C !important;
}

.filter-type .selected .type-filter-name {
    font-weight: bold;
    font-size: 15px;
    text-decoration: none !important;
}

/* END OF YEAR BUTTONS */
/* REQUIRED TO OVERWRITE MAIN CSS */
.en-gb .tabItem {
    text-transform: none;
}

.calendar-time-line {
    padding: 1px;
    margin-bottom: 1em;
}

.calendar-time-line {
    border-bottom: 1px solid #2c6bb0;
    padding-bottom: 0px;
    padding-top: 20px;
}

/* END OF IT */
/************************************************** END OF TABS **********************************************************/

/********************************************* MODAL WINDOW CONTROLS *****************************************************/
.modal-title {
    line-height: normal;
    margin: 0px;
    padding: 0px;
    font-size: 1.25em;
    font-weight: bold;
    padding-top: 0em;
    padding-bottom: 1.0em;
    color: #003E5C;
    color: #333;
}

.modal-header .close {
    margin-top: 0.1em;
    font-size: 3.5em;
    line-height: 0.25em;
}

li.type {
    width: 50%;
    padding: 0.5em 0;
}

.checkbox-event-type {
    padding: 0;
}

label {
    vertical-align: text-top;
}

.modal-body {
    position: relative;
    padding: 1em;
}

.your-preference-title {
    text-align: center;
    padding: 0 0 1em 0;
}

.your-preferences {
    background-color: transparent;
    box-sizing: border-box;
    border: 1px solid #e1e1e1;
    padding: 1em 0 1em 0;
}

.preference-period.visibility-hidden,
.preference-period {
    margin-top: 1em;
}

.form input,
.form select {
    color: #333;
    font-size: 1em;
    padding: 0em 5px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #A8A9A3;
}

.form .lable {
    padding-right: 1em;
    height: auto;
    vertical-align: middle;
    line-height: normal;
    margin-top: 0.45em;
}

/***************************************** END OF MODAL WINDOW CONTROLS **************************************************/

/**************************************************** TOOLTIP ************************************************************/
.popup-date {
    line-height: normal;
}

.popup-event-name {
    line-height: normal;
    padding: 0.25em 0;
}

.etooltip {
    border: 1px solid;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    background: #fff;
    box-shadow: 0 1px 0.32em #003E5C;
    -moz-box-shadow: 0 1px 0.32em #4B4E46;
    -webkit-box-shadow: 0 1px 0.32em #4B4E46;
}

.etooltip .tip-arrow {
    background: transparent;
}

/************************************************* END OF TOOLTIP ********************************************************/
/*THIS IS REQUIRED*/
@media(max-width:640px) {
    li.type {
        width: 50% !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:320px) {
    .subscription-section .btn-subscribe-wrapper {
        float: none;
        width: 100% !important;
        padding-top: 0.5em !important;
        text-align: left;
    }

    .export-types {
        padding-bottom: inherit;
    }
}

/*END*/
/* .events .even {
	border: 1px solid #EFEFEF;
}
.events .odd {
	border: 1px solid #EFEFEF;
} */

.headline-left .full-descriptions {
    color: #777777;
}

@media (max-width: 400px) {
    .tabs {
        border-bottom: 0px solid #e1e1e1;
    }

    .tabs li {
        width: 100%;
    }

    .tabItem {
        text-align: center;
        border: 1px solid #2c6bb0 !important;
        margin: 5px;
    }

    .tab-active {
        border-top: 1px solid #2c6bb0;
        border-right: 1px solid #2c6bb0;
        border-bottom: 1px solid #2c6bb0 !important;
        border-left: 1px solid #2c6bb0;
    }
}

button.expand-collapse,
.btn-subscribe:focus,
.btn-subscribe:active:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    outline: none;
    outline: 0 !important;
    outline-offset: 0;
}

.subscription-header,
.export-header {
    font-size: 14px;
    font-weight: normal;
}


.headline-left .date-time,
.headline-right .event-type,
.next-event div.date-time {
    font-size: 14px;
    color: #666666;
    font-weight: normal;
}

.event--upcoming {
    color: #1C1C1C;
}

.section-header.subscription-header {
    text-align: center;
}

.btn-subscribe-wrapper {
    text-align: right;
}

ul.events li:hover .headline-left .event-name,
ul.events li:hover .headline-right .event-type,
ul.events li:hover .headline-left .date-time {
    color: #2c6bb0;
}

.event--past {
    color: #000000;
}

.location {
    font-size: 14px;
}

@media (max-width:420px) {

    .export-section,
    .subscription-section,
    .btn-subscribe-wrapper,
    .check-subscription-link {
        display: block;
        float: left;
        text-align: left !important;
        width: 100%;
    }

    .section-header.subscription-header {
        margin-top: 1em;
        text-align: left;
    }
}

/* ADDED CSS */

.eupagination>.disabled>a,
.eupagination>.disabled>a:hover {
    color: #1C1C1C;
    border-color: #999999;
}

.checkbox {
    background: none !important;
    position: relative;
}

.checkbox:before {
    display: block;
    content: "";
    position: absolute;
    bottom: -0.9px;
    border: 1px solid #E1E4E6;
    left: 0px;
    background: #fff;
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    font-family: icofont;
    font-weight: 400;
    font-size: 1em;
    border-radius: 3px;
    top: 0px;
}

.checkbox-checked::after {
    content: "✔";
    font-size: 18px;
    position: absolute;
    bottom: 0px;
    border: 0px solid #2c6bb0;
    left: 2px;
    color: #FFFFFF !important;
    box-sizing: border-box;
    font-family: icofont;
    font-weight: 400;
}

.checkbox.checkbox-checked::before {
    background: #2c6bb0;
    border: 1px solid #2c6bb0;
}


span.radio {
    position: relative;
}

.radio:before {
    content: " ";
    position: absolute;
    left: 0;
    top: -1px;
    width: 16px;
    display: inline-block;
    border: 1px solid #D9DCE1;
    height: 16px;
    border-radius: 2em;
    background: #D9DCE1;
}

.radio-checked:before {
    background: #2c6bb0;
    border: 1px solid #2c6bb0;
}

.radio-checked:after {
    content: "";
    position: absolute;
    top: 4px;
    left: 5px;
    color: #FFFFFF;
    background: #FFF;
    border-radius: 2em;
    width: 8px;
    height: 8px;
}

.radio {
    background: transparent;
}

.export-section,
.section-header.subscription-header {
    display: none;
}

.subscription-section {
    float: none;
}

.check-subscription-link .link {
    color: #999999;
    font-weight: normal;
}

.content-headline .headline {
    padding: 0;
}

.expand-collapse {
    top: 19px;
    left: 5px;
}

.content-headline {
    margin-left: 3em;
}

.eupagination>.disabled>span,
.eupagination>.disabled>span:hover,
.eupagination>.disabled>span:focus,
.eupagination>.disabled>a,
.eupagination>.disabled>a:hover,
.eupagination>.disabled>a:focus {
    background-color: transparent;
}

.event-row.focus .content-headline {
    border-right-width: 1px;
    border-right-color: transparent;
}

.year-filter ul li a {
    border: 1px solid #009FDD;
    border-radius: 25px;
}

.year-filter ul li.selected a,
.year-filter ul li:hover a {
    color: #fff !important;
    background: #47B3FF;
    border-color: #47B3FF;
    text-decoration: none !important;
}

span.radio,
span.checkbox,
span.event-name,
span.color-box {
    vertical-align: initial;
}

@media (min-width: 1400px) {
    .event-name {
        font-size: 20px;
    }
}

@media (min-width: 1260px) and (max-width: 1339px) {
    .event-name {
        font-size: 18px;
    }
}

@media (max-width: 1259px) {
    .event-name {
        font-size: 16px;
    }
}
