/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
@import url("//fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;700&display=swap");
/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/


/*************************************************** MAIN RULES **********************************************************/
body {
    padding:0;
    margin:0;
	font-size: 16.8px;
	color: #FFF;
	background-color: transparent !important; 
    /* background: #4b77a6; */
    font-weight: 300;
}
body.en-gb {
    font-family: 'Roboto Condensed', Arial, sans-serif;
}
body.zh-cn,
body.zh-tw {
    font-family: 'Microsoft JhengHei', Arial, sans-serif !important;
}
.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-size: 14px;
	font-family: inherit;
    color: #FFF;
}
.wrapper {
    width: 100%;
    max-width: 705px;
    margin: 0 auto;
    padding: 0 0 0 0;
    position:relative;
}
a:link,
a:visited,
.hyperlink,
.check-subscription-link {
    color: #8dafd3;
    text-decoration: none;
}
a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    text-decoration: none;
	color: #FFF;
}
.footer {
    font-size: 13px;
    padding: 0em;
}
.footer a {
    color: #8dafd3;
	
	font-weight: normal;
	text-decoration: none;
	font-style: none;
}
.footer a:hover {
    color: #FFF;
	
	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: #FFF;
}
.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: 0em solid #D7D7D6;
    text-align: center;
    transition: background 0.5s;
    border-top: 2px solid #D7D7D6;
    color: #8dafd3;
}
.time-line-item:hover {
    background-color: transparent;
    color: #FFF;
}
.color-dot-box .display-none {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    border: 0.08em solid #D7D7D6;
}
.color-dot-box .color-dot {
    display:none;
}
.calendar-time-line .current-month .time-line-item {
    background-color: transparent;
    color: #FFF;
}
.calendar-time-line .year {
  font-size: 1em;
  padding-bottom: 0em;
  line-height: normal;
}
/* CALENDAR TIMELINE END */

/* + BUTTON CONTROLS */
.expand-collapse>.exco-text {
    display: inline-block;
    text-align: center;
    color: #585852;
    font-size: 1.5em;
    width: 1.15em;
    height: 1.15em;
    line-height: 1.25em;
    border: 0.16em solid #4B4E46;
    border-radius: 0.75em;
}
.expand-collapse>.exco-text:hover,
.expand-collapse.expand>.exco-text {
    background-color: #4B4E46;
    border-right-color: #4B4E46;
    color: #585852!important;
}
/* END OF + BUTTON CONTROLS */

/* EVENT ROWS */
.content-headline {
    margin-left: 0;
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0.08em solid #FFF;
    padding-bottom: 0.5em;
}
.box-border {
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0.08em solid #4B4E46;
}
/* END OF EVENT ROWS */

/* FILTERS */
.filter-type ul li {
    float: none;
    padding: 0.25em 0.5em;
    display: inline-block;
}
.filter-type {
    border-bottom: 0em solid #FFF;
    padding-bottom: 0.6em;
}
/* END OF FILTERS */

/* PAGINATION */
.eupagination>li>a,
.eupagination>li>span {
    font-size: 15px !important;
    font-weight:300;
    padding: 0.55em 0em !important;
    margin: 0em 1em !important;
    line-height: normal;
    color: #FFF;
    text-decoration: none;
    background-color: transparent;
    border-top: 0em solid #D7D7D6 !important;
    border-bottom: 2px solid transparent;
    box-sizing: border-box;
    border-right: 0 !important;
    border-left: 0 !important;
}
.eupagination>li>a:hover,
.eupagination>li>span:hover {
    background-color: #D7D7D6;
    color: #FFF !important;
    border: 0.08em solid #D7D7D6;
    background: transparent;
}
.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: #D7D7D6;
    border-color: #D7D7D6;
    font-weight:bold;
    border-bottom: 2px solid #FFFF;
    background: transparent;
}
.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;
}
.eupagination > .disabled > span, .eupagination > .disabled > span:hover, .eupagination > .disabled > span:focus, .eupagination > .disabled > a, .eupagination > .disabled > a:hover, .eupagination > .disabled > a:focus {
  color: #FFF;
  cursor: not-allowed;
  background-color: transparent;
  border-color: transparent;
}
/* 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: #B52D35;
    border: 0em solid #B52D35;
    color: #fff !important;
    padding: 0.9em 1.0em;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0px;
    height: auto;
    line-height: normal;
    text-transform: uppercase;
    transition: background 0.5s;
    width: 172px;
    height: 46px;
    outline: none !important;
    line-height: 16px;
    margin: 5px;
}
.btn:active,
.btn-primary:active,
.btn-submit:active,
.btn-cancel:active,
.btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.btn-cancel:hover {
    background: #CF7F7F;
    border: 0px solid #CF7F7F;
    color: #FFF !important;
}   
/************************************************ END OF BUTTONS *********************************************************/

/***************************************************** TABS **************************************************************/
.tabs-wrapper {
    margin: 1em 0 1.5em 0;
}
.tabs {
    background-color: transparent;
    height:auto;
    line-height: normal;
    float: none;
    text-align:center;
    font-size:0;
    border: 3px solid #FFF;
    margin: 0 auto !important;
    width: 507px;
}
.tabs li {
    float: none;
    margin: 0px;

    display:inline-block;
}
.tabItem {
    height: auto;
    
    box-sizing: border-box;
	line-height: normal;
	margin: 0 1px;
	padding-top: 20px !important;
	padding-bottom: 20px !important;
	padding-left: 2em;
	padding-right: 2em;
	
	text-decoration: none;
    font-size: 20.4px;
	font-weight:700;
	font-style: normal;
	
	background: transparent;
	border: 0em solid #CCC;
	
	transition: background 0.5s;
	
	color: #8dafd3 !important;	
	
    text-decoration: none!important;

	
	position: relative;
	top: 0;
	left: 0;

    display: block;
    text-transform: uppercase !important;
}
.tab-active {
    color: #FFFF !important;
    cursor: default;
    background-color: transparent;
	position: relative;
	top: 0px;
	left: 0px;
}
ul.tabs > li:last-child > .tabItem:after {
	content: "";
	width: 2em; 
	height: 1em;

	position: absolute;
	top: 34%;
	left: 0%;
	border-left: 2px solid #8dafd3; 
}
.tab-active:before {
    content: "";
	width: 0; 
	height: 0;

	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -1.0em;
	
	border-left: 0.65em solid transparent; 
	border-right: 0.65em solid transparent; 
	border-top: 0.55em solid #FFFF;
}

.tabItem:hover {
	
	font-style: normal;
	
	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: 18px;
    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: #B52D35;
    border: 0em solid #B52D35;
    transition: background 0.5s;
    color: #FFF;
    border-radius: 0;
    margin: 0.5em auto;
}
.year-filter ul li.selected a {
    background: #CF7F7F;
    color: #FFFFFF;
    border-color: #CF7F7F;
}
.year-filter ul li:hover a {
    background: #CF7F7F;
    color: #FFFFFF;
    border-color: #CF7F7F;
}

ul.type-filter li.selected a {
    text-decoration: none!important;
    color: #FFF !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 */
.calendar-time-line {
    padding: 1px;
    margin-bottom: 1em;
}
/* END OF IT */
/************************************************** END OF TABS **********************************************************/

/********************************************* MODAL WINDOW CONTROLS *****************************************************/
.modal-title {
    line-height: 2;
    margin: 0px;
    padding: 0px;
    font-size: 16.8px;
    font-weight: bold;
    padding-top: 0em;
    padding-bottom: 0em;
    color: #FFF;
}
.modal-header .close {
    margin-top: 0em;
    font-size: 2.5em;
    line-height: 0.25em;
}
.close {
  height: 27.11px;
  float: none;
  display: inline-block !important;
  width: 27.11px;
}
li.type {
    width: 33.33%;
    padding: 0.5em 0;
}
.checkbox-event-type {
    padding: 0;
}
label {
    vertical-align: text-top;
}
.modal-body {
    position: relative;
    padding: 1em;
    font-size: 15.6px;
}
.your-preference-title {
    text-align: center;
    padding: 0 0 1em 0;
}
.your-preferences {
    background-color: transparent;
    box-sizing: border-box;
    border: 1px solid #D7D7D6;
    padding: 1em 0 1em 0;
}
.preference-period.visibility-hidden {
    margin-top: 1em;
}
.form input,
.form select {
    color: #333;
    font-size: 1em;
    padding: 0.22em;
    box-sizing: border-box;
    background: #fff;
    border: 0.08em 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: 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 #4B4E46;
    -webkit-box-shadow: 0 0.08em 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*/
.show-hide-toggle {
    display: block!important;
}

span.exco-text {
    display: none!important;
}

.headline-left .full-descriptions {
    color: #b3b3b3;
}

.etooltip {
  background: #4b77a6;
  border: 1px solid #FFF;
}
@media (max-width: 514px) {
/* 	.tab-active::before {
		border-top: 0em solid #CCCCCC;
	} */
	.tabs {
		width: 100%;
		box-sizing: border-box;
		border: 0;
	}
	#tabPanel ul {
		width: auto;
	}
	ul.tabs > li:last-child > .tabItem:after {
		border-left: 0px solid #8dafd3; 
	}
/*     .tabs li {
      width: 100%;
    } */
    .tabItem {
      border: 3px solid #FFF;
      margin: 0.5em;
      min-width: 265.19px;
      height: 56px;
      padding: 14px 1em !important;
      line-height: 21px;
      box-sizing: border-box;
    }
}
.modal-content {
  background-color: #4b77a6;
}
.modal .close {
  color: #FFF;
  font-weight: normal;
}
.modal .close:hover, .modal .close:focus {
  color: #FFF;
}

/**calendar**/
/* .time-line-month-name:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 20px;
    position: relative;
    top: -17px;
    margin: 0 auto;
    font-size: 11px;
    background: #FFF;
    color: #8dafd3;
}

li.current-month .time-line-item .time-line-month-name:before {
    background: #FFF;
    color: #FFF;
    width: 12px;
    height: 12px;
    top: -15px;
}

li.current-month .time-line-item {
    padding-top: 0.5em;
}

.calendar-time-line .current-month {
    font-weight: normal;
    color: #4E3830;
}

li.current-month .time-line-item .time-line-month-name:after {
    content: "";
    border-bottom: 1px solid #FFF;
    display: block;
    width: 24px;
    margin: 0 auto;
    margin-top: 5px;
} */
.calendar-time-line .current-month .time-line-item {
    background-color: #b52d35 !important;
	border: 1px solid #b52d35 !important;
}
.current-month .time-line-month-name{
    color: #ffffff !important;
    font-weight: normal;
	font-size: 18px;
	background: #b52d35;
}
.time-line-month-name {
	font-size: 18px;
    color: #000000;
}
.time-line-month-name:hover {
	font-size: 18px;
	color: #000000;
	text-decoration: none;
}
.time-line-item:hover {
    background-color: #d5000f;
}
.time-line-item {
    background-color: #fafafa !important;
	border: 1px solid #e1e1e1 !important;
	margin: 0 3px;
}
.zh-tw .time-line-item {
    background-color: #fafafa !important;
	border: 1px solid #e1e1e1 !important;
	margin: 0 3px;
}
.zh-cn .time-line-item {
    background-color: #fafafa !important;
	border: 1px solid #e1e1e1 !important;
	margin: 0 3px;
}
.calendar-time-line {
    border-bottom: 1px solid #d5000f;
    padding-bottom: 0px;
	padding-top: 20px;
}
/**end**/

.section-header {
  margin-bottom: 5px;
  display: none;
}
.export-and-subscription {
  text-align: center;
}
.subscription-section {
  float: none;
  text-align: right;
}
.check-subscription-link {
  text-align: right;
}
.type-filter li a span {
  font-size: 18px !important;
  color: #FFF !important;
}
.color-box {
  margin-bottom: 4px;
}
.event--past,
.headline {
    color: #FFF;
    font-size: 18px;
    font-family: Arial, sans-serif;
}
.content-headline .headline {
  padding: 0px;
}
.headline .headline-left > div:first-child {
  padding-bottom: 0;
}
.headline .headline-left > div:last-child {
  padding-top: 0;
}
/* .headline .headline-right > div {
  margin-right: 10px;
} */
.content-headline {
  background: transparent;
  margin-bottom: 0px;
  padding: 20px 25px;
}
.event-name {
  font-size: 20.4px;
  font-weight: 700;
  color: #FFF;
  text-transform: uppercase;
}
.export-and-subscription .event-name, 
.checkbox-wrapper{
  font-size: 16px;
  font-weight: 700;
  color: #FFF;
  text-transform: uppercase;
}
.en-gb .event-name {
  font-family: 'Roboto Condensed', Arial, sans-serif;
}
.zh-cn .event-name,
.zh-tw .event-name {
  font-family: 'Microsoft JhengHei', Arial, sans-serif;
}
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: #4671a0; */
    color: #FFF;
  
}
div[order="4"] input {
    margin-right: 10px;
}
.checkbox {
    background: url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/HK-716/checkbox.png") 0px -20px;
}
.checkbox-checked {
    background-position: -20px -20px !important;
}
.radio {
  background: transparent url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/HK-716/checkbox.png") 0 0;
}
.radio-checked {
  background-position: -20px 0 !important;
}
.checkbox, .radio {
  margin-bottom: 5px;
}
.new-message-email .mail-sent-image {
    background-image: url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/HK-716/resend-icon.png");
}

.footer div .hyperlink:before {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    background: right url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/HK-716/Euroland-white-logo.png") no-repeat !important;
    background-size: contain !important;
}

.supply-by a {
    color: transparent !important;
}

.cookies-box a {
    color: #FFF !important;
    font-weight: normal;
    text-decoration: none;
    font-style: none;
}
