html, body {
    width:100%;
    height:100%;
    max-height:100%;
}

body.dragging, body.dragging * {
    cursor: move !important;
}

.dragged {
    position: absolute;
    opacity: 0.5;
    z-index: 2000;
}

ul.nav li a { display: flex; color: #fff; }
ul.nav li a:hover { color: #8cc63f; }

ul.nav li a.active {
    color: black!important;
    background-color: #abd278;
}
ul.nav li a.active:hover { background-color: #6a824a; }

ul.nav li a span { display: none; }

ul.nav li a i { padding-right: 10px; }

.pmd-content { margin-left: 64px; }

.pmd-sidebar {
    width:64px;
    min-width:64px;
    transform:translate3d(0px, 0px, 0px);
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    color: #fff;
    background-color: #8cc63f;
}

.pmd-sidebar.pmd-sidebar-open { min-width: 170px; width: 170px; }

.pmd-sidebar-slide-push.pmd-sidebar-open ~ .pmd-content { margin-left:170px; }

.template > .select2-container--default .select2-selection--single {
    height:34px;
}

.template > .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height:34px;
}

.template > .select2-container--default .select2-selection--single .select2-selection__arrow {
    height:34px;
}

aside small {
    width: 100%;
    text-align:left;
    color:darkgreen;
    padding-left: 4px;
    display: inline-block;
}

aside.pmd-sidebar-open ul.nav li a span { display: flex; }

label i, h3 i, th i {
    font-size: 18px !important;
    cursor: help;
}

.location-form .navbar, .page-form .navbar {
    padding-top:4px;
    padding-left:10px;
}

.location-form .navbar .mat-input, .page-form .navbar .mat-input {
    width: calc(100% - 70px);
    height: 37px;
    display: inline-block;
}

.page-form .select2 {
    margin-top: 6px;
    width: 100% !important;
}

.page-form h3 {
    margin-left: 15px;
}

.page-form form input, #getLogo {
    display:none!important;
}

.page-form a.thumbnail span {
    height: 168px;
    display: block;
    background-size: cover;
    background-position: center;
}

.page-form #newBanner, .page-form #newGallery {
    visibility: hidden;
    background-color: #ff000026;
    margin: 10px 0 0;
    padding: 20px 0 0;
    border: 3px dotted red;
}

.page-form .category {
    margin-top: 26px;
}

.act_logo i {
    padding: 4px;
    cursor: pointer;
}

#modal-form #address {
    height: 100px;
}

.logo {
    height:100px;
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 6px;
    z-index: 0;
}

.logo i {
    position: absolute;
    z-index: 10;
    top: -4px;
    right: -4px;
}

#tab_menu .header {
    font-weight:bold;
}

#tab_menu .header div:first-child {
    padding-left: 24px;
}

ul.list-group-sortable {
    list-style: none;
    padding-left: 0;
}

ul.list-group-sortable li.row {
    height: 40px;
}

ul.list-group-sortable li div:first-child {
    padding-left: 24px;
    background-image: url(/assets/images/sort_both.png);
    background-repeat: no-repeat;
    background-position: 4px 6px;
}

ul.list-group-sortable li div:last-child {
    display:inline-flex;
}

ul.list-group-sortable li div:last-child i {
    cursor:pointer;
    margin-top:4px;
    margin-left:10px;
}

ul.list-group-sortable li.placeholder {
    position: relative;
    /** More li styles **/
}

ul.list-group-sortable li.placeholder:before {
    position: absolute;
    /** Define arrowhead **/
}

#content ul.nav i.material-icons {
    font-size: 18px;
    margin-top: -4px;
    padding: 0 0 0 10px;
}

.shw-asubs, .hid-asubs {
    border: 1px solid lightgray;
    margin-bottom: 38px;
    padding: 8px 20px;
    cursor: pointer;
}

.shw-asubs:hover, .hid-asubs:hover {
    background-color: lightgray;
}

.CodeMirror-focused .cm-matchhighlight {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAFklEQVQI12NgYGBgkKzc8x9CMDAwAAAmhwSbidEoSQAAAABJRU5ErkJggg==);
    background-position: bottom;
    background-repeat: repeat-x;
}

.cm-matchhighlight {background-color: lightgreen}

.cm-specialFields {
    color: #ff3c5e;
    padding: 2px 4px;
    border: 1px dotted red;
    background-color: #fbff0033;
}

.CodeMirror-selection-highlight-scrollbar {background-color: green}

.CodeMirror-fullscreen {
    z-index: 10000!important;
}

#delete-dialog {
    display:none;
}

#record {
    color:red;
}

.dataTables_wrapper .toolbar {
    width:100%;
}

.dataTables_wrapper .top, .dataTables_wrapper .bottom {
    display: flex;
    align-items: baseline;
}

.login.pmd-card {
    max-width: 320px;
    margin:0 auto;
}

.login.pmd-card .pmd-card-main {
    margin:15px;
}

.login .pmd-card-media {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin: 0 40px 0;
}

@media (max-width: 1200px) {
    .pmd-sidebar:hover { width: 170px; max-width:170px; }
}

@media (min-width: 768px) {
    .pmd-sidebar-overlay.pmd-sidebar-overlay-active { visibility: hidden; opacity: 0; }
}

@media (max-width: 767px) {
    .pmd-sidebar { transform:translate3d(-176px, 0px, 0px);}
    .pmd-content { margin-left:0; }
}