/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
@font-face {
    font-family: 'Avenir';
    src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9526/fonts/AvenirArabic-Black.woff2") format('woff2'),
        url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9526/fonts/AvenirArabic-Black.woff") format('woff'),
        url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9526/fonts/AvenirArabic-Black.ttf") format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9526/fonts/AvenirArabic-Light.woff2") format('woff2'),
        url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9526/fonts/AvenirArabic-Light.woff") format('woff'),
        url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9526/fonts/AvenirArabic-Light.ttf") format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9526/fonts/AvenirArabic-Heavy.woff2") format('woff2'),
        url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9526/fonts/AvenirArabic-Heavy.woff") format('woff'),
        url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9526/fonts/AvenirArabic-Heavy.ttf") format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9526/fonts/AvenirArabic-Medium.woff2") format('woff2'),
        url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9526/fonts/AvenirArabic-Medium.woff") format('woff'),
        url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9526/fonts/AvenirArabic-Medium.ttf") format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/*
@font-face {
    font-family: 'Avenir';
    src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9526/fonts/AvenirArabic-Light_1.woff") format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}*/

@font-face {
    font-family: 'Avenir';
    src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9526/fonts/AvenirArabic-Book.woff2") format('woff2'),
        url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9526/fonts/AvenirArabic-Book.woff") format('woff'),
        url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-9526/fonts/AvenirArabic-Book.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/
/*************************************************** MAIN RULES **********************************************************/
body {
    padding:0;
    margin:0;
    font-family: "Avenir", sans-serif;
	font-size: 20px;
    color: #231F20;
}
.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-family: "Avenir", sans-serif;
	font-size: 20px;
    color: #231F20;
}
.wrapper {
    width: 100%;
    max-width: 1256px;
    margin: 0 auto;
    padding: 0 0 0 0;
    position:relative;
}
a:link,
a:visited,
.hyperlink,
.check-subscription-link {
    color: #231F20;
    text-decoration: none;
}
a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    text-decoration: underline;
	color: #918F8F;
}
.footer {
    padding: 0em;
    padding-top: 3em;
    font-size: 12px;

}
/*********************************************** 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: -1px 0 0 -1px;
    border: 1px solid #e1e1e1;
    text-align: center;
    transition: background 0s;
    font-size: 14px;
}
.time-line-item:hover {
    background-color: #f2f2f2;
}
.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: #DBDBDB;
}
.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;
}
/* 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 #B2B2B5;
    padding-bottom: 0.5em;
    padding-top: 0em;
}
.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:bold;
    padding: 0.55em 1em;
    margin-left: -1px;
    line-height: normal;
    color: #585852;
    text-decoration: none;
    background-color: transparent;
    border: 1px solid #DBDBDB;
}
.eupagination>li>a:hover,
.eupagination>li>span:hover {
    background-color: #DBDBDB;
    color: #585852!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: #585852;
    cursor: default;
    background-color: #DBDBDB;
    border-color: #DBDBDB;
    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 {
    padding: 0.7em;
	
	border: 1px solid #231F20;
	border-radius: 0px;
	background: #231F20;
    color: #FFFFFF;
    font-size: 1.0em;
    font-weight: bold;
    border-radius: 0px;
    height: auto;
    line-height: normal;
    text-transform: uppercase;
    transition: background 0.5s;
    font-family: inherit;
}
.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;
	background: #FFFFFF;
	color: #231F20;
	border-color: #231F20;
}   
/************************************************ 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: 1.0em;
    border-bottom: 1px solid #e1e1e1;	
}
.tabs li {
    _float: none;
    float: none;
    margin: 0;
    display:inline-block;
}
.tabItem {
    height: auto;
	line-height: normal;
	
	padding-top: 1.0em !important;
	padding-right: 0em;
	padding-bottom: 1.0em !important;
	padding-left: 0em;
	
	text-decoration: none;
	font-family: inherit;
	font-weight: bold;
	font-size: 1.0em;
	font-style: normal;
	
	background: transparent;
	border-top: 0;
	border-right: 0;
	border-bottom: 0.24em solid transparent;
	border-left: 0;
	
	transition: background 0.5s, color 0.5s, border 0.5s;
	
	color: #231F20 !important;
	
	margin-top: 0.0em;
	margin-right: 1em;
	margin-bottom: 0.0em;
	margin-left: 1em;

	position: relative;
	top: 0;
	left: 0em;
}
.tabItem:hover {
    background: transparent;
    color: #918F8F !important;
    border-top: 0;
    border-right: 0;
    border-bottom: 0.24em solid transparent;
    border-left: 0;
	
	text-decoration: none;
	font-style: normal;
	
	z-index: 9;
	position: relative;
}

.tab-active,
.tab-active:hover {
    background: transparent !important;
    color: #231F20 !important;
    border-top: 0;
    border-right: 0;
    border-bottom: 0.24em solid #231F20;
    border-left: 0;

	position: relative;
	top: 0px;
	left: 0px;

    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: 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: 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 #2B2D33;
    transition: background 0.5s;
    color: #2B2D33;
    border-radius: 0;
    margin: 0;
}
.year-filter ul li.selected a {
    background: #231F20;
    border: 1px solid #231F20;
    color: #fff;
}
/* END OF YEAR BUTTONS */
/* REQUIRED TO OVERWRITE MAIN CSS */
/* 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: 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: 1px solid #e1e1e1;
    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 #e1e1e1;
    height: 2em;
}
.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: 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;
    }
}

@media(max-width:500px) { 
    .tabs li {
        display: block;
        margin: 0 auto !important;
        width: 70%;
        min-width: 270px;
    }
    .tabs {
        width: 100%;
        text-align: center;
        border-bottom: 0px solid #e0e0e0;
    }
    .tabItem {
        padding: 1em;
        margin: 0.5em;
        color: #231F20;
        border: 0.24em solid #e9e8e8;
    }
    .tabItem:hover {
        color: #918f8f !important;
        border: 0.24em solid #e9e8e8 !important;
    }
    
    .tab-active {
        color: #231F20 !important;
        border: 0.24em solid #231F20 !important;
        padding: 1em;
        margin: 0.5em;
    }
}
/*END*/


.headline-left .event-name{
    color: #231F20;
}

body.body-rtl .subscription-section{
    float: none;
    text-align: left;
}
body.body-rtl .check-subscription-link{
    text-align: left;
}
body.body-rtl .tabs{
    float: none !important;
}
body.body-rtl .tabs li{
    float: none !important;
}
@media (max-width: 479px) {
    .form .label {
        margin: 10px 0 -4px 0 !important;
    }
}

.color-box {
    top: -1px;
    position: relative;
}
.calendar-time-line .current-month .time-line-item {
    border: 0;
    /* border-top: 1px solid #dbdbdb; */
}
