#bd-form {
	scroll-margin:20px;
}

/**/

.bd-nsy-main {
	max-width:600px;
	padding:20px;
	margin:0 auto;
	text-align:center;
	background:#FFFFFF;
	border:1px solid #E7E7E7;
}

/**/

.bd-nsy-main input[type="text"],
.bd-nsy-main select {
	width:100%;
	display:block;
	padding:0px 5px 0px 10px;
	margin:0;
	height:35px;
	line-height:35px;
	font-size:16px;
	border-radius:3px;
	border:1px solid #C1C1C1;
	background-color:#FFFFFF;
	box-sizing:border-box;
}

.bd-nsy-main textarea {
	width:100%;
	resize:none;
	display:block;
	box-sizing:border-box;
	padding:10px;
	margin:0;
	font-family:inherit;
	font-size:16px;
	font-weight:normal;
	border-radius:3px;
	border:1px solid #C1C1C1;
	background-color:#FFFFFF;
}

.bd-nsy-main input[type="file"] {
	height:auto;
	line-height:normal;
	padding:10px;
}

.bd-nsy-main input[type="checkbox"] {
	width:16px;
	height:30px;
	line-height:30px;
}

.bd-nsy-input-disabled {
	pointer-events:none !important;
	background-color:#CFCFCF !important;
}

.bd-nsy-input-invalid {
	box-shadow:0 0 4px 1px rgba(200, 0, 0, 0.2) !important;
	border-color:rgba(200, 0, 0, 0.3) !important;
}

/**/

.bd-nsy-star {
	font-weight:bold;
	color:#FF0000;
}

/**/

.bd-nsy-hr {
	margin-bottom:15px;
	border-bottom:1px solid #d1d1d1;
}

/**/

.bd-nsy-label {
	padding-bottom:5px;
	font-size:90%;
	text-align:left;
	color:#2d2d2d;
}

.bd-nsy-value {
	padding-bottom:15px;
}

/**/

.bd-nsy-breed-list input,
.bd-nsy-breed-list select {
	height:29px;
	line-height:29px;
	font-size:16px;
}

.bd-nsy-breed-list > div {
	padding-bottom:15px;
}

.bd-nsy-breed-list > div > div {
	display:flex;
}

.bd-nsy-breed-list > div > div:first-child {
	padding-bottom:5px;
}

.bd-nsy-breed-list > div > div:first-child > div:first-child {
	flex-grow:1;
	padding-right:20px;
}

.bd-nsy-breed-list > div > div:first-child > div:last-child {
	flex-basis:100px;
}

.bd-nsy-breed-list > div > div:last-child > div:first-child {
	flex-basis:50%;
	padding-right:10px;
}

.bd-nsy-breed-list > div > div:last-child > div:last-child {
	flex-basis:50%;
	padding-left:10px;
}

/**/

.bd-nsy-breed-add {
	padding-bottom:15px;
	text-align:right;
}

.bd-nsy-breed-add > span {
	cursor:pointer;
	font-size:14px;
	color:#ea9d10;
	border-bottom:1px solid #ea9d10;
}

.bd-nsy-breed-add > span:hover {
	border-color:rgba(0, 0, 0, 0);
}

.bd-nsy-breed-add-disabled > span,
.bd-nsy-breed-add-disabled > span:hover {
	cursor:default !important;
	color:#979797 !important;
	border-bottom:1px solid #979797 !important;
}

/**/

.bd-nsy-multiselect {
	height:150px;
	font-size:14px;
	border:solid 1px #c0c0c0;
	overflow-x:hidden;
	overflow-y:scroll;
}

.bd-nsy-multiselect > label {
	cursor:pointer;
	width:100%;
	display:flex;
	align-items:center;
	justify-content:space-between;
	margin:2px 0;
	padding:2px 6px;
}

.bd-nsy-multiselect > label:hover,
.bd-nsy-multiselect > label[data-selected] {
	background:#cbcbcb;
}

/**/

.bd-nsy-no-partner {
	display:flex;
	align-items:center;
	justify-content:center;
	padding-bottom:15px;
	font-size:90%;
	color:#2d2d2d;
}

.bd-nsy-no-partner > input {
	margin-left:10px;
}

/**/

.bd-nsy-info {
	display:none;
	padding:15px 20px;
	margin-bottom:15px;
	text-align:center;
	background:#D9FFDE;
	scroll-margin:130px;
}

.bd-nsy-error {
	background:#FFD9D9;
}

/**/

.bd-nsy-captcha {
	display:flex;
	max-width:350px;
	margin:0 auto 15px;
}

.bd-nsy-captcha > img {
	display:block;
	flex-shrink:0;
	width:150px;
	height:35px;
	margin-right:10px;
}

/**/

.bd-nsy-send {
	cursor:pointer;
	display:inline-block;
	padding:7px 20px;
	margin-bottom:15px;
	font-size:16px;
	color:#FFFFFF;
	background:#ED6A08;
	border:1px solid #ED6A08;
	border-radius:4px;
	transition:all 0.5s;
}

.bd-nsy-send:hover {
	background:#EB893E;
	border:1px solid #EB893E;
}

.bd-nsy-send-disabled,
.bd-nsy-send-disabled:hover {
	cursor:default;
	background:#BABABA;
	border:1px solid #C7C7C7;
}

/**/

.bd-nsy-checkbox-main {
	font-size:14px;
}

.bd-nsy-checkbox-main a:link,
.bd-nsy-checkbox-main a:visited {
	text-decoration:underline solid #A8A8A8;
	text-underline-offset:2px;
}

.bd-nsy-checkbox-main a:hover {
	text-decoration:underline solid var(--main_color_active);
}

.bd-nsy-checkbox {
	display:inline-block;
	width:18px !important;
	height:18px !important;
	margin-right:3px;
	position:relative;
}

.bd-nsy-checkbox input {
	line-height:18px !important;
	height:16px !important;
	visibility:hidden;
}

.bd-nsy-checkbox label {
	cursor:pointer;
	width:18px;
	height:18px;
	position:absolute;
	top:0;
	left:0;
	background:none repeat scroll 0 0 #F5F5F5;
	border:1px solid rgba(200, 0, 0, 0.3);
	box-shadow:0 0 4px 1px rgba(200, 0, 0, 0.2);
	transition:border 0.6s, box-shadow 0.4s;
}

.bd-nsy-checkbox label:after {
	content:'\2714';
	line-height:1;
	position:absolute;
	top:2px;
	left:3px;
	font-weight:bold;
	font-size:15px;
	color:#444444;
	opacity:0;
	transition:opacity 0.3s;
}

.bd-nsy-checkbox input:checked + label {
	border-color:#C1C1C1;
	box-shadow:none;
}

.bd-nsy-checkbox input:checked + label:after {
	opacity:1;
}
