/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 .inet_slider_wrapper {
    display: flex;
	justify-content: center;
    align-items: stretch;
	padding-bottom: 40px;
    padding-top: 40px;
 }
.inet_slide_image_wrap {
	padding: 20px;
    width: 25%;
    margin-block-start: 0;
    margin-block-end: 0;
    box-sizing: border-box;

}
 .inet_slide_image {
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 10px;
    margin-block-start: 0;
    margin-block-end: 0;
    position: relative;
   

 }

 .inet_slide_image img {
    display: block;
    margin: 0;
    padding: 0;
    margin-block-start: 0;
	 width: 100%;
    height: auto;
 }

 .inet_slide_image h3 {
    max-height: 0;
    transition: all 0.5s;
    position: absolute;
    bottom: 0;
    overflow: hidden;
    background-color: var(--wp--preset--color--contrast);
    color: var(--wp--preset--color--accent-5);
    margin: 0;
    margin-block-start: 0;
    width: 100%;
    text-align: center;
	padding: 0 0;
 }

.inet_slide_image:hover h3 {
    max-height: 100px;
	padding: 15px 0;
}

@media only screen and (max-width: 769px) {
	.inet_slider_wrapper {
		flex-wrap: wrap;
		padding-top: 20px;
		padding-bottom: 20px;
	}
	.inet_slide_image_wrap {
		padding: 10px;
   		 width: 50%;
	}
	.inet_slide_image {

		text-align: center;
		margin: 0px;
	}
	
	.inet_slide_image img {
		max-width: 100%;
		max-height: 100%;
		width: auto;
		height: auto;
		border-radius: auto;
		
	}
	.inet_slide_image h3, .inet_slide_image:hover h3  {
		max-height: 100px;
		padding: 10px 0;
	}
	
}