.layout-top.home {
	position: absolute;
	top: 0;
	left: 0;
}
	
.main-container.homepage {
	margin-top: 0;
	padding-bottom: 0;
}

.homepage.header {
	height: 100%;
	min-height: 650px;
	padding: 0;
}

.homepage h1 {
	color: #fff;
	font-size: 110px;
	font-weight: bold;
	line-height: 100px;
	padding: 50px 0;
	margin-top: 80px;
	transition: 0.3s;	
}

.homepage .content-blocks {
	margin: 1px 0;
	padding: 0;
	
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}

.homepage .content-blocks li {
	float: left;
	width: 25%;
	padding-right: 1px;		
	list-style: none;
	
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}

.homepage .content-blocks li:last-child {
	padding-right: 0;
}

.homepage .content-blocks li a {
	background: rgba(255, 255, 255, 0.74);
	padding: 24px 26px;
	color: #000;
	display: block;
	transition: 0.3s;
	width: 100%;
}

.homepage .content-blocks li a:hover {
	background: #fff;
	text-decoration: none;
	transition: 0.3s;
}

.homepage .content-blocks li a h2 { 
	text-align: left;
	font-size: 25px;
	margin: 0 0 18px;
	font-weight: bold;
}

.homepage .down-arrow {
	background: #fff;
	height: 50px;		
	display: block;
}

.homepage .down-arrow span {
	background: url('/images/layout/arrow-down.png') center center no-repeat #fff;
	height: 50px;		
	display: block;
}

.homepage .down-arrow.disappear span {
	opacity: 0;
	transition: 0.5s;
}

.homepage > .wrapper {
	position: absolute;
	bottom: 0;
	width: 100%;
}

.homepage h2 {
	text-align: center;
}

.home-slides {
	transition: opacity 0.3s;
}

.home-slides,
.home-slides .slide {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.home-slides {
	position: fixed;
	z-index : -1;		
}

.home-slides .slide {
	position: absolute;
	background: center center no-repeat;
	background-size: cover;
	display: none;
}

.home-slides .next {
	z-index: 3;
	display: block;
}

.home-slides .active {
	z-index: 2;
	display: block;
}


.homepage .item-view .thumb,
.homepage .article-view .thumb {
	height: 150px;
	display: block;
	margin-bottom: 10px;
	background: center center no-repeat #ccc;
	background-size: cover;
}

.homepage .article-view .category {
	font-weight: bold;
	font-size: 0.8em;
	text-transform: uppercase;
}

.homepage .article-view .category a {
	display: inline-block;
	margin-right: 10px;
}

.homepage .item-view h3,
.homepage .article-view h3 {
	font-size: 1.2em;
	font-weight: bold;
	margin: 4px 0 8px;
}

.homepage .article-view p {
	color: #5b5b5b;
}

.homepage .item-view .address {
	color: #5b5b5b;
	padding: 15px 0;
}

.homepage .article-view .date span {
	display: inline-block;
	margin-right: 10px;
}

.homepage .events {
	padding: 50px 0 130px;
	background: url('../images/static/event-bg.jpg') center center no-repeat #555;
	background-size: cover;
	margin: 60px 0 20px;
}

.homepage .events h2,
.homepage .events div.more a {
	color: #fff;
	border-color: #fff;	
	
}

.homepage .event-view .wrapper {
	color: #000;
	padding: 25px;
	margin: 5px 0;
	background: rgba(255, 255, 255, 0.74);	
	display: block;
	transition: 0.3s;
}

.homepage .event-view .date {
	font-size: 4em;
	font-weight: bold;
	line-height: 100%;
	padding: 10px 0 20px;
	display: block;
}

.homepage .event-view .h3 {
	font-size: 1.2em;
	font-weight: bold;
	margin: 4px 0 10px;
	line-height: 120%;
	height: 3.6em;		
	display: block;
}

.homepage .event-view .category {
	font-weight: bold;
	font-size: 0.8em;
	text-transform: uppercase;
	display: block;
}

.homepage .event-view .wrapper:hover {
	text-decoration: none;
	transition: 0.3s;
	background: #fff;
}

.homepage .separator {
	border-bottom: 1px solid #c2c2c2;
	margin: 70px -15px 100px;
}

.homepage .airly-widget {
	position: absolute;
	top: 120px;
	margin-top: 5px;
	right: 0;
	z-index: 10;
}


body.contrast .home-slides {
	opacity: 0;
	transition: opacity 0.3s;
}

body.contrast h1 {
	color: #000;	
}

body.contrast .homepage .events {
	background: #fff;
}

body.contrast .homepage .events h2,
body.contrast .homepage .events div.more a {
	color: #000;
	border-color: #000;		
}

body.contrast .homepage .event-view .wrapper {
	background: #fff;
	border: 2px solid #000;
}



@media (max-width: 768px) {
	
	.airly-widget .header, .airly-widget .info {
		display: none;
	}
	
	.airly-widget, .airly-widget .index {
		border-radius: 50%;
	}
	
	.homepage .airly-widget {
		right: 10px;
	}
	
	.homepage h1 {
		font-size: 50px;
		line-height: 110%;
		padding-left: 10px;
	}
	
	.homepage .content-blocks {
		display: block;
	}
	
	.homepage.header {
		height: auto;
	}
	
	.homepage > .wrapper {
		position: static;
		bottom: auto;
	}
	
	.homepage .content-blocks li {
		float: none;
		width: 100%;
		margin: 0 0 1px 0;
	}
	
	.airly-widget {
		position: static;
		margin-top: 105px;
	}
}
