@import url("//fonts.googleapis.com/css?family=Lato:400,700");

body {
    padding:0;
    margin:0;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #2F2F2F;
}
.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    color: #2F2F2F;
}
.wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
}
.cookies-box {
    padding-bottom: 1em;
}
a:link,
a:visited,
.hyperlink,
.check-subscription-link {
    color: #002554;
    text-decoration: none;
}
a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    text-decoration: none;
	color: #8CCDC9;
}
.type-filter a:hover {
    text-decoration: none;
}
.type-filter a:hover span {
    text-decoration: none;
}
.eupagination>.disabled>a, .eupagination>.disabled>a:hover {
    background: transparent !important;
}
.footer {
    font-size: 14px;
    padding-top: 0;
}
.mail-apple {
    background: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/sf-huh/ic_today_black_24px.svg");
}
.mail-google {
    background: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/sf-huh/google_calendar_black_24px.svg");
}
.mail-outlook {
    background: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/sf-huh/outlook_calendar_black_24px.svg");
}

.subscription-header, .export-header {
    font-weight: bold;
    color: #2F2F2F;
}
.check-subscription-link {
    font-weight: bold;
    color: #307FE2;
    font-size: 14px;
}
.check-subscription-link:hover {
    font-weight: bold;
    color: #307FE2;
    font-size: 14px;
}
.confirm-registration .button {
    text-align: center;
}
/*********************************************** END OF MAIN RULES *******************************************************/

/********************************************* ALIGNMENT FOR CALENDAR ****************************************************/

/* NEXT EVENT HEADER */
.next-event {
	display: none;
    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: #2F2F2F;
    display: none;
}
.next-event div.date-time,
.next-event div.event-name {
    padding-bottom: 0.5em;
    color: #2F2F2F;
}
.headline-left .date-time {
    font-weight: bold;
    color: #2F2F2F;
}

/* END OF NEXT EVENT HEADER */

/* CALENDAR TIMELINE */
.time-line-item {
    padding-top: 0.5em;
    margin: -0.08em 0 0 -0.08em;
    border: 0.08em solid #D8D8D8;
    text-align: center;
    transition: background 0.5s;
}
.time-line-item:hover {
    background-color: #ffffff;
    color: #307FE2;
}
.color-dot-box .display-none {
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    border: 0.08em solid #D8D8D8;
}
.color-dot-box .color-dot {
    display:none;
}
.calendar-time-line .current-month .time-line-item {
    background-color: transparent;
    color: #307FE2;
    font-weight: normal;
}
.time-line-month-name {
    font-weight: bold;
}
.calendar-time-line .year {
    font-size: 1em;
    font-weight: bold;
    padding-bottom: 0.25em;
    line-height: normal;
}
/* CALENDAR TIMELINE END */

/* + BUTTON CONTROLS */
.expand-collapse>.exco-text {
    display: inline-block;
    text-align: center;
    color: #2F2F2F;
    font-size: 1.5em;
    width: 1.15em;
    height: 1.15em;
    line-height: 1em;
    border: 0.08em solid #D8D8D8;
    border-radius: 0em;
}
.expand-collapse>.exco-text:hover,
.expand-collapse.expand>.exco-text {
    background-color: #f2f2f2;
    border-right-color: #D8D8D8;
    color: #2F2F2F !important;
}
/* END OF + BUTTON CONTROLS */

/* EVENT ROWS */
.content-headline {
    margin-left: 2.5em;
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0;
    padding-bottom: 0.5em;
}
.box-border {
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0.08em solid #D8D8D8;
}
.odd {
    background-color: transparent;
    border-bottom: 0.08em solid #D8D8D8;
}
.even {
    background-color: transparent;
    border-bottom: 0.08em solid #D8D8D8;
}
/* END OF EVENT ROWS */

/* FILTERS */
.filter-type ul li {
    float: none;
    padding: 0.25em 0.5em;
    display: inline-block;
}
.filter-type {
    border-bottom: 0.08em solid #D8D8D8;
    padding-bottom: 0.6em;
}
/* END OF FILTERS */

/* PAGINATION */
.eupagination>li>a,
.eupagination>li>span {
    font-weight: normal;
    padding: 0.55em 1em;
    margin-left: -0.08em;
    line-height: normal;
    color: #2F2F2F;
    text-decoration: none;
    background-color: transparent;
    border: 0.08em solid #D8D8D8;
}
.eupagination>li>a:hover,
.eupagination>li>span:hover {
    background-color: #ffffff;
    color: #307FE2 !important;
    border: 0.08em solid #D8D8D8;
}
.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: #307FE2;
    cursor: default;
    background-color: transparent;
    border-color: #D8D8D8;
    font-weight: normal;
}
.eupagination>li:last-child>a,
.eupagination>li:last-child>span {
    border-top-right-radius: 0.75em;
    border-bottom-right-radius: 0.75em;
}
.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;
}
.eupagination > .disabled > a, .eupagination > .disabled > a:hover {
    border-color: #D8D8D8;
}

/* 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: #5CB8B2;
    color: #FFFFFF !important;
    padding: 1em 2em;
    border: 0px;
    font-weight: bold;
    border-radius: 0px;
    height: auto;
    line-height: normal;
    text-transform: none;
}
.btn:active,
.btn-primary:active,
.btn-submit:active,
.btn-cancel:active,
.btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.btn-cancel:hover {
    background: #408a85;
    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: center;
    font-size:0;
}
.tabs li {
    _float: none;
    float: none;
    margin: 0;
    margin-right: 10px;
    display:inline-block;
}
.tabItem {
    height: auto;
    box-sizing: border-box;
    line-height: normal;
    padding-top: 1.0em !important;
    padding-bottom: 1.0em !important;
    font-weight: bold;
    outline: none;
    width:100%;
    min-width: 180px;
    background: transparent;
    text-transform: none;
    border: 1px solid #2F2F2F;
    border-radius: 100px;
    margin-right: 10px;
    color: #2F2F2F !important;
}
.tab-active,
.tabItem:hover {
    background: #307FE2;
    border-color: #307FE2;
    color: #FFFFFF !important;
    text-decoration: none;
    position: relative;
}
.button-wrapper {
    text-align: center;
}


/* YEAR BUTTONS */
.check-subscription-link .link {
    color: #002554;
    text-decoration: none;
}
.check-subscription-link .link:hover {
    text-decoration: none;
    color: #8CCDC9;
}


.year-filter ul {
    margin:1em 0;
}
.year-filter ul li {
    padding:0;
    margin:0;
    display:inline-block;
}
.year-filter ul li a {
    height: auto;
    line-height: normal;
    padding-top: 0.25em !important;
    padding-bottom: 0.25em !important;
    padding-left: 1.0em;
    padding-right: 1.0em;
    font-weight: bold;
    outline: none;
    background: transparent;
    text-transform: none;
    border: 1px solid #2F2F2F;
    border-radius: 100px;
    color: #2F2F2F;
}

.year-filter ul li a.selected,
.year-filter ul li a:hover,
.year-filter .selected a {
    background: #307FE2 !important;
    border-color: #307FE2 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    position: relative;
}
.selected a span {
    color: #8CCDC9;
}
.filter-type .selected .type-filter-name {
    text-decoration: none;
}
/* 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: #2f2f2f;
}
.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;
    color: #2F2F2F;
}
.your-preferences {
    background-color: transparent;
    box-sizing: border-box;
    padding: 1em 0 1em 0;
}
.form input,
.form select {
    color: #2F2F2F;
    font-size: 1em;
    padding:  0 0.16em;
    box-sizing: border-box;
    background: #ffffff;
    border: 0.08em solid #D8D8D8;
    border-radius: 0;
    height: 2.2em;
}
.form .lable {
    padding-right: 1em;
    height: auto;
    vertical-align: middle;
    line-height: normal;
    margin-top: 0.22em;
    color: #2F2F2F;
}
select option {
    background: #fff;
    color: #2F2F2F;
    font-size: 11px;
}
/***************************************** 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;
}
.btn-more-event {
    box-shadow: none;
}
/************************************************* 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: 500px) {
    .tabs li {
        display: block;
        width: 50%;
        margin: 0 auto;
        margin-top: 5px;
        min-width: 150px;
    }
    .tabItem {
        width: 100%;
        margin-right: 0;
    }
    .year-filter ul li {
        margin-top: 13px;
    }
}

@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;
    }
}
/*END*/


ul.type-filter li:first-child a {
    background: transparent!important;
    color: #2F2F2F!important;
}
