/* Elastic Search Test styles */

*{
    box-sizing: border-box;
}

html{
    font-family: monospace;
}

body{
    position: relative;
    padding: 0px 6px 0px 6px;
    margin: 0px 0px 0px 0px;
}

h1{
    padding: 0px 0px 0px 0px;
    margin: 6px 0px 2px 0px;
}

pre{
    white-space: pre-wrap; 
    margin: 0;  
}

#fadeover{
    display: none;
    
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;

    background-color: #000000;
    opacity: 0.6;

    z-index: 5;
}

div.container{
    width: 100%;
    /* max-width: 900px; */
    display: flex;
    flex-direction: column;
    height: 100vh;
    

    padding: 1px 0px 6px 0px;
    border: 0;
    margin: 0 auto;
}

form.es-form{
    padding: 0;
    border: 0;
    margin: 0px 0px 8px 0px;
}

fieldset{
    padding: 0;
    border: 0;
    margin: 0;
}

div.es-controls-contain{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

/*
div.es-controls-left{
    position: relative;
    width: calc(70% - 6px); 
}

div.es-controls-right{
    position: relative;
    width: 30%; 
}
*/

div.es-controls-01{
    position: relative;
    width: calc(35% - 6px);
}

div.es-controls-02{
    position: relative;
    width: calc(15% - 6px);
}

div.es-controls-03{
    position: relative;
    width: calc(30% - 6px);
}

div.es-controls-04{
    position: relative;
    width: 20%; 
}

#es-search{
    width: 100%;
    height: 30px;

    font-family: monospace;

    border: 1px solid #cccccc;
    border-radius: 2px;
}

.es-select{
    width: 100%;
    height: 30px;

    font-family: monospace;

    border: 1px solid #cccccc;
    border-radius: 2px; 
}

/*
#es-select{
    width: 100%;
    height: 30px;

    font-family: monospace;

    border: 1px solid #cccccc;
    border-radius: 2px; 
}
*/

div.es-data-contain{
    display: flex;
    width: 100%;
    flex-grow: 1;

    justify-content: space-between;
}

div.es-clean-contain{
    position: relative;
    /* width: calc(70% - 6px); */
    width: calc(50% - 6px);

    overflow-wrap: anywhere;

    background-color: #efefef;

    padding: 6px 6px 8px 6px;
    border-radius: 2px;
}

#es-clean-dtable th, td{
    vertical-align: top;
}

div.es-results-contain{
    position: relative;
    /* width: calc(70% - 6px); */
    width: calc(30% - 6px);

    overflow-wrap: anywhere;

    background-color: #efefef;

    padding: 6px 6px 8px 6px;
    border-radius: 2px;
}

div.es-results-contain::before{
    content:'raw results';
    display: block;
    position: absolute;
    top: 4px;
    right: 4px;

    font-size: 11px;
    font-weight: 900;
    color: #aaaaaa;
}

div.es-algorithm-contain{
    position: relative;
    width: 30%;
    width: 20%;

    background-color: #efefef;

    padding: 6px 6px 8px 6px;
    border-radius: 2px;
}

div.es-algorithm-contain::before{
    content:'algorithm';
    display: block;
    position: absolute;
    top: 4px;
    right: 4px;

    font-size: 11px;
    font-weight: 900;
    color: #aaaaaa;
}

#es-algorithm{
    width: 100%;
    height: 100%;

    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    background: none;

    padding: 6px 6px 8px 6px;
    border: 0;
}