@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 .cb-magyar {
  display: none !important;
}

.magyar .cb-angol {
  display: none !important;
}

.cb_template .border.cbCanvasLayout {
  padding-top: 130px;
}

.rl_sliders .rl_sliders-group.active .accordion-body.show {
  display: block;
  height: auto;
}

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;
  	clear: both;
}

.page-header h2, .categories-list h2 {
  font-size: 32px;
}

.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;
}

.container {
  --t4-gutter-x: 1.75rem;
}

#t4-mainnav .container {
  --t4-gutter-x: 0;
}

.t4-megamenu .navbar-nav>li>a, .t4-megamenu .navbar-nav>li>.nav-link {
    padding: .5rem 1rem;
    height: inherit;
}

.t4-offcanvas .t4-off-canvas-body .t4-module .module-inner {
    padding: 0 .5rem;
}

.t4-offcanvas-toggle {
    padding: 10px 0;
}

.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;
}

/* INFO */
#t4-info {
  padding: 5px;
  border-bottom: 1px solid #e9ecef;
}

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

.t4-header .t4-row {
    align-items: center;
}

#t4-header img {
    max-height: 100px;
}

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

/* 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;
  	background-color: #ffffff;
}

#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 a i {
    color: #a21d21;
    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 {
    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 .navbar-nav > li.active > a, 
.t4-megamenu .navbar-nav > li.active > .nav-link,
.t4-megamenu .dropdown-menu li.active > a {
  	color: #ce9f52 !important;
}

#t4-mainnav .navbar-nav > .nav-item:first-child {
  overflow: hidden;
}

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

#t4-mainnav .navbar-nav > .nav-item:first-child a span.menu-item-title {
  display: none;
}

.syndicate-module .icon-feed:before {
  content: "";
}


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

/* .sprocket-features-content {
    top: 350px !important;
    width: 100% !important;
    margin: 0 !important;
}

.sprocket-features-img-container > a {
	display: block;
}

.sprocket-features-img-container > a:before {
    content: "";
    background: linear-gradient(90deg, #ede9ea, transparent 20% 80%, #ede9ea);
    width: 100%;
    height: 450px;
    position: absolute;
    left: 0;
    top: 0;
}

.sprocket-features-arrows .arrow {
    top: 385px;
}

.sprocket-features-arrows .arrow.next {
    right: 10px !important;
}

.sprocket-features-arrows .arrow.prev {
    left: 10px !important;
}

.sprocket-features-pagination {
    top: 425px;
}

.sprocket-features-title {
    font-size: 1.5em !important;
} */

/* SIDEBAR L */
#t4-main-body .sidebar-l .navbar {
  padding: 1rem 0;
}

#t4-main-body .sidebar-l .navbar .navbar-nav .dropdown.parent > a {
  padding-left: 0;
}

#t4-main-body .sidebar-l .navbar .dropright .dropdown-toggle::after {
  display: none;
}

#t4-main-body .sidebar-l .navbar .navbar-nav .dropdown-menu {
  display: block;
  border: none;
  min-width: 0;
  padding: 0;
  background-color: transparent;
}

#t4-main-body .sidebar-l .navbar .navbar-nav .current a {
  color: #a21d21;
}

#t4-main-body .sidebar-l .navbar .dropdown-item {
  white-space: normal;
}

#t4-main-body .sidebar-l .navbar .dropdown-item.active,
#t4-main-body .sidebar-l .navbar .dropdown-item:active,
#t4-main-body .sidebar-l .navbar .dropdown-item:hover,
#t4-main-body .sidebar-l .navbar .dropdown-item:focus {
  background: transparent;
  color: #a21d21;
}

#t4-main-body .sidebar-l .navbar .navbar-nav a.separator {
  cursor: default;
}

#t4-main-body .sidebar-l .navbar-nav,
#t4-main-body .sidebar-l .t4-module .nav li, 
#t4-main-body .sidebar-l .t4-card .nav li,
#t4-main-body .sidebar-l .moduletable .nav li,
#t4-main-body .sidebar-l .module_menu .nav li,
#t4-main-body .sidebar-l .dropdown-menu {
  width: 100%;
  max-width: 100%;
}



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

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

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.5rem !important;
}

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

.wf-mediabox-has-float {
    padding: 2px;
    margin: 5px;
    border: 1px solid;
}

.category-desc {
  	padding: 0;
  	border: 0;
  	color: #212529;
}

/* Content sliders */
div.jwts_toggleControlContainer a.jwts_toggleControl {
  font-size: unset;
  background: #ffffff;
  padding: 10px 4px;
}

div.jwts_toggleControlContainer a.jwts_toggleOff span.jwts_toggleControlTitle {
  background: url("images/arrows.png") no-repeat 0 5px;
}

div.jwts_toggleControlContainer a.jwts_toggleOn span.jwts_toggleControlTitle {
  background: url("images/arrows.png") no-repeat 0 -141px;
}

.jwts_toggleControlNotice {
  display: none !important;
}

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

.evfordulo-img {
  width: 75%;
}

.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-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;
}

/* 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;
}

/* 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;
}

/* Community Builder */
#cbUserTable .cbUserListFieldLine h6 {
    font-family: "DINPro", Arial, Helvetica, sans-serif;
}

.cb_template .border.cbCanvasLayout {
    border-top: 0 !important;
}

.cbPosCanvasTop {
    display: none !important;
}

.cb_template .position-absolute.cbPosCanvasPhoto {
    position: relative !important;
    margin-top: 20px;
}

.cbProfile {
  border-top: 1px solid #dee2e6 !important;
}

.cbProfile a,
#cbUserTable a,
.cb_template a {
    color: #a21d21;
}

.cbProfile a:hover,
.cbProfile a:focus,
#cbUserTable a:hover,
#cbUserTable a:focus,
.cb_template a:hover, 
.cb_template a:focus {
    color: #300205;
}

.cbProfileTitle {
    color: #a21d21;
}

.cbTabsMenuNavBar.mb-3 {
    margin-bottom: 0 !important;
}

.cb_template .navbar-light .navbar-nav .nav-link.active {
    color: #a21d21;
}

.cb_template .navbar-light .navbar-nav .nav-link:hover, .cb_template .navbar-light .navbar-nav .nav-link:focus {
    color: #300205;
}

.cbTabsContent {
    border: 1px solid #dee2e6;
    border-top: 0;
    padding: 10px;
    background-color: #ffffff;
}

.cbTabsContent .form-control-plaintext h6 {
    font-family: "DINPro", Arial, Helvetica, sans-serif;
}

.cb_template h4, .cb_template .h4 {
    font-size: 1.1rem;
    margin-top: 1.2rem;
    margin-bottom: 0;
}

.cb_template h4:first-child, .cb_template .h4:first-child {
    margin-top: 1rem;
}

.cb_template p {
    margin-bottom: 0;
}

.cbUserListDescription p {
  	margin-bottom: 1rem;
}

.cb_template .cb_field h2, .cb_template .cb_field .h2 {
    font-family: "DINPro", Arial, Helvetica, sans-serif;
    font-size: 1rem;
}

.cbPoweredBy, .cb_template .cbUserListResultCount {
    display: none;
}

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

.cb_template .page-link {
    color: #a21d21;
}

.cb_template .page-link:hover {
    color: #300205;
}

.cb_template table.table tr th {
    background-color: #efefef!important;
    color: #232323!important;
    border-bottom: 3px solid #a21d21!important;
    border-right: 5px solid #fff!important;
}

.cb_westernname {
  	font-family: "Calluna", Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    clear: both;
  	font-size: 23px;
  	color: #a21d21;
  	margin-bottom: 0!important;
}

.cbUserListRow {
  	cursor: auto !important;
}

.cbUserListFC_formatname a {
  	font-family: "Calluna", Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  	font-weight: bold;
    font-size: 1.2rem;
}

/*.cbUsersList #adminForm {
  	display: flex; 
  	flex-direction: column;
}

.cbUsersList #adminForm .cbUserListTitle {
  	order: 1;
}

.cbUsersList #adminForm #cbUserTable {
  	order: 2;
  	margin-bottom: 2rem;
}

.cbUsersList #adminForm .cbUserListHead {
  	order: 3;
}*/

.cbFieldsContentsTab label {
    font-weight: bold;
}

/* Digitalis keptar */
div.digit-keptar:nth-of-type(2n+1) {
  	flex-direction: row-reverse;
}


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

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


/* BOTTOM SLIDESHOW */
#t4-bottom-slideshow .container-fluid {
    padding: 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;
}

.t4-footnav .t4-module .navbar .nav > li a.nav-link {
    padding: 0;
}


/* --- RESPONSIVITY --- */

@media (max-width: 767px) {
  .topbar-l, .topbar-r {
    text-align: center !important;
  }
	
  .header-wrap {
	text-align: center;
  }
}

@media (min-width: 768px) {
    .container {
        max-width: 750px;
    }
}

@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;
	}
  
    #t4-mainnav .navbar-nav > .nav-item:first-child {
    	/* flex-grow: 1; */
    	width: 40px !important;
    }
}

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