/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
@import url("//fonts.googleapis.com/css2?family=Montserrat&display=swap");
/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/


/*************************************************** MAIN RULES **********************************************************/
body {
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #45454A;
}

body.ar-ae {
    direction: rtl;
}

.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    color: #83848B;
}

.wrapper {
    width: 100%;
    max-width: 1185px;
    margin: 0 auto;
    padding: 0 0 0 0;
    position: relative;
}

a:link,
a:visited,
.hyperlink,
.check-subscription-link {
    color: #45454A;
    text-decoration: none;
}

a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    text-decoration: none;
    color: #45454A;
}

.footer {
    padding: 0em;
    font-size: 13px;
}

/*********************************************** END OF MAIN RULES *******************************************************/

/********************************************* ALIGNMENT FOR CALENDAR ****************************************************/

/* 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: #45454A;
    display: none;
}

.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: 15px 0px 5px 0px;
    /* margin: 0 15px; */
    text-align: center;
    transition: background 0.5s;
    /* border-radius: 10px; */
    border: 1px solid #F1F1EB;
    font-weight: 400;
    /* width: 70px; */
}

.time-line-item:hover {
    background-color: #044C84;
    color: #fff;
}

.color-dot-box .display-none {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    border: 0.08em solid #ddd;
}

.color-dot-box .color-dot {
    display: none;
}

.calendar-time-line .current-month .time-line-item {
    background-color: #FFF;
    color: #45454A;
    font-weight: bold;
    border-bottom: 2px solid #044C84;
}

.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: #83848B;
    font-size: 1.5em;
    width: 1.15em;
    height: 1.15em;
    line-height: 1.25em;
    border: 0.16em solid #ddd;
    border-radius: 0.75em;
    display: none;
}

.expand-collapse>.exco-text:hover,
.expand-collapse.expand>.exco-text {
    background-color: #ddd;
    border-right-color: #ddd;
    color: #83848B !important;
}

/* END OF + BUTTON CONTROLS */

/* EVENT ROWS */
body.en-gb .content-headline {
    margin-left: 0em;
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0.5px solid #ddd;
    padding-bottom: 0.5em;
}

body.ar-ae .content-headline {
    margin-right: 0em;
    border-right: 0.08em solid transparent;
    border-left: 0.08em solid transparent;
    border-bottom: 0.5px solid #ddd;
    padding-bottom: 0.5em;
}

.box-border {
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0.08em solid #bebfb8;
}

body.ar-ae .event-row.focus .content-headline {
    border-right: 0px solid #e4e4e4;
    border-left: 2px solid #046bc7 !important;
}

/* 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 #7FC0D4;
    padding-bottom: 0.6em;
}

/* END OF FILTERS */

/* PAGINATION */
.eupagination>li>a,
.eupagination>li>span {
    font-weight: normal;
    padding: 8px;
    margin-left: -0.08em;
    line-height: normal;
    color: #83848B;
    text-decoration: none;
    background-color: transparent;
    border: 0em solid #ddd;
}

.eupagination>li>a:hover,
.eupagination>li>span:hover {
    background-color: transparent;
    color: #83848B !important;
}

.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: #044C84;
    cursor: default;
    background-color: transparent;
    border-color: #ddd;
    font-weight: bold;
}

.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; */
}

/* 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: #fff;
    color: #45454A !important;
    padding: 15px 25px;
    border: 0.5px solid #c6c6c6;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize !important;
    border-radius: 30px;
    height: auto;
    line-height: normal;
    text-transform: uppercase;
    transition: background 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: #044C84;
    color: #fff !important;
    border: 0.5px solid #044C84;
}

/************************************************ 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;
    position: relative;
}

.tabs::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0em;
    left: 0em;
    width: 100%;
    height: 0em;
    z-index: 1;
    border-bottom: 0 solid #e1e1e1;
}

.tabs li {
    _float: none;
    float: none;
    margin: 0;
    display: inline-block;
}

.tabItem {
    height: auto;
    line-height: normal;

    padding-top: 1.0em !important;
    padding-bottom: 1.0em !important;
    padding-left: 0 !important;
    margin-left: 1.5em;
    margin-right: 1.5em;

    text-decoration: none;
    font-weight: 400;
    font-style: normal;

    background: transparent;

    transition: background 0.5s;

    color: #45454A !important;

    /*! margin-left: -0.08em; */
    position: relative;
    top: 0;
    left: 0.08em;
    border-top: 0em solid #FFFFFF;
    border-right: 0em solid #FFFFFF;
    border-bottom: 3px solid transparent;
    border-left: 0em solid #FFFFFF;
}

.tab-active {
    background: #FFFFFF;
    color: #044C84 !important;
    font-weight: 600;
    border-top: 0em solid #FFFFFF;
    border-right: 0em solid #FFFFFF;
    border-bottom: 0 solid transparent;
    border-left: 0em solid #FFFFFF;
    padding-right: 0 !important;
    padding-left: 0 !important;
    top: 0px;
    left: 0px;
}

.tab-active:before {
    content: "";
    width: 30px;
    height: 0;

    position: absolute;
    top: 90%;
    left: 50%;
    margin-left: -1.0em;
    border-radius: 1.5px;
    border-top: 3px solid #EC1E25;
}

.tabItem:hover:not(.tab-active) {
    background: transparent;
    color: #044C84 !important;
    border-top: 0em solid #FFFFFF;
    border-right: 0em solid #FFFFFF;
    border-bottom: 3px solid transparent;
    border-left: 0em solid #FFFFFF;

    text-decoration: none;
    font-style: normal;
}

/* YEAR BUTTONS */
.year-filter ul {
    margin: 0em 0;
    text-align: center;
    position: relative;
    top: 0;
    left: 0;
    transform: translate(50px, 0px);
}

.year-filter ul li {
    padding: 1px !important;
    ;
    margin: 0;
    display: inline-block;
    line-height: 1em;
}

.year-filter ul li a {
    height: auto;
    font-size: 1em;
    line-height: normal;
    padding: 0px 90px !important;
    /* padding-bottom: 0.5em !important; */
    /* padding-left: 1.0em; */
    /* padding-right: 1.0em; */
    text-decoration: none;
    font-weight: bold;
    font-style: normal;
    background: transparent;
    border: 0px solid #5e5e6440;
    transition: background 0.5s;
    color: #45454A;
    border-radius: 10px;
    margin: 0;
    position: relative;
}

/* .year-filter ul li a.selected {
    background: #044C84;
    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: #45454A;
    color: #333;
}

.modal-header .close {
    margin-top: 0.1em;
    font-size: 3.5em;
    line-height: 0.25em;
}

li.type {
    width: 50%;
    padding: 0.5em 0;
}

.checkbox-event-type {
    padding: 0;
}

label {
    vertical-align: text-top;
}

.modal-body {
    position: relative;
    padding: 1em;
}

.your-preference-title {
    text-align: center;
    padding: 0 0 1em 0;
}

.your-preferences {
    background-color: transparent;
    box-sizing: border-box;
    border: 0.16em solid #ddd;
    padding: 1em 0 1em 0;
}

.form input,
.form select {
    color: #333;
    font-size: 1em;
    padding: 0.22em;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.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 #044C84;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    background: #fff;
    box-shadow: 0 0.08em 0.32em #044C84;
    -moz-box-shadow: 0 0.08em 0.32em #ddd;
    -webkit-box-shadow: 0 0.08em 0.32em #ddd;
}

.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;
    }

    #PastEventsContainer .list-file-attachment {
        text-align: right;
    }
}

@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*/


body.body-rtl .tabs li {
    float: none !important;
}


.modal a:hover,
.hyperlink:hover,
.disclaimer-box a:hover,
.cookies-box a:hover {
    text-decoration: underline !important;
}

.modal a,
.hyperlink,
.disclaimer-box a,
.cookies-box a {
    text-decoration: none !important;
}


body.ar-ae .subscription-section {
    float: left;
    text-align: left;
}

body.ar-ae .check-subscription-link {
    text-align: left !important;
}

/* modification */
.main-heading {
    display: none;
}

.next-event div.date-time {
    font-weight: 500 !important;
    padding-bottom: 5px;
    font-size: 16px;
}

.next-event div.event-name {
    padding-bottom: 0.5em;
    font-weight: 400 !important;
    font-size: 16px;
}

.headline .headline-left {
    color: #044C84;
}

.headline-right .event-type {
    color: #45454A;
    font-weight: 500;
}

.headline-left .date-time {
    font-weight: 600;
    font-size: 16px;
}

.headline .headline-left {
    font-weight: 400;
    font-size: 16px;
}

.filter-type .selected .type-filter-name {
    font-weight: 500;
    text-decoration: none;
}

/* .year-list-box .selected a {
    background: #044C84;
    border-radius: 10px;
    color: #fff !important;
} */

.content-headline .headline {
    padding: 10px 0;
}

.file-type-pdf {
    background-image: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/ae-rpm/icons/pdf.svg");
}

.color-box {
    width: 15px;
    height: 15px;
    display: inline-block;
    margin-bottom: -1px;
    border-radius: 4px;
}

.subscription-header,
.export-header,
.check-subscription-link .link {
    font-weight: 400;
}

body.ar-ae .headline-right .event-type,
body.ku-arab-iq .headline-right .event-type {
    font-weight: 500;
}

.check-subscription-link {
    margin-bottom: 0 !important;
}

.calendar-view {
    margin-left: 0;
}

/* .year-filter ul li a:hover {
    background: #044C84;
    color: #fff;
} */

@media (max-width: 870px) {
    .time-line-item {
        margin: 0;
        width: unset;
    }
}

.radio-checked,
.checkbox-checked {
    position: relative;
}

.checkbox {
    background: #ffffff;
    border: 0.5px solid #BBD0E0;
    width: 18px;
    height: 18px;
    line-height: normal;
    border-radius: 4px;
    top: -1;
}

.checkbox-checked:after {
    content: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/ae-rpm/icons/checked.png");
    position: absolute;
    left: -1px;
    top: -1px;
}

.radio {
    border: 0.5px solid #BBD0E0;
    width: 14px;
    height: 14px;
    line-height: normal;
    border-radius: 15px;
    background: transparent;
    top: -2px;
}

.radio-checked:after {
    content: "";
    border: 6px solid #044C84;
    background: #044C84 !important;
    line-height: normal;
    border-radius: 16px;
    display: inline-block;
    position: relative;
    left: -3px;
    top: -2px;
}

.ar-ae .radio-checked:after {
    left: 0;
    right: -3px;
}

@media (max-width: 320px) {
    .check-subscription-link {
        text-align: left;
    }
}

.ar-ae .eupagination>li:last-child>a,
.ar-ae .eupagination>li:last-child>span {
    border-top-left-radius: 0.75em;
    border-bottom-left-radius: 0.75em;
    /* border-left: none; */
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.ar-ae .eupagination>li:first-child>a, .ar-ae .eupagination>li:first-child>span {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0.75em;
    border-bottom-right-radius: 0.75em;
    /* border-right: 0; */
}

ul.eupagination li:nth-child(1), ul.eupagination li:last-child {
    display: none;
}

.headline-left .event-name {
    color: #45454A;
}

.filter-type .clear-both ul li a:before {
    content: "";
    position: relative;
    left: -25px;
    top: 17px;
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background: #fff;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1);
}

.filter-type .clear-both ul .selected a:before {
    border-color: #45454A;
}

.year-filter .selected a::after {
    content: '';
    position: absolute;
    top: 81%;
    left: -40px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #45454A;
    border-radius: 50%;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.year-filter li:last-child.selected a::after {
    left: -38px; 
}

/* start Arabic */
.ar-ae .filter-type .clear-both ul li a:before {
    content: "";
    position: relative;
    left: 25px;
    top: 17px;
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background: #fff;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1);
}

.ar-ae .filter-type .clear-both ul .selected a:before {
    border-color: #45454A;
}

.ar-ae .year-filter .selected a::after {
    content: '';
    position: absolute;
    top: 81%;
    right: -40px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #45454A;
    border-radius: 50%;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ar-ae .year-filter li:last-child.selected a::after {
    right: -38px; 
}

body.ar-ae .filter-type ul li, body.ku-arab-iq .filter-type ul li {
    float: none;
    padding: 10px;
}

body.ar-ae .year-filter ul {
    margin: 0em 0;
    text-align: center;
    position: relative;
    top: 0;
    right: 0;
    transform: translate(-50px, 0px);
}
/* end arabic */

@media (min-width:0px) {
    .year-filter li:last-child.selected a::after {
        left: -39px; 
    }

    .year-filter li:nth-child(2).selected a::after {
        left: -41px; 
    }
}

.attachment-icon {
    width: 24px;
    height: 24px !important;
}
