/*************************************************** MAIN RULES **********************************************************/
body {
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #333333;
}

.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    color: #333333;
}

/*

.zh-tw body,
.zh-tw .tabItem,
.zh-tw .tab-active,
.zh-tw .form input,
.zh-tw .form select,
.zh-tw .next-event,
.zh-cn body,
.zh-cn .tabItem,
.zh-cn .tab-active,
.zh-cn .form input,
.zh-cn .form select,
.zh-cn .next-event {
    width: 118px;
}
*/

.zh-tw body,
.zh-tw .tabItem,
.zh-tw .tab-active,
.zh-tw .form input,
.zh-tw .form select,
.zh-tw .next-event,
.zh-cn body,
.zh-cn .tabItem,
.zh-cn .tab-active,
.zh-cn .form input,
.zh-cn .form select,
.zh-cn .next-event {
    font-family: Microsoft Yahei, Arial, sans-serif !important;
}

.modal-dialog .button-wrraper input.btn,
.modal-dialog .button-wrraper button.btn {
    line-height: 10px;
}

.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: #090908;
    text-decoration: none;
}

a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    text-decoration: none;
    color: #5A5A50;
}

.footer {
    padding: 0em;
}

.eupagination > li {
    display: inline-block;
}

/*********************************************** 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: #0067A5;
}

.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 #DBDBDB;
    text-align: center;
    transition: background 0.5s;
}

.time-line-item:hover {
    background: linear-gradient(to right, #013f80, #237ad4);
    border-color: #237ad4;
    text-decoration: none;
    font-weight: normal;
    font-style: normal;
    color: #FFFFFF !important;
}

.color-dot-box .display-none {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    border: 1px solid #DBDBDB;
}

.color-dot-box .color-dot {
    display: none;
}

.calendar-time-line .current-month .time-line-item {
    background: linear-gradient(to right, #013f80, #237ad4);
    border-color: #237ad4;
    text-decoration: none;
    font-weight: normal;
    font-style: normal;
    color: #FFFFFF !important;
}

.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: #333333;
    font-size: 1.2em;
    width: 1.15em;
    height: 1.15em;
    line-height: 1.1em;
    border: 1px solid #DBDBDB;
    border-radius: 0.75em;
}

.expand-collapse > .exco-text:hover,
.expand-collapse.expand > .exco-text {
    background-color: #DBDBDB;
    border-right-color: #DBDBDB;
    color: #333333 !important;
}

.download-event {
    margin-top: 0px;
}

/* END OF + BUTTON CONTROLS */

/* EVENT ROWS */
.content-headline {
    padding-left: 2.5em;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 0px dashed #bfbfbf;
    padding-bottom: 1em;
    padding-top: 1em;
    margin-bottom: 1em;
    margin-top: 1em;
    margin-left: 0;
}

.events li {
    border-bottom: 1px dashed #bfbfbf;
}

.box-border {
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid #bfbfbf;
}

/* END OF EVENT ROWS */

/* FILTERS */
.filter-type ul li {
    float: none;
    padding: 0.25em 0.5em;
    display: inline-block;
}

.content-headline:hover {
    -webkit-box-shadow: -1px 1px 40px -32px #0067a5;
    -moz-box-shadow: -1px 1px 40px -32px #0067a5;
    box-shadow: -1px 1px 40px -32px #0067a5;
}

.filter-type {
    border-bottom: 0.22em solid #bfbfbf;
    padding-bottom: 0.6em;
}

.event-row.focus .content-headline .event-name {
    color: #0067A5;
}

/* END OF FILTERS */

/* PAGINATION */
.eupagination > li > a,
.eupagination > li > span {
    font-weight: bold;
    padding: 1em 9px 1.0em 9px;
    margin: 5px;
    color: #333333;
    text-decoration: none;
    background-color: transparent;
    border: 1px solid #DBDBDB;
    height: 6px;
    line-height: 6px;
    width: 20px;
    border-radius: 50px;
    font-weight: normal;
}

.eupagination > li > a:hover,
.eupagination > li > span:hover {
    background-color: #003f80;
    background-color: #003f80;
    color: #fff !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: #fff !important;
    cursor: default;
    background-color: #003f80;
    border-color: #003f80;
    font-weight: normal;
}

.eupagination > li:last-child > a,
.eupagination > li:last-child > span {
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    border-left: 0;
}

.eupagination > li:first-child > a,
.eupagination > li:first-child > span {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    border-right: 0;
}

li.page.last a,
li.page.first a {
    padding: 1em 9px 1.0em 10px;
}

/* 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: #f1f5f8;
    color: #333333 !important;
    padding: 14px;
    border: 0px;
    font-size: 16px;
    font-weight: normal;
    text-transform: uppercase;
    border: 1px solid #f1f5f8;
    border-radius: 50px;
    height: auto;
    line-height: 16px;
    text-transform: capitalize;
    transition: background 0.5s;
    min-width: 140px;
    margin-bottom: 5px;
}

.btn:active,
.btn-primary:active,
.btn-submit:active,
.btn-cancel:active,
.btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.btn-cancel:hover {
    background: linear-gradient(to right, #013f80, #237ad4);
    color: #FFFFFF !important;
    border-color: #237ad4;
    box-shadow: 0px 0px 15px -3px #237ad4;
}

.section-header {
    margin-bottom: 10px;
}

.subscription-section {
    text-align: center;
}

.eupagination > .disabled > span,
.eupagination > .disabled > span:hover,
.eupagination > .disabled > span:focus,
.eupagination > .disabled > a,
.eupagination > .disabled > a:hover,
.eupagination > .disabled > a:focus {
    color: #333 !important;
}

.eupagination {
    display: inline-block;
    text-align: center !important;
}

.footer {
    font-size: 14px;
}

.main-heading {
    display: none;
}

/************************************************ 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;
}

.tabs li {
    _float: none;
    float: none;
    margin: 0;
    display: inline-block;
}

.tabItem {
    height: auto;
    line-height: 18px;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    padding-left: 0em;
    padding-right: 0em;
    text-decoration: none;
    font-weight: normal;
    font-style: normal;
    background: #f1f5f8;
    border: 1px solid #f1f5f8;
    transition: background 0.5s;
    color: #333333;
    width: 178px;
    margin-bottom: 5px;
    min-width: 148px;
    margin-left: -1px;
    position: relative;
    top: 0;
    font-size: 18px;
    left: 1px;
    margin-right: 5px;
    margin-left: 5px;
    border-radius: 50px;
}

.zh-tw .tabItem,
.zh-cn .tabItem {
    min-width: 180px;
}

.tab-active {
    color: #fff;
    cursor: default;
    font-weight: normal;
    border-color: #237ad4;
    position: relative;
    top: 0px;
    background: linear-gradient(to right, #013f80, #237ad4);
    left: 0px;
    color: #FFFFFF !important;
    box-shadow: 0px 0px 15px -3px #237ad4;
}

.tab-active:before {
    content: "";
    width: 0;
    height: 0;
    display: none;
    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 #DBDBDB;
}

.tabItem:hover {
    background: linear-gradient(to right, #013f80, #237ad4);
    border-color: #237ad4;
    text-decoration: none;
    font-weight: normal;
    font-style: normal;

    color: #FFFFFF !important;
}

.headline-right .event-type {
    color: #0067A5;
}

.headline-left .date-time {
    font-weight: normal;
    color: #0067A5;
}

/* 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: 1.0em;
    padding-right: 1.0em;
    text-decoration: none;
    font-weight: normal;
    font-style: normal;
    background: #f1f5f8;
    border: 1px solid #f1f5f8;
    transition: background 0.5s;
    color: #333333;
    border-radius: 50px;
    margin: 0;
}

.year-filter ul li a:hover,
.year-filter ul li.selected a {
    text-decoration: none;
    background: linear-gradient(to right, #013f80, #237ad4);
    color: #FFFFFF;
    border-top: 1px solid #237ad4;
    border-right: 1px solid #237ad4;
    border-bottom: 1px solid #237ad4;
    border-left: 1px solid #237ad4;
    box-shadow: 0px 0px 15px -3px #237ad4;
}

/* 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: 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 #DBDBDB;
    padding: 1em 0 1em 0;
}

.form input,
.form select {
    color: #333;
    font-size: 1em;
    padding: 0.22em;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #A8A9A3;
}

.form .lable {
    padding-right: 1em;
    height: auto;
    height: 36px;
    vertical-align: middle;
    line-height: normal;
    margin-top: 0.45em;
}

.form select {

    color: #999999;
}

/***************************************** 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;
}

.content-headline .headline {
    padding: 0;
}

/************************************************* 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:390px) {
    .tabs li {
        width: 100%;
    }

    .zh-tw .tabItem,
    .zh-cn .tabItem {
        width: 98%;
        padding-left: 0;
        padding-right: 0;
        margin: 0 auto 5px;
    }
}

@media (max-width:380px) {
    .tabs li {
        width: 100%;
    }

    .tabItem {
        width: 98%;
        padding-left: 0;
        padding-right: 0;
        margin: 0 auto 5px;
    }
}

@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;
    }
}

.calendar-time-line {
    padding: 5px;
}

/*END*/
* {
    outline: 0 !important;
}

