/*************************************************** MAIN RULES **********************************************************/
@font-face {
	font-family: 'HarmonyOS';
	src: url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/CN-2162/./Fonts/HarmonyOS_Sans_Regular.ttf") format('Truetype');
	font-weight: 400;
	font-style: normal;
}
body {
    padding: 0;
    margin: 0;
	font-family: 'HarmonyOS';
    font-size: 16px;
    color: #193163;
    background: transparent;
}

.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-size: 16px;
	font-family: 'HarmonyOS';
    color: #193163;
}

.wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 0 0;
    position: relative;
}

a:link,
a:visited,
.hyperlink,
.check-subscription-link {
    color: #193163;
    text-decoration: none;
}

a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    text-decoration: none;
    color: #003d72;
}

.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: 1em;
    font-weight: bold;
    padding-top: 0em;
    padding-bottom: 1.0em;
    color: #003d72;
}

.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: 0em solid #DDDDDD;
    text-align: center;
    transition: background 0.5s;
    background-color: #1D3F85;
    color: #fff !important;
}

.time-line-item:hover {
    background-color: #FFB03A;
    color: #fff;
}

.color-dot-box .display-none {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    border: 1px solid #DDDDDD;
}

.color-dot-box .color-dot {
    display: none;
}

.calendar-time-line .current-month .time-line-item {
    background-color: #FFB03A;
    color: #fff;
}

.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: #193163;
    font-size: 1em;
    width: 1.15em;
    height: 1.15em;
    line-height: 1.2em;
    border: 1px solid #DDDDDD;
    border-radius: 0.75em;
    margin-left: 15px;
    margin-top: 7px;
}

.expand-collapse > .exco-text:hover,
.expand-collapse.expand > .exco-text {
    background-color: #DDDDDD;
    border-right-color: #DDDDDD;
    color: #193163 !important;
}

/* END OF + BUTTON CONTROLS */

/* EVENT ROWS */
.content-headline {
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0.08em solid rgba(25, 49, 99, 0.15);
    padding-bottom: 17px;
    padding-top: 12px;
    margin-left: 40px;
    margin-right: 40px;
}

.box-border {
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0.08em solid rgba(25, 49, 99, 0.15);
}

/* 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 #DDDDDD;
    padding-bottom: 0.6em;
}

/* END OF FILTERS */

/* PAGINATION */
.eupagination > li > a,
.eupagination > li > span {
    font-weight: normal;
    padding: .5em .5em .5em .5em;
    margin: .5em .5em .5em .5em;
    line-height: normal;
    color: #193163;
    text-decoration: none;
    background-color: transparent;
    transition: background 0.5s, color 0.5s, border 0.5s;
    border: 0.08em solid #FFFFFF;
}

.eupagination > li > a:hover,
.eupagination > li > span:hover {
    background-color: #fff;
    color: #003d72 !important;
    border-color: #fff;
}

.eupagination > .disabled > span,
.eupagination > .disabled > span:hover,
.eupagination > .disabled > span:focus,
.eupagination > .disabled > a,
.eupagination > .disabled > a:hover,
.eupagination > .disabled > a:focus {
    border-color: #fff;
}

.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: #003d72 !important;
    cursor: default;
    background-color: #ffffff;
    border-color: #ffffff;
    font-weight: normal;
    border-bottom: 0.08em solid #003d72;
}

.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: #FFB03A;
    color: #ffffff !important;
    padding: 10px 45px;
    font-size: 18px;
    font-weight: normal;
    text-transform: capitalize;
    border-radius: 8px;
    height: auto;
    border: 0px solid #003d72;
    line-height: normal;
    transition: none;
    width: 180px;
    height: 50px;
    line-height: 39px;
}

.btn:active,
.btn-primary:active,
.btn-submit:active,
.btn-cancel:active,
.btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.btn-cancel:hover {
    background: #1D3F85;
    color: #fff !important;
}

/************************************************ END OF BUTTONS *********************************************************/

/***************************************************** TABS **************************************************************/
.tabs-wrapper {
    margin: 1em 0 1.5em 0;
    position: relative;
}

.tabs-wrapper:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0em;
    left: 0em;
    width: 100%;
    height: 0em;
    z-index: 0;
    border-bottom: 0em solid #ABBA11;
}

.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;
    position: relative;
}

.tabs li {
    _float: none;
    float: none;
    margin: 0;
    display: inline-block;
}

.tabItem {
    height: 45px;
    line-height: 45px;
    padding: 10px !important;
    text-decoration: none;
    font-size: 18px;
    font-weight: normal;
    font-style: normal;
    border-top: 0em solid #003d72;
    border-right: 0em solid #003d72;
    border-bottom: 2px solid #DDE0E8;
    border-left: 0em solid #003d72;
    background: transparent;
    transition: none;
    color: #193163;
    position: relative;
    top: 0;
    font-size: 18px;
    left: 0;
    width:230px;
}

/* .tabItem:hover {
    text-decoration: none;
    font-weight: normal;
    font-style: normal;

    color: #003d72 !important;
} */

.tab-active:hover,
.tab-active,
.tabItem:hover {
    color: #193163 !important;
    cursor: default;
    font-weight: normal;
    background-color: transparent;
    position: relative;
    top: 0px;
    border-top: 0em solid #003d72;
    border-right: 0em solid #003d72;
    border-bottom: 2px solid #FFB03A;
    border-left: 0em solid #003d72;
    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 #DDDDDD;
}
*/
/* .tabItem:before {
    left: 0px;
    width: 0;
    content: "";
    position: absolute;
    bottom: 0;
    height: 3px;
    background-color: #003d72;
    transition: all ease-out 0.2s;
}

.tabItem:hover:before,
.tab-active:before {
    left: 0;
    width: 100%;
} */

/* YEAR BUTTONS */
.year-filter ul {
    margin: 1em 0;
    text-align: left;
    margin-left: 2em !important;
}

.year-filter ul li {
    padding: 0;
    margin: 0;
    display: inline-block;
    line-height: 3em;
}

.year-filter ul li a {
    height: auto;
    font-size: 18px;
    line-height: normal;
    padding: 10px !important;
    text-decoration: none;
    font-weight: normal;
    font-style: normal;
    background: transparent;
    border: 0px solid #193163;
    transition: background 0.5s;
    color: #193163;
    border-radius: 0;
    margin: 0;
}

.year-filter ul li a:hover,
.year-filter ul li a:focus,
.year-filter ul li a.selected {
    background: transparent;
    color: #FFB03A;
    border: 0px solid #FFB03A;
}

/* 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: #193163;
}

.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: 0.16em solid #DDDDDD;
    padding: 1em 0 1em 0;
}

.form input,
.form select {
    color: #193163;
    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 #DDDDDD;
    -webkit-box-shadow: 0 0.08em 0.32em #DDDDDD;
}

.etooltip .tip-arrow {
    background: transparent;
}

.check-subscription-link,
.subscription-header,
.export-header {
    font-weight: normal;
}

.headline-right .event-type,
.headline-left .date-time {
    font-weight: normal;
}

.content-headline .headline {
    padding: 0em;
}

element.style {}

.main-heading {
    display: none;
}

/*
.footer a {
    color: #003d72;
}
*/

.footer {
    font-size: 11px;
}

.subscription-section .btn {
    width: 180px;
    height: 50px;
    line-height: 26px;
    padding: 10px;
}

/* ***********Add Codes************************** */

.headline-left .full-descriptions {
    color: #193163;
}


  .calendar-time-line ul li:first-child > .time-line-item {
    border-radius: 100px 0px 0px 100px;
  }

  .calendar-time-line ul li:last-child > .time-line-item {
    border-radius: 0px 100px 100px 0px;
  }



  .headline .headline-left {
    width: 80%;
    display: inline-block;

  }
  .headline .headline-right {
    width: 20%;
    display: inline-block;
    margin-top: 1.7%;
  }

  /* .headline-left .event-name,
  .headline-left .date-time {
    width: 70%;
    display: inline-block;
  } */

  .map-icon {
    width: 17px;
    height: 17px;
    background: transparent url("//asia.tools.euroland.com/tools/FinCalendar2/Config/Company/CN-2162/locat.png") no-repeat !important;
    background-size: 17px !important;
  }
  .color-box {
    width: 16px;
    height: 16px;
    display: inline-block;
    border-radius: 100px;
  }
  .type-filter {
    padding-left: 2em !important;
  }

  .link-location, .attachments {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .cookies-box,
  .supply-by-box {
    display: inline-block;
  }
  .footer div .hyperlink::before{
    background-color: transparent !important;
    color: transparent !important;
}
.footer div .hyperlink{
    color: transparent !important;
}
.type-filter {
    width: 90%;
  }
/************************************************* END OF TOOLTIP ********************************************************/
/*THIS IS REQUIRED*/
@media(max-width:1050px) {
    .headline .headline-right {
        margin-top: 3.7%;
      }
}
@media(max-width:640px) {
    li.type {
        width: 50% !important
    }
}
@media(max-width:570px) {
    .headline .headline-right {
        margin-top: 6.7%;
      }
}
@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:515px) {
    .headline-left .event-name, .headline-left .date-time {
        width: 100%;
    }
    .headline .headline-left .location {
        width: 100%;
    }
    .tabs li {
        width: 50%;
      }
      .tabItem {
        width: 92%;
      }
}
@media (max-width:451px) {
    .headline .headline-left .location {
        width: 100%;
    }
    .headline-left .event-name, .headline-left .date-time {
        width: 100%;
    }
}
@media (max-width:400px) {
    .tabItem {
        width: 90%;
      }
}
@media (max-width:360px) {
    .tabItem {
        width: 89%;
      }
}
@media (max-width:320px) {
    .subscription-section .btn-subscribe-wrapper {
        float: none;
        width: 100% !important;
        padding-top: 0.5em !important;
        text-align: center;
    }

    .export-types {
        padding-bottom: inherit;
    }
    .tabItem {
        width: 100%;
        padding: 10px 0px !important;
      }
}

/*END*/

* {
    outline: 0 !important;
}


.export-section {
    display: none;
}

.subscription-section {
    float: right;
    text-align: right;
}

#UpcomingEventsContainer .content-headline {
    border-bottom: 0px;
    padding-bottom: 0em;
}

.events-container {
    background: #fff;
    border-radius: 30px;
  }

  .event-name {
    font-size: 18px !important;
  }


/* Added Modification */

.events-container {
    padding-top: 10px !important;
    clear: both;
    padding-bottom: 10px !important;
}

.content-headline {
    padding-top: 0 !important;
}

.content-headline .headline {
    padding: 10px !important;
}

.filter-type {
    padding-bottom: 0 !important;
}

.circle-pager {
    margin-top: 0px !important;
}
