/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
@import url("//fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap");
@import url("//fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap");
/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/


/*************************************************** MAIN RULES **********************************************************/
body {
    padding:0;
    margin:0;
    font-family: "Mulish", sans-serif;
    font-size: 16px;
    color: #000000;
    font-weight: 300;
}
.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-size: 16px;
    font-family: "Mulish", sans-serif;
    color: #000000;
}
.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: #4F99BA;
    text-decoration: underline !important;
}
a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    text-decoration: underline !important;
	color: #4F99BA;
}
.footer {
    padding: 0em;
}
/*********************************************** 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: 0.08em solid #CCCCCC;
    text-align: center;
    transition: background 0.5s;
}
.time-line-item:hover {
    background-color: #008aab;
    color: #fff;
}
.color-dot-box .display-none {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    border: 0.08em solid #CCCCCC;
}
.color-dot-box .color-dot {
    display:none;
}
.calendar-time-line .current-month .time-line-item {
    background-color: #008aab;
}
.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: 1.5em;
    width: 1em;
    height: 1em;
    line-height: 0.98em;
    border: 0.16em solid #CCCCCC;
    border-radius: 0em;
}
.expand-collapse>.exco-text:hover,
.expand-collapse.expand>.exco-text {
    background-color: #CCCCCC;
    border-right-color: #CCCCCC;
    color: #000000!important;
}
/* END OF + BUTTON CONTROLS */

/* EVENT ROWS */
.content-headline {
    margin-left: 2em;
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0em solid #bebfb8;
    padding-bottom: 0.5em;
    background: #F6FCFC;
    margin-bottom: 6px;
}
.box-border {
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0.08em 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: 0em solid #7FC0D4;
    padding-bottom: 0.6em;
}
/* END OF FILTERS */

/* PAGINATION */
.eupagination>li>a,
.eupagination>li>span {
    font-weight:bold;
    padding: 0.55em 1em;
    margin-left: -0.08em;
    line-height: normal;
    color: #000000;
    text-decoration: none;
    background-color: transparent;
    border: 0em solid #CCCCCC;
}
.eupagination>li>a:hover,
.eupagination>li>span:hover {
    background-color: #fff !important;
    color: #000!important;
    border-color: #fff !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: #317796;
    cursor: default;
    background-color: #fff;
    border-color: #fff;
    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: #317796;
    color: #F7F1E8 !important;
    padding: 0.8em;
    border: 0px;
    font-size: 1em;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 8px;
    height: auto;
    line-height: normal;
    text-transform: uppercase;
    transition: background 0.5s;
}
.btn:active,
.btn-primary:active,
.btn-submit:active,
.btn-cancel:active,
.btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.btn-cancel:hover {
    background: #317796;
}   
/************************************************ 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;
}
.tabItem {
    height: auto;
    line-height: normal;
    padding-top: 1.0em !important;
    padding-bottom: 1.0em !important;
    padding-left: 0em;
    padding-right: 0em;
    text-decoration: none !important;
    font-weight: bold;
    font-style: normal;
    background: transparent;
    border: 0em solid #CCCCCC;
    transition: none;
    color: #000000 !important;
    position: relative;
    top: 0;
    left: 0em;
    text-transform: uppercase !important;
    margin-top: 0.0em;
    margin-right: 0.08em;
    margin-bottom: 0.0em;
    margin-left: 1.08em;
}
.tab-active {
    color: #317796 !important;
    cursor: default;
    font-weight: bold;
    background-color: transparent;
    border-bottom: 2px solid #317796;
	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: 0em solid transparent; 
	border-right: 0em solid transparent; 
	border-top: 0em solid #CCCCCC;
}

.tabItem:hover {
    background: transparent;
	
	text-decoration: none;
	font-weight:bold;
	font-style: normal;
	
	color: #317796 !important;
    border-bottom: 2px solid #317796;
}
/* 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: 0.16em 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: 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: #F6FCFC;
    box-sizing: border-box;
    border: 0em 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: 0.08em solid #A8A9A3;
}
.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 #CCCCCC;
    -webkit-box-shadow: 0 0.08em 0.32em #CCCCCC;
}
.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*/


/******changes**********/

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: "Almarai", sans-serif;
}

li.current-month .time-line-month-name {
    color: #fff;
}

.main-heading {
    display: none;
}

div#wrapper {
    padding-top: 1em;
}

footer.footer {
    font-size: 13px;
}

ul.tabs li a {
    text-decoration: none !important;
    color: #000;
}

/* li .tab-active:hover {
    color: #317796 !important;
} */

.subscribe-checking .compulsory-field {
    display: none;
}

div#lblEmailSubscriptionChecking:after {
    content: "*";
    color: #f00;
}

@media (max-width: 600px) {
    .tabItem {
        border: 1px solid #ccc;
        margin-top: 0.0em;
        margin-right: 0em;
        margin-bottom: 0.0em;
        margin-left: 0em;
        display: block;
    }
    .tabs li {
        float: none;
        margin: 0;
        display: inline-block;
        width: 49%;
        margin: 1px;
    }
    .tab-active,.tabItem:hover {
        color: #fff !important;
        cursor: default;
        font-weight: bold;
        background-color: #317796 !important;
        border: 1px solid #317796 !important;
        position: relative;
        top: 0px;
        left: 0px;
    }
}

@media (max-width: 480px) {
.tabs li {
    float: none;
    margin: 0;
    display: inline-block;
    width: 99%;
    margin: 1px;
}
}

/* li .tab-active:focus {
    color: #fff !important;
} */

body.body-rtl .subscription-section {
    float: left;
}

body.body-rtl .subscription-section {
    text-align: left;
}

body.body-rtl .check-subscription-link {
    text-align: left;
}

body.body-rtl .tabs li{
    float: none !important;
}

body.ar-ae .calendar-time-line .current-month {
    font-weight: 300;
}

.year-filter .selected a {
    background: #008aab;
    border: 1px solid #008aab;
    color: #fff;
}

nav.year-filter a {
    text-decoration: none !important;
}

ul.type-filter a {
    text-decoration: none !important;
}

.page.last {
    display: none;
}

.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;
    display: none !important;
}

.page.prev a {
    display: none;
}

.page.next {
    content: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-4017/right.svg");
    position: relative;
    top: 10px;
    left: 14px;
}

.page.prev {
    content: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-4017/left.svg");
    position: relative;
    top: 10px;
    left: -114px;
}

.event-row.first .box-border {
    border-top: 0px solid #e4e4e4;
}

.box-border {
    border-bottom: 0em solid #bebfb8;
}

ul.eupagination a {
    text-decoration: none !important;
}

.show-hide-toggle {
    display: block !important;
    }
    .expand-collapse {
    display: none !important;
    }

    .section-header.subscription-header {
        display: none;
    }


    .file-type-pdf {
        background-image: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-4017/pdf.svg");
    }


    .ar-ae .page.prev {
        content: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-4017/left.svg");
        position: relative;
        top: 12px;
        left: -27px;
    }

    .ar-ae .page.next {
        content: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-4017/right.svg");
        position: relative;
        top: 12px;
        left: 118px;
    }
