/* #################################################
# Projekt 	: CSS
# Stand     : 23.02.21
# Autor		: 300design.com
#################################################### */

html {
	height:100%;
	-webkit-touch-callout:none;
	-webkit-overflow-scrolling : touch !important;
}

body.page-home {
	height:100%;
	color:#222;
	font-family:"Open Sans";
}

body.page-admin {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-width: 320px;
	background: #f5f5f5;
}

.editable-modal .modal-dialog {
    width: calc(100% - 1rem) !important;
    max-width: 800px !important;
}
.modal-dialog .modal-content {
	box-shadow: 0 .4rem .8rem rgba(0,0,0,.15);
}

#mid {
    position: relative;
	padding-top: 3.125rem;
	padding-left: 15rem;
	padding-right: 0;
	min-height: calc(100vh - 5em);
	overflow: hidden;
}
body.toggleMenuMain #mid {
	padding-left:0;
}
#mid .cnt-wrap {
    margin: auto;
    padding: 1.5rem 1rem;
}

#menu {
    position: fixed;
    z-index: 2;
    top: 3.125rem;
    bottom: 0;
    width: 15rem;
    left: 0;
    background: #f5f5f5;
    border-right: 1px solid #e9eaeb;
}
body.toggleMenuMain #menu {
	left:-15rem;
}
#menu .menu-inner {
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    height: 100%;
    overflow-y: scroll;
}

/* -------------------- */

.hidn {display:none}

a,
.btn-link {
	color: #346cb0;
	text-decoration:none;
}
a:hover,
.btn-link:hover {
	color:#0056b3;
	text-decoration:none;
}

a:active, a:focus,
.btn:focus,.btn:active {
	outline:none !important;
	-webkit-appearance:none;
	box-shadow: none;
}

b {
    font-weight: 600;
}
.font-weight-bold {
    font-weight: 600 !important;
}

.smaller {
	font-size:64%;
}

.text-normal {
	color:#222;
}
.text-muted {
	color:#808080 !important;
}
.text-gray-light {
	color:#a6a6a6;
}
.text-fsize small {
	color:#808080;
}

a.text-normal:hover,
a.text-muted:hover,
a:hover .text-muted,
a:hover .text-gray-light {
	color:#0056b3 !important;
}

.checker, .outrange,
.form-checker #f_email + input,
.form-checker #f_email + .input-group .input-group-addon + input {
	position:absolute;left:-3000px;width:1px;height:1px;overflow:hidden;
}

.lh-normal {
    line-height:normal;
}

.has-error .form-control {
	background-color:#fff5f5;
	box-shadow: 0 0 6px #f00;
}

.alert {
	border:0;
}

.transition, a, .btn {
	transition: all 0.18s ease-out;
}

.btn {
	font-weight:600;
	box-shadow: none !important;
}
.btn:not(.off):not(.dropdown-toggle):hover {
	transform: scale(1.1);
}

.btn-xs {
	padding: .25rem .4rem;
	font-size: .8125rem;
	line-height: 1.3;
	border-radius: .2rem;
}

.btn-input.btn-clear:not(.btn-default),
.btn-input.btn-pass {
	position:absolute;
	z-index: 4;
	right: 0;
	color:#bbb;
    text-decoration:none !important;
}
.btn-clear {
	color:#808080 !important;
}
.btn.btn-input:hover {
	color:#0056b3 !important;
	background:transparent;
	transform:none !important;
}
.btn.btn-clear.btn-default:hover {
	border-color:#ccc;
}
input.has-clear {
	padding-right:2rem;
}

.btn-default {
	color: #495057;
    background-color: #fff;
    border-color: #ced4da;
}
.btn-default.active {
    background-color: #f0f0f0;
}
.btn-default:hover,
.btn-default:focus {
	color: #fff;
    background-color: #666;
    border-color: #666;
}

.btn-selectpicker {
	font-weight:normal;
}
.btn-selectpicker:hover,
.btn-selectpicker:focus {
	color: #495057;
    background-color: #fff;
    border-color: #ced4da;
}
.bootstrap-select.show .btn-selectpicker {
	border-color:#80bdff;
	outline:0;
	box-shadow:0 0 0 .2rem rgba(0,123,255,.25) !important;
}

.btn-action {
	box-shadow: 0 0 15px rgba(0,0,0,.25);
}
.btn-action:active {
	box-shadow: 0 0 5px rgba(0,0,0,.25);
}

.form-group .bootstrap-select.btn-group {
    margin-bottom:0;
}
.bootstrap-select .dropdown-menu {
    max-width: 100%;
}
.bootstrap-select.auto {
    width: auto !important;
}
.bootstrap-select.auto .dropdown-menu {
    max-width: 300px;
    overflow-x: hidden;
}
.bootstrap-selectXXX .btn {
	padding-left:0;
}
.input-groupXXX .bootstrap-select:nth-child(2) .btn {
	border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}
.input-group .bootstrap-select.no-radius .btn {
	border-radius: 0;
}
.input-group .bootstrap-select > .dropdown-toggle {
	height:100%;
}
.input-group .bootstrap-select .dropdown-toggle .filter-option-inner {
	line-height: 1.6;
}
.has-error .bootstrap-select .btn {
    border-color: #a94442;
}
.bootstrap-select .filter-option {
	/*padding-left: 12px;*/
    text-overflow: ellipsis;
}
.bootstrap-select .text-special .text {
	font-style:italic;
}

.bootstrap-select .btn .choose {
    color:#aaa;
}
.bootstrap-select .dropdown-menu .choose {
	font-size:85%;
}

.bootstrap-select .dropdown-item:not(.selected) .ico {
	color:#666;
}
.bootstrap-select a:hover {
	background-color:#f5f5f5 !important;
    color:#262626 !important;
}
.bootstrap-select a:hover small{
	color:#aaa !important;
}
.bootstrap-select .selected a {
	background-color:#428BCA !important;
    color:#fff !important;
}
.bootstrap-select .selected a small {
	color:rgba(255,255,255,0.4) !important;
}


.dropdown-menu {
	max-width: 100vw;
	box-shadow: 0 .4rem .8rem rgba(0,0,0,.15);
}
.dropdown-menu.max-height {
	max-height: calc(100vh - 15rem);
	overflow-y: auto;
}

.dropdown-title {
	max-width: 200px;
	color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-toggle.no-caret:after {
    display: none;
}
.table-responsive .dropdown { /*overflow hack*/
	position:static;
}

.form-control::placeholder {
	color:#aaa;
}

.sec-title .small {
	font-size: 12px;
}
.sec-title .small.pull-right {
	margin-left: 10px;
	line-height: 2.1;
}
.sec-title .breadcrumb {
	padding:0;
	margin:0;
	font-size: 1.25rem;
    font-weight: normal;
	background:none;
}
.sec-title .breadcrumb .breadcrumb-item {
	display: inline-block;
}
.sec-title .breadcrumb .breadcrumb-item + .breadcrumb-item {
	font-size:initial;
	padding-left:.65rem;
}
.sec-title .breadcrumb .breadcrumb-item + .breadcrumb-item:before {
	padding-right:.65rem;
    color:#bbb;
}
.sec-title b,
.sec-title .breadcrumb .breadcrumb-item:first-child {
	font-weight:500;
}
.sec-title .breadcrumb .ico.first {
	margin-right:6px;
	color:#888;
	font-size: 85%;
}

.table td,
.table th {
	border-color:#e8e8e8 !important;
}
body:not(.touch) .table-hover tbody tr:not(.no-hover):hover,
body:not(.touch) .data-list-content .view-symbol .data-row:hover {
	background-color:#f5f5f5;
}
tr.no-hover:hover,
.data-row.no-hover:hover {
	background-color:transparent !important;
}

.card {
    border: 0;
    box-shadow: 0 0 0 1px rgba(0,0,0,.03), 0 1px 3px 0 rgba(0,0,0,.08);
}
.card-body {
    padding: 1.5rem;
}

.card-table thead th {
	text-transform: uppercase;
	font-size: .65rem;
	color: #888;
	border-width:0 0 1px;
}
.card-table td {
	vertical-align:middle;
}

.row-elm {
	margin-top:-1.5rem;
}
.row-elm .col-elm {
	margin-top:1.5rem;
}

.card-stats .ico {
	font-size:2.25rem;
}
.card-stats .stats-link:hover .ico {
	transform:scale(1.15);
}

.ico-project { color:#18f; }
.ico-website { color:#18f; }
.ico-user { color:#ff4a55; }
.ico-domain { color:#87cb16; }
.ico-address { color:#ff4a55; }
.ico-plustrick { color:#ff4a55; }
.ico-forward { color:#ff9500; }
.ico-mailbox { color:#1dc7ea; }
.ico-quota { color:#fd397a; }
.ico-mailspace { color:#9816f4; }

.ico-user-super { color:#2b0; }
.ico-user-basic { color:#909090; }
.ico-user-basic-plus { color:#944; }
.ico-user-admin { color:#ffb900; }
.ico-user-manager { color:#07b; }

.card-stats .number {
	font-size:170%;
	font-weight:500;
}
.card-stats .info {
	
}

.box-dashboard .card-title {
	font-size:1.1rem;
}

/* -------------------- */

#cookie-info {
	display:none;
	position: fixed;
	z-index:99999;
	left:0;
	bottom:60px;
	padding:0 10px;
	width:100%;
}
#cookie-info .inner {
	margin:0 auto;
	padding:15px;
	max-width:280px;
	background:#fff;
	border: 1px solid #ccc;
	border-radius:4px;
	box-shadow: 3px 3px 10px rgba(0,0,0,.2);
}
#cookie-info .text {
	margin:0;
	color:#999;
	line-height: 17px;
}
#cookie-info .text,
#cookie-info a {
	font-size: 14px;
	font-weight:500;
}
#cookie-info .text a {
	color:#31a8f0;
}
#cookie-info .btn {
    display: inline-block;
    margin: 15px 0 0;
    font-size: 14px;
    width: calc(50% - 5px);
    padding: 8px 0;
	border: 0;
	border-radius: 3px;
	background:#e6e6e6;
}
#cookie-info .btn + .btn {
	margin-left:10px;
}
#cookie-info .btn-accept {
	color:#fff;
	background:#494;
}

/* -------------------- */

#logo {
	display:inline-block;
}
#logo .ico {
	transform: rotate(1deg);
}
#logo .text {
	font-family: "Nunito";
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
}

#header {
	position: fixed;
	z-index: 1030;
	height: 3.125rem;
	top: 0;
	left: 0;
	right: 0;
	color:#fff;
	background: #3969a3;
	box-shadow: 0 0 0 1px rgba(61,70,79,.05),0 1px 3px 0 rgba(61,70,79,.15);
}

#header .toggle-menu {
	margin-right:.75rem;
	padding: 0;
	font-size:1.2rem;
	color:#fff;
	opacity:.6;
}
#header .toggle-menu:hover {
	opacity:1;
}

#header #logo {
	font-size:21px;
	color:#fff;
	white-space: nowrap;
}
#header #logo .ico {
	margin-right:3px;
	font-size:22px;
}
#header #logo .add {
	display:none;
	margin-left: 8px;
	font-size: 95%;
	font-weight: 300;
}

#header .top-bar {
	height: 3.125rem;
}

.top-bar-nav .btn {
	color:rgba(255,255,255,.7);
}
.top-bar-nav .btn:hover {
	color:#fff;
}
.top-bar-nav .address-add .ico-plus {
	position: absolute;
	margin-left: -.2rem;
	margin-top: .8rem;
	font-size: .65em;
}

#header .nav-link {
    display:block;
    padding:.5rem 1rem;
    font-size:70%;
    color:rgba(255,255,255,.7);
}
#header .nav-link.active,
#header .nav-link:hover {
	color:#fff;
}
#header .nav-link .ico {
	font-size: 1.4em;
}
#header .nav-link .text {
	font-weight:600;
	text-transform:uppercase;
}

#header .user-info .btn-account {
	height: 3.125rem;
	align-items: center;
}
#header .user-info .dropdown-menu {
	min-width:19rem
}

/* -------------------- */

#menu .block {
    position: relative;
    padding: 1.5rem 0 1rem;
    border-bottom: 1px solid #e9eaeb;
}
#menu .block-header,
#menu .block .inner,
#menu .header,
#menu li a {
	padding-left:1rem;
	padding-right:1rem;
}
#menu .header {
	color:rgba(57,105,163,.6);
	font-size:.65rem;
	font-weight:700;
	text-transform:uppercase;
}

#menu li {
	position:relative;
	margin:.75rem 0;
    padding-left:.45px; /*overflow hack*/
}
#menu .expandable > ul:last-child li:last-child {
	margin-bottom:0;
}
#menu li li {
    padding-left: 1.25rem;
}
#menu li.active:after {
	position:absolute;
	z-index:-1;
	top:-.25rem;
	left:0;
	right:0;
	content: "";
	width:auto;
	height:calc(100% + .5rem);
	border-right:2px solid #346cb0;
	background:rgba(52,108,176,.05);
}
#menu li.active.expandable:after {
	height:1.825rem;
}

#menu li a {
	position:relative;
	display: block;
	white-space: nowrap;
	overflow:hidden;
    text-overflow:'.';
	text-decoration:none;
	line-height: 1.5;
	color:rgba(0,0,0,.825); /*255,255,255,.65 */
}
#menu li a .light {
	color:rgba(0,0,0,.4) !important; /*255,255,255,.4*/
}

#menu li a.locked {
	cursor: default;
}
#menu li a:not(.locked):hover,
#menu li a:not(.locked):hover span {
	color:#346cb0; /*fff*/
}
#menu li.active > a:not(.nolist),
#menu li.active > span,
#menu li.active > a span {
	color: #346cb0; /*f90*/
	font-weight: 500;
}
#menu li.active > a .ico {
	color: #346cb0;
}
#menu li a:not(.locked):hover {
	text-decoration:none;
}
#menu li .info {
	display:block;
	padding-left:1.6rem;
	font-weight:normal;
}
#menu li a .ico,
.nav-ico .ico {
	color:rgba(0,0,0,.3); /*255,255,255,.65*/
	margin-right:.6rem;
	width:1rem;
	transition: all 0.18s ease-out;
	text-align: center;
}
#menu li a:not(.locked):hover .ico {
	color:#346cb0 !important; /*fff*/
	transform: scale(1.2);
}

/* -------------------- */

.page-home #bg {
	position:fixed;
	z-index:-1;
	top:0; left:0;
	width:100%;
	height:100%;
	background:url('/cnt/opener/bg.jpg?100') 50% 80% no-repeat;
	background-size:cover;
	opacity:.65;
	/* transform: scale(1.2);
	animation: bg-scale 1s ease-in-out;
	animation-fill-mode: forwards;
	animation-delay:.5s; */
}
/* @keyframes bg-scale {
  0%   {}
  100% {transform: scale(1);}
} */

.page-home #bg:before {
	position:fixed;
	content:'';
	bottom:0;
	width:100%;
	height:100px;
	background:linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,.5) 100%);
}

body.page-home {
	background:#000;
	overflow:hidden;
}

.page-home #site {
	display:flex;
	flex-direction: column;
	margin: auto;
	height:100%;
	max-width:600px;
	text-align:center;
}

.page-home #logo {
	display:block;
	margin:0 auto 20px;
	font-size:58px;
	line-height:0;
	text-shadow: 0 0 20px rgba(0,0,0,.75);
	animation-delay:.6s;
}
.page-home #logo .ico {
	margin-right:8px;
	color:#37beff;
}

.btn-help {
	position:fixed;
	top:15px;
	right:15px;
	color:#fff !important;
}
.btn-help:hover .ico {
	font-weight:900;
}

.box-opener {
	margin:auto auto 0;
	color:#fff;
}
.box-opener .inner {
	position:relative;
	margin:30px 15px 60px;
	padding:0;
}
.box-opener .info {
	margin-bottom:30px;
	font-size:20px;
	font-weight: 600;
	text-align:center;
	text-shadow: 0 0 20px rgba(0,0,0,.6);
}
.box-opener .info .more {
	font-size:85%;
	white-space: nowrap;
}
.box-opener .info a {
	color:#fff;
	border-bottom:2px solid #f80;
	border-radius: 3px;
}
.box-opener .info a:hover {
	border-color:#fff;
}

.box-opener .text .info {
	animation-delay:.6s;
}
.box-openerX .text .btn {
	animation-delay:2.6s;
}

.box-opener .btn-primary {
	color:#fff;
	background:#37beff;
	border-color:transparent !important;
}
.box-opener .btn-primary:hover,
.box-opener .btn-primary:focus {
	color:#fff;
	background:#289ed7;
}

.box-opener .status.text-success {
	color:#4eea72 !important;
}
.box-opener .status.text-danger {
	color:#f55 !important;
}

/* -------------------- */

.footer {
	padding:15px 0;
	/* text-shadow: 0 0 20px #000; */
}
.footer, .footer a {
	font-size:13px;
	color:rgba(255,255,255,.9);
}
.footer a:hover {
	color:#37beff;
}

/* -------------------- */

#pop-call button.close {
	display: inline-flex;
	float: none;
	position: absolute;
	right: .5rem;
	z-index: 1;
	font-weight: 300;
	top: .5rem;
	line-height: 1rem;
	font-size: 1.75rem;
}
#pop-call .modal-content {
	border-radius: .5rem;
}
#pop-call .box-header {
	background: #fff3d9;
	overflow:hidden;
}
#pop-call .box-header .title .ico {
	display:block;
	margin:auto;
	width:4rem;
	height:4rem;
	line-height:3.875rem;
	color:#f80;
	border:.125rem solid #f80;
	border-radius:50%;
}

.box-form label {
	font-size:85%;
	font-weight:600;
	color: #444;
}
.box-form .privacy-hint {
	font-size:70%;
	color: #999;
}

/* -------------------- */

.box-addr-list .ico-share {
	color:#ccc;
}

/* -------------------- */

.vcenter {
	position: relative;
	display:block;
	overflow:hidden;
	padding-bottom:55%; /* 56.25% = 16:9 */
}
.vcenter img {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width:100%;
	transform: translateY(-50%) translateX(-50%);
}

.img-user {
	display:inline-block;
	border-radius: 50%;
    overflow:hidden;
	vertical-align: middle;
    text-decoration:none;
    transition: all 0.18s ease-out;
}
.img-user.default {
	background: #eee;
}
.img-user.size-xs {
	width:1.8rem;
}
.img-user.size-sm {
	width:2.4rem;
}
.img-user.size-md {
	width:6.25rem;
}
.img-user.size-lg {
	width:9.5rem;
}

.img-user.zoomfx:hover {
	transform: scale(1.3);
}

.img-user .img-wrapper {
	padding-bottom:100%;
}
.img-user img {
	min-width: 0;
	min-height: 100%;
    height: 100%;
}
.img-user.size-sm img {
	height: 102%; /* hack for cutted rounding */
}
.img-user.default img {
    padding: 12%;
    opacity: 0.4;
}
.img-user.default.size-md img,
.img-user.default.size-lg img {
	padding: 8%;
}

.img-user .change {
    position: absolute;
    left:0;
    bottom: 0;
    padding: 5px 0;
    width: 100%;
    text-align: center;
    background: rgba(0,0,0,.4);
    color: rgba(255,255,255,.85);
    font-size: .5rem;
    font-weight: bold;
}
.img-user.size-lg .change {
	opacity:0;
}
.img-user:hover .change {
	opacity:1;
	color:#000;
	background:rgba(255,255,255,.85);
}

.img-user.default.dark {
	background:rgba(0,0,0,.3);
}
.img-user.default.dark img {
    opacity: 0.75;
}

/* -------------------- */

.img-meta .img-box {
	padding-bottom:67% !important;
}

.img-box,
.file-box {
	position: relative;
	display: block;
	overflow:hidden;
	padding-bottom:100%;
	width:100%;
	background: #f9f9f9;
	box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 1px 3px 0 rgba(0,0,0,.14);
	border-radius: .125rem;
	text-align:center;
}
.img-box.danger {
	box-shadow:0 0 0 1px rgba(255,0,0,.3), 0 0px 6px 0 rgba(255,0,0,1);
}
.img-box.type-mov.danger {
	background:#f8d7da;
}

.img-box .error-info {
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
	bottom: 0;
	color: #d00;
	background: rgba(249,249,249,.9);
	font-size: 60%;
	padding: 2px 0;
	font-weight: bold;
}
.img-box.type-mov:before {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	width:32px;
	height:32px;
	line-height:32px;
	padding-left:.25rem;
	content:'\f04b';
	font-family:'Font Awesome 5 Pro';
	font-size: 16px;
	font-weight:600;
	color:rgba(255,255,255,.8);
	background:rgba(0,0,0,.5);
	border-radius:50%;
}
.img-grid .img-box.type-mov:before {
	width:44px;
	height:44px;
	line-height:44px;
	font-size: 20px;
}
.img-box img {
	position: absolute;
	top: 0; left: 0; 
	width:100%; height:100%;
	object-fit: cover;
}
.img-box:not(.danger):not([class*='is-']) img[src$='.png'],
.img-box:not(.danger) img[src$='.svg'],
.img-box:not(.danger) img[src$='.gif'] {
	background:transparent;
	background-image: linear-gradient(45deg, #e0e0e0 25%, transparent 25%), linear-gradient(-45deg, #e0e0e0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e0e0e0 75%), linear-gradient(-45deg, transparent 75%, #e0e0e0 75%);
  	background-size: 16px 16px;
  	background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
}
.img-box.is-mail {
	background:linear-gradient(135deg, #3969a3 0%, #9cf 100%);
}
.img-box.is-hta {
	background:linear-gradient(135deg, #fb0 0%, #feb 100%);
}
.img-box.is-ban {
	background:linear-gradient(135deg, #f00 0%, #fbb 100%);
}
.file-box canvas { /* hack: extra handling for ms-edge */
	position: absolute;
	margin: auto;
	top: 0; bottom: 0; left: 0; right: 0;
	max-width:100%; max-height:100%;
}
.img-box .manually,
.img-box .alert {
	position: absolute;
	display:flex;
	flex-flow: column;
	justify-content: center;
	width:100%;
	height:100%;
	margin:0;
	padding:5px;
	border-radius: 0;
	text-align:center;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 80%;
	line-height: normal;
}
.data-list .img-box .alert {
	padding: 5px 2px;
	line-height: 1;
	font-size: 70%;
}
.data-list .img-box .alert .ico {	
	position: absolute;
	right: 2px;
	top: 2px;
	font-size: 10px;
}

.file-box .ico {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	font-size:2.5rem;
}

.sign-icon {
	display:inline-block;
	font-weight: 600;
	color:#fff;
	text-transform: uppercase;
	background:#aaa;
	border-radius:50%;
	text-align: center;
}
.sign-icon.size-xs {
	width:1.8rem;
	min-width:1.8rem;
	height:1.8rem;
	line-height:1.8rem;
	font-size:.8rem;
	font-weight: 700;
}
.sign-icon.size-sm {
	width:2.4rem;
	min-width:2.4rem;
	height:2.4rem;
	line-height:2.4rem;
	font-size:1rem;
}
.sign-icon.size-md {
	width:6.25rem;
	min-width:6.25rem;
	height:6.25rem;
	line-height:6.25rem;
	font-size: 2.7rem;
	font-weight: 500;
}
.sign-icon.size-lg {
	width:9.5rem;
	min-width:9.5rem;
	height:9.5rem;
	line-height:9.5rem;
	font-size: 4rem;
	font-weight: 500;
}
a:hover .sign-icon {
	transform:scale(1.12);
}

.clr-a, .clr-k, .clr-u, .clr-5 {background:#5C2D91}
.clr-b, .clr-l, .clr-v, .clr-6 {background:#0078D7}
.clr-c, .clr-m, .clr-w, .clr-7 {background:#00B4FF}
.clr-d, .clr-n, .clr-x, .clr-8 {background:#008272}
.clr-e, .clr-o, .clr-y, .clr-9 {background:#107C10}
.clr-f, .clr-p, .clr-z {background:#FFB900}
.clr-g, .clr-q, .clr-1 {background:#D83B01}
.clr-h, .clr-r, .clr-2 {background:#B50E0E}
.clr-i, .clr-s, .clr-3 {background:#E81123}
.clr-j, .clr-t, .clr-4 {background:#B4009E}

/* -------------------- */

#debug {
	background:#fff;
	padding:2rem;
}

/* -------------------- */

.box-help .ico-feature {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom:.5rem;
	width:4rem;
	height:4rem;
	font-size:2.125rem;
	border-radius: .75rem;
	border: 1px solid #ebebeb;
}

/* -------------------- */

table[data-sortable] {
	border-collapse: collapse;
	border-spacing: 0;
}
table[data-sortable] th:not([data-sortable="false"]) .sort-elm {
	position:relative;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-touch-callout: none;
	cursor: pointer;
}
table[data-sortable] th .sort-elm:after {
	position:absolute;
	display:none;
	bottom:2px;
	left:50%;
	transform: translateX(-50%);
	margin:0;
	width:20px;
	height:0;
	font-family: 'Font Awesome 5 Pro';
	content: "\f077";
	font-size: 10px;
	font-weight: 600;
	color: #aaa;
	text-align: center;
}
table[data-sortable] th[data-sorted="true"] .sort-elm:after {
	display:inline-block;
}
table[data-sortable] th[data-sorted-direction="descending"] .sort-elm:after {
  	content:"\f078";
}

/* #################################################### */

/* --------- desktop xl --------- */

@media (min-width: 1200px){ /* xl */
	
	#mid .cnt-wrap:not(.full-width):not(.liveview) {
		max-width:calc(1140px + 4rem);
	}
}

/* --------- desktop (all) --------- */

@media (min-width: 992px){ /* lg + xl */
	
	.Xtop-bar-item,
	body:not(.toggleMenuMain) #mid .cnt-wrap {
		padding-right: 2rem;
		padding-left: 2rem;
	}
}


/* --------- phone phaplet modes --------- */

@media (max-width: 575.98px), (max-height: 440px){

	#menu,
	#menu .block-header {
		font-size:1.1rem;
	}
	#menu .header {
		font-size:.75rem;
	}
	
	.btn-fixed {
		width:3.0rem;
		height:3.0rem;
		line-height:3.0rem;
	}

}

@media (orientation:landscape) and (max-height: 440px){ /* scroll header */

	body:not(.toggleMenuMain) #header,
	body:not(.toggleMenuMain) #menu {
		position: absolute;
	}
}

@media (max-width: 991.98px){ /* xs + sm + md */

	body #menu {
    	left:-15rem;
	}
    body.toggleMenuMain #menu {
		left:0;
	}
	body #mid {
		padding-left:0;
	}
	body.toggleMenuMain #mid {
		padding-left:15rem;
	}
}


@media (max-width: 575.98px){
	
	XXXbody {
		font-size:17px;
	}
	
	body #menu {
		width:17rem;
		left:-17rem;
	}
	body #mid,
	body #footer {
		left:0;
		width:100%;
	}
	html.toggleMenuMain {
    	overflow:hidden;
    	height:100%;
    }
    body.toggleMenuMain {
    	overflow:hidden;
    }
    body.toggleMenuMain #menu {
    	left:0;
	}
    body.toggleMenuMain #mid:before {
    	position:absolute;
    	z-index:3;
    	content:' ';
    	left:0;
    	right:0;
    	top:0;
    	bottom:0;
    	background:rgba(255,255,255,.65);
    }
	body.toggleMenuMain #mid,
	body.toggleMenuMain #footer {
		left:17rem;
		padding-left:0;
	}
	
	#header .top-bar-nav {
    	margin-right: 0 !important;
    	flex-wrap: nowrap;
	}
	
	.btn {
		font-size:16px;
	}
	
	.row-xs {
		margin-left:-10px;
    	margin-right:-10px;
	}
	.row-xs.row-elm {
		margin-top:-10px;
	}
	.row-xs .col-elm {
		margin-top:10px;
		padding-left:5px;
    	padding-right:5px;
	}
	
	.card:not(.card-mobile-lock) {
		margin-right: -1.5rem;
		margin-left: -1.5rem;
		border: 0;
		border-radius: 0;
	}
	.card.card-table:not(.card-mobile-lock):not(.card-mobile-m0) .table-responsive {
		margin: 0 -.75rem;
		width: calc(100% + 1.5rem);
	}
	.card.card-mobile-m0 {
		margin-right:-1.25rem;
		margin-left:-1.25rem;
	}
	.card.card-mobile-m0.card-table:not(.card-mobile-lock) .table-responsive {
		margin: 0 -.25rem;
		width: calc(100% + .5rem);
	}
	
	.page-home .footer {
		line-height: 1.85;
	}
}