@font-face {
    font-family: "Sofia Pro";
    src: url('../fonts/sofia-pro/sofia_bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Sofia Pro Regular";
    src: url('../fonts/sofia-pro/sofia_regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Sofia Pro Semi Bold";
    src: url("../fonts/sofia-pro/sofia_medium.woff") format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Sofia Pro Bold";
    src: url("../fonts/sofia-pro/sofia_bold.woff") format('woff');
    font-weight: bold;
    font-style: normal;
}

/*GENERAL CALCULATOR STYLES*/
.baby-calculator {
    display: block;
    max-width: 440px;
    width: 100%;
    /*min-height: 420px;*/
    height: fit-content;
    border-radius: 6px;
    padding: 20px 25px 40px;
    margin: auto;
    color: #FFFFFF;
    font-family: Sofia Pro, sans-serif;
}

.baby-calculator .hidden {
    display: none;
}

.baby-calculator .form,
.baby-calculator .result {
    max-width: 312px;
    margin: auto;
}

.baby-calculator .header {
    padding-bottom: 20px;
    text-align: center;
}

.baby-calculator .header .title {
    font-size: 24px;
    line-height: 33px;
    color: #fafafa;
    font-family: "Sofia Pro", sans-serif;
    font-weight: bold;
}

.baby-calculator .form-inputs {
    text-align: left;
}

.baby-calculator .form-inputs .label {
    font-size: 14px;
    line-height: 21px;
    color: #ffffff;
    font-family: "Sofia Pro Semi Bold", sans-serif;
    font-weight: bold;
    padding-bottom: 10px;

}

.baby-calculator .form-inputs .date-picker {
    display: flex;
}

.baby-calculator .form-inputs .select-input.inline {
    display: inline-block;
    margin-right: 10px;
    flex-grow: 1;
}
.baby-calculator .form-inputs .select-input.inline:last-child {
    margin-right: 0;
}

.baby-calculator .form-inputs .ivf-transfer-type {
    padding-bottom: 10px;
}

.baby-calculator .footer {
    text-align: center;
}

.baby-calculator .footer .button {
    height: 48px;
    width: 100%;
    font-size: 14px;
    line-height: 48px;
    color: #ffffff;
    font-family: "Sofia Pro Semi Bold", sans-serif;
    letter-spacing: 1px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    background-color: #1d1c1c;
}

.baby-calculator .footer .button:hover {
    background-color: #0a0909;
    cursor: pointer;
}

.baby-calculator .result .big-label,
.baby-calculator .result .result-label {
    font-size: 34px;
    line-height: 43px;
    color: #fafafa;
    font-family: "Sofia Pro", sans-serif;
    font-weight: bold;
    text-align: center;
    padding-bottom: 10px;
}

.baby-calculator .result .small-label {
    font-size: 16px;
    line-height: 27px;
    color: #fafafa;
    font-family: "Sofia Pro Regular", sans-serif;
    text-align: center;
    padding-bottom: 40px;
}

.baby-calculator .result .return-label {
    font-size: 14px;
    line-height: 21px;
    color: #ffffff;
    font-family: "Sofia Pro Semi Bold", sans-serif;
    font-weight: bold;
    text-decoration: underline;
    text-align: center;
}

.baby-calculator .result .return-label:hover {
    cursor: pointer;
}


/* DUE DATE STYLES*/
.due-date-calculator {
    background-image: url("../assets/due-date-bg.png");
    background-size: cover;
}

.due-date-calculator .due-date-icon {
    background-image: url("../assets/duedate_calculator.svg");
    background-size: cover;
    width: 27px;
    height: 39px;
    margin: 0 auto 20px;
}

.due-date-calculator .result .result-img {
    background-image: url("../assets/duedate_results.svg");
    background-size: cover;
    width: 185px;
    height: 150px;
    margin: 10px auto 30px;
}


    /* OVULATION STYLES*/
.ovulation-calculator {
    background-image: url("../assets/ovulation-bg.png");
    background-size: cover;
}

.ovulation-calculator .ovulation-icon {
    background-image: url("../assets/ovulation_calculator.svg");
    background-size: cover;
    width: 38px;
    height: 31px;
    margin: 10px auto 20px;
}

.ovulation-calculator .result .result-img {
    background-image: url("../assets/ovulation_results.svg");
    background-size: cover;
    width: 216px;
    height: 136px;
    margin: 10px auto 30px;
}


/*GENDER CALCULATOR*/
.baby-calculator.gender-calculator {
    background-image: url("../assets/gender-bg.png");
    background-size: cover;
}

.gender-calculator .gender-icon {
    background-image: url("../assets/gender_calculator.svg");
    background-size: cover;
    width: 38px;
    height: 35px;
    margin: 10px auto 10px;
}

.gender-calculator .header .title {
    font-size: 24px;
    line-height: 33px;
    color: #fafafa;
    font-family: "Sofia Pro", sans-serif;
    font-weight: bold;
}

.gender-calculator .result .result-img {
    background-image: url("../assets/gender_results.svg");
    background-size: cover;
    width: 216px;
    height: 136px;
    margin: 10px auto 30px;
}

.gender-calculator .result .big-label,
.gender-calculator .result .result-label {
    font-size: 30px;
}



/*CUSTOM FORM INPUT ITEMS*/

    /* Reset Select */
.baby-calculator .form-inputs .select-input select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    outline: 0;
    box-shadow: none;
    border: 0 !important;
    background: #ffffff;
    background-image: none;
}
/* Remove IE arrow */
.baby-calculator .form-inputs .select-input select::-ms-expand {
    display: none;
}
/* Custom Select */
.baby-calculator .form-inputs .select-input {
    position: relative;
    display: flex; /*width: 20em;*/
    height: 40px;
    line-height: 40px;
    background: #ffffff;
    overflow: hidden;
    margin-bottom: 20px;
    font-family: "Sofia Pro Regular", sans-serif;
}
.baby-calculator .form-inputs .select-input select {
    flex: 1;
    padding: 0 1em;
    width: 100%;
    color: #1d1c1c;
    cursor: pointer;

}
/* Arrow */
.baby-calculator .form-inputs .select-input::after {
    content: '\f078';
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 1em;
    color: #1d1c1c;
    cursor: pointer;
    pointer-events: none;
    -webkit-transition: .25s all ease;
    -o-transition: .25s all ease;
    transition: .25s all ease;
}

/* custom radio button */
.radio-wrap {
    display: block;
    position: relative;
    width: fit-content;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: bold;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    font-family: "Sofia Pro Semi Bold", sans-serif;
}

.radio-wrap input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-radio {
    position: absolute;
    top: 3px;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: #fff;
    border-radius: 50%;
}

.radio-wrap:hover input ~ .custom-radio {
    background-color: #eee;
    cursor: pointer;
}

.custom-radio:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-wrap input:checked ~ .custom-radio:after {
    display: block;
}

.radio-wrap .custom-radio:after {
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #864acc;

}
