/*
    DJANGO Admin styles
*/

@import url(fonts.css);

body {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: "Roboto", "Lucida Grande", "DejaVu Sans", "Bitstream Vera Sans", Verdana, Arial, sans-serif;
    color: #333;
    background: #EFEFEF;
}

/* LINKS */

a:link, a:visited {
    color: #666;
    text-decoration: none;
}

a:focus, a:hover {
    color: #333;
}

a:focus {
    text-decoration: underline;
}

a img {
    border: none;
}

a.section:link, a.section:visited {
    color: #407ec9;
    text-decoration: none;
    font-weight: 600;
}

a.section:focus, a.section:hover {
    text-decoration: underline;
}

/* GLOBAL DEFAULTS */

p, ol, ul, dl {
    margin: .2em 0 .8em 0;
}

p {
    padding: 0;
    line-height: 140%;
}

h1, h2, h3, h4, h5 {
    font-weight: bold;
}

h1 {
    margin: 0 0 20px;
    font-weight: 300;
    font-size: 20px;
    color: #666;
}

h2 {
    font-size: 16px;
    margin: 1em 0 .5em 0;
}

h2.subhead {
    font-weight: normal;
    margin-top: 0;
}

h3 {
    font-size: 14px;
    margin: .8em 0 .3em 0;
    color: #666;
    font-weight: bold;
}

h4 {
    font-size: 12px;
    margin: 1em 0 .8em 0;
    padding-bottom: 3px;
}

h5 {
    font-size: 10px;
    margin: 1.5em 0 .5em 0;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

ul li {
    list-style-type: square;
    padding: 1px 0;
}

li ul {
    margin-bottom: 0;
}

li, dt, dd {
    font-size: 13px;
    line-height: 20px;
}

dt {
    font-weight: bold;
    margin-top: 4px;
}

dd {
    margin-left: 0;
}

form {
    margin: 0;
    padding: 0;
}

fieldset {
    margin: 0;
    padding: 0;
    border: none;
    border-top: 1px solid #eee;
}

blockquote {
    font-size: 11px;
    color: #777;
    margin-left: 2px;
    padding-left: 10px;
    border-left: 5px solid #ddd;
}

code, pre {
    font-family: "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace;
    color: #666;
    font-size: 12px;
}

pre.literal-block {
    margin: 10px;
    background: #eee;
    padding: 6px 8px;
}

code strong {
    color: #930;
}

hr {
    clear: both;
    color: #eee;
    background-color: #eee;
    height: 1px;
    border: none;
    margin: 0;
    padding: 0;
    font-size: 1px;
    line-height: 1px;
}

/* TEXT STYLES & MODIFIERS */

.small {
    font-size: 11px;
}

.tiny {
    font-size: 10px;
}

p.tiny {
    margin-top: -2px;
}

.mini {
    font-size: 10px;
}

p.mini {
    margin-top: -3px;
}

.help, p.help, form p.help {
    font-size: 11px;
    color: #999;
    margin-left: 170px;
}

.help-tooltip {
    cursor: help;
}

.form-row div.help {
    padding: 4px 0px;
}

p img, h1 img, h2 img, h3 img, h4 img, td img {
    vertical-align: middle;
}

.quiet, a.quiet:link, a.quiet:visited {
    color: #999;
    font-weight: normal;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.clear {
    clear: both;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

.example {
    margin: 10px 0;
    padding: 5px 10px;
    background: #efefef;
}

.nowrap {
    white-space: nowrap;
}

/* TABLES */

table {
    border-collapse: collapse;
    border-color: #ccc;
}

td, th {
    font-size: 14px;
    line-height: 16px;
    vertical-align: middle;
    padding: 12px 24px;
    font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
}

th {
    font-weight: 600;
    text-align: left;
}

thead th,
tfoot td {
    color: #666;
    padding: 5px 10px;
    font-size: 11px;
    background: #fff;
    border: none;
    border-top: none;
    border-bottom: none;
}

tr:nth-child(even),
tr:nth-child(even) .errorlist,
tr:nth-child(odd) + .row-form-errors,
tr:nth-child(odd) + .row-form-errors .errorlist {
    background: #fff !important;
}

tfoot td {
    border-bottom: none;
    border-top: none;
}

thead th.required {
    color: #000;
}

tr.alt {
    background: #f6f6f6;
}

.row1 {
    background: #fff;
}

.row2 {
    background: #fff;
}

/* SORTABLE TABLES */

thead th {
    padding: 5px 10px;
    line-height: normal;
    text-transform: uppercase;
    background: #f6f6f6;
}

thead th a:link, thead th a:visited {
    color: #666;
}

thead th.sorted {
    background: #eee;
}

thead th.sorted .text {
    padding-right: 42px;
}

table thead th .text span {
    padding: 12px 24px;
    display: block;
}

table thead th .text a {
    display: block;
    cursor: pointer;
    padding: 12px 24px;
}

table thead th .text a:focus, table thead th .text a:hover {
    background: #eee;
}

thead th.sorted a.sortremove {
    visibility: hidden;
}

table thead th.sorted:hover a.sortremove {
    visibility: visible;
}

table thead th.sorted .sortoptions {
    display: block;
    padding: 9px 5px 0 5px;
    float: right;
    text-align: right;
}

table thead th.sorted .sortpriority {
    font-size: .8em;
    min-width: 12px;
    text-align: center;
    vertical-align: 3px;
    margin-left: 2px;
    margin-right: 2px;
}

table thead th.sorted .sortoptions a {
    position: relative;
    width: 14px;
    height: 14px;
    display: inline-block;
    background: url(../img/sorting-icons.svg) 0 0 no-repeat;
    background-size: 14px auto;
}

table thead th.sorted .sortoptions a.sortremove {
    background-position: 0 0;
}

table thead th.sorted .sortoptions a.sortremove:after {
    content: '\\';
    position: absolute;
    top: -6px;
    left: 3px;
    font-weight: 200;
    font-size: 18px;
    color: #999;
}

table thead th.sorted .sortoptions a.sortremove:focus:after,
table thead th.sorted .sortoptions a.sortremove:hover:after {
    color: #666;
}

table thead th.sorted .sortoptions a.sortremove:focus,
table thead th.sorted .sortoptions a.sortremove:hover {
    background-position: 0 -14px;
}

table thead th.sorted .sortoptions a.ascending {
    background-position: 0 -28px;
}

table thead th.sorted .sortoptions a.ascending:focus,
table thead th.sorted .sortoptions a.ascending:hover {
    background-position: 0 -42px;
}

table thead th.sorted .sortoptions a.descending {
    top: 1px;
    background-position: 0 -56px;
}

table thead th.sorted .sortoptions a.descending:focus,
table thead th.sorted .sortoptions a.descending:hover {
    background-position: 0 -70px;
}

/* FORM DEFAULTS */

input, textarea, select, .form-row p, form .button {
    margin: 2px 0;
    padding: 2px 3px;
    vertical-align: middle;
    font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
    font-weight: normal;
    font-size: 14px;
}

textarea {
    vertical-align: top;
}

input[type=text], input[type=password], input[type=email], input[type=url],
input[type=number], textarea, select, .vTextField {
    border: 1px solid #ccc;
    border-radius: 2px;
    padding: 5px 6px;
    margin-top: 0;
}

input[type=text]:focus, input[type=password]:focus, input[type=email]:focus,
input[type=url]:focus, input[type=number]:focus, textarea:focus, select:focus,
.vTextField:focus {
    border-color: #999;
}

select {
    height: 30px;
}

select[multiple] {
    min-height: 150px;
}

/* FORM BUTTONS */

.button, input[type=submit], input[type=button], .submit-row input, a.button {
    background: #407ec9;
    padding: 10px 15px;
    border: none;
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
}

a.button {
    padding: 4px 5px;
}

.button:active, input[type=submit]:active, input[type=button]:active,
.button:focus, input[type=submit]:focus, input[type=button]:focus,
.button:hover, input[type=submit]:hover, input[type=button]:hover {
    background: #326295;
}

.button[disabled], input[type=submit][disabled], input[type=button][disabled] {
    opacity: 0.4;
}

.button.default, input[type=submit].default, .submit-row input.default {
    float: right;
    border: none;
    font-weight: 400;
    background: #407ec9;
}

.button.default:active, input[type=submit].default:active,
.button.default:focus, input[type=submit].default:focus,
.button.default:hover, input[type=submit].default:hover {
    background: #326295;
}

.button[disabled].default,
input[type=submit][disabled].default,
input[type=button][disabled].default {
    opacity: 0.4;
}


/* MODULES */

.module {
    border: none;
    margin-bottom: 24px;
    background: #fff;
}

.module p, .module ul, .module h3, .module h4, .module dl, .module pre {
    padding-left: 10px;
    padding-right: 10px;
}

.module blockquote {
    margin-left: 12px;
}

.module ul, .module ol {
    margin-left: 1.5em;
}

.module h3 {
    margin-top: .6em;
}

.module caption {
    margin: 0;
    padding: 12px 24px;
    font-weight: 400;
    font-size: 14px;
    text-align: left;
    background: #fff;
    color: #407ec9;
    border-bottom: solid 3px;
}

.module caption,
.inline-group h2 {
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.module table {
    border-collapse: collapse;
}

/* Module Changlist */

.module_changelist {
    border: none;
    margin-bottom: 30px;
    background: none;
}

.module_changelist p, .module_changelist ul, .module_changelist h3, .module_changelist h4, .module_changelist dl, .module_changelist pre {
    padding-left: 10px;
    padding-right: 10px;
}

.module_changelist blockquote {
    margin-left: 12px;
}

.module_changelist ul, .module_changelist ol {
    margin-left: 1.5em;
}

.module_changelist h3 {
    margin-top: .6em;
}

.module_changelist h2, .module_changelist caption, .inline-group h2 {
    margin: 0;
    padding: 16px 24px;
    font-weight: 400;
    font-size: 16px;
    text-align: left;
    background: #fff;
    color: #333;
}

.module_changelist caption,
.inline-group h2 {
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: none;
}

.module_changelist table {
    border-collapse: collapse;
}

/* MESSAGES & ERRORS */

ul.messagelist {
    padding: 0;
    margin: 0;
}

ul.messagelist li {
    display: block;
    font-weight: 400;
    font-size: 14px;
    padding: 10px 10px 10px 65px;
    margin: 0 0 10px 0;
    background: #d9f1be url(../img/icon-yes.svg) 40px 12px no-repeat;
    background-size: 16px auto;
    color: #333;
}

ul.messagelist li.warning {
    background: #FF5252 url(../img/icon-alert.svg) 40px 14px no-repeat;
    background-size: 14px auto;
}

ul.messagelist li.error {
    background: #ffefef url(../img/icon-no.svg) 40px 12px no-repeat;
    background-size: 16px auto;
}

.errornote {
    font-size: 14px;
    font-weight: 700;
    display: block;
    padding: 12px 24px;
    margin: 0 0 10px 0;
    color: #ba2121;
    border: 1px solid #ba2121;
    border-radius: 2px;
    background-color: #fff;
    background-position: 5px 12px;
}

ul.errorlist {
    margin: 0 0 4px;
    padding: 0;
    color: #ba2121;
    background: #fff;
}

ul.errorlist li {
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

ul.errorlist li:first-child {
    margin-top: 0;
}

ul.errorlist li a {
    color: inherit;
    text-decoration: underline;
}

td ul.errorlist {
    margin: 0;
    padding: 0;
}

td ul.errorlist li {
    margin: 0;
}

.form-row.errors {
    margin: 0;
    background: none;
}

.form-row.errors ul.errorlist li {
    padding-left: 0;
}

.errors input, .errors select, .errors textarea {
    border: 1px solid #ba2121;
}

div.system-message {
    background: #FF5252;
    margin: 10px;
    padding: 6px 8px;
    font-size: .8em;
}

div.system-message p.system-message-title {
    padding: 4px 5px 4px 25px;
    margin: 0;
    color: #c11;
    background: #ffefef url(../img/icon-no.svg) 5px 5px no-repeat;
}

.description {
    font-size: 12px;
    padding: 5px 0 0 12px;
}

/* BREADCRUMBS */

div.breadcrumbs {
    background: #f6f6f6;
    padding: 12px 40px;
    border: none;
    font-size: 14px;
    color: #666;
    text-align: left;
}

div.breadcrumbs a {
    color: #407ec9;
}

div.breadcrumbs a:focus, div.breadcrumbs a:hover {
    color: #38458d;
}

/* ACTION ICONS */

.addlink {
    padding-left: 16px;
    background: url(../img/icon-addlink.svg) 0 1px no-repeat;
}

.changelink, .inlinechangelink {
    padding-left: 16px;
    background: url(../img/icon-changelink.svg) 0 1px no-repeat;
}

.deletelink {
    padding-left: 16px;
    background: url(../img/icon-deletelink.svg) 0 1px no-repeat;
}

a.deletelink:link, a.deletelink:visited {
    color: #CC3434;
}

a.deletelink:focus, a.deletelink:hover {
    color: #993333;
    text-decoration: none;
}

/* OBJECT TOOLS */

.object-tools {
    font-size: 10px;
    font-weight: bold;
    padding-left: 0;
    float: right;
    position: relative;
    margin-top: -48px;
}

.form-row .object-tools {
    margin-top: 5px;
    margin-bottom: 5px;
    float: none;
    height: 2em;
    padding-left: 3.5em;
}

.object-tools li {
    display: block;
    float: left;
    margin-left: 5px;
    height: 16px;
}

.object-tools a {
    border-radius: 15px;
}

.object-tools a:link, .object-tools a:visited {
    display: block;
    float: left;
    padding: 3px 12px;
    background: #666;
    font-weight: 400;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.object-tools a:focus, .object-tools a:hover {
    background-color: #555;
}

.object-tools a:focus {
    text-decoration: none;
}

.object-tools a.viewsitelink, .object-tools a.golink, .object-tools a.addlink {
    background-repeat: no-repeat;
    background-position: 93% center;
    padding-right: 26px;
}

.object-tools a.viewsitelink, .object-tools a.golink {
    background-image: url(../img/tooltag-arrowright.svg);
}

.object-tools a.addlink {
    background-image: url(../img/tooltag-add.svg);
}

/* OBJECT HISTORY */

table#change-history {
    width: 100%;
}

table#change-history tbody th {
    width: 16em;
}

/* PAGE STRUCTURE */

#container {
    position: relative;
    width: 100%;
    min-width: 980px;
    padding: 0;
}

#content {
    padding: 20px 40px;
}

.dashboard #content {
    width: auto;
}

#content-main {
    float: left;
    width: 100%;
}

#content-related {
    float: right;
    width: 260px;
    position: relative;
    margin-right: -300px;
}

#footer {
    clear: both;
    padding: 10px;
}

/* COLUMN TYPES */

.colMS {
    margin-right: 300px;
}

.colSM {
    margin-left: 300px;
}

.colSM #content-related {
    float: left;
    margin-right: 0;
    margin-left: -300px;
}

.colSM #content-main {
    float: right;
}

.popup .colM {
    width: auto;
}

/* HEADER */

#header {
    width: auto;
    height: 40px;
    padding: 12px 40px;
    background: #407ec9;
    line-height: 40px;
    color: #fff;
    overflow: initial;
    background-image: linear-gradient(135deg, #326295 0%, #326295 100%);
}

#header a:link, #header a:visited {
    color: #fff;
}

#header a:focus, #header a:hover {
    text-decoration: underline;
}

#branding {
    float: left;
}

#branding h1 {
    padding: 0;
    margin: 0 20px 0 0;
    font-weight: 300;
    font-size: 24px;
    color: #fff;
}

#branding h1, #branding h1 a:link, #branding h1 a:visited {
    color: #fff;
}

#branding h2 {
    padding: 0 10px;
    font-size: 14px;
    margin: -8px 0 8px 0;
    font-weight: normal;
    color: #FF5252;
}

#branding a:hover {
    text-decoration: none;
}

#wolves-cms-user-tools {
    float: right;
    padding: 0;
    margin: 0 0 0 20px;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-align: right;
    position: relative;
    color: #fff;
}

#wolves-cms-user-tools {
    cursor: pointer;
}

#user-tools-dropdown {
    position: absolute;
    right: 0;
    top: 40px;
    background: #326295;
    margin: 0 auto;
    font-size: 13px;
    text-align: left;
    width: auto;
    padding: 20px;
    white-space: nowrap;
    z-index: 999999;
    display: none;
}

#user-tools-dropdown a {
    display: block;
    line-height: 1.2;
    padding: 5px 0;
}

.user-tools-icon {
    font-size: 24px;
    display: inline-block;
    vertical-align: middle;
}

.user-tools-icon-small {
    font-size: 18px;
    display: inline-block;
    vertical-align: middle;
}

.user-tools-icon-dropdown {
    font-size: 18px;
    display: inline-block;
    vertical-align: middle;
    width: 14px;
    margin-right: 15px;
    text-align: center;
}

.user-tools-welcome {
    margin-left: 5px;
    margin-bottom: 1px;
    font-size: 12px;
    display: inline-block;
    vertical-align: middle;
}

#user-tools a {
    border-bottom: none;
}

#user-tools a:focus, #user-tools a:hover {
    text-decoration: none;
    border-bottom-color: #607d8b;
    color: #607d8b;
}

/* SIDEBAR */

#content-related {
    background: #fff;
}

#content-related .module {
    background: none;
}

#content-related h3 {
    font-size: 14px;
    color: #666;
    padding: 0 16px;
    margin: 0 0 16px;
}

#content-related h4 {
    font-size: 14px;
}

#content-related p {
    padding-left: 16px;
    padding-right: 16px;
}

#content-related .actionlist {
    padding: 0;
    margin: 16px;
}

#content-related .actionlist li {
    line-height: 1.2;
    margin-bottom: 10px;
    padding-left: 0;
}

#content-related .module h2 {
    background: none;
    padding: 16px;
    margin-bottom: 16px;
    border-bottom: none;
    font-size: 18px;
    color: #333;
}

.delete-confirmation form input[type="submit"] {
    background: #ba2121;
    border-radius: 2px;
    padding: 10px 15px;
    color: #fff;
}

.delete-confirmation form input[type="submit"]:active,
.delete-confirmation form input[type="submit"]:focus,
.delete-confirmation form input[type="submit"]:hover {
    background: #a41515;
}

.delete-confirmation form .cancel-link {
    display: inline-block;
    vertical-align: middle;
    height: 15px;
    line-height: 15px;
    background: #ddd;
    border-radius: 2px;
    padding: 10px 15px;
    color: #333;
    margin: 0 0 0 10px;
}

.delete-confirmation form .cancel-link:active,
.delete-confirmation form .cancel-link:focus,
.delete-confirmation form .cancel-link:hover {
    background: #ccc;
}

/* POPUP */
.popup #content {
    padding: 20px;
}

.popup #container {
    min-width: 0;
}

.popup #header {
    padding: 10px 20px;
}

/* MODEL TRANSLATION CUSTOMIZATIONS */

.ui-tabs .ui-tabs-nav {
    padding: 12px 0 0 24px !important;
    border-bottom: 1px solid #EEEEEE !important;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active a, .ui-tabs .ui-tabs-nav li.ui-tabs-selected a {
    background: #407ec9 !important;
    color: #fff;
    padding: 4px 10px 4px 10px !important;
    margin-top: 2px !important;
    outline: none !important;
}

.ui-tabs .ui-tabs-nav li a {
    border: none !important;
    background: #eeeeee repeat-x;
    border-bottom-width: 0;
    color: #666666;
    padding: 4px 10px 4px 10px;
    margin-top: 2px !important;
    outline: none !important;
}

/* CUSTOM ELEMENTS */
#side-menu::-webkit-scrollbar {
    width: 0 !important
}

#side-menu {
    overflow: -moz-scrollbars-none;
}

#side-menu {
    -ms-overflow-style: none;
}

#page-wrapper {
    margin-left: 240px;
    transition: margin .4s
}

.page-wrapper-full {
    margin-left: 0 !important;
}

.model_badge {
    background: #FF5252;
    color: #fff !important;
    font-size: 13px;
    font-weight: 300;
    padding: 0 6px;
    border-radius: 2px;
    margin-left: 8px;
}

.edit-inline-button {
    padding: 8px 15px;
    color: #333;
    background: #f8f8f8;
    border-radius: 2px;
}

.tabular-form-drag {
    display: table;
    background: white;
    border-bottom: solid 0px black !important
}

.tabular-form-drag > .ui-sortable-handle {
    padding-right: 46px;
}

.tabular-form-drag > td {
    border-bottom: solid 0px black !important;
}

.inline-group > .errorlist {
    color: #ba2121;
    border: 1px solid red;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    margin: 10px 0;
}

.inline-group > .errorlist > li {
    margin: 0;
}

.mg-right-s {
    margin-right: 10px;
}

.action-desc {
    margin-left: 20px;
}

.wolves-admin-icon-s {
    display: inline-block;
    text-align: center;
    width: 10px;
}

.icon-add {
    color: #92c757
}

.icon-edit {
    color: #fed54e
}

.icon-delete {
    color: #ff5252
}

/* ADMIN SORTABLE 2 */

td.drag {
    cursor: pointer;
    background-image: none !important;
    width: 20px;
    background: #eaeaea;
}

td.drag:hover {
    cursor: pointer;
    background-image: none !important;
    width: 20px;
    background: #d8d8d8;
}

div.drag {
    background: none !important;
    background: #eeeeee !important;
}

div.drag:hover {
    background: none !important;
    background: #d8d8d8 !important;
}

div.inline-group.ui-sortable div.inline-related.has_original h3 {
    background: #f8f8f8 !important
}

/* DJANGO-MPTT */

.field-tree_actions {
    padding: 6px !important;
}

.jqtree-element {
    background: #fff !important;
}

#tree.block-style ul.jqtree-tree .jqtree-element .jqtree-title {
    color: #333 !important;
    outline: none !important;
}

#tree ul.jqtree-tree .edit {
    color: #333 !important;
}

#tree.block-style ul.jqtree-tree li.jqtree-selected > .jqtree-element .jqtree-title {
    color: #333 !important;
}

#tree.block-style ul.jqtree-tree li.jqtree-selected > .jqtree-element .edit {
    color: #333 !important;
}

/* ACE EDITOR */

.django-ace-editor {
    min-width: 520px;
    float: left;
}

.django-ace-toolbar {
    border-bottom: none !important;
    background-color: #333745 !important;
    background-image: none !important;
    background-image: none !important;
    background-image: none !important;
}

.django-ace-widget > div {
    bottom: -4px !important;
}

/* PREVIEW IFRAME */
.preview-iframe-wrap {
    width: 240px;
    height: 60px;
    margin-right: -40px;
    padding: 0;
    overflow: hidden;
    border: solid 1px #eee;
}

.preview-iframe {
    width: 1200px;
    height: 400px;
    border: 0;
    -ms-transform: scale(0.1995);
    -moz-transform: scale(0.1995);
    -o-transform: scale(0.1995);
    -webkit-transform: scale(0.1995);
    transform: scale(0.1995);
    -ms-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}

/* LIST IMAGE */

.admin-list-image {
    position: relative;
    width: 80px;
    height: 80px;
}

.admin-list-image img {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translate(0, -50%);
}


/* MODEL TRANSLATION CUSTOM ADMIN */
.translated {
    background: #f3f3f3;
    margin: 0;
}

.translated .form-row {
    display: none;
}

.translated .form-row:first-child {
    display: block;
}

/* SIDE_MENU */

.h-collapsed {
    width: 0 !important;
}

#side-menu {
    position: fixed;
    overflow-y: scroll;
    width: 240px;
    height: 100%;
    background: #fff;
    float: left;
    box-sizing: border-box;
    transition: width .4s;
    z-index: 999;
}

#side-menu-branding {
    padding: 18px 25px;
    margin-bottom: 14px;
}

#side-menu-branding h1 {
    color: #fff;
    margin: 0;
}

#side-menu-branding a {
    color: #666;
    margin: 0;
}

#side-menu-switch {
    margin-right: 21px;
    cursor: pointer;
}

#side-menu ul {
    margin: 0;
    padding: 0 5px;
    width: 230px;
    white-space: nowrap;
}

#side-menu li {
    list-style-type: none;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
}

#side-menu li > a {
    font-size: 14px;
    color: #666;
    padding: 10px 15px;
    line-height: 1;
    display: block;
    position: relative;
}

#side-menu li > a:hover {
    color: #333;
}

#side-menu li > a:focus {
    text-decoration: none;
}

#side-menu li.active > a {
    font-size: 14px;
    color: #407ec9;
    background: #f7f7f7;
    line-height: 1;
}

#side-menu li.active > .parent-menu-item:before {
    content: "";
    position: absolute;
    width: 5px;
    left: -5px;
    top: 0;
    bottom: 0;
    background: #407ec9;
}

#side-menu li > a.active {
    font-size: 14px;
    color: #407ec9;
    line-height: 1;
}

#side-menu ul > li > ul {
    display: none;
    padding: 0;
}

#side-menu ul > li.active > ul {
    background: #fff;
    display: block;
}

#side-menu ul > li.active > ul > li {
    padding-left: 35px;
    display: block;
}

.menu-icon {
    font-size: 20px;
    margin-right: 15px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    width: 20px;
}

#side-menu .menu-icon-dropdown {
    font-size: 18px;
    display: inline-block;
    vertical-align: middle;
    float: right;
    color: #ccc;
}

#side-menu li.active .menu-icon-dropdown {
    color: #407ec9;
}

.menu-label {
    display: inline-block;
    vertical-align: middle;
}

#side-menu-toggle {
    font-size: 32px;
}

/* CK EDITOR */

.cke_chrome {
    border: 1px solid #cccccc !important;
}

.cke_top {
    border-bottom: 1px solid #cccccc !important;
}

.cke_bottom {
    border-top: 1px solid #cccccc !important;
}

/* ACE EDITOR */

.django-ace-editor {
    width: 100%;
    min-width: 0;
}

.select2-container--admin-autocomplete .select2-results__option--highlighted[aria-selected] {
    background-color: #EFEFEF !important;
    color: #333 !important;
}

.select2-container--admin-autocomplete .select2-selection--multiple .select2-selection__choice {
    background-color: #f3f3f3 !important;
}

/* FROALA EDITOR */

.fr-box {
    display: inline-block;
    width: calc(100% - 250px) !important;
    min-width: 480px !important;
}

.fr-toolbar.fr-top {
    top: 0;
    border-bottom: 0;
    border-radius: 2px 2px 0 0 !important;
    -moz-border-radius: 2px 2px 0 0 !important;
    -webkit-border-radius: 2px 2px 0 0 !important;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.fr-second-toolbar {
    border-radius: 0 0 2px 2px !important;
    -moz-border-radius: 0 0 2px 2px !important;
    -webkit-border-radius: 0 0 2px 2px !important;
}

.fr-second-toolbar a {
    display: none;
}

.fr-box h2 {
    padding: initial;
    font-size: initial;
    margin-bottom: 10px;
    font-weight: 600;
    color: #414141;
    background: initial;
    line-height: 140%;
}

.fr-box p {
    margin-bottom: 10px;
}

.fr-sticky-dummy {
    display: none !important;
}

/* VERSATILE IMAGE FIELD */

.versatileimagefield-label,
.sizedimage-mod a,
.sizedimage-mod input[type=checkbox] {
    display: none !important;
}

.versatileimagefield .image-wrap {
    display: block !important;
}

.versatileimagefield img {
    max-width: 200px !important;
    max-height: 200px !important;
    margin-bottom: 3px;
}

.versatileimagefield {
    display: inline-block;
}

.versatileimagefield .point-stage {
    cursor: crosshair;
}

.versatileimagefield .point-stage:hover div.ppoi-point {
    opacity: 1 !important;
}

div.ppoi-point {
    background: rgb(255 82 82 / .75) !important;
    opacity: 0;
}

.dashboard-widgets {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
}

.dashboard-widgets .widget {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    flex-basis: calc(33.33% - 15px);
    flex-grow: 1;
    margin-right: 15px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

@media only screen and (min-width: 1601px) {
    .dashboard-widgets .widget {
        flex-basis: calc(25% - 15px);
        flex-grow: 0;
    }
}

.widget h3 {
    padding: 0;
    margin: 0;
    font-weight: 400;
}

.widget-top {
    padding: 10px 10px 0px 10px;
}

.widget-value {
    color: #666;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.dashboard #content-related .module h2 {
    color: #666;
    font-size: 14px;
}

.module h2, .module caption, .inline-group h2 {
    margin: 0;
    padding: 16px 24px;
    font-weight: 400;
    font-size: 16px;
    text-align: left;
    background: #fff;
    color: #333;
}

.wrap {
    display: block;
    margin-left: 170px;
}

.wrap .row {
    margin-bottom: 12px;
    padding: 6px 12px;
    border: solid 1px #eee
}

.wrap .label {
    font-weight: 600;
    margin-bottom: 8px;
}

.admin-field-table td:first-child,
.admin-field-table th:first-child {
    padding-left: 0
}

.admindatefilter .button {
    background: #407ec9 !important;
}
