/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
@import url("//fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap");

/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/


/*************************************************** MAIN RULES **********************************************************/
body {
    padding:0;
    margin:0;
    font-family: "Nunito Sans", sans-serif;
    font-size: 18px;
    color: #000000;
}
.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-size: 18px;
    font-family: "Nunito Sans", sans-serif;
    color: #000000;
}

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: "Tajawal", sans-serif;
}

.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: #000000;
    text-decoration: none;
}
a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    text-decoration: underline !important;
	color: #00AAAD;
}
.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: #00AAAD;
}
.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: 0.08em solid #F1F1EB;
    text-align: center;
    transition: background 0.5s;
    border-radius: 0px;
}
.time-line-item:hover {
    background-color: #F1F1EB;
}
.color-dot-box .display-none {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    border: 0.08em solid #f1f1eb;
        border-radius: 2px;
}
.color-dot-box .color-dot {
    display:none;
}
.calendar-time-line .current-month .time-line-item {
    background-color: transparent;
    border-bottom: 0px solid #00AAAD;
}
.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: #00AAAD;
    font-size: 1.5em;
    width: 1.15em;
    height: 1.15em;
    line-height: 0.95em;
    border: 0.16em solid #00AAAD;
    border-radius: 0.75em;
}
.expand-collapse>.exco-text:hover,
.expand-collapse.expand>.exco-text {
    background-color: #00AAAD;
    border-right-color: #00AAAD; 
    color: #FFFFFF!important;
}
/* END OF + BUTTON CONTROLS */

/* EVENT ROWS */
.content-headline {
    margin-left: 0em;
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0.08em solid #f1f1eb;
    padding-bottom: 0.5em;
}
.box-border {
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0.08em solid #f1f1eb;
}
/* 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:normal;
    padding: 0em;
    margin-left: -0.08em;
    line-height: normal;
    color: #000000;
    text-decoration: none;
    background-color: transparent;
    border-bottom: 2px solid transparent;
    border-right: 0;
    border-top: 0;
    border-left: 0;
    margin-right: 1em;
}
.eupagination>li>a:hover,
.eupagination>li>span:hover {
    background-color: transparent !important;
    color: #00AAAD!important;
    border-bottom: 2px solid #00AAAD !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: #00AAAD;
    cursor: default;
    background-color: transparent;
    border-bottom: 2px solid #00AAAD !important;
    font-weight: bold;
    border-right: 0;
    border-top: 0;
    border-left: 0;
}
.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: #6C4099;
    color: #FFFFFF !important;
    padding: 1em;
    border: 0px;
    font-size: 1em;
    font-weight: 500;
    text-transform: capitalize;
    border-radius: 14px;
    height: auto;
    line-height: 1;
    text-transform: capitalize;
    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: #6C4099;
}   
/************************************************ 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;
    border-bottom: 1px solid #f1f1eb;
}
.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;
    font-size:20px;
	
	text-decoration: none;
	font-weight: 700;
	font-style: normal;
	
	background: transparent;
	border-bottom: 2px solid transparent;
	
	transition: background 0.5s;
	
	color: #757575 !important;	
	
	position: relative;
	top: 0;
	left: 0;
    margin-right: 2em;
}
.tab-active {
    color: #000000 !important;
    cursor: default;
    font-weight: 700;
    background-color: transparent;
    position: relative;
    top: 0px;
    left: 0px;
    border-bottom: 2px solid #00AAAD;
}
.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 #f1f1eb;
}

.tabItem:hover {
    background: transparent;
	
	text-decoration: none;
	font-weight:700;
	font-style: normal;
	border-bottom: 2px solid #00AAAD;
	color: #000000!important;
}
/* 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: 0em;
    padding-right: 0em;
    text-decoration: none;
    font-weight: bold;
    font-style: normal;
    background: transparent;
    border-bottom: 2px solid transparent;
    transition: background 0.5s;
    color: #000000;
    border-radius: 0px;
    margin-right: 1em;
}
.year-filter ul li a.selected {
    background: #00AAAD;
    color: #fff;
}

.year-filter .selected a {
    background: transparent;
    border-bottom: 2px solid #00AAAD;
    color: #00AAAD;
}

/* 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: transparent;
    box-sizing: border-box;
    border: 0.16em solid #f1f1eb;
    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 #f1f1eb;
    border-radius: 6px;
}
.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 #f1f1eb;
    -webkit-box-shadow: 0 0.08em 0.32em #f1f1eb;
}
.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;
    }
    #UpcomingEventsContainer .headline-right .download-event {
        text-align: left !important;
        margin-top: 0;
    }
    .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;
}
.ar-ae .subscription-section, .ar-ae .check-subscription-link {
    text-align: right !important;
}
}
/*END*/


/*********************************************** ADDITIONAL STYLES *******************************************************/

footer.footer {
    font-size: 13px;
}

ul.tabs li a:hover,
ul.year-list-box li a:hover {
    text-decoration: none !important;
}

.form input,
.form select {
    height: 35px;
}

.ar-ae .subscription-section {
    float: left;
}
.ar-ae .subscription-section, .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-left: 0;
    margin-right: 28px;
    padding-bottom: 5px;
}

.section-header.subscription-header {
    font-weight: normal;
}

.check-subscription-link a {
    font-weight: normal;
}

.btn:focus, .btn-primary:focus,
.btn:active, .btn-primary:active {
    outline: none;
}

.color-box {
    border-radius: 2px;
}

.headline-left .date-time {
    font-weight: 600;
    color: #00aaad;
}

.file-type-pdf {
    background-image: url("//uaetools.eurolandir.com/tools/FinCalendar2/Config/Company/ae-agthia/Note.svg");
}

.headline-right .event-type {
    font-weight: normal;
}

.eupagination>.disabled>a {
    border-color: #f1f1eb !important;
}

ul.eupagination li a:hover {
    text-decoration: none !important;
}

@media (max-width: 375px) {
    .eupagination>li>a, .eupagination>li>span {
    padding: 0.55em 0.5em;
}
}

.ar-ae .eupagination>li:first-child>a, .eupagination>li:first-child>span {
    border-top-left-radius: 0em;
    border-bottom-left-radius: 0em;
    border-top-right-radius: 0.75em;
    border-bottom-right-radius: 0.75em;
}

.ar-ae .eupagination>li:last-child>a, .eupagination>li:last-child>span {
    border-top-right-radius: 0em;
    border-bottom-right-radius: 0em;
    border-top-left-radius: 0.75em;
    border-bottom-left-radius: 0.75em;
}

@media (max-width: 768px) {
    .tabs li {
    margin: 2px;
}  
.tabs {
    border-bottom: 0px solid #f1f1eb !important;
}
.tab-active,.tabItem:hover {
    color: #FFFFFF !important;
    cursor: default;
    font-weight: 700;
    background-color: #00AAAD !important;
    position: relative;
    top: 0px;
    left: 0px;
    border: 1px solid #00AAAD !important;
}
.tabItem {
    border: 1px solid #DBDBDB;
    width: 200px;
}
}

body.ar-ae .headline-right .event-type, body.ku-arab-iq .headline-right .event-type {
    font-weight: normal;
}

.main-heading {
    display: none;
}

@media (max-width: 480px) {
    .tabItem {
        margin-right: 0em;
}
    .tabItem {
        width: auto;
    }
        .tabs li {
        display: inline-block;
        margin: 2px;
        width: 98%;
    }
}

.btn:focus-visible, .btn-primary:focus-visible {
    outline: none !important;
}

.filter-type ul li {
    float: none;
    padding: 0.25em 0em;
    display: inline-block;
    padding-right: 5px;
}

body.ar-ae .content-headline, body.ku-arab-iq .content-headline {
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 5px;
}

.content-headline .headline {
    padding: 0px;
}

body.ar-ae .filter-type ul li, body.ku-arab-iq .filter-type ul li {
    float: right;
    padding: 0px;
    padding-left: 10px;
}

body.ar-ae .content-headline {
    padding-top: 0em;
}

body.ar-ae .year-filter ul li a {
    margin-right: 0em;
    margin-left: 1em;
}

body.ar-ae  .filter-type {
    padding-top: 0.6em;
}

body.ar-ae ul.year-list-box {
    padding-top: 1em;
}

.eupagination>.disabled>a {
    border-color: transparent;
}

.eupagination>li:first-child>a, .eupagination>li:first-child>span,
.eupagination>li:last-child>a, .eupagination>li:last-child>span {
    border-top-left-radius: 0em;
    border-bottom-left-radius: 0em;
    /* border-right: 0; */
}

.eupagination>.disabled>a {
    border-color: transparent !important;
}

.eupagination>li:last-child>a, .eupagination>li:last-child>span {
    border-top-right-radius: 0em;
    border-bottom-right-radius: 0em;
}

.ar-ae .eupagination>li:first-child>a, .eupagination>li:first-child>span {
    border-top-left-radius: 0em;
    border-bottom-left-radius: 0em;
    border-top-right-radius: 0em;
    border-bottom-right-radius: 0em;
}

.ar-ae .eupagination>li:last-child>a, .eupagination>li:last-child>span {
    border-top-right-radius: 0em;
    border-bottom-right-radius: 0em;
    border-top-left-radius: 0em;
    border-bottom-left-radius: 0em;
}

.current-month:before {
    background: #00AAAD;
    height: 3px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    content: " ";
}

li.current-month {
    position: relative;
}

.ar-ae .calendar-time-line .current-month {
    font-weight: 500 !important;
}

li.page.prev.disabled a,
li.page.first.disabled a,
li.page.last.disabled a,li.page.next.disabled a {
    color: transparent;
}

li.page.prev.disabled a::before,
li.page.prev a::before {
    content: '<<';
    color: #000000;
}

li.page.prev.disabled a:hover,
li.page.first a:hover, li.page.prev a:hover,
li.page.last.disabled a:hover,li.page.next.disabled a:hover,
li.page.next a:hover,li.page.first a:hover {
    color: transparent !important;
    border-bottom: 0px solid #00AAAD !important;
}

li.page.first a, li.page.prev a,
li.page.last a, li.page.next a {
    color: transparent;
}

li.page.first a,
li.page.last a {
    display: none;
}

li.page.next.disabled a::after,
li.page.next a::after {
     content: '>>';
     color: #000000;
}

.headline-left .date-time {
    padding-top: 15px;
    padding-bottom: 5px;
}

ul.type-filter li {
    padding-right: 1em;
}

body.ar-ae .filter-type ul li {
    padding-left: 1em;
}

.mail-apple {
    background: url("//uaetools.eurolandir.com/tools/FinCalendar2/Config/Company/ae-agthia/icon.png") no-repeat center;
    background-image: url("//uaetools.eurolandir.com/tools/FinCalendar2/Config/Company/ae-agthia/icon.png");
}

.headline-right .event-type {
    padding-top: 15px;
    padding-bottom: 10px;
}

body.ar-ae .headline-right .event-type, body.ku-arab-iq .headline-right .event-type {
    padding-top: 14px;
    padding-bottom: 14px;
}

.download-event {
    margin-top: 0px;
}

div#PastEventsContainer .headline-right .event-type {
    padding-top: 15px;
    padding-bottom: 0px;
}
