/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
@import url("//fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");
/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/

/*************************************************** MAIN RULES **********************************************************/
.zh-cn, .zh-tw {
    font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
}
.en-gb {
    font-family: "Manrope", sans-serif;
}
body {
    box-sizing: border-box;
    padding: 0;
    font-size: 16px;
    font-family: inherit;
    color: #333333;
    background: transparent;
}
.wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0 0 0;
}
.check-subscription-link {
    padding-bottom: 8px;
    font-weight: 300;
    font-size: 14px;
    font-weight: normal!important;
    margin-bottom: 20px;
    margin-top: 10px;
    text-align: right;
}

.subscription-header, .export-header {
    font-weight: normal;
}

.subscription-header, .export-header {
    font-weight: 300;
}

a:link,
a:visited,
.hyperlink,
.check-subscription-link {
    color: #333333;
    text-decoration: none;
    font-size: 16px!important;
}
a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    color: #2A8FA4;
    text-decoration: none;
}
.main-heading {
    color: #333333 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    text-transform: capitalize;
    font-size: 20px;
    display: none;
}
/*********************************************** END OF MAIN RULES *******************************************************/

/********************************************* ALIGNMENT FOR CALENDAR ****************************************************/
/* NEXT EVENT HEADER */
/* END OF PAGINATION */
/****************************************** END OF ALIGNMENT FOR CALENDAR ************************************************/
.time-line-item:hover {
    background-color: #696969!important;
    color: #ffffff;
}
/*************************************************** BUTTONS *************************************************************/
.btn,
.btn-primary,
.btn-submit,
.btn-cancel,
.btn:focus,
.btn-primary:focus,
.btn-submit:focus,
.btn-cancel:focus {
    width: 200px;
    padding: 17px;
    border: 0;
    font-weight: normal;
    height: auto;
    line-height: normal;
    color: #FFFFFF;
    background: #2A8FA4;
    font-size: 1em;
    border-radius: 30px;
    text-transform: capitalize;
    font-family: inherit;
    transition: background 0.5s, color 0.5s, border 0.5s;
}
.btn:active,
.btn-primary:active,
.btn-submit:active,
.btn-cancel:active,
.btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.btn-cancel:hover {
    background: #F4F5F6;
    color: #2A8FA4 !important;
    border-color: #F4F5F6;
    cursor: pointer;
}
.btn:after {
    display: inline-block;
    position: relative;
    content: "\2192" !important;
    top: 0;
    margin: 0 0 0 10px;
}
/************************************************ 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;
    width: auto !important;
    margin: 0;
    display:inline-block;
}
.tabItem {
    box-sizing: border-box;
    display: block;
    width: auto;
    height: 56px;
    line-height: 56px;
    padding: 0 1em;
    letter-spacing: 0;
    margin-top: 0.0em;
    margin-right: 0em;
    margin-bottom: 0.0em;
    margin-left: 0em;
    font-family: inherit;
    font-weight: normal;
    font-size: 1.0em;
    font-style: normal;
    text-transform: capitalize !important;
    text-decoration: none;
    color: #2A8FA4 !important;
    border: 1px solid #F4F5F6;
    background: #F4F5F6 !important;
    border-radius: 30px;
    transition: background 0.5s, color 0.5s, border 0.5s;
    position: relative;
    top: 0;
    left: 0em;
    margin-right: 0px;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.tabItem:hover {
    color: #2A8FA4 !important;
    border: 1px solid #F4F5F6;
    background: #F4F5F6 !important;
}
.tab-active:hover,
.tab-active {
    color: #FFFFFF !important;
    background: #2A8FA4 !important;
    border: 1px solid #2A8FA4;
    cursor: pointer;
}

.tabs {
    border: 2px solid #2A8FA4;
    width: 44%;
    margin: 0 auto;
    border-radius: 40px;
}

/* YEAR BUTTONS */
.year-filter ul::before, .year-filter ul::after {
    box-sizing: border-box;
    clear: both;
    content: "";
    display: block;
    height: 0;
    width: 100%;
}
.year-filter ul {
    margin:1em 0;
}
.year-filter ul li {
    padding:0;
    margin: 5px 5px 5px 0;
    display:inline-block;
}
.year-filter ul li a {
    height: auto;
    font-size: 1em;
    line-height: normal;
    padding: 0.5em 1em !important;
    text-decoration: none;
    font-weight: 700;
    font-style: normal;
    background: transparent;
    border: 0.04em solid #231F20 !important;
    transition: background 0.5s;
    color: #4e4e4e;
    border-radius: 0;
    margin: 0;
}
.year-filter ul li a.selected {
    background: #231F20;
    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: 16px;
    font-weight: normal;
    text-transform: none;
    color: #333333;

    padding-top: 0em;
    padding-bottom: 0;
}
.modal-header .close {
    margin-top: 0.1em;
    font-size: 1.5em;
    line-height: 0.25em;
}
li.type {
    width: 50%;
    padding: 0.5em 0;
    white-space: normal;
}
.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;

    text-transform: uppercase;
    font-weight: normal;
}
.your-preferences {
    background-color: transparent;
    box-sizing: border-box;
    border: 0em solid #231F20;
    padding: 1em 0 1em 0;
}
.form input,
.form select {
    font-size: 1em;
    padding:  0 0.16em;
    box-sizing: border-box;
    color: #333333;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    background: #fff;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border: 1px solid #F4F5F6;
    border-radius: 0;
    height: 2.2em;
}
.events-container {
    padding-top: 22px;
    clear: both;
    border-top: 0px solid #a1a1a1!important;
}
.form .lable {
    padding-right: 1em;
    height: auto;
    vertical-align: middle;
    line-height: normal;
    margin-top: 0.22em;
}
/***************************************** 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 #231F20;
    -webkit-box-shadow: 0 0.08em 0.32em #231F20;
}
.etooltip .tip-arrow {
    background:transparent;
}
/************************************************* END OF TOOLTIP ********************************************************/
/*THIS IS REQUIRED*/
@media (max-width: 768px) and (min-width: 0) {
    body,
    .tabItem,
    .tab-active,
    .form input,
    .form select,
    .next-event
    {
        font-size: 16px;
    }
}
@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: right;
    }
    .export-types {
        padding-bottom: inherit;
    }
}
.time-line-month-name {
    padding: 0px !important;
    height: 25px !important;
    line-height: 2;
}
.headline-left .date-time {
    font-weight: normal;
    padding-top: 10px;
    padding-bottom: 5px;
    -webkit-font-smoothing: antialiased;
    color: #333333;
    font-size: 13px;
    direction: ltr;
}
.headline-left .event-name {
    margin: 0 0 0.5em 0;
    padding: 0;
    font-size: 1em;
    /*! font-weight: bold; */
    color: #333333;
}
/*END*/
.events-container {
    padding-top: 22px;
    clear: both;
    border-top: 1px solid #a1a1a1;
}
.tabs-wrapper {
    margin: 7px 0px -1px 0;
}

.year-filter ul li a {
    height: auto;
    font-size: 1em;
    line-height: normal;
    padding: 0 !important;
    text-decoration: none;
    font-weight: normal;
    font-style: normal;
    background: transparent;
    border: 00em solid #231F20 !important;
    transition: background 0.5s;
    background: transparent;
    color: #231F20;
    font-weight: bold;
    border-radius: 0;
    margin: 0;
}
.eupagination>li>a, .eupagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #2C2E30;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #e1e1e1;
}
.year-filter .selected {
    font-weight: bold;

}
.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: #2A8FA4;
    border-color: #2A8FA4;
}
@media (min-width: 0px) and (max-width: 360px) {
    .tabs li {
        display: inline-block;
        /* width: 100%; */
        margin-bottom: 20px;
        text-align: center;
        height: auto !important;
    }

    .tabs {
        line-height: auto !important;
        height: auto !important;
        border-bottom: solid 0px #d9d9d9;
        min-height: auto;
        text-align: center;
    }
}

.check-subscription-link {

    font-weight: normal;

}
.subscribe-actions {
    margin-bottom: 1em;
}
body.body-rtl  .subscription-section {
    float: left;
    text-align: left;
}

.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    color: #FFFFFF;

}

.eupagination>li:first-child>a, .eupagination>li:first-child>span {
    margin-left: 0;
    outline:
        none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.eupagination>li {
    display: inline;
    outline: none!important;
}


.eupagination>.disabled>span, .eupagination>.disabled>span:hover, .eupagination>.disabled>span:focus, .eupagination>.disabled>a, .eupagination>.disabled>a:hover, .eupagination>.disabled>a:focus {
    cursor: default;
    outline: none!important;
}



/*Modification*/

.button-wrraper {
    text-align: center;
    padding: 15px 0 15px 1em;
}

@media (max-width: 580px) and (min-width: 0px){
    .tabs li {
        display: inline-block;
        margin-bottom: 20px;
        text-align: center;
        height: auto !important;
        margin: 0;
    }
    .tabs {
        text-align: center;
    }
    .button-wrraper {
        padding: 12px 0 0 0;
    }
    .btn, .btn-primary, .btn-submit, .btn-cancel, .btn:focus, .btn-primary:focus, .btn-submit:focus, .btn-cancel:focus {
        margin-bottom: 5px;
    }
}

/*Iphone 5*/
@media (max-width:320px){
    .btn,
    .btn-primary,
    .btn-submit,
    .btn-cancel,
    .btn:focus,
    .btn-primary:focus,
    .btn-submit:focus,
    .btn-cancel:focus{
        min-width: 0!important;
    }
    .button-wrraper {
        padding: 12px 0 0 0;
    }
}

/*Modification*/
.filter-type ul li{
    padding-left: 0;    
}

.content-headline {
    margin-left: 0; 
    border-left: 0; 
    border-right: 0; 
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: 5px;
}

.content-headline .headline {
    padding: 0;
}

/* redesign */
.content-headline {
    margin-left: 20px;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: 5px;
}

.box-border {
    border-left: 1px solid #e4e4e4;
    border-right: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
}

* {
    outline: 0;
}

.expand-collapse>.exco-text {
    width: 20px;
    height: 25px;
}

.content-headline .headline {
    padding: 10px;
}

.content-headline.box-border {
    margin-left: 21px;
}
body .hyperlink{
    color: #1D1D18!important;
    font-size: 13px;
}
body .hyperlink:hover{
    text-align: center;
    color: #2A8FA4!important;
    text-decoration: underline;
}

body .cookies-box a {
    color: #999999 !important;
    font-size: 13px;
}
body .cookies-box a:hover{
    color: #2A8FA4!important;
    text-align: center;
    text-decoration: underline;
}

.google-recapcha {
    display: none;
}

.form .label {
    width: 23%;
}

/*arabic*/
.events-scroller {
    margin-left: -9px;
}


*{
    outline: 0;
}

@media (min-width: 768px){
    .modal-content {
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}

@media (min-width: 320px){
    .modal-content {
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}

@media (min-width: 414px){
    .modal-content {
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}
.tabs {
    position: absolute;
    top: -57px;
    width: auto;
    background: #F4F5F6;
    border: 1px solid #2A8FA4;
    border-radius: 30px;
}
.google-recapcha > div {
    display: none;
}
/* a.tabItem:before{
content: " ";
height: 1px;
background: #626366;
position: absolute;
margin-top: 16px;
transform: scaleX(0);
transition: transform 250ms ease-in-out;
}
a.tabItem:hover:before {
transform: scaleX(1);
}

a.tabItem.second-heading.active.tab-active:before {
transform: scaleX(1);
}

a.tabItem.second-heading:before {
width: 59px;
} */

/*
a.tabItem.second-heading.active.tab-active:before {
width: 95px;
}
*/

a[aria-controls=UpcomingEventsContainer]:before {
    width: 95px!important;
}


@media (max-width:520px){
    .tabs {
        text-align: center!important;
    }
}
*{
    outline: 0;
}

.btn:active, .btn.active {
    background-image: none!important;
    outline: 0!important;
    -webkit-box-shadow: none!important;
    box-shadow: none!important;
}
.time-line-item {
    margin: 1px;
}
.calendar-time-line .current-month .time-line-item {
    background-color: #fff;
    color: #333333;
    z-index: 9999;
}

.time-line-item:hover {
    background-color: #fff!important;
    color: #333333;
    border-color: #e4e4e4;
    z-index: 9999;
}
.current-month .time-line-month-name {
    font-weight: normal;
}
/*
.calendar-time-line li .time-line-item:hover + li .time-line-item {
border-left-color: #2A8FA4;
}
.calendar-time-line li .time-line-item:hover + li .time-line-item + li .time-line-item {
border-left-color: #e4e4e4;
}*/

.check-subscription-link .link {
    text-decoration: none;
    color: inherit;
    font-weight: 300;
}

a.tabItem.second-heading {
    font-weight: 400;
}
.supply-by-box a {
    font-size: 13px!important;
}

body .cookies-box a {
    font-size: 14px !important;
}

.supply-by span {
    font-size: 14px;
}
.next-event {
    font-size:0;
}

.next-event div.event-name {
    padding-bottom: 5px;
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 0em;
}
.next-event div.date-time {
    font-weight: bold;
    padding-bottom: 5px;
    font-size: 11px;
    font-family: RT Vickerman,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,"Noto Sans",sans-serif;
    font-weight: bold;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: .165em;
    color: #706f6f;

    text-align: right;
}

.next-event div.lable {
    font-weight: bolder;
    padding-bottom: 1em;
    font-size: 13px;
    font-family: RT Vickerman,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,"Noto Sans",sans-serif;
    font-weight: bold;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .165em;
    color: #2A8FA4;

}
.next-event {
    padding-bottom: 0px;
    margin: 0.2em;
    background-color: #fff;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 2px 0 rgb(0 0 0 / 12%), 0 2px 2px 0 rgb(0 0 0 / 12%);
    box-shadow: 0 0 2px 0 rgb(0 0 0 / 12%), 0 2px 2px 0 rgb(0 0 0 / 12%);
    padding: 0;

    padding: 30px 40px;
    border-left: 3px solid #2A8FA4;
    border-right: 3px solid #2A8FA4;
}
section.next-event {
    display: block;
    margin: 0 auto;

    width: 100%;
    width: 100%;
    box-sizing: border-box;
}
.next-event .lable,
.next-event .date-time {
    display: inline-block;
    width: 50%;
    vertical-align: top;
}
.calendar-time-line {
    padding-bottom: 0em;
    padding-top: 1em;
}
.calendar-time-line .year {
    font-size: 16px;
    padding-bottom: 0.5em;
    line-height: normal;
}
.time-line-month-name {
    padding: 0px!important;
    height: auto!important;
    line-height: normal;
}
.color-dot-box {
    font-size: 40px;
    font-family: 'Arial, Helvetica, sans-serif' !important;
    line-height: 23px;
}
.time-line-month-name {
    padding: 0px!important;
    height: auto!important;
    line-height: normal;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: normal;
}
.color-box {
    position: relative;
    top:2px;
    border-radius: 12px;
    border: 1px solid transparent;
}
.popup-date {
    font-size: 13px;
    font-family: RT Vickerman,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,"Noto Sans",sans-serif;
    font-weight: bold;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: .165em;
    color: #706f6f;
}
/*
.popup-event-name {
font-weight: bold;
}*/
.time-line-item {
    padding-top: 10px;
    padding-bottom: 0;
    margin: -1px;
    border: solid 1px #e4e4e4;
    color: #b1b1b1;
    text-align: center;
    background: #fff;
    z-index: -9999;
}
.etooltip .popup-content {
    margin-bottom:20px;
}
.etooltip .popup-content:last-child {
    margin-bottom: 0;
}
.etooltip {
    border:0;
    background-color: #fff;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 2px 0 rgb(0 0 0 / 12%), 0 2px 2px 0 rgb(0 0 0 / 12%);
    box-shadow: 0 0 2px 0 rgb(0 0 0 / 12%), 0 2px 2px 0 rgb(0 0 0 / 12%);
    padding: 0;
}
/*
.calendar-time-line li.current-month  + li .time-line-item {
border-left-color: #2A8FA4;
}
.calendar-time-line li.current-month  + li .time-line-item + li .time-line-item {
border-left-color: #e4e4e4;
}*/

ul.type-filter li a {
    display: inline-block;
    margin: 0 0 5px 0;
    padding: 1em 1.5em;
    font-weight: normal;
    text-transform: uppercase;
    font-family: inherit;
    font-size: 1em;
    text-transform: capitalize;
    color: #2A8FA4;
    background-color: #F4F5F6;
    border-radius: 30px;
    border: 1px solid #F4F5F6;
    transition: background 0.5s, color 0.5s, border 0.5s;
}
.type-filter li:hover a,
.filter-type .selected .type-filter-name {
    font-weight: normal;
    text-decoration: none;
    color: #fff;
}
.type-filter li:hover a,
.filter-type ul.type-filter .selected a {
    background-color: #2A8FA4;
    border-color: #2A8FA4;
    color #FFFFFF !important;
    text-decoration: none !important;
}
.filter-type .selected a .color-box {
    position: relative;
    top: 2px;
    border-radius: 12px;
    border: 1px solid #fff;
}
.color-box {
    width: 11px;
    height: 11px;

}
.filter-type ul li {
    float: none;
    padding: 0px;
    display: inline-block;
}
nav.year-filter {
    margin-top: 2em !important;
    border-bottom: 0 solid #F4F5F6;
    margin-bottom: 30px;
}
.year-filter ul {
    margin: 0;
}

.year-filter ul li a {
    display: block;
    line-height: 43px;
    padding: 0 1.4em !important;
    font-weight: normal;
    text-align: center;
    text-transform: none;
    color: #2A8FA4;
    border-radius: 30px;
    background: #F4F5F6;
    border-bottom: 1px solid #F4F5F6;
    transition: all 0.2s ease 0s;
}
.year-filter ul li a:hover,
.year-filter ul li.selected a {
    position: relative;
    font-weight: normal;
    text-decoration: none;
    color: #FFFFFF;
    background: #2A8FA4;
    border: 1px solid #2A8FA4;
}
ul.type-filter {
    margin-top: 1em;
    margin-bottom: 2em;
    text-align: left;
}
.show-hide-toggle {
    display: block!important;
}
button.expand-collapse {
    display: none!important;
}
.event-row.focus .content-headline {
    border-right-width: 0!important;
}
.content-headline .headline {
    padding: 0px;
}
.content-headline {
    margin-left: 0px;
    border-left: 0px solid transparent;
    border-right: 0px solid transparent;
    border-bottom: 0px solid #e4e4e4;
    padding-bottom: 0px;
}
.events-scroller {
    margin-left: 0;
}
.event-row {
    background-color: #F4F5F6;
    border-radius: 20px;
    border: 1px solid #F4F5F6;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 0;
    margin: 0 0 1% 0;
    padding: 1em;
    transition: 0.2s ease-in-out all;
}
.event-row:hover {
    transform: scale(1.01);
}
p {
    margin-top: 0;
    margin-bottom: 0;
}
.headline-left .full-descriptions {
    color: #333333;
    padding-top: 0;
    padding-bottom: 0;
}

.headline-left .date-time {
    padding:0;
    margin-right: 0;
    margin-bottom: 0.5em;
    font-size: 1em;
    font-family: inherit;
    /*! font-weight: bold; */
    text-transform: uppercase;
    color: #2A8FA4;
}
.headline-right .event-type {
    text-transform: uppercase;
    letter-spacing: .165em;
    color: #2A8FA4;
    font-size: 13px;
    padding:0;
}

div#lblUpcommingEventDownload {
    font-size: 11px;
    font-family: RT Vickerman,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,"Noto Sans",sans-serif;
    font-weight: bold;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: .165em;
    color: #706f6f;
}

.section-header.subscription-header {
    font-weight: bold;
    margin-bottom: 1em;
}
div#lblUpcommingEventDownload {
    max-width: 150px;
}
.check-subscription-link {
    margin-top: 1em;
}
.compulsory-field {
    color: #2A8FA4;
}
.alert-danger {
    color: #2A8FA4;
    background-color: #fff;
    border-color: #2A8FA4;
}
.supply-by-box {
    margin-top: 0px;
}
ul.eupagination {
    margin-bottom: 0;
}
.footer {
    padding-top: 5px;
    font-size: 14px;
    color: #999999;
}

li.page.first,
li.page.last {
    /* display: none!important; */
}
.eupagination li.first a span:last-child,
.eupagination li.prev a span:last-child,
.eupagination li.next a span:last-child,
.eupagination li.last a span:last-child{
    position: relative;
    color: transparent;
}

.eupagination li.first a span:last-child:before{
    content: '<<';
    font-size: 1.0em;
    position: absolute;
    color: #333333;
}
.eupagination li.prev a span:last-child:before{
    content: '<';
    font-size: 1.0em;
    position: absolute;
    color: #333333;
}
.eupagination li.next a span:last-child:before{
    content: '>';
    font-size: 1.0em;
    position: absolute;
    color: #333333;
}
.eupagination li.last a span:last-child:before{
    content: '>>';
    font-size: 1.0em;
    position: absolute;
    color: #333333;
}

.eupagination li:hover a {
    color: #FFFFFF!important;
    background-color: #2A8FA4!important;
    border-color: #2A8FA4!important;
}
.eupagination li a:hover span:last-child:before{
    color: #FFFFFF!important;
}
.export-types .export-icon {
    margin: 10px;
}


.export-types.download-all-events button.export-icon.mail-apple {
    width: auto;
    height: auto;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0!important;
    background: transparent!important;
}
.export-types.download-all-events button.export-icon.mail-apple span {
    position: relative!important;
    clip: unset!important;
    height: auto!important;
    width: auto!important;
    font-size:0!important;

}
.export-types.download-all-events button.export-icon.mail-apple span:after {
    content:"ADD ALL TO CALENDAR";
    padding: 16px 20px;
    border: 0;
    font-weight: 700;
    height: auto;
    line-height: normal;
    color: #fff;
    background: #2A8FA4;
    font-size: 13px!important;
    border-radius: 25px;
    letter-spacing: .165em;
    text-transform: uppercase;
    font-family: inherit;
    transition: background 0.5s, color 0.5s, border 0.5s;

    display: inline-block;
}
button.export-icon.mail-apple {
    padding-right: 0!important;
}
.export-types.download-all-events button.export-icon.mail-apple span:hover:after {
    background: rgba(140,24,155,.8)!important;
    color: #FFFFFF;
    cursor: pointer;
}
.export-section {
    position: absolute;
    top: -68px;
    right: 25%;
}
.subscription-section {
    position: absolute;
    top: -58px;
    right: 2%;
}
div#lblUpcommingEventDownload {
    font-size: 16px;
    font-family: RT Vickerman,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,"Noto Sans",sans-serif;
    font-weight: bold;
    line-height: normal;
    text-transform: none;
    letter-spacing: 0;
    color: #333333;
}
section.next-event {
    display: block;
    margin: 0;
    width: 100%;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 80px;
}
.section-header.subscription-header {
    max-width: 150px;
    text-align: left;
}

/* a */
/* .tabs-wrapper::after {
background: #FFF;
width: 42%;
display: inline-block;
content: "";
left: 29%;
height: 45px;
border: 2px solid #2A8FA4;
position: relative;
bottom: 51px;
z-index: -1;
border-radius: 40px;
} */

.calendar-time-line ul {
    margin: 0;
    margin-top: 80px;
}

/*.mail-outlook {
    background: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/uk-rio/outlook.png") no-repeat center;
    background-image: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/uk-rio/outlook.png");
     background-size: contain; 
}*/

/*.mail-google {
    background: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/uk-rio/date.png") no-repeat center;
    background-image: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/uk-rio/date.png");
     background-size: contain; 
}*/

.download-event .export-icon {
    width: 22px;
    height: 22px;
}

/* .calendar-time-line .color-dot {
font-weight: normal;
display: none;
} */

.calendar-time-line .current-month::after {
    content: "";
    background: #2A8FA4;
    height: 4px;
    width: 100%;
    display: block;
}

.calendar-time-line {
    position: relative;
    margin-top: 5em;
}

nav.year-filter {
    position: absolute;
    top: 0;
    width: 100%;
}

.calendar-time-line .year,
.section-header.subscription-header,
div#lblUpcommingEventDownload {
    display: none;
}

.headline-left {
    display: flex;
    flex-direction: column;
}

.headline-left .event-name { order: -1; }
.headline-left .date-time { order: 0; }                                                                                                                               
.headline-left .location { order: 1; }

/* FOOTER */
.supply-by-box, .cookies-box {
    display: inline-block;
}
.supply-by:after {
    content: "|";
}

/* MEDIA QUERY */
@media (max-width:1043px) {
    .tabs {
        /* padding: 10px; */
    }
}

@media (max-width: 939px) {
    .export-section {
        position: absolute;
        top: 16px;
        right: 23%;
    }
}

@media (max-width: 940px) {
    section.next-event {
        display: block;
        margin: 0;
        width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    .export-section {
        position: relative;
        top: 0;
        right: 0;
    }
    .subscription-section {
        position: relative;
        top: 0;
        right: 0;
    }
}
@media (max-width: 915px) {
    .zh-cn .calendar-time-line ul,
    .zh-tw .calendar-time-line ul {
        margin-top: 9em;
    }
}
@media (max-width: 884px) {
    .en-gb .calendar-time-line ul {
        margin-top: 9em;
    }
    #PastEventsContainer.filter-type ul li {
        display: inline-block;
        width: calc(96%/4);
        margin: 0 0 1% 0;
    }
}
@media (max-width:581px) {
    .tabs {
        width: auto;
    }
}

@media (max-width: 550px) {
    .headline .headline-right {
        position: relative;
        top:1em;
    }
    .export-and-subscription {
        margin-top: 2em;
    }
    .calendar-time-line ul li {
        display: inline-block;
        width: 25%;
        text-align: center;
    }
    section.calendar-view {
        display: block!important;
    }
}

@media (max-width: 480px) {
    nav.year-filter {
        margin-top: 3em!important;
    }
    .calendar-time-line ul {
        margin-top: 145px!important;
    }
}

@media (max-width:453px) {
    .calendar-time-line ul {
        margin: 0;
        margin-top: 150px;
    }
}
@media (max-width: 440px) {
    .export-section {
        float: none;
        width: 100%;
        text-align: center;
    }
    div#lblUpcommingEventDownload {
        max-width: 100%;
    }
    .subscription-section {
        float: none;
        text-align: center;
    }
    .section-header.subscription-header {
        max-width: 100%;
        text-align: center;
    }
    .check-subscription-link {
        text-align: center;
    }

}
@media (max-width: 480px) {
    body {
        margin: 0 20px!important;
    }
}
@media (max-width: 479px) {
    .headline .headline-right {
        position: relative;
        top: 0;
    }
    .headline-right .event-type {
        position: relative;
        top: 0px;
        font-size: 11px!important;
        width: 100%;
        display: block;
        white-space: nowrap;
        text-align: left;
    }
    .event-row {
        padding-left: 10px;
        padding-right: 10px;
    }
    .event-row {
        padding: 5px;
    }
    #UpcomingEventsContainer .headline-right .download-event {
        margin-top: 0;
    }
}
@media (max-width: 427px) {
    nav.year-filter {
        margin-top: 1em !important;
    }
}
@media (max-width: 320px) {
    .subscription-section .subscription-header {
        text-align: center;
        width: 100% !important;
        float: none;
    }
    .subscription-section .btn-subscribe-wrapper {
        float: none;
        width: 100% !important;
        padding-top: 0em !important;
        text-align: center;
    }
}


@media (max-width:580px) {
    .export-types .export-icon {
        margin: 0;
    }
    .year-filter ul li a {
        font-size: 13px !important;
    }
}

@media (max-width:492px) {
    .subscription-section {
        float: none;
        text-align: center;
    }
    .export-section  {
        float: none;
        text-align: center;
        margin-bottom: 15px;
    }
    .btn, .btn-primary, .btn-submit, .btn-cancel, .btn:focus, .btn-primary:focus, .btn-submit:focus, .btn-cancel:focus {
        padding: 16px 65px;
    }
}

@media (max-width: 480px) {
    .tabs {
        width: auto;
    }
    .tabItem {
        min-width: auto;
    }
    .tab-active {
        width: auto;
    }
    .calendar-time-line ul {
        margin-top: 13em !important;
    }
}

@media (max-width:405px) {
    body {
        margin: 0px!important;
    }
    div#wrapper {
        padding: 0px;
    }
}
@media (max-width: 363px) {
    .zh-cn .calendar-time-line ul,
    .zh-tw .calendar-time-line ul {
        margin-top: 11em !important;
    }
}
@media (max-width: 346px) {
    .calendar-time-line ul {
        margin-top: 11em !important;
    }
}

@media (max-width:320px) {
    nav.year-filter {
        margin-top: 1em!important;
        margin-bottom: 0;
    }
    .en-gb .calendar-time-line ul,
    .zh-cn .calendar-time-line ul, 
    .zh-tw .calendar-time-line ul {
        margin-top: 14em !important;
    }
}
