/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
/*
@font-face {
    font-family: 'dinmedium';
    src: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/QA-QIGD/fonts/din-medi-webfont.eot");
    src: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/QA-QIGD/fonts/din-medi-webfont.eot?#iefix") format('embedded-opentype'),
        url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/QA-QIGD/fonts/din-medi-webfont.woff") format('woff'),
        url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/QA-QIGD/fonts/din-medi-webfont.ttf") format('truetype'),
        url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/QA-QIGD/fonts/din-medi-webfont.svg#dinmedium") format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Arialn';
    src: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/QA-QIGD/fonts/ArialnSans-Light.otf");
    font-style: 300;
}

@font-face {
    font-family: 'Arialn';
    src: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/QA-QIGD/fonts/ArialnSans-Bold.otf");
    font-style: bold;
}

@font-face {
    font-family: 'Arialn';
    src: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/QA-QIGD/fonts/ArialnSans-Regular.otf");
    font-style: normal;
}
*/
@font-face {
    font-family: 'Arialn';
    src: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/QA-QIGD/fonts/Arialn.ttf") format('truetype');
}
/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/


/*************************************************** MAIN RULES **********************************************************/
body {
    padding: 0;
    margin: 0;
    font-family: Arialn, Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #7B7B7B;
    background: transparent;
}

.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-family: Arialn, Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #7B7B7B;
}

.wrapper {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 0 0 0;
    position: relative;
}


.ar-ae .subscription-section {
    float: left;
    text-align: left;
}

.ar-ae .headline-left .date-time {
    direction: rtl;
}

.check-subscription-link {
    padding-bottom: 8px;
    font-weight: bold;
    font-size: 16px;
    font-weight: normal !important;
    margin-bottom: 20px;
    margin-top: 10px;
    text-align: right;
}

.subscription-header,
.export-header {
    font-weight: normal;
}

a:link,
a:visited,
.hyperlink,
.check-subscription-link {
    color: #777777;
    text-decoration: none;
    font-weight: normal;
    font-size: 16px !important;
}

a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    color: #404445 !important;
    text-decoration: none;
}

.main-heading {
    color: #231F20 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    text-transform: capitalize;
    font-size: inherit;
}

/*********************************************** END OF MAIN RULES *******************************************************/

/********************************************* ALIGNMENT FOR CALENDAR ****************************************************/

/* NEXT EVENT HEADER */

/* END OF PAGINATION */

/****************************************** END OF ALIGNMENT FOR CALENDAR ************************************************/
.time-line-item:hover {
    background-color: #A88E38 !important;
    color: #ffffff;
}

/*************************************************** BUTTONS *************************************************************/
.btn,
.btn-primary,
.btn-submit,
.btn-cancel,
.btn:focus,
.btn-primary:focus,
.btn-submit:focus,
.btn-cancel:focus {
    padding: 0.611em 2.056em 0.611em 2.056em;
    border: 0;
    font-weight: normal;
    height: auto;
    line-height: normal;
    color: #fff;
    background: #818285;
    font-size: 1em;
    border-radius: 0;
    min-width: 55px;
    text-transform: capitalize;
    border: 1px solid #818285;
    transition: background 0.5s, color 0.5s, border 0.5s;
    min-width: 80px;
}

.btn:active,
.btn-primary:active,
.btn-submit:active,
.btn-cancel:active,
.btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.btn-cancel:hover {
    color: #fff;
    cursor: pointer;
    text-decoration: underline;
    border: 1px solid #818285;
    background: #818285;
}

/************************************************ END OF BUTTONS *********************************************************/

/***************************************************** TABS **************************************************************/
body.body-rtl .tabs li {
    float: none !important;
}

.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;
}

.ar-ae .tabs {
    text-align: center;
}

.tabs li {
    float: none;
    margin: -2.2px;
    margin-right: 1px;
    display: inline-block;
}

.tabItem {
    height: auto;
    line-height: normal;
    padding-top: 1.15em !important;
    padding-right: 2.0em;
    padding-bottom: 1.0em !important;
    padding-left: 2.0em;
    text-decoration: none;
    font-weight: 400 !important;
    font-style: normal;
    text-transform: uppercase;
    transition: none;
    background: #FFFFFF;
    color: #525151 !important;
    border-top: 1px solid #818285;
    border-right: 1px solid #818285;
    border-bottom: 1px solid #818285;
    border-left: 1px solid #818285;
    text-transform: capitalize !important;
    outline: none;
    margin: 4px;
    margin-left: 0;
    position: relative;
    font-family: inherit;
    top: 0;
    left: 0em;
    transition: background 0.5s, color 0.5s, border 0.5s;
    min-width: 100px;
}

.tabItem:hover {
    background: #525151;
    color: #ffffff !important;
    border-top: 1px solid #818285;
    border-right: 1px solid #818285;
    border-bottom: 1px solid #818285;
    border-left: 1px solid #818285;
}

.tab-active {
    color: #fff !important;
    background: #005699;
    cursor: default;
}


/* YEAR BUTTONS */
.year-filter ul::before,
.year-filter ul::after {
    box-sizing: border-box;
    clear: both;
    content: "";
    display: block;
    height: 0;
    width: 100%;
}

.year-filter ul {
    margin: 1em 0;
}

.year-filter ul li {
    padding: 0;
    margin-right: 16px;
    display: inline-block;
}

.year-filter ul li a {
    height: auto;
    font-size: 1em;
    line-height: normal;
    padding: 0.5em 1em !important;
    text-decoration: none;
    font-weight: 700;
    font-style: normal;
    background: transparent;
    border: 0.04em solid #231F20 !important;
    transition: background 0.5s;
    color: #4e4e4e;
    border-radius: 0;
    margin: 0;
}

.year-filter ul li a.selected {
    background: #231F20;
    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: 18px;
    font-weight: normal;
    text-transform: capitalize;
    color: #404445;
    font-family: DIN_Next_W01, Arial, sans-serif;
    padding-top: 0em;
    padding-bottom: 0;
}

.modal-header .close {
    margin-top: 0.1em;
    font-size: 1.5em;
    line-height: 0.25em;
}

li.type {
    width: 50%;
    padding: 0.5em 0;
    white-space: normal;
}

.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;
    font-family: inherit;
    text-transform: uppercase;
    font-weight: normal;
}

.your-preferences {
    background-color: transparent;
    box-sizing: border-box;
    border: 0em solid #231F20;
    padding: 1em 0 1em 0;
}

.form input,
.form select {
    font-size: 1em;
    padding: 0 0.16em;
    box-sizing: border-box;
    font-size: 16px;
    color: #000000;
    font-family: inherit;
    outline: none;
    background: #fff;
    border: none;
    border-top: 1px solid #E0E0E0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border: 1px #d7d7d7 solid;
    border-radius: 0;
}

.events-container {
    padding-top: 22px;
    clear: both;
    border-top: 0px solid #a1a1a1 !important;
}

.form .lable {
    padding-right: 1em;
    height: auto;
    vertical-align: middle;
    line-height: normal;
    margin-top: 0.22em;
}

/***************************************** 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 #231F20;
    -webkit-box-shadow: 0 1px 0.32em #231F20;
}

.etooltip .tip-arrow {
    background: transparent;
}

/************************************************* END OF TOOLTIP ********************************************************/
/*THIS IS REQUIRED*/
@media (max-width: 768px) and (min-width: 0) {

    body,
    .tabItem,
    .tab-active,
    .form input,
    .form select,
    .next-event {
        /* font-size: 16px; */
    }
}

@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: right;
    }

    .export-types {
        padding-bottom: inherit;
    }
}

.time-line-month-name {
    padding: 0px !important;
    height: 25px !important;
    line-height: 2.5;
}

.headline-left .date-time {
    font-weight: normal;
    padding-top: 10px;
    padding-bottom: 5px;
    padding-left: 0;
    -webkit-font-smoothing: antialiased;
    color: #000000;
    font-size: 16px;
    direction: ltr;
}

.headline-left .event-name {
    color: #595959 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    font-weight: 400;
    font-family: inherit;
}

/*END*/
.events-container {
    padding-top: 22px;
    clear: both;
    border-top: 1px solid #a1a1a1;
}

.tabs-wrapper {
    margin: 7px 0px -1px 0;
}

.year-filter ul li a {
    height: auto;
    font-size: 1em;
    line-height: normal;
    padding: 0 !important;
    text-decoration: none;
    font-style: normal;
    background: transparent;
    border: 00em solid #231F20 !important;
    transition: background 0.5s;
    background: transparent;
    color: #231F20;
    font-weight: 400;
    font-size: 16px !important;
    border-radius: 0;
    margin: 0;
}

.eupagination > li > a,
.eupagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #2C2E30;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.year-filter .selected {
    font-weight: bold;
    text-decoration: underline !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: #fff !important;
    cursor: default;
    background-color: #A88E38;
    border-color: #A88E38;
}

@media (min-width: 0px) and (max-width: 360px) {
    .tabs li {
        display: inline-block;
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
        height: auto !important;
    }
}

.ar-ae .tabs li {
    float: none;
    float: none;

    display: inline-block;


}

.check-subscription-link {

    font-weight: normal;

}

body.body-rtl .subscription-section {
    float: left;
    text-align: left;
}

.time-line-item {
    border: solid 1px #A88E38;
}

.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    color: #464645;

}

.eupagination > li:first-child > a,
.eupagination > li:first-child > span {
    margin-left: 0;
    outline:
        none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.eupagination > li {
    display: inline;
    outline: none !important;
}


.eupagination > .disabled > span,
.eupagination > .disabled > span:hover,
.eupagination > .disabled > span:focus,
.eupagination > .disabled > a,
.eupagination > .disabled > a:hover,
.eupagination > .disabled > a:focus {
    cursor: default;
    outline: none !important;
}



/*Modification*/

/*Arabic*/
.ar-ae .check-subscription-link {
    text-align: left;
}

.ar-ae .tabs {
    text-align: center;
}

/*Arabic End*/


.button-wrraper {
    text-align: center;
    padding: 15px 0 15px 1em;
}

.ar-ae .button-wrraper {
    text-align: left;
    padding: 15px 0 15px 11.2em;
}

/*
@media (max-width: 580px) and (min-width: 0px) {
    .tabs li {
        display: inline-block;
        width: 70%;
        margin-bottom: 20px;
        text-align: center;
        height: auto !important;
        margin: 0;
    }

    .tabs {
        border-bottom: 0 !important;
    }

    .tabItem {
        border: 1px solid #e1e1e1 !important;
        width: 70% !important;
        margin: 0 auto;
    }

    .tab-active {
        border-bottom: 0;
        width: 80%;
        margin: 0 auto;
    }

    .button-wrraper {
        padding: 12px 0 0 0;
    }

    .ar-ae .button-wrraper {
        padding: 15px 0 15px 50px;
    }

    .ar-ae .button-wrraper {
        padding: 15px 0 15px 71px;
    }
}
*/

/*Iphone 5*/
@media (max-width:320px) {

    .btn,
    .btn-primary,
    .btn-submit,
    .btn-cancel,
    .btn:focus,
    .btn-primary:focus,
    .btn-submit:focus,
    .btn-cancel:focus {
        min-width: 0 !important;
    }

    .tabItem {
        border: 0px;
        width: 82%;
    }

    .tab-active {
        border-bottom: 0;
        width: 81%;
        margin: 0 auto;
    }

    .button-wrraper {
        padding: 12px 0 0 0;
    }

    a.tabItem.second-heading {
        /* margin-bottom: 5px; */
    }

    a.tabItem.second-heading.active.tab-active {
        /* margin-top: -1px!important; */
    }
}

/*Modification*/
.filter-type ul li {
    padding-left: 0;
}

.content-headline {
    margin-left: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: 5px;
}

.content-headline .headline {
    padding: 0;
}

/* redesign */
.content-headline {
    margin-left: 0;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: 5px;
}

.box-border {
    border-left: 1px solid #e4e4e4;
    border-right: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
}

* {
    outline: 0;
}

.expand-collapse > .exco-text {
    width: 20px;
    height: 25px;
}

.content-headline .headline {
    padding: 0;
}

.content-headline.box-border {
    margin-left: 21px;
}

a.tabItem.second-heading.active.tab-active {
    font-size: 1.0em;
    font-weight: bold;
    text-align: center;
    background: #525151;
    color: #FFFFFF !important;
    border-top: 1px solid #525151;
    border-right: 1px solid #525151;
    border-bottom: 1px solid #525151;
    border-left: 1px solid #525151;
    border-radius: 0;
    position: relative;
}

a.tabItem.second-heading.active.tab-active:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -1em;
    border-left: 1em solid transparent;
    border-right: 1em solid transparent;
    border-top: 1em solid #525151;
}

a.tabItem.second-heading {
    text-align: center;
}

body .hyperlink {
    color: #797B75 !important;
}

body .hyperlink:hover {
    color: #404445 !important;
    text-decoration: underline;
}

body .cookies-box a {
    color: #797B75 !important;
}

body .cookies-box a:hover {
    color: #404445 !important;
    text-decoration: underline;
}

.google-recapcha {
    display: none;
}

.form .label {
    width: 23%;
}

/*arabic*/

.ar-ae .tabItem {
    width: 57%;
}

.events-scroller {
    /* margin-left: -9px; */
}

.ar-ae .tabItem {
    margin: 4px;
    margin-left: 4px;
    margin-right: 0;
}

@media (max-width: 425px) {
    .tabs li {
        display: block;
        text-align: center;
        margin: 0;
        margin-bottom: 5px !important;
    }

    .tabs {
        border-bottom: 0 !important;
    }

    a.tabItem.second-heading.active.tab-active:before {
        display: none;
    }

    .tabItem {
        border: 1px solid #e1e1e1 !important;
        width: 97% !important;
        margin: 0 auto;
        padding-right: 0em;
        padding-left: 0em;
    }

    .tab-active {
        border-bottom: 0;
        width: 80%;
        margin: 0 auto;
    }

    .button-wrraper {
        padding: 12px 0 0 0;
    }

    .ar-ae .button-wrraper {
        padding: 15px 0 15px 50px;
    }

    .ar-ae .button-wrraper {
        padding: 15px 0 15px 71px;
    }

    body.body-rtl .tabs {
        float: none !important;
    }

    .ar-ae .tabs li {
        display: block;
    }

    .ar-ae .tabItem {
        margin: auto;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width:414px) {
    .ar-ae .tabItem {
        border-right: 0;
    }

    .ar-ae .button-wrraper {
        padding: 15px 0 15px 55px;
    }
}

* {
    outline: 0;
}

@media (min-width: 768px) {
    .modal-content {
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}

@media (min-width: 320px) {
    .modal-content {
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}

@media (min-width: 414px) {
    .modal-content {
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .tabs li {
        margin-bottom: 7.4px;
    }
}

.tab-active {
    background-color: #FFF;
    color: #69696b !important;
}

a.tabItem.second-heading.active.tab-active:hover {
    /* background: #fff; */
}

.tabs {
    /* border-bottom: 1px solid #1D252D; */
}

.tabs li {
    margin-bottom: -5.0px;
}

.google-recapcha > div {
    display: none;
}

@media (max-width:520px) {
    .tabs {
        text-align: center !important;
    }
}

.ar-ae a.tabItem.second-heading:before {
    width: 96px;
}


* {
    outline: 0;
}

.btn:active,
.btn.active {
    background-image: none !important;
    outline: 0 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

@media (max-width:480px) {

    .btn,
    .btn-primary,
    .btn-submit,
    .btn-cancel,
    .btn:focus,
    .btn-primary:focus,
    .btn-submit:focus,
    .btn-cancel:focus {
        padding: 10px 35px;
    }

    .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 {
        padding: 10px 24px;
    }
}

@media (max-width: 479px) {
    .form .input {
        width: 100% !important;
        display: inline-table;
    }

    .btn-submit,
    .btn-cancel,
    .btn-ok {
        margin-left: -4px;
    }
}

input.btn.btn-default.btn-cancel:hover {
    color: #fff;
}

.form input,
.form select {
    color: #333;
}

.ar-ae div#subscriptionModal {
    padding-left: 0 !important;
}

.supply-by-box a {
    font-size: 13px !important;
}

body .cookies-box a {
    font-size: 13px !important;
}


.headline-right .event-type {
    font-weight: 400;
}

.calendar-time-line .current-month {
    font-weight: 400;
}

.calendar-time-line .current-month .time-line-item {
    background-color: #A88E38;
    color: #fff;
}

.eupagination > li > a:hover,
.eupagination > li > span:hover,
.eupagination > li > a:focus,
.eupagination > li > span:focus {
    background-color: #A88E38;
    border-color: #A88E38;
    color: #fff !important;
}

@media(max-width:414px) {
    .content-headline .headline {
        padding: 0;
    }

    .item-attachment {
        margin-left: 0;
    }
}

.main-heading {
    display: none;
}

footer.footer {
    font-size: 13px;
}

.event-name > span {
    padding-left: 0;
}

.show-hide-toggle {
    display: block !important;
}

span.exco-text {
    display: none !important;
}

.item-attachment {
    margin-left: 0;
}

