/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
@font-face{
    font-family: FZLTCHJW;
    src:url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/hk-3360/font/FZLTCHJW.eot");
    src:url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/hk-3360/font/FZLTCHJW.eot") format("eot"),
        url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/hk-3360/font/FZLTCHJW.woff") format("woff"),
        url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/hk-3360/font/FZLTCHJW.ttf") format("truetype"),
        url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/hk-3360/font/FZLTCHJW.svg") format("svg");
    font-weight: 400;
}
@font-face{
    font-family: "FZLTXHJW";
    src:url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/hk-3360/font/FZLTXHJW.eot");
    src:url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/hk-3360/font/FZLTXHJW.eot") format("eot"),
        url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/hk-3360/font/FZLTXHJW.woff") format("woff"),
        url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/hk-3360/font/FZLTXHJW.ttf") format("truetype"),
        url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/hk-3360/font/FZLTXHJW.svg") format("svg");
    font-weight: 400;
}

/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/


/*************************************************** MAIN RULES **********************************************************/
body {
    padding:0;
    margin:0;
    font-family: "FZLTXHJW", FZLTCHJW, Arial, sans-serif;
    font-size: 16px;
    color: #333333;
}

.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-size: 16px;
    font-family: "FZLTXHJW", FZLTCHJW, Arial, sans-serif;
    color: #333333;
}

.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: #333333;
    text-decoration: none;
}
a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    text-decoration: none;
	color: #b60005;
}


.subscription-header, .export-header {
    font-weight: bold;
    color: #333333;
}
/*********************************************** 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: 16px;
    font-weight: bold;
    padding-top: 0em;
    padding-bottom: 1.0em;
    color: #000000;
    display: none;
}
.next-event div.date-time,
.next-event div.event-name {
    padding-bottom: 0.5em;
    color: #000000;
}
.headline-left .date-time {
    font-weight: bold;
    color: #000000;
}

/* END OF NEXT EVENT HEADER */

/* CALENDAR TIMELINE */
.time-line-item {
    padding-top: 0.5em;
    margin: -0.08em 0 0 -0.08em;
    border: 0.08em solid #e1e1e1;
    text-align: center;
    transition: background 0.5s;
}
.time-line-item:hover {
    background-color: #ffffff;
    color: #000;
    font-weight: bold;
}
.time-line-item:active,
.time-line-item:focus{
    border-color: 0.08em solid #df2326!important;
}
.color-dot-box .display-none {
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    border: 0.08em solid #e1e1e1;
}
.color-dot-box .color-dot {
    display:none;
}
.calendar-time-line .current-month .time-line-item {
    background-color: #FAFAFA!important;
    color: #000;
    font-weight: bold;
}
.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: #333333;
    font-size: 1.5em;
    width: 1.15em;
    height: 1.15em;
    line-height: 1em;
    border: 0.08em solid #e1e1e1;
    border-radius: 0em;
}
.expand-collapse>.exco-text:hover,
.expand-collapse.expand>.exco-text {
    background-color: #f2f2f2;
    border-right-color: #e1e1e1;
    color: #fff!important;
}
/* END OF + BUTTON CONTROLS */

/* EVENT ROWS */
.content-headline {
    margin-left: 2.5em;
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0;
    padding-bottom: 0.5em;
}
.box-border {
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0.08em solid #e1e1e1;
}
.odd {
    background-color: #f7f7f7;
    border-bottom: 0.08em solid #ffffff;
}
.even {
    background-color: #FFFFFF;
    border-bottom: 0.08em solid #ffffff;
}
/* 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 #e1e1e1;
    padding-bottom: 0.6em;
}
/* END OF FILTERS */

/* PAGINATION */
.eupagination>li>a,
.eupagination>li>span {
    font-weight: normal;
    padding: 0.55em 1em;
    margin-left: -0.08em;
    line-height: normal;
    color: #333333;
    text-decoration: none;
    background-color: transparent;
    border: 0.08em solid #e1e1e1;
}
.eupagination>li>a:hover,
.eupagination>li>span:hover {
    background-color: #ffffff;
    color: #000 !important;
    border: 0.08em solid #e1e1e1;
}
.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: #000;
    cursor: default;
    background-color: #ffffff;
    border-color: #e1e1e1;
    font-weight: normal;
}
.eupagination>li:last-child>a,
.eupagination>li:last-child>span {
    border-top-right-radius: 0.75em;
    border-bottom-right-radius: 0.75em;
    border-left:0;
}
.eupagination>li:first-child>a,
.eupagination>li:first-child>span {
    border-top-left-radius: 0.75em;
    border-bottom-left-radius: 0.75em;
    border-right:0;
}
.eupagination > .disabled > a, .eupagination > .disabled > a:hover {
    border-color: #e1e1e1;
}

/* 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: #132b8c;
    color: #ffffff !important;
    padding: 0.5em 1em;
    border: 0px;
    font-size: 1em;
    font-weight: normal;    
    border-radius: 0;
    height: 40px;
    line-height: normal;  
    transition: background 0.5s, color 0.5s, border 0.5s;
/*    width: 146px;*/
    width: 227.13px;
    margin-bottom: 3px;
}
.btn:active,
.btn-primary:active,
.btn-submit:active,
.btn-cancel:active,
.btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.btn-cancel:hover {
    background: #d4b572;
    font-weight: normal;
}   
/************************************************ END OF BUTTONS *********************************************************/

/***************************************************** TABS **************************************************************/
/*body.body-rtl .tabs li {
    float: none !important;
}*/
.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: left;
    font-size:0;
    border-bottom: 1px solid #e1e1e1;
}
.tabs li {
    _float: none;
    float: none;
    margin: 0;
    display:inline-block;
}
.tabItem {
	font-size: 18px;
    height: auto;
	line-height: normal;	
	padding-top: 1.0em !important;
	padding-bottom: 1.0em !important;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
	text-decoration: none;
	font-weight: normal;
	font-style: normal;	
	background: #fafafa;
	border: 0.08em solid #e1e1e1;
	border-radius: 0px;
	transition: background 0.5s, color 0.5s, border 0.5s;
	
	color: #333333 !important;	
    text-transform: none !important;
	margin-left: -0.08em;
    margin-right: 3px;
	position: relative;
	top: 1px;
	left: 0.08em;
    width: 195px;
    text-align: center;
    margin-top: 10px;
}
.tab-active {
    color: #000 !important;
    cursor: default;
    font-weight: bold;
	font-style: normal;
    background-color: #ffffff;
	position: relative;
	top: 1px;
    left: 1;
    border-bottom-color: #fff;
}
/* .tab-active:before {
    content: "";
	width: 0; 
	height: 0;

	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -1.0em;
	
	border-left: 1.0em solid transparent; 
	border-right: 1.0em solid transparent; 
	border-top: 1.0em solid #2F334A;
} */

.tabItem:hover {
    background: #ffffff;
    border-color: #e1e1e1;
	text-decoration: none;
	font-weight: normal;
	font-style: normal;
	
	color: #333333 !important;
}
.tab-active:hover {
    color: #000 !important;
    font-weight: bold;
    border-bottom-color: #fff;
}
/* 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.25em !important;
    padding-bottom: 0.25em !important;
    padding-left: 1.0em;
    padding-right: 1.0em;
    text-decoration: none;
    font-weight: normal;
    font-style: normal;
    background: transparent;
    border: 0.08em solid #e1e1e1;
    transition: background 0.5s;
    color: #333333;
    border-radius: 3px;
    margin: 0;

}
.year-filter ul li a.selected {
    background: #333333;
    color: #fff;
}
/* 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.25em;
    font-weight: bold;
    padding-top: 0em;
    padding-bottom: 1.0em;
    color: #000000;
}
.modal-header .close {
    margin-top: 0.1em;
    font-size: 2em;
    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;
    color: #333333;
}
.your-preferences {
    background-color: transparent;
    box-sizing: border-box;
    border: 0em solid #333333;
    padding: 1em 0 1em 0;
}
.form input,
.form select {
    color: #333333;
    font-size: 1em;
    padding:  0 0.16em;
    box-sizing: border-box;
    background: #ffffff;
    border: 0.08em solid #e1e1e1;
    border-radius: 0;
    height: 2.2em;
}
.form .lable {
    padding-right: 1em;
    height: auto;
    vertical-align: middle;
    line-height: normal;
    margin-top: 0.22em;
    color: #333333;
}
/***************************************** 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 #333333;
    -webkit-box-shadow: 0 0.08em 0.32em #333333;
}
.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: 2em!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: center;
    }
    .export-types {
        padding-bottom: inherit;
    }
    .subscription-section .subscription-header{
        width: 100%!important;
    }
}
/*END*/
.subscription-header,
.check-subscription-link{
    color:#000;
    text-align: right;
}
.zh-cn .subscription-header,
.zh-tw .subscription-header,
.zh-cn .check-subscription-link,
.zh-tw .check-subscription-link{
    text-align: center;
}
.check-subscription-link{
    font-size: 1.0em;
    background: #b5b5b6;
    color: #ffffff !important;
    padding: 0px;
    border: 0px;
    font-size: 1em;
    font-weight: normal;
    border-radius: 0;
    line-height: 40px;
    transition: background 0.5s, color 0.5s, border 0.5s;
    width: 227px;
    text-align: center;
    box-sizing: border-box;
    margin: auto;
}
.footer {
    font-size: 13px;
}
.btn-subscribe-wrapper {
    margin: 10px 0;
}




/**************** CUSTOM CSS ******************/

.calendar-time-line .current-month .time-line-item{
    background-color: #5a68b3!important;
    color: white;
}


.btn-subscribe-wrapper button{
    background-color: #132b8c;
}




.tabs li .tab-active{
    background-image: linear-gradient(180deg, #5D6CB1 0%, #7682BE 42.09%, #A1AADB 100%);
    color: white;
}

.tabs li a{
    background: 0;
}

.tabs li a:hover{
    background-image: linear-gradient(180deg, #5D6CB1 0%, #7682BE 42.09%, #A1AADB 100%);
}

.button-wrraper .btn-cancel,
.button-wrraper .btn-submit{
    background-color: #132b8c;
    margin: 3px;
}

/* MODIFICATION - ALBERT */


.time-line-item {
    border: 0.08em solid #5a68b3;
}
.tabs li .tab-active, .tabs li a:hover {
    background-image: linear-gradient(180deg, #203191 0%, #2C3D98 34.59%, #5F6DB4 68.54%, #717FBF 100%);
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: bold !important;
}
.tabItem{
    border: 0.08em solid #d1d1d1;
}
.even {
    background-color: #FFFFFF;
    border-bottom: 0.08em dashed #cccccc !important;
}
.odd {
    background-color: #ffffff;
    border-bottom: 0.08em dashed #cccccc !important;
}
.filter-type {
    border-bottom: 0px solid transparent !important;
}
.btn:active, .btn-primary:active, .btn-submit:active, .btn-cancel:active, .btn:hover, .btn-primary:hover, .btn-submit:hover, .btn-cancel:hover {
    background: #132b8c !important;
    font-weight: normal;
}
.time-line-item {
    padding-top: 1em !important;
    margin: -0.08em 0 0 -0.08em;
    border: 0.08em solid #e1e1e1;
    text-align: center;
    height: 55px !important;
    box-sizing: border-box !important;
    transition: background 0.5s;
}

#lblSubcrEmail:after{
    content: '*';
    color: red;
    position: relative;
    left: 3px;
}

.compulsory-field {
    display: none;
}

#lblEmailSubscriptionChecking:after{
    content: '*';
    color: red;
    position: relative;
    left: 3px;
}

@media (max-width: 425px){
    .tabItem{
        font-size: 15px;
        width: 156px;
    }

    .tabs li .tab-active, .tabs li a:hover {
        font-size: 15px!important;
    }

    .content-headline{
        margin-left: 0;
    }

    .content-headline .headline{
        text-align: center;
    }
}
