.team-item {
    padding: 35px;
    padding-right: 0;
    position: relative;
    z-index: 0;
}

.team-item:after, .team-item:before {
    content: "";
    position: absolute;
    -webkit-box-shadow: 0 5px 30px 0 rgba(39, 39, 39, 0.15);
    box-shadow: 0 5px 30px 0 rgba(39, 39, 39, 0.15);
    border-radius: 3px;
    z-index: -1;
}

.team-item:before {

    height: 100%;
    background-color: #031621;
    left: 0;
    border: 8px solid #c70108;
    top: 0;
    border-bottom: 0;
    border-right: 0;
    border-top: 0;
    right: 30px;
/* -webkit-transition: all 0.3s ease; */
/* transition: all 0.3s ease; */
}

.team-item:hover:after {
height: 100%;
}

.team-item .img-holder {
    -ms-flex-negative: 0;
    /* flex-shrink: 0;
    /* width: calc(100% - 100px); */
    margin-left: 75px;
/* border-radius: 0px; */
/* overflow: hidden; */
/* height: 261px;*/
}

.team-item .img-holder img {
/*width: 100%;*/
-webkit-transition: all 0.6s ease;
transition: all 0.6s ease;
}

.team-item .socials {
position: absolute;
}

.team-item .socials a {
display: block;
margin-right: 0;
margin-bottom: 15px;
-webkit-box-shadow: 0 3px 2px 0 rgba(0, 0, 0, 0.12);
box-shadow: 0 3px 2px 0 rgba(0, 0, 0, 0.12);
}

.team-item .socials a:last-of-type {
margin-bottom: 0;
}

.team-item .team-content {
margin-right: 40px;
}

.team-item .team-content h5 {
color: #9a9ca1;
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
}

.team-item .team-content p {
color: #ffffff;
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
font-weight: 600;
font-size: 14px;
}

.team-item:hover .team-content h5, .team-item:hover .team-content p {
color: #fff;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
}

.d-inline-block {
display: inline-block!important;
}

.socials a {
width: 45px;
height: 45px;
background-color: #6893e1;
    border-radius: 6%;
-webkit-box-shadow: 0 3px 2px 0 #516cd9;
box-shadow: 0 3px 2px 0 #516cd9;
text-align: center;
color: #fff;
padding-top: 16px;
font-size: 14px;
margin-right: 10px;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
}

.mb-2, .my-2 {
margin-bottom: .5rem!important;
}

h5 {
font-size: 21px;
}

.mb-30 {
margin-bottom: 30px;
}

span img {
    height: 200px;
    width: 160px;
    border-radius: 4px;
    display: block;
    object-fit: contain;
}

body {
background-color: #ffffff;
}

htm,
body {
font-family: sans-serif;
}

a {
text-decoration: none;
}

.pagination-wrapper {
text-align: center;
margin: 40px 0;
}

.pagination {
display: inline-block;
height: 70px;
}
@media only screen and (max-width: 1199px) {
.pagination {
height: 50px;
}
}

.page-numbers {
display: block;
padding: 0 25px;
float: left;
transition: 400ms ease;
color: #595959;
font-size: 13px;
letter-spacing: 0.1em;
line-height: 70px;
}
.page-numbers:hover, .page-numbers.current {
background-color: #d9d9d9;
color: #fff;
}
.page-numbers.prev:hover, .page-numbers.next:hover {
background-color: transparent;
color: #d9d9d9;
}
@media only screen and (max-width: 1199px) {
.page-numbers {
padding: 0 15px;
font-size: 13px;
line-height: 50px;
}
}
@media only screen and (min-width: 120px) and (max-width: 1024px) {
.page-numbers {
padding: 0 14px;
display: none;
}
.page-numbers:nth-of-type(2) {
position: relative;
padding-right: 50px;
}
.page-numbers:nth-of-type(2)::after {
content: "...";
position: absolute;
font-size: 25px;
top: 0;
left: 45px;
}
.page-numbers:nth-child(-n + 3), .page-numbers:nth-last-child(-n + 3) {
display: block;
}
.page-numbers:nth-last-child(-n + 4) {
padding-right: 14px;
}
.page-numbers:nth-last-child(-n + 4)::after {
content: none;
}
}
