/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
@import url("//fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

@font-face {
    font-family: "29LT Bukra";
    src:url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9547/fonts/29LT Bukra Regular.woff");
    src:url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9547/fonts/29LT Bukra Regular.woff") format('woff'),
    url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9547/fonts/29LT Bukra Regular.woff2") format('woff2');
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "29LT Bukra";
    src:url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9547/fonts/29LT Bukra Medium.woff");
    src:url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9547/fonts/29LT Bukra Medium.woff") format('woff'),
    url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9547/fonts/29LT Bukra Medium.woff2") format('woff2');
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: "29LT Bukra";
    src:url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9547/fonts/29LT Bukra Bold.woff");
    src:url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9547/fonts/29LT Bukra Bold.woff") format('woff'),
    url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9547/fonts/29LT Bukra Bold.woff2") format('woff2');
    font-style: normal;
    font-weight: 700;
}
/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/


/*************************************************** MAIN RULES **********************************************************/
body {
    padding:0;
    margin:0;
    font-family: "29LT Bukra", Roboto, sans-serif;
    font-size: 16px;
    color: #000000;
}
.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-size: 16px;
    font-family: "29LT Bukra", Roboto, sans-serif;
    color: #000000;
}
.wrapper {
    width: 100%;
    max-width: 1140px;
    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: #B60005;
}
.footer {
    padding: 0em;
    font-size: 13px !important;
}
/*********************************************** 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: 1px solid #CCCCCC;
    text-align: center;
    transition: background 0.5s;
    line-height: 14px;
}
.time-line-item:hover {
    background-color: #222673;
    color: #FFFFFF;
    font-weight: bold;
}
.color-dot-box .display-none {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    border: 1px solid #CCCCCC;
    margin-top: 5px;
}
.color-dot-box .color-dot {
    display:none;
}
.calendar-time-line .current-month .time-line-item {
    background-color: #222673;
    color: #FFFFFF;
}
.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: #000000;
    font-size: 1em;
    width: 1.4em;
    height: 1.4em;
    line-height: 1.25em;
    border: 1px solid #DBDBDB;
    border-radius: 0.75em;
}
.expand-collapse>.exco-text:hover,
.expand-collapse.expand>.exco-text {
    background-color: #DBDBDB;
    border-right-color: #DBDBDB;
    color: #000000!important;
}
/* END OF + BUTTON CONTROLS */

/* EVENT ROWS */
.content-headline {
    margin-left: 0 !important;
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 1px solid #CCCCCC;
    padding-bottom: 0.5em;
    padding-left: 1.3em;
}
.box-border {
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 1px solid #CCCCCC;
}
/* END OF EVENT ROWS */

/* FILTERS */
.filter-type ul li {
    float: none;
    padding: 0.25em 0.5em;
    display: inline-block;
}
.filter-type {
    border-bottom: 1px solid #7FC0D4;
    padding-bottom: 0.6em;
}
/* END OF FILTERS */

/* PAGINATION */
.eupagination>li>a,
.eupagination>li>span {
    font-weight: normal;
    padding: 0 !important;
    margin-left: 0em !important;
    line-height: normal;
    color: #000000;
    text-decoration: none;
    background-color: transparent;
    border: 1px solid #CCCCCC;
    height: 32px;
    width: 32px;
    line-height: 32px;
}
.eupagination>li>a:not(.eupagination>.active>a):hover,
.eupagination>li>span:hover {
    background-color: #230871;
    color: #FFFFFF !important;
    transition: background 0.5s;
}
.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: #230871;
    border-color: #230871;
    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: #d91e1e;
    color: #FFFFFF !important;
    padding: 0;
    border: 0px solid #222673;
    font-size: 1em;
    font-weight: bold;
    text-transform: capitalize;
    height: auto;
    /* line-height: normal; */
    transition: background 0.5s;

    /* ADDED */
    padding: 12px 24px;
    border-radius: 7px;

}
/* .btn:active,
.btn-primary:active,
.btn-submit:active,
.btn-cancel:active,
.btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.btn-cancel:hover {
    background: #FFFFFF !important;
    border-color: 1px solid #000000 !important;
    color: #000000 !important;
}    */
/************************************************ 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:center;
    font-size:0;
}
.tabs li {
    _float: none;
    float: none;
    margin: 0;
    display:inline-block;


    /* padding: 0 18px; */

    /* ADDED
    min-width: 200px; */

    /* width: 50%; */

}

.tabItem {
    /* height: auto;
	line-height: normal; */
	
	/* padding-top: 1.0em !important;
	padding-bottom: 1.0em !important;
	padding-left: 2.0em;
	padding-right: 2.0em; */
	
	text-decoration: none;
	font-weight: bold;
	font-style: normal;
	
	background: #FFFFFF;
	border: 0px solid #222673;
	
	transition: background 0.5s;
	
	color: #222673;	
	
	/* margin-left: -0.08em; */
	position: relative;
	/* top: 0;
	left: 0.08em; */
/* 
    width: 171px;
    height: 43px;
    line-height: 43px;
    padding: 0 !important;
    box-sizing: border-box; */

    padding: 12px 24px !important;
    border-radius: 0px;
    margin: 0.08em;
    height: auto;
    line-height: normal;

    border-bottom: 3px solid transparent;
    
}

.tab-active {
    color: #d91e1e !important;
    cursor: default;
    /* font-weight: bold; */
    /* background: radial-gradient(at top right, #222673 25%, #d91e1e 80%); */
	position: relative;
	top: 0px;
	left: 0px;
    /* border-color: #d91e1e; */
    border-bottom: 3px solid #d91e1e;
    z-index: 10;
}
.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;

    display: none !important;
}

.tabItem:not(.tab-active):hover {
    /* background: #222673; */
	
	text-decoration: none;
	/* font-weight:normal; */
	font-style: normal;
	
	color: #d91e1e!important;
    border-bottom: 3px solid #d91e1e;
}
/* 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: 1px solid #CCCCCC;
    transition: background 0.5s;
    color: #000000;
    border-radius: 0;
    margin: 0;
}
.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: 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 #CCCCCC;
    padding: 1em 0 1em 0;
}
.form input,
.form select {
    color: #333;
    font-size: 1em;
    padding: 0.22em;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #CCCCCC;
}
.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) { 
    #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;
    }
}
/*END*/

/* ADDED CSS */
.main-heading {
    display: none;
}

.eupagination>li>a:hover, .eupagination>li>span:hover, .eupagination>li>a:focus, .eupagination>li>span:focus {
    border-color: transparent !important;
}

.year-filter ul li.selected a, .year-filter ul li a:hover {
    color: #fff;
    background: #230871;
}

.headline-left .full-descriptions {
    color: #000000 !important;
}

.subscribe-actions {
    margin-bottom: 8px;
}

.headline-left .date-time {
    font-weight: normal !important;
    font-size: 14px !important;
    color: #787F84 !important;
}

.event-row.focus .content-headline {
    border-right-width: 0px !important;
}

.headline-right .event-type {
    color: #7f7f7f;
    font-size: 14px;
}

.expand-collapse {
    left: 0px !important;
}

.headline-left .event-name {
    padding-top: 12px !important;
}

.eupagination>li:first-child>a, .eupagination>li:first-child>span, .eupagination>li:last-child>a, .eupagination>li:last-child>span {
    display: none;
}

.filter-type {
    border-bottom: 0px solid #CCCCCC !important;
}

/* @media (max-width: 471px) { 
    .tabs li {
        padding: 0 10px;
    }
} */

/* @media (max-width: 439px) { 
    .tabs li {
        margin-bottom: 4px;
    }
} */

/* @media (max-width: 428px) { 
    .btn-cancel {
        margin-bottom: 4px;
    }
} */



/* PAGINATION */

/* .eupagination li a span:last-child{
    position: relative;
}
.eupagination li.prev a span:last-child,
.eupagination li.next a span:last-child, 
.eupagination li.first a span:last-child, 
.eupagination li.last a span:last-child {
    color: transparent;
    
}
.eupagination li a span:last-child:before{
    font-size: 1.0em;
    position: absolute;
    color: #000000;
    left: -4px;
}

.eupagination li.first a span:last-child:before{
    content: '<<';
}

.eupagination li.prev a span:last-child:before{
    content: '<<';
}

.eupagination li.next a span:last-child:before{
    content: '>>';
}

.eupagination li.last a span:last-child:before{
    content: '>>';
}

 .eupagination li a:hover span:last-child:before{
    color: #FFFFFF!important;
}

li.page.prev.disabled a {
    border-top-left-radius: 0.3em;
    border-bottom-left-radius: 0.3em;
}

li.page.next a {
    border-top-right-radius: 0.3em;
    border-bottom-right-radius: 0.3em;
}

.btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
    outline: none;
}

div#PastEventsContainer {
    display: none;
} */



.btn-subscribe:hover {
    background-color: #d91e1e;
}

ul.tabs:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0em;
    left: 0em;
    width: 100%;
    height: 0em;
    z-index: 1;
    border-bottom: 1px solid #CCCCCC;
}

ul.tabs {
    position: relative;
}

span.radio, span.checkbox, span.event-name, span.color-box {
    vertical-align: baseline;
}

* {
    outline: 0 !important;
}

.btn-default:hover, .btn-default:focus, .btn-default.focus, .btn-default:active, .btn-default.active, .open>.dropdown-toggle.btn-default {
    background-color: #d91e1e;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary.focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary {
    background-color: #d91e1e;
}


/* ARABIC */
.ar-ae .subscription-section {
    float: left;
    text-align: left;
}

.ar-ae .check-subscription-link {
    text-align: left;
}

body.body-rtl .tabs li {
    float: none !important;
}

body.ar-ae .content-headline, body.ku-arab-iq .content-headline {
    margin-right: 0;
    padding-right: 20px;
}


@media (max-width: 425px) { 
    ul.tabs:after {
        display: none;
    }
    .tabs li {
        width: 100%;
        margin-bottom: 5px;
    }
    .tabItem {
        border: 1px solid #d91e1e;
    }
    .tab-active {
        background: #d91e1e;
        border: 1px solid #d91e1e;
        color: #FFFFFF !important;
    }
    .tabItem:not(.tab-active):hover {
        background: #d91e1e!important;
        color: #FFFFFF !important;
        border: 1px solid #d91e1e;
    }
}
