/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700');
@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700');
/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/


/*************************************************** MAIN RULES **********************************************************/
body {
    padding:0;
    margin:0;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    color: #737373;
}
body.ar-ae{
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    color: #737373;
}
.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    color: #737373;
}
.ar-ae .tabItem,
.ar-ae .tab-active,
.ar-ae .form input,
.ar-ae .form select,
.ar-ae .next-event {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    color: #737373;
}
.wrapper {
    width: 100%;
    max-width: 910px;
    margin: 0 auto;
    padding: 0 0 0 0;
    position: relative;
}
a:link,
a:visited,
.hyperlink,
.check-subscription-link {
    color: #262626;
    text-decoration: none;
    transition: all 0.2s;
    font-weight:normal;
}
a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    text-decoration: none;
    color: #e21e2f;
    font-weight:normal;
}
.footer {
    padding: 0em;
}
.subscription-header, .export-header {
    font-weight: 600;
    color: #57505a;
}
/*********************************************** 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: 600;
    padding-top: 0em;
    padding-bottom: 1.0em;
    color: #57505a;
    display: none;
}
.next-event div.date-time,
.next-event div.event-name {
    padding-bottom: 0.5em;
    color: #57505a;
}
.headline-left .date-time {
    font-weight: 600;
    color: #57505a;
}
/* 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 #F2F2F2;
    text-align: center;
    transition: background 0.5s;
}
.time-line-item:hover {
    background: #F2F2F2;
    color: #737373;

    font-weight: 300;
}
.color-dot-box .display-none {
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    border: 0.08em solid #cccccc;
}
.color-dot-box .color-dot {
    display:none;
}
.calendar-time-line .current-month .time-line-item {
    background-color: #e21e2f;
    color: #ffffff;
    font-weight: 300;
}
.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: #57505a;
    font-size: 1.5em;
    width: 1.15em;
    height: 1.15em;
    line-height: 1em;
    border: 0.08em solid #cccccc;
    border-radius: 0em;
}
.expand-collapse>.exco-text:hover,
.expand-collapse.expand>.exco-text {
    background-color: #cccccc;
    border-right-color: #cccccc;
    color: #fff!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 #cccccc;
}
.event-row {
    position: relative;
    border-bottom: 1px solid #cccccc;
    border-top: 0;
}
.expand-collapse {
    left: 2px;
}
.body-rtl .expand-collapse {
    left: initial !important;
    right: 2px;
}


/* END OF EVENT ROWS */

/* FILTERS */
.filter-type ul li {
    float: none;
    padding: 0.25em 0.5em;
    display: inline-block;
}
.type-filter {
    width: 100%;
    overflow: auto;
}
.filter-type {
    border-bottom: 0.08em solid #cccccc;
    padding-bottom: 0.6em;
    overflow: auto;
}
/* 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: #57505a;
    text-decoration: none;
    background-color: transparent;
    border: 0.08em solid #ccc;
}
.eupagination>li>a:hover,
.eupagination>li>span:hover {
    background-color: #f3f3f3;
    color: #57505a !important;
    border: 0.08em solid #ccc;
}
.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: #57505a;
    cursor: default;
    background-color: #f3f3f3;
    border-color: #ccc;
    font-weight: 600;
}
.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;
}
.ar-ae .eupagination>li:last-child>a,
.ar-ae .eupagination>li:last-child>span {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-left: 1px solid #ccc;

    border-top-left-radius: 0.75em;
    border-bottom-left-radius: 0.75em;
    border-right:0;
}
.ar-ae .eupagination>li:first-child>a,
.ar-ae .eupagination>li:first-child>span {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-right: 1px solid #ccc;

    border-top-right-radius: 0.75em;
    border-bottom-right-radius: 0.75em;
    border-left: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: #fff;
    color: #737373;
    border: solid 0.08em #d0d0d0;
    padding: 1em;

    font-size: 1em;
    font-weight: 300;    
    border-radius: 0;
    height: auto;
    font-size: 15px;
    text-transform: capitalize;
    line-height: normal;    
    transition: background 0.5s, color 0.5s, border 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: #e21e2f;
    font-weight: 300;
    border: 0.08em solid #e21e2f;
    color: #ffffff !important;
}   
/************************************************ 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;
    background: #F2F2F2;
    color: #737373!important;
    border-bottom: 0px solid #e1e1e1;
}
.ar-ae .tabs{
    text-align: right;
}
.tabs li {
    _float: none;
    float: none;
    margin: 0;
    display: inline-block;
}
.tabItem {
    height: auto;
	line-height: normal;	
	padding-top: 1em !important;
	padding-bottom: 1em !important;
	padding-left: 2.0em;
	padding-right: 2.0em;
    outline:none;
	text-decoration: none;
	font-weight: 300!important;
	font-style: normal;	
    background: #F2F2F2;
    color: #737373;
    border-bottom: 0px solid #e1e1e1;
    border-radius: 0;


	transition: background 0.5s, color 0.5s, border 0.5s;
	
	color: #57505a !important;	

	margin-right: 5px;
	position: relative;
	top: 1px;
	left: 0;
}
.ar-ae .tabItem{
    margin-left: 5px;
    margin-right: 0;
}
.tabItem:hover {
    font-weight: 300!important;
	font-style: normal;	
    background: #F2F2F2;
    color: #737373!important;
    border-bottom: 0px solid #e1e1e1;
    outline:none;
}
.tab-active,
.tab-active:hover {
    color: #ffffff !important;
    cursor: default;
    font-weight: bold!important;
	font-style: normal;
    border-color: #e21e2f;
    background-color: #e21e2f;
    border-bottom: 0.08em solid #e21e2f;
	position: relative;
	top: 1px;
    left: 0;
    outline:none;
}

/* YEAR BUTTONS */
.year-filter ul {
    margin:1em 0;
}
.year-filter ul li {
    padding:0;
    margin:0;
    display:inline-block;
}
    .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: 600;
        font-style: normal;
        background: transparent;
        border: 0.08em solid #ccc;
        transition: background 0.5s;
        color: #57505a;
        border-radius: 0;
        display: inline-block;
        margin: 0.2em;
    }
.year-filter ul li a.selected {
    background: #ffffff;
    color: #500778;
}
/* 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 !important;
    font-weight: bold;
    color: #737373 !important;
    font-weight: normal;
    font-family: 'Roboto Condensed', sans-serif!important;
}


.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: #57505a;
}
.your-preferences {
    background-color: transparent;
    box-sizing: border-box;
    border: 0em solid #333333;
    padding: 1em 0 1em 0;
}
.form input,
.form select {
    height: auto;
	line-height: normal;
	
	height: 44px;
    line-height: 44px;
	border:1px solid #ddd;
	background: #ddd;
    box-shadow: 0 0 0 0 transparent;
    -moz-box-shadow: 0 0 0 0 transparent;
    -webkit-box-shadow: 0 0 0 0 transparent;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    color: #000;
	padding: 0 15px;
	box-sizing: border-box;
	font-size: 18px;
    resize: none;
    font-weight: 500;
}
.form input:focus,
.form select:focus {
    -webkit-box-shadow: inset 0 0 12px 0 rgba(0,0,0,0.2);
	outline: none;
}
.form .lable {
    padding-right: 1em;
    height: auto;
    vertical-align: middle;
    line-height: normal;
    margin-top: 0.6em;
}
/***************************************** 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: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;
    }
	.tabs li {
		width: 100%;
		text-align: center;
	}
	.tabItem  {
		margin: 1px 0 !important;
	}
	.tab-active, 
	.tab-active:hover {
		border: 0px solid #500778;
	}
}
@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;
    }
}
.ar-ae .date-time span {
    direction: ltr;
    unicode-bidi: embed;
}
/*END*/

.label {
    font-size: 14px;
    font-weight: 500;
    color: #7b7b7b;
    margin: 0;
    line-height: 44px;
    text-transform: uppercase;
}
.ar-ae  .subscription-section {
    float: left;
    text-align: left;
}

.time-line-item {

    font-weight: 300;

}
.calendar-time-line .current-month .time-line-item {
    background-color: #e21e2f;
    color: #ffffff;
    font-weight: bold;
}
