.specialist-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 408px;
    width: 100%;
    max-height: 532px;
    margin:0 auto 30px;
}
.specialist-wrapper .img-block {
    max-height: 365px;
    overflow: hidden;
}
.specialist-wrapper .img-block img {
    width: 100%;
    -webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 1s ease-out;
}
.specialist-wrapper:hover .img-block {
    max-height: 100%;
}
.specialist-wrapper:hover .img-block img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 1s ease-out;
}
.specialist-wrapper:hover .desc-wrapper {
    display: block;
    position: absolute;
    max-width: inherit;
    width: inherit;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.4);
    color: #ffffff;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.specialist-wrapper:hover .desc-wrapper .desc-block {
    height: 100%;
}
.specialist-wrapper:hover .desc-wrapper .desc-block .name {
    display: block;
    position: absolute;
    width: 100%;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    border: none;
    color: #ffffff !important;
}
.specialist-wrapper:hover .desc-wrapper .desc-block .post {
    display: none;
}
.specialist-wrapper:hover .desc-wrapper .more-btn {
    position: absolute;
    bottom: 30%;
    left: 50%;
    margin: -25px 0 0 -77.5px;
    max-width: 200px;
    transition: none;
    color: #ffffff !important;
}
.specialist-wrapper:hover .desc-wrapper .more-btn:hover {
    color: #242424 !important;
}
.specialist-wrapper:hover .desc-wrapper .more-btn {
    color: #ffffff;
}
.specialist-wrapper .desc-wrapper {
    padding: 10px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.specialist-wrapper:not(:hover) .desc-wrapper .more-btn {
    display: inline-block;
    padding: 0;
    width: auto;
    border: none;
    transition: none;
    color: #242424;
}
.specialist-wrapper .desc-wrapper .desc-block {
    border: 1px solid rgba(255,255,255,0.7);
    padding: 10px;
}
.specialist-wrapper .desc-wrapper .name {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 14px;
    margin-bottom: 10px;
}
.specialist-wrapper .desc-wrapper .post {
    height: 60px;
    font-size: 14px;
    font-family: 'Play', sans-serif;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 150%;
}
.specialist-wrapper .desc-wrapper {
    padding: 10px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.red-bg {
    background: rgba(215,77,82,1);
}
.white-color{
    color: #fff;
}
.darkgreen-bg{
    background: rgba(80,166,121,1);
}
.specialist-wrapper .desc-wrapper .desc-block {
    border: 1px solid rgba(255,255,255,0.7);
    padding: 10px;
}
.specialist-wrapper .desc-wrapper .name {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 14px;
    margin-bottom: 10px;
}
.specialist-wrapper .desc-wrapper .post {
    height: 60px;
    font-size: 14px;
    font-family: 'Play', sans-serif;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 150%;
}
.specialist-wrapper:not(:hover) .desc-wrapper .more-btn {
    display: inline-block;
    padding: 0;
    width: auto;
    border: none;
    transition: none;
    color: #fff;
}
.write_doctor{
    width: 100%;
    margin-top: 20px;
    text-align: center;
}
.nav_doctors{
    margin: 15px auto;
}
.nav_doctors .bx-pagination .bx-pagination-container ul li.bx-active span{
    background: #30915a;
}
