/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/
@font-face {
    font-family: 'DiodrumRegular';
    src: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/qa-dukb/fonts/DiodrumArabic-Bold.woff") format('woff');
    font-style: normal;
    font-weight: bold;
}

@font-face {
    font-family: 'DiodrumRegular';
    src: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/qa-dukb/fonts/DiodrumArabic-Regular.eot");
    src: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/qa-dukb/fonts/DiodrumArabic-Regular.woff") format('woff');
    font-style: normal;
    font-weight: normal;
}

/*************************************************** MAIN RULES **********************************************************/
body {
    padding: 0;
    margin: 0;
    font-family: 'DiodrumRegular', arial, Tahoma;
    font-size: 15px;
    color: #000000;
    background: transparent;
}

.main-heading {
    display: none;
}

.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-size: 15px;
    font-family: 'DiodrumRegular', arial, Tahoma;
    color: #000000;
}

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: 'DiodrumRegular', arial, Tahoma;
}

.check-subscription-link,
.subscription-header,
.export-header {
    font-weight: inherit;
    text-align: center;
}

.wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0 0 0;
    position: relative;
}

a:link,
a:visited,
.hyperlink,
.check-subscription-link {
    color: #000000;
    text-decoration: none;
}

a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    text-decoration: none;
    color: #4197CB;
}

.footer {
    padding: 0em;
    font-size: 13px;
    line-height: 1.5;
}

.check-subscription-link {
    color: #4D4E62;
}

.check-subscription-link:hover {
    color: #4197CB;
}

.modal a:hover,
.hyperlink:hover,
.disclaimer-box a:hover,
.cookies-box a:hover {
    text-decoration: underline;
}

/*********************************************** END OF MAIN RULES *******************************************************/

/********************************************* ALIGNMENT FOR CALENDAR ****************************************************/

/* NEXT EVENT HEADER */
.next-event {
    padding-bottom: 1em;
    display: none;
}

.next-event div.lable {
    line-height: normal;
    margin: 0px;
    padding: 0px;
    font-size: 1em;
    font-weight: inherit;
    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: -1px 0 0 -1px;
    border: 1px solid #DBDBDB;
    text-align: center;
    transition: none;
}

.time-line-item:hover {
    background-color: #002D74;
    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: #002D74;
    color: #ffffff;
    border: 1px solid #002D74;
}

.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: #585852;
    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: #585852 !important;
}

.content-headline .headline {
    padding: 0px 0px;
}

/* END OF + BUTTON CONTROLS */

/* EVENT ROWS */
.content-headline {
    margin-left: 2.5em;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 0em;
    padding-top: 0.2em;
}

.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: 0px solid #e1e1e1;
    padding-bottom: 0.6em;
}

/* END OF FILTERS */

/* PAGINATION */
.eupagination>li>a,
.eupagination>li>span {
    font-weight: inherit;
    padding: 5px 15px;
    margin-left: 1px;
    line-height: normal;
    color: #000000;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ABABAB;
    border-radius: 3em !important;
}

.eupagination>li>a:hover,
.eupagination>li>span:hover {
    background-color: #002D74;
    color: #ffffff !important;
    border-color: #002D74;
}

.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: #002D74;
    border-color: #ABABAB;
    font-weight: inherit;
}

.eupagination>li:last-child>a,
.eupagination>li:last-child>span {
    border-top-right-radius: 0em;
    border-bottom-right-radius: 0em;
}

.eupagination>li:first-child>a,
.eupagination>li:first-child>span {
    border-top-left-radius: 0em;
    border-bottom-left-radius: 0em;
}

.eupagination>.disabled>span,
.eupagination>.disabled>span:hover,
.eupagination>.disabled>span:focus,
.eupagination>.disabled>a,
.eupagination>.disabled>a:hover,
.eupagination>.disabled>a:focus {
    color: #777 !important;
}

/* 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: #3dae2b;
    color: #fff !important;
    padding: 1em 1em 1em 1em;
    border: 0px;
    font-size: 1em;
    font-weight: normal;
    border-radius: 3em;
    height: auto;
    line-height: 1;
    text-transform: capitalize;
    width: 10em;
    border: 1px solid #3dae2b;
    position: relative;
    transition: none;
    text-decoration: none;
    box-sizing: border-box;
}

.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;
    color: #3dae2b !important;
    border-color: #3dae2b;
    background-color: #ffffff;
}

/************************************************ END OF BUTTONS *********************************************************/

/***************************************************** TABS **************************************************************/
.tabs-wrapper {
    margin: 1em 0 1.5em 0;
    position: relative;
}

.tabs {
    margin: 2em auto;
    height: auto;
    line-height: normal;
    float: none;
    text-align: center;
    font-size: 0;
    position: relative;
    background: transparent;
}

.tabs:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0em;
    left: 0em;
    width: 100%;
    height: 0em;
    z-index: 0;
    border-bottom: 0px solid #DCDCDC;
}

.modal.in .btn {
    width: auto;
    margin-top: 3px;
}

.modal.in .button-wrapper {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.tabs li {
    _float: none;
    float: none;
    margin: 0 10px 10px;
    display: inline-block;
}

.tabItem {
    height: auto;
    line-height: 1;
    padding-top: 0.8em !important;
    padding-bottom: 0.8em !important;
    padding-left: 1em;
    padding-right: 1em;
    text-decoration: none !important;
    font-weight: normal;
    font-style: normal;
    text-transform: capitalize !important;
    background: #002D74;
    border: 1px solid #002D74;
    color: #FFFFFF !important;
    margin: 0em 0em 0em 0em;
    text-align: center;
    position: relative;
    top: 0;
    box-sizing: border-box;
    border-radius: 0;
    transition: none;
    width: 20em;
}

.tabs-wrapper:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0em;
    left: 0em;
    width: 100%;
    height: 0em;
    z-index: 0;
    border-bottom: 0px solid #4D4E62;
}

/*
.tab-active:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 100%;
    left: 48%;
    margin-left: -10px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #002D74;
}
*/


.tabItem:hover {
    background: #4197CB;
    color: #ffffff !important;
    border-top: 1px solid #4197CB;
    border-right: 1px solid #4197CB;
    border-bottom: 1px solid #4197CB;
    border-left: 1px solid #4197CB;
}

.tab-active:hover,
.tab-active {
    background: #4197CB;
    color: #ffffff !important;
    border-top: 1px solid #4197CB;
    border-right: 1px solid #4197CB;
    border-bottom: 1px solid #4197CB;
    border-left: 1px solid #4197CB;
    position: relative;
    top: 0px;
    left: 0px;
    z-index: 10;
}

/* 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: 1em;
    padding-right: 1em;
    text-decoration: none;
    font-weight: inherit;
    font-style: normal;
    background: transparent;
    border: 1px solid #000000;
    transition: none;
    color: #000000;
    border-radius: 0;
    margin: 0;
    display: block;
    box-sizing: border-box;
}

.year-filter ul li.selected a,
.year-filter ul li:hover a {
    border: 1px solid #ABABAB;
    background: #002D74;
    color: #FFFFFF;
}

/* 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: 1em;
    font-weight: inherit;
    padding-top: 0em;
    padding-bottom: 0em;
    color: #003E5C;
    color: #333;
}

.modal-header .close {
    margin-top: 0.1em;
    font-size: 2em;
    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: 1px solid #DBDBDB;
    padding: 1em 0 1em 0;
}

.form input,
.form select {
    color: #000000;
    font-size: 1em;
    padding: 0.22em;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ccc;
    padding: 0px 5px 0px 5px;
    border-radius: 4px;
    line-height: 2.5em !important;
    height: 2.5em !important;
}

.form .lable {
    padding-right: 1em;
    height: auto;
    vertical-align: middle;
    line-height: normal;
    margin-top: 0.45em;
}

.headline-left .date-time {
    font-weight: inherit;
    padding-top: 5px;
    padding-bottom: 0px;
}

.headline-left .event-name {
    padding-top: 0px;
    padding-bottom: 5px;
    color: #4D4E62;
}

.headline-right .event-type {
    font-weight: inherit;
    padding-top: 0px;
    padding-bottom: 0px;
}

/***************************************** 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;
}

.calendar-time-line .current-month {
    font-weight: inherit;
}

/************************************************* 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;
    }

    body.ar-ae #UpcomingEventsContainer .headline-right .download-event {
        text-align: right !important;
    }
}

@media (max-width:320px) {
    .subscription-section .btn-subscribe-wrapper {
        float: none;
        width: 100% !important;
        padding-top: 0.5em !important;
        text-align: left;
    }

    .subscription-section .subscription-header {
        text-align: right;
        width: 69% !important;
        float: right;
    }

    .export-types {
        padding-bottom: inherit;
    }
}

.modal.in .btn:after {
    display: none;
}

/************************* ARABIC SETTINGS  ******************************/
body.body-rtl .tabs li {
    float: unset !important;
}

body.body-rtl .tabs {
    float: unset !important;
}

body.body-rtl .subscription-section {
    float: left;
}

body.ar-ae .content-headline,
body.ku-arab-iq .content-headline {
    margin-left: 0;
    margin-right: 3em;
    padding-bottom: 0.5em;
    padding-top: 0.2em;
}

body.ar-ae .check-subscription-link {
    direction: ltr;
}

/*
body.ar-ae .modal-content .btn,
body.ar-ae .modal-content .btn-primary,
body.ar-ae .modal-content .btn-submit {
    background: #4D4E62;
}
*/

body.ar-ae .checkbox-wrapper {
    margin-left: 0px;
    margin-right: 10px;
}

body.ar-ae .filter-type ul li,
body.ku-arab-iq .filter-type ul li {
    float: none;
    padding: 0;
    display: inline-block;
}

body.ar-ae .year-filter ul li a {
    padding-top: 0.2em !important;
    padding-bottom: 0.2em !important;
}

body.ar-ae .headline-right .event-type,
body.ku-arab-iq .headline-right .event-type {
    font-weight: inherit;
}


/************************* ARABIC SETTINGS  ******************************/
/*END*/
.export-section {
    display: none;
}

.event-row.focus .content-headline {
    border-right-width: 0px;
    border-right-color: none;
}

/* .expand-collapse {
    display: none !important;
} */

* {
    outline: 0 !important;
}


@media (max-width: 600px) {
    .select-options ul.checkbox-event-type li {
        width: 100% !important;
    }
}

@media (max-width: 425px) {
    .tabs li {
        margin: 0 auto 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .tabs {
        width: 100%;
    }

    body.body-rtl .tabs {
        text-align: center;
    }

    .tabItem {
        width: 95%;
        box-sizing: border-box;
        margin: 0 auto;
    }
}
