@font-face {
    font-family: "Elm";
    src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-elm/fonts/Elm-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    ascent-override: 95%;
  }
  
  @font-face {
    font-family: "Elm";
    src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-elm/fonts/Elm-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    ascent-override: 95%;
  }
  
  @font-face {
    font-family: "Elm";
    src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-elm/fonts/Elm-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    ascent-override: 95%;
  }

/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/
/*************************************************** MAIN RULES **********************************************************/
body {
    font-family: 'Elm';
   font-size: 22px;
    color: #0c1d46;
}

body.ar-ae {
    font-family: 'Elm' !important;
}

.ar-ae .subscription-section {
    float: left;
    text-align: left;
}

.wrapper {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 0 0 0;
    position: relative;
}

a:link,
a:visited,
.hyperlink,
.check-subscription-link {
    color: #0c1d46;
    text-decoration: none;
}

a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    color: #0c1d46;
    text-decoration: underline;
}

.main-heading {
    color: #0c1d46 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    text-transform: uppercase;
    font-size: 24px;
    display: none;
}

/*********************************************** END OF MAIN RULES *******************************************************/

/********************************************* ALIGNMENT FOR CALENDAR ****************************************************/

/* NEXT EVENT HEADER */

/* END OF PAGINATION */

/****************************************** END OF ALIGNMENT FOR CALENDAR ************************************************/
.time-line-item:hover {
    background-color: #00CCFA;
    color: #ffffff;
    /* border: 0px solid #00CCFA !important; */
}

/*************************************************** BUTTONS *************************************************************/
.btn,
.btn-primary,
.btn-submit,
.btn-cancel,
.btn:focus,
.btn-primary:focus,
.btn-submit:focus,
.btn-cancel:focus {
    height: 50px;
    font-family: inherit;
    font-size:25px;
    Padding: 5px 20px;
    font-weight: normal;
    color: #ffffff;
    text-transform: capitalize;
    margin: 0.5em;
    border: 0px solid #53307E;
    background: #53307E;
    transition: none;
    text-decoration: none;
    clip-path: polygon(10.04% -22.4%, 100% 0%, 101% 20%, 103.91% 57.6%, 91.7% 119.41%, 16.79% 123.51%, -3.04% 125.55%, -3.91% 40.19%);
    border-radius: 0px !important;

}

.btn:active,
.btn-primary:active,
.btn-submit:active,
.btn-cancel:active,
.btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.btn-cancel:hover {
    cursor: pointer;
    border: solid 0px #6E43B5 !important;
    background: #6E43B5;
    color: #ffffff !important;
}

/************************************************ END OF BUTTONS *********************************************************/

/***************************************************** TABS **************************************************************/
body.body-rtl .tabs li {
    float: none !important;
}

.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: left;
    font-size: 0;
    border-bottom: 0;
    position: relative;
}

.tabs:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0em;
    left: 0em;
    width: 100%;
    height: 0em;
    z-index: -1;
    border-bottom: 1px solid #E1E1E1;
}

.ar-ae .tabs {
    text-align: right;
}

.tabs li {
    _float: none;
    float: none;
    margin: 0;
    display: inline-block;
}

.tabItem {
    height: 42px;
    line-height: 35px;
    padding: 0.6em 1em 0.4em;
      padding-top: 0.6em;
      padding-bottom: 0.4em;
    margin-top: 0em;
    margin-right: 1em;
    margin-bottom: 0em;
    margin-left: auto;
    border-radius: 0em 0em 0em 0em;
    font-family: 'Elm';
    font-weight: 500;
    font-size: 21px;
    text-transform: none;
    color: #808285;
    font-style: normal;
    text-decoration: none;
    border-top: 0px solid #01C9FA;
    border-right: 0px solid #01C9FA;
    border-bottom: 3px solid transparent;
    border-left: 0px solid #01C9FA;
    background: transparent;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    position: relative;
    top: 0;
    display: block;
    left: 0em;
    width: 200px;
    text-align: center;
}

.ar-ae .tabItem {
    margin: 0 1px;
    margin-left: 1.5em;
}

.tab-active {
    background: transparent;
    /* color: #1E1656; */
    border-top: 0px solid #01C9FA;
    border-right: 0px solid #01C9FA;
    border-bottom: 3px solid #01C9FA;
    border-left: 0px solid #01C9FA;
    position: relative;
    font-weight: 500;
    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: 0em solid transparent;
    border-right: 0em solid transparent;
    border-top: 0em solid #283C96;
}

.tabItem:hover {
    background-color: #e6f2fa;
    color: #1E1656;
    border-top: 0px solid #01C9FA;
    border-right: 0px solid #01C9FA;
    border-bottom: 3px solid #01C9FA;
    border-left: 0px solid #01C9FA;
    text-decoration: none;
    font-style: normal;
    font-weight:500;
    z-index: 9;
}

/* YEAR BUTTONS */
.year-filter ul::before,
.year-filter ul::after {
    box-sizing: border-box;
    clear: both;
    content: "";
    display: block;
    height: 0;
    width: 100%;
}

.year-filter ul {
    margin: 1em 0;
}

.year-filter ul li {
    padding: 0;
    margin-left: 3px;
    display: inline-block;
}

.year-filter ul li a {
    height: auto;
    font-size: 1em;
    line-height: normal;
    padding: 0.5em 1em !important;
    text-decoration: none;
    font-weight: 700;
    font-style: normal;
    background: transparent;
    border: 0.04em solid #333333 !important;
    transition: background 0.5s;
    color: #4e4e4e;
    border-radius: 0;
    margin: 0;
}

.year-filter ul li a.selected {
    background: #333333;
    color: #fff;
}

/* 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: 20px;
    font-weight: 700;
    padding-top: 0em;
    padding-bottom: 1.0em;
}

.modal-header .close {
    margin-top: 0.1em;
    font-size: 2.5em;
    line-height: 0.25em;
}

li.type {
    width: 50%;
    padding: 0.5em 0;
    white-space: normal;
}

.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;
    text-transform: uppercase;
    font-weight: normal;
}

.your-preferences {
    background-color: transparent;
    box-sizing: border-box;
    border: 0em solid #333333;
    padding: 1em 0 1em 0;
}

.form input,
.form select {

    font-size: 1em;
    padding: 0 0.16em;
    box-sizing: border-box;
   font-size: 20px;
    outline: none;
    background: #fff;
    /* -webkit-box-shadow: inset 0 3px 4px -3px rgba(0,0,0,0.3);
    -moz-box-shadow: inset 0 3px 4px -3px rgba(0,0,0,0.3);
    box-shadow: inset 0 3px 4px -3px rgba(0,0,0,0.3); */
    border: 1px #E3E3E3 solid;
    /*border-top: 2px #00B2FF solid;*/
    border-radius: 0;
    height: 2.2em;
}

.events-container {
    padding-top: 22px;
    clear: both;
    border-top: 0px solid #a1a1a1 !important;
}

.form .lable {
    padding-right: 1em;
    height: auto;
    vertical-align: middle;
    line-height: normal;
    margin-top: 0.22em;
}

/***************************************** 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 #333333;
    -webkit-box-shadow: 0 0.08em 0.32em #333333;
}

.etooltip .tip-arrow {
    background: transparent;
}

/************************************************* END OF TOOLTIP ********************************************************/
/*THIS IS REQUIRED*/
@media (max-width: 768px) and (min-width: 0) {

    body,
    .tabItem,
    .tab-active,
    .form input,
    .form select,
    .next-event {
       font-size: 22px;
    }
}

@media(max-width:640px) {
    li.type {
        width: 50% !important
    }
}

@media (max-width:479px) {
    #PastEventsContainer .attachments {
        margin-top: 0 !important;
    }

    .headline .headline-right {
        float: none;
        margin-top: 0.5em;
    }

    .ar-ae .form .label {
        text-align: right !important;
        margin: 10px 0 5px 0;
    }
}

@media (max-width:320px) {
    .subscription-section .btn-subscribe-wrapper {
        float: none;
        width: 100% !important;
        padding-top: 0.5em !important;
        text-align: right;

        /* text-align: right;
    width: 70%!important;
    float: right; */
    }

    .subscription-section .subscription-header {
        text-align: right;
        width: 65% !important;
        float: right;
    }

    .export-types {
        padding-bottom: inherit;
    }
}

.time-line-month-name {
    padding: 0px !important;
    height: 25px !important;
}

.headline-left .date-time {
    font-weight: 600;
    padding-top: 5px;
    padding-bottom: 5px;
    -webkit-font-smoothing: antialiased;
    /* color: #00B2FF; */
    font-size: 20px;
    direction: ltr;
}

.headline-left .event-name {
    /* color: #00B2FF !important; */
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    font-weight: 400;
}

/*END*/
.events-container {
    padding-top: 22px;
    clear: both;
    border-top: 1px solid #a1a1a1;
}

.tabs-wrapper {
    margin: 7px 0px -1px 0;
}

.year-filter ul li a {
    height: auto;
    font-size: 1em;
    line-height: normal;
    padding: 0 0.5em !important;
    text-decoration: none;
    font-weight: normal;
    font-style: normal;
    background: transparent;
    border: 00em solid #333333 !important;
    transition: background 0.5s;
    /* background: #e8e8e8; */
    /* color: #00B2FF; */
    font-weight: 600;
    border-radius: 0;
    margin: 0;
}

.eupagination > li > a,
.eupagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #0c1d46;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.year-filter .selected {
    font-weight: 600;
    text-decoration: underline !important;
}

.eupagination > li > a:hover,
.eupagination > li > span:hover,
.eupagination > li > a:focus,
.eupagination > li > span:focus {
    color: #fff;
    background-color: #0c1d46;
    border-color: #0c1d46;
}

.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: #fff;
    cursor: default;
    background-color: #0c1d46;
    border-color: #0c1d46;
}

.eupagination > li:last-child > a,
.eupagination > li:last-child > span {
    border-radius: 0 !important;
}

.year-filter ul li a:hover {
    text-decoration: underline !important;
}

/*
@media (min-width: 0px) and (max-width: 360px) {
    .tabs li {
        display: inline-block;
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
        height: auto !important;
    }

    .tabs {
        line-height: auto !important;
        height: auto !important;
        border-bottom: solid 0px #d9d9d9;
        min-height: auto;
        text-align: center;
    }

    .tab-active:before {
        display: none;
    }

    .tabs li {
        margin-bottom: 3px;
        max-width: 80% !important;
    }

    .tabItem {
        margin: 0 !important;
        background: #E3E3E3;
        border: 0 !important;
    }

}
*/

.ar-ae .tabs li {
    float: none;
    display: inline-block;

}

.check-subscription-link {
    font-weight: normal;

}

body.body-rtl .subscription-section {
    float: left;
    text-align: left;
}

.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    color: #fff;

}

.eupagination > li:first-child > a,
.eupagination > li:first-child > span {
    margin-left: 0;
    outline:
        none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.eupagination > li {
    display: inline;
    outline: none !important;
}

.eupagination > .disabled > span,
.eupagination > .disabled > span:hover,
.eupagination > .disabled > span:focus,
.eupagination > .disabled > a,
.eupagination > .disabled > a:hover,
.eupagination > .disabled > a:focus {
    cursor: default;
    outline: none !important;
    font-family: roboto;
}

.check-subscription-link {
    text-align: right;
}

.footer {
    font-size: 15px;
    line-height: 1.5;
}

.ar-ae .check-subscription-link {
    text-align: left;
}

.ar-ae .form .label {
    text-align: left;
    padding-right: 0;
    padding-left: 10px;
}

.content-headline {
    margin-left: 0;
}

.next-event div.lable {
    font-weight: 600;
}

.next-event div.date-time {
    font-weight: 400;
}

body.ar-ae nav.year-filter ul li {
    padding: 0px;
}

.calendar-time-line .current-month .time-line-item {
    background-color: #240f5d;
    color: #FFFFFF;
    border: solid 1px #240f5d;
}

body.ar-ae .content-headline {
    margin-right: 0 !important;
}

.time-line-item:hover {
    background-color: #240f5d;
    color: #FFFFFF;
    border: solid 1px #240f5d;
}
.time-line-item{
    background: #e4e8f5;
    border: solid 1px #c0c0c0;
}
.subscription-header,
.export-header {
    font-weight: 500;
}

/* m */
.en-gb .headline-left .date-time {
    margin-left: 15px;
}

.en-gb .headline-left .event-name {
    margin-left: 15px !important;
}

body.ar-ae .content-headline,
body.ku-arab-iq .content-headline {
    margin-left: 0;
    margin-right: 21px !important;
    padding-bottom: 5px;
}


.expand-collapse > .exco-text {
    border: 1px solid #e4e4e4 !important;
}

div#lblEmailSubscriptionChecking:after,
div#lblSubcrEmail:after,
div#lblSubscFirstName:after,
div#lblSubscSurname:after,
div#lblSubscProfession:after,
div#lblSubscCountry:after {
    /* content: "*"; */
    color: #f00;
}

.compulsory-field {
    color: #f00;
    display: none;
}

@media (max-width: 479px) {
    .form .label {
        margin: 0;
    }
}

.color-dot-box {
    font-size: 30px;
    line-height: 20px;
}

/* ***************changes done by vaish ************* */
.next-event {
    font-size: 20px;
  }
  @media(max-width:530px){
    .tabItem{
        border: 3px solid #01C9FA;
        margin: 5px;
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }
    .tabs li{
        width: 95%; 
    }
    .tab-active{
        background: #01C9FA;
    /* color: #1E1656; */
    border: 3px solid #01C9FA;
    }
    element {
    }
    .en-gb .tabItem {
      text-transform: none;
    
    }
    .tabItem:hover{
        background-color: #e6f2fa;
        border: 3px solid #01C9FA;
    }
    .ar-ae .tabItem {
        margin: 5px !important;
    }
  }
  @media(max-width:479px){
   .ar-ae #UpcomingEventsContainer .headline-right .download-event {
        text-align: right !important;
        margin-top: -28px;
        margin-left: 10px;
      }
  }
  .calendar-time-line .current-month .time-line-item{
    background-color: #240f5d;
  }
  /* .tabItem{
    background-color: #808285 ;
  }
  .tab-active{
    background-color: unset;
  } */
  .filter-type ul li {
    padding: 0 10px 7px 10px;
}
span.radio, span.checkbox, span.event-name {
    vertical-align: unset !important;
}
.modal-title {
    padding-bottom: unset;
}
.modal-header{
    padding-bottom: 5px !important;
}
.modal-body{
    padding-top: 5px !important;
}
.checkbox-event-type {
    margin-top: unset;
}
li.type{
    padding-bottom: unset;
}
.your-preferences{
    padding: .5em 0 1em 0;
}
.select-option-title {
    margin-bottom: unset;
}
.input::after {
    content: "*";
    color: #f00;
}
.expand-collapse>.exco-text {
    font-size: 26px;
    width: 20px;
    height: 22px;
    
}
.expand-collapse{
    top: 17px !important;
}
/* body.ar-ae .headline-right .event-type, body.ku-arab-iq .headline-right .event-type{
    text-align: unset;
} */
 @media(max-width:479){
  .ar-ae  #UpcomingEventsContainer .headline-right .download-event{
        text-align: right !important;
    } 
 }

.eupagination > .disabled > span, .eupagination > .disabled > span:hover, .eupagination > .disabled > span:focus, .eupagination > .disabled > a, .eupagination > .disabled > a:hover, .eupagination > .disabled > a:focus{
    font-family: roboto !important;
}
li.page.next span, li.page.last span{
    font-family: roboto !important;
}
.next-event,.headline-left .date-time {
    font-size: 22px;
}
.check-subscription-link {
    font-size: 18px;
    margin-top: unset;
}

  .tab-active {
    color: #1e1656 ;
}
.tabItem{
    color: #808285 !important ;
  }
  .tabItem.second-heading.active.tab-active{
    color: #1e1656 !important;
  }
  .tabItem:hover{
    color: #1e1656 !important;
  }
