.medepartments {
  padding: 70px 0 100px;
  /* Title and Tab-Search */
  /* Tab Result */
}
@media (min-width: 481px) {
  .medepartments {
    background: #F4F7F8;
  }
}
@media (max-width: 1599.98px) {
  .medepartments {
    padding: 60px 0 80px;
  }
}
@media (max-width: 1199.98px) {
  .medepartments {
    padding: 50px 0;
  }
}
@media (max-width: 767.98px) {
  .medepartments {
    padding: 35px 0 60px;
  }
}
@media (max-width: 480.98px) {
  .medepartments {
    padding: 30px 0 0;
  }
}
.medepartments .top-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  transition-delay: 0.2s;
}
.medepartments .top-head h1 {
  color: #000;
  margin-bottom: 0;
}
@media (min-width: 1200px) {
  .medepartments .top-head h1 {
    font-size: 30px;
  }
}
@media (max-width: 1199.98px) {
  .medepartments .top-head h1 {
    font-size: 28px;
  }
}
@media (max-width: 991.98px) {
  .medepartments .top-head h1 {
    width: 100%;
    padding-bottom: 10px;
  }
}
@media (max-width: 767.98px) {
  .medepartments .top-head h1 {
    margin-right: 30px;
    font-size: 20px;
  }
}
.medepartments .top-head .nav-tabs-special {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
}
@media (min-width: 992px) {
  .medepartments .top-head .nav-tabs-special {
    margin-right: 80px;
    margin-left: auto;
  }
}
@media (max-width: 480.98px) {
  .medepartments .top-head .nav-tabs-special {
    order: 3;
    padding-top: 40px !important;
  }
}
@media (max-width: 480.98px) {
  .medepartments .top-head .nav-tabs-special {
    order: 3;
    padding-top: 40px !important;
    padding-bottom: 13px !important;
  }
}
.medepartments .top-head .nav-tabs-special::-webkit-scrollbar {
  height: 0;
}
.medepartments .top-head .nav a {
  color: #000;
  font-family: "Ubuntu", sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  transition: 0.4s ease-in-out;
  margin-left: 55px;
  white-space: nowrap;
  width: 100%;
  border: 0;
  border-radius: 0;
  position: relative;
}
.medepartments .top-head .nav a::before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #158825;
  position: absolute;
  bottom: -13px;
  left: 0;
  opacity: 0;
}
@media (max-width: 991.98px) {
  .medepartments .top-head .nav a {
    margin-left: 30px;
  }
  .medepartments .top-head .nav a:nth-child(1) {
    margin-left: 0;
  }
}
@media (max-width: 767.98px) {
  .medepartments .top-head .nav a {
    font-size: 16px;
  }
  .medepartments .top-head .nav a:nth-child(1) {
    margin-left: 0;
  }
}
.medepartments .top-head .nav a:hover {
  color: #158825;
}
.medepartments .top-head .nav a.active::before {
  opacity: 1;
}
.medepartments .top-head .searchwrap {
  max-width: 267px;
  width: 100%;
}
@media (max-width: 767px) {
  .medepartments .top-head .searchwrap {
    max-width: 220px;
  }
}
@media (max-width: 480.98px) {
  .medepartments .top-head .searchwrap {
    max-width: 100%;
    padding-top: 20px;
    order: 2;
  }
}
.medepartments .top-head .searchwrap .form-group {
  position: relative;
  margin-bottom: 0;
}
.medepartments .top-head .searchwrap .form-group .form-control {
  height: 43px;
  padding: 0 18px;
  padding-left: 50px;
  line-height: 41px;
  border: 1px solid #D8D8D8;
  background-color: #fff;
  font-family: "Oxygen", sans-serif;
  font-weight: 400;
  font-size: 13px;
}
.medepartments .top-head .searchwrap .form-group .form-control::placeholder {
  line-height: 41px;
  font-family: "Oxygen", sans-serif;
  font-weight: 400;
  color: #0D1834;
  font-size: 13px;
}
.medepartments .top-head .searchwrap .form-group button {
  background: transparent;
  outline: none;
  border: none;
  box-shadow: none;
  padding: 0;
  position: absolute;
  left: 19px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 0;
  width: 13px;
}
.medepartments .top-head .searchwrap .form-group button svg {
  width: 13px;
}
@media (max-width: 480.98px) {
  .medepartments .tabresultsec {
    background-color: #F4F7F8;
  }
}
@media (max-width: 480.98px) and (max-width: 480.98px) {
  .medepartments .tabresultsec {
    padding: 0 0 50px;
  }
}
.medepartments .special-bottom {
  padding-top: 40px;
  transition-delay: 0.2s;
}
@media (max-width: 1199.98px) {
  .medepartments .special-bottom {
    padding-top: 40px;
  }
}
@media (max-width: 767.98px) {
  .medepartments .special-bottom {
    padding-top: 30px;
  }
}
@media (max-width: 1199px) {
  .medepartments .special-bottom .tab-content > .tab-pane:first-child .cols {
    display: none;
  }
  .medepartments .special-bottom .tab-content > .tab-pane .cols.shimmer {
    display: block;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  
  .medepartments .special-bottom .tab-content > .tab-pane .cols.shimmer:nth-child(1) {
    display: none;
  }
}
.medepartments .special-bottom .tab-content .text-center {
  display: none;
}
.medepartments .special-bottom .tab-content .text-center.show {
  display: block;
}
.medepartments .special-bottom .tab-content .text-center .round-green-link {
  margin-top: 17px;
  display: inline-flex;
  align-items: center;
}
.medepartments .special-bottom .special-wrap {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}
.medepartments .special-bottom .special-wrap .cols {
  padding-left: 10px;
  padding-right: 10px;
  width: 100%;
  flex-basis: 100%;
  max-width: 100%;
}
@media (min-width: 568px) {
  .medepartments .special-bottom .special-wrap .cols {
    flex-basis: 50%;
    max-width: 50%;
  }
}
@media (min-width: 992px) {
  .medepartments .special-bottom .special-wrap .cols {
    flex-basis: 33.33%;
    max-width: 33.33%;
  }
}
@media (min-width: 1200px) {
  .medepartments .special-bottom .special-wrap .cols {
    flex-basis: 25%;
    max-width: 25%;
  }
}
.medepartments .special-bottom .special-wrap .special-box {
  padding: 45px 30px;
  background: #fff;
  display: block;
  margin-bottom: 20px;
  transition: 0.3s ease-in-out;
  height: 365px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 1599.98px) {
  .medepartments .special-bottom .special-wrap .special-box {
    padding: 43px 25px;
    height: 370px;
  }
}
@media (max-width: 1199.98px) {
  .medepartments .special-bottom .special-wrap .special-box {
    padding: 22px;
    height: auto  ;
  }
}
@media (max-width: 991.98px) {
  .medepartments .special-bottom .special-wrap .special-box {
    height: auto;
  }
}
@media (max-width: 767.98px) {
  .medepartments .special-bottom .special-wrap .special-box {
    padding: 25px 20px;
    height: calc(100% - 10px);
    /* border: 1px solid #E6E6E6; */
    margin-bottom: 10px;
  }
}
@media (max-width: 567.98px) {
  .medepartments .special-bottom .special-wrap .special-box {
    padding: 40px 30px;
  }
}
.medepartments .special-bottom .special-wrap .special-box .img-box {
  height: 50px;
  display: block;
}
@media (max-width: 991.98px) {
  .medepartments .special-bottom .special-wrap .special-box .img-box {
    height: 40px;
  }
}
@media (max-width: 767.98px) {
  .medepartments .special-bottom .special-wrap .special-box .img-box {
    margin-right: auto;
    height: 61px;
  }
}
.medepartments .special-bottom .special-wrap .special-box .img-box img,
.medepartments .special-bottom .special-wrap .special-box .img-box svg {
  height: 100%;
}
.medepartments .special-bottom .special-wrap .special-box h6 {
  margin: 25px 0 12px;
  transition: 0.3s ease-in-out;
}
@media (max-width: 1599.98px) {
  .medepartments .special-bottom .special-wrap .special-box h6 {
    font-size: 17px;
  }
}
@media (max-width: 1400.98px) {
  .medepartments .special-bottom .special-wrap .special-box h6 {
    font-size: 16px;
    margin-bottom: 10px;
  }
}
@media (min-width: 568px) {
  .medepartments .special-bottom .special-wrap .special-box h6 {
    min-height: 40px;
  }
}
@media (max-width: 767px) {
  .medepartments .special-bottom .special-wrap .special-box h6 {
    font-weight: 500;
    margin-bottom: 12px;
  }
}
@media (max-width: 567px) {
  .medepartments .special-bottom .special-wrap .special-box h6 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 25px;
    margin-top: 0;
  }
}
.medepartments .special-bottom .special-wrap .special-box p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: 0.3s ease-in-out;
}
@media (max-width: 567.98px) {
  .medepartments .special-bottom .special-wrap .special-box p {
    font-size: 16px;
    font-family: "Oxygen", sans-serif;
    margin-bottom: 0;
  }
  .medepartments .special-bottom .special-wrap .special-box p + p {
    margin-top: 1rem;
  }
}
.medepartments .special-bottom .special-wrap .special-box .cont-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
}
@media (max-width: 767.98px) {
  .medepartments .special-bottom .special-wrap .special-box .cont-wrap {
    align-items: center;
    text-align: left;
  }
}
.medepartments .special-bottom .special-wrap .special-box .cont-wrap .cont-bx {
  padding-top: 80px;
  transition: 0.3s ease-in-out;
}
@media (max-width: 1199.98px) {
  .medepartments .special-bottom .special-wrap .special-box .cont-wrap .cont-bx {
    padding-top: 10px;
  }
}
@media (max-width: 767.98px) {
  .medepartments .special-bottom .special-wrap .special-box .cont-wrap .cont-bx {
    padding-top: 40px;
  }
}
@media (max-width: 767px) {
  /* .medepartments .special-bottom .special-wrap .special-box .cont-wrap .cont-bx p {
    min-height: 82px;
  } */
}
.medepartments .special-bottom .special-wrap .special-box .cont-wrap .cont-bx .btn-appoint {
  transition: 0.3s ease-in-out;
  /* @include max(767.98) {
      display: none;
  } */
}
@media (min-width: 1200px) {
  .medepartments .special-bottom .special-wrap .special-box .cont-wrap .cont-bx .btn-appoint {
    position: absolute;
    bottom: -30px;
    width: 100%;
    left: 0;
    /* transform: scaley(0.5); */
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease-in-out;
  }
}
@media (max-width: 567.98px) {
  .medepartments .special-bottom .special-wrap .special-box .cont-wrap .cont-bx .btn-appoint {
    margin-top: 25px;
  }
}
.medepartments .special-bottom .special-wrap .special-box .cont-wrap .cont-bx .btn-appoint .btn {
  display: block;
  color: #168C03;
  background: #fff;
  padding: 0 15px !important;
  line-height: 48px;
  transition: 0.3s all ease-in-out;
}
@media (min-width: 1200px) {
  .medepartments .special-bottom .special-wrap .special-box .cont-wrap .cont-bx .btn-appoint .btn:hover{
    background-color: #168C03;
    color: #ffffff;
  }
  
}

@media (max-width: 1199.98px) {
  .medepartments .special-bottom .special-wrap .special-box .cont-wrap .cont-bx .btn-appoint .btn {
    padding: 10px;
    font-size: 15px;
  }
}
.medepartments .special-bottom .special-wrap .special-box svg path {
  transition: 0.3s ease-in-out;
}
.medepartments .special-bottom .special-wrap .special-box svg .stroke {
  stroke: #00a217 !important;
}
@media (max-width: 767px) {
  .medepartments .special-bottom .special-wrap .special-box svg .stroke {
    stroke: #0d1834 !important;
  }
}
.medepartments .special-bottom .special-wrap .special-box svg .fill {
  fill: #00a217 !important;
}
@media (max-width: 767px) {
  .medepartments .special-bottom .special-wrap .special-box svg .fill {
    fill: #0d1834 !important;
  }
}
.medepartments .special-bottom .special-wrap .special-box:after {
  position: absolute;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='177.149' height='43.203' viewBox='0 0 177.149 43.203'%3E%3Cg id='Group_27387' data-name='Group 27387' transform='translate(3870.843 -852.061) rotate(90)'%3E%3Cpath id='Path_16147' data-name='Path 16147' d='M19012.738 7639.876h43.2v-44.394Z' transform='translate(-18160.678 -3857.536)' fill='%23ba2b2b'/%3E%3Cpath id='Path_16146' data-name='Path 16146' d='M19012.742 7639.736h43.063v-44.252Z' transform='translate(-18160.541 -3768.893)' fill='%2308530c'/%3E%3Cpath id='Path_16149' data-name='Path 16149' d='M19012.742 7639.736h43.063v-44.252Z' transform='translate(-18160.541 -3813.144)' fill='%234dce5f'/%3E%3Cpath id='Path_16153' data-name='Path 16153' d='M19012.742 7639.736h43.063v-44.252Z' transform='translate(-18160.543 -3901.79)' fill='%23a9ebb2' opacity='0.395'/%3E%3C/g%3E%3C/svg%3E");
  background-position:bottom left;
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 85px;
  background-repeat: no-repeat;
  opacity: 0;
  transition: 0.3s ease-in-out;
}
@media (max-width: 1199px) {
  .medepartments .special-bottom .special-wrap .special-box:after {
    height: 75px;
  }
}
@media (max-width: 767px) {
  .medepartments .special-bottom .special-wrap .special-box:after {
    height: 65px;
  }
}
.medepartments .special-bottom .special-wrap .special-box:hover {
  background: #fff;
}
.medepartments .special-bottom .special-wrap .special-box:hover:after {
  opacity: 1;
  bottom: 0;
}
@media (max-width: 1199px) {
  .medepartments .special-bottom .special-wrap .special-box:hover:after {
    opacity: 0.2;
    display: none;
  }
}
/* .medepartments .special-bottom .special-wrap .special-box:hover p {
  -webkit-line-clamp: 3;
} */
@media (min-width: 1200px) {
  .medepartments .special-bottom .special-wrap .special-box:hover .cont-wrap .cont-bx {
    padding-top: 10px;
    transition: 0.3s ease-in-out;
  }
  
}

.medepartments .special-bottom .special-wrap .special-box:hover .cont-wrap .cont-bx .btn-appoint {
  transition: 0.3s ease-in-out;
  transform: scaley(1);
  visibility: visible;
  opacity: 1;
  bottom: 0;
}
/* @media (max-width: 767px) {
  .medepartments .special-bottom .special-wrap .special-box:hover .cont-wrap .cont-bx .btn-appoint {
    margin-top: 40px;
  }
} */
.medepartments .btns {
  text-align: center;
  padding-top: 50px;
}
@media (max-width: 1199.98px) {
  .medepartments .btns {
    padding-top: 20px;
  }
}
.post-type-archive-departments .home-above-foot {
  background: #fff !important;
}