﻿.membersList { max-width: 1170px; margin: 0 auto; margin-top: 50px; padding-bottom: 50px; }
.teamItemBox-image { /*padding-bottom: 100%;*/ background-size: cover; background-position: center center; -webkit-transition: .5s ease-in-out; transition: .5s ease-in-out; background-repeat: no-repeat; height: 210px; }
.teamItemBox-image img { height: 100%; object-fit: cover; width: 100%; }

.teamItemBox-Content { position: absolute; bottom: -16px; box-shadow: 0 0 20px 0 rgba(54, 54, 54, 0.1); background-color: #ffffff; left: 50%; transform: translateX(-50%); -webkit-transform: translateX(-50%); padding: 10px 15px; min-width: 70%; text-align: center; font-family: 'almoni-tzar-aaa-bold'; font-size: 110%; line-height: 1; -webkit-transition: .5s ease-in-out; transition: .5s ease-in-out; }
.showItemBox-Container { margin-bottom: 50px; }
.topBanner .CalendarStripLeft a.buttonHover.greenBtn { position: relative; left: 10px; top: 10px; line-height: 34px; }

.TextOnBanner a.returnBtn { color: #ffffff; font-family: 'almoni-tzar-aaa-bold'; font-size: 120%; margin-top: 15px; display: inline-block; }
.TextOnBanner a.returnBtn:hover { text-decoration: none; }
.TextOnBanner a.returnBtn svg { fill: #fff; margin-left: 5px; }

.teamItemBox .teamItemBox-link:hover .teamItemBox-image, .teamItemBox .teamItemBox-link:focus .teamItemBox-image { -webkit-transform: scale(1.1); transform: scale(1.1); box-shadow: 0 0 20px 0 rgba(54, 54, 54, 0.35); }
.teamItemBox:hover .teamItemBox-Content {  }

@media(min-width:991px) {
    .col-md-20 { width: 20%; }
}
@media(max-width:991px) {
    .membersList { max-width:90vw; }
    .teamItemBox-image { height: calc(45vw - 20px); }
}

@media(max-width:767px) {
    .CalendarStripLeft { display: none; }
    ul.MonthsSelect li { line-height: 1; }
    ul.MonthsSelect button { padding: 15px 5px; font-size: 100%; }
    .CalendarStrip { bottom: 0px; }
    .showItemBox-Container { padding: 0 10px; margin-bottom: 45px; }
    .membersList { margin-top: 15px; padding: 0 5px; }
    .teamItemBox-Content { font-size: 100%; }
}
