body {
    font-family: "Montserrat";
    padding: 0;
    margin: 0;
    font-weight: 400;
}

body.subpage {
    background: #ecf0f6;
}

/* CONTAINER */
.container {
    width: 1200px;
    margin: 0 auto;
}

.container.subpage-container {
	margin-top: -30px;
	border-radius: 4px;
	background: #ffffff;
}

.inner-container {
    padding: 0 40px;
}

.tac {
    text-align: center;
	padding-top: 35px;
}

.dn {
	display: none;
}

select {
    background: #e8eaed;
    display: inline-block;
    height: 42px;
    line-height: 42px;
    font-size: 16px;
    color: #1e1f21;
    font-weight: 600;
    text-decoration: none;
    border-radius: 21px;
    padding: 0 25px;
    border: none;
    outline: none;
    width: 180px;
}

.button {
    background: #d8dbe0;
    display: inline-block;
    height: 42px;
    line-height: 42px;
    font-size: 16px;
    color: #1e1f21;
    font-weight: 600;
    text-decoration: none;
    border-radius: 21px;
    padding: 0 25px;
    border: none;
    outline: none;
}

.title-line .button {
    display: block;
    float: right;
}

.button:hover {
    background: #0058dd;
    color: #ffffff;
}

.clear::after {
    clear: both;
    content: '';
    display: block;
}

.bold {
    font-weight: 700;
}

.semi-bold {
    font-weight: 600;
}

.medium {
    font-weight: 500;
}

.title-line {
    border-left: 4px solid #009fff;
    height: 42px;
    line-height: 42px;
    padding-left: 16px;
    font-size: 30px;
    color: #1e1f21;
    margin-bottom: 30px;
}

p {
    font-size: 15px;
}

/* HEADER */
#header {
    height: 100px;
    background: #1e1f21;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 8000;
}

#header-phantom {
	height: 81px;
}

#header-left-logo {
    height: 100px;
    float: left;
}

#header-logo {
    margin-top: 12px;
}

#header-left-text {
    height: 100px;
    float: left;
    margin-left: 14px;
}

#header-left-text-title {
    color: #ffffff;
    font-size: 22px;
    margin-top: 24px;
}

#header-left-text-subtitle {
    font-size: 14px;
    color: #009fff;
}

#header-right {
    height: 100px;
    float: right;
}

#header-menu {
    padding: 0;
    margin: 0;
    list-style: none;
    height: 100px;
}

#header-menu li {
    float: left;
    height: 100px;
}

#header-menu li a {
    display: inline-block;
    padding: 0px 20px;
    height: 100px;
    box-sizing: border-box;
    text-decoration: none;
}

#header-menu li a.active {
    border-bottom: 3px solid #fe9900;
    background: #282a2d;
}

#header-menu li a .icon-container {
    text-align: center;
    margin-top: 24px;
    font-size: 18px;
    color: #4f535a;
    margin-bottom: 11px;
}

#header-menu li a.active .icon-container {
    color: #fe9900;
}

#header-menu li a .title {
    color: #ffffff;
    font-size: 15px;
}

/* SLIDEER */
#slider {
    height: 660px;
}

.slider-element {
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("../images/slider-1.jpg");
    position: relative;
}

.slider-element-texts-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.slider-element-text-title {
    font-size: 60px;
    color: #fe9900;
    margin-bottom: 10px;
}

.slider-element-text-subtitle {
    font-size: 18px;
    color: #ffffff;
}

/* ABOUT */
#about {
    padding-top: 53px;
    padding-bottom: 62px;
}

/* NEWS */
#news {
    padding-top: 53px;
    padding-bottom: 62px;
    background: #ecf0f6;
}

#news-container {
    margin-right: -26px;
    margin-bottom: 40px;
}

#news-container:last-child {
	margin-bottom: 0px;
}

.news-item {
    width: 260px;
    border-radius: 4px;
    overflow: hidden;
    float: left;
    display: block;
    background: #ffffff;
    margin-right: 26px;
    -webkit-box-shadow: 0px 32px 40px 0px rgba(171,179,191,0.6);
	-moz-box-shadow: 0px 32px 40px 0px rgba(171,179,191,0.6);
	box-shadow: 0px 32px 40px 0px rgba(171,179,191,0.6);
	transition: all 0.15s linear;
}

.news-item:hover {
	-webkit-box-shadow: 0px 2px 6px 0px rgba(171,179,191,0.6);
	-moz-box-shadow: 0px 2px 6px 0px rgba(171,179,191,0.6);
	box-shadow: 0px 2px 6px 0px rgba(171,179,191,0.6);
}

.news-item-image {
    height: 160px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.news-item-title {
    height: 54px;
    line-height: 54px;
    overflow: hidden;
    padding: 0 20px;
    text-decoration: none;
    display: block;
    color: #1e1f21;
}

.news-item-description {
    font-size: 13px;
    color: #58595d;
    line-height: 22px;
    padding: 0 20px;
    height: 88px;
    overflow: hidden;
    margin-bottom: 15px;
}

.news-item-bottom {
    height: 36px;
    line-height: 36px;
    margin-bottom: 13px;
    padding: 0 20px;
    padding-right: 13px;
}

.news-item-bottom-date {
    float: left;
    display: block;
    height: 18px;
    line-height: 18px;
    border-radius: 9px;
    background: #e0e3e8;
    font-size: 11px;
    color: #1e1f21;
    padding: 0 10px;
    margin-top: 9px;
}

.news-item-bottom-button {
    float: right;
    background: #e8eaed;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    display: block;
    text-align: center;
}

.news-item-bottom-button span {
    font-size: 15px;
    color: #aeb1ba;
}

/* TEAM */
#team {
    padding-top: 53px;
    padding-bottom: 62px;
    border-bottom: 1px solid #e8eaed;
}

.team-members {
	margin-bottom: 40px;
}

.team-members:last-child {
	margin-bottom: 0px;
}

.team-member {
    text-align: center;
    width: 224px;
    float: left;
}

.team-member-image {
    margin: 0 auto;
    border-radius: 20px;
    height: 124px;
    width: 124px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 22px;
}

.team-member-name {
    font-size: 18px;
    color: #1e1f21;
    margin-bottom: 8px;
}

.team-member-role {
    font-size: 15px;
    color: #0058dd;
}

/* GALLERY */
#gallery {
    padding-top: 53px;
    padding-bottom: 62px;
}

#gallery-container {
    margin-right: -47px;
}

.gallery-item {
    float: left;
    width: 342px;
    margin-right: 47px;
    position: relative;
    cursor: pointer;
}

.gallery-item-count {
    position: absolute;
    right: -10px;
    top: -10px;
    background: #fe9900;
    color: #ffffff;
    height: 36px;
    line-height: 36px;
    padding: 0px 13px;
    border-radius: 4px;
}

.gallery-item-image-container {
    height: 243px;
    margin-bottom: 15px;
    box-sizing: border-box;
    padding: 6px;
    border: 1px solid #eeeff1;
}

.gallery-item-image {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.gallery-item-title {
    font-size: 18px;
    color: #1e1f21;
    padding: 0 8px;
}

#kozerdeku {
    padding-top: 53px;
    padding-bottom: 62px;
    background: #ecf0f6;
}

#kozerdeku a{
    text-decoration: none;
    color: #000;
}

/* FOOTER */
#footer {
    height: 226px;
    background: #1e1f21;
}

#footer-left {
    float: left;
}

#footer-logo {
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer-text {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-text a {
    color: #fe9900;
    text-decoration: none;
}

#footer-right {
    float: right;
    padding-top: 50px;
}

.footer-right-contact-line {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 25px;
}

.footer-right-contact-line span {
    margin-right: 10px;
    color: #4f535a;
}

.footer-right-contact-line a {
	font-size: 16px;
	text-decoration: none;
	color: #ffffff;
}

#footer-facebook {
    float: right;
    width: 52px;
    height: 226px;
    background: #275bc5;
    margin-right: 30px;
    position: relative;
}

#footer-facebook span {
    font-size: 18px;
    color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
}

.packer {
	overflow: hidden;
	height: auto;
}

.packer-inside {
	padding-bottom: 15px;
}

p {
	margin-top: 0px;
	margin-bottom: 15px;
}

/* SLIDER UBPAGE */
#slider-subpage {
	height: 360px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("../images/halaszat/slider-2.jpg");
}

#slider-subpage-title {
	text-align: center;
	font-size: 60px;
	color: #fe9900;
	padding-top: 120px;
}

/* GALLEY SUBPAGE */
#galleries-container {
	padding-top: 40px;
	padding-bottom: 40px;
}

#galleries-container #gallery-container {
	margin-bottom: 40px;
}

#galleries-container #gallery-container:last-child {
	margin-bottom: 0px;
}

/* SINGLE NEWS */
#new-single-image {
	width: 100%;
	margin-bottom: 20px;
}

#new-single-title {
	font-size: 30px;
	color: #383a3f;
	margin-bottom: 10px;
}

#new-single-date-container {
	margin-bottom: 25px;
}

#new-single-date {
	display: inline-block;
    height: 18px;
    line-height: 18px;
    border-radius: 9px;
    background: #e0e3e8;
    font-size: 11px;
    color: #1e1f21;
    padding: 0 10px;
    margin-top: 9px;
}

#new-single-gallery-elements {
	margin-right: -26px;
	font-size: 0px;
}

#new-single-gallery-elements a {
	display: inline-block;
	width: 260px;
	height: 150px;
	margin-right: 26px;
	margin-bottom: 26px;
	box-sizing: border-box;
	border: 1px solid #ccd0d5;
	padding: 4px;
}

#new-single-gallery-elements a div {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
}

.news_filter_bar {
	margin-bottom: 50px;
}

/* PAGINATOR */
.paginator {
	text-align: center;
	margin-top: 50px;
}

.paginator a {
	display: inline-block;
	vertical-align: top;
	width: 42px;
	height: 42px;
	border-radius: 4px;
	background: #e8eaed;
	position: relative;
}

.paginator a span {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: 15px;
    color: #aeb1ba;
}

.paginator > span {
	display: inline-block;
	height: 42px;
	line-height: 42px;
	font-size: 18px;
	color: #383a3f;
	margin: 0 20px;
}

.show-on-mobile {
	display: none;
}

@media screen and (max-width: 1200px) {
	
	.container {
		width: 760px;
	}
	
	#slider {
		height: 480px;
	}
	
	#about {
		padding-bottom: 0px;
	}
	
	.packer {
		margin-bottom: 20px;
	}
	
	#news {
		padding-bottom: 0px;
	}
	
	#news-container {
		margin-bottom: 0px;
	}
	
	.news-item {
		width: 327px;
		margin-bottom: 30px;
	}
	
	.hide-on-mobile {
		display: none;
	}
	
	.show-on-mobile {
		display: block;
	}
	
	.gallery-item {
		width: 316px;
	}
	
	#new-single-gallery-elements a {
		width: 209px;
		height: 130px;
	}
	
	#header-left-text-title {
		font-size: 18px;
    	margin-top: 30px;
	}
	
	#header-menu li a {
		padding: 0 10px;
	}
	
	#header-menu li a .title {
		font-size: 12px;
	}
	
}

@media screen and (max-width: 760px) {
	
	#slider {
		height: 280px;
	}
	
	.slider-element-text-title {
		font-size: 35px;
	}
	
	.slider-element-text-subtitle {
		font-size: 13px;
	}
	
	.container {
		width: 100%;
	}
	
	#news-container {
		margin-right: 0px;
	}
	
	#header-right {
	    position: fixed;
	    left: 0;
	    top: 0;
	    width: 100%;
	    height: 100%;
	    display: none;
	    z-index: 999;
	}
	
	#header-right.opened {
		display: block;
	}
	
	#header-menu {
		position: absolute;
	    right: 0;
	    top: 0;
	    height: 100%;
	    background: #282a2d;
	    width: 200px;
	}
	
	#header-menu li {
		float: none;
		height: 50px;
		overflow: hidden;
	}
	
	#header-menu li a {
		display: block;
		width: 100%;
		height: 50px;
	}
	
	#header-menu li a:after {
		clear: both;
		content: '';
		display: block;
	}
	
	#header-menu li a.active {
		border-bottom: 0px;
		border-left: 3px solid #fe9900;
	}
	
	#header-menu li a .icon-container {
		float: left;
		height: 50px;
		line-height: 50px;
		margin-top: 0px;
		margin-right: 10px;
	}
	
	#header-menu li a .title {
		float: left;
		height: 50px;
		line-height: 50px;
	}
	
	.news-item {
		width: 100%;
		margin-right: 0px;
	}
	
	#galleries-container #gallery-container {
		margin-right: 0px;
		margin-bottom: 0px;
	}
	
	.gallery-item {
		width: 100%;
		margin-right: 0px;
		margin-bottom: 40px;
	}
	
	#footer {
		height: auto;
	}
	
	#footer-right {
		float: none;
		width: auto;
		text-align: center;
	}
	
	.footer-right-contact-line {
		font-size: 13px;
	}
	
	#footer-facebook {
		float: none;
		width: auto;
		margin-right: 0px;
		height: 50px;
	}
	
	#footer-facebook span {
		transform: translate(-50%, -50%);
	}
	
	#footer-left {
		float: none;
		width: auto;
		text-align: center;
		padding-bottom: 20px;
	}
	
	#header-mobile-menu {
		height: 100px;
		width: 100px;
		float: right;
		position: relative;
		cursor: pointer;
	}
	
	#header-mobile-menu span {
		font-size: 55px;
		color: #ffffff;
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
	}
	
	#header-logo {
		width: 80px;
		    margin-top: 19px;
	}
	
	#new-single-gallery-elements {
		margin-right: 0px;
	}
	
	#new-single-gallery-elements a {
		width: 49%;
		height: 95px;
		margin-right: 2%;
		margin-bottom: 6px;
	}
	
	#new-single-gallery-elements a:nth-child(2n+0) {
		margin-right: 0px;
	}
	
	#slider-subpage {
		height: 200px;
	}
	
	#slider-subpage-title {
		font-size: 40px;
		padding-top: 60px;
	}
	
	#gallery-container {
		margin-right: 0px;
	}
	
}