﻿.kg-active-search {
    width: calc(100% - 247px);
    height: calc(100% - 82px);
    float: left;
    box-sizing: border-box;
    overflow-y: auto;
    margin-top: 82px;
    display: flex;
    animation: fade-in 0.4s ease;
    transition: width 0.4s ease;
}

#main.widescreen .kg-active-search {
    width: calc(100% - 68px);
}

.kg-active-search .jsgrid-table{
    width: 100% !important;
}

.kg-active-search__annotations {
    display: block;
    margin: 5px 0;
    color: #333;
}
.kg-active-search__annotation-name {
    font-weight: 600;
}
.kg-active-search__annotation-value {
}

.kg-active-search .jsgrid-grid-header{
    display: none;
}

.kg-active-search .kg-form_default{
    margin-top: 40px;
}

.kg-active-search .kg-form__bottom-actions {
    display: none;
}

.kg-active-search__search-line {
    width: 100%;
    float: left;
}

.kg-active-search__query-input {
    width: calc(100% - 155px);
    min-width: calc(100% - 155px);
    float: left;
}

.kg-active-search__query-input .kg-query-input {
    width: 100%;
    height: 39px;
}

.kg-query-input__input-field::-webkit-input-placeholder {color:#bbb;}
.kg-query-input__input-field::-moz-placeholder          {color:#bbb;}
.kg-query-input__input-field:-moz-placeholder           {color:#bbb;}
.kg-query-input__input-field:-ms-input-placeholder      {color:#bbb;}

.kg-active-search__query-input .kg-query-input__input-field {
    border-radius: 5px 0 0 5px;
    box-sizing: border-box;
    height: 36px;
    max-width: 100%;
    width: 100%;
    font-size: 100%;
    font: 16px Arial, Helvetica, sans-serif;
    padding: 8px;
    color: #333;
    background-color: rgba(255,255,255,1);
    border: none;
    float: left;
}

.kg-active-search-parameterized__properties .kg-query-input__input-field {
    box-sizing: border-box;
    height: 34px;
    max-width: 100%;
    min-width: 100%;
    min-height: 36px;
    width: 100%;
    font-size: 100%;
    font: 13px Arial, Helvetica, sans-serif;
    margin-bottom: 5px !important;
}

.kg-active-search-parameterized__type .kg-autocomplete__input {
    height: 36px;
    width: 100%;
    border-width: 1px;
    padding: 9px;
    border-radius: 5px 0 0 5px;
}

.kg-active-search-fulltext .kg-active-search-fulltext__type {
    display: inline-block;
    width: 21%;
    float: left;
}

.kg-active-search-fulltext__type .kg-autocomplete__input {
    height: 36px;
    width: 100%;
    border-width: 1px;
    padding: 9px;
    border-radius: 5px 0 0 5px;
}

.kg-active-search-fulltext .kg-active-search-fulltext__query {
    display: inline-block;
    width: 78.75%;
    padding-left: 0.25%;
}

.kg-active-search-fulltext .kg-active-search-fulltext__query .kg-query-input__input-field  {
    border-radius: 0;
}

.kg-active-search__search-button {
    border-radius: 0 5px 5px 0;
    box-sizing: border-box;
    float: left;
    background: #F73F47;
    color: white;
    border: none;
    height: 36px;
    width: 155px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.kg-active-search__search-button:hover {
   background: #E83F46; 
}

.kg-active-search__search-button:active {
   background: #DB3B42;
}

.kg-active-search__result {
    width: 100% !important;
    min-height: calc(100% - 163px) !important;
    background-color: rgba(255,255,255,0.8);
    /*border-top:1px solid #E5E5E5;
    border-bottom:1px solid #E5E5E5;*/
    overflow-y: auto !important;
    border-radius: 0 5px 5px 5px;
    float: left;
}

.kg-active-search__info {
    position: relative;
    margin-top: 20px;
    min-height: 65px;
    float: left;
    width: 100%;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
}

.kg-active-search__result-name {
    cursor: pointer;
    color: #555;
    text-decoration: underline;
}
.kg-active-search__result tr{
    transition: background-color 0.1s linear;
}
.kg-active-search__result tr:hover{
    background-color: rgba(255,255,255, 1);
}

.kg-active-search__attachment-icon {
    display: inline-block;
    padding: 0;
    border: none;
    background: url(/images/icons/doc1.png);
    background-position: center;
    vertical-align: middle;
    background-size: 24px 24px;
    height: 24px;
    width: 18px;
}

.kg-active-search__attachment-icon_hidden {
    display: none;
} 

.kg-active-search__attachment {
    display: inline-block; 
    margin-right: 10px;
    color: #000;
}

.kg-active-search__attachment_hidden {
    display: none;
}

.kg-active-search__source {
    display: inline-block;
    font-size: 0.9em;
}

.kg-active-search__source_hidden {
    display: none;
}

.kg-active-search__queryMatch {
    display: inline-block;
    margin-left: 10px;
}
.kg-active-search__search-toolbar{
}
.kg-active-search__filter{
    margin-top: 14px;
}

.kg-active-search__filter-button,
.kg-active-search__search-toggle-button {
    color:#fff;
    background-color: rgba(255,255,255,0.3);
    float: left;
    font-family: Helvetica;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 0.9em;
}

.kg-active-search__filter-button:hover,
.kg-active-search__search-toggle-button:hover {
    background-color: rgba(255,255,255,0.4);
}

.kg-active-search__filter-button:active,
.kg-active-search__search-toggle-button:active {
    background-color: rgba(255,255,255,0.5);
}

.kg-active-search__filter-button_active,
.kg-active-search__search-toggle-button_active {    
    background: rgba(255, 255, 255, 1);
    color: #000;
}
.kg-active-search__filter-button_active:hover,
.kg-active-search__search-toggle-button_active:hover {    
    background: rgba(255, 255, 255, 0.98);
}

.kg-active-search__filter-button_active:active,
.kg-active-search__search-toggle-button_active:active {    
    background: rgba(255, 255, 255, 0.95);
}

.kg-active-search__filter,
.kg-active-search__search-toolbar {
    margin-bottom: 5px;
    box-sizing: border-box;
    float: left;
    border-radius: 5px;
}

.kg-active-search__filter{
    margin-bottom: -1px;
}

.kg-active-search__filter-button:first-child,
.kg-active-search__filter-button_active:first-child{
    border-left: none;
    border-radius: 5px 0 0 0px;
}
.kg-active-search__search-toggle-button:first-child {
    border-left: none;
    border-radius: 5px 0 0 5px;
}

.kg-active-search__filter-button:last-child,
.kg-active-search__filter-button_active:last-child{
     border-radius: 0 5px 0 0;
}
.kg-active-search__search-toggle-button:last-child {
    border-radius: 0 5px 5px 0;
}

/*.kg-active-search-semantic, .kg-active-search-fulltext, .kg-active-search-parameterized {
    width: 99.5%;    
}*/

.kg-active-search-semantic .kg-query-input__input-field {
    /*border: none;        */
}

.kg-active-search-semantic__filter .kg-query-input__input-field{
    display: none;
}
.kg-active-search-semantic__select .kg-autocomplete__input {
    width: 100%;
}


.kg-active-search__result-item {
    float: left;
    max-width: 1000px;   
}

.kg-active-search__result-rating {
    margin-left: 20px;
    vertical-align: top;
    float: right;
    margin-right: 20px;
}

.kg-active-search-parameterized__properties {
    margin-top: 5px;
}

.kg-active-search__path {

}

.kg-active-search-path-node {
    
}

.kg-active-search-path-node__entity {
    cursor: pointer;
    font-size: x-small;
    color: gray;
    text-decoration: initial;
}

.kg-active-search-path-node__link {
    
}

.kg-active-search-path-node__link_hidden {
    display: none;
}

.kg-active-search__result-bookmark {
    background-position: center;
    border: 0;
    height: 16px;
    width: 16px;
    vertical-align: top;
    cursor: pointer;
    float: right;
}

.kg-active-search__result-bookmark_on {
    background: url(/images/icons/star-orange.png) no-repeat;
    background-size: 16px 16px;
}

.kg-active-search__result-bookmark_off {
    background: url(/images/icons/star.png) no-repeat;
    background-size: 16px 16px;
}

.jsgrid-grid-body td{
    border: none !important;
}

.kg-active-search__result-grid {
    border-bottom: 1px solid #fff;
}

.kg-active-search-turn-aside {
    width: 100%;
    height: 15px;
    background: rgba(255,255,255,0.3);
    transition: background ease-in-out 0.1s;
    border-radius: 3px;
    cursor: pointer;
    float: left;
}
.kg-active-search-turn-aside:after {
    content: '';
    border: 5px solid transparent;
    border-bottom: 5px solid #555;
    border-top: none;
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    margin: 5px 37.7%;
}
.kg-active-search-turn-aside:hover {
    background: rgba(255,255,255,0.8);
}
.reverse.kg-active-search-turn-aside:after {
    border-bottom: none;
    padding-bottom: 5px;
    border-top: 5px solid #555;
}
.kg-active-search-main {
    height: 100%;
    width: 100%;
    flex-shrink: 0;
    padding: 0 32px 32px 32px;
    box-sizing: border-box;
}