/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
@import url("//fonts.googleapis.com/css?family=PT+Sans:400,400i,700,700i");
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  src: local("PT Sans"), local("PTSans-Regular"), url("//fonts.gstatic.com/s/ptsans/v9/jizaRExUiTo99u79D0KExQ.woff2") format("woff2");
  unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  src: local("PT Sans Bold"), local("PTSans-Bold"), url("//fonts.gstatic.com/s/ptsans/v9/jizfRExUiTo99u79B_mh0O6tLQ.woff2") format("woff2");
  unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/


/*************************************************** MAIN RULES **********************************************************/
body {
      font-family: "PT Sans",sans-serif,Arial;
    font-size: 16px;
    color: #001B21;
}
.ar-ae .subscription-section {
    float: left;
    text-align: left;
}

.form input, .form select {
     font-family: "PT Sans",sans-serif,Arial!important;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.wrapper {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 0 0 0;
    position: relative;
}
a:link,
a:visited,
.hyperlink,
.check-subscription-link {
       color: #02B9BD;
       font-weight: normal!important;
    text-decoration: underline;
}
a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
	    color: #02B9BD;
    text-decoration: none!important;
}

/*********************************************** 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 {
       height: 50px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
    font-weight: 700;
    cursor: pointer;
    border: 0;
    -webkit-appearance: none;
    text-transform: capitalize;
    font-size: 16px;
    display: inline-block;
    padding: 15px 22px;
    background: #005569;
    color: #fff;
    border-radius: 0;
    outline:none;
}
.btn:active,
.btn-primary:active,
.btn-submit:active,
.btn-cancel:active,
.btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.btn-cancel:hover {
         background: #02b9bd;
    color: #FFFFFF !important;
    cursor: pointer;
}   
button.btn.btn-primary.btn-more-event.display-none {
    display: none!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;
    border-bottom: 0;
}
.ar-ae .tabs{
    text-align:center;
}
.ar-ae .tabs li {
    _float: none;
    float: none;
    margin: 0;
    display: inline-block;
    margin-left: 1px;
    margin-right: 0px!important;
}
.ar-ae .subscription-section {
    float: center;
    text-align: center;
}
.tabs li {
    _float: none;
    float: none;
    margin: 0;
    display:inline-block;
    margin-right: 1px;
}
.tabItem {
   font-size: 16px;
    text-transform: capitalize;
    height: auto;
    line-height: normal;
    border-radius: 0px;
    padding-top: 1.0em !important;
    padding-bottom: 1.0em !important;
    padding-left: 2.0em;
    padding-right: 2.0em;
    font-weight: normal!important;
  color: #FFFFFF!important;
    text-decoration: none!important;
    font-style: normal;
    text-decoration: none;
    border-top: 0.08em solid #02B9BD;
    border-right: 0.08em solid #02B9BD;
    border-bottom: 0.08em solid #02B9BD;
    border-left: 0.08em solid #02B9BD;
    background: #02B9BD;
    transition: background 0.5s, color 0.5s, border 0.5s;
    transition: background 0.5s, color 0.5s, border 0.5s;
    text-decoration: none;
    font-weight: normal!important;
}
.ar-ae .tabItem{
    margin-right: -0.08em;
    margin-left: 5px;
}
.tab-active {
     background: #005568;
   color: #FFFFFF!important;
    text-decoration: none!important;
    border-top: 0.08em solid #005568;
    border-right: 0.08em solid #005568;
    border-bottom: 0.08em solid #005568;
    border-left: 0.08em solid #005568;
    text-decoration: none;
    position: relative;
}
.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 #005568;
}




.tabItem:hover {
     background: #005568;
    color: #FFFFFF!important;
    text-decoration: none!important;
    border-top: 0.08em solid #005568;
    border-right: 0.08em solid #005568;
    border-bottom: 0.08em solid #005568;
    border-left: 0.08em solid #005568;
    
}
/* 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: #6E2585;
    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: #005568;
    border-color: #005568;
}
@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: 1px;
	 }
	.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: 3px;
}
.ar-ae .tabs li {
    float: none;
    float: none;
    margin: -1px!important;
    display: inline-block;
    margin-left: 7px;
    margin-right: 0px;
     margin-top: 8px;
}

.calendar-time-line .current-month .time-line-item {
    background-color: #005568!important;
}
