/* CSS Document */
.ar-item{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    transition: all linear 400ms;
}
.a-item{
    position: relative;
    width: 50vw;
    height: 50vw;
    padding: 0;
    margin: 0;
    overflow: hidden;
	transition: all linear 400ms;
}
.ai-sheet{
    position: absolute;
    height: 100%;
    width: 100%;
}
.ai-pic{
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    object-position: center;
    transition: all linear 400ms;
    transform: scale(1.3);
}
.ai-desc-cont{
    position: absolute;
    width: 100%;
    height: 100px;
    background-color: rgba(0,0,0,0.9);
    bottom: -100px;
    color: #fff;
    text-align: center;
    font-size: 1.3em;
    display: block;
    padding:0;
    transition: all linear 350ms;
}
.a-item:hover .ai-desc-cont{
    bottom: 0px;
    transition: all linear 350ms;
}
.a-item:hover .ai-pic{
    transform: scale(1.0);
    transition: all linear 400ms;
}
.ai-lnk{
    text-decoration: none;
    color: #fff;
    position: relative;
    display: block;
}
.ai-desc{
    position: relative;
    display: table-cell;
    vertical-align: middle;
    width: 100% !important;
    height: 100px !important;
    padding:0px 30px;
}
@media only screen and (min-width:600px){
    .ar-item{
        width: 100%;
        height: 60vh;
        display: flex;
        flex-wrap: nowrap;
        transition: all linear 400ms;
		align-content: stretch;
		justify-content: center;
    }
    .a-item{
        position: relative;
        height: 100%;
        padding: 0;
        margin: 0;
		width: 10%;
        overflow: hidden;
		transition: all linear 400ms;
    }
    .ai-sheet{
        position: absolute;
        height: 100%;
        width: 100%;
    }
    .ai-pic{
        width: 100%;
        height: 100%;
        position: absolute;
        object-fit: cover;
        object-position: center;
        transition: all linear 400ms;
        transform: scale(1.3);
    }
    .ai-desc-cont{
        position: absolute;
        width: 100%;
        height: 100px;
        background-color: rgba(0,0,0,0.9);
        bottom: -100px;
        color: #fff;
        text-align: center;
        font-size: 1.3em;
        display: block;
        padding:0;
        transition: all linear 350ms;
    }
    .a-item:hover .ai-desc-cont{
        bottom: 0px;
        transition: all linear 350ms;
    }
    .a-item:hover .ai-pic{
        transform: scale(1.0);
        transition: all linear 400ms;
    }
    .ai-lnk{
        text-decoration: none;
        color: #fff;
        position: relative;
        display: block;
    }
    .ai-desc{
        position: relative;
        display: table-cell;
        vertical-align: middle;
        width: 100% !important;
        height: 100px !important;
        padding:0px 30px;
    }
}

