/********************************************** CUSTOM FONT DECLARTIONS **************************************************/

/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/
@font-face{
	font-family:"Roboto";
	 font-style:normal;
	 font-weight:normal;
	 src: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/D-KTA/Fonts/Roboto.ttf") format('TrueType');
	}
	@font-face{
		font-family:"Acumin";
		 font-style:normal;
		 font-weight:normal;
		 src: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/D-KTA/Fonts/Acumin.otf") format('OpenType');
		}
/*************************************************** MAIN RULES **********************************************************/
body {
    padding:0;
    margin:0;
	font-family:"Roboto";
	font-size: 18px;
	color: #646464;
}
.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
	font-family:"Roboto";
	font-size: 18px;
	color: #646464;
}

.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 0 0;
    position: relative;
}
a:link,
a:visited,
.hyperlink,
.check-subscription-link {
    color: #646464;
    text-decoration: none;
}
a:hover,
a:active,
.hyperline:active,
.hyperlink:active,
.check-subscription-link:hover {
    text-decoration: underline;
	color: #004678;
}
.footer {
    padding: 0em;
    margin-bottom: 5px;
    font-size: 13px;
}
.subscription-header, .export-header {
    font-weight: normal;
    color: #646464;
    font-size: 18px;
}
/*********************************************** 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: #646464;
    display: none;
}
.next-event div.date-time,
.next-event div.event-name {
    padding-bottom: 0.5em;
    color: #646464;
}
.headline-left .date-time {
    font-weight: 600;
    color: #646464;
}
/* 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 #DEE2E6;
    text-align: center;
    transition: background 0.5s;
}
.time-line-item:hover {
    background-color: #004678;
    color: #ffffff;
    font-weight: 400;
}
.color-dot-box .display-none {
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    border: 0.08em solid #DEE2E6;
}
.color-dot-box .color-dot {
    display:none;
}
.calendar-time-line .current-month .time-line-item {
    background-color: #004678;
    color: #ffffff;
    font-weight: 400;
}
.calendar-time-line .year {
    font-size: 16px;
    padding-bottom: 0.25em;
    line-height: normal;
}
/* CALENDAR TIMELINE END */

/* + BUTTON CONTROLS */
.expand-collapse>.exco-text {
    display: inline-block;
    text-align: center;
    color: #909090;
    font-size: 1.5em;
    width: 1.15em;
    height: 1.15em;
    line-height: 1em;
    border: 0.08em solid #DEE2E6;
    border-radius: 0em;
}
.expand-collapse>.exco-text:hover,
.expand-collapse.expand>.exco-text {
    background-color: #DEE2E6;
    border-right-color: #DEE2E6;
    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 #DEE2E6;
}
.event-row {
    position: relative;
    border-bottom: 1px solid rgba(100,100,100,.35);
    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: 0px solid rgba(100,100,100,.35);
    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: #646464;
    text-decoration: none;
    background-color: transparent;
    border: 0.08em solid #DEE2E6;
}
.eupagination>li>a:hover,
.eupagination>li>span:hover {
    background-color: #DEE2E6;
    color: #646464 !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: #646464;
    cursor: default;
    background-color: #DEE2E6;
    border-color: #DEE2E6;
    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 #DEE2E6;

    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 #DEE2E6;

    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 {
    font-family: inherit;
    font-size: 18px;
    font-weight: normal;
    color: #FFFFFF;
    text-transform: none;
    margin: 0.5em 0em;
    padding: .83333em 0 .83333em 2.0736em;
      padding-right: 0px;
    padding-right: 58px;
    border: 0em solid #1E87BE;
    border-radius: 10px;
    background: #1E87BE;
    -webkit-transition: background-color .25s cubic-bezier(.215,.61,.355,1),-webkit-box-shadow .25s cubic-bezier(.215,.61,.355,1);
    transition: background-color .25s cubic-bezier(.215,.61,.355,1),-webkit-box-shadow .25s cubic-bezier(.215,.61,.355,1);
    transition: box-shadow .25s cubic-bezier(.215,.61,.355,1),background-color .25s cubic-bezier(.215,.61,.355,1);
    transition: box-shadow .25s cubic-bezier(.215,.61,.355,1),background-color .25s cubic-bezier(.215,.61,.355,1),-webkit-box-shadow .25s cubic-bezier(.215,.61,.355,1);
    text-decoration: none;
}
.btn:active,
.btn-primary:active,
.btn-submit:active,
.btn-cancel:active,
.btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.btn-cancel:hover {
    text-decoration: none;
    background: #004678;
    color: #fff;
    -webkit-box-shadow: inset 0 0 0 2px #004678;
    box-shadow: inset 0 0 0 2px #004678;
} 


/************************************************ 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: center;
    font-size: 0;
    border-bottom: 0px solid rgba(100,100,100,.35);
}

.tabs li {
    _float: none;
    float: none;
    margin: 0;
    display: inline-block;
}
.tabItem {
    height: auto;
    line-height: normal;
    padding-top: 1.0em !important;
    padding-right: 2.0em;
    padding-bottom: 1.0em !important;
    padding-left: 2.0em;
    margin-top: 0.0em;
    margin-right: 0.08em;
    margin-bottom: 0.0em;
    margin-left: 0.08em;
    border-radius: 0.0em 0.0em 0.0em 0.0em;
    font-family: "Acumin" !important;
    font-weight: bold;
    font-size: 18px;
    text-transform: none;
    color: #646464;
    font-style: normal;
    text-decoration: none;
    border: 0em solid #FFFFFF;
    background: #FFFFFF;
    transition: background 0.5s, color 0.5s, border 0.5s;
    position: relative;
    top: 0;
    left: 0em;
}


.tab-active,
.tab-active:hover,
.tabItem:hover {
    background: #FFFFFF;
    color: #1E87BE !important;
    border: 0em solid #FFFFFF;
    text-decoration: none;
    position: relative;
    top: 0px;
    left: 0px;
    z-index: 10;
}

/* 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: 18px;
    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 #DEE2E6;
    transition: background 0.5s;
    color: #646464;
    border-radius: 0;
    margin: 0;
    margin-top: 3px;
    display: inline-block;
}
.year-filter ul li a.selected {
    background: #ffffff;
    color: #646464;
}
/* 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: 18px;
    font-weight: 600;
    padding-top: 0em;
    padding-bottom: 1.0em;
    color: #646464;
}
.modal-header .close {
    margin-top: 0.1em;
    font-size: 1.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: #646464;
}
.your-preferences {
    background-color: transparent;
    box-sizing: border-box;
    border: 0em solid #646464;
    padding: 1em 0 0em 0;
}
.form input,
.form select {
    color: #646464;
    font-size: 16px;
    box-sizing: border-box;
    background: #ffffff;
    border: 0.08em solid #DEE2E6;
    line-height: 2.5em !important;
    height: 2.5em !important;
    padding: 10px 1em;
    border-radius: 10px;
}
.form .lable {
    padding-right: 1em;
    height: auto;
    vertical-align: middle;
    line-height: normal;
    margin-top: 0.6em;
}
.form input:hover, .form select:hover {
    border: 1px solid #004678;
    -webkit-box-shadow: 0 25px 15px -20px rgba(0,70,120,.75);
    box-shadow: 0 25px 15px -20px rgba(0,70,120,.75);
  }
/***************************************** 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 #646464;
    -webkit-box-shadow: 0 0.08em 0.32em #646464;
}
.etooltip .tip-arrow {
    background:transparent;
}
.eupagination > li > a, .eupagination > li > span {
    padding: 5px 12px !important;
    font-size: 15px !important;
    border: 0em solid #ccc !important;
    }



/******Custom*******/

    .cookies-box {
        padding-bottom: 5px;
    }
    
    .event--past {
        color: #646464;
    }
    
    .tab-active::before, .tabItem:hover::before {
        content: "";
        width: 78%;
        height: 1px;
        position: absolute;
        top: 97%;
        left: 10%;
        background: #004678;
        margin-left: 0em;
        border: 1px solid #004678;
    }
    
    .m-t-10 {
      margin-bottom: 10px;
    }
    
    .section-header {
      margin-bottom: 0px !important;
    }
    
    .check-subscription-link{
        font-size: 18px !important;
        margin-top: 0px !important;
        font-weight: normal !important;
    }
    
    .btn-subscribe-wrapper::after {
        content: "";
        background-image: url("//tools.eurolandir.com/tools/FinCalendar2/Config/Company/D-KTA/chevron-right.svg");
        background-size: 21px;
        display: inline-block;
        height: 18px;
        width: 22px;
        position: relative;
        top: 4px;
        margin-left: 10px;
        transition: none;
        left: -36px;
    }
    
    .subscription-section {
        text-align: center;
      }
    
      .btn-primary {
        margin: 0.5em -30px 0.5em 6px !important;
      }
/************************************************* END OF TOOLTIP ********************************************************/
/*THIS IS REQUIRED*/
@media(max-width:640px) {
    li.type {
        width: 50%!important
    }
}
@media(max-width:634px) {
    .headline .headline-left {
        width: 67%;
        float: left;
      }
      .headline .headline-right {
        width: 33%;
        float: left;
      }
      .period {
        display: block;
        width: 195px;
        text-align: left;
      }
      .break-line {
        display: none;
      }
}
@media (max-width:565px) {
    #PastEventsContainer .attachments {
        margin-top: 0!important;
    }
    .button-wrraper {
        margin-top: 1em!important
    }
    .headline .headline-right {
        float: none;
        margin-top: -1.47em;
        width: 100%;
    }
    .headline .headline-left {
        width: 100%;
    }
    .tabs{
        border-bottom: 0px solid rgba(0,0,0,.1);
    }
	.tabs li {
		width: 85%;
		text-align: center;
	}
	.tabItem  {
        color: #004678 !important;
        padding: 1em !important;
        position: relative;
        margin: 5px;
        top: 0;
        border: 2px solid #004678;
        width: 89%;
        border-radius: 10px;
	}
    .event-detail {
        padding-bottom: 15px;
    }
    .tab-active,
    .tab-active:hover,
    .tabItem:hover {
        background: #004678 !important;
        color: #ffffff !important;
        border: 2px solid #004678 !important;
        position: relative;
        top: 0px;
        left: 0px;
        z-index: 10;
    }
    .tabs {
        text-align: center;
    }
    .tab-active::before, .tabItem:hover::before {
        display: none !important;
    }
}
@media (max-width: 479px) {
    #PastEventsContainer .list-file-attachment {
      text-align: right !important;
    }
    li.type {
        width: 100% !important;
      }
      .preference-period {
        width: 100% !important;
        padding: 2%;
      }
  }
@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;
    }

}
@media (max-width: 480px){
body, .tabItem,
.tab-active, .form input, .form select,
.next-event, .subscription-header, .export-header,
.calendar-time-line .year, .btn,
.btn-primary, .btn-submit,
.btn-cancel, .btn:focus,
.btn-primary:focus, .btn-submit:focus,
.btn-cancel:focus, .tabItem,
.year-filter ul li a, .modal-title,
.form input, .form select,
.check-subscription-link{
    font-size: 16px !important;
}
}
@media (max-width: 360px){
    body, .tabItem,
    .tab-active, .form input, .form select,
    .next-event, .subscription-header, .export-header,
    .calendar-time-line .year, .btn,
    .btn-primary, .btn-submit,
    .btn-cancel, .btn:focus,
    .btn-primary:focus, .btn-submit:focus,
    .btn-cancel:focus, .tabItem,
    .year-filter ul li a, .modal-title,
    .form input, .form select,
    .check-subscription-link{
        font-size: 14px !important;
    }
    }
@media (max-width: 400px){
.eupagination > li > a, .eupagination > li > span {
    font-size: 14px !important;
    }

}
@media (max-width: 380px) {
    .headline .headline-right {
      float: none;
      margin-top: -0.47em;
    }
  }
  @media (max-width: 320px) {
    .subscription-section .subscription-header {
      text-align: center !important;
      width: 100% !important;
      float: none !important;
    }
    .subscription-section .btn-subscribe-wrapper {
        text-align: center;
    }
  }


  .main-heading {
    color: #004678;
    font-family: "Acumin" !important;
  }

  .btn.btn-default.btn-cancel, .btn.btn-primary.btn-submit {
    padding: 10px !important;
    width: 139px;
    margin: 5px !important;
  }
  .filter-type .selected .type-filter-name{
    color: #004678 !important;
  }
  .year-filter .selected a, .year-filter ul li a:hover {
    background: #004678;
    color: #FFFFFF !important;
    border: 0.08em solid #004678;
  }
