@font-face {
    font-family: "RT Vickerman";
    font-weight: normal;
    src: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/uk-rio/fonts/RT_VickermanW01-Regular-eot.eot?#iefix") format("eot"),
     url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/uk-rio/fonts/RT_VickermanW01-Regular-woff2.woff2") format("woff2"), 
     url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/uk-rio/fonts/RT_VickermanW01-Regular-woff.woff") format("woff"),
      url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/uk-rio/fonts/RT_VickermanW01-Regular-ttf.ttf") format("truetype")
}

@font-face {
    font-family: "RT Vickerman";
    font-weight: bold;
    src: /*url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/uk-rio/fonts/RT_VickermanW01-Bold-eot.eot?#iefix")*/
    url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/uk-rio/fonts/RT_VickermanW01-Bold-woff2.woff2") format("woff2"), 
    url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/uk-rio/fonts/RT_VickermanW01-Bold-woff.woff") format("woff"), 
    url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/uk-rio/fonts/RT_VickermanW01-Bold-ttf.ttf") format("truetype")
}
/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/
/*************************************************** MAIN RULES **********************************************************/
body {
    font-size: 16px;
	font-family: RT Vickerman, sans-serif;
    color: #1D1D18;
	background: #f6f6f6;
}

.wrapper {
    width: 100%;
    max-width:1050px;
    margin: 0 auto;
    padding: 0 0 0 0;
    position: relative;
}
div#wrapper {
    box-sizing: border-box;
    padding: 0 20px;
}
.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: #8C189B;
    text-decoration: none;
    font-size: 16px!important;
}
a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
	color: #8C189B;
}
.main-heading {
    color: #1D1D18 !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 {
    padding: 16px 60px;
    border: 0;
    font-weight: 700;
    height: auto;
    line-height: normal;
    color: #fff;
    background: #8C189B;
    font-size: 13px;
    border-radius: 25px;
    letter-spacing: .165em;
    text-transform: uppercase;
    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: rgba(140,24,155,.8);
    color: #FFFFFF;
    cursor: pointer;
}   
/************************************************ 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: center;
    font-size:0;
}

.tabs li {
    float: none;
    margin: -2.2px;
    display:inline-block;
}
.tabItem {
    height: auto;
    line-height: normal;
    display: block;
    padding-top: 1.0em !important;
    padding-right: 1.0em !important;
    padding-bottom: 1.0em !important;
    padding-left: 1.0em !important;
    letter-spacing: .165em;
    margin-top: 0.0em;
    margin-right: 0em;
    margin-bottom: 0.0em;
    margin-left: 0em;
    border-radius: 40px;
    font-family: inherit;
    font-weight: bold!important;
    font-size: 1.0em;
    text-transform: uppercase!important;
    color: #706f6f;
    font-style: normal;
    text-decoration: none;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    background: transparent;
    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;
    min-width: 14em;
}

.tabItem:hover {
    background: transparent;
    border: 0;
    color: #8C189B!important;
}

.tab-active {
    color: #8C189B !important;
    background: transparent;
    cursor: default;
}

.tabs {
    border: 2px solid #8c189b;
    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-right: 13px;
    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: 18px;
    font-weight: normal;
    text-transform: none;
    color: #1D1D18;
  
    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: #000000;
    font-size: 16px;
	font-family: RT Vickerman, sans-serif;
    color: #1D1D18;
    outline: none;
    background: #fff;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border: 1px #d7d7d7 solid;
    /*border-top: 2px #703081 solid;*/
    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: #000000;
    font-size: 13px;
	direction: ltr;
}
.headline-left .event-name {
    color: #595959 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    font-weight: bold;
   
}
/*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: #8c189b;
    border-color: #8c189b;
}
@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{
    border-bottom: 0!important;
    }
    .tabItem{
    border: 0px;
    width: 80%;
    margin: 0 auto;
    border:0;
}
    .tab-active{
    border-bottom: 0;
    width: 80%;
    margin: 0 auto;
    }
    .button-wrraper {
    padding: 12px 0 0 0;
    }
  
    .tabItem:hover {
        background: #FFFFFF;
        color: #000000!important;
        border:0;
    }
    /* a.tabItem.second-heading.active.tab-active{
        border: 0;
        margin-bottom: 10px;
        border: 0.08em solid #00386D!important;
    } */
    .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;
    }
    .tabItem{
        border:0px;
        width: 82%;
    }
    .tab-active{
        border-bottom: 0;
        width: 81%;
        margin: 0 auto;
    }
    .button-wrraper {
      padding: 12px 0 0 0;
    }
    a.tabItem.second-heading {
    /* margin-bottom: 5px; */
    }
}

/*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;
}

a.tabItem.second-heading.active.tab-active {
    text-align: center;
    border: 0.08em solid #8c189b;
    font-weight: 300;
}

a.tabItem.second-heading {
    text-align: center;
    font-size: 14px!important;
}

body .hyperlink{
    color: #1D1D18!important;
    font-size: 13px;
}
body .hyperlink:hover{
    text-align: center;
    color: #8C189B!important;
    text-decoration: underline;
}

body .cookies-box a {
    color: #1D1D18 !important;
    font-size: 13px;
}
body .cookies-box a:hover{
    color: #8C189B!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;
    }
}

.tab-active {
    background-color: #8C189B;
    color: #FFFFFF!important;
}

a.tabItem.second-heading.active.tab-active:hover {
    background-color: #8C189B;
    color: #FFFFFF!important;
}

.tabs {
    border: 2px solid #8c189b;
    width: auto;
    border-radius: 40px;
    position: absolute;
    background: #fff;
    top: -57px;
}



.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:375px){
  
}

@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: #000000;
    z-index: 9999;
}

.time-line-item:hover {
    background-color: #fff!important;
    color: #000000;
    border-color: #e4e4e4;
    z-index: 9999;
}

li.current-month .time-line-month-name {
    font-weight: 700;
}
/*
.calendar-time-line li .time-line-item:hover + li .time-line-item {
    border-left-color: #8C189B;
}
.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;
}

.check-subscription-link a:hover {
    text-decoration: underline;
}


.supply-by-box a {
    font-size: 13px!important;
}

body .cookies-box a {
    font-size: 13px!important;
}

.supply-by span {
    font-size: 13px;
}
.next-event {
    font-size:0;
}

.next-event div.event-name {
    padding-bottom: 5px;
    font-size: 18px;
    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: #8c189b;
    
}
.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 #8c189b;
    border-right: 3px solid #8c189b;
}
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: 18px;
    text-transform: uppercase;
    font-weight: normal;
}
.color-box {
    position: relative;
    top:-1px;
    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: #8C189B;
}
.calendar-time-line li.current-month  + li .time-line-item + li .time-line-item {
    border-left-color: #e4e4e4;
}*/

ul.type-filter li a {
    background-color: #FFFFFF;
    border-radius: 0em 0em 0em 0em;
    border: 1px solid #8c189b;
    padding: 1em 1em 1em 1em;
    color: #FFFFFF;
    font-weight: bold;
    text-transform: uppercase;
    font-family: inherit;
    margin: 0.22em;
    letter-spacing: .165em;
    transition: background 0.5s, color 0.5s, border 0.5s;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: .165em;
    color: #8c189b;
    font-size: 11px!important;
    display: inline-block;
}
.filter-type .selected .type-filter-name {
    font-weight: bold;
    text-decoration: none;
  color: #fff;
}
.filter-type ul.type-filter .selected a {
    background-color: #8c189b;
}
ul.type-filter li a span {
    font-size: 11px;
}
.filter-type .selected a .color-box {
    position: relative;
    top:-1px;
    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: 1em!important;
    border-bottom: 1px solid #E9E9E9;
    margin-bottom: 30px;
}
.year-filter ul {
    margin: 0;
}

.year-filter ul li a {
    padding: 0 15px!important;
    color: #706F6F;
    display: block;
    text-align: center;
    font-weight: normal;
    background: transparent;
    text-transform: none;
    transition: all 0.2s ease 0s;
    border-bottom: 2px solid transparent!important;
    line-height: 43px;
}
.year-filter ul li a:hover {
    color: #8C189B;
    background: transparent;
    position: relative;
    text-decoration: none;
    border-bottom: 2px solid #8C189B!important;
}
.year-filter ul li.selected a {
    color: #8C189B;
    background: transparent;
    position: relative;
    text-decoration: none!important;
    border-bottom: 4px solid #8C189B!important;
    font-weight: bold;
}
ul.type-filter {
    margin-top: 1em;
    margin-bottom: 2em;
    text-align: center;
}
.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 {
    border: 0;
    background-color: #FFFFFF;
    border-radius: 0;
    border-bottom: 2px solid #8c189b;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 0;
    margin: 1em 2px;
    padding: 30px 40px;
}
p {
    margin-top: 0;
    margin-bottom: 0;
}
.headline-left .full-descriptions {
    color: #1D1D18;
    padding-top: 0;
    padding-bottom: 0;
}
.headline-left .event-name {
    color: #1D1D18 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    font-weight: bold;
    font-size: 18px;
}
.headline-left .date-time {
    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;
    margin-right: 0;
    padding:0;
    margin-bottom: 1.25em;
}
.headline-right .event-type {
    text-transform: uppercase;
    letter-spacing: .165em;
    color: #8c189b;
    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: #8c189b;
}
.alert-danger {
    color: #8c189b;
    background-color: #fff;
    border-color: #8c189b;
}
.supply-by-box {
    margin-top: 0px;
}
ul.eupagination {
    margin-bottom: 0;
}
.footer {

    padding-top: 5px;
}

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: #1D1D18;
}
.eupagination li.prev a span:last-child:before{
    content: '<';
    font-size: 1.0em;
    position: absolute;
    color: #1D1D18;
}
.eupagination li.next a span:last-child:before{
    content: '>';
    font-size: 1.0em;
    position: absolute;
    color: #1D1D18;
}
.eupagination li.last a span:last-child:before{
    content: '>>';
    font-size: 1.0em;
    position: absolute;
    color: #1D1D18;
}

.eupagination li:hover a {
    color: #FFFFFF!important;
    background-color: #8c189b!important;
    border-color: #8c189b!important;
}
 .eupagination li a:hover span:last-child:before{
    color: #FFFFFF!important;
}
.export-types .export-icon {
    margin: 10px;
}

@media (max-width: 480px) {
    nav.year-filter {
        margin-top: 3em!important;
    }
    .calendar-time-line ul {
        margin-top: 145px!important;
    }
}

@media (max-width: 550px) {
    .calendar-time-line ul {
        margin-top: 100px;
    }
    .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:453px) {
    .calendar-time-line ul {
        margin: 0;
        margin-top: 150px;
    }
}

.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: #8C189B;
    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: #1D1D18;
}
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 #8c189b;
    position: relative;
    bottom: 51px;
    z-index: -1;
    border-radius: 40px;
} */

.calendar-time-line ul {
    margin: 0;
    margin-top: 55px;
}

.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: #8c189b;
    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;
}

@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:581px) {
    .tabs {
        border: 2px solid #8c189b!important;
        width: auto;
    }
}

@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: 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;
    }
}

@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 {
        border: 2px solid #8c189b!important;
        width: auto;
    }
    .tabItem {
        min-width: auto;
    }
    .tab-active {
        width: auto;
    }
}

@media (max-width:400px) {
    a.tabItem.second-heading {
        text-align: center;
        font-size: 13px!important;
    }
    body {
        margin: 0px!important;
    }
    div#wrapper {
        padding: 0px;
    }
}

@media (max-width:320px) {
    nav.year-filter {
        margin-top: 1em!important;
        margin-bottom: 0;
    }
    .calendar-time-line ul {
        margin-top: 107px!important;
    }
}
