.img-link:focus-within {
    position: relative;
    z-index: 99999 !important;
}

.img-link:focus-within::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid #F80000;
    pointer-events: none;
    z-index: 999999;
}

.img-link{
   align-items:center;
   justify-content:center;
	position:relative;
   overflow:hidden;
   height:40vh;
   min-height:300px;
}


.img-link a{
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
   flex-wrap:wrap;
overflow:hidden;
   text-decoration:none;
   	position:relative;
      height:100%;
}



.img-link .text-content .sv-text-portlet{
   display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
   justify-content:center;
   align-items:center;
   background:#fff;
   min-height:80px;
   min-width:80px;
     position:absolute!important;
        left:0;
   bottom:0;
   z-index:50;
   padding:1em;
   border:3px solid transparent;
height:auto!Important;
   
}

.img-link:nth-of-type(4n+2) .text-content  .sv-text-portlet{
left:auto;
   right:0;
      border-top-left-radius:30px;
}

.img-link:nth-of-type(6n+3) .text-content  .sv-text-portlet{
bottom:auto;
   top:0;
      border-bottom-right-radius:30px;
}

.img-link:nth-of-type(8n+4) .text-content  .sv-text-portlet{
      border-top-right-radius:30px;
}

.img-link:nth-of-type(10n+5) .text-content  .sv-text-portlet{
left:auto;
   right:0;
   bottom:auto;
   top:0;
       border-bottom-left-radius:30px;
}

.img-link:nth-of-type(4n+2):hover .text-content  .sv-text-portlet{
 background:#cfd5e9;
}

.img-link:nth-of-type(6n+3):hover .text-content  .sv-text-portlet{
 background:#e8f1d9;
}

.img-link:nth-of-type(8n+4):hover .text-content  .sv-text-portlet{
   background:#cad5cd;
}

.img-link:nth-of-type(10n+5):hover .text-content  .sv-text-portlet{
background:#ecd2c3;
}

.img-link .text-content:first-of-type{
   display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
   justify-content:center;
   align-items:center;
   background:#fff;
   min-height:100%;
   min-width:100%;
     position:relative;
        left:0;
   bottom:0;
   z-index:50;
   padding:0;
   border:0px solid transparent;
height:auto!Important;
   
}

.img-link a .text-content:first-of-type:before{
	width:100%;
   height:100%;
	display:block;
   content:"";
      position:absolute;
         top:0;
   left:0;
   z-index:10;
   background:rgba(0,0,0, .4);
   transition:.5s;
}


.img-link a:hover .text-content:first-of-type:before{
   background:rgba(0,0,0, .1);
}

.img-link .sv-text-portlet .sv-text-portlet-content{
   width:100%;
}

.img-link h3{
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
   flex-wrap:wrap;
   justify-content:center;
   justify-self:center;
   flex-direction:column;
   align-items:center;
   font-size:1.2rem;
   text-align:center;
   margin:0!important;
}

.img-link .sv-image-portlet{
	width:100%;
   overflow:hidden;
   height:100%;
}


.img-link .sv-image-portlet img{
	width:100%!important; 
   height:100%!important;
   max-height:100%!important;
   max-width:100%!important;
   object-fit:cover!important;
   object-position:top center;
}


.img-link a .text-content h3:after{
 display:block;
   content:"";
   height:1px;
   width:15%;
   background:#111;
   transition:.5s;
   position:relative;
   bottom:-.3em;
}

.img-link a:hover .text-content h3:after{
 width:35%;
}

.img-link .pagecontent{
	width:100%;
   overflow:hidden;
   height:100%;
   position:absolute;
}


@media only screen and (min-width : 0rem) and (max-width : 60rem) {
	.img-link{
		width:100%!important;
	}
}
  