/* index.html */
.navbar-default {
    background-color:white;
    border-top: 0px;
    border-bottom: 0px;
	font-family: 'Source Sans Pro', sans-serif;
    margin-bottom: 0;
}

.navbar-brand {
    letter-spacing: 1px;
    font-size: 20px;
    font-weight: bold;
    vertical-align: center;
}

section.top_area{
    margin-top: 0;
    position: relative;
    background: url(http://cadd.zju.edu.cn/protacdb/statics/images/6boy_high_60_1080.png );
    */background: url(./images/6boy_high_60_1080.png );*/
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    /*background-color:#474f5f;*/
    color:#fff;
    text-align:center;
    padding:180px 0 30px;
    width: 100%;
    height: 450px;
}

section.second_area{
    position: relative;
    text-align:center;
    padding:30px 0 30px;
}

.title{
    font-size: 36px;
	font-family: 'Source Sans Pro', sans-serif;
	color: #464D50;
	line-height: 1;
}

.content{
	font-size: 16px;
	font-family: 'Source Sans Pro', sans-serif;
	color: #848D91;
	line-height: 1.5;
}

/* ----- Statistics ----- */
.statistics-box {
    display: flex;
    padding: 20px 10px;
    margin-top: 40px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #d4d4d4;
    border-radius: 5px;
}
.statistics-box .statistics-item {
    text-align: center;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 10px 0;
}
.statistics-box .statistics-item .statistics-value {
    display: block;
    font-weight: 700;
    line-height: 1em;
    color: #343434;
    font-size: 25px;
    letter-spacing: 0.04em;
    margin: 0 0 12.5px;
}
.statistics-box .statistics-item .statistics-title {
    margin: 0;
    font-size: 18px;
    color: #717171;
    line-height: 1em;
    letter-spacing: 1px;
    font-family: 'Source Sans Pro', sans-serif;
}
.statistics-box .statistics-item:not(:last-of-type) {
    border-right: 1px solid #d4d4d4;
}
/* ----- Statistics ----- */

div[name="drawModal_header"]{
    background-color:#474f5f;
    color:#fff;
    padding: 7px 15px;
}

#search_content {
    font-size: 14px;
    height: 50px;
    overflow-y: scroll;
    /* 防止水平滚动条 */
    overflow-x: hidden;
}
/* placeholder */
#search_content::-webkit-input-placeholder{/*Webkit browsers*/
    color:#999;
    font-size:16px;
	font-family: 'Source Sans Pro', sans-serif;
}
#search_content:-moz-placeholder{/*Mozilla Firefox 4 to 8*/
    color:#999;
    font-size:16px;
	font-family: 'Source Sans Pro', sans-serif;
}
#search_content:-ms-input-placeholder{/*Internet Explorer 10+*/
    color:#999;
    font-size:16px;
	font-family: 'Source Sans Pro', sans-serif;
}
/* placeholder */

/* 搜索联想框对应的class*/
.ui-widget-content {
    background: white;
    max-height: 200px;
    overflow-y: scroll;
    /* 防止水平滚动条 */
    overflow-x: hidden;
    padding: 5px 0;
    margin: 2px 0 0;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}
.ui-widget {
    font-family: Arial;
    font-size: 14px;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    border: 1px solid #f5f5f5;
    background: #f5f5f5;
    color: #262626;
}
/* 搜索联想框对应的class*/

/* target list的li标签*/
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    font-weight: bold;
/* target list的li标签*/
}

/* radio样式*/
.custom-radio{
	display: inline-block;
	padding: 10px 15px;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: #FFFFFF;
	line-height: 1;
	letter-spacing: 1px;
	text-shadow: none;
	border: 1px solid white;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
    border-radius: 30px;
    margin: 25px 15px 33px 0px;
    cursor: pointer;
}
.custom-radio:hover, .draw_structure:hover {
    border: 1px solid #05CBB8;
    color: #05CBB8;
}

.search-type-radio, .search-dataset-radio{
    position: relative;
    display: inline-block;
    margin: 10px;
}
.search-type-radio input, .search-dataset-radio input {
    vertical-align: middle;
    margin-top: -2px;
    margin-bottom: 1px;
    /* 前面三行代码是为了让radio单选按钮与文字对齐 */
    width: 20px;
    height: 20px;
    appearance: none;/*清楚默认样式*/
    -webkit-appearance: none;
    opacity: 0;
    outline: none;
    /* 注意不能设置为display:none*/
}
.search-type-radio label {
    position: absolute;
    left: 0;
    top: 0;
    /*注意层级关系，如果不把label层级设为最低，会遮挡住input而不能单选*/
    width: 20px;
    height: 20px;
    border: 1px solid #05CBB8;
    border-radius: 100%;
}
.search-type-radio input:checked+label {
    background: #05CBB8;
}
.search-type-radio input:checked+label::after, .search-dataset-radio input:checked+label::after {
    position: absolute;
    left: 8px;
    top: 2px;
    width: 5px;
    height: 12px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: rotate(45deg);
}
.search-dataset-radio label {
    position: absolute;
    left: 0;
    top: 0;
    /*注意层级关系，如果不把label层级设为最低，会遮挡住input而不能单选*/
    width: 20px;
    height: 20px;
    border: 1px solid #3582E9;
    border-radius: 100%;
}
.search-dataset-radio input:checked+label {
    background: #3582E9;
}

/* radio样式*/

/* draw structure*/
.draw_structure {
    display: inline-block;
	padding: 10px 15px;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: white;
    background: transparent;
	line-height: 1;
	letter-spacing: 1px;
	text-shadow: none;
	border: 1px solid white;
	outline: 1px;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
    border-radius: 30px;
    margin: 25px 0px;
    cursor: pointer;
}
/* draw structure*/

/* submit_mol_button*/
.submit_mol_button {
    display: inline-block;
	padding: 10px 10px;
	color: white;
    background: #05998B;
	line-height: 1;
	text-shadow: none;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
    border-radius: 5px;
    margin: 10px 0px;
    cursor: pointer;
}
.submit_mol_button:hover {
    background: #05CBB8;
}
/* submit_mol_button*/
/* index.html */

/* browse.html */
.glyphicon-question-sign{
cursor:pointer
}
.dataset_area {
    margin-top: 0;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-color: #353c4b;
    border-top: black solid 1px;
    color:#fff;
    text-align:center;
    width: 100%;
}
#data_sources {
    height: 100px;
    display:flex;
    align-items:center;
    justify-content:center;
}
table[name='target_table']>thead>tr>th{
    background: #353c4b;
    color: white;
    font-weight: bold;
}
table[name='target_table']>tbody>tr>td{
    /*word-wrap:break-word;*/
    word-break:break-all;
}
#filter {
    display: inline-block;
    height: 30px;
    padding: 5px 15px 6px 15px;
    background: #59a3e1;
    color: white;
    border: 0px;
    border-radius: 20px;
    margin-left: 10px;
    cursor: pointer;
}
#filter:hover {
    background: #40739e;
}
table[name='compound_table'] {
    margin-top: 0px;
}
table[name='compound_table']>thead>tr>th{
    background-color: #353c4b;
    color: white;
    font-size: 14px;
    font-weight: bold;
    vertical-align: middle;
}
table[name='compound_table']>tbody>tr>td{
    font-size: 14px;
    vertical-align: middle;
    word-wrap:break-word;
    table-layout: fixed;
}
/* browse.html */

/* search_area */
section.search_area{
    margin-top: 0;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-color:#474f5f;
    color:#fff;
    text-align:center;
    width: 100%;
    padding: 10px;
    height: 50px;
}

/*structure image*/
.img_zoom {
    width: 200px;
    height: 200px;
    /*-webkit-transition: all .2s ease-in-out;*/
    /*-moz-transition: all .2s ease-in-out;*/
    /*-o-transition: all .2s ease-in-out;*/
    /*-ms-transition: all .2s ease-in-out;*/
    /*cursor: zoom-in;*/
    /*cursor: url(http://cadd.zju.edu.cn/protacdb/statics/images/zoom_in_24px.ico), auto\0;*/
    /*cursor: url(http://cadd.zju.edu.cn/protacdb/statics/images/zoom_in.ico), auto\0;*/
}
/*.transition {*/
/*    background-color : white;*/
/*    -webkit-transform: scale(3);*/
/*    -moz-transform: scale(3);*/
/*    -o-transform: scale(3);*/
/*    transform: scale(3);*/
/*    box-shadow: 2px 2px 2px #888888;*/
/*    !*cursor: zoom-out;*!*/
/*    !*cursor: url(http://cadd.zju.edu.cn/protacdb/statics/images/zoom_out_24px.ico), auto\0;*!*/
/*    !*cursor: url(http://cadd.zju.edu.cn/protacdb/statics/images/zoom_out.ico), auto\0;*!*/
/*}*/

.window{
    z-index: 1200;
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    background: rgba(0,0,0,0.65);
    -webkit-transition: all 0.6s;
    -webkit-transform: scale(0.6);
    display: table;
}
.window div{
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.window img{
    display: inline-block;
    z-index: 1201;
    max-height: 100%;
    width: auto;
}

.window-show{
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1);
}

.dataTables_info {
    float: left;
    clear: both;
    height: 30px;
    display: inline-block;
    padding: 5px;
}

a:hover{
    cursor: pointer;
}
/*structure image*/

/*加载动画*/
.loading{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    /*background-color: rgba(0, 0, 0, 0);*/
    background: white;
}
.loading .pic{
    width: 64px;
    height: 64px;
    position: absolute;
    top: 0;
    bottom: 0;
    left:0;
    right:0;
    margin: auto
}
.loading .pic i{
    display: block;
    float: left;
    width: 6px;
    height: 50px;
    background: #399;
    margin: 0 2px;
    transform: scaleY(0.4);
    animation: load 1.6s infinite;
}
.loading .pic i:nth-child(1){animation-delay:0.1s }
.loading .pic i:nth-child(2){animation-delay:0.2s }
.loading .pic i:nth-child(3){animation-delay:0.3s }
.loading .pic i:nth-child(4){animation-delay: 0.4s}
.loading .pic i:nth-child(5){animation-delay:0.5s }
@keyframes load{
    0%,40%,100%{transform: scaleY(0.4)}
    20%{transform:scaleY(1) }
}
/*加载动画*/

/*分页样式*/
*{
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.l-page{
    margin-top: 5px;
    margin-bottom: 15px;
    text-align: center;
    float: right;
}
.l-page .ui-pagination-container .ui-pagination-page-item.active{
    background-color: #05CBB8;
    /*border:1px solid #2771ff;*/
    color: #fff;
}
.l-page .ui-pagination-container .ui-pagination-page-item{
    margin: 0px 1px 0px 0;
    padding: 7px 14px;
    border:1px solid #dddddd;
    color: #636363;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
}
.l-page .ui-pagination-container .ui-pagination-page-item:hover{
    color: #fff;
    background: #b8b8b8;
}
.l-page .ui-pagination-container .ui-pagination-page-item.active:hover{
    color: #fff;
}
.pagination a.active{
    background-color: #41aa58;
    color: white;
}
/*表头标题指示图 searchResult, warhead, e3_ligand*/
.none{
    background-image: url(http://cadd.zju.edu.cn/protacdb/statics/images/two_triangle_4.png);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 18px 18px;
    cursor: pointer;
    margin-left: 5px;
}
.ascending{
    background-image: url(http://cadd.zju.edu.cn/protacdb/statics/images/asc_4.png);
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
    background-size: 18px 18px;
}
.descending{
    background-image: url(http://cadd.zju.edu.cn/protacdb/statics/images/desc_4.png);
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
    background-size: 18px 18px;
}

/*filter modal*/
table[name='table_filter_target'],
table[name='table_filter_E3']{
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}
table[name='table_filter_target']>tbody>tr>td,
table[name='table_filter_E3']>tbody>tr>td{
    width: 100px;
    table-layout: fixed;
    word-wrap:break-word;
    vertical-align: middle;
}
table[name='table_filter_target']>tbody>tr>td[name='target'],
table[name='table_filter_E3']>tbody>tr>td[name='e3']{
    cursor: pointer;
}
table[name='table_filter_target']>tbody>tr>td[name='target_active'],
table[name='table_filter_E3']>tbody>tr>td[name='e3_active']{
    background: #05998B;
    color: white;
    cursor: pointer;
}

input[class='form-control']{
    width: 70px;
}
span[name="property_active"]{
    /*color: #1dade2;*/
}
input[name="property_content_active"]{
    background-color: #05CBB8;
    color: white;
}
.filter_head {
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #717171;
}
.filter_to{
    font-weight: bold;
    color: #717171;
    margin: 0px 10px 0px 10px;
}
.submit_filter_button {
    display: inline-block;
	padding: 10px 10px;
	color: white;
    background: #05998B;
	line-height: 1;
	text-shadow: none;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
    border-radius: 20px;
    margin: 40px 40px 0px 20px;
    cursor: pointer;
}
.submit_filter_button:hover {
    background: #05CBB8;
}
.clear_button {
    display: inline-block;
	padding: 10px 10px;
	color: white;
    background: #40739e;
	line-height: 1;
	text-shadow: none;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
    border-radius: 20px;
    margin: 40px 0px;
    cursor: pointer;
}
.clear_button:hover {
    background: #59a3e1;
}
/*filter modal*/

/* panel head*/
.panel-default>div[name='panel_head'] {
    background:#353c4b;
    color:#fff;
    padding: 7px 15px;
}
/* panel head*/

/*similar_button*/
.similar_button {
    display: inline-block;
	padding: 10px 10px;
	color: white;
    background: #05998B;
	line-height: 1;
	text-shadow: none;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
    border-radius: 5px;
    margin: 0px 0px 0 0;
    cursor: pointer;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0
}
.similar_button:hover {
    background: #05CBB8;
}
/*similar_button*/

/*download_button*/
.download_div {
    display: inline-block;
    margin-bottom: 0px;
    margin-left: 0;
}
.download_div ul {
    border: #a0a2aa solid 1px;
	background-color: white;
    color: #a0a2aa;
	position: absolute;
	display: none;
    border-radius: 4px;
    margin:0;
    padding: 0;
}
.download_div ul li {
    list-style: none;
}
.download_div ul li a {
    color: #717171;
	width: 88px;
    padding: 5px 5px;
	height: 30px;
	display: block;
	text-decoration: none;
    margin-left: 10px;
}
.download_div ul li:hover {
    background: #dddddd;
}
.download_div:hover ul{
    display: block;
}
.download_button{
    display: inline-block;
	padding: 10px 10px;
	color: white;
    background: #05998B;
	line-height: 1;
	text-shadow: none;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
    border-radius: 5px;
    margin: 10px 0px 0px 0;
    cursor: pointer;
    border-left: #dddddd solid 1px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}
.download_button:hover {
    background: #05CBB8;
}
/*download_button*/

/*detail_button*/
.detail_button {
    display: inline-block;
	padding: 10px 10px;
	color: white;
    background: #05998B;
	line-height: 1;
	text-shadow: none;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
    border-radius: 5px;
    margin: 10px 0px 0 0;
    cursor: pointer;
}
.detail_button:hover {
    background: #05CBB8;
}
/*detail_button*/

/*使得table-responsive在大屏的protac页面时，结构的图片放大时不会出现滚动按钮*/
@media screen and (min-width:992px) {
    div[name="no_response"] {
        overflow-x: visible;
        overflow-y: visible;
    }
}

/*ligand_button*/
.ligand_button {
    display: inline-block;
	padding: 10px 10px;
    border: #05998B solid 1px;
	color: white;
	line-height: 1;
	text-shadow: none;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
    border-radius: 100%;
    margin: 0px 0px 0px 0;
    cursor: pointer;
}
.ligand_button:hover {
    background: #05CBB8;
}
div[name='ligand_button_active']{
    background: #05998B;
}
/*ligand_button*/

/*table_warhead_target*/
table[name='table_warhead_target']{
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}
table[name='table_warhead_target']>tbody>tr>td{
    width: 100px;
    table-layout: fixed;
    word-wrap:break-word;
    vertical-align: middle;
}
table[name='table_warhead_target']>tbody>tr>td[name='target'] {
    cursor: pointer;
}
table[name='table_warhead_target']>tbody>tr>td[name='target_active']{
    background: #05998B;
    color: white;
    cursor: pointer;
}
/*table_warhead_target*/

/*structure_table*/
table[name='structure_table']{
    text-align: center;
    margin-bottom: 0px;
}
table[name='structure_table']>tbody>tr>td[name='structure']{
    vertical-align: middle;
    font-weight: bold;
    width: 250px
}
/*structure_table*/

/*sidebar*/
.sidebar {
    right:0;
    width: 200px;
    margin-right: -200px;
    height: 320px;
    background-color: #353c4b;
    overflow: hidden;
    transition: 0.6s all;
    z-index: 999;
    position: fixed;
}
div[name='sidebar_head']{
    /*text-align: center;*/
    cursor: pointer;
    padding: 10px 0 10px 20px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    border-bottom: black solid 1px;
}
.side {
    margin-right: 0;
}
/*靠边*/
.sidebar ul {
    margin: 0;
    padding: 0;
}
/*去点*/
.sidebar ul li {
    list-style: none;
    vertical-align: middle;
}
/*去下划线*/
.sidebar ul li a {
    text-decoration: none;
    color: white;
    width: 100%;
    padding: 10px 0 10px 20px;
    font-size: 16px;
    /*text-align: center;*/
    display: inline-block;
    transition: 0.6s all;
    vertical-align: middle;
    border-radius: 0;
}
.sidebar ul li a:hover {
    background: #95a5a6;
}
.sidebar_btn {
    margin-right: 0;
    right:0;
    width: 50px;
    text-align: center;
    padding-top: 4px;
    padding-bottom: 2px;
    font-size: 20px;
    background-color: #353c4b;
    color: white;
    cursor: pointer;
    position: fixed;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    transition: 0.6s all;
}
.sidebar_btn_close {
    margin-right: -50px;
}
/*sidebar*/

/*tbRepresent*/
tbody[id='tbRepresent']>tr>td {
    /*word-wrap:break-word;*/
    word-break:break-all;
}
/*tbRepresent*/

/*tbPhar*/
tbody[id='tbPhar']>tr>td {
    /*word-wrap:break-word;*/
    word-break:break-all;
}
/*tbPhar*/

/*tbPharMain*/
tbody[id='tbPharMain']>tr>td {
    /*word-wrap:break-word;*/
    word-break:break-all;
}
/*tbPharMain*/

/*About html*/
.about_content{
    font-size: 14px;
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.5;
}
/*About html*/

/*Protac html*/
.mol-container {
  width: 100%;
  height: 400px;
  position: relative;
}
table[name='table_Ternary_target']>tbody>tr>td[name='target'] {
    cursor: pointer;
}

table[name='table_Ternary_target']>tbody>tr>td[name='target_active']{
    background: #05998B;
    color: white;
    cursor: pointer;
}

table[name='table_Ternary_pdb'], table[name='table_Ternary_download']{
    margin-top: 0px;
}
table[name='table_Ternary_pdb']>thead>tr>th,
table[name='table_Ternary_download']>thead>tr>th{
    background-color: #353c4b;
    color: white;
    font-size: 14px;
    font-weight: bold;
    vertical-align: middle;
    text-align: center;
}
table[name='table_Ternary_pdb']>tbody>tr>td,
table[name='table_Ternary_download']>tbody>tr>td{
    font-size: 14px;
    vertical-align: middle;
    word-wrap:break-word;
    table-layout: fixed;
}

input[type=checkbox]  {

display: inline-block;
vertical-align: middle;
width: 20px;
height: 20px;
margin-left: 0px;
-webkit-appearance: none;
background-color: transparent;
border: 0;
outline: 0 !important;
line-height: 20px;
color: #d8d8d8;
cursor: pointer;
}

input[type=checkbox]:after  {

content: "";
display:block;
width: 14px;
height: 14px;
text-align: center;
line-height: 5px;
font-size: 16px;
color: #fff;
border: 3px solid #ddd;
background-color: #fff;
box-sizing:border-box;

}

input[type=checkbox]:checked:after  {

border: 3px solid #ddd;
background-color: #37AF6E;

}

#tbTernary_pdb> tr:hover {
border: 1px solid #e5e5e5;
    background-color: beige;
    cursor: pointer;
}

/*固定表头，添加滚动条*/
#tbTernary_pdb{
    display: block;
    overflow-y: scroll;
    max-height: 360px;
}
#thTernary_pdb, #tbTernary_pdb tr{
    display: table;
    width: 100%;
    table-layout: fixed;/*重要  表格固定算法*/
}
#thTernary_pdb{
    width: calc(100% - 1.2em)
}

/*Protac html*/