/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
@font-face {
    font-family: "aktiv-grotesk-arabic";
    font-style: normal;
    font-weight: 400;
    src: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/OM-OQEP/fonts/aktiv.ttf") format('truetype');
}

@font-face {
    font-family: "aktiv-grotesk-arabic";
    font-style: normal;
    font-weight: 700;
    src: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/OM-OQEP/fonts/aktivbold.ttf") format('truetype');
}


@font-face {
    font-family: "Grotesk";
    font-style: normal;
    font-weight: 400;
    src: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/OM-OQEP/fonts/AktivRegular.ttf") format('truetype');
}

/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/


/*************************************************** MAIN RULES **********************************************************/
body {
    padding: 0;
    margin: 0;
    font-family: "aktiv-grotesk-arabic", sans-serif;
    font-size: 16px;
    color: #231F20;
    background: transparent;
}

.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-size: 16px;
    font-family: "aktiv-grotesk-arabic", sans-serif;
    color: #231F20;
}

.wrapper {
    width: 100%;
    max-width: 1536px;
    margin: 0 auto;
    padding: 0 0 0 0;
    position: relative;
}

a:link,
a:visited,
.hyperlink,
.check-subscription-link {
    color: #6D6D6D;
    text-decoration: underline;
}

a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    text-decoration: underline !important;
    color: #6D6D6D;
}

.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 -1px;
    border: 1px solid #F7F7F7;
    background: #F7F7F7;
    text-align: center;
    transition: background 0.5s;
    height: 50px;
    box-sizing: border-box;
    font-weight: 400;
    line-height: 27px;
}

.time-line-item:hover {
    background-color: #136579;
    color: #FFFFFF;
}

.color-dot-box .display-none {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    border: 1px solid #DBDBDB;
}

.color-dot-box .color-dot {
    display: none;
}

.calendar-time-line .current-month .time-line-item {
    background-color: #136579;
    color: #FFFFFF;
}

.calendar-time-line .year {
    font-size: 1em;
    padding-bottom: 0.25em;
    line-height: normal;
    text-align: left;
}

/* CALENDAR TIMELINE END */

/* + BUTTON CONTROLS */
.expand-collapse>.exco-text {
    display: inline-block;
    text-align: center;
    color: #231F20;
    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: #231F20 !important;
}

/* END OF + BUTTON CONTROLS */

/* EVENT ROWS */
.content-headline {
    margin-left: 0em;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid #DCDDDE !important;
        padding: 20px 0px;
}

.box-border {
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid #bebfb8;
}

/* 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: 0;
    line-height: normal;
    color: #6D6D6D;
    text-decoration: none;
    background-color: #FFFFFF;
    border: 1px solid #FFFFFF;
    margin: 0px;
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 0px;
}

.eupagination>li>a:hover,
.eupagination>li>span:hover {
    background-color: #F58220;
    color: #FFFFFF !important;
    border: 1px solid #F58220;
    
    text-decoration: none !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: #FFFFFF;
    cursor: default;
    background-color: #F58220;
    border-color: #F58220;
    font-weight: normal;
}

.eupagination>li:last-child>a,
.eupagination>li:last-child>span {
    border-radius: 0px;
    border-left: 0;
}

.eupagination>li:first-child>a,
.eupagination>li:first-child>span {
    border-radius: 0px;
    border-right: 0;
}

.eupagination>.disabled>a,
.eupagination>.disabled>a:hover,
.eupagination>.disabled>a:focus {
    color: #FFF;
    background-color: transparent;
    border-color: transparent;
    opacity: 0.5;
}

li.page.prev a::after {
    content: "<";
}

li.page.next a::after {
    content: ">";
}

li.page.prev span:last-child,
li.page.next span:last-child,
li.page.first,
li.page.last {
    display: none;
}

/* 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: #FFFFFF;
    border: 2px solid #F58220;
    color: #F58220;
    padding: 0 50px;
    font-size: 16px;
    font-weight: normal;
    border-radius: 0;
    height: 60px;
    line-height: 60px;
    text-transform: capitalize;
    transition: 0.5s;
    box-sizing: border-box;
    margin: 5px;
}

.btn:active,
.btn-primary:active,
.btn-submit:active,
.btn-cancel:active,
.btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.btn-cancel:hover {
    background: #F58220;
    color: #FFFFFF;
    border-color: #F58220;
}

/************************************************ 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: left;
}

.tabs li {
    _float: none;
    float: none;
    margin: 0;
    display: inline-block;
    width: auto;
}

.tabItem {
    height: auto;
    line-height: normal;
    padding: 0em 2.0em !important;
    text-decoration: none !important;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    background: #F58220;
    border: 2px solid #F58220;
    transition: none;
    color: #FFFFFF !important;
    /* margin-left: -1px; */
    position: relative;

    text-align: center;
    min-width: 295px;
    height: 60px;
    line-height: 60px;
    box-sizing: border-box;
    margin: 4px 0;
    margin-right: 20px;
}

body.ar-ae .tabItem {
    margin-right: 0px;
    margin-left: 20px;
}

.tab-active,
.tabItem:hover {
    color: #F58220 !important;
    cursor: default;
    font-weight: 400;
    background-color: transparent;
    position: relative;
    top: 0px;
    left: 0px;
    border: 2px solid #F58220;
}

.tab-active:before {
    content: "";
    width: 0;
    height: 0;

    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -1.0em;

    border-left: 0em solid transparent;
    border-right: 0em solid transparent;
    border-top: 0em solid #DBDBDB;
}

/* 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: 16px;
    line-height: normal;
    padding: 0.5em 1em 0.5em 0 !important;
    text-decoration: none;
    font-weight: 400;
    font-style: normal;
    background: transparent;
    border: 0em solid #DBDBDB;
    transition: background 0.5s;
    color: #6D6D6D;
    border-radius: 0;
    margin: 0;
}

.year-filter .selected a {
    color: #0EADBB !important;
    text-decoration: underline;
}

/* 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: #231F20;
    line-height: 20px;
}

.modal-header .close {
    margin-top: 0.1em;
    font-size: 3.5em;
    /* line-height: 0.25em; */
}

li.type {
    width: 50%;
    padding: 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: #FFFFFF;
    box-sizing: border-box;
    border: 0em solid #DBDBDB;
    padding: 1em 0 0;
}

.form input,
.form select {
    color: #333;
    font-size: 1em;
    padding: 0.22em;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #A8A9A3;
}

.form .lable {
    padding-right: 1em;
    height: auto;
    vertical-align: middle;
    line-height: normal;
    margin-top: 0.45em;
}

/***************************************** END OF MODAL WINDOW CONTROLS **************************************************/

/**************************************************** TOOLTIP ************************************************************/
.popup-date {
    line-height: normal;
}

.popup-event-name {
    line-height: normal;
    padding: 0.25em 0;
}

.etooltip {
    border: 1px solid #003E5C;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    background: #fff;
    box-shadow: 0 1px 0.32em #003E5C;
    -moz-box-shadow: 0 1px 0.32em #DBDBDB;
    -webkit-box-shadow: 0 1px 0.32em #DBDBDB;
}

.etooltip .tip-arrow {
    background: transparent;
}

/************************************************* END OF TOOLTIP ********************************************************/
/*THIS IS REQUIRED*/
@media(max-width:640px) {
    li.type {
                width: 100% !important;
        display: block;
    }
}

@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;
    }

    .export-types {
        padding-bottom: inherit;
    }
}

/*END*/


/***********start changes*************/

.main-heading {
    display: none;
}

div#wrapper {
    padding-top: 1em;
}

.no-event-available {
    color: #000;
}

footer.footer {
    font-size: 15px;
    color: #6D6D6D;
    line-height: 20px;
}

.supply-by a:before {
    visibility: visible;
}

.supply-by a {
    visibility: hidden;
}

ul.tabs a:hover {
    text-decoration: none !important;
}

@media (max-width: 620px) {
    .tabs,
    body.body-rtl .tabs {
        text-align: center;
    }

    .tabs li {
        display: block;
        width: 100%;
    }

    .tabItem,
    body.ar-ae .tabItem {
        margin: 4px auto;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .tabs li {
        float: none;
        margin: 1px;
        display: inline-block;
        width: 98%;
    }
}


.form input,
.form select {
    padding: 0;
}

.form input,
.form select {
    color: #6D6D6D;
    font-size: 1em;
    padding: 0 3px;
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid #DCDDDE;
    height: 60px;
    line-height: 60px;
}

div#lblEmailSubscriptionChecking:after {
    content: "*";
    color: #f00;
}

.subscribe-checking .compulsory-field {
    display: none;
}

body.body-rtl .subscription-section {
    float: left;
}

body.body-rtl .tabs li {
    float: none !important;
}

body.ar-ae,
body.ar-ae .tabItem,
body.ar-ae .tab-active,
body.ar-ae .form input,
body.ar-ae .form select,
body.ar-ae .next-event {
    font-family: "Grotesk" !important;
}

/***28-10**/
.modal .close:hover,
.modal .close:focus {
    color: #6D6D6D !important;
}

.modal-header .close {
    color: #6D6D6D !important;
}

.section-header,
.check-subscription-link {
    font-weight: normal;
    color: #6D6D6D;
}

.headline-left .date-time,
.headline-left .event-name,
.content-headline .headline {
    padding: 0;
}

.headline-left .date-time {
        font-weight: 400;
    padding: 0;
    font-size: 16px;
    color: #0EADBB;
}

.ar-ae .year-filter ul li a {
    padding: 0.5em 0 0.5em 1em !important;
}

body.ar-ae .content-headline, body.ku-arab-iq .content-headline {
    padding: 20px 0;
}

.ar-ae .headline-left .date-time {
    padding-bottom: 20px;
}

/* CALENDAR TL */

.calendar-time-line ul {
    display: flex !important;
    gap: 16px;
    padding: 0;
    margin: 0;
}

.calendar-time-line ul li {
    display: block !important;
    width: 100% !important;
    text-align: center;
}

/* BUTTON ARROW */

.btn-primary.btn-subscribe {
    padding: 0 60px 0 40px;
}

.ar-ae .btn-primary.btn-subscribe {
    padding: 0 40px 0 60px;
}

.btn-subscribe {
  position: relative;
  transition: color 0.3s ease, background 0.3s ease;
  color: #F58220;
  padding-right: 2em;
}

.btn-subscribe::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.5em;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-image: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/OM-OQEP/icons/arrow.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: background-image 0.3s ease;
}

.ar-ae .btn-subscribe::after {
  transform: translateY(-50%) rotate(180deg);
  right: unset;
  left: 1.5em;
}

/* .btn-subscribe:hover,
.btn-subscribe:active,
.btn-subscribe:focus {
  color: #F58220;
} */

.btn-subscribe:hover::after,
.btn-subscribe:active::after {
  background-image: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/OM-OQEP/icons/arrow-h.png");
}

.btn-subscribe:focus::after {
  background-image: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/OM-OQEP/icons/arrow.png");
}

/* CUSTOM CHECKBOX */

.checkbox {
    background: none !important;
    position: relative;
}

.checkbox:before {
    display: block;
    content: "";
    position: absolute;
    border: 2px solid #DCDDDE;
    background: #fff;
    width: 20px;
    height: 20px;
    top: -3px;
    left: 0px;
    box-sizing: border-box;
    border-radius: 2px;
}

.checkbox-checked::after {
    content: "";
    position: absolute;
        left: 2px;
    top: -1px;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    background: transparent;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    box-sizing: border-box;
}

.checkbox.checkbox-checked::before {
        border: 2px solid #F58220;
    background: #F58220;
}

span.radio {
    position: relative;
}

.radio:before {
    content: " ";
    position: absolute;
    left: 0;
    top: -3px;
    width: 20px;
    height: 20px;
    display: inline-block;
    border: 2px solid #DCDDDE;
    border-radius: 2em;
    background: #FFFFFF;
    box-sizing: border-box;
}

.radio-checked:before {
    background: #FFFFFF;
    border: 2px solid #F58220;
}

.radio-checked:after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    color: #F58220;
    background: #F58220;
    border-radius: 2em;
    width: 10px;
    height: 10px;
}

.radio {
    background: transparent;
}

.color-box {
    width: 14px;
    height: 14px;
    display: inline-block;
    position: relative;
    top: 1px;
    border-radius: 2px;
}

.ar-ae .checkbox:before {
    left: -2px;
}

.ar-ae .checkbox-checked::after {
    left: 0px;
}

.ar-ae .radio:before {
    left: -2px;
    top: -1px;
}

.ar-ae .radio-checked:after {
    top: 4px;
    left: 3px;
}

/* ADDITIONAL CSS */

.section-header.subscription-header {
    color: #231F20;
    font-size: 20px;
}

.headline-right .event-type {
    color: #6D6D6D;
}

.check-subscription-link {
    text-align: right;
}

.google-recapcha>div {
    color: #6D6D6D;
}

.modal a, .hyperlink, .disclaimer-box a, .cookies-box a {
    text-decoration: underline;
}

.row-control {
    height: auto;
}

.modal-open .modal {
    padding: 0 !important;
}

.checkbox-wrapper {
    margin-right: 10px;
}

.your-preferences .checkbox-wrapper {
    margin-left: 10px;
    margin-right: 7px;
}

.en-gb .your-preferences .subscribe-actions .checkbox-wrapper {
    line-height: 1.3;
    padding: 3px 0 0;
    display: flex;
    align-items: center;
}

span.radio, span.checkbox, span.event-name {
    margin: 0 2px;
}

.section-header {
    margin: 15px 0 5px !important;
}

ul.type-filter a {
    text-decoration: none !important;
}

ul.type-filter a:hover {
    text-decoration: underline !important;
}

.filter-type .selected .type-filter-name {
    font-weight: normal;
}

.form .label {
    text-align: left !important;
    line-height: 20px;
}

.row-control {
    padding: 10px 2px 10px 12px;
}

/* ARABIC */

.ar-ae  .check-subscription-link {
    text-align: left;
}

body.body-rtl .subscription-section {
    float: left;
    text-align: left;
}

body.body-rtl .tabs {
    float: none !important;
    text-align: right;
}

.ar-ae  .calendar-time-line .year {
    text-align: right;
}

.ar-ae li.type {
    width: 50%;
    padding: 0.5em 0;
}

.ar-ae .form .label {
    text-align: right !important;
}

.ar-ae .button-wrraper > button, 
.ar-ae .button-wrraper > input {
    width: 150px;
}
