/* common */

/*
:not(ul).bare:not(.mar){margin:0;}
:not(ul).bare:not(.pad){padding:0;}
	table.bare, table.bare>*>tr>*{border:none;}
	ul.bare{list-style:none;}
*/
a.bare{text-decoration:none;}
.inact{opacity:.4;}
.nobr,.numeric{white-space:nowrap;}
.numeric{font-family:monospace;}
.req:after{content:"*";color:#d00;}/* \200a */

main{min-height:calc(50vh);}
#footer{background-color:var(--bg-pane);box-shadow:0 50em 0 50em var(--bg-pane);}

@media (min-width: 55em){
	/* desktop */
	/* main{min-height:calc(100vh - 7em);} */
	form.rec table{width:100%;}
	form.rec input[type="text"]{max-width:24em;width:100%;}
	form.rec .input-lookup{width:20em !important;}
	.calendar[type="text"]:not([size]), .input-number:not([size]), .input-decimal:not([size]), input[name="icon"]:not([size]){width:10em;/* !important;*/}
}

/* specific */

.act>.if-off, :not(.act)>.if-on{display:none !important;/*@x*/}
a .if-off:nth-last-child(2){margin-right:0;}
.onhover:not(:hover) .appear{display:none !important;/*@x*/}

article, .admlinks{position:relative;}
.admlinks>div{position:absolute;right:.3em;}
article:not(:hover) .admlinks{opacity:.2;/*display:none;*/}
[contenteditable]{background:#fff;}

[class*="grid-"]>*>div:only-child{height:100%;box-sizing:border-box;}

/* add-ons */

/* dragsort */
.dragsort .handle{cursor:move;}
/* drop image */
/*
.drop{display:inline-block;background:#eee 50% 50% / cover no-repeat;}
.drop input{opacity:0;width:8em;height:8em;cursor:pointer;}
*/
/* drag upload */
/*.drag input.drop{opacity:.7;background:#fff;position:fixed;top:-100vh;left:0;width:100%;max-width:100%;height:250vh;}*/
.drag input.drop:before{content:"";opacity:1;background:rgba(0,0,0,.3);position:fixed;top:0;left:0;width:100%;max-width:100%;height:100vh;outline:.5em dashed #fff;outline-offset:-2em;z-index:200;}
/* flags */
[class*="flg-"]{width:22px;height:14px;background-image:url(flags14.png);display:inline-block;box-shadow:0 0 .1em rgba(0,0,0,.3);} 

.slide.pad{padding:var(--gaps-l);}
.feat-icon{color:var(--text-lite);max-width:100%;height:5em;}

/* @nenanu */

input[name="lookup-cat_id"][name][name] {max-width:21em;}
/*#cats {position:relative;}*/
ul.cats ul {top:0 !important;}
@media (max-width:55em){
  ul.cats ul {left:3em !important;}
}
ul.cats li {position:static;}
ul.cats li>a {position:relative;}