.cover {
	position: relative;
}

@media (min-width: 1600px) {
	.cover {
		height: 100vh;
	}
}

@media (max-width: 1599px) {
	.cover {
		padding-top: 180px;
		padding-bottom: 50px;
		text-align: center;
	}
}

.header .bar {
	background: linear-gradient(90deg, rgba(24,131,206,1) 50%, rgba(255,255,255,1) 100%);
}
.cover:after {
	width: 44%;
	height: 100%;
	content: '';
	display: block;
	background-image: url(images/bg.png);
	background-size: cover;
	position: absolute;
	top: 0;
	right: 0;
	z-index: -2;
	background-color: white;

}

.cover-slick {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
}

.cover-slick div {
	height: 100%;
	background-size: cover;
	background-position: center;
}

.cover-content {
	position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
	z-index: 99;
	text-align: center;
	
	max-width: 600px;
	margin-top: -60px;
}

.cover-content h1 {
	margin-bottom: 1rem;
}

.cover-content h1 > span {
	background: rgba(3,25,48,.9);
	color: #fff;
}

.cover-content h1 > span > span {
	color: #fffc00;
}

.cover-content p {
	margin: 0;
}

.cover-content .text {
	background: rgba(204,211,223,.8);
	padding: 1rem;
	color: #333;
	display: inline-block;
}

/**/

video {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60%;
	height: 100%;
	background-size: cover;
	transition: 1s opacity;
	object-fit: cover;
	z-index: -2;
}

@media (max-width: 1599px) {
	video {
		height: 524px;
		top: 70px;
		bottom: auto;
	}
}

#toggle-video {
	position: absolute;
	bottom: 30%;
	left: 15px;
	background: #fff;
	border: 0;
}


@media (max-width: 1599px) {
	#toggle-video {
		bottom: 36%;
	}
}

@media (max-width: 1299px) {
	#toggle-video {
		bottom: 50%;
	}
}

@media (max-width: 1199px) {
	#toggle-video {
		bottom: auto;
		top: 180px;
	}
}

/**/



@media (min-width: 1600px) {
	.services {
		position: absolute;
		bottom: 0;
		right: 0;
		width: 100%;
		
		background: rgb(226,192,98);
		background: linear-gradient(90deg, rgba(226,192,98,1) 0%, rgba(120,178,211,1) 100%);
	}
	
	.services:before {
		position: absolute;
		bottom: 0;
		right: 0;
		width: 100%;
		height: 8px;
		content: '';
		display: block;
		background: rgb(223,171,48);
		background: linear-gradient(90deg, rgba(223,171,48,1) 0%, rgba(34,168,113,1) 100%);
	}
	
	.services-items {
		margin-top: -113px;
	}
}

@media (max-width: 1599px) {
	.services {
		margin: 2rem 0;
		margin-top: 0;
	}
}


.services-slick {
	padding: .5rem 1rem;
	margin: 0 1rem;
}



.services-items > div {
	display: inline-block;
	vertical-align: top;
}

.service {
	text-align: center;
	display: block;
	/*background: url(images/service.png);*/
	margin: 1rem;
	width: 205px;
	height: 183px;
	
	color: inherit;
	line-height: 1rem;
	position:relative;
}

.service:before {
	background: url(images/service.png);
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	
	-o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s;
}

.service:hover:before {
	transform: rotate(89deg);
}


.service:hover {
	transform: translate(0, -15px);
}

.service figure {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	padding: 28px 57px;
}


.service .icon {
	padding: 1rem;
	
	-o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s;
}

.service .icon img {
	display: block;
	margin: 0 auto;
}

.service:hover .icon {
	transform: translate(0, 40px);
}

.service figcaption {
	-o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s;
}

.service:hover figcaption {
	transform: translate(0, -70px);
}



/**/


.articles {
	padding: 3rem 2rem;
}

.article {
	display: block;
	background: #fff;
	color: #000;
	box-shadow: 0 5px 5px rgba(0,0,0,0.1);
	position: relative;
	margin-bottom: 30px;
}
.article:before {
	width: 93px;
    height: 33px;
    background: url(images/article-corner.png);
    position: absolute;
    top: 0px;
    right: -4px;
    display: block;
    content: '';
    z-index: 1;
}
.article img {
	display: block;
	width: 100%;
}
.article .info {
	padding: .5rem;
}
.article h3 {
	font-size: 1.2rem;
}
.article .date {
	padding-bottom: 56.25%;
    position: relative;
    background: rgb(206 189 111);
    background: linear-gradient(45deg, rgb(246 183 77) 0%, rgb(160 183 132) 50%, rgb(121 204 200) 100%);
}

.article .date > div {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%);
	
	font-size: 3rem;
	color: #fff;
	text-align: center;
	font-weight: bold;
}
.article .date > div > span:nth-child(2) {
	font-size: 1.5rem;
	display: block;
}

.read-more {
	background: #fff;
	display: inline-block;
	border-radius: 10px 0 10px 0;
	padding: .25rem .75rem;
	font-weight: bold;
	color: inherit;
	border: 1px solid #ddd;
}


/* News * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

@media (min-width: 1600px) {
	.news {
		position: absolute;
		bottom: 15px;
		left: 20px;
	}
}

.news > .content {
	width: 277px;
	height: 261px;
	background: url(images/news.png);
	padding: 49px;
	text-align: center;
	margin: 0 auto;
}

.news h2 {
	font-size: 1.2rem;
	font-weight: bold;
}

.news a {
	color: inherit;
}

.news .date {
	color: #1883ce;
}

.news .name {
	display: block;
	height: 78px;
}


.news .slick-dots {
	list-style: none;
	padding: 0;
	margin: 0;
}

.news .slick-dots li {
	display: inline;
}

.news .slick-dots button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 0;
	background: #fff;
	border: 1px solid #000;
	font-size: 0;
	margin-left: 5px;
	padding: 0;
}
.news .slick-dots .slick-active button {
	background: #000;
}

/**/

@media (min-width: 1200px) and (max-width: 1599px) {
	.services-and-news {
		display: block;
		position: relative;
	}
	
	.services-and-news:before {
		display: block;
		position: absolute;
		bottom: 0;
		right: 0;
		width: 100%;
		height: 50%;
		content: '';
		z-index: -1;
		background: linear-gradient(90deg, rgba(226,192,98,1) 50%, rgba(120,178,211,1) 100%);
	}
	.services-and-news > div {
		float: right;
	}
	.services-and-news > div:first-child {
		width: 80%;
	}
	.services-and-news > div:last-child {
		width: 20%;
	}
	
	.service {
		margin: 1rem 0;
	}
	
	.centered-banner {
		transform: scale(.85);
	}
}

/**/

.centered-banner {
	text-align: right;
	padding: 0 2rem;
}


@media (min-width: 1600px) {
	.centered-banner {
		position: absolute;
		top: 50%;
		right: 60px;
		transform: translate(0, -50%);
		margin-top: -30px;
		transform: scale(.8) translate(0, -50%);
		margin-top: -60px;
	}
}

@media (max-width: 991px) {
	.centered-banner {
		padding-top: 300px;
		text-align: center;
	}
	
	video {
	    width: 100%;
	}
	
	.cover:after {
		content: none;
	}
}

.centered-banner > span {
	display: inline-block;
	vertical-align: top;
}

.centered-banner a {
	display: flex;
    align-items: center;
    justify-content: center;
	margin-left: 50px;
	width: 329px;
	height: 346px;
	position: relative;
	text-align: center;
}

@media (max-width: 991px) {
	.centered-banner a {
		margin: 0 auto;
		margin-bottom: 30px;
	}
}

.flip-card {
	perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 0.8s;
	/*transform-style: preserve-3d;*/
}

.flip-card-inner > div {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
	transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden; /* Safari */
	backface-visibility: hidden;
	
	-o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s;
}

.flip-card-back {
	padding: 2rem;
}

.flip-card-back img {
	transform: rotateY(180deg);
}


.centered-banner a .flip-card-front:before,
.centered-banner a .flip-card-back:before {
	-webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.centered-banner a .flip-card-back img {
	border-radius: 50%;
	opacity: 0;
}

.centered-banner a:hover .flip-card-back img {
	opacity: 1;
}

.centered-banner a .flip-card-front img {
	opacity: 1;
}

.centered-banner a:hover .flip-card-front img {
	opacity: 0;
}

/* Style the back side */
.centered-banner a .flip-card-back:before {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	content: '';
	background: url(images/circle1.png);
	z-index: -2;
}

.centered-banner > span:nth-child(2) a .flip-card-back:before {
	background: url(images/circle2.png);
}