/**
 * theming styles
 *
 */

#content {
    padding: 0;
    margin: 15px;
}

#header {
    /* Reset the indents of django-flat-theme
      (need to restore 40px on branding+user-tools instead) */
    padding-left: 0;
    padding-right: 0;
}

#header #branding h1 {
    margin: 0;
    padding: 5px 10px;
    text-indent: -9999px;
    background: transparent url(../images/django.png) 10px 5px no-repeat;
    height: 31px;
    width: 93px;
}

#header #user-tools {
    /* Old Django: 1.2em, flat theme: 40px; */
    padding-right: 1.2em;
}

#bookmark-form {
    clear: both;
}

div.breadcrumbs {
    display: block;
    padding: 10px 15px;
    border: 0;
    background-position: 0 -8px;
    border-bottom: 1px solid #ededed;
}

div.breadcrumbs a {
    display: inline;
}

@media (prefers-color-scheme: dark) {
    div.breadcrumbs {
        border-bottom: 0;
    }
}

.btn-graphic{
    text-align: center;
}

.btn-graphic > button:first-child{
    border-radius: 10px 0px 0px 10px;
}

.btn-graphic > button:last-child{
    border-radius: 0px 10px 10px 0px;
}

.btn-graphic > button{
    font-size: 14px;
    padding: 6px 40px;
    border: 1px solid #a7699a;
    background-color: white;
    color: #a7699a;
    cursor: pointer;
}

.btn-graphic > button.active{
    border: 1px solid #a7699a;
    background-color: #a7699a;
    color: white;
}

h2.ui-sortable-handle {
    text-align: center;
    border: 1px solid #a7699a;
    background-color: #a7699a;
    color: white;
}

#header{
    background-color: #a7699a;
    color: white;
}

#header #branding h1 {
    text-indent: 0px;
    height: 44px;
}
#header #branding h1 a img{
    height: 40px;
}

.dashboard-module {
    border-radius: 8px !important;
    overflow: hidden;
}

.dashboard-module-content table, .dashboard-module-content canvas{
    display: none !important;
}

.dashboard-module-content canvas.active{
    display: inline !important;
}
.dashboard-module-content table.active{
    display: inline-table !important;
}