/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
/* @import url("//fonts.googleapis.com/css?family=Libre+Franklin:400,500,700"); */
/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/


/*************************************************** MAIN RULES **********************************************************/
body {
    padding:0;
    margin:0;
    color: #444444;
	font-family: Arial,​Helvetica,​sans-serif;
	font-size: 	12px;
}
.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
	font-family: Arial,​Helvetica,​sans-serif;
	font-size: 12px;
	color: #444444;
}
.wrapper {
    width: 100%;
    max-width: 558px;
    margin: 0 auto;
    padding: 0 0 0 0;
    position:relative;
}
a:link,
a:visited,
.hyperlink,
.check-subscription-link {
    color: #cd0000;
    text-decoration: none;
}
a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    text-decoration: none;
	color: #666666;
}
.next-event div.date-time {
    font-weight: 500;

}
.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: 1.25em;
    font-weight: 500;
    padding-top: 0em;
    padding-bottom: 1.0em;
    color: #444444;
}
.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: 0.08em solid #F1EFF0;
    text-align: center;
    transition: background 0.5s;
}
.time-line-item:hover {
    background-color: #F1EFF0;
}
.color-dot-box .display-none {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    border: 0.08em solid #F1EFF0;
}
.color-dot-box .color-dot {
    display:none;
}
.calendar-time-line .current-month .time-line-item {
    background-color: #F1EFF0;
}
.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: 1em;
    border: 0.16em solid #F1EFF0;
    border-radius: 0em;
}*/
.expand-collapse>.exco-text:hover,
.expand-collapse.expand>.exco-text {
    background-color: #F1EFF0;
    border-right-color: #F1EFF0;
    color: #353535!important;
}
/* END OF + BUTTON CONTROLS */

/* EVENT ROWS */
.content-headline {
    margin-left: 0;
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0.08em solid #F1EFF0;
    padding-bottom: 0.5em;
}
.box-border {
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0.08em solid #F1EFF0;
}
/* 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 #F1EFF0;
    padding-bottom: 0.6em;
}
/* END OF FILTERS */

/* PAGINATION */
.eupagination>li>a,
.eupagination>li>span {
    font-weight:500;
    padding: 0.55em 1em;
    margin-left: -0.08em;
    line-height: normal;
    color: #444444;
    text-decoration: none;
    background-color: transparent;
    border: 0.08em solid #F1EFF0;
    outline: none !important;
}
.eupagination>li>a:hover,
.eupagination>li>span:hover {
    background-color: #F1EFF0;
    color: #353535!important;
    border-color: #ddd;
    border-width: 0.08em;
}
.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: #444444;
    cursor: default;
    background-color: #F1EFF0;
    border-color: #ddd !important;
    font-weight:500;
}
.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;
}

body.ar-ae .eupagination>li:last-child>a, 
body.ar-ae .eupagination>li:last-child>span {
    border-radius: 0;
    border-top-left-radius: 0.75em;
    border-bottom-left-radius: 0.75em;
    border-left: 0.08em solid #e1e1e1;
}

body.ar-ae .eupagination>li:first-child>a,
body.ar-ae .eupagination>li:first-child>span {
    border-radius: 0;
    border-top-right-radius: 0.75em;
    border-bottom-right-radius: 0.75em;
    border-right: 0.08em solid #e1e1e1;
}

/* END OF PAGINATION */
.event-row.focus .content-headline{border-right-width:inherit!important;border-right-color:inherit!important}
/****************************************** 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: #cd0000;
    color: #fff !important;
    padding: 8px 1em;
    border: 0px;
    font-size: 1em;
    font-weight: 500;
    text-transform: none;
    border-radius: 0px;
    height: auto;
    line-height: normal;
    text-transform: none;
    transition: background 0.5s;
}
.btn:active,
.btn-primary:active,
.btn-submit:active,
.btn-cancel:active,
.btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.btn-cancel:hover {
    background: #cd0000;
}   
/************************************************ 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: left;
    font-size:0;
    border-bottom: 2px solid #e1e1e1;
    height: 32px;
}
.tabs li {
    _float: none;
    float: none;
    margin: 0;
    display:inline-block;
}
.tabItem {
    height: auto;
	line-height: normal;

	
	text-decoration: none;
	font-weight:500;
	font-style: normal;
	color: #353535!important;
	background: transparent;
	border: 1px solid #e1e1e1;
	
	transition: background 0.5s;
	position: relative;
	top: 0;
    left: 0.08em;
    min-width: 80px;
    background: #fafafa;
    margin: 0;
    margin-right: 2px;
    outline: none;

    height: 31px;
    line-height: 31px;
    padding: 0px 10px !important;
    text-align: center !important;
}
.tab-active {
    cursor: default;
    background-color: #FFFFFF;
	position: relative;
	top: 0px;
    left: 0px;
    color: #000000;
    font-weight: bold;
    border-bottom: 2px solid #FFFFFF;
}
.tab-active:before {
    display: none;
    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 #cd0000;
}

/* .tabItem:hover {
    background: #cd0000;
	
	text-decoration: none;
	font-weight:500;
	font-style: normal;
	
	color: #fff!important;
} */
/* 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;
    
    text-decoration: none;
    font-weight: 500;
    font-style: normal;
    background: transparent;
    
    transition: background 0.5s;
    color: #cd0000;
    border-radius: 0;
  
}
.year-filter ul li.selected a {
    text-decoration: underline;
}
/* 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: 500;
    padding-top: 0em;
    padding-bottom: 1.0em;
    color: #444444;
    color: #444444;
}
.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;
}
.your-preferences {
    background-color: transparent;
    box-sizing: border-box;
    border: 0em solid #F1EFF0;
    padding: 1em 0 1em 0;
}
.form input,
.form select {
    color: #333;
    font-size: 1em;
    padding: 0.22em;
    box-sizing: border-box;
    /* background: #fff;
    border: 0.08em solid #F1EFF0; */


    border: 1px solid #f1f1f1;
}
.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 #F1EFF0;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    background: #fff;
    box-shadow: 0 0.08em 0.32em #F1EFF0;
    -moz-box-shadow: 0 0.08em 0.32em #F1EFF0;
    -webkit-box-shadow: 0 0.08em 0.32em #F1EFF0;
}
.etooltip .tip-arrow {
    background:transparent;
}
/************************************************* 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: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*/
.subscription-header, .export-header {
    font-weight: 500;
}
.headline-left .date-time {
    font-weight: 500;

}
.headline-right .event-type {
    font-weight: 500;

}
footer.footer {
    font-size: 13px;
    padding-top: 2em;
}

body.ar-ae .subscription-section {
    float: left;
    text-align: left;
}
body.ar-ae .date-time span:last-child {
    direction:ltr;
    unicode-bidi:bidi-override;
}
body.body-rtl .tabs {
    float: none!important;
}
body.body-rtl .tabs li {
    float: none!important;
}

.check-subscription-link{
    font-size: 12px;
}

.google-recapcha>div{
    font-size: 10px;
}

.row-control{
    padding: 5px 0;
}

.headline-left .event-name {
    font-weight: bold;
    font-size: 13px;
}


.eupagination>li>a, .eupagination>li>span{
    border-color: #e1e1e1;
}

.eupagination>.active>a, .eupagination>.active>span, 
.eupagination>.active>a:hover, .eupagination>.active>span:hover, 
.eupagination>.active>a:focus, .eupagination>.active>span:focus,
.eupagination>li>a:hover, 
.eupagination>li>span:hover{
    background: #cd0000 !important;
    border-color: #cd0000  !important;
    color: #FFFFFF !important;
}

.eupagination>.disabled>span, .eupagination>.disabled>span:hover, 
.eupagination>.disabled>span:focus, .eupagination>.disabled>a, 
.eupagination>.disabled>a:hover, .eupagination>.disabled>a:focus,
.eupagination>.disabled>span, .eupagination>.disabled>span:hover, 
.eupagination>.disabled>span:focus, .eupagination>.disabled>a, 
.eupagination>.disabled>a:hover, .eupagination>.disabled>a:focus{
    background: #FFFFFF !important;
    color: #e1e1e1 !important;
    border-color: #e1e1e1 !important;
}


body.ar-ae .tabs{
    text-align: right;
}

body.ar-ae .check-subscription-link{
    text-align: left;
}

body.ar-ae .content-headline{
    margin-right: 0;
}

body.ar-ae .form .label{
    text-align: left;
}

body.ar-ae .eupagination{
    padding: 0;
}

body.ar-ae .form .label{
    padding-right: 0;
    padding-left: 10px;
}

.btn-cancel,
.btn-primary, .btn-submit{
    min-width: 80px;
}

/* .check-subscription-link .link{
	white-space: nowrap;
} */

*{
    outline: none !important;
}

@-moz-document url-prefix() {
    .form select {
        box-shadow: inset 1px 2px 2px #787878 !important;
        appearance: none;
        -moz-appearance: none;
        -webkit-appearance: none;
        -ms-appearance: none;
        background: transparent url("data:image/gif;base64,R0lGODlhBgAGAKEDAFVVVX9/f9TU1CgmNyH5BAEKAAMALAAAAAAGAAYAAAIODA4hCDKWxlhNvmCnGwUAOw==") right center no-repeat !important;
        background-position: calc(100% - 8px) center !important;
    }

    .ar-ae .form select{
        background-position: 8px center !important;
    }
}



/* fix arrow for dropdown in IE browser */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .form select {
        appearance: none;
        -moz-appearance: none;
        -webkit-appearance: none;
        -ms-appearance: none;
        background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAQAAAAAYLlVAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfgCxACEBnQdLlTAAAAeklEQVRo3u3QyQ2AMAwFUVMBddETW1U0RgHhwAFFbLYUOxLMyzXKH0UEAAAAAP6uUd1qpTO/nGSRtVzoLMl4+tJ/ZUsoPm9LcJnXJwxe87oE1/n3BPf554SQ+fuEMWr+OiF0/pwQPp8nTDXmj4Rq83tC1XkAAAAAX7ABm5GrRSevg7kAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTYtMTEtMTZUMDI6MTY6MjUtMDU6MDAzbD3PAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE2LTExLTE2VDAyOjE2OjI1LTA1OjAwQjGFcwAAAABJRU5ErkJggg==") right / 20px no-repeat #fff;
        padding-right: 30px;
        box-shadow: inset 1px 2px 2px #787878 !important;
    }
    .ar-ae .form select{
        background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAQAAAAAYLlVAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfgCxACEBnQdLlTAAAAeklEQVRo3u3QyQ2AMAwFUVMBddETW1U0RgHhwAFFbLYUOxLMyzXKH0UEAAAAAP6uUd1qpTO/nGSRtVzoLMl4+tJ/ZUsoPm9LcJnXJwxe87oE1/n3BPf554SQ+fuEMWr+OiF0/pwQPp8nTDXmj4Rq83tC1XkAAAAAX7ABm5GrRSevg7kAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTYtMTEtMTZUMDI6MTY6MjUtMDU6MDAzbD3PAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE2LTExLTE2VDAyOjE2OjI1LTA1OjAwQjGFcwAAAABJRU5ErkJggg==") left / 20px no-repeat #fff;
        padding-right: 0;
    }

    .form select::-ms-expand {
        display: none;
    }
}


@media(max-width:479px){

    .headline-left .event-name {
        padding-bottom: 0;
    }
    
    .headline-right .event-type{
        padding-top: 0;
        padding-bottom: 0;
    }
}

@media(max-width:320px){

   .btn-subscribe-wrapper,
    .check-subscription-link{
        float: left !important;
    }

    body.ar-ae .subscription-section{
        float: right !important;
        text-align: right !important;
    }

 /* 
    body.ar-ae .check-subscription-link{
        text-align: right;
    } */
}
