body{
  margin-bottom:6em;
  overflow:auto;
}

.container{
  margin-top:50px;
}

.navbar-brand img{
  width: 40px;
}

.navbar button{
  border-radius: 25px;
  height: 35px;
  margin: 5px;
  width: 35px;
  padding: 0px;
}

.navbar button.selected{
  border: 2px solid #127c31;
  background-color: white;
  color: #127c31;
}{
  border-radius: 25px;
  height: 40px;
  margin: 5px;
}

.footer{
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 40px;
    line-height: 35px;
    background-color: #f8f9fa;
}

.footer .permission{
   font-size:12px;
   margin-left: 30px;
}

.text_title{
   font-size: 30px;
   color: #135c1d;
   border-bottom: 1px solid #135c1d;
   font-weight: bold;
}

.text_subtitle{
   font-size: 20px;
   color: #135c1d;
   font-weight: bold;
}

.text_subsubtitle{
   font-size: 18px;
   color: #135c1d;
   font-weight: bold;
}

.oina{
  color:green;
}

.text-image{
   text-align: center;
}


table{
  font-size:12px;
}

table td, table th{
  padding:2px !important;
  border:0px !important;
}

input, select{
  font-size: 10px !important;
  height: 20px !important;
}

#search_div input{
  color: #1B7B34;
}


select{
  padding: 0px !important;
  border-radius: 5px;
  background-color: white;
  width: auto !important;
}

a, a:hover{
  color: #0D5D22 !important;
  text-decoration: none !important;
}

a.nav-link{
  color: #1B7B34 !important;
}

h1{
  font-size: 2.5rem;
  border-bottom: 2px #1B7B34 solid;
  width: 100%;
  color: #1B7B34;
}

h1.no_results{
  text-align: center;
  border-bottom: none;
}

.btn-success {
    color: #fff;
    background-color: #1B7B34;
}


h3{
  color: black !important;
  border-bottom: 2px solid black;
}

.navbar-brand h4, .navbar-brand img{
  display: inline-block;
}

.navbar{
  padding-top: 0px;
  padding-bottom: 0px;
  height:40px;
}

/*.navbar-brand{
  padding: 0px;
}

.navbar-brand a{
  text-decoration:none;
  color: #1B7B34 !important;
}

h4.navbar-brand{
  margin-left: 10px;
  color: #1B7B34 !important;
  width:20%;
}
*/
span#babesleak{
  margin-right:30px;
  float:right;
}

span#babesleak img{
  max-height: 30px;
}


#chart{
  border-radius: 0px;
  background-color: #ffffff;
  padding: 0em;
}

#chart2{
  border-radius: 0px;
  background-color: transparent;
  margin-top:0;
}

#chart2 .tab-content{
  background-color: #deefde;
  border: 0px solid #019a8c;
  border-radius: 0px;
  padding: 5px;
}

#results{
  border-radius: 20px;
  overflow-y:scroll;
  height: 32em;
}


.kwic_before{
  text-align: right;
}

.kwic_after{
  text-align: left;
}

.kwic_after, .kwic_before{
  font-size:11px;
}

.kwic_form{
  font-weight: bold;
}

.kwic_form:hover{
  cursor:pointer;
}

.kwic_title{
  text-align: center;
  padding: 3px !important;
  padding-top: 20px !important;
  font-weight: bold;
}

.kwic_title span{
  color: #0D5D22 !important;
}

/*#search_div{
  border-radius: 25px;
  margin-bottom: 0.5em;
  margin-top: 2em;
  background-color: #dfe3e1;
  padding: 1em;
  width: 100%;
  margin-left: 0px;
  margin-right: 0px;
}*/

#search_div{
    margin-bottom: 0em;
    margin-top: 0em;
}

.main_search_form{
  margin-top:10em;
}

h1.total_results{
  font-size: 1.5rem;
}

#search_form_title{
  font-size: 3.5rem;
  border-bottom: 0px #1B7B34 solid;
  width: 100%;
  color: #1B7B34;
  text-align: center;
  font-weight: 100;
}

/* SEARCH */

#search_div .input-group{
  margin-bottom: 5px;
  display:none;
}

#search_div .input-group#main_query, #search_div .input-group#main_query_comp, #search_div .input-group.main_query_combined{
  margin-left: auto;
  margin-right: auto;
  display:flex;
}

#search_div button{
  border-radius:0px !important;
}




#main_query_combined, #main_query_combined_filter, #main_query_combined_result{
  display:none;
}

#main_query_combined_filter button, #main_query_combined_result button{
  border-radius: .25rem;
  
}

#main_query_combined_filter button{
  background-color: #1B7B34;
  color: white;
}

#main_query_combined_result button{
  background-color: #20b58f;
  color: white;
}

#main_query_combined_filter button:first-child, #main_query_combined_result button:first-child{
  margin-left: -1px;
  margin-right: -1px;
}

#search_div button{
  font-size: 11px;
  padding: 4px;
  border: 1px solid rgba(0,0,0,.15);
}

#search_div .group-header{
  text-align:center;
}

#search_div input{
  font-size: 15px !important;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  padding-left:3px;
}

#search_div .input-group, #search_div input, #search_div button{
  min-height:29px;
  width:100%;
}

#search_div #main_query_combined_buttons button{
  border-radius: 5px;
}

#search_div .search-panel{
  padding:0px;
  margin-top: 2px;
}

#search_div .search-panel button:hover{
  cursor:pointer;
}

.simple_search_button{
  background-color: #92C591;
  border-color: #92C591;
}

.advanced_search_button:hover{
  background-color: #92C591;
  border-color: #92C591;
  cursor: pointer;
}


.advanced_search_button{
  background-color: #559E54;
  border-color: #559E54;
}

.advanced_search_button:hover{
  background-color: #559E54;
  border-color: #559E54;
  cursor: pointer;
}

.guided_search_button{
  background-color: #0A3409;
  border-color: #0A3409;
}

.guided_search_button:hover{
  background-color: #0A3409;
  border-color: #0A3409;
  cursor: pointer;
}

.comparation_search_button{
  background-color: #305A30;
  border-color: #305A30;
}

.comparation_search_button:hover{
  background-color: #305A30;
  border-color: #305A30;
  cursor: pointer;
}


#search_button:hover{
  cursor: pointer;
}

#query_filters_1{
  overflow-x: unset;
}

#main_query.main_query_simple, #main_query.main_query_simple input, #main_query.main_query_simple button, #main_query_comp button, #main_query_comp input{
  min-height: 40px;
  font-size:12px !important;
}

#main_query_combined_result, #main_query_combined, #main_query_comp, .main_query_combined_div2{
  margin-top:auto !important;
  margin-bottom: auto !important;
}

#main_query_comp div{
  display: flex;
  margin-bottom: 3px;
}

#main_query_combined_filter, #main_query_combined_filter input, #main_query_combined_filter button, #main_query_combined_result input, #main_query_combined_result button{
  min-height: 25px;
  font-size:12px !important;
}

.search_title{
    text-align: left !important;
    font-size: 25px;
    border-bottom: 2px solid #1B7B34;
    width: 100%;
    color: #1B7B34 !important;
    margin-bottom: 0px;
}

.error_input{
  background-color: #ffc9c9;
}


#main_buttons{
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#main_buttons button{
  float:right;
}

#search_buttons .search_button, #option_buttons .option_button, #option_buttons2 .option_button, #option_buttons3 .option_button{
    display: inline-block;
    width: 30px;
    border-radius: 25px !important;
    margin: 2px;
    height: 30px;
}

button span.fa, button span.fas{
  font-size:15px;
}

#search_buttons{
  display: none;
  margin-left: 0;
  margin-right: 0;
  margin-top:5px;
  text-align: center;
  border-top: 2px solid #1B7B34;
  margin-top: 2px;
}

#search_buttons div{
  display: inline-block;
  margin-left: 0;
  margin-right: 0;
  text-align: center;
}

#option_buttons, #option_buttons2, #option_buttons3{
  display: none;
  margin-left: 0;
  margin-right: 0;
  text-align: right;
  border-bottom: 2px solid #1B7B34;
}

#option_buttons div, #option_buttons2 div, #option_buttons3 div{
  display: inline-flex;
  margin-left: 0;
  margin-right: 0;
  text-align: center;
}

.other_query_types{
  display:inline-block;
}

.other_query_types button{
  width:33% !important;
  display:inline-block;
}

.dropdown-menu{
  font-size:12px;
  min-width:100%;
  color: black;
  padding: 0 0 0 0;
  z-index: 10000;
}

.dropdown-menu li{
  font-size: 12px;
  text-align:center;
  line-height: 30px;
  min-height: 30px;
}

.dropdown-menu li a{
  height: 100%;
  display: block;
}


.dropdown-menu li:hover, .dropdown-menu li:hover a {
  background-color: #1B7B34;
  color: white !important;
  cursor: pointer;
}

.dropdown-menu li a{
  color: black !important;
}

.button_title{
    padding: 0px 7px 0px 7px !important;
    border-radius: 10px;
    color: white;
    font-weight: bolder;
    float: left;
    display: block;
}

.dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .3em;
    vertical-align: middle;
    content: "";
    border-top: 0.3em solid;
    border-right: .3em solid transparent;
    border-left: .3em solid transparent;
    float:right;
}

#search_concept{
  display:inline;
}

.dropdown-menu li a.all{
   color: transparent !important;
}

#main_query.main_query_simple #id_simple_query{
  padding-left:5px;
  color: #1B7B34;
  font-size:20px !important;
}

.main_query_simple{
  margin-top:2em;
  margin-bottom:2em !important;
}

#main_query_comp input{
  padding-left:5px;
  color: #1B7B34;
  font-size:20px !important;
}

input#id_simple_query, input#id_advanced_query, input#id_advanced_query2, input#id_advanced_query3, input#comp_query_1, input#comp_query_2{
  border: 1px solid #1B7B34;
}


.check_buttons{
  display: inline-block;
  margin-left: 0;
  margin-right: 0;
  text-align: center;
}

#search_div .check_buttons button{
    padding: 0px;
    display: inline-block;
    width: 30%;
    border-radius: 50px !important;
    margin-left: 5%;
    margin-right: 5%;
    background-color: #F24C4E;
    color: white;

}

#search_div .check_buttons button.active{
    background-color: #1B7B34;
    color: white;

}


/* ----------------*/

#search_form{
  width: 100%;
  margin-bottom:0;
}




/*.tooltip-inner {
    background: #7abcff; 
    background: -webkit-linear-gradient(top, #7abcff 0%,#60abf8 44%,#4096ee 100%); 
    background:    -moz-linear-gradient(top, #7abcff 0%,#60abf8 44%,#4096ee 100%); 
    background:   linear-gradient(to bottom, #7abcff 0%,#60abf8 44%,#4096ee 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7abcff', endColorstr='#4096ee',GradientType=0 ); 
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
}*/

#table_loader {
  
    border: 3px solid #0274d9;
    border-top-width: 3px;
    border-top-style: solid;
    border-top-color: 296029;
    border-top: 3px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: auto;
}

#big_loader, #context_loader {
    border: 6px solid #1B7B34;
    border-top-width: 3px;
    border-top-style: solid;
    border-top-color: 296029;
    border-top: 6px solid white;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    animation: spin 1s linear infinite;
    margin: auto;
    vertical-align:middle;
}

#context_loader {
    vertical-align:middle;
    margin-top:30px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.analysis_sure  {
    background: #b0e0be; 
    color: black;
}

.analysis_not_sure  {
    background: #e5e49a; 
    color: black;
}

.analysis_wrong, .analysis_None  {
    background: #f6c8cd; 
    color: black;
}

.analysis_no_analysis  {
    background: #D1D1D1; 
    color: black;
}


.popover {
  background-color: #f3f3f2;
}

.popover.right .arrow:after {
  border-right-color: #f3f3f2;
}

.tooltip_sure{
    background: #71b685;
    color: black !important;
    padding:5px;
    font-size:12px;
    text-align:center;
    display:block;
    margin-bottom:10px;
    border-radius:5px;
} 

.tooltip_not_sure{
    background: #e5e49a;
    color: black !important;
    padding:5px;
    font-size:12px;
    text-align:center;
    display:block;
    margin-bottom:10px;
    border-radius:5px;
} 

.tooltip_wrong, .tooltip_None{
    background: #f6c8cd;
    color: black !important;
    padding:5px;
    font-size:12px;
    text-align:center;
    display:block;
    margin-bottom:10px;
    border-radius:5px;
}

.nav-link{
  height: 2em;
  padding-top: 3px;
}

.fa-exchange-alt, .fa-arrows-alt-h{
  color:#e0a0c1;
  padding: 0px 5px 0px 5px;
}


.chart_search_header{
  text-align: center;
  margin-top: 0.5em;
  margin-bottom: 0em;
}

.chart_search_header_group{
  background-color: #1B7B34;
  padding: 5px;
  border-radius: 10px;
  color: white;
}

.chart_search_header_value{
  font-weight: bolder;
}

.chart_search_header_count{
  font-style: italic;
}

img.zoom{
  width: 100%;
  display: block;
  text-align: center;
  z-index: 100;
  opacity: 0.0;
  vertical-align: top;
  margin-top: 2em;
  margin-bottom: auto;
  position: absolute;
  max-height: 100%;
}


img.zoom:hover{
  opacity:0.05;
  transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  cursor:pointer;
}


table .header{
  background-color: white;
  color: #1B7B34;
  border-bottom: 2px solid #1B7B34;
}

table .others, table .others a{
  background-color: #1B7B34 !important;
  color: white !important;
}


.nav-tabs .nav-link {
    border: 0px solid #019679 !important;
    border-top-right-radius: .25rem;
    border-top-left-radius: .25rem;
    background-color: #f3f3f2;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #464a4c;
    background-color: #deefde;
    border-color: #ddd #ddd #ddd #ddd;
    border-bottom: 0px solid white !important;
}

.nav-tabs {
    border-bottom: 0px;
    margin-left: 0.5em;
}

.nav-tabs .nav-item {
  margin-bottom: 0px;
  border-bottom: 0px solid white;
}



/* PIE CHART */

.chart_options{
  height:25px;
}

#pie_chart, #time_chart{
  height: 300px;
  position: relative;
}

/*#pie_chart.big, #time_chart.big{
  height: 600px;
  position: relative;
}*/




/* TIME CHART */

#time_chart_div{
  width:250px;
  height: 300px;
}

#time_chart_div.big{
  width:100%;
  height:100%;
}

.jqplot-data-label{
    font-size: 10px;
    background-color: #fffdf6;
    color: black;
    opacity: 0.6;
    filter: alpha(opacity=60);
    text-align: center;
}

.modal .jqplot-data-label{
    font-size: 12px;
    background-color: #fffdf6;
    color: black;
    opacity: 0.6;
    filter: alpha(opacity=60);
    text-align: center;
}

/*----------------*/

.maximize_chart{
  margin: 0px;
  float: right;
  padding: 10px;
}

/*-- COMP CHARTS --*/

/*--#comp_charts .totals {
  padding-top:10px;
  background-color: #eaa2282b;
  border-radius: 10px;
  background-color: #eaa2282b;
  margin-left:auto;
}

#comp_charts .totals:first-child {
  background-color: #4bb2c52b;
  margin-right:auto;
}

#comp_charts .totals table{
  margin-top:2em;
}

#comp_charts .totals table .header{
  background-color: #eaa228;
  color: white;
  text-transform: capitalize;
  border-bottom: 2px solid #eaa228;
}--*/

#comp_charts .totals table .others, #comp_charts .totals table .others a{
  background-color: #eaa228 !important;
  color: white;
}


#comp_charts .totals:first-child table .header{
  background-color: #4bb2c5;
  color: white;
  text-transform: capitalize;
  border-bottom: 2px solid #4bb2c5;
}

#comp_charts .totals:first-child table .others, #comp_charts .totals:first-child table .others a{
  background-color: #4bb2c5 !important;
  color: white;
}



#comp_charts .totals p{
  text-align:center;
  margin-bottom:5px;
  margin-top:5px;
}

#comp_charts .totals p span{
    background-color: #1B7B34;
    color: white;
    padding: 10px;
    border-radius: 50px;
}

#comp_charts .totals p a{
    /*float:right;*/
    margin-left: 10px;
}

.left_comp{
    background-color: #4bb2c5;
}

.right_comp{
    background-color: #eaa228;
}

.right_comp span, .left_comp span{
    background-color: transparent !important;
}

.comp_charts{
    border: 2px solid #1b7b34;
    border-radius: 15px;
    margin-bottom: 10px;
}

#comp_charts .title{
    text-align: center;
    display: block;
    border-bottom: 1px solid #1b7b34;
    color: #1b7b34;
}
/* -----------------*/



/* MODAL */

.modal-body {
    max-height:800px; 
    height: 600px;
    overflow-y: auto;
}

#doc_modal .modal-body{
    max-height:430px;
}

/* --------------- */

.modal-header{
  background-color: #1B7B34;
  color: white;
}

.doc_header{
  font-size:12px;
  background-color: #f7f7f7;
  padding: 20px;
}

.doc_header p{
 font-weight: bold; 
}

.doc_header span{
  font-weight: normal;
}

.doc_body{
  font-size: 12px;
}


/*-------- GUIDED QUERY------------*/

div.guided h5, div.guided_bigger h5{
  text-align:center;
}

div.guided_div h5{
  text-align:left;
}

div.guided{
  height:18em;
}

div.guided_bigger{
  height:auto;
}


.guided_question{
  text-align:center;
  margin-top:2em;
  background-color: #1B7B341c;
  padding: 20px;
  border-radius: 25px;
}

.guided_question input, .guided_question select{
  min-height:40px;
  padding-left: 5px;
  color: #1B7B34;
  font-size: 20px !important;
  border:1px solid #1B7B34;
}



div.guided_bigger .guided_div input{
  border: none !important;
  font-size: 12px !important;
  color: black;
  text-align: center;
  width: 50px;
  margin: 0px;
  font-style: italic;
  width: 0px !important;
}

div.guided_query_list{
  background-color: #deefde;
  padding: 20px;
}

div.guided_query_list ul li{
  list-style-type: circle;  
}

div.guided_query_list ul li a{
  color: black !important; 
}

#guided_query_modal_content h5{
  border-bottom: 1px solid #1B7B34;
  color: #1B7B34;
} 














div.guided_bigger .guided_div.active input{
  border: none !important;
  border-bottom: 1px solid #1B7B34 !important;
  border-bottom-style: dashed !important;
  font-size: 12px !important;
  color: #1B7B34;
  text-align: center;
  width: 10em;
  margin: 5px;
  width:75px !important;
}


div.guided_bigger .guided_div select{
  font-size: 12px !important;
  border: none;
  background: none;
  margin: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  width: 6em !important;
  padding: 0px !important;
  color: black;
  font-style: italic;
  width:0px !important;
  margin-right: 0 !important;
  
}

div.guided_bigger .guided_div.active select{
  font-size: 12px !important;
  padding-right: 2em !important;
  color: white;
  border-radius: 0px;
  border: 1px solid;
  width: auto !important;
  margin-right: .5rem!important;
  background-color: #1B7B34;
  text-align: center;
  
}

div.guided_bigger .guided_div span.editable{
  font-style: italic;
  font-weight: bold;
  
}

div.guided_bigger .guided_div.active span.editable{
  display:none !important;
}

div.guided_bigger .guided_div:hover{
  cursor:pointer;
}

div.guided_bigger .guided_div.active:hover{
  cursor:auto;
}



div.guided_bigger li{
  font-size:12px;
}

.guided_query_title{
  text-align:center;
  margin-bottom:25px;
}

.guided_query_subtitle{
  border-bottom:1px solid black;
}

.guided_div.active{
  background-color: #e6f8e6;
}

.back_button{
  color: white !important;
  background-color: #1B7B34;
  padding: 5px;
  border-radius: 25px;
  border: 1px solid #1B7B34;
}

.back_button:hover{
  color: #1B7B34 !important;
  background-color: white;
}

#context_modal .doc_body p{
  color: transparent;
}

#context_modal .doc_body cell{
  display:block;
  margin-bottom: 1rem;
}

w[id^="e"][id$="w2"]::before{
    content: '-';
}

w > w[id^="e"][id$="w2"]{
    margin-left: -4px;
}


#context_modal .doc_body p w{
  color: black;
}

#context_modal .doc_body p:after {

    content: ' ';

}
/*==========  Non-Mobile First Method  ==========*/

    /* Large Devices, Wide Screens */
    @media only screen and (max-width : 1200px) {

    }

    /* Medium Devices, Desktops */
    @media only screen and (max-width : 992px) {

    }

    /* Small Devices, Tablets */
    @media only screen and (max-width : 768px) {
        .navbar-brand h4, .navbar-brand img {
            display: inline-block;
            font-size: 12px;
        }
        .footer .permission {
            display: none;
        }
    }

    /* Extra Small Devices, Phones */ 
    @media only screen and (max-width : 480px) {
        .navbar-brand h4, .navbar-brand img {
            display: inline-block;
            font-size: 12px;
        }
        .footer .permission {
            display: none;
        }
    }

    /* Custom, iPhone Retina */ 
    @media only screen and (max-width : 320px) {
        .navbar-brand h4, .navbar-brand img {
            display: inline-block;
            font-size: 12px;
        }
        .footer .permission {
            display: none;
        }
    }
    
