/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
 @font-face {
     font-family: 'Effra';
     src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-ribl/fonts/Effra-Regular.otf") format("opentype");
     font-weight: normal;
 }

 @font-face {
     font-family: 'Effra';
     src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-ribl/fonts/Effra-Medium.otf") format("opentype");
     font-weight: medium;
 }

 @font-face {
     font-family: 'Effra';
     src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-ribl/fonts/Effra-Light.otf") format("opentype");
     font-weight: 300;
 }

 @font-face {
     font-family: 'Effra';
     src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-ribl/fonts/Effra-Bold.otf") format("opentype");
     font-weight: bold;
 }

 @font-face {
     font-family: 'DIN';
     src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-ribl/fonts/DIN-Regular.otf") format("opentype");
     font-weight: normal;
 }

 @font-face {
     font-family: 'DIN';
     src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-ribl/fonts/DIN-Medium.otf") format("opentype");
     font-weight: medium;
 }

 @font-face {
     font-family: 'DIN';
     src: url("//ksatools.eurolandir.com/tools/FinCalendar2/Config/Company/sa-ribl/fonts/DIN-Bold.otf") format("opentype");
     font-weight: bold;
 }
/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/


/*************************************************** MAIN RULES **********************************************************/
body {
   font-size: 14px;
   font-family: 'Effra', Arial, Helvetica, sans-serif;
	color: #2C2E30;
     font-weight: normal;
}
.ar-ae  {
   font-family:'DIN', Arial, Helvetica, sans-serif;
     font-weight: normal;
}

.wrapper {
    width: 100%;
    max-width: 790px;
    margin: 0 auto;
    padding: 0 0 0 0;
    position: relative;
}
a:link,
a:visited,
.hyperlink,
.check-subscription-link {
    color: #230871;
    text-decoration: none;
}
a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
	color: #230871;
    text-decoration: underline;
}

/*********************************************** END OF MAIN RULES *******************************************************/

/********************************************* ALIGNMENT FOR CALENDAR ****************************************************/

/* NEXT EVENT HEADER */

/* 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: #230871;
    color: #FFFFFF !important;
    padding: 1em;
    padding-top: 0.4em;
    padding-bottom: 0.4em;
    border: 0px;
    font-weight: bold;
    border-radius: 3px;
    height: auto;
    line-height: normal;
    text-transform: none;
    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: #230871;
    color: #FFFFFF !important;
    cursor: pointer;
}   
/************************************************ 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;
    border-bottom: 0;
}
.ar-ae .tabs{
    text-align:center;
}
.ar-ae .tabs li {
    _float: none;
    float: none;
    margin: 0;
    display: inline-block;
    margin-left: 7px;
    margin-right: 0px!important;
}
.ar-ae .subscription-section {
    float: left;
    text-align: center;
}
.tabs li {
    _float: none;
    float: none;
    margin: 0;
    display:inline-block;
    margin-right: 7px;
}
.tabItem {
    font-size: 14px;
	    height: auto;
    line-height: normal;
    padding: 1.0em 2em !important;
    font-weight: bold;
    outline: none;
		border:0px;
    color: #353535!important;
    background: #ffffff;
    border: 0.08em solid #29058F;
	text-decoration: none;

    margin-right: 5px;
	position: relative;
    width:100%;
    display: inline-block;
    box-sizing: border-box;
    	   transition: background 0.5s, color 0.5s, border 0.5s;
}
.ar-ae .tabItem{
    margin-right: -0.08em;
    margin-left: 5px;
}
.tab-active {
 color: #fff!important;
    cursor: default;
    font-weight: bold;
    background-color: #29058F;
    text-decoration: none;
    font-style: normal;
    z-index: 9;
}

.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 #29058F;
}

.tabItem:hover {
 background: #29058F;
    
    text-decoration: none;
    font-weight:bold;
    font-style: normal;
    
    color: #fff!important;
}
/* YEAR BUTTONS */
.year-filter ul::before, .year-filter ul::after {
    box-sizing: border-box;
    clear: both;
    content: "";
    display: block;
    height: 0;
    width: 100%;
}
.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: 0 1em !important;
    text-decoration: none;
    font-weight: normal;
    font-style: normal;
    background: transparent;
    border: 0.04em solid #333333 !important;
    transition: background 0.5s;
    color: #4e4e4e;
    border-radius: 0;
    margin: 0;
}
.year-filter ul li a.selected {
    background: #333333;
    color: #fff;
}
/* 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: #4e4e4e;
}
.modal-header .close {
    margin-top: 0.1em;
    font-size: 3.5em;
    line-height: 0.25em;
}
li.type {
    width: 50%;
    padding: 0.5em 0;
	white-space: normal;
}
.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 #333333;
    padding: 1em 0 1em 0;
}
.form input,
.form select {
    color: #4e4e4e;
    font-size: 1em;
    padding:  0 0.16em;
    box-sizing: border-box;
    background: #ffffff;
    border: 0.08em solid #e3e3e3;
    border-radius: 0;
    height: 2.2em;
}
.events-container {
    padding-top: 22px;
    clear: both;
    border-top: 0px solid #a1a1a1!important;
}
.form .lable {
    padding-right: 1em;
    height: auto;
    vertical-align: middle;
    line-height: normal;
    margin-top: 0.22em;
}
/***************************************** 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: 768px) and (min-width: 0) {
    body,
    .tabItem,
    .tab-active,
    .form input,
    .form select,
    .next-event
      {
        font-size: 16px;
    }
}
@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;
    }
}
.time-line-month-name {
    padding: 0px !important;
    height: 25px !important;
}
.headline-left .event-name {
	color: #3779a6;
}
.headline-right .event-type {
	font-weight: normal;
}
/*END*/
.events-container {
        padding-top: 3em;
    clear: both;
    border-top: 1px solid #a1a1a1;
}
.tabs-wrapper {
    margin: 7px 0px -1px 0;
}

.year-filter ul li a {
    height: auto;
    font-size: 1em;
    line-height: normal;
    padding: 0 1em !important;
    text-decoration: none;
    font-weight: normal;
    font-style: normal;
    background: transparent;
    border: 00em solid #333333 !important;
    transition: background 0.5s;
    color: #230871;
    border-radius: 0;
    margin: 0;
}
.eupagination>li>a, .eupagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #2C2E30;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}
.year-filter .selected {
    font-weight: bold;
    text-decoration: underline!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;
    cursor: default;
    background-color: #230871;
    border-color: #230871;
}
@media (min-width: 0px) and (max-width: 600px) {   
	 .tabs li {
    display: inline-block;
    width: 100%;
	margin-bottom: 0px;
	text-align: center;
	height: auto!important;
        margin-top: 8px;
	 }
	.tabs {
    line-height: auto!important; 
    height: auto!important; 
    border-bottom: solid 0px #d9d9d9;
    min-height: auto;
    text-align: center;
    background: #F5F0F0;
}
.ar-ae .tabItem {
    margin-right: 0em;
    margin-left: 0px;
    margin-top: 8px;
}
.ar-ae .tabs li {
    float: none;
    float: none;
    margin: -1px!important;
    display: inline-block;
    margin-left: 7px;
    margin-right: 0px;
     margin-top: 8px;
}


