.space-between {
    justify-content: space-between;
}

.tml-top {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
}

.tml-top:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid #dadada;
    z-index: 3;
}

.tml-photo {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.tml-links {
    display: none;
    position: absolute;
    width: 100%;
    padding: 0 16px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    color: #fff;
}

.tml-photo>img {
    width: 100%;
}

.tml-links>a,
.tml-links>span {
    display: inline-block;
    vertical-align: middle;
    width: 48px;
    height: 48px;
    line-height: 46px;
    font-size: 26px;
    color: #fff !important;
    cursor: pointer;
    border: 1px solid #fff;
    border-radius: 50%;
    text-align: center;
}

.tml-links {
    display: none;
    position: absolute;
    width: 100%;
    padding: 0 16px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    color: #fff;
}

.tml-top:hover .tml-links {
    display: flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    justify-content: space-around;
}

.tml-top:hover:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #024772;
    opacity: .7;
    z-index: 2;
}

.tml-bio {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    padding: 20px;
    background-color: rgba(249, 249, 249, 0.8);
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 999990;
    overflow-y: auto;
}

.tml-bio-inner {
    position: relative;
    max-width: 800px;
    padding: 60px 50px 50px;
    margin: 30px auto 0;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0px 17px 50px 0px rgba(0, 0, 0, 0.19), 0px 12px 15px 0px rgba(0, 0, 0, 0.24);
    text-align: left;
}

.tml-bio.opened {
    display: flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-align-items: center;
    align-items: center;
}

.tml-bio-trigger-close {
    position: absolute;
    color: red;
    top: 10px;
    right: 15px;
    display: none;
    cursor: pointer;
}

.tml-bio-inner:hover .tml-bio-trigger-close {
    display: block;
}