@font-face {
    font-family: DINPro;
    src: url('../fonts/DINPro-Regular.woff') format('woff'),
         url('../fonts/DINPro-Regular.ttf') format('truetype');
}

@font-face {
    font-family: Calluna;
    src: url('../fonts/Calluna-Regular.woff') format('woff'),
         url('../fonts/Calluna-Regular.ttf') format('truetype');
}

/*.english:lang(hu) {
    display: none;
}

.magyar:lang(en) {
    display: none;
}*/

body {
    font-family: "DINPro", Arial, Helvetica, sans-serif;
    text-align: left !important;
}

h1, h2, h3, h4, h5, h6, #t4-topbar {
    font-family: "Calluna", Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.com-users-login__remember,
.com-users-login__options {
  	display: none;
}

/* scss overrides */
.page-header h2 a,
.pagination a {
  color: #a21d21;
}

.page-header h2 a:hover,
.page-header h2 a:focus,
.pagination a:hover,
.pagination a:focus {
  color: #300205;
}

.page-item.active .page-link {
  background-color: #a21d21;
  border-color: #a21d21;
}

.btn-readmore:hover,
.btn-readmore:focus {
  background-color: #300205 !important;
}

/* TOPBAR */
#t4-topbar {
    background-color: #ce9f52;
}

#t4-topbar i {
    margin-right: 5px;
}

#t4-topbar .topbar-r {
    text-align: right;
}

.topbar-r .language-switcher {
    filter: grayscale(100%);
}

.topbar-r .language-switcher:hover {
    filter: grayscale(0%);
}

.topbar-r .language-switcher img {
    padding-bottom: 5px;
}

.topbar-r .glossza img {
  	margin-top: -7px;
}

/* HEADER */
#t4-header .container {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

#t4-header .logo-img {
    max-height: 40px;
}

.header-block-1 .navbar-brand {
	-ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}		


/* INSTITUTE MENU */
#t4-institute-menu {
    margin-bottom: 2px;
}

#t4-institute-menu .navbar {
    padding-left: 0;
    padding-right: 0;
}

#t4-institute-menu .nav {
    width: 100%;
}
	
#t4-institute-menu .navbar {
	padding: .5rem 1rem;
}

#t4-institute-menu .nav-item {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    text-align: center;
}

#t4-institute-menu .nav-item a {
    background-color: #a21d21;
    color: white;
    margin: 0 5px;
    border-radius: .25rem;
}

#t4-institute-menu .nav-item a:hover,
#t4-institute-menu .nav-item a:focus {
    background-color: #300205;
}

#t4-institute-menu .mega-caption {
  font-size: 0.7rem;
}

/* FLAG */
#t4-flag {
  height: 6px;
  background-color: #ffffff;
  border-top: 2px solid #d0151c;
  border-bottom: 2px solid #198266;
}

/* MAIN NAV */
#t4-mainnav {
  	z-index: 20;
}

#t4-mainnav .navbar,
#t4-mainnav .navbar ul {
    width: 100%;
}

#t4-mainnav .nav-item {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 3;
    text-align: center;
}

.t4-palette-mainnav .nav > li a, 
.t4-palette-mainnav .nav > li .nav-link {
    text-shadow: 2px 2px #eee;
}

#t4-mainnav .navbar-nav > .nav-item:first-child {
    flex-grow: 1;
    width: 40px !important;
    height: 44px;
    overflow: hidden;
    color: #ffffff;
}

#t4-mainnav .navbar-nav > .nav-item:first-child a {
    color: #ffffff;
    text-shadow: none;
}

#t4-mainnav .navbar-nav > .nav-item:first-child a i {
    color: #ce9f52;
    text-shadow: 2px 2px #eee;
}

#t4-mainnav .navbar-nav > .nav-item:first-child a:hover i,
#t4-mainnav .navbar-nav > .nav-item:first-child a:focus i,
#t4-mainnav .navbar-nav > .nav-item:first-child a:active i {
    color: #300205;
}

.dropdown-menu li a,
.dropdown-menu li span {
    text-align: left;
}

.t4-megamenu .dropdown-menu li > a, .t4-megamenu .dropdown-menu li > .nav-link, .t4-megamenu .dropdown-menu li .dropdown-item {
    color: rgba(0, 0, 0, 0.7) !important;
}

.t4-megamenu .dropdown-menu li > a:hover, .t4-megamenu .dropdown-menu li > a:focus, .t4-megamenu .dropdown-menu li > a:active, .t4-megamenu .dropdown-menu li > .nav-link:hover, .t4-megamenu .dropdown-menu li > .nav-link:focus, .t4-megamenu .dropdown-menu li > .nav-link:active, .t4-megamenu .dropdown-menu li .dropdown-item:hover, .t4-megamenu .dropdown-menu li .dropdown-item:focus, .t4-megamenu .dropdown-menu li .dropdown-item:active {
    background-color: #f8f9fa;
    color: rgba(0, 0, 0, 0.8) !important;
}

.t4-megamenu .dropdown-menu li.active > a,
.t4-megamenu .dropdown-menu li.active > a:hover,
.t4-megamenu .dropdown-menu li.active > a:focus {
  	color: #300205 !important;
}

/* Scroll Menu */
.scrollToItem .fa-chevron-down {
  font-size: small;
}

.scrollToItem a:hover,
.scrollToItem a:focus {
  color: #a21d21 !important;
}

.scrollToItem a:hover i.fas,
.scrollToItem a:focus i.fas {
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-name: bounce-1;
  animation-timing-function: linear;
}

@keyframes bounce-1 {
  0%   { transform: translateY(0); }
  25%   { transform: translateY(3px); }
  50%  { transform: translateY(0); }
  75%   { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

.home #Mod172 h5, .home #Mod167 h3, .home #Mod163 h3, .home #Mod169 h3 {
  padding-top: 60px;
  margin-top: -60px;  
}

.home #Mod172 h5 {
    padding-top: 75px;
    margin-bottom: 0;
}


/* SLIDESHOW */
#t4-slideshow {
    overflow: hidden;
    /*max-height: 450px;*/
	background-color: #ede9ea;
	border-bottom: 1px solid rgba(52, 58, 64, 0.12);
}

#t4-slideshow .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.djslider-default .navigation-numbers .load-button {
  	width: 24px;
    height: 24px;
    font-size: 12px;
    line-height: 18px;
  	border-radius: 0;
}

/* TOP SEARCH */
#t4-top-search {
  padding-top: 1rem;
}

#t4-top-search .custom {
  text-transform: uppercase;
  font-weight: bold;
}

#t4-top-search .mod-search #mod-search-searchword138,
#t4-top-search .mod-search #mod-search-searchword154 {
  margin-left: auto;
}


/* MAIN CONTENT */
#t4-main-body {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.article-info dd {
    white-space: normal;
}

blockquote {
  padding: 15px;
  font-size: 1.05rem;
  background-color: #EFEFEF;
  border-left: 10px solid #a21d21;
}

.alert-danger, .alert-error {
    color: #7f231c;
    background-color: #fdd9d7;
    border-color: #fccac7;
    padding: 15px;
    font-size: 1.05rem;
    border-left: 10px solid #a21d21;
}

.badge-secondary {
  	background-color: #ce9f52;
  	margin-bottom: 0;
    padding: 10px;
    font-size: 1.2rem;
    font-family: "Calluna", Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

blockquote > p:last-child,
.badge-secondary > p:last-child {
  	margin-bottom: 0;
}

.blog-featured .item {
    border-top: 5px solid #7b6669;
}

.blog-featured .item > .item-image img {
    width: 100%;
}

.blog-featured .item-content p {
    text-align: left !important;
}

.blog-featured .item-content img {
    clear: both;
    display: block;
    float: none !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1170px;
    max-width: 100%;
}

.blog-featured .item-content h2 a {
    font-weight: bold;
    color: #a21d21;
}

.blog-featured .item-content h2 a:hover,
.blog-featured .item-content h2 a:focus {
    color: #300205;
}

.blog-featured .item-content > span.label {
  	display: none;
}

.items-row .item .item-title {
    font-size: 1.2rem !important;
}

.com-content-category-blog .cols-3 .page-header h2 {
  font-size: 1.25rem;
  font-weight: bold;
}

/* BTK Blog style */
.evfordulo-wrap {
  position: relative;
}

.evfordulo-wrap .evfordulo-img {
  width: 75%;
}

.evfordulo-wrap:nth-child(even of .evfordulo-wrap) .evfordulo-img {
  margin-left: 25%;
}

.evfordulo-wrap:nth-child(odd of .evfordulo-wrap) .evfordulo-img {
  margin-left: 0;
}

.evfordulo-wrap .evfordulo-content-wrap {
  position: absolute;
  box-shadow: rgba(0, 0, 0, 0.1) 10px 10px 10px;
  bottom: 10%;
  top: 10%;
  right: 0px;
  left: auto;
  width: 60%;
  background-color: rgba(255, 255, 255, .85);
  padding-top: 30px;
  padding-right: 30px;
  padding-bottom: 30px;
  padding-left: 30px;
}

.evfordulo-wrap:nth-child(even of .evfordulo-wrap) .evfordulo-content-wrap {
  right: auto;
}

.evfordulo-content {
  overflow:hidden;
  height: 100%;
}

.evfordulo-content .article-info {
  margin: 0;
  margin-bottom: 10px;
}

.evfordulo-content h2 {
  margin-top: 0;
  font-size: 26px;
  line-height: 1.2;
}

/* BTK Videos style */
.btkvideos .page-header h2,
.btkvideos .categories-list h2 {
  font-size: 1.4rem;
  line-height: 1.1;
}

/* BTK media style */
.btkmedia-grid {
    margin: 0;
    margin-bottom: 15px;
    padding: 0;
    padding-bottom: 15px;
    list-style: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.btkmedia-image {
    text-align: center!important;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 0;
}

.btkmedia-image .pull-left.item-image {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
}

.btkmedia-content {
    padding-right: 0;
}

.btkmedia-content .article-aside {
    justify-content: start;
}

.btkmedia-content .item-intro {
    margin-bottom: 15px;
}

.btkmedia-content .readmore {
    margin-top: 0;
}

.btkmedia .items-row .item {
    padding-top: 0px;
    padding-bottom: 0px;
}

.btkmedia .page-header h2 {
    font-size: 24px;
}

/* BANNERS */ 
.bannergroup {
  	display: flex;
  	flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
}

.bannergroup .banneritem {
  	margin-bottom: 11px;
}

/* EDOCMAN */
a.edocman-category-title-link,
#edocman-categories .edocman-box-heading h3, 
#edocman-documents .edocman-box-heading h3, 
#edocman-document-page .edocman-box-heading h3 {
    font-size: 24px;
    line-height: 1;
}

a.edocman-category-title-link small {
    white-space: nowrap;
}

.edocmansearch {
	margin-bottom: 15px;
}

.edocmansearch td {
	border-top: none;
	padding-top: 5px;
	padding-bottom: 5px;
}

.edocmansearch input[type=text],
.edocmansearch select {
	display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    -o-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

#edocman-categories .edocman-category, #edocman-documents .edocman-document {
  flex-direction: column;
}


/* JEvents */
.jev_toprow div.previousmonth, .jev_toprow div.nextmonth {
    background-color: #a21d21;
    border: 1px solid #a21d21;
}

.jev_toprow div.currentmonth {
    border-top: 1px solid #a21d21;
    border-bottom: 1px solid #a21d21;
    padding-bottom: 3px;
}

.nav-items > div {
    border: 1px solid #a21d21;
}

.nav-items > div:first-child {
    border-left: 1px solid #a21d21;
}

.nav-items > div:last-child {
    border-right: 1px solid #a21d21;
}

#jevents_body {
  	padding: 10px;
}

#jevents_body .nav-items div.active a, .jev_header2 .active a {
    background-color: #a21d21;
}

#jevents_body .cal_today a.cal_daylink {
    background-color: #a21d21;
}

#jevents_body .cal_today a.cal_daylink:hover {
    border-left: 1px solid #a21d21;
    border: 1px solid #a21d21;
    color: #a21d21;
}

.eventdetails_body .jev_eventd_location {
  display: none;
}

td.mod_events_latest_first, td.mod_events_latest {
  	padding: 10px 8px !important;
}

/* Weblinks */
.weblink-category .category li {
  padding: 0.5rem;
}

.weblink-category .category li > p {
  margin-bottom: 0.5rem;
}

.weblink-category .category li > p:last-child {
  margin-bottom: 0;
}

.weblink-category .category li a.category {
  color: #a21d21;
}

.weblink-category .category li a.category:hover,
.weblink-category .category li a.category:focus {
  color: #300205;
}

.weblink-category .badge-info,
.categories-list .badge-info {
  background-color: #ce9f52;
}

.weblink-category .item-image img {
  max-width: 200px;
}

.weblink-category .pagination .counter {
  flex: 1;
}

/* Articles module: media */
.blog-list .item-title a:hover, 
.blog-list .item-title a:focus, 
.blog-list .item-title a:active {
  color: #a21d21 !important;
  text-decoration: underline;
}

/* EB Horizontal Accordion */
.accordion_5 .c-accordion__aside {
  padding: 1rem 0;
  right: 0.5rem;
}

.accordion_5 .c-accordion__content {
  width: 75%;
}

.accordion_5 .c-accordion__aside:before {
  margin-right: -0.5rem;
}

.login-wrap .other-links,
.login-wrap .login-remember {
  display: none;
}


/* SEARCH ARCHIVES */
#t4-search-archives {
  padding-bottom: 3rem;
}

/* PENNA BANNER */
#t4-penna {
  background-color: #EFEFEF;
}

/* MAIN BOTTOM */
#t4-main-bottom {
  padding-bottom: 3rem;
}

#t4-main-bottom .blog-list,
#t4-main-bottom .blog-list a.item-image {
  margin-bottom: 6px;
}

#t4-main-bottom .other-media,
#t4-main-bottom .other-video {
  margin-top: 0;
}

/* BOTTOM SLIDESHOW */
#t4-bottom-slideshow .container-fluid {
    padding: 0;
}

.cis_main_wrapper_canvas {
  margin: 1rem 0;
}

/* FOOTER */
.footnav-title {
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 3px;
}

#t4-footnav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.copyright {
    margin-bottom: .75rem;
    margin-top: .75rem;
}

#t4-footnav {
    background-color: #efefef;
    background-image: url('images/btk-logo-ures.png');
    background-repeat: no-repeat;
    background-position: right 5% bottom 15%;
}

.t4-palette-gray .t4-module .module-title {
    color: #6c757d;
    border-bottom: 1px solid rgba(52, 58, 64, 0.12);
    font-size: 1rem;
    font-weight: bold;
}

.t4-footnav .t4-module .module-title span {
    border: 0;
    padding: 0 0 0.66667rem;
    letter-spacing: 0.5px;
    font-weight: 600;
}


/* --- RESPONSIVITY --- */

@media (max-width: 767px) {
  .topbar-l, .topbar-r {
    text-align: center !important;
  }
	
  .header-wrap {
	text-align: center;
  }
  
  .eb_horizontal_accordion_gallery {
    display: none;
  }
  
  .cis_main_wrapper_canvas {
    margin: 0;
  }
  
  .bannergroup .banneritem {
  	flex: 0 100%;
  }
}

@media (min-width: 768px) {
    .container {
        max-width: 750px;
    }
  
  	.bannergroup .banneritem {
  		flex: 0 32%;
	}
}

@media (min-width: 992px) {

	.layout-btk-home #t4-header {
    	border-bottom: 1px solid rgba(52, 58, 64, 0.12);
    	margin-bottom: 0;
	}
    .container {
        max-width: 970px;
    }
	
	#t4-institute-menu .navbar {
		font-size: 14px;
	}
}

@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
	
	#t4-institute-menu .navbar {
		font-size: 18px;
	}
}

