.image-blocks__wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-flow: row wrap;
	        flex-flow: row wrap;
	-webkit-box-pack: space-evenly;
	    -ms-flex-pack: space-evenly;
	        justify-content: space-evenly;
	gap: 30px 5px;
}

.image-blocks__block-wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	position: relative;
	row-gap: 11px;
	-webkit-box-pack: space-evenly;
	    -ms-flex-pack: space-evenly;
	        justify-content: space-evenly;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-flow: column;
	        flex-flow: column;
}

.image-blocks__block {
	position: relative;
	height: auto;
	padding-top: 17px;
	padding-bottom: 17px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	height: 100%;
	width: 100%;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	padding-top: 0;
	padding-bottom: 0;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-flex: 0;
	    -ms-flex: 0 0 25%;
	        flex: 0 0 25%;
	min-height: 400px;
	width: 350px;
	background-position: center;
	background-size: cover;
}

.image-blocks__block:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.4);
	transition: all .5s ease;
}

.image-blocks__block:hover:before {
    background-color: rgba(0,0,0,0.8);
    transition: all .5s ease;
    cursor: pointer;
}

.image-blocks__parent-wrapper-program {
	text-align: center;
	position: relative;
	cursor: pointer;
}

.image-blocks__parent-wrapper-program a {
	position: absolute;
	display: block;
	width: 245px;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	bottom: -27px;
	font-size: 19px !important;
	right: 0;
	opacity: 0;
	visibility: hidden;
	-webkit-transition: .3s all ease;
	-o-transition: .3s all ease;
	transition: .3s all ease;
}

.image-blocks__wrapper-program {
	text-align: center;
	position: relative;
	overflow: hidden;
	border-radius: 10px;
}

.image-blocks__wrapper-programs {
	width: 100%;
}

.image-blocks__title {
	color: #fff;
	font-size: 30px;
	font-weight: normal;
}

.image-blocks__content {
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.modal-photo {
    min-height: 200px;
    background-size: cover;
    background-position: center;
}