.popup-form {  
    font-weight: bold;
    position:fixed;
    left:0;
    right:0;
    margin: auto;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 50%;
    height: auto;
    padding: 15px;  
    text-align: center;
    box-sizing: content-box;
    z-index: 9999;
}

.popup-form .popup-top {
    font-family: 'Orchidea Pro';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    /* identical to box height */

    padding: 20px;
    background: #067DCF;

    color: #FFFFFF;
}

.popup-form .popup-bottom {
    font-family: 'Orchidea Pro';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    /* identical to box height */

    padding: 20px;
    background: #FFFFFF;

    color: #000000;
}

.popup-form label {
    float: left;
    padding: 10px 0;
}

.popup-form .input-gallery label {
    padding: 10px 0 0 0;
}

.popup-form .input-list {
    width: 100%;
    font-size: 22px;
    border-width: 0 0 2px 0;
}

.popup-form-fade {
    display: none;
}
.popup-form-fade::before {
	content: '';
	background: #000;
	position: fixed; 
	left: 0;
	top: 0;
	width: 100%; 
	height: 100%;
	opacity: 0.7;
	z-index: 9999;
}

.popup-form .input-next {
    float: right;
    background: #CA0505;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 600;
    padding: 10px;
    margin-top: 20px;
    border-width: 3px;
    border-color: #CA0505;
    text-transform: uppercase;
}

.popup-form .input-next:disabled {
    background: grey;
    border-color: grey;
    color: #FFFFFF;
}

.popup-form .input-previous {
    float: left;
    background: #FFFFFF;
    color: #CA0505;;
    font-size: 20px;
    font-weight: 600;
    padding: 10px;
    margin-top: 20px;
    border-width: 3px;
    border-color: #CA0505;
    text-transform: uppercase;
}

.popup-form .input-img {
    width: 25%;
    padding: 5px;
}

.popup-form .input-img img {
    width: 100%
}

.popup-form .gallery-row {
    display: flex;
}

.popup-form .input-gallery [type=radio] { 
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
  
.popup-form .input-gallery [type=radio] + img {
    cursor: pointer;
}
  
.popup-form .input-gallery [type=radio]:checked + img {
    outline: 3px solid #CA0505;
}

.input-list-defect {
    display: none;
}

.popup-form .input-age {
    width: 100%;
}

.popup-form .output-age {
    color: #000000;
    padding: 15px;
    margin-top: 10px;
    font-size: 30px;
    font-weight: 800;
}

.popup-form .input-tel {
    width: 100%;
    font-size: 24px;
    border-width: 2px;
}

.popup-form .output-age-case {
    padding: 20px;
}

.popup-form .clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.popup-form .form-part-2 {
    display: none;
}

.popup-form .form-part-3 {
    display: none;
}

.popup-form .form-part-4 {
    display: none;
}

.popup-form .input-previous {
    display: none;
}

.popup-form label {
    display: block;
}

.open-form-button {
    position: fixed;
    top: 300px;
    left: -73px;
    background-color: #CA0505;
    border: none;
    transform: rotate(-90deg);
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    
    z-index: 100;
}

.close-popup-form {
    font-size: 1.5em;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 5px;
    
    color: white;
}

@media only screen and (max-width: 600px) {
    .popup-form {  
        width: 80%;
    }
    
    .popup-form .input-next {
        width: 100%;
    }
    
    .popup-form .input-previous {
        width: 100%;
    }
    
    .input-list-defect {
        display: block;
    }
    
    .input-gallery {
        display: none;
    }
    
    .open-form-button {
        left: -60px;
        padding: 15px 10px;
        font-size: 12px;
    }
    
    .popup-form .input-next {
        font-size: 16px;
    }
    
    .popup-form .input-previous {
        font-size: 16px;
    }
    
    .popup-form .output-age {
        font-size: 26px;
    }
}