/* Читаемые и адаптивные элементы форм личного кабинета. */
select {
	box-sizing: border-box;
	max-width: 100%;
	color: #2c2c2c;
	background-color: #fff;
	text-overflow: ellipsis;
}

select option {
	max-width: 100%;
	color: #2c2c2c;
	background-color: #fff;
}

select option:checked {
	color: #fff;
	background-color: #903e6e;
}

.bootstrap-select {
	max-width: 100%;
}

.bootstrap-select > .dropdown-toggle {
	max-width: 100%;
	color: #2c2c2c;
	background-color: #fff;
}

.bootstrap-select .dropdown-menu {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(100vw - 32px);
	overflow-x: hidden;
	color: #2c2c2c;
	background: #fff;
}

.bootstrap-select .dropdown-menu,
.bootstrap-select .dropdown-menu > .inner {
	height: auto !important;
	min-height: 0 !important;
}

.bootstrap-select .dropdown-menu > .inner {
	box-sizing: border-box;
	max-width: 100%;
	max-height: 320px;
	max-height: min(320px, calc(100vh - 64px));
	overflow-x: hidden;
	overflow-y: auto;
}

.bootstrap-select .dropdown-menu li {
	max-width: 100%;
}

.bootstrap-select .dropdown-menu li a {
	display: block;
	max-width: 100%;
	color: #2c2c2c;
	background: #fff;
	white-space: normal;
}

.bootstrap-select .dropdown-menu li a:hover,
.bootstrap-select .dropdown-menu li a:focus {
	color: #2c2c2c;
	background: #f4eef2;
}

.bootstrap-select .dropdown-menu li.active a,
.bootstrap-select .dropdown-menu li.active a:hover,
.bootstrap-select .dropdown-menu li.active a:focus,
.bootstrap-select .dropdown-menu .dropdown-item.active {
	color: #fff;
	background: #903e6e;
}

.bootstrap-select .dropdown-menu li a span.text {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: normal;
}

.bootstrap-select .dropdown-menu li a span,
.bootstrap-select .dropdown-menu li a small {
	color: inherit;
}

.bootstrap-select .dropdown-menu li.disabled a,
.bootstrap-select .dropdown-menu li.disabled a:hover {
	color: #8a8a8a;
	background: #f5f5f5;
}

.button.is-loading,
.button-white.is-loading,
[aria-busy="true"].button,
[aria-busy="true"].button-white {
	cursor: wait;
	opacity: 0.65;
	pointer-events: none;
}

.rikp-cert-msg:empty {
	margin-left: 0;
}

@media (max-width: 576px) {
	.bootstrap-select .dropdown-menu {
		max-width: calc(100vw - 24px);
	}

	.rikp-cert-msg {
		display: block;
		margin: 10px 0 0;
	}
}
