body {
    overflow-y: hidden;
}

button,
input,
select,
textarea {
    margin: 0;
    /* 2 */
    font-family: sans-serif;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
}

/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input {
    /* 1 */
    overflow: visible;
}

input[type="text"],
input[type="number"],
input[type="email"] {
    width: 100%;
    background: #fff;
    border: 1px solid #b5b5b5;
    border-radius: 5px;
    padding-left: 6%; /* YNS-1398 */
}

button::-moz-focus-inner,
input::-moz-focus-inner,
optgroup::-moz-focus-inner,
select::-moz-focus-inner,
textarea::-moz-focus-inner {
    border: 0;
}

button:focus,
input:focus,
optgroup:focus,
select:focus,
textarea:focus {
    outline: none;
}

a:hover {
    text-decoration: none;
}

.container {
    padding: 75px 0;
}

.section {
    margin: 0 auto;
    max-width: 1200px;
    padding: 15px 0;
    position: relative;
}

.section__center {
    text-align: center;
}

.product-code {
    margin: 0 auto;
    width: 1200px;
    height: 580px;
    padding: 35px 60px;
    background: #fff;
    border: 1px solid #b5b5b5;
    border-radius: 6px;
}

.product-code.product-code--tablet-register {
    height: 385px;
}

.product-code__title {
    text-align: left;
    font-weight: bold;
    color: #000000;
}

.product-code__title.product-code__title--tablet-register {
    text-align: center;
}

.product-code__title-text {
    display: block;
    height: 70px;
}

.product-code__title-primary {
    font-size: 36px;
}

.product-code__title-secondary {
    font-size: 26px;
}

.product-code__form {
    font-size: 0;
    text-align: left;
    padding: 50px 0;
}

.product-code__form-center {
    text-align: center;
}

.product-code__tablet-label {
    display: inline-block;
    width: 18%;
    vertical-align: middle;
    font-size: 20px;
    text-align: left;
    font-weight: bold;
    color: #000000;
}

.product-code__input-name {
    display: inline-block;
    width: 25%;
    vertical-align: middle;
}

.product-code__input-tablet-name {
    display: inline-block;
    width: 100%;
    font-size: 18px;
    padding: 0 6px;
}


.product-code__label {
    display: inline-block;
    width: 20%;
    vertical-align: middle;
    font-size: 18px;
    text-align: left;
    font-weight: bold;
    padding-left: 20px; /* YNS-1398 */
}

.product-code__field {
    display: inline-block;
    vertical-align: middle;
    width: 80%;
    text-align: left; 
}

.product-code__inputboxes {
    display: inline-block;
    width: 35%; /* YNS-1398 */
    font-size: 18px;
    padding: 0 6px; 
    float: right; /* YNS-1398 */
}

.product-code__textbox {
    padding: 15px 10px;
    border: 2px solid #b5b5b5;
    border-radius: 5px;
    width: 100%;
    background: #fff;
}

.register-form__error {
    display: block;
    padding: 5px 0 0;
    font-size: 18px;
    color: #FF0000;
    font-weight: bold;
}

.product-code__button {
    width: 100%;
    position: relative;
}

.product-code__register {
    margin: 0 auto;
    width: 20%;
    padding: 70px 0 0;
}

.product-code__submit-button {
    width: 20%;
    position: absolute;
    right: 0;
    padding: 50px 6px 0; 
}

.button.button--nextpage {    
    padding: 21px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: #ff9900;
    width: 100%;
    display: block;
    border: 1px solid #000;
    border-radius: 5px;
    text-align: center;
}

.product-code__code {
    display: inline-block;
    margin-top: 30px;
    width: 101%; 
}

.product-code__field.product-code__field--container {
    width: 100%; 
}

.product-code__column {
    display: inline-block;
    width: 50%;
    vertical-align: top; 
}

.product-code__column2 {
    text-align: right;
}

.product-code__column-label {
    display: inline;
    vertical-align: middle;
    font-size: 18px;
    font-weight: bold; 
}

.product-code__column-box {
    display: inline-block;
    width: 60%;
    vertical-align: middle;
    padding: 6px 20px; 
}

.product-code__column-box input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    width: 25px;
    height: 25px;
    padding: 4px;
    background-clip: content-box;
    border: 2px solid #bbbbbb;
    border-radius: 50%;
    outline: none;
    vertical-align: sub;
    margin-right: 10px;
}

.product-code__column-box input[type="radio"]:checked {
    background-color: #666666;
}

.product-code__selectbox {
    width: 100%;
    background: #fff;
    border: 2px solid #b5b5b5;
    border-radius: 5px;
    height: 49px; 
    padding: 0 10px;
    font-size: 20px;
}

.product-code__selectbox:disabled {
    background: #b5b5b5;
}

.product-code__tooltip {
    visibility:hidden;
    font-size: 18px;
    border: 1px solid #f00;
    border-radius: 5px;
    box-shadow: 3px 3px 6px #cecaca;
    position: absolute;
    right: 0;
    bottom: -20px;
    background: #fff;
    min-width: 30%;
    padding: 20px 35px; 
}
.product-code__tooltip-arrow {
    width: 25px;
    height: 25px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid #f00;
    position: absolute;
    bottom: -25px;
    left: 85%; 
}

.product-code__tooltip-span {
    display: block;
    white-space: pre-line;
    text-align: left; 
}

.product-code__close {
    position: absolute;
    top: -15px;
    font-size: 24px;
    width: 20px;
    height: 20px;
    border: 2px solid #f00;
    line-height: 0;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 13px 15px 17px;
    font-weight: bold;
    right: -15px;
    background: #fff; 
}
/* YNS-1398 start */
.product-code__form {
    padding: 20px;
}

.product-code__form-container {
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    height: 250px;
}
.product-code__form-left {
    width: 20%;
    display: flex;
    flex-direction: column;
}
.product-code__form-left>div, .product-code__form-right>div {
    height: 25%;
    display: flex;
    align-items: center;
}
.product-code__form-left>div:first-child, .product-code__form-right>div:first-child {
    height: 50%;
}
.product-code__label-wrapper label {
    width: 100%;
}
.product-code__form-right {
    display: flex;
    flex-direction: column;
    width: 55%;
}
.product-code__form-right>div {
    width: 100%;
    float: unset;
    padding-right: 0;
}
.product-code__selectbox-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.product-code__selectbox-wrapper .product-code__column-box {
    width: 70%;
}
.product-code__selectbox-wrapper>div {
    padding-right: 0px;
}
.product-code__column-box {
    width: 100%;
}
/* YNS-1398 end */
