@font-face {
    font-family: "Gotham";
    src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-mill/fonts/Gotham-Book.woff2") format("woff2"),
        url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-mill/fonts/Gotham-Book.woff") format("woff");
    font-weight: 400;
}

@font-face {
    font-family: "Gotham";
    src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-mill/fonts/Gotham-Medium.woff2") format("woff2"),
        url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-mill/fonts/Gotham-Medium.woff") format("woff");
    font-weight: 600;
}

@font-face {
    font-family: "Co Headline";
    src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-mill/fonts/Co Headline Light.otf") format("opentype");
    font-weight: 400;
}


@font-face {
    font-family: "Co Headline";
    src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-mill/fonts/Co Headline Bold.otf") format("opentype");
    font-weight: 600;
}

/*************************************************** MAIN RULES **********************************************************/
body {
    padding: 0;
    margin: 0;
    background: transparent;
    font-family: Gotham, Tahoma, Arial, sans-serif;
    font-size: 20px;
    color: #362720;
    font-weight: 400;
}

.main-heading {
    display: none;
}

.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-size: 20px;
    font-family: Gotham, Tahoma, Arial, sans-serif;
    color: #362720;
}

body.ar-ae .tabItem,
body.ar-ae .tab-active {
    font-family: "Co Headline", sans-serif;
    font-weight: 400;
    padding: 0.4em 0.6em 0.8em 0.6em !important;
}

.check-subscription-link,
.subscription-header,
.export-header {
    font-weight: inherit;
    text-align: center;
}

.wrapper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 0 0 0;
    position: relative;
}

a:link,
a:visited,
.hyperlink,
.check-subscription-link {
    color: #362720;
    text-decoration: none;
}

a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    text-decoration: underline;
    color: #362720;
}

.footer {
    padding: 0em;
    font-size: 15px;
    line-height: 1.5;
}

.check-subscription-link {
    color: #4D4E62;
}

.check-subscription-link:hover {
    color: #4D4E62;
}

.modal a:hover,
.hyperlink:hover,
.disclaimer-box a:hover,
.cookies-box a:hover {
    text-decoration: underline;
}

/*********************************************** END OF MAIN RULES *******************************************************/

/********************************************* ALIGNMENT FOR CALENDAR ****************************************************/

/* NEXT EVENT HEADER */
.next-event {
    padding-bottom: 1em;
    display: none;
}

.next-event div.lable {
    line-height: normal;
    margin: 0px;
    padding: 0px;
    font-size: 1em;
    font-weight: inherit;
    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: 6px;
    margin: -1px 0 0 -1px;
    border: 1px solid #DBDBDB;
    text-align: center;
    transition: none;
}

.time-line-item:hover {
    background-color: #362720;
    color: #ffffff;
    border-color: #362720;
}

.color-dot-box .display-none {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-color: rgb(157, 109, 242);
}

.color-dot-box .color-dot {
    display: none;
}

.calendar-time-line .current-month .time-line-item {
    background-color: #362720;
    color: #ffffff;
    border: 1px solid #362720;
}

.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: 1em;
    width: 1.15em;
    height: 1.15em;
    line-height: 1;
    border: 1px solid #e1e1e1;
    border-radius: 0.75em;
}

.expand-collapse>.exco-text:hover,
.expand-collapse.expand>.exco-text {
    background-color: #362720;
    border-right-color: #362720;
    color: #fff !important;
    border: 1px solid #362720;
}

.content-headline .headline {
    padding: 0px 0px;
}

.expand-collapse {
    top: 15px;
}

.event-row.focus .content-headline {
    border-right-width: 0px;
    border-right-color: #046bc7;
}

/* END OF + BUTTON CONTROLS */

/* EVENT ROWS */
.content-headline {
    margin-left: 0px;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid #F4F5F6;
    padding-bottom: 13px;
    padding-top: 1em;
}

.events li:nth-child(even) .content-headline {
    background: #F4F5F6;
}

.box-border {
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid #F4F5F6;
}

/* END OF EVENT ROWS */

/* FILTERS */
.filter-type ul li {
    float: none;
    padding: 0;
    display: inline-block;
    padding-right: 25px;
    padding-bottom: 0px;
}

.filter-type .selected .type-filter-name {
    font-weight: 500;
    text-decoration: underline;
}

.filter-type {
    border-bottom: 0px solid #e1e1e1;
    padding-bottom: 0em;
}

/* END OF FILTERS */

/* PAGINATION */
.eupagination>li>a,
.eupagination>li>span {
    font-weight: inherit;
    padding: 5px 15px;
    margin-left: 1px;
    line-height: normal;
    color: #362720;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ABABAB;
    border-radius: 5px !important;
}

.eupagination>li>a:hover,
.eupagination>li>span:hover {
    background-color: #362720;
    color: #ffffff !important;
    border-color: #362720;
}

.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: #362720;
    border-color: #362720;
    font-weight: inherit;
}

.eupagination>li:last-child>a,
.eupagination>li:last-child>span {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.eupagination>li:first-child>a,
.eupagination>li:first-child>span {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.eupagination>.disabled>span,
.eupagination>.disabled>span:hover,
.eupagination>.disabled>span:focus,
.eupagination>.disabled>a,
.eupagination>.disabled>a:hover,
.eupagination>.disabled>a:focus {
    color: #777 !important;
}

/* 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: #362720;
    color: #FFFFFF !important;
    padding: 0.8EM;
    border: 0px;
    font-size: 1em;
    font-weight: normal;
    border-radius: 30px;
    height: auto;
    line-height: normal;
    text-transform: capitalize;
    width: auto !important;
    border: 1px solid #362720;
    position: relative;
    transition: none;
    text-decoration: none;
    box-sizing: border-box;
    position: relative;
    min-width: 10em;
}

.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: #5E524D;
    color: #faf3e6 !important;
    border: 1px solid #5E524D;
}

/************************************************ END OF BUTTONS *********************************************************/

/***************************************************** TABS **************************************************************/
.tabs-wrapper {
    margin: 1em 0 1.5em 0;
    position: relative;
}

.tabs {
    margin: 2em auto;
    height: auto;
    line-height: normal;
    float: none;
    text-align: center;
    font-size: 0;
    position: relative;
    background: transparent;
}

.tabs:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0em;
    left: 0em;
    width: 100%;
    height: 0em;
    z-index: 0;
    border-bottom: 0px solid #DCDCDC;
}

.modal.in .btn {
    width: auto;
    margin-top: 3px;
}

.modal.in .button-wrapper {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.tabs li {
    _float: none;
    float: none;
    margin: 0;
    display: inline-block;
    width: 20%;
}

.tabItem {
    height: auto;
    line-height: normal;
    padding-top: 0.8em !important;
    padding-bottom: 0.8em !important;
    padding-left: 0em;
    padding-right: 0em;
    text-decoration: none !important;
    font-weight: normal !important;
    font-style: normal;
    background: #EAE2D4;
    border: 1px solid #362720 !important;
    transition: none;
    color: #362720 !important;
    margin: 0em auto;
    text-align: center;
    letter-spacing: 0.1px;
    position: relative;
    top: 0;
    text-transform: capitalize !important;
    box-sizing: border-box;
    border-radius: 0;
    width: 98%;
    position: relative;
    transition: none;
    border-radius: 30px;
}

.tabItem:hover {
    background: #362720;
    color: #EAE2D4 !important;
    border-top: 1px solid #362720 !important;
    border-right: 1px solid #362720 !important;
    border-bottom: 1px solid #362720 !important;
    border-left: 1px solid #362720 !important;
}

.tab-active:hover,
.tab-active {
    background: #362720;
    color: #faf3e6 !important;
    border-top: 1px solid #362720 !important;
    border-right: 1px solid #362720 !important;
    border-bottom: 1px solid #362720 !important;
    border-left: 1px solid #362720 !important;
    position: relative;
    top: 0px;
    left: 0px;
    z-index: 10;
}


/* YEAR BUTTONS */
.year-filter ul {
    margin: 0em 0;
}

.year-filter ul li {
    padding: 0;
    margin: 0;
    display: inline-block;
    line-height: 3em;
}

.subscribe-content-wrapper .bold-title {
    font-weight: normal;
}

.year-filter ul li a {
    height: auto;
    font-size: 20px;
    line-height: normal;
    padding: 10px;
    text-decoration: none;
    font-weight: normal;
    font-style: normal;
    background: transparent;
    border: 0;
    border: 1px solid #c3c3c3 !important;
    transition: none;
    color: #362720;
    border-radius: 15px;
    margin: 0;
    display: block;
    box-sizing: border-box;
}

.year-filter ul li.selected a,
.year-filter ul li:hover a {
    background: #362720;
    color: #ffffff;
    font-weight: 400;
    text-decoration: none;
    border: 1px solid #362720 !important;
}

/* 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: 1em;
    font-weight: inherit;
    padding-top: 0em;
    padding-bottom: 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 #DBDBDB;
    padding: 1em 0 1em 0;
}

.form input,
.form select {
    color: #362720;
    font-size: 1em;
    padding: 0.22em;
    box-sizing: border-box;
    background: #EAE2D4;
    border: solid 1px #C5C5C5;
    padding: 0px 15px 0px 15px;
    border-radius: 0;
    line-height: 2.5em !important;
    height: 2.5em !important;
}

.form .lable {
    padding-right: 1em;
    height: auto;
    vertical-align: middle;
    line-height: normal;
    margin-top: 0.45em;
}

.headline-left .date-time {
    padding-top: 5px;
    padding-bottom: 5px;
    color: #362720 !important;
    font-weight: 600;

}

.headline-left .event-name {
    padding-top: 0px;
    padding-bottom: 5px;
    color: #4D4E62;
    margin-bottom: 0.5em;
    font-weight: normal;
}

.headline-right .event-type {
    font-weight: inherit;
    padding-top: 5px;
    padding-bottom: 0px;
}

/***************************************** 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;
}

.calendar-time-line .current-month {
    font-weight: inherit;
}

/************************************************* END OF TOOLTIP ********************************************************/
/*THIS IS REQUIRED*/
@media(max-width:640px) {
    li.type {
        width: 50% !important
    }
}

@media (max-width: 479px) {
    .form .label {
        width: 100% !important;
        text-align: left;
        margin: 10px 0 3px 0;
        height: auto;
        line-height: inherit;
    }
}

@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;
    }

    body.ar-ae #UpcomingEventsContainer .headline-right .download-event {
        text-align: right !important;
    }
}

@media (max-width:320px) {
    .subscription-section .btn-subscribe-wrapper {
        float: none;
        width: 100% !important;
        padding-top: 0.5em !important;
        text-align: right;
    }

    .subscription-section .subscription-header {
        text-align: right;
        width: 69% !important;
        float: right;
    }

    .export-types {
        padding-bottom: inherit;
    }

    .check-subscription-link {
        text-align: right;
    }

    body.ar-ae .subscription-section .btn-subscribe-wrapper {
        float: none;
        width: 100% !important;
        padding-top: 0.5em !important;
        text-align: left;
    }

    body.ar-ae .check-subscription-link {
        text-align: left;
    }

    body.ar-ae .subscription-section .subscription-header {
        text-align: left;
        width: 69% !important;
        float: left;
    }
}

.modal.in .btn:after {
    display: none;
}

/************************* ARABIC SETTINGS  ******************************/
body.body-rtl .tabs li {
    float: unset !important;
}

body.body-rtl .tabs {
    float: unset !important;
    text-align: center;
}

body.body-rtl .subscription-section {
    float: left;
}

body.ar-ae .content-headline,
body.ku-arab-iq .content-headline {
    margin-left: 0;
    margin-right: 0em;
    padding-bottom: 0.5em;
    padding-top: 0.2em;
}

body.ar-ae .check-subscription-link {
    direction: ltr;
}

/*
body.ar-ae .modal-content .btn,
body.ar-ae .modal-content .btn-primary,
body.ar-ae .modal-content .btn-submit {
    background: #4D4E62;
}
*/

body.ar-ae .checkbox-wrapper {
    margin-left: 0px;
    margin-right: 10px;
}

body.ar-ae .filter-type ul li,
body.ku-arab-iq .filter-type ul li {
    float: none;
    padding: 0;
    display: inline-block;
}

/* body.ar-ae .year-filter ul li a {
    padding-top: 0.2em !important;
    padding-bottom: 0.2em !important;
    padding-right: 0;
    padding-left: 0.8em;
    font-weight: 500 !important;
} */

body.ar-ae .headline-right .event-type,
body.ku-arab-iq .headline-right .event-type {
    font-weight: inherit;
}

body.ar-ae .tabItem {
    /* font-weight: 700; */
}

body.ar-ae .content-headline {
    margin-left: 0px;
    margin-right: 0px;
}

body.ar-ae .expand-collapse>.exco-text {
    line-height: .9;
}

body.ar-ae .expand-collapse {
    top: 7px;
}

/************************* ARABIC SETTINGS  ******************************/
/*END*/
.export-section {
    display: none;
}


.checkbox-checked {
    background-position: -21px -21px;
}

* {
    outline: 0 !important;
}

body.ar-ae .form .label {
    text-align: right !important;
}

@media (max-width: 850px) {
    .tabs li {
        width: 40%;
    }
}

@media (max-width: 600px) {
    .select-options ul.checkbox-event-type li {
        width: 100% !important;
    }
}

@media (max-width: 425px) {
    .tabs li {
        margin-bottom: 5px;
        width: 80%;
    }

    .tabs {
        width: 100%;
    }

    body.body-rtl .tabs {
        text-align: center;
    }
}

/********************* Euroland.com Logo removed ************************/
/* .footer div a.hyperlink:before {
    display: none !important;
}

.footer div a.hyperlink:visited,
.footer div a.hyperlink {
    color: #362720 !important;
    text-decoration: none;
    font-style: none;
    font-weight: normal;
    width: auto !important;
    height: auto !important;
    vertical-align: top;
}

.footer div a.hyperlink:focus,
.footer div a.hyperlink:active,
.footer div a.hyperlink:hover {
    color: #362720 !important;
    text-decoration: underline;
} */

/********************* Euroland.com Logo removed ************************/
nav.year-filter {
    margin-top: 1em;
}

body.ar-ae .subscription-section {
    float: left;
    text-align: left;
}

.checkbox-checked:after {
    content: "";
    width: 22px;
    height: 22px;
    background: #362720;
    border-radius: 4px;
    display: block;
    position: absolute;
    top: -14px;
    left: -5px;
}

.checkbox-wrapper {
    overflow: visible;
}

.checkbox.checkbox-checked:before {
    background: #F3F3F3;
}

.checkbox:before {
    display: block;
    content: " ";
    position: absolute;
    top: -15px;
    border: 1px solid #362720;
    left: -5px;
    background: #EAE2D4;
    width: 23px;
    height: 23px;
    box-sizing: border-box;
    border-radius: 5px;
}

.radio {
    background: transparent;
    line-height: 0.9em;
}

.radio:before {
    content: " ";
    position: absolute;
    left: -6px;
    top: -8px;
    width: 22px;
    display: inline-block;
    border: 1px solid #362720;
    height: 22px;
    border-radius: 100%;
    background: #EAE2D4;
}

.radio-checked:after {
    content: " ";
    position: absolute;
    left: -6px;
    top: -8px;
    width: 22px;
    display: inline-block;
    border: 1px solid #362720;
    height: 22px;
    background: #362720;
    border-radius: 100%;
}

.by-email,
.by-sms,
.period {
    line-height: 2;
}

@media (max-width:480px) {
    .row-control {
        height: 75px;
    }
}

.ar-ae .checkbox:before {
    display: block;
    content: " ";
    position: absolute;
    top: -14px;
    border: 1px solid #362720;
    left: 0px;
    background: #EAE2D4;
    width: 23px;
    height: 23px;
    box-sizing: border-box;
    border-radius: 5px;
}

.ar-ae .checkbox-checked:after {
    content: "";
    width: 22px;
    height: 22px;
    background: #362720;
    border-radius: 4px;
    display: block;
    position: absolute;
    top: -13px;
    left: 0px;
}

.ar-ae .radio:before {
    content: " ";
    position: absolute;
    left: 3px;
}

.ar-ae .radio-checked:after {
    content: " ";
    position: absolute;
    left: 3px;
    top: -8px;
}

span.checkbox {
    height: 0;
}

.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 {
    padding: 0.3em 0 0.6em;
}

footer .supply-by>a:before,
#SuppliedBy>a:before,
.footer .supply-by>a:before,
.supplied-box span>a:before,
.footer-info .supply-by span>a:before,
.footer div .hyperlink:before,
.footer-box .supplyby-box .hyperlink:before,
.footer-box .supplied .hyperlink:before {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    background: right url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-mill/logo.png") no-repeat #EAE2D4;
    background-size: contain;
    -webkit-print-color-adjust: exact;
    -moz-print-color-adjust: exact;
    -ms-print-color-adjust: exact;
    print-color-adjust: exact;
}

/* 5-15 */
.button-wrraper {
    padding: 25px 0 15px 0;
}

@media screen and (max-width:479px) {
    .headline-right .event-type {
        font-weight: bolder;
        /* text-align: left; */
    }

    .item-attachment {
        display: inline-table;
        margin-left: -3px;
    }

    #PastEventsContainer .headline .headline-right {
        width: 100% !important;
        float: none;
        margin-top: -17px;
        text-align: left;
    }

    .button-wrraper {
        margin-top: 2em !important;
    }
}

.modal-content .modal a {
    font-weight: bold !important;
}
.en-gb .calendar-time-line ul li:nth-child(1)>.time-line-item {
    border-radius: 20px 0 0 20px !important;
}
.en-gb .calendar-time-line ul li:last-child >.time-line-item {
    border-radius: 0 20px 20px 0 !important;
}

.ar-ae .calendar-time-line ul li:last-child >.time-line-item {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
.ar-ae .calendar-time-line ul li:nth-child(1)>.time-line-item {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}
