﻿.banner {
 display: block;
}

.banner img {
 width: 100%;
}

.wrap_main {
 position: relative;
}

.wrap_main .main {
 background: url(/Content/Areas/Doctors/images/bigBG.jpg) no-repeat top center, url(/Content/Areas/Doctors/images/BGadd.jpg) repeat-y;
 background-size: 100% auto;
 padding-bottom: 40px;
}

.wrap_main .linkmap {
 color: #fff;
 position: absolute;
 top: 0;
 left: 50%;
 margin-left: -600px !important;
}

.wrap_main .linkmap a {
 color: #fff;
}

.Depall {
 padding: 40px 0 10px;
 box-sizing: border-box;
 background: url(/Content/Areas/Hospitals/images/Departments/depallbg.png) repeat-x bottom left;
}

.dep_img {
 margin-bottom: 20px;
 font-weight: bold;
}

.dep_img span {
 font-size: 24px;
 color: #254558;
 margin-top: 4px;
 display: inline-block;
}

.dep_img span::after {
 content: '';
 background: url(/Content/Areas/Common/images/common/docTitle.png) no-repeat center center;
 width: 22px;
 display: inline-block;
 height: 15px;
 margin-left: 20px;
}

.Depall ul li {
 float: left;
 width: 170px;
 height: 44px;
 margin-right: 36px;
 background: url(/Content/Areas/Hospitals/images/Departments/depdftbg.png) no-repeat center center;
 background-size: 100% 100%;
 margin-bottom: 30px;
 text-align: center;
}

.Depall ul li:nth-child(6n) {
 margin-right: 0;
}

.Depall ul li a {
 line-height: 44px;
 font-size: 15px;
 color: #254558;
 display: flex;
 width: 100%;
 justify-content: center;
 height: 100%;
 align-items: center;
}

.Depall ul li a.small_size {
 font-size: 13px;
}

.Depall ul li a.mob_small {
 font-size: 13px;
}

.Depall ul li a.overtwo {
 font-size: 12px;
 line-height: 22px;
}

.Depall ul li:hover {
 background: url(/Content/Areas/Hospitals/images/Departments/dephoverbg.png) no-repeat center center;
 background-size: 100% 100%;
}

.Depall ul li:hover a {
 color: #fff;
}

@media only screen and (max-width:768px) {
 .Depall ul li {
 width: 21%;
 margin: 0 2% 20px;
 }
 .Depall ul li a.mob_small {
 line-height: 22px;
 }
   .Depall ul li:nth-child(6n){
   margin-right: 2%;
   }
 .dep_img span::after {
 display: none;
 }
 .Depall {
 padding: 0 0 10px;
 margin-bottom: 30px;
 }
 .wrap_main .main {
 background-size: cover;
 }


}
@media only screen and (max-width:768px) {
  .Depall ul li {
 width: 46%;
  }
}  