/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/*/

/*
* What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team.
*/

/* ==========================================================================
	Base styles: opinionated defaults
	==========================================================================*/

html {
	position: relative;
	min-height: 100%;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body {
	height: 100%;
		padding-top: 128px;
}
body.index {
	padding-top: 0;
}

@media (max-width: 767px) {
	body {
		padding-top: 110px;
	}
}

/*
* Remove text-shadow in selection highlight:
* https://twitter.com/miketaylr/status/12228805301
*
* These selection rule sets have to be separate.
* Customize the background color to match your design.
*/

::-moz-selection {
	background: #2c5697;
	color: #ffffff;
	text-shadow: none;
}

::selection {
	background: #2c5697;
	color: #ffffff;
	text-shadow: none;
}

a:link {-webkit-tap-highlight-color: #2c5697;}

/*
* A better looking default horizontal rule
*/

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 2px solid #999999;
	margin: 2em 0;
	padding: 0;
}

/*
* Remove the gap between audio, canvas, iframes,
* images, videos and the bottom of their containers:
* https://github.com/h5bp/html5-boilerplate/issues/440
*/

audio,
canvas,
iframe,
img,
svg,
video {
	vertical-align: middle;
}

/*
* Allow only vertical resizing of textareas.
*/

textarea {
	resize: vertical;
}

/* ==========================================================================
	Author's custom styles
	==========================================================================*/

/* BOOTSTRAP OVERRIDE */

h2, .h2, h4, .h4, h5, .h5, h6, .h6 {
	font-weight: 400;
}

h4, .h4 {
	color: #999999;
}
h5, .h5, h6, .h6 {
	font-family: "Domine", serif;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
	margin-top: 0;
}

@media (max-width: 767px) {
	h1, .h1 {
		font-size: 40px;
	}
	h2, .h2 {
		font-size: 30px;
	}
}

a:focus,
a:active:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
	outline: none;
}

a {
	-webkit-transition: all .3s;
	-o-transition: all .3s;
	transition: all .3s;
}

blockquote, blockquote p {
	color: #999999;
}

.popover {
	-webkit-border-radius: 0;
	        border-radius: 0;
	padding: 0;
	border: none;
	-webkit-box-shadow: none;
	        box-shadow: none;
}
.popover.top {
	margin-top: -1px;
}
.popover-title {
	-webkit-border-radius: 0;
	        border-radius: 0;
	border-bottom: none;
	color: #ffffff;
	font-size: 18px;
}
.popover.top>.arrow {
	pointer-events: none;
}

.page-header {
	margin-top: 22px;
}

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

.index .navbar {
	display: none;
}

.navbar {
	font-family: "Archivo Narrow", sans-serif;
	font-weight: 700;
	border-bottom: 0;
	-webkit-box-shadow: 0px 10px 5px 1px rgba(0, 0, 0, 0.25);
	-moz-box-shadow:    0px 10px 5px 1px rgba(0, 0, 0, 0.25);
	box-shadow:         0px 10px 5px 1px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
	.navbar-nav>li>a {
		font-size: 16px;
	}
}

.navbar-brand {
	padding-top: 21px;
	padding-bottom: 21px;
}
@media (max-width: 767px) {
	.navbar-brand {
		padding-left: 5px;
		padding-right: 5px;
	}
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */



/* CONTENT */

@media (min-width: 768px) {
	.page-wrapper {
		/*display: table;
		width: 100%;
		height: 100%;*/
		position: relative;
		height: 100%;
		min-height: 100%;
	}
	.page-wrapper-inner {
		/*display: table-cell;
		vertical-align: middle;*/
		position: absolute;
  		top: 46%;
  		left: 50%;
  		-webkit-transform: translate(-50%, -50%);
  		    -ms-transform: translate(-50%, -50%);
  		        transform: translate(-50%, -50%);
	}
}

.assets_bg {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

@media (max-width: 991px) {
	.page-wrapper .top-left {
		display: none;
	}

	.page-wrapper .top-right {
		display: none;
	}
}

@media (max-width: 767px) {
	.page-wrapper {
		margin-bottom: 100px;
	}

	.assets_bg {
		display: none;
	}

	.page-wrapper .top-left {
		display: none;
	}
	.page-wrapper .bottom-left {
		display: none;
	}
	.page-wrapper .top-right {
		display: none;
	}
	.page-wrapper .bottom-right {
		display: none;
	}
}

.assets_bg .top-left,
.page-wrapper .top-left {
	position: absolute;
	top: 2%;
	left: 2%;
}
@media (max-width: 991px) {
	.assets_bg .top-left,
	.page-wrapper .top-left {
		top: 40%;
		left: 5%;
	}
}
.assets_bg .bottom-left,
.page-wrapper .bottom-left {
	position: absolute;
	bottom: 5%;
	left: 10%;
}
@media (max-width: 991px) {
	.assets_bg .bottom-left,
	.page-wrapper .bottom-left {
		bottom: 15px;
		left: 15px;
	}
}
.assets_bg .top-right,
.page-wrapper .top-right {
	position: absolute;
	top: 5%;
	right: 5%;
}
@media (max-width: 991px) {
	.assets_bg .top-right,
	.page-wrapper .top-right {
		top: 15px;
		right: 15px;
	}
}
.assets_bg .bottom-right,
.page-wrapper .bottom-right {
	position: absolute;
	bottom: 5%;
	right: 10%;
}
@media (max-width: 991px) {
	.assets_bg .bottom-right,
	.page-wrapper .bottom-right {
		bottom: 15px;
		right: 15px;
	}
}

.slider-index, .slider-timeline, .slider-event-cards {
	display: none;
}
.slick-initialized {
	display: block;
}

.slider-index h1 {
	font-size: 34px;
}
.slider-index h2 {
	font-size: 26px;
}

@media (min-width: 992px) {
	.slider-logo {
		padding-top: 10%;
	}

	.slider-index .slick-slide {
		padding-top: 11%;
		position: relative;
	}

	.slider-index img {
		position: absolute;
		right: 0;
		top: 0;
		z-index: -1;
	}
}
/* @media (max-width: 767px) {
	.slider-index img {
		width: 75%;
	}
} */

.slider-index.slick-slider {
	margin-bottom: 20px;
}

.slider-index .slick-dots {
	text-align: left;
}
.slick-dots li button:before {
	font-size: 14px;
}
.slick-dots li.slick-active button:before,
.slick-dots li button:hover:before, .slick-dots li button:focus:before {
	opacity: .50;
}

.move {
	position: relative;
	top: -22px;
}

.scroll-down {
    text-align: center;
    width: 34px;
    height: 58px;
    display: inline-block;
    -webkit-border-radius: 20px;
            border-radius: 20px;
    border: 2px solid #555;
    line-height: 50px;
	margin-top: -16px;
}

.scroll-down i {
    height: 10px;
    width: 4px;
    background: #555;
    display: inline-block;
    -webkit-border-radius: 3px;
            border-radius: 3px;
    -webkit-animation-name: fadebounce;
    -moz-animation-name: fadebounce;
    -ms-animation-name: fadebounce;
    -o-animation-name: fadebounce;
    animation-name: fadebounce;
    -webkit-animation-duration: 3s;
    -moz-animation-duration: 3s;
    -ms-animation-duration: 3s;
    -o-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -ms-animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

@-moz-keyframes fadebounce {
0% { -moz-transform:translateY(0); transform:translateY(0); opacity:1; }
50% { -moz-transform:translateY(25px); transform:translateY(25px); opacity:1; }
100% { -moz-transform:translateY(0); transform:translateY(0); opacity:1; }
}
@-webkit-keyframes fadebounce {
0% { -webkit-transform:translateY(0); transform:translateY(0); opacity:1; }
50% { -webkit-transform:translateY(25px); transform:translateY(25px); opacity:1; }
100% { -webkit-transform:translateY(0); transform:translateY(0); opacity:1; }
}
@-o-keyframes fadebounce {
0% { -o-transform:translateY(0); transform:translateY(0); opacity:1; }
50% {-o-transform:translateY(25px);transform:translateY(25px);opacity:1; }
100% {-o-transform:translateY(0);transform:translateY(0);opacity:1; }
}
@-ms-keyframes fadebounce {
0% { -ms-transform:translateY(0); transform:translateY(0); opacity:1; }
50% {-ms-transform:translateY(25px);transform:translateY(25px);opacity:1; }
100% {-ms-transform:translateY(0); transform:translateY(0); opacity:1; }
}
@keyframes fadebounce {
0% { -webkit-transform:translateY(0); transform:translateY(0); opacity:1; }
50% {-webkit-transform:translateY(25px);transform:translateY(25px);opacity:1; }
100% {-webkit-transform:translateY(0);transform:translateY(0);opacity:1; }
}

.container.timeline {
	margin-top: -40px;
	margin-bottom: 40px;
}

.slider-timeline {
	margin-left: 36px;
	margin-right: 36px;
}
.slider-timeline .day {
	min-width: 40px;
	height: 40px;
	line-height: 40px;
	font-family: "Archivo Narrow", sans-serif;
	font-size: 18px;
	text-align: center;
	background-color: #2c5697;
	color: #ffffff;
	cursor: default;
}
.slider-timeline .day.month {
	background-color: #2c5697;
}
.slider-timeline .day.weekendx {
	background-color: #c1c1c1;
}
.slider-timeline .day.has-event {
	background-color: #f6be00;
}
.slider-timeline .day.has-event.has-event-connecting,
.popover-title.popover-title-connecting {
	background-color: #accb53;
}
.slider-timeline a.day:hover,
.slider-timeline a.day:focus {
	text-decoration: none;
}
.slider-timeline a.day.has-event {
	cursor: pointer;
}
.slider-timeline a.day.has-event:hover,
.slider-timeline a.day.has-event:focus {
	color: #2c5697;
}

.slick-prev:before, .slick-next:before {
	color: #2c5697;
	opacity: 1;
	font-size: 24px;
}

.events-container {
	background: transparent url('../img/hazak_bg.png') repeat-x center bottom;
	margin-bottom: 50px;
}

@media (-webkit-min-device-pixel-ratio: 2), (-o-min-device-pixel-ratio: 2/1), (min-resolution: 192dpi) {
	.events-container {
		background: transparent url('../img/hazak_bg@2x.png') repeat-x center bottom;
		-webkit-background-size: 987px 188px;
		        background-size: 987px 188px;
	}
}

.slider-event-cards.slick-slider {
	margin-bottom: 200px;
	/*margin-left: 36px;
	margin-right: 36px;*/
}

.event-card {
	font-family: "Archivo Narrow", sans-serif;
	position: relative;
	background-color: #ffffff;
	margin: 25px;
	text-align: center;
	padding: 15px;
	-webkit-box-shadow: 0px 10px 5px 1px rgba(0, 0, 0, 0.25);
	-moz-box-shadow:    0px 10px 5px 1px rgba(0, 0, 0, 0.25);
	box-shadow:         0px 10px 5px 1px rgba(0, 0, 0, 0.25);
	-webkit-border-radius: 13px;
	        border-radius: 13px;
	cursor: pointer;
	-webkit-transition: all ease .5s;
	-o-transition: all ease .5s;
	transition: all ease .5s;
}
.event-card:hover {
	margin-top: 20px;
	-webkit-box-shadow: 0px 10px 5px 1px rgba(0, 0, 0, 0.15);
	-moz-box-shadow:    0px 10px 5px 1px rgba(0, 0, 0, 0.15);
	box-shadow:         0px 10px 5px 1px rgba(0, 0, 0, 0.15);
}
.event-card .month {
	font-weight: 700;
	text-align: left;
	text-transform: uppercase;
}
.event-card .daytime-wrapper {
	position: absolute;
	top: -10px;
	right: 0;
}
.event-card .day {
	font-size: 76px;
	margin-right: 15px;
	font-weight: bold;
	text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.event-card .time {
	padding: 2px 20px;
	float: right;
	margin-top: -15px;
	margin-right: -15px;
	color: #ffffff;
	font-weight: bold;
}
.event-card img {
	width: 80%;
	margin-bottom: 20px;
}

.event-card hr {
	width: 60%;
	margin: 15px auto;
}
.event-card h3 {
	/*font-size: 24px;*/
	min-height: 72px;
}
.event-card h4 {
	/*font-size: 20px;*/
	min-height: 48px;
}

.event-category-1 .month,
.event-category-1 .day {
	color: #f6be00;
}
.event-category-1 .time {
	background-color: #f6be00;
}
.event-category-2 .month,
.event-category-2 .day {
	color: #2c5697;
}
.event-category-2 .time {
	background-color: #2c5697;
}

.modal-content.event-card {
	margin: 0;
	padding: 0;
	text-align: left;
	background-color: #f6be00;
	color: #ffffff;
	cursor: default;
	border: none;
}
.modal-content.event-card .modal-header {
	padding: 2px 8px;
	border-bottom: 1px solid #ffffff;
	border: none;
}
.modal-content.event-card h4,
.modal-content.event-card h3 {
	min-height: 0;
	color: #ffffff;
}
.modal-content.event-card .time {
	color: #f6be00;
	background-color: #ffffff;
}
.modal-content.event-card .desc {
	font-family: "Domine", serif;
	color: #333;
	margin-top: 80px;
}
.modal-content.event-card .desc hr {
	width: 100%;
	border-color: #ffffff;
}
.modal-content.event-card .modal-footer {
	text-align: left;
	border-top: 1px solid #ffffff;
	border: none;
	padding-top: 0;
}

.modal-header .close {
	position: relative;
	z-index: 99;
}

.modal-body {
	padding-bottom: 0;
}

@media (min-width: 768px) {
  .modal {
    text-align: center;
  }
  .modal:before {
    content: '';
    height: 100%;
    width: 1px;
    display: inline-block;
    vertical-align: middle;
    margin-right: -5px;
  }
  .modal .modal-dialog {
    text-align: left;
    display: inline-block;
    vertical-align: middle;
  }
}

/* .csalad-cikk-container {
	border-left: 3px solid #2c5697;
}*/

article {
	margin-bottom: 40px;
}

.csalad-cikk-container article {
	padding-left: 15px;
	border-left: 3px solid #2c5697;
	margin-bottom: 40px;
}

/* Galéria */

.gallery-link {
	position: relative;
	display: block;
}
.gallery_counter {
	position: absolute;
	background-color: rgba(0,0,0,0.6);
	bottom: 10px;
	padding-top: 3px;
	padding-bottom: 3px;
	padding-right: 6px;
	padding-left: 6px;
	right: 10px;
	color: #ffffff;
}
.gallery-link:hover .gallery_counter {
	background-color: #000;
}

.lb-nav a.lb-next, .lb-nav a.lb-prev {
	opacity: 1;
}

/* FOOTER */

.prefooter {
	margin-top: 50px;
	padding-top: 60px;
	padding-bottom: 0;
	font-family: "Archivo Narrow", sans-serif;
	font-size: 22px;
	color: #ffffff;
	background-color: #999999;
}
.prefooter h4 {
	font-family: "Archivo Narrow", sans-serif;
	color: inherit;
}
.prefooter a {
	color: inherit;
}
.prefooter ul {
	padding-left: 20px;
	border-left: 3px solid #555555;
	margin-bottom: 60px;
}

.footer {
	/*padding-top: 40px;
	padding-bottom: 40px;*/
	background-color: #ffffff;
	border-top: 13px solid #555555;
}

/* ==========================================================================
	Helper classes
	==========================================================================*/

.no-gutter {
	padding-right: 0;
	padding-left: 0;
}
.no-gutter-left {
	padding-left: 0;
}
.no-gutter-right {
	padding-right: 0;
}
@media (max-width: 767px) {
	.no-gutter {
		padding-right: 15px;
		padding-left: 15px;
	}
	.no-gutter-left {
		padding-left: 15px;
	}
	.no-gutter-right {
		padding-right: 15px;
	}
}
.no-padding {
	padding: 0 !important;
}
.no-margin {
	margin: 0 !important;
}

@media (min-width: 768px) {
	.row-margin-bottom, .col-margin-bottom {
		margin-bottom: 10px;
	}
}

.text-white {
	color: #fff !important;
}
.text-black {
	color: #000 !important;
}
.text-body {
	color: #000000 !important;
}
.text-normal {
	font-weight: 400;
}
.bg-white {
	background-color: #ffffff;
}
.bg-black {
	background-color: black;
}
