.bh-dialog {
    display: none;
    align-items: flex-start;
    padding: 32px 48px 35px;
    margin: 0;
    border-radius: 2px;
    background-color: #fff;
    box-shadow: 0 4px 15px 0 rgba(0,0,0,0.13);
    opacity: 0;
    width: 480px;
    max-width: 100%;
	position: relative;
}

@media screen and (max-width: 600px) {
    .bh-dialog {
        padding: 24px;
    }
}

.bh-dialog.open {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 1;
}

@media screen and (max-width: 480px) {
    .bh-dialog.open {
        width: calc(100% - 20px);
        left: 10px;
    }
}

@keyframes animOpacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.bh-dialog[data-bh-dialog-top] {
    position: absolute;
    margin-bottom: 50px;
}

.bh-dialog-cover {
    background-color: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 10px;
    overflow-y: auto;
}

.bh-dialog-fixed-page {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.bh-dialog-trigger {
    cursor: pointer;
}

.bh-dialog .radio-group-flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 15px;
}

.bh-dialog .radio-group-flex .radio-group-input {
    display: none;
}

.bh-dialog .radio-group-flex label {
    width: 65px;
    height: 16.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 100px;
    font-size: 12px;
}

.bh-dialog .radio-group-flex--gens {
    flex-wrap: wrap;
    width: 270px;
    gap: 15px;
}

.bh-dialog .radio-group-flex--links {
    width: 250px;
}

.bh-dialog input[type="radio"] {
		opacity: 0;
		width: 0;
		height: 0;
		margin: 0 -1px 0 0;
}

.bh-dialog input[type="radio"]:checked + label {
    border: 2px solid #39f;
    line-height: 21px;
    box-shadow: 0 0 0 1px #39f;
    z-index: 9;
}

.bh-dialog label {
    min-width: 65px;
    display: inline-block;
    line-height: 23px;
    text-align: center;
}

.bh-dialog p {
    font-size: 14px;
    line-height: 16px;
    margin: 0 0 14px;
    text-align: center;
}

.bh-dialog--number.open .number-input-wrap {
    display: flex;
    justify-content: space-between;
    width: 100px;
    gap: 4px;
}

.bh-dialog--number.open .number-query {
    width: calc(100% - 48px);
    padding-right: 6px;
}

.bh-dialog--number.open .number-error {
    margin-top: 4px;
    color: #da291c;
}