body,
html {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-image: url("neurons.png");
    background-position-x: -700px;
    background-position-y: -100px;
    background-repeat: no-repeat;
}

.searchbar {
    height: 60px;
    background-color: #353b48;
    border-radius: 30px;
    padding: 10px;
}

.search_input {
    color: white;
    border: 0;
    outline: 0;
    background: none;
    caret-color: transparent;
    /* line-height: 40px; */
    transition: width 0.4s linear;
}

.searchbar:hover>.search_input {
    padding: 0 10px;
    caret-color: white;
    transition: width 0.4s linear;
}

.searchbar:hover>.search_icon {
    background: white;
    color: #353b48;
}

.search_icon {
    height: 40px;
    width: 40px;
    float: right;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
}

.carouselDiv {
    min-height: 40vh;
    max-height: 768px;
    overflow: hidden;
}

.carousel-item {
    height: 40vh;
}

#nlqerror {
    text-align: center;
    display: none;
}

#suggestions {
    height: 5em;
}

#suggestions .carousel-item {
    font-style: italic;
    text-align: center;
}

#suggestions .carousel-item:hover {
    cursor: pointer;
}

#suggestions .carousel-item:active>span {
    background-color: whitesmoke;
}

#carousel {
    display: none;
    background-color: #f5f5f5;
    border-radius: 15px;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238b0000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238b0000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.carousel-control-prev {
    left: -50px;
    width: 50px;
}

.carousel-control-next {
    right: -50px;
    width: 50px;
}

.carousel-indicators .active {
    background-color: #8b0000;
}

.carousel-indicators li {
    background-color: rgba(139, 0, 0, .2);
}

.carousel-indicators {
    bottom: -5px;
}

#nlpresults,
#sqlquery {
    overflow-y: auto;
}

#chart { 
    width: 100%;
    height: 100%;
}

.centertext {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.centertext ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2em;
    list-style: none;
    margin: 2em;
}

.list-group-item {
    display: flex;
    align-content: center;
    align-items: baseline;
    flex-direction: column;
    justify-content: center;
}

#chartTypes {
    position: absolute;
    top: 1em;
    right: 2em;
}

.dataTables_scrollHeadInner {
    width: 100% !important;
}

#loader {
    display: flex;
}

#loader img {
    width: 100px;
    height: 100px;
}

@media (min-width: 1024px)
{
    #main {
        max-width: 1024px;
        margin: 0px auto!important;
    }
}

#main {
    width: 100%;
    margin: 0px 10px;
}
