/* devel */

/* Tooltip */
.form__help {
	position: relative;
}

.form__help i + span {
	display: none;
}

.form__help i:hover + span {
	display: block;
}

.component.component--warranty .component__image span.is-danger.is-danger-black {
	color: black;
}

.form h3,
.form .form__section label,
.form .form__section input,
.form .form__section select,
.form .form__section textarea {
	scroll-margin-top: 40px;
}

.form .form__section table.is-form-table {
	margin-bottom: 0;
}

/* Prepinatko jako H3 */
body.is-dedietrich form .switch-h3 label,
body.is-dedietrich .form .switch-h3 label,
body.is-dedietrich .switch-h3 .form__label {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.5rem;
	color: #000;
	font-family: 'futura-pt', 'Arial', sans-serif;
	font-weight: 600;	
}

.header__logo a {
	text-decoration: none;
}


/* Kosik */
.layout.is-dialog.is-basket {
	width: 1200px;
}

.layout.is-dialog.is-basket .layout__content .form {
	margin-bottom: 0;
}

.basket-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.basket-form table.cms-editor-table.standard {
	border: 1px solid #707070;
}
.basket-form table.cms-editor-table.standard td,
.basket-form table.cms-editor-table.standard th {
	padding: 10px;
	font-size: 80%;
}
.basket-form .is-device {
	font-size: 80%;
}
.basket-form input.shop-input-count {
	width: 50px;
}

/* Dialog */
.layout {
	border: none;
}

.layout__header {
	position: sticky;
	top: 0;
	padding: 25px;
	/* border-bottom: 1px solid #dddddd; */
	border-bottom: none;
	background: #1e599b;
	color: white;
	/* box-shadow: 0 0 10px #47474729; */
}

.is-dedietrich .layout__header {
	background: #f6c245;
	border-bottom: none;
}

.layout__header .layout__heading {
	color: white;
	text-transform: none;
}

.is-dedietrich .layout__header .layout__heading {
	color: #333;
}

.layout__body {
	padding: 25px;
}

/* Nahradni dily */
.form__block[data-object=message] .text-ok {
	width: 100%;
	gap: 20px;
}
.is-history-form .form__block[data-object=message] .text-ok a,
.is-history-form .form__block[data-object=message] .text-ok span.is-price,
.is-history-form .form__block[data-object=message] .text-ok span.is-label {
	font-size: 80%;
}
.is-history-form .form__block[data-object=message] .text-ok .is-label {
	max-width: 33%;
}

/* Ramecek kolem bdlazdice */
.component.component--boxes .component__item {
	border: 1px solid #ebe9e9;
}

@media (min-width: 1000px) {
	.component.component--boxes .component__item {
		padding-right: 30px;
	}
}

/* Tlacitko jako checkbox */
input[type="checkbox"].is-btn-check {
	display: none;
}

input[type="checkbox"].is-btn-check + label::before {
	display: inline;
	position: relative;
	left: -7px;
	content: '\2610';
}
input[type="checkbox"]:checked.is-btn-check + label::before {
	content: '\2611';
}

input[type="checkbox"]:checked.is-btn-check + label {
	background-color: var(--bs-green);
	color: white;
}

.btn-border {
	background: none;
	border: 1px solid #686f77;
}

.btn-border:hover,
body.is-dedietrich a.btn-border:focus,
body.is-dedietrich a.btn-border:hover {
	color: white;
	background-color: var(--bs-primary);
}

/* Text v boxech */
.component--boxes .row.component__title-wrapper {
	margin-bottom: 15px;
	align-items: center;
}

.component--boxes .btn {
	padding: 8px 15px;
	font-size: 0.8rem;
	font-weight: normal;
}

.component--boxes .component__title + .component__text {
	margin: 15px 0 30px 0;
}

/* Notifikace */
.header__controls>*.is-notification:before {
	background-image: url(../images/icon-bell.svg);
}
.header__controls>*.is-notification:focus:before,
.header__controls>*.is-notification:hover:before,
body.is-dedietrich .header__controls>*.is-notification:focus:before,
body.is-dedietrich .header__controls>*.is-notification:hover:before {
    background-image: url(../images/icon-bell-blue.svg);
}

.notification-list {
	display: flex;
	flex-direction: column;
}
.notification-item,
body.is-dedietrich a.notification-item {
	display: flex;
	padding: 15px 10px;
	border-bottom: 1px solid #ddd;
	text-decoration: none;
	color: #888;
}
.notification-item:hover,
a.notification-item:hover,
body.is-dedietrich .notification-item:hover,
body.is-dedietrich a.notification-item:hover {
	text-decoration: none;
	color: #00a5db;
}
.notification-item:last-child,
body.is-dedietrich .notification-item:last-child {
	border-bottom: none;
}
.notification-item.is-active,
body.is-dedietrich .notification-item.is-active {
	font-weight: bold;
	color: #333;
}
.notification-date {
	width: 110px;
	flex-shrink: 0;
}

/* Certifikat */
.component.component--boxes .component__item.has-border {
	border-width: 2px;
}
.component.component--boxes .component__item.is-success.has-border {
	border-color: #669b1e;
}

.is-gray {
	color: #bbb;
}