/* All Responsive
================================================== */ 
@media only screen and (max-width: 1100px) {
	#horizontal-menu li a, #horizontal-menu li button {
	  font-size: 1em;
	}
}
/*Mobile*/
@media only screen and (max-width: 1024px) {
	#block-crt-fonavigacio,
	#block-crt-searchblock-header,
	.region-header-right,
	#block-crt-lablec,
	#block-crt-searchblock-mobile .form-actions {
		display: none;
	}
	#head {
		padding-top: 10px;
		padding-bottom: 10px;
		background-position: top center;
	}
	#block-crt-logo .site-logo {
		margin: 0;
	}
	#head .region-header-center {
		flex: 0 0 70%;
		padding: 0;
		align-items: center;
		justify-content: end;
	}
	#block-crt-nevnap .content{
		line-height: 120%;
		text-align: right;
		margin: 0 10px 0 0;
	}
	.breadcrumb {
		padding: 5px 0;
	}
	#navigation {
		position: fixed;
		top: auto;
		left: 0;
		bottom: 0;		
		width: 100%;
		z-index: 1100;
		background: #075813;
		margin: 0;
		box-shadow: none;
	}
	.region-navigation {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding-top: 5px;
		padding-bottom: 5px;
	}
	#block-crt-mobilehome,
	#block-crt-mobilemenu,
	#block-crt-searchblock-mobile {
		display: block;
	}
	#block-crt-mobilehome p {
		margin: 0;
	}
	#block-crt-mobilehome a {
		display: block;
		line-height: 0;
	}
	#block-crt-searchblock-mobile .form-item-search-api-fulltext {
		position: static;
		float: none;
		background: transparent;
		padding: 0;
		margin: 0;
	}
	#block-crt-searchblock-mobile .form-item-search-api-fulltext label {
		width: 30px;
		height: 30px;
		background: transparent url(../images/search-mobile.svg) no-repeat center center;
		clip: inherit;
		display: block;
		text-indent: 200px;
		cursor: pointer;
		overflow: hidden;
	}
	#block-crt-searchblock-mobile .form-item-search-api-fulltext input{
		display: none;
		position: absolute;
		top: 0px;
		left: 0px; 
		right: 0px;
		width: 90%;
		background: #fff;
		transition: all 0.3s ease 0s;
		margin: 0 auto;
		border: 5px solid #515151;
		border-radius: 5px;
		height: 0px;
		line-height: 150%;
		box-sizing: border-box;
		padding: 0 0 0 10px;
		color: #515151;
	}
	#block-crt-searchblock-mobile .form-item-search-api-fulltext input.focus {
		height: 50px;
		top: -60px;
		display: block;
		outline: none;
	}
	.frontpage #main-wrap  {
		background: rgba(0, 0, 0, 0) url("../images/frontbg1200.jpg") no-repeat scroll center center;
	}
	.frontpage #content {
		padding-top: 30px;
	}
	.frontpage .fblock {
		margin: 0 1% 30px;
		width: 29%;
	}
	.frontpage .fblock .img {
		position: static;
		display: block;
		margin: 0 auto 10px;
	}
	.frontpage .fblock h2 {
		font-size: 1.25em;
		line-height: 110%;
		margin-left: 0;
		text-transform: none;
		text-align: center;
	}
	.frontpage .fblock .cont {
		display: none;
	}
	#main.with-sidebar {
		flex-wrap: wrap;
	}
	.with-sidebar #content {
		width: 100%;
		padding: 20px 0;
	}
	.with-sidebar #sidebar {
		width: 100%;
		padding: 0 0 20px;
	}
	#sidebar .block .field--name-body {
		text-align: center;
	}
	footer {
		margin-bottom: 50px;
	}
	.view-display-id-hirblock .view-content,
	.view-display-id-programblock .view-content,
	.view-display-id-gallblock .view-content {
		padding: 15px 0px;
	}
}

@media only screen and (max-width: 640px) {
	h1 {
		font-size: 1.250em;
	}
	h2 {
		font-size: 1.125em;
	}
	h3 {
		font-size: 1.125em;
	}
	.frontpage .fblock {
	  min-height: inherit;
	}
	.frontpage .fblock .img {
	  background-size: 199px 404px;
	  height: 60px;
	  width: 60px;
	}
	.frontpage .fblock h2 {
	  font-size: 1em;
	}
	.frontpage .onk .img {
	  background-position: -139px -137px;
	}
	.frontpage .hiv .img {
	  background-position: 0 -137px;
	}
	.frontpage .int .img {
	  background-position: -69px 0;
	}
	.frontpage .ugy .img {
	  background-position: -139px -68px;
	}
	.frontpage .hir .img {
	  background-position: -69px -137px;
	}
	.frontpage .kul .img {
	  background-position: 0 -69px;
	}
	.frontpage .tar .img {
	  background-position: -139px 0;
	}
	.frontpage .tur .img {
	  background-position: -69px -69px;
	}
	.frontpage .onk .img:hover, .frontpage .onk .img:focus {
	  background-position: -139px -344px;
	}
	.frontpage .hiv .img:hover {
	  background-position: 0 -344px;
	}
	.frontpage .int .img:hover {
	  background-position: -69px -207px;
	}
	.frontpage .ugy .img:hover {
	  background-position: -139px -275px;
	}
	.frontpage .hir .img:hover {
	  background-position: -69px -344px;
	}
	.frontpage .kul .img:hover {
	  background-position: 0 -276px;
	}
	.frontpage .tar .img:hover {
	  background-position: -139px -207px;
	}
	.frontpage .tur .img:hover {
	  background-position: -69px -276px;
	}
	.frontpage .inn .img:hover {
	  background-position: 0 -207px;
	}
	img.img-left,
	img.align-left,
	.field--type-text-long img[align="left"],
	.field--type-text-long img[style*="float: left"],
	.field--type-text-long img[style*="float:left"],
	.view-display-id-hirek .bevkep,
	.view-programok .bevkep,
	.view-calendar .views-row .bevkep,
	.view-display-id-block_1 .bevkep,
	.field--name-field-hirbevkep {
		max-width: 30%;
		margin: 5px 10px 5px 0;
	}
	.view-display-id-hirek .views-row,
	.view-display-id-fotogall .views-row,
	.view-programok .views-row,
	#crt_views_block__news_block_1 .views-row {
		margin-bottom: 20px;
		padding-bottom: 10px;
	}
	img.img-right,
	img.align-right,
	.field--type-text-long img[align="right"],
	.field--type-text-long img[style*="float: right"],
	.field--type-text-long img[style*="float:right"]{
		margin: 5px 0px 5px 10px;
	}
}
@media only screen and (max-width: 497px) {
	#head, .region-navigation, .region-top, #main, .region-bottom, .region-footer {
		padding-left: 10px;
		padding-right: 10px;
	}
	#head .region-header-left {
		flex: 0 0 40%;
	}
	#head .region-header-center {
		flex: 0 0 60%;
	}
	#head {
		background-size: auto 100%;
	}
	.frontpage #content {
		padding-top: 30px;
		padding-bottom: 10px;
	}
	.frontpage .fblock {
		margin: 0 1% 20px;
		width: 29%;
	}

}
@media only screen and (max-width: 417px) {

}
@media only screen and (max-width: 350px) {

}
@media(max-width: 48rem) {
  .view .calendar-view-table thead,
  .view .calendar-view-table .next-month,
  .view .calendar-view-table .previous-month {
		display: flex;
  }
  .view .calendar-view-table,
  .view .calendar-view-table tr,
  .view .calendar-view-table thead,
  .view .calendar-view-table tbody {
		grid-template-columns: repeat(var(--calendar-view-columns), 1fr);
  }
  .view .calendar-view-table tr {
		grid-column: 1 / -1;
  }
  .view .calendar-view-pager {
		flex-direction: row;
  }
}
