/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
@import url("//fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap");

@font-face {
    font-family: FrutigerLT;
    font-weight: bold;
    src: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/ae-nmdcenr/fonts/FrutigerLTArabic-65Bold.ttf") format("truetype");
}

@font-face {
    font-family: FrutigerLT;
    font-weight: normal;
    src: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/ae-nmdcenr/fonts/FrutigerLTArabic-55Roman.ttf") format("truetype");
}

/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/


/*************************************************** MAIN RULES **********************************************************/
body {
    padding: 0;
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 15px;
    color: #00263A;
}

.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-size: 15px;
    font-family: "Montserrat", Arial, sans-serif;
    color: #00263A;
}

.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 0 0;
    position: relative;
}

a:link,
a:visited,
.hyperlink,
.check-subscription-link {
    color: #00263A;
    text-decoration: none;
}

a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    text-decoration: underline !important;
    color: #00B451;
}

.footer {
    padding: 0em;
    font-size: 13px;
}

.check-subscription-link,
.subscription-header,
.export-header {
    font-weight: bold;
    font-family: inherit;
}

/*********************************************** 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: #00263A;
}

.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: -1px 0 0 -1px;
    border: 1px solid #E1E1E1;
    text-align: center;
    transition: background 0.5s;
}

.time-line-item:hover {
    background-color: #00B451;
}

.color-dot-box .display-none {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    border: 1px solid #E1E1E1;
}

.color-dot-box .color-dot {
    display: none;
}

.calendar-time-line .current-month .time-line-item {
    background-color: #00B451;
    border: 1px solid #00B451;
    color: #FFF;

    font-family: inherit;
}

.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: #00263A;
    font-size: 1.5em;
    width: 1.15em;
    height: 1.15em;
    line-height: 1.25em;
    border: 2px solid #E1E1E1;
    border-radius: 0.75em;
}

.expand-collapse>.exco-text:hover,
.expand-collapse.expand>.exco-text {
    background-color: #E1E1E1;
    border-right-color: #E1E1E1;
    color: #00263A !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 #E1E1E1;
    padding-bottom: 0.5em;
}

.box-border {
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid #E1E1E1;
}

/* END OF EVENT ROWS */

/* FILTERS */
.filter-type ul li {
    float: none;
    padding: 0.25em 0.5em;
    display: inline-block;
}

.filter-type {
    border-bottom: 0px solid #B2AA98;
    padding-bottom: 0.6em;
}

/* END OF FILTERS */

/* PAGINATION */
.eupagination>li>a,
.eupagination>li>span {
    font-weight: bold;
    padding: 0.55em 1em;
    margin-left: -1px;
    line-height: normal;
    color: #00263A;
    text-decoration: none;
    background-color: transparent;
    border: 1px solid #E1E1E1;
}

.eupagination>li>a:hover,
.eupagination>li>span:hover {
    background-color: #E1E1E1;
    color: #00263A !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: #00263A;
    cursor: default;
    background-color: #E1E1E1;
    border-color: #E1E1E1;
    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: #00B451;
    color: #FFFFFF !important;
    padding: 10px;
    border: 0px;
    font-size: 1em;
    font-weight: normal;
    border-radius: 0px;
    height: auto;
    line-height: normal;
    text-transform: none;
    transition: background 0.5s, color 0.5s, border 0.5s;
    border: 1px solid #00B451;

    position: relative;

    width: 10em;
}

.btn:active,
.btn-primary:active,
.btn-submit:active,
.btn-cancel:active,
.btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.btn-cancel:hover {
    background: #FFFFFF;
    color: #00B451 !important;
    border: 1px solid #00B451;
}

/************************************************ END OF BUTTONS *********************************************************/

/***************************************************** TABS **************************************************************/
.tabs-wrapper {
    margin: 1em 0 1.5em 0;
}

.tabs {
    text-align: center;
    border-bottom: 0px;
    font-size: 0px !important;
    float: none;
    display: inline-block;
    position: relative;
    z-index: 0;
    background: transparent;
    border-radius: 0px;
}

.tabs li {
    float: none;
    display: inline-block;
    margin: 0em 2px;
}

.tabItem {
    height: auto;
    line-height: normal;

    padding-top: 1.0em !important;
    padding-right: 1.0em;
    padding-bottom: 1.0em !important;
    padding-left: 1.0em;

    margin-top: 0.0em;
    margin-right: 2px;
    margin-bottom: 0.0em;
    margin-left: 2px;

    text-decoration: none;
    font-weight: 500;
    font-family: inherit;
    font-style: normal;

    background: #FFFFFF;
    border-radius: 0px;

    border-top: 1px solid #00B451;
    border-right: 1px solid #00B451;
    border-bottom: 1px solid #00B451;
    border-left: 1px solid #00B451;

    transition: background 0.5s, color 0.5s, border 0.5s;

    color: #00B451 !important;
    min-width: 8em;

    width: 100%;
    box-sizing: border-box;
}

.tabItem:hover {
    background: #00B451;
    color: #FFFFFF !important;
    border-top: 1px solid #00B451;
    border-right: 1px solid #00B451;
    border-bottom: 1px solid #00B451;
    border-left: 1px solid #00B451;

    text-decoration: none !important;
    font-weight: 500;
    font-style: normal;
}

.tab-active {
    background: #00B451;
    color: #FFFFFF !important;
    border-top: 1px solid #00B451;
    border-right: 1px solid #00B451;
    border-bottom: 1px solid #00B451;
    border-left: 1px solid #00B451;

    cursor: default;
    font-weight: 500;
    position: relative;
    top: 0px;
    left: 0px;
}

.tab-active:hover {
    background: #00B451;
    color: #FFFFFF !important;
    border-top: 1px solid #00B451;
    border-right: 1px solid #00B451;
    border-bottom: 1px solid #00B451;
    border-left: 1px solid #00B451;

    cursor: default;
    font-weight: 500 !important;
    position: relative;
    top: 0px;
    left: 0px;
}

.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 #E1E1E1;

    display: none;
}

/* 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: 5px !important;
    padding-bottom: 5px !important;
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;
    font-weight: normal;
    font-style: normal;
    background: #00B451;
    border: 1px solid #00B451;
    transition: background 0.5s;
    color: #FFFFFF;
    border-radius: 0px;
    margin: 0;
}

.year-filter ul li a:hover {
    background: #FFFFFF;
    color: #00B451;
}

.year-filter ul li a.selected {
    background: #FFFFFF;
    color: #00B451;
}

.year-filter ul .selected a {
    background: #FFFFFF;
    color: #00B451;
}

/* 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-family: inherit;
    font-size: 1.25em;
    font-weight: bold;
    padding-top: 0em;
    padding-bottom: 1.0em;
    color: #00263A;
}

.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: 2px solid #E1E1E1;
    padding: 1em 0 1em 0;
}

.form input,
.form select {
    color: #00263A;
    font-size: 1em;
    padding: 0.22em;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #E1E1E1;
}

.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 #B2AA98;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    background: #fff;
    box-shadow: 0 1px 3px #B2AA98;
    -moz-box-shadow: 0 1px 3px #E1E1E1;
    -webkit-box-shadow: 0 1px 3px #E1E1E1;
}

.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;
    }
}

@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;
    }

    .check-subscription-link {
        text-align: left;
    }
}

/*END*/

/* ADDITIONAL CSS */

.main-heading {
    padding-bottom: 20px;
    display: none;
}

.headline-right .event-type {
    font-weight: bold;
    text-align: right;
    padding-top: 5px;
    *padding-top: 26px;
    padding-bottom: 5px;
    word-wrap: break-word;
}

.event-row.focus .content-headline {
    border-right-width: 0px;
    border-right-color: #FFFFFF;
}

.expand-collapse {
    display: none !important;
}

.show-hide-toggle {
    display: block !important;
}

.headline-right .event-type,
.headline-left .date-time,
.filter-type .selected .type-filter-name {
    font-family: inherit;
}

.button-wrraper input,
.button-wrraper button {
    width: 9em;
}

.modal-header .close {
    font-size: 3.0em;
}

.btn-submit,
.btn-cancel,
.btn-ok {
    margin-top: 5px;
    margin-bottom: 5px;
}

.google-recapcha>div {
    color: #00263A;
}

span.radio, span.checkbox, span.event-name {
    vertical-align: bottom;
}

/* ARABIC */

.ar-ae.page-font-style.body-rtl,
.ar-ae .tabItem,
.ar-ae .tab-active,
.ar-ae .form input,
.ar-ae .form select,
.ar-ae .next-event {
    direction: rtl;
    font-family: FrutigerLT, Arial, sans-serif;
    line-height: 22px;
}

.ar-ae .footer {
    padding: 0em;
    font-size: 13px;
    line-height: 1.5;
}

body.body-rtl .tabs li {
    float: none !important;
}

body.ar-ae .filter-type ul li {
    float: right;
    padding: 2px;
}

body.body-rtl ul.type-filter li a {
    margin: 0 8px;
}

.ar-ae .subscription-section {
    float: left;
    text-align: left;
}

.ar-ae .check-subscription-link {
    text-align: left;
}

.ar-ae .btn,
.ar-ae .btn-primary,
.ar-ae .btn-submit,
.ar-ae .btn-cancel,
.ar-ae .btn:focus,
.ar-ae .btn-primary:focus,
.ar-ae .btn-submit:focus,
.ar-ae .btn-cancel:focus {
    line-height: 22px;
}

.ar-ae .year-filter ul li a {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

body.ar-ae .content-headline,
body.ku-arab-iq .content-headline {
    margin-left: 0;
    margin-right: 0px;
    padding-bottom: 5px;
}

/* RESPONSIVE */

@media screen and (max-width: 767px) {
    .modal-dialog {
        margin: 10px auto;
        padding: 0;
    }

    div#subscriptionModal {
        padding: 10px !important;
    }
}

@media screen and (max-width: 479px) {
    .ar-ae .form .label {
        text-align: right !important;
    }
}

@media screen and (max-width: 398px) {
    .tabs li {
        width: 98%;
        display: block;
        margin: 2px;
    }
}

@media screen and (max-width: 320px) {
    .ar-ae .subscription-section .subscription-header {
        text-align: right;
        width: 69% !important;
        float: none;
    }

    .ar-ae .subscription-section .btn-subscribe-wrapper {
        float: none;
        width: 100% !important;
        padding-top: 0.5em !important;
        text-align: right;
    }

    .ar-ae .check-subscription-link {
        text-align: right;
    }
}
