/* Collapsible sidebar styles */
.sidebar {
    position: fixed;
    -webkit-transform: translateZ(0); /* hack around Chrome bug: http://stackoverflow.com/questions/11258877/fixed-element-disappears-in-chrome */
    background-color: #f5f6f7;
    width: 293px;
    height: auto;
    top: 41px;
    bottom: 0;
    left: 0;
    overflow: auto;
    font-size: 0.85em;
    z-index: 100;

    /*font-family: "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;*/
    text-shadow: 0px 1px white;
    box-shadow: 0 0 13px rgba(0,0,0,0.3);


    transition: left 0.4s cubic-bezier(.02,.01,.47,1);
    -moz-transition: left 0.4s cubic-bezier(.02,.01,.47,1);
    -webkit-transition: left 0.4s cubic-bezier(.02,.01,.47,1);
}

.sidebar.nascondi {
    left: 0px;

}



div.sphinxsidebar {
    font-size: 14px;
    /*height: 100%;*/

    /*font-family: "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;*/
    margin: 0;
    padding: 0;
    color: #494747;
}

.sphinxsidebar .badge{
    margin-right: 5px;
}

div.sphinxsidebarwrapper {
    padding: 0; /* overwrites basic.css rules */
    /*padding-top: 24px;*/
    padding-bottom: 130px; /* Extra padding for the footer items at the bottom */
    min-height: 100%;
    position: relative;
}

div.sphinxsidebar h3 {
    padding: 0 12px;
    font-size: 14px;
    line-height: 24px;
    font-weight: bold;
    margin: -3px 0 15px 0;
}

div.sphinxsidebar h3 a.index-link {
    text-transform: uppercase;
}

div.sphinxsidebar h3 a.showlink {
    color: #003594;
}

.sphinxsidebarwrapper > ul > .toctree-l1 {
    padding: 11px 0;
    line-height: 24px;

    border-top: 1px solid #ebebed;
}

.sphinxsidebarwrapper > ul > .toctree-l1.current {
    background-color: #fff;
    border-right: 1px solid #f5f6f7;
}

.sphinxsidebarwrapper li.toctree-l1 ul > li > a {
    line-height: 24px;
    display: inline-block;
    /*width: 100%;*/
}



.sphinxsidebarwrapper > ul > .toctree-l1:last-child {
    border-bottom: 1px solid #ebebed;
}

.sphinxsidebarwrapper .toctree-l1 li.current.selected-item {
    background-color: rgb( 110, 124, 159 );
}
.sphinxsidebarwrapper .toctree-l1 li.current.selected-item > a,
.sphinxsidebarwrapper .toctree-l1 li.current.selected-item > a > tt {
    color: white;
}

.sphinxsidebarwrapper .toctree-l1 li.current.selected-item > ul {
    background-color: white;
    color: #333;
}

.sphinxsidebarwrapper > ul > .toctree-l1 > a {
    font-size: 18px;
    line-height: 24px;
    padding: 0 12px;
    /*width: 100%;*/
    display: inline-block;
}

.sphinxsidebarwrapper .mms-hosted-search {
    margin-top: 15px;
}

.sphinxsidebarwrapper .nav-footer {
    padding: 50px 12px 12px 12px;
    position: absolute;
    bottom: 48px;
}

div.sphinxsidebar li.toctree-l2 > a {
    text-indent: -12px;
    padding-left: 37px;
}
div.sphinxsidebar li.toctree-l3 > a {
    text-indent: -12px;
    padding-left: 48px;
}
div.sphinxsidebar li.toctree-l4 > a {
    text-indent: -12px;
    padding-left: 60px;
}
div.sphinxsidebar li.toctree-l5 > a {
    text-indent: -12px;
    padding-left: 72px;
}

div.sphinxsidebar p {
    color: #333;
    margin: 12px 0 5px 12px;
    padding: 0 12px;
}

div.sphinxsidebar form { margin-top: 5px; }

div.sphinxsidebar p.logo {
    color: #888;
    padding: 0px;
    margin: -18px 5px 5px;
}

div.sphinxsidebar ul ul,
div.sphinxsidebar ul.want-points {
    list-style: none outside none;
    margin-left: 0;
}

div.sphinxsidebar ul {
    margin: 10px;
    padding: 0;
    color: #000;
}

div.sphinxsidebar ul.extra-contents {
    margin-top: -1px;
}

div.sphinxsidebar a { color: #333; }

div.sphinxsidebar input {
    border: 1px solid #ccc;
    font-family: sans-serif;
    font-size: 1em;
}
div.sphinxsidebar input[type=text]{
    margin-left: 20px;
    width: 11em !important;
}
div.sphinxsidebar input[type="submit"] {
    text-align: center;
    width: 4.5em !important;
}

div.sphinxsidebar tt.literal .pre {
    font-weight: normal;
}

div.sphinxsidebarwrapper ul {
    margin: 12px 0 0 0;
    padding: 0;
}
div.sphinxsidebarwrapper ul li a tt span {
    font-size:inherit;
}
div.sphinxsidebarwrapper div.idxcontents {
    margin-left: 8px;
    font-size: 88%;
}


/* Options panel */
.option-popup {
    position: fixed;
    -webkit-transform: translateZ(0); /* hack around Chrome bug: http://stackoverflow.com/questions/11258877/fixed-element-disappears-in-chrome */
    width: 293px;
    height: 303px;
    bottom: 0;
    left: 0;
    box-shadow: 0 -2px 3px rgba(0,0,0,0.15);
    z-index: 100;

    transition: bottom 300ms cubic-bezier(.02,.01,.47,1);
    -moz-transition: bottom 300ms cubic-bezier(.02,.01,.47,1);
    -webkit-transition: bottom 300ms cubic-bezier(.02,.01,.47,1);
    bottom: -250px;

}

.option-popup.closed {
    bottom: -250px;
}

/*
.option-popup a {
    color: white !important;
}
*/

.option-popup .disabled{
    color: rgb(191, 191, 190) !important;
    font-weight: normal !important;
}
.option-popup select{
    width: 100%;
}




.option-popup .option-header {
    cursor: pointer;
    height: 3em;
    background-color: rgb(49, 48, 48);
    color: rgb(160, 159, 158);
    padding: 5px 14px;
    font-weight: bold;
}

.option-popup .option-header > .fa-gear {
    font-size: 18px;
    margin-right: 10px;
}

.option-popup .option-header > .fa-angle-up,
.option-popup .option-header > .fa-angle-down {
    font-size: 18px;
}

.option-popup .option-header > span {
    line-height: 20px;
    font-size: 12px;
}

.option-popup .option-body {
    height: 253px;
    padding: 2px 16px;
    background-color: rgb(73, 71, 71);
    color: rgb(191, 191, 190);
    font-size: 13px;
}

.option-popup .option-body > ul {
    padding: 0;
    margin: 0px;

}

.option-popup > .option-body > ul > li {
    list-style-type: none;
    padding-bottom: 10px;
}

.option-popup .formats-list,
.option-popup .contribute-list {
    margin: 0;
    padding: 0;
}

.option-popup .formats-list li,
.option-popup .contribute-list li {
    display: inline;
    margin-right: 30px;
}

.option-body > ul > li > label {
    color: rgb( 191, 191, 190 );
    line-height: 1.714;
    font-weight: normal;
}

.option-popup .formats-list > li > a,
.option-popup .contribute-list > li > a {
    color: rgb( 255, 255, 255 );
    font-weight: bold;
    line-height: 0.914;
}


.option-body .tooltip-inner {
    white-space: pre-wrap;
    min-width: 85px !important;
}

.option-body .glyphicon {
    padding-right: 10px;
}

/* sub nav bar */
.navbar-inner-affix {
    position: fixed;
    -webkit-transform: translateZ(0); /* hack around Chrome bug: http://stackoverflow.com/questions/11258877/fixed-element-disappears-in-chrome */
    width: auto;
    /*height: 3em;*/
    top: 41px;
    left: 293px;
    right:0;
    overflow: hidden;
    /*font-size: 0.85em;*/
    z-index: 99;

    background-color: #f5f5f5;/*rgb(73, 71, 71);*/
    /*color: rgb(160, 159, 158);*/
    /*padding: 5px 14px;*/
    font-weight: normal;
    text-shadow: 0 !important;

    transition: left 0.4s cubic-bezier(.02,.01,.47,1);
    -moz-transition: left 0.4s cubic-bezier(.02,.01,.47,1);
    -webkit-transition: left 0.4s cubic-bezier(.02,.01,.47,1);
}

.content {

    margin-top: 0px;
    /*margin-left: 293px;*/
    min-height: 600px;
    padding: 0px 15px 50px 15px;

    transition: margin-left 0.4s cubic-bezier(.02,.01,.47,1);
    -moz-transition: margin-left 0.4s cubic-bezier(.02,.01,.47,1);
    -webkit-transition: margin-left 0.4s cubic-bezier(.02,.01,.47,1);
}

.content .container_with_2_affix_bar{
    width: 100%;

}

.content .navbar-inner {
    position: fixed;
    -webkit-transform: translateZ(0); /* hack around Chrome bug: http://stackoverflow.com/questions/11258877/fixed-element-disappears-in-chrome */
    width: auto;
    /*height: 3em;*/
    top: 41px;
    left: 293px;
    right:0;
    overflow: hidden;
    /*font-size: 0.85em;*/
    z-index: 99;

    background-color: #f5f5f5;/*rgb(73, 71, 71);*/
    /*color: rgb(160, 159, 158);*/
    /*padding: 5px 14px;*/
    font-weight: normal;
    text-shadow: 0 !important;

    transition: left 0.4s cubic-bezier(.02,.01,.47,1);
    -moz-transition: left 0.4s cubic-bezier(.02,.01,.47,1);
    -webkit-transition: left 0.4s cubic-bezier(.02,.01,.47,1);
}

.content .table {
    font-size: 12px !important;
}


@media  (max-width: 1193px) {
    /*.sidebar{
        left: -293px !important;
        box-shadow: 0 0 13px rgba(0,0,0,0.3);
    }
    */


    .sidebar.nascondi {
        left: -293px;
    }

    .navbar-inner-affix {
        left: 0px;

    }

    .content .navbar-inner{
        left: 0px;

    }

    .content {
        margin-left: 0px;

    }


}

