﻿/*全局样式*/
*{ padding:0px; margin:0px; list-style:none;}  
h1,h2,h3,h4,h5,h6 {margin:0;padding:0;font-size:12px;font-weight: normal;}
select,input,img,select{vertical-align:middle; margin:0;padding:0;}
table{ border-collapse:collapse; border-spacing:0;}
img{vertical-align:middle; border:none}
body{color:#333;font-family:'Microsoft YaHei','微软雅黑',STXihei,'华文细黑',Heiti,'黑体',SimSun,'宋体',sans-serif;font-size: 14px;margin:0;padding:0;background:#fff;}
.clearit,.clearb{clear:both;margin:0;padding:0;}
a{text-decoration: none;}
.mt20{ margin-top: 20px; }
.fr{float: right;}
.fl{float: left;}
/*首页*/
.tal_btn span
 {
 float: left;
 display: block;
 cursor: pointer;
 font-size: 16px;
 text-align: center;
 height: 44px;
 padding: 0 15px;
 border-radius: 5px 5px 0 0;
 color: #999;
 line-height: 44px;
 background: #f5f5f5;
 font-weight: 700;
 margin-right: 15px;
 border: 1px solid #eee;
 box-sizing: border-box;
 border-bottom: none;
 }
  .tal_btn{
    /* overflow: hidden; */
    height: 46px;
  }
 .tal_btn span.selected
 {
 background:#fff;
 color: #A40000;
 border: none;
 box-shadow: -2px -5px 8px #ddd;
 -webkit-box-shadow: -4px -5px 10px #ddd;
 -moz-box-shadow: -2px -5px 8px #ddd;
 }
.tal_btn span.selected a{
 color: #A40000;
}
.tal_btn span a{color:#999;display: block;}
 .logo_tit{
 font-size: 20px;
 color: #A40000;
 padding-left: 30px;
 border-left: 3px solid #A40000;
 }
 .logo_cont{
 margin: 20px 0px;
 }
 .cont_tp {margin-bottom: 20px;}
.main{/* width: 1200px; *//* margin: 0 auto; */box-sizing: border-box;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;}
.W900{position: relative;width:100%;background:rgba(255, 255,255, 0.8);background: #fff\9;_background: #fff;}
.logo_cont img{display: block;margin: 0 auto;float: left;}
.logo_cont span{color: #2a88c7;display: block;font-size: 30px;line-height: 60px;}
.logo_cont span.sx{display: block;float: left;width: 4px;background: #1e99dc;height: 36px;margin: 14px 16px 0 10px;}
.logo_cont .logo{width: 400px; margin: 0 auto;}
.tal{-moz-box-shadow: -2px 2px 8px #ddd;-webkit-box-shadow: -2px 2px 8px #ddd;box-shadow: 0px -3px 8px #ddd;padding: 30px 30px 0px;margin-top: -2px;}
.tal .tal_qh{
 display: none;
 /* padding: 30px; */
}
.tal .tal_qh.active{
 display:block;
}
.sm_box.center{
 text-align: center;
 overflow-y: auto;
 max-height: 400px;
}
.tal_qh{
 min-height: 440px;
}
/*搜索*/
.main_L{float: left;}
.liList3 .title {padding: 0;}
.liList3 .title li {margin-right: 14px;float: left;width: 120px;text-align: center;}
.liList3 .title li a{ display: block;border: none;background: #eee;color: #666;padding:15px;cursor: pointer;border-radius:5px;}
.liList3 .title li.currentLetter a,.liList3 .title li a:hover{background: #A40000;font-weight: 600; color: #fff;}

a.fhdl_btn{margin: 0 auto;display: block;background: #73aee0;color: #fff;width: 80px;cursor: pointer;border-radius: 2px; text-align: center;height: 30px;line-height: 30px;}

/* .liList3 .title li .title_ft{background: #eee url(/Sites/Uploaded/UserUpLoad/20190219/20190219103657.png) no-repeat left center;}
.liList3 .title li.currentLetter .title_ft,.liList3 .title li .title_ft:hover{background: #A40000 url(/Sites/Uploaded/UserUpLoad/20190219/20190219103719.png) no-repeat left center;}

.liList3 .title li .title_sc{background: #eee url(/Sites/Uploaded/UserUpLoad/20190219/20190219103806.png) no-repeat left center;}
.liList3 .title li.currentLetter .title_sc,.liList3 .title li .title_sc:hover{background:#A40000 url(/Sites/Uploaded/UserUpLoad/20190219/20190219103826.png) no-repeat left center;}

.liList3 .title li .title_th{background: #eee url(/Sites/Uploaded/UserUpLoad/20190219/20190219103905.png) no-repeat left center;}
.liList3 .title li.currentLetter .title_th,.liList3 .title li .title_th:hover{background:#A40000 url(/Sites/Uploaded/UserUpLoad/20190219/20190219103924.png) no-repeat left center;}

.liList3 .title li .title_fr{background: #eee url(/Sites/Uploaded/UserUpLoad/20190219/20190219103938.png) no-repeat left center;}
.liList3 .title li.currentLetter .title_fr,.liList3 .title li .title_fr:hover{background:#A40000 url(/Sites/Uploaded/UserUpLoad/20190219/20190219103956.png) no-repeat left center;} */

.list li{float: left;line-height: 50px;margin-bottom: 10px;width: 66px;line-height: 50px;border-radius: 4px;background: #eee;text-align: center;margin-right: 15px;}
.list li a{color: #999;font-weight: 700;display:block;}
.list li.currentLetter a{ color: #fff;}
.list li.currentLetter{background: #A40000;}
.content_top{margin-bottom: 10px;}

.main_R{float: right;}
.main_R ul .text{float:left;height: 46px;line-height: 46px;width: 290px;padding-left: 15px;}
.main_R ul .button{ float: left;border: none;background: #A40000 url(/Sites/Uploaded/UserUpLoad/20190219/20190219104014.png) no-repeat center center;color: #fff;border-radius: 0px 4px 4px 0px;cursor: pointer;height: 48px; width: 85px;}

/*说明*/
.sm_box{ line-height: 30px; background: #fff; border-radius: 5px; padding: 20px; }
.sm .sm_t{font-size: 16px;color: #A40000; line-height: 40px;}
.sm ul{padding: 10px 0 20px;}

/*内容*/
.select_table{ margin: 20px 0px 0;padding-bottom: 20px;}
.title th{background: none repeat scroll 0 0 #A40000;border: 1px solid #adadad;font-weight: normal;font-size: 14px;height: 40px;color: #fff;}
.cliniclist2 tr td{border: 1px solid #adadad;font-size: 14px;padding: 5px;line-height: 24px;}
.cliniclist2 tr td a{color: #A40000;text-decoration: underline;}

.pages{ height: 30px; margin-top: 30px; }
.ae-pagination a{ padding: 4px 10px !important; display: block\9; float: left\9; }
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
 background: #A40000 !important; color: #fff !important;}

@media only screen and (max-width:768px){
.wrap{
 overflow: hidden;
 background:none;
}
.tal_qh{
	padding: 10px;
}
.tal_btn{
 display: flex;
 flex-wrap: wrap;
 /* justify-content: space-between; */
}
.tal_btn span{
 margin-bottom: -1px;
}
..tal_qh{
 min-height: auto;
}
 .cont_tp {padding: 10px;}
 .main{width: 100%;padding: 0px;}
 .title.fl{float: none;margin-bottom: 20px;display: flex;justify-content: space-between; flex-wrap: wrap;width: 100%;}
 .liList3 .title li{margin-right: 0px;float: none; width: auto;min-width: 140px;}
 .W900 {width: 100%;box-sizing: border-box;/* padding-top: 10px; */}
 .main_R {float: none;}
 .main_L {float: none;}
 .main_R ul .text{ width: 70%; }
 .main_L .list{display: flex;
 justify-content: space-around;
 flex-wrap: wrap;}
.list li{
 float:none; 
 width: auto; 
 min-width: 72px;
 margin-right: 0px;
 }
}

.tal_qh .search{
    overflow: hidden;
    display: flex;
    justify-content: end;
}
.tal_qh .desc{
    margin-top: 10px;
}
/* 遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(3px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 弹窗内容区域 */
.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

/* 关闭按钮 */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    font-size: 24px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border: 1px solid #e2e8f0;
}

.modal-close:hover {
    background: #A40000;
    color: white;
    transform: rotate(90deg);
    border-color: #A40000;
}

/* 弹窗标题 */
.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    padding-bottom: 16px;
    border-bottom: 2px solid #A40000;
    position: relative;
}


/* 详情项容器 */
.drug-detail-item {
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: flex-start;
}


.drug-detail-item:hover {
    background-color: rgba(241, 245, 249, 0.5);
    border-radius: 8px;
}
.drug-detail-item:last-child {
    border-bottom: none;
}

/* 标签样式 */
.drug-detail-label {
    flex-shrink: 0;
    width: 180px;
    font-weight: 600;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    padding-right: 12px;
    position: relative;
    padding-left: 20px;
}

.drug-detail-label::before {
    content: '•';
    color: #A40000;
    font-weight: bold;
    position: absolute;
    left: 8px;
}

/* 内容样式 */
.drug-detail-content {
    flex: 1;
    color: #1e293b;
    font-size: 15px;
    line-height: 1.7;
    padding-left: 8px;
    word-break: break-word;
}

/* 滚动条样式 */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 24px 20px;
        max-height: 90vh;
        border-radius: 12px;
    }
    
    .drug-detail-item {
        flex-direction: column;
        padding: 12px 0;
    }
    
    .drug-detail-label {
        width: 100%;
        margin-bottom: 6px;
        padding-left: 16px;
    }
    
    .drug-detail-content {
        padding-left: 16px;
    }
    
    .modal-title {
        font-size: 20px;
        padding-bottom: 12px;
    }
    
    .modal-close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content {
    animation: fadeIn 0.4s ease-out;
}
@media only screen and (max-width: 640px){
 .main_R,.main_L {width:100% !important; }
 .main_R{ margin-top: 20px; }
 .tal{padding: 0px;}
 .main_R ul .text{width: 73%;padding-left: 5px;}
}
@media only screen and (max-width: 560px){
 .logo_cont .logo{ width: 100%; } 
 .logo_cont img{ float: none; }
 .logo_cont span.sx{display: none;}
 .logo_cont span{ text-align: center; }
 .tab li {width:48%;}
 .ae-pagination a{ float: left; margin-top: 10px; }
 .pages{ height: auto; }
}
@media only screen and (max-width: 420px){
 .main_L .list{
 justify-content: space-between;
 }
 .title.fl{
 justify-content:inherit;
 }
 .liList3 .title li{
 margin: 15px 15px 0px 0px;
 min-width: 45%;
 }
}
@media only screen and (max-width: 375px){
 .main_R ul .text{
 width: 63%;
 }
}

    