.cover {
	position: relative;
	min-height: 670px;
}

@media (min-width: 992px) {
	.cover {
		height: 100vh;
		
		padding: 15px;
		padding-top: 170px;
	}
}

@media (max-width: 991px) {
	.cover {
		padding: 15px;
		padding-top: 125px; /* header height + padding */
	}
}

.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;
}

/**/

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

#toggle-video {
	position: absolute;
	top: 125px;
	right: 15px;
	background: none;
	border: 0;
}

@media (max-width: 991px) {
	video, #toggle-video {
		display: none;
	}
}

/**/

@media (min-width: 992px) {
	.services {
		position: absolute;
		bottom: 0;
		right: 0;
		width: 100%;
	}
}

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

.service {
	text-align: center;
	display: block;
	background: #fff;
	margin: 1rem;
	padding: 1rem;
}

.service .icon img {
	display: block;
	margin: 0 auto;
	margin-bottom: .75rem;
}


/* Articles */

.articles-slick,
.articles-slick > div,
.articles-slick > div > div
.articles-slick > div > div > div,
.articles-slick > div > div > div > div {
	height: 100%;
}

.articles-slick .slick-track {
	height: 100%;
}

.articles {
	padding: 3rem 2rem;
}
.articles h2 {
	font-weight: bold;
	margin-bottom: 2rem;
}
.articles article {
	display: block;
	height: 100%;
}
.articles .row > div {
	margin-bottom: 30px;
}
.article {
	display: block;
	background: #fff;
	color: #000;
	box-shadow: 0 0 25px rgba(0,0,0,0.1);
	position: relative;
	height: 100%;
	padding: 30px;
	border-radius: 10px;
	height: 100%;
}
.article .col-md-5 > div {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}
.article img {
	display: block;
	width: 100%;
}
.article .article-head {
	text-align: center;
}
.article .article-head h2 {
	font-weight: bold;
}
.article .article-head img {
	width: 100%;
	display: block;
	border-radius: 1rem;
}
.article h3 {
	color: #1e89b0;
}
.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;
	padding: .25rem .75rem;
	font-weight: bold;
	color: inherit;
	border: 1px solid #ddd;
}

/**/

.events {
	background-color: #fff;
}

.ribbon-date {
	position: absolute;
	top: 0;
	left: 15px;
	background: #fff;
	color: #000;
	padding: .5rem 1rem;
}
.ribbon-date span {
	display: block;
}
.ribbon-date span:nth-child(1) {
	font-weight: bold;
	font-size: 1.5rem;
}



/**/

@media (min-width: 992px) {
	.centered {
		position: absolute;
		top: 50%;
		left: 50%;
		margin-right: -50%;
		transform: translate(-50%, -50%);
	}
}

@media (max-width: 991px) {
	.centered {
		text-align: center;
	}
	.centered-banner img {
		max-width: 100%;
	}
}

/**/



/* Fast Nav */

.fast-navigation {
	padding: 1rem 0;
	border-radius: 0 0 2rem 2rem;
	color: #fff;
	width: fit-content;
    margin: 0 auto;
}

.fast-navigation:after {
	clear: both;
	display: block;
	content: '';
}

@media (min-width: 992px) {
	.fast-navigation > label, .fast-navigation > select, .fast-navigation > span {
		float: right;
		display: block;
	}
}


.fast-navigation label {
	background: #0372ac;
	border-radius: 0 2rem 2rem 0;
	padding: 5px 10px;
	border: 0;
	margin: 0;
}

.fast-navigation select {
	background: #fff;
	border: 0;
	border-radius: 0;
	padding: 5px 10px;
	border-right: 1px solid #ddd;
	border-left: 1px solid #ddd;
}

.fast-navigation button {
	background: #0372ac;
	border: 0;
	border-radius: 2rem 0 0 2rem;
	padding: 5px 10px;
	color: #fff;
	font-weight: bold;
}

@media (min-width: 992px) {
	.fast-navigation .smart-nav-sub > label,
	.fast-navigation .smart-nav-sub > select,
	.fast-navigation .smart-nav-sub > button {
		float: right;
		display: block;
	}
}

@media (max-width: 991px) {
	
	.fast-navigation > label, .fast-navigation > select, .fast-navigation > span {
		display: block;
		border-radius: 2rem;
		width: 100%;
	}
	
	.fast-navigation .smart-nav-sub > label,
	.fast-navigation .smart-nav-sub > select,
	.fast-navigation .smart-nav-sub > button {
		display: block;
		border-radius: 2rem;
	}
	
	.fast-navigation .smart-nav-sub > select {
		width: 100%;
		margin: .5rem 0;
	}
	
	.smart-nav-submit {
		margin: 0 auto;
	}
}

/**/

@media (min-width: 992px) {
	.side-banners {
		position: absolute;
		top: 50%;
		transform: translate(0, -50%);
	}
	.side-banners.side-banners-right {
		right: 0;
	}
	.side-banners.side-banners-left {
		left: 0;
	}
}
.side-banners a {
	background-color: #fff;
	display: block;
	padding: 1rem;
	margin: 1rem 0;
}

/**/

.card {
	height: calc(100vh - 300px);
}

/**/


/**/

.news {
	position: relative;
}

.news .news-toggle {
	position: absolute;
	top: 0;
	left: 0;
}

.news .news-marquee {
	height: 440px;
	overflow: hidden;
	margin-top: .75rem;
	margin-bottom: .75rem;
}

@media (min-width: 1920px) {
	.news .news-marquee {
		height: 45vh;
	}
}

@media (max-width: 767px) {
	.news .news-marquee {
		height: 300px;
		padding: 1rem;
	}
}

.news a.item {
	background: #f7981c;
	color: #fff;
	border-radius: 30px 30px 30px 0;
	padding: 1rem;
	margin: 24px 30px 50px 30px;
	display: block;
	position: relative;
}

.news a.item .caption {
	position: absolute;
    top: -23px;
    right: 30%;
    background: #fff;
    color: #29b7ec;
    border-radius: 15px;
    padding: 2px 30px;
    font-size: 24px;
    font-weight: bold;
}

.news a.item:after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    z-index: 1;
    border-style: solid;
    border-width: 0 0 20px 20px;
    border-color: transparent transparent #f7981c transparent;
    bottom: 0%;
    left: -20px;
    margin-top: -10px;
}

.news div:nth-child(3n+2) > a.item {
	background: #779865;
}

.news div:nth-child(3n+2) > a.item:after {
    border-color: transparent transparent #779865 transparent;
}

.news div:nth-child(3n+3) > a.item {
	background: #b579aa;
}

.news div:nth-child(3n+3) > a.item:after {
    border-color: transparent transparent #b579aa transparent;
}

.news .item:hover {
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
	text-decoration: none;
}

/**/



.events-card .card-header {
	background: #eda02e;
}

/**/

.ynet-news {
    position: fixed;
    bottom: 0;
    right: 0;
	padding: 30px;
	width: 100%;
}

.ynet-news > div {
	direction: ltr;
    color: #fff;
    background: rgba(0,0,0,0.6);
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	font-size: 1.3rem;
}

.ynet-news > div:before {
    background-color: #f1f1f1;
    background-image: url(https://ynet-images1.yit.co.il/picserver5/wcm_upload/2020/08/06/Sy2vKnt11v/ynet320.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    width: 110px;
    height: 100%;
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9;
    border-right: 15px solid #f1f1f1;
    border-left: 15px solid #f1f1f1;
}

.ynet-news-marquee {
	overflow: hidden;
	padding: 1rem;
}


.footer {
    position: absolute;
    bottom: 20px;
    right: 3%;
    padding: 10px;
    width: 94%;
    text-align: center;
    font-size: 23px;
    font-weight: bold;
    color: #2c71ac;
    margin: 0;
    background: #fff;
    border-radius: 1rem;
    line-height: 2rem;
}