/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
@import url("//fonts.googleapis.com/css2?family=Noto+Kufi+Arabic&display=swap");
@import url("//fonts.googleapis.com/css2?family=Oswald&display=swap");

@font-face {
	font-family: Avenir;
	src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/SA-1830/fonts/Avenir-Medium.ttf") format("truetype");
	font-weight: 500;
}

@font-face {
	font-family: Avenir;
	src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/SA-1830/fonts/Avenir-Regular.ttf") format("truetype");
	font-weight: 400;
}
/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/


/*************************************************** MAIN RULES **********************************************************/
body {
    padding: 0;
    margin: 0;
    font-family: Avenir, sans-serif;
    font-size: 18px;
    color: #000000;
}

.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-size: 18px;
    font-family: Avenir, sans-serif;
    color: #000000;
}

.wrapper {
    width: 100%;
    width: 100%;
    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: underline;
    color: #000000;
}

.footer {
    padding: 0em;
    font-size: 13px;
}

.check-subscription-link,
.subscription-header,
.export-header {
    font-weight: bold;
    font-family: inherit;
}

/*********************************************** 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: #B2AA98;
}

.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 #CCCCCC;
    text-align: center;
    transition: background 0.5s;
}

.time-line-item:hover {
    background-color: #104583;
    color: #FFF;
}

.color-dot-box .display-none {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    border: 1px solid #CCCCCC;
}

.color-dot-box .color-dot {
    display: none;
}

.calendar-time-line .current-month .time-line-item {
    background-color: #104583;
    border: 1px solid #104583;
    color: #FFF;

    font-family: inherit;
}

.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: 1.15em;
    height: 1.15em;
    line-height: 1.25em;
    border: 2px solid #CCCCCC;
    border-radius: 0.75em;
}

.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: 0em;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid #CCCCCC;
    padding-bottom: 0.5em;
}

.box-border {
    border-left: 1px solid transparent;
    border-right: 1px 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: 0px solid #B2AA98;
    padding-bottom: 0.6em;
}

/* END OF FILTERS */

/* PAGINATION */
.eupagination>li>a,
.eupagination>li>span {
    font-weight: normal;
    padding: 0.55em 1em;
    margin-left: 3px;
    line-height: normal;
    color: #000000;
    text-decoration: none;
    background-color: #ece25d;
    border: 1px solid #ece25d;
}

.eupagination>li>a:hover,
.eupagination>li>span:hover {
    background-color: #c5bd4c;
    color: #000000 !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: #000000;
    cursor: default;
    background-color: #c5bd4c;
    border-color: #c5bd4c;
    font-weight: normal;
}

.eupagination>li:last-child>a,
.eupagination>li:last-child>span {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    /* border-left: 0; */
}

.eupagination>li:first-child>a,
.eupagination>li:first-child>span {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    /* border-right: 0; */
}


.eupagination>.disabled>span, .eupagination>.disabled>span:hover, .eupagination>.disabled>span:focus, .eupagination>.disabled>a, .eupagination>.disabled>a:hover, .eupagination>.disabled>a:focus {
    border-color: #ece25d;
}

.ar-ae .eupagination>li>a, .ar-ae .eupagination>li>span {
    margin-left: 0;
    margin-right: 3px;
}



/* END OF PAGINATION */

/****************************************** END OF ALIGNMENT FOR CALENDAR ************************************************/

/*************************************************** BUTTONS *************************************************************/

button.btn,
.btn-subscribe,
.btn-primary,
.btn-default,
input.btn {
	/* display: block; */

	font-family: inherit;
	font-size: 1.0em;
	font-weight: 500;
	text-transform: none;
	text-decoration: none;

	line-height: 1;

	margin: 0.5em;
	padding: 20px 30px;
	position: relative;
	transition: all .4s ease-out;
	z-index: 0;

    border: 0;
    background-color: transparent;
    color: #000000;
}

button.btn:after,
button.btn:before,
input.btn:after,
input.btn:before {
	border: 1px solid #ece25d;
	border-radius: 6px;
	content: "";
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	transition: all .4s ease-out;
	width: 100%;
}

button.btn:before,
input.btn:before {
	background-color: #ece25d;
	z-index: -1;
}

button.btn:after,
input.btn:after {
	background-color: initial;
}

button.btn:active,
button.btn:hover,
input.btn:active,
input.btn:hover {
	cursor: pointer;
    background-color: transparent;
    color: #000000;
}

button.btn:after,
button.btn:before,
input.btn:after,
input.btn:before {
	border: 1px solid #ece25d;
	border-radius: 6px;
	content: "";
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	transition: all .4s ease-out;
	width: 100%;
}

button.btn:hover:before,
input.btn:hover:before {
	background-color: #c5bd4c;
	border: 1px solid #c5bd4c;
	transform: scale(.98, .95);
}

button.btn:hover:after,
input.btn:hover:after {
	border: 1px solid #c5bd4c;
	transform: scale(1.02, 1.05);
}

.btn-subscribe:hover {
    background-color: transparent;
    color: #000000;
}

button.btn.btn-primary.btn-more-event.display-none {
    display: none;
}
.google-recapcha>div {
    color: #000000;
}
/************************************************ END OF BUTTONS *********************************************************/

/***************************************************** TABS **************************************************************/
.tabs-wrapper {
    margin: 1em 0 1.5em 0;
}

.tabs {
	margin-top: 2em;
	margin-bottom: 2em;
	width: 100%;
	height: auto;
	line-height: normal;

	position: relative;
	z-index: 0;
    background: transparent;
}

.tabs li {
    display: inline-block;
    margin: 0px;
}

.tabs:after {
	content: '';
	display: block;
	position: absolute;
	bottom: 0em;
	left: 0em;
	width: 100%;
	height: 0em;
	z-index: -1;

	border-bottom: 4px solid #104583;
}

.tabItem {
    height: auto;
    line-height: normal;

	padding: 0 20px 10px !important;

	margin-top: 0.0em;
	margin-right: 0em;
	margin-bottom: 0.0em;
	margin-left: 0px;

    text-decoration: none;
    font-weight: 400;
	font-family: Oswald, sans-serif;
	font-size: 18px;
    font-style: normal;

    background: transparent;
    border-radius: 0px;

    border-top: 0px solid #104583;
    border-right: 0px solid #104583;
	border-bottom: 4px solid #104583;
    border-left: 0px solid #104583;

	transition: all .4s ease;

	color: #104583;
    min-width: 8em;

    width: 100%;
    box-sizing: border-box;
}

.tabItem:hover {
	background: #FFFFFF;
	color: #4E95D1;
	border-top: 0em solid #4E95D1;
	border-right: 0em solid #4E95D1;
	border-bottom: 4px solid #4E95D1;
	border-left: 0em solid #4E95D1;

    text-decoration: none;
    font-style: normal;
}

.tab-active {
	background: #FFFFFF;
	color: #4E95D1 !important;
	border-top: 0em solid #4E95D1;
	border-right: 0em solid #4E95D1;
	border-bottom: 4px solid #4E95D1;
	border-left: 0em solid #4E95D1;

    cursor: default;
    position: relative;
    top: 0px;
    left: 0px;
}

.tab-active:hover {
	background: #FFFFFF;
	color: #4E95D1;
	border-top: 0em solid #4E95D1;
	border-right: 0em solid #4E95D1;
	border-bottom: 4px solid #4E95D1;
	border-left: 0em solid #4E95D1;

    cursor: default;
    font-weight: 400 !important;
    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: 1.0em solid transparent;
    border-right: 1.0em solid transparent;
    border-top: 1.0em solid #CCCCCC;

    display: none;
}

/* 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 {
	display: block;

	font-family: inherit;
	font-size: 1.0em;
	font-weight: 500;
	text-transform: none;
	text-decoration: none;

	line-height: 1;
	
    margin: 0 2px;
    padding: 10px 20px;
	position: relative;
	transition: all .4s ease-out;
	z-index: 0;
}

.year-filter ul li a:after,
.year-filter ul li a:before {
	border: 1px solid #ece25d;
	border-radius: 6px;
	content: "";
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	transition: all .4s ease-out;
	width: 100%;
}

.year-filter ul li a:before {
	background-color: #ece25d;
	z-index: -1;
}

.year-filter ul li a:after {
	background-color: initial;
}

.year-filter ul li a:active,
.year-filter ul li a:hover {
	cursor: pointer;
}

.year-filter ul li a:after,
.year-filter ul li a:before {
	border: 1px solid #ece25d;
	border-radius: 6px;
	content: "";
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	transition: all .4s ease-out;
	width: 100%;
}

.year-filter ul li a:hover:before {
	background-color: #c5bd4c;
	border: 1px solid #c5bd4c;
	transform: scale(.98, .95);
}

.year-filter ul li a:hover:after {
	border: 1px solid #c5bd4c;
	transform: scale(1.02, 1.05);
}

/* END OF YEAR BUTTONS */
/* REQUIRED TO OVERWRITE MAIN CSS */
.en-gb .tabItem {
    text-transform: capitalize;
    text-align: center;
}

/* END OF IT */
/************************************************** END OF TABS **********************************************************/

/********************************************* MODAL WINDOW CONTROLS *****************************************************/
.modal-title {
    line-height: normal;
    margin: 0px;
    padding: 0px;
    font-family: inherit;
    font-size: 1.25em;
    font-weight: bold;
    padding-top: 0em;
    padding-bottom: 1.0em;
    color: #000000;
}

.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: 2px solid #CCCCCC;
    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 #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: 1px solid #B2AA98;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    background: #fff;
    box-shadow: 0 1px 3px #B2AA98;
    -moz-box-shadow: 0 1px 3px #CCCCCC;
    -webkit-box-shadow: 0 1px 3px #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;
    }

    .check-subscription-link {
        text-align: left;
    }
}

/*END*/

/* ADDITIONAL CSS */

.main-heading {
    padding-bottom: 20px;
    display: none;
}

.headline-right .event-type {
    font-weight: bold;
    text-align: right;
    padding-top: 5px;
    *padding-top: 26px;
    padding-bottom: 5px;
    word-wrap: break-word;
}

.event-row.focus .content-headline {
    border-right-width: 0px;
    border-right-color: #FFFFFF;
}

.expand-collapse {
    display: none !important;
}

.show-hide-toggle {
    display: block !important;
}

.headline-right .event-type,
.headline-left .date-time,
.filter-type .selected .type-filter-name {
    font-family: inherit;
}

.button-wrraper input,
.button-wrraper button {
    width: 9em;
}

.modal-header .close {
    font-size: 1.5em;
}

.btn-submit,
.btn-cancel,
.btn-ok {
    margin-top: 5px;
    margin-bottom: 5px;
}

li.item-attachment a {
    background-image: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/SA-1830/pdf.png") !important;
    background-size: 100% 100%;
}

.calendar-time-line .current-month {
    font-weight: 400;
}

img.attachment-icon.file-type-pdf {
    background: transparent;
}

/* ARABIC */

.ar-ae.page-font-style.body-rtl,
.ar-ae .tabItem,
.ar-ae .tab-active,
.ar-ae .form input,
.ar-ae .form select,
.ar-ae .next-event {
    direction: rtl;
    font-family: "Noto Kufi Arabic", sans-serif;
    line-height: 22px;
}

.ar-ae .footer {
    padding: 0em;
    font-size: 13px;
    line-height: 1.5;
}

/* body.body-rtl .tabs li {
    float: none !important;
} */

body.ar-ae .filter-type ul li {
    float: right;
    padding: 2px;
}

body.body-rtl ul.type-filter li a {
    margin: 0 8px;
}

.ar-ae .subscription-section {
    float: left;
    text-align: left;
}

.ar-ae .check-subscription-link {
    text-align: left;
}

.ar-ae .form .input {
    width: 58%;
}
.ar-ae .form input {
    line-height: normal;
}



.ar-ae .form select,
.ar-ae .form input {
    height: auto;
}

.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 {
    line-height: 22px;
}

.ar-ae .year-filter ul li a {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

body.ar-ae .content-headline, body.ku-arab-iq .content-headline {
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 5px;
}

/* RESPONSIVE */

@media screen and (max-width: 767px) {
    .modal-dialog {
        margin: 10px auto;
        padding: 0;
    }

    div#subscriptionModal {
        padding: 10px !important;
    }
}

@media screen and (max-width: 479px) {
    .ar-ae .form .label {
        text-align: right !important;
    }
}

@media screen and (max-width: 380px) {
	.tabs:after {
		display: none;
	}

	.tabs li {
		display: block;
		width: 60%;
		margin: 4px auto;
		text-align: center;
        float: none;
	}
}

@media screen and (max-width: 320px) {
    .ar-ae .subscription-section .subscription-header {
        text-align: right;
        width: 69% !important;
        float: none;
    }

    .ar-ae .subscription-section .btn-subscribe-wrapper {
        float: none;
        width: 100% !important;
        padding-top: 0.5em !important;
        text-align: right;
    }

    .ar-ae .check-subscription-link {
        text-align: right;
    }
}


.check-subscription-link {
    font-size: 18px;
}

.form select,
.form input {
    height: auto;
}

.modal a {
    text-decoration: underline !important;
}
