/********************************************** CUSTOM FONT DECLARTIONS **************************************************/

/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/


/*************************************************** MAIN RULES **********************************************************/
body {
    margin:0;
  font-family:'Arial',candara;
    font-size: 12px;
    color: #545454;
    -webkit-text-size-adjust: 100%;
    padding: 0;
 
}
.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
  font-family: 'Arial',candara;
    font-size: 12px;
    color: #545454;
}
.wrapper {
    width: 100%;
    max-width:694px;
    margin: 0 auto;
    padding: 0 0 0 0;
    position:relative;
}
a:link,
a:visited,
.hyperlink,
.check-subscription-link {
color: #545454;
    text-decoration: none;
}
a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    text-decoration: none;
    color: #2A74B2;
}
.footer {
    padding: 0em;
}
/*********************************************** END OF MAIN RULES *******************************************************/

/********************************************* ALIGNMENT FOR CALENDAR ****************************************************/
.time-line-month-name {
    color: #292D31;
}
/* 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: bold;
    padding-top: 0em;
    padding-bottom: 1.0em;
    color: #292D31;
}
.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 #DBDBDB;
    text-align: center;
    transition: background 0.5s;
}
.time-line-item:hover {
    background-color: #DBDBDB;
}
.color-dot-box .display-none {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    border: 0.08em solid #efefef;
}
.color-dot-box .color-dot {
    display:none;
}
.calendar-time-line .current-month .time-line-item {
    background-color: #24A9E2;
}
.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: #292D31;
    font-size: 1.5em;
    width: 1.15em;
    background: #efefef;
    height: 1.15em;
    line-height: 1.05em;
    border: 0.16em solid #efefef;
    border-radius: 0.75em;
}
.expand-collapse>.exco-text:hover,
.expand-collapse.expand>.exco-text {
    background-color: #292D31!important;
    border-color: #292D31!important;
    color: #EA5404!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.08em solid #efefef;
    padding-bottom: 0.5em;
}
.box-border {
    border-left: 0.08em solid transparent;
    border-right: 0.08em solid transparent;
    border-bottom: 0.08em solid #efefef;
}
/* END OF EVENT ROWS */

/* FILTERS */
.filter-type ul li {
    float: none;
    padding: 0.25em 0.5em;
    display: inline-block;
}
.filter-type {
    border-bottom: 0px solid #292D31;
    padding-bottom: 0.6em;
}
/* END OF FILTERS */

/* PAGINATION */
.eupagination>li>a,
.eupagination>li>span {
    font-weight:bold;
    padding: 0.55em 1em;
    margin-left: -0.08em;
    line-height: normal;
    color: #292D31;
    text-decoration: none;
    background-color: transparent;
    border: 0.08em solid #DBDBDB;
}
.eupagination>li>a:hover,
.eupagination>li>span:hover {
    background-color: #DBDBDB;
    color: #292D31!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: #292D31;
    cursor: default;
    background-color: #DBDBDB;
    border-color: #DBDBDB;
    font-weight:bold;
}
.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;
}
/* 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: #035c8b;
    color: #FFFFFF!important;
  
    padding: 1em 2em;
    border: 0px;
    font-size: 1em;
    font-weight: normal;
    text-transform: capitalize;
  border-radius: 0.8em 0.8em 0.8em 0.8em;
    height: auto;
    line-height: normal;
    text-transform: capitalize;
    transition: background 0.5s;
    outline: none!important;
   
}
.btn:active,
.btn-primary:active,
.btn-submit:active,
.btn-cancel:active,
.btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.btn-cancel:hover {
  background: #035c8b;
    color: #FFFFFF!important;
}   
/************************************************ END OF BUTTONS *********************************************************/
.events-container {
    padding-top: 0.6em;
    clear: both;
}
/***************************************************** TABS **************************************************************/
.tabs-wrapper {
    margin: 1em 0 0em 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:0px solid #292D31;
}
.tabs li {
    _float: none;
    float: none;
    margin: 0;
    display:inline-block;
}
.tabItem {
    height: auto;
	line-height: normal;
	
	padding-top: 1.0em !important;
	padding-bottom: 1.0em !important;
	padding-left: 2.0em;
	padding-right: 2.0em;
	
	text-decoration: none;
	font-weight:normal;
	font-style: normal;
	
    padding-top: 1em !important;
    padding-bottom: 1em !important;
    border-radius: 0.8em;
    text-decoration: none;
    border-top: 0.08em solid rgb(0, 92, 136);
    border-right: 0.08em solid rgb(0, 92, 136);
    border-bottom: 0.08em solid rgb(0, 92, 136);
    border-left: 0.08em solid rgb(0, 92, 136);
    background: rgb(0, 92, 136);
    transition: background 0.5s, color 0.5s, border 0.5s;
	color:#fff!important;
	margin-left:5px;
	position: relative;
	top: 0;
	left: 0em;
    outline: none!important;
}
.tab-active {
    cursor: default;
    font-weight: normal;
    background: #24A9E2;
    color: #FFFFFF;
    border-top: 0.08em solid #24A9E2;
    border-right: 0.08em solid #24A9E2;
    border-bottom: 0.08em solid #24A9E2;
    border-left: 0.08em solid #24A9E2;
	position: relative;
	top: 0px;
	left: 0px;

}
.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 #24A9E2;
}

.tabItem:hover {
     font-weight: normal;
    background: #24A9E2;
    color: #FFFFFF;
    text-decoration: none;
    border-top: 0.08em solid #24A9E2;
    border-right: 0.08em solid #24A9E2;
    border-bottom: 0.08em solid #24A9E2;
    border-left: 0.08em solid #24A9E2;
	font-style: normal;
	
}
/* 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;
    padding-top: 0.5em !important;
    padding-bottom: 0.5em !important;
    padding-left: 1.0em;
    padding-right: 1.0em;
    text-decoration: none;
    font-weight: bold;
    font-style: normal;
    background: transparent;
    border: 0.16em solid #DBDBDB;
    transition: background 0.5s;
    color: #585852;
    border-radius: 0;
    margin: 0;
}
.year-filter ul li a.selected {
    background: #DBDBDB;
}
/* 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: #035c8b;
}

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: 1px solid #efefef;
    padding: 1em 0 1em 0;
}
.form input,
.form select {
    color: #7f7f7f;
    font-size: 1em;
    padding: 0.22em;
    box-sizing: border-box;
    background: #fff;
    
   
    border: 0.08em solid #9699A6;
}
.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 #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 #DBDBDB;
    -webkit-box-shadow: 0 0.08em 0.32em #DBDBDB;
}
.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*/

.check-subscription-link {

     font-size: 12px; 

}
.show-hide-toggle {
    display: block!important;
}
button.expand-collapse {
    display: none!important;
}
.content-headline {
    margin-left: 0em;
}
.tabs-wrapper {
    margin: 1em 0 1em 0;
}
.en-gb button#\31 {
    font-size: 16px !important;
}
.en-gb .section-header.subscription-header, .en-gb .check-subscription-link{
    font-size: 14px !important;  
}
.en-gb .tabItem,.en-gb .tab-active {
    font-size: 18px !important;
}
.en-gb body{
    font-size: 16px !important;
}
.en-gb .next-event div.lable{
    font-size: 16px !important;
}
.en-gb .calendar-time-line .year{
    font-size: 16px !important;
}
.en-gb .expand-collapse>.exco-text{
    font-size: 16px !important;
}
.en-gb .year-filter ul li a{
    font-size: 16px !important;
}
.en-gb .modal-title{
    font-size: 16px !important;
}
.en-gb .form input,
.en-gb .form select{
    font-size: 16px !important;
}
.en-gb .check-subscription-link {

    font-size: 14px !important; 

}
 body.en-gb{
    font-size: 16px !important;
}
.en-gb .tabItem{
  
  padding: 13.5px !important;
}
.en-gb .footer {
   
    font-size: 14px !important;
  }
  
  .en-gb .btn,
  .en-gb .btn-primary,
  .en-gb .btn-submit,
  .en-gb .btn-cancel,
  .en-gb .btn:focus,
  .en-gb .btn-primary:focus,
  .en-gb .btn-submit:focus,
  .en-gb .btn-cancel:focus{
    padding: .5em 2em !important;
    height: 40px !important;
    background-color: #035c8b !important;
  }

  .en-gb .wrapper{
    max-width: 850px !important;
  }

  .en-gb .year-filter ul li a{
    border: 0px !important;
  }
  .en-gb .year-filter ul li a:hover,.en-gb .year-filter ul li.selected a{
    color:#24A9E2 !important;
  }
  .en-gb .tabItem{
    margin-left: 8px !important;
  }
  .en-gb .events-container {

    padding-top: 2em !important;
  }
.en-gb {
    .current-month .time-line-item .time-line-month-name {
        color: #fff !important;
    }

    .year-filter ul li a {
        color: #282828 !important;
    }

    .headline-left .date-time,
    .headline-right .event-type {
        color: #686868 !important;
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .headline-left .event-name {
        color: #282828 !important;
        font-size: 18px !important;
    }

    .content-headline {
        padding-bottom: 20px !important;
    }

    .headline-left .date-time{
        padding-bottom: 16px !important;
    }

}
