.header-content {
    height: 50px;
}

#searchhead {
    background: url("../images/bg.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}

#resourcemain {
    display: flex;
    padding: 1% 10%;
    align-items: flex-start;
}

.conditionSpan {
    border: 1px solid #c3c7cf;
    padding:5px 10px;
    margin-right:10px;
    cursor:pointer;
    display: inline-block;
    margin-bottom:6px;
}
.conditionSpan1 {
    border: 1px solid #c3c7cf;
    width: 30px;
    height: 27px;
    margin-right: 10px;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 6px;
    text-align: center;
    line-height: 25px
}
container {
    display:inline;
}
.conditionChecked {
    border:1px solid #ff6d00
}
.conditionChecked1 {
    border:1px solid #ff6d00
}

@keyframes favorites {
    0% {
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        transform: scale(0);
        -webkit-animation-timing-function: ease;
        -moz-animation-timing-function: ease;
        animation-timing-function: ease
    }

    22% {
        -webkit-transform: scale(1.16);
        -moz-transform: scale(1.16);
        transform: scale(1.16);
        -webkit-animation-timing-function: ease-in-out;
        -moz-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out
    }

    44% {
        -webkit-transform: scale(.98);
        -moz-transform: scale(.98);
        transform: scale(.98);
        -webkit-animation-timing-function: ease-in-out;
        -moz-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out
    }

    64% {
        -webkit-transform: scale(1.02);
        -moz-transform: scale(1.02);
        transform: scale(1.02);
        -webkit-animation-timing-function: ease-in-out;
        -moz-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out
    }

    to {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-in-out;
        -moz-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out
    }
}

pageSpan {
    border : 1px solid #e5e6eb;
    padding:6px 8px;
    margin:3px;
    cursor: pointer;
}

.nowPage {
    background-color: #e8f3ff;
    color:#79adfc;
}

#datasourceItem {
    padding: 10px;
    box-shadow: 2px 3px 10px -4px #999;
    border-radius: 7px 7px 7px 7px;
    margin-bottom: 10px;

}
/*#datasourceItem {
    width: 95%;
    margin: 0 auto;
    background: white;
    padding: 10px 20px;
    border-bottom: 1px solid #efefef
}

#datasourceItem:hover {
    cursor: pointer;
    background-color: #f7f8fa;
}*/

tag {
    font-size: 10px;
    background-color: #1c68a5;
    color: white;
    display: inline-block;
    padding: 2px 5px;
    margin: 0px 4px 5px 4px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: normal;
    cursor: pointer;
}

tag > a {
    text-decoration: none;
    color: inherit
}

tag > a:hover {
    color: white;
    text-decoration: none;
}

.block {
    display: block;
}

td > input {
    width: 100%;
}

code {
    display: block;
    white-space: pre-wrap;
    width: 600px;
    overflow: scroll;
}


/* 拖拽 */

dragreceiver {
    display: block;
    border: 1px dashed #1c68a5;
    margin: 4px 0px;
    padding: 4px;
}

dragreceiver:hover {
    border: 1px solid #1c68a5;
    color: #1c68a5;
}


/*
* 搜索
*/

search-filter div {
    margin-top: 8px;
}

search-filter select {
    float: right;
    margin-right: 10px;
}

search-result div {
    margin-bottom: 3px;
}

publisher {
    margin-bottom: 3px;
}

p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    margin: 0;
}

time {
    color: #676a70;
}

tag icon {
    cursor: pointer;
    margin-left: 2px;
}

pager {
    display: block;
    margin: 10px 0px;
}

pager span {
    padding: 8px;
    margin-right: 4px;
    cursor: pointer;
}

tips {
    color: #999;
    text-align: center;
    font-size: 26px;
    display: block;
    margin-top: 20px;
}

/*加载动画*/
.loader {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 48.2842712474619px;
    height: 48.2842712474619px;
    margin-left: -24.14213562373095px;
    margin-top: -24.14213562373095px;
    border-radius: 100%;
    -webkit-animation-name: loader;
    animation-name: loader;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-duration: 4s;
    animation-duration: 4s;
}
.loader .side {
    display: block;
    width: 6px;
    height: 20px;
    background-color: #046380;
    margin: 2px;
    position: absolute;
    border-radius: 50%;
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
}
.loader .side:nth-child(1),
.loader .side:nth-child(5) {
    transform: rotate(0deg);
    -webkit-animation-name: rotate0;
    animation-name: rotate0;
}
.loader .side:nth-child(3),
.loader .side:nth-child(7) {
    transform: rotate(90deg);
    -webkit-animation-name: rotate90;
    animation-name: rotate90;
}
.loader .side:nth-child(2),
.loader .side:nth-child(6) {
    transform: rotate(45deg);
    -webkit-animation-name: rotate45;
    animation-name: rotate45;
}
.loader .side:nth-child(4),
.loader .side:nth-child(8) {
    transform: rotate(135deg);
    -webkit-animation-name: rotate135;
    animation-name: rotate135;
}
.loader .side:nth-child(1) {
    top: 24.14213562373095px;
    left: 48.2842712474619px;
    margin-left: -3px;
    margin-top: -10px;
    -webkit-animation-delay: 0;
    animation-delay: 0;
}
.loader .side:nth-child(2) {
    top: 41.21320343109277px;
    left: 41.21320343109277px;
    margin-left: -3px;
    margin-top: -10px;
    -webkit-animation-delay: 0;
    animation-delay: 0;
}
.loader .side:nth-child(3) {
    top: 48.2842712474619px;
    left: 24.14213562373095px;
    margin-left: -3px;
    margin-top: -10px;
    -webkit-animation-delay: 0;
    animation-delay: 0;
}
.loader .side:nth-child(4) {
    top: 41.21320343109277px;
    left: 7.07106781636913px;
    margin-left: -3px;
    margin-top: -10px;
    -webkit-animation-delay: 0;
    animation-delay: 0;
}
.loader .side:nth-child(5) {
    top: 24.14213562373095px;
    left: 0px;
    margin-left: -3px;
    margin-top: -10px;
    -webkit-animation-delay: 0;
    animation-delay: 0;
}
.loader .side:nth-child(6) {
    top: 7.07106781636913px;
    left: 7.07106781636913px;
    margin-left: -3px;
    margin-top: -10px;
    -webkit-animation-delay: 0;
    animation-delay: 0;
}
.loader .side:nth-child(7) {
    top: 0px;
    left: 24.14213562373095px;
    margin-left: -3px;
    margin-top: -10px;
    -webkit-animation-delay: 0;
    animation-delay: 0;
}
.loader .side:nth-child(8) {
    top: 7.07106781636913px;
    left: 41.21320343109277px;
    margin-left: -3px;
    margin-top: -10px;
    -webkit-animation-delay: 0;
    animation-delay: 0;
}
@-webkit-keyframes rotate0 {
    0% {
        transform: rotate(0deg);
    }
    60% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(180deg);
    }
}
@keyframes rotate0 {
    0% {
        transform: rotate(0deg);
    }
    60% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(180deg);
    }
}
@-webkit-keyframes rotate90 {
    0% {
        transform: rotate(90deg);
    }
    60% {
        transform: rotate(270deg);
    }
    100% {
        transform: rotate(270deg);
    }
}
@keyframes rotate90 {
    0% {
        transform: rotate(90deg);
    }
    60% {
        transform: rotate(270deg);
    }
    100% {
        transform: rotate(270deg);
    }
}
@-webkit-keyframes rotate45 {
    0% {
        transform: rotate(45deg);
    }
    60% {
        transform: rotate(225deg);
    }
    100% {
        transform: rotate(225deg);
    }
}
@keyframes rotate45 {
    0% {
        transform: rotate(45deg);
    }
    60% {
        transform: rotate(225deg);
    }
    100% {
        transform: rotate(225deg);
    }
}
@-webkit-keyframes rotate135 {
    0% {
        transform: rotate(135deg);
    }
    60% {
        transform: rotate(315deg);
    }
    100% {
        transform: rotate(315deg);
    }
}
@keyframes rotate135 {
    0% {
        transform: rotate(135deg);
    }
    60% {
        transform: rotate(315deg);
    }
    100% {
        transform: rotate(315deg);
    }
}
@-webkit-keyframes loader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes loader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


@media screen and (min-width: 1000px) {

    inforetrieval {
        display: block;
        margin-top: 150px;
        margin-left: auto;
        margin-right: auto;
        width: 50%;
    }

    searchinput {
        width: 82%;
        display: inline-block;
        border: 2px solid #c4c7ce;
        border-right: 0;
        border-radius: 10px 0 0 10px;
        padding-left: 8px;
        padding-right: 8px;
        height: 36px;
    }

    searchinput input {
        width: 97%;
        margin-top: 8px;
        border: 0;
        outline: none;
        padding-right: 8px;
        line-height: 15px;
    }


    cleartext {
        cursor: pointer;
    }

    searchbtn {
        width: 18%;
        display: inline-block;
        height: 36px;
        color: white;
        line-height: 20px;
        text-align: center;
        background-color: rgb(57, 99, 197);
        vertical-align: top;
        border-radius: 0 10px 10px 0;
        padding-top: 8px;
    }

    searchbtn:hover {
        cursor: pointer;
        background-color: rgb(75, 120, 224);
    }

    infotips {
        display: block;
        margin-top: 12px;
    }

    infotips div {
        text-align: center;
    }

    infotips span {
        color: #999;
        font-size: 10px;
    }

    infotips b {
        color: #666;
    }

    #persona {
        width: 800px;
        height: 400px;
    }

    repositoriescontainer {
        display: block;
        padding: 5px;
    }

    #aggs {
        display: none;
    }

    #dateFilter {
        display: none;
    }

    date-filter {
        display: block;
        float: right;
    }

    date-filter input {
        width: 135px;
        height: 20px;
    }

    #fieldsetchild {
        width: 400px;
    }

    #recommendSign {
        display: none;
    }

}



@media screen and (max-width: 999px) {


    inforetrieval {
        display: block;
        margin-top: 150px;
        margin-left: auto;
        margin-right: auto;
        max-width: 400px;
        width: 100%;
    }

    searchinput {
        width: 82%;
        display: inline-block;
        border: 2px solid #c4c7ce;
        border-right: 0;
        border-radius: 10px 0 0 10px;
        padding-left: 8px;
        padding-right: 8px;
        height: 36px;
    }

    searchinput input {
        width: 95%;
        margin-top: 8px;
        border: 0;
        outline: none;
        padding-right: 8px;
        line-height: 15px;
    }

    cleartext {
        cursor: pointer;
    }

    searchbtn {
        width: 18%;
        display: inline-block;
        height: 36px;
        color: white;
        line-height: 20px;
        text-align: center;
        background-color: rgb(57, 99, 197);
        vertical-align: top;
        border-radius: 0 10px 10px 0;
        padding-top: 8px;
    }

    searchbtn:hover {
        cursor: pointer;
        background-color: rgb(75, 120, 224);
    }

    infotips {
        display: block;
        margin-top: 12px;
    }

    infotips div {
        text-align: center;
    }

    infotips span {
        color: #999;
        font-size: 10px;
    }

    infotips b {
        color: #666;
    }

    searchbox {
        padding: 5px;
        margin-bottom: 0px
    }

    searchbox input {
        width: 60%;
    }

    date-filter {
        display: none;
    }

    #recommendButton {
        display: none;
    }

    #recommendSign {
        color: white;
        margin-left: 10px;
    }

    date-filter input {
        width: 130px;
        height: 20px;
    }

    counter {
        z-index: 0;
    }

    search-filter select {
        width: 94px;
        height: 19px;
    }

    #searchLeft {
        position: absolute;
        left: -300px;
        z-index: 999;
        background-color: white;
        box-shadow: 4px 5px 6px 0px #999;
        padding: 3px;
    }

    #searchMain {
        padding: 5px;
        margin-left: 0px;
        width: 100%;
        position: absolute;
    }

    pager {
        text-align: center;
    }

    pager span {
        padding: 3px;
    }

    #persona {
        width: 100%;
        height: 200px;
    }

    repositoriescontainer {
        display: block;
        padding: 5px;
    }

    container {
        padding: 0px 5px 5px 5px;
    }

    #aggs {
        color: white;
        cursor: pointer;
    }

    #dateFilter {
        color: white;
        float: right;
        margin-top: 6px;
    }

    table {
        table-layout: fixed;
    }

    table th {
        width: 20%;
    }

}