/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
@import url("//fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap");


@font-face {
    font-family: 'DTCFont';
    font-style: normal;
    src: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/ae-dtc/fonts/PFDinTextArabic-Regular.ttf") format('truetype');
}

/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/


/*************************************************** MAIN RULES **********************************************************/
body {
    padding: 0;
    margin: 0;
    font-family: 'DTCFont', 'Inter', sans-serif;
    font-size: 16px;
    color: #211E44;
}

.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-size: 16px;
    font-family: 'DTCFont', 'Inter', sans-serif;
    color: #211E44;
}

.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: #211E44;
    text-decoration: none;
}

a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    text-decoration: underline;
    color: #211E44;
}

.footer {
    padding: 0em;
}

/*********************************************** 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: #003E5C;
}

.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;
    margin: -0.08em 0 0 -0.08em;
    border: 0.08em solid #DBDBDB;
    text-align: center;
    transition: background 0.5s;
}

.time-line-item:hover {
    background-color: #DBDBDB;
}

.color-dot-box .display-none {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    border: 0.08em solid #DBDBDB;
}

.color-dot-box .color-dot {
    display: none;
}

.calendar-time-line .current-month .time-line-item {
    background-color: #DBDBDB;
}

.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: #211E44;
    font-size: 1.5em;
    width: 1.15em;
    height: 1.15em;
    line-height: 1.25em;
    border: 0.16em solid #DBDBDB;
    border-radius: 0.75em;
}

.expand-collapse>.exco-text:hover,
.expand-collapse.expand>.exco-text {
    background-color: #DBDBDB;
    border-right-color: #DBDBDB;
    color: #211E44 !important;
}

/* END OF + BUTTON CONTROLS */

/* EVENT ROWS */
.content-headline {
    margin-left: 0em;
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0.08em solid #D0D5DD;
    padding-bottom: 0.5em;
}

.box-border {
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0.08em solid #D0D5DD;
}

/* END OF EVENT ROWS */

/* FILTERS */
.filter-type ul li {
    float: none;
    padding: 0.25em 0.5em;
    display: inline-block;
}

.filter-type {
    /* border-bottom: 0.22em solid #D0D5DD; */
    padding-bottom: 0.6em;
}

/* END OF FILTERS */

/* PAGINATION */
.eupagination>li>a,
.eupagination>li>span {
    font-weight: bold;
    padding: 0.55em 1em;
    margin-left: -0.08em;
    line-height: normal;
    color: #211E44;
    text-decoration: none;
    background-color: transparent;
    border: 0.08em solid #DBDBDB;
}

.eupagination>li>a:hover,
.eupagination>li>span:hover {
    background-color: #DBDBDB;
    color: #211E44 !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: #211E44;
    cursor: default;
    background-color: #DBDBDB;
    border-color: #DBDBDB;
    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: #DC2F21;
    color: #F7F1E8 !important;
    padding: 17px 10px;
    border: 0px;
    font-size: 1em;
    font-weight: normal;
    text-transform: capitalize !important;
    border-radius: 30px;
    height: auto;
    line-height: normal;
    text-transform: uppercase;
    transition: background 0.5s;
    width: 80%;
    /* margin: 0.5em; */
    border: 1px solid #DC2F21;
}

.btn:active,
.btn-primary:active,
.btn-submit:active,
.btn-cancel:active,
.btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.btn-cancel:hover {
    text-decoration: none;
    background: #FFFFFF;
    color: #DC2F21 !important;
    border-color: #DC2F21;
}

/************************************************ END OF BUTTONS *********************************************************/

/***************************************************** TABS **************************************************************/
.tabs-wrapper {
    margin: 1em 0 1.5em 0;
}

.tabs {
    background-color: #F2F3F5;
    margin: auto;
    width: 50%;
    height: auto;
    line-height: normal;
    float: none;
    text-align: center;
    font-size: 0;
    border-radius: 60px;
    padding: 12px 10px !important;
}

.tabs li {
    _float: none;
    float: none;
    margin: 0;
    display: inline-block;
    width: 49%;
}

.tabItem {
    height: auto;
    line-height: normal;
    padding-top: 1em !important;
    padding-bottom: 1em !important;
    padding-left: 2em;
    padding-right: 2em;
    text-decoration: none;
    font-weight: bold;
    font-style: normal;
    background: transparent;
    border: 0.16em solid #DBDBDB;
    transition: background 0.5s;
    color: #211E44;

    position: relative;
    top: 0;

    padding: 17px 1em !important;
    font-weight: 500 !important;
    border-radius: 100px;
    font-family: inherit;
    margin-right: 8px;
    display: block;
    border: 1px solid transparent;
    transition: background 0.5s, color 0.5s, border 0.5s;
}

.tab-active {
    color: #fff !important;
    cursor: default;
    background-color: #211E44;
    position: relative;
    top: 0px;
    left: 0px;
    border: 1px solid #211E44;
}

.tab-active:hover {
    text-decoration: none !important;
}

/* .tab-active:before {
    content: "";
	width: 0; 
	height: 0;

	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -1.0em;
	
	border-left: 1.0em solid transparent; 
	border-right: 1.0em solid transparent; 
	border-top: 1.0em solid #DBDBDB;
} */

.tabItem:hover {
    color: #fff !important;
    cursor: default;
    background-color: #211E44;
    position: relative;
    top: 0px;
    left: 0px;
    border: 1px solid #211E44;
    text-decoration: none !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: 1em;
    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: transparent;
    border: 0.16em solid #DBDBDB;
    transition: background 0.5s;
    color: #211E44;
    border-radius: 0;
    margin: 0; */
    height: auto;
    font-size: 1em;
    line-height: normal;
    padding-top: 0.5em !important;
    padding-bottom: 0.5em !important;
    padding-left: 1em;
    padding-right: 1em;
    text-decoration: none;
    font-weight: bold;
    font-style: normal;
    background: transparent;
    border: 0.16em solid transparent;
    transition: all 0.5s;
    color: #211E44;
    border-radius: 0;
    margin: 0;
    border-radius: 100px;
}

.year-filter ul li a.selected {
    background: #DBDBDB;
}

/* 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: #003E5C;
    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 #DBDBDB;
    padding: 1em 0 1em 0;
}

.form input,
.form select {
    color: #211E44;
    font-size: 1em;
    padding: 0.22em;
    box-sizing: border-box;
    background: #fff;
    border: 0.08em solid #A8A9A3;
    height: 44px;
}

.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 #DBDBDB;
    -webkit-box-shadow: 0 0.08em 0.32em #DBDBDB;
}

.etooltip .tip-arrow {
    background: transparent;
}

/************************************************* END OF TOOLTIP ********************************************************/
/*THIS IS REQUIRED*/
@media(max-width:640px) {
    li.type {
        width: 50% !important
    }
}

@media (max-width: 479px) {
    #UpcomingEventsContainer .headline-right .download-event {
        text-align: left !important;
        margin-top: 0 !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;
    }
}

.modal a:hover,
.hyperlink:hover,
.disclaimer-box a:hover,
.cookies-box a:hover {
    text-decoration: underline !important;
}



.event-row.focus .content-headline {
    border-right-color: none;
    border-right-width: 0px;
}

.year-filter .selected a,
.year-filter ul li a:hover {
    background: #211E44 !important;
    color: #FFF !important;
    border-color: #211E44 !important;
}

.year-filter ul {
    margin: 1em 0;
    background: #F2F3F5 !important;
    border-radius: 30px;
    padding: 12px 10px;
    border-color: transparent !important;
}

.calendar-time-line .current-month .time-line-item,
.time-line-item:hover {
    background-color: #211E44;
    color: #FFF;
}

.cookies-box,
.footer {
    font-size: 13px !important;
}

input.btn.btn-default.btn-cancel,
button.btn.btn-primary.btn-submit {
    width: 100%;
    max-width: 110px;
}

.row-control {
    padding: 10px 0 10px 0;
    clear: both;
    height: auto;
}

.form .label {
    width: 22%;
}

.ar-ae .subscription-section {
    float: left;
    text-align: left;
}

body.body-rtl .tabs li,
body.body-rtl .tabs {
    float: none !important;
}

body.ar-ae .headline-right .event-type,
body.ku-arab-iq .headline-right .event-type {
    text-align: left;
}

body.ar-ae .headline .headline-left,
body.ku-arab-iq .headline .headline-left {
    width: 70%;
    float: right;
}

body.ar-ae .checkbox-wrapper {
    margin-left: 0;
    margin-right: 10px;
}

@media screen and (max-width:700px) {
    .tabs {
        width: 100%;
    }

    .tabs li {
        width: 100%;
    }

    body.body-rtl .tabs li,
    body.body-rtl .tabs {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body.body-rtl .tabItem {
        margin-right: 0 !important;
    }
}

@media screen and (max-width:320px) {
    .section-header {
        margin-bottom: 15px;
    }
}

/*END*/

.main-heading {
    display: none;
}

body.ar-ae .filter-type ul li,
body.ku-arab-iq .filter-type ul li {
    float: none;
    padding: 0;
}

body.ar-ae ul.type-filter {
    padding-right: 10px;
}

body.ar-ae .eupagination>li:first-child>a,
body.ar-ae .eupagination>li:first-child>span {
    border-top-right-radius: 0.75em;
    border-bottom-right-radius: 0.75em;
    border-left: 0;
    border-top-left-radius: 0em;
    border-bottom-left-radius: 0em;
    border-right: 0.08em solid #DBDBDB;
}

body.ar-ae .eupagination>li:last-child>a,
body.ar-ae .eupagination>li:last-child>span {
    border-top-left-radius: 0.75em;
    border-bottom-left-radius: 0.75em;
    border-right: 0;
    border-top-right-radius: 0em;
    border-bottom-right-radius: 0em;
    border-left: 0.08em solid #DBDBDB;
}

.modal-dialog .btn {
    width: auto !important;
}



/**********************Changes***********************/


/* footer .supply-by > a:before, #SuppliedBy > a:before, .footer .supply-by > a:before, .supplied-box span > a:before, .footer-info .supply-by span > a:before, .footer div .hyperlink:before, .footer-box .supplyby-box .hyperlink:before, .footer-box .supplied .hyperlink:before {
    background: none !important;
}

footer .supply-by > a, #SuppliedBy > a, .footer .supply-by > a, .supplied-box span > a, .footer-info .supply-by span > a, .footer div .hyperlink, .footer-box .supplyby-box .hyperlink, .footer-box .supplied .hyperlink {
    text-align: left;
}

body.ar-ae footer .supply-by > a, body.ar-ae #SuppliedBy > a, body.ar-ae .footer .supply-by > a, body.ar-ae .supplied-box span > a, body.ar-ae .footer-info .supply-by span > a, body.ar-ae .footer div .hyperlink, body.ar-ae .footer-box .supplyby-box .hyperlink, body.ar-ae .footer-box .supplied .hyperlink {
    text-align: right;
}

footer .supply-by > a:hover, #SuppliedBy > a:hover, .footer .supply-by > a:hover, .supplied-box span > a:hover, .footer-info .supply-by span > a:hover, .footer div .hyperlink:hover, .footer-box .supplyby-box .hyperlink:hover, .footer-box .supplied .hyperlink:hover, footer .supply-by > a:visited, #SuppliedBy > a:visited, .footer .supply-by > a:visited, .supplied-box span > a:visited, .footer-info .supply-by span > a:visited, .footer div .hyperlink:visited, .footer-box .supplyby-box .hyperlink:visited, .footer-box .supplied .hyperlink:visited, footer .supply-by > a:active, #SuppliedBy > a:active, .footer .supply-by > a:active, .supplied-box span > a:active, .footer-info .supply-by span > a:active, .footer div .hyperlink:active, .footer-box .supplyby-box .hyperlink:active, .footer-box .supplied .hyperlink:active, footer .supply-by > a:focus, #SuppliedBy > a:focus, .footer .supply-by > a:focus, .supplied-box span > a:focus, .footer-info .supply-by span > a:focus, .footer div .hyperlink:focus, .footer-box .supplyby-box .hyperlink:focus, .footer-box .supplied .hyperlink:focus {
    color: #211E44 !important;
} */

.cookies-box .footer-separator:nth-child(2) {
    display: none;
}

.cookies-box a:nth-child(3) {
    display: none;
}

footer .supply-by>a:before,
#SuppliedBy>a:before,
.footer .supply-by>a:before,
.supplied-box span>a:before,
.footer-info .supply-by span>a:before,
.footer div .hyperlink:before,
.footer-box .supplyby-box .hyperlink:before,
.footer-box .supplied .hyperlink:before {
    display: none;
}

footer .supply-by>a:hover,
#SuppliedBy>a:hover,
.footer .supply-by>a:hover,
.supplied-box span>a:hover,
.footer-info .supply-by span>a:hover,
.footer div .hyperlink:hover,
.footer-box .supplyby-box .hyperlink:hover,
.footer-box .supplied .hyperlink:hover,
footer .supply-by>a:visited,
#SuppliedBy>a:visited,
.footer .supply-by>a:visited,
.supplied-box span>a:visited,
.footer-info .supply-by span>a:visited,
.footer div .hyperlink:visited,
.footer-box .supplyby-box .hyperlink:visited,
.footer-box .supplied .hyperlink:visited,
footer .supply-by>a:active,
#SuppliedBy>a:active,
.footer .supply-by>a:active,
.supplied-box span>a:active,
.footer-info .supply-by span>a:active,
.footer div .hyperlink:active,
.footer-box .supplyby-box .hyperlink:active,
.footer-box .supplied .hyperlink:active,
footer .supply-by>a:focus,
#SuppliedBy>a:focus,
.footer .supply-by>a:focus,
.supplied-box span>a:focus,
.footer-info .supply-by span>a:focus,
.footer div .hyperlink:focus,
.footer-box .supplyby-box .hyperlink:focus,
.footer-box .supplied .hyperlink:focus {
    color: #211E44 !important;
    font-size: 13px;
    vertical-align: bottom;
}

footer .supply-by>a,
#SuppliedBy>a,
.footer .supply-by>a,
.supplied-box span>a,
.footer-info .supply-by span>a,
.footer div .hyperlink,
.footer-box .supplyby-box .hyperlink,
.footer-box .supplied .hyperlink {
    height: 16px;
    width: 84px;
    color: #211E44 !important;
    font-size: 13px;
    vertical-align: bottom;
}

#UpcomingEventsContainer .content-headline {
    margin-left: 2em;
}

.ar-ae #UpcomingEventsContainer .content-headline {
    margin-right: 2em;
}

.expand-collapse>.exco-text {
    display: inline-block;
    text-align: center;
    color: #211E44;
    font-size: 1.5em;
    width: 1.15em;
    height: 1.15em;
    line-height: 1.15em;
    border: 0.16em solid #DBDBDB;
    border-radius: 0.75em;
}
