/*
	.branding is a special class applied to the root element that is not used in any system CSS.
	Use it to reassure higher priority of the style in case of conflict.
*/

.branding .dp2-login {
	background: url('login-bg.jpg');
	background-size: cover;
	background-position: center;
}

.branding .kiosk-screenshot-wrapper {
	text-align: center;
}

.branding .kiosk-screenshot-wrapper .layer-back-1 {
	background: url('kiosk.png');
	background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
	aspect-ratio: 450 / 950;
	max-height: 285px;
	width: unset;
	position: relative;
	display: inline-block;
}

.branding .kiosk-screenshot-wrapper img,
.branding .kiosk-screenshot-wrapper .layer-front-1 {
	position: absolute;
    width: 87%;
    left: 6%;
    height: 74%;
    top: 6%;
}

.branding .kiosk-screenshot-wrapper.offline .layer-front-1 {
    background: rgba(0,0,0,0.65);
}

.branding .kiosk-screenshot-wrapper .layer-front-1:after {
	position: absolute;
    color: white;
    top: 0%;
    left: 0%;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    margin-top: 10px;
}

.branding .kiosk-screenshot-wrapper.offline .layer-front-1:after {
	content: "offline";
}

.branding .kiosk-screenshot-wrapper.error .layer-front-1 {
    background: rgba(255,0,0,0.65);
}

.branding .kiosk-screenshot-wrapper.error .layer-front-1:after {
	content: "error";
}

.branding .kiosk-screenshot-wrapper.unknown .layer-front-1 {
    background: rgba(0,0,128,0.65);
}

.branding table tr td button:disabled,
.branding .nav-link.disabled,
.branding .kiosk-option-buttons div:has(button:disabled),
body .branding .settings-page.kiosk-option-buttons button.MuiButton-root:disabled,
.branding .dashboard>div>div>div>div>button:disabled,
.branding main>h2+button:disabled,
.branding div[role=tabpanel]>div>p>div>div>div>button:disabled,
.branding div[role=tabpanel]>div>p>button:disabled,
form.modal-form>div.MuiFormControl-root:has(label>span>input[type="checkbox"]:disabled),
.dashboard-role-wrapper.not-read-system .kiosk-toggle.warning,
.dashboard-role-wrapper.not-read-system .kiosk-toggle.unknown {
    display: none;
}
ul.MuiList-root>li.Mui-disabled[role="option"] {
    display: none;
}
#menu-reportType div ul[aria-labelledby="reportType-label"] li[data-value="BUTTON_POSITION"] {
    display: none;
}

#menu-reportType div ul[aria-labelledby="reportType-label"] li[data-value="BUTTON_LABEL"] span.desc,
#menu-reportType div ul[aria-labelledby="reportType-label"] li[data-value="BUTTON_POSITION"] span.desc {
    display: none;
}

.dashboard-role-wrapper.not-read-system .kiosk-toggle.error {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.branding table tr td .MuiButtonGroup-grouped:not(:last-of-type):has(+ button:disabled) {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.branding table tr td .MuiButtonGroup-grouped:not(:last-of-type):has(+ button:disabled):after {
    content: "";
    height: 100%;
    width: 8px;
    border-right: 1px solid;
    position: absolute;
    right: -1px;
    border-radius: 4px;
    opacity: 0.5;
}
