﻿a.sidebar-expander {
    background: none repeat scroll 0 0 #000000;
    color: #FFFFFF;
    display: block;
    font-size: 15px;
    font-weight: 400;
    height: 50px;
    margin-right: 0;
    padding: 1em 1em 1em;
    position: absolute;
    right: 0;
    text-decoration: none;
    text-transform: uppercase;
    /*top: 0;*/
    transition: right 0.3s ease-in-out 0s;
    width: 40px;
    z-index: 7;
    transition: right 0.3s ease-in-out 0s;
    -webkit-transition: right 0.3s ease-in-out 0s;
    -moz-transition: right 0.3s ease-in-out 0s;
    -o-transition: right 0.3s ease-in-out 0s;
}

    a.sidebar-expander:hover {
        cursor: pointer;
    }

    a.sidebar-expander.fixed {
        position: fixed;
    }

.sidebar-expanded a.sidebar-expander.fixed {
    right: 20em;
}

#sidebar {
    /*background: #2d2f33; */ /*use from the bootstrap theme */
    display: block;
    height: 100%;
    overflow: auto;
    position: fixed;
    right: -20em;
    font-size: 15px;
    top: 0;
    width: 20em;
    z-index: 2000;
    transition: right 0.3s ease-in-out 0s;
    -webkit-transition: right 0.3s ease-in-out 0s;
    -moz-transition: right 0.3s ease-in-out 0s;
    -o-transition: right 0.3s ease-in-out 0s;
}

    #sidebar div.panel-heading {
        height: 50px !important;
        display: flex;
        flex-direction: row;
    }

        #sidebar div.panel-heading h3.panel-title {
            height: 100%;
            width: 75%;
            display: flex;
            align-self: flex-start;
            align-items: center;
        }

.sidebar-expanded #sidebar {
    right: 0;
}

body.sidebar-expanded {
    margin-left: 0em;
    transition: right 0.4s ease-in-out 0s;
    -webkit-transition: right 0.4s ease-in-out 0s;
    -moz-transition: right 0.4s ease-in-out 0s;
    -o-transition: right 0.4s ease-in-out 0s;
}

#sidebar-close {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 300;
    font-size: 24px;
    height: 100%;
    align-self: flex-end;
    width: 24%;
    text-align: right;
}

.nopadding {
    padding: 0;
    margin: 0;
}

/* Analysis view CSV button */

#analisis-view-csv {
    position: absolute;
    top: 90px;
    right: 105px;
    display: block;
    height: 45px;
    width: 45px;
}

/* Command panel section */

a.commandpanel-expander {
    background: none repeat scroll 0 0 #04519b;
    color: #FFFFFF;
    display: block;
    font-size: 14px;
    font-weight: 400;
    height: 45px;
    margin-right: 0;
    padding: 1em 1em 1em 1em;
    position: absolute;
    right: 55px;
    text-decoration: none;
    text-transform: uppercase;
    top: 90px;
    transition: right 0.3s ease-in-out 0s;
    width: 45px;
    z-index: 7;
    border-radius: 5px;
    transition: right 0.3s ease-in-out 0s;
    -webkit-transition: right 0.3s ease-in-out 0s;
    -moz-transition: right 0.3s ease-in-out 0s;
    -o-transition: right 0.3s ease-in-out 0s;
}

    a.commandpanel-expander:hover {
        cursor: pointer;
    }

    a.commandpanel-expander.fixed {
        position: fixed;
    }

.commandpanel-expanded a.commandpanel-expander.fixed {
    right: 40em;
}

#commandpanel {
    display: block;
    height: 808px;
    overflow-y: auto;
    overflow-x: hidden;
    position: fixed;
    right: -37em;
    font-size: 14px;
    top: 9.6em;
    width: 37em;
    z-index: 1900;
    transition: right 0.3s ease-in-out 0s;
    -webkit-transition: right 0.3s ease-in-out 0s;
    -moz-transition: right 0.3s ease-in-out 0s;
    -o-transition: right 0.3s ease-in-out 0s;
}

.commandpanel-expanded #commandpanel {
    right: 40px;
    position: absolute;
}
/* 
body.commandpanel-expanded {
  margin-left: 0em;
  transition: right 0.4s ease-in-out 0s;
  -webkit-transition: right 0.4s ease-in-out 0s;
  -moz-transition: right 0.4s ease-in-out 0s;
  -o-transition: right 0.4s ease-in-out 0s;
} */

#commandpanel-close {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 300;
    font-size: 24px;
    padding-right: 10px;
}

.command-message {
    background: #b1e1f7;
    text-align: left;
    color: #000;
    font-family: arial;
    position: relative;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.command-reply {
    background: #b7b7b7;
    text-align: left;
    color: white;
    font-family: arial;
    position: relative;
    border-radius: 5px;
    font-size: 12px;
}

.command-message:before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 5px solid transparent;
    border-right: 5px solid #b1e1f7;
    border-top: 5px solid #b1e1f7;
    border-bottom: 5px solid transparent;
    left: -6px;
    top: 0px;
}

.command-reply:before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 5px solid transparent;
    border-right: 5px solid #b7b7b7;
    border-top: 5px solid #b7b7b7;
    border-bottom: 5px solid transparent;
    left: -6px;
    top: 0px;
}

#command-inputs li {
    min-width: 171px;
    background-color: #eeeeee;
}

#custom-command {
    padding: 15px;
}

#diagnostic-command {
    padding: 15px;
}

#command-list {
    height: 560px;
}

    #command-list li {
        border: 0 none;
        padding-bottom: 0px;
    }

    #command-list .list-group {
        margin-bottom: 5px;
    }

.form-inline .nopadding {
    padding: 1px;
    margin: 0;
}

#commandpanel .panel-body {
    padding: 15px;
}
