@font-face {
    font-family: "futura-pt";
    src: url("/fonts/futura-pt.woff");
    font-weight: normal;
}
@font-face {
    font-family: "futura-pt";
    src: url("/fonts/Futura PT Heavy.woff");
    font-weight: bold;
}

#reptile-preferences {
    max-width: 720px;
    margin: auto;
    text-align: center;
    padding: 40px;
}

#reptile-preferences p {
    margin: 0;
}

#reptile-preferences * {
    box-sizing: border-box;
}

#reptile-preferences input[type="radio"] {
    display: none;
}

#reptile-preferences input[type="radio"] + label:before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-65%);
    left: -20px;
    width: 10px;
    height: 10px;
    background-image: url('/images/radio-unchecked.jpg');
    background-size: 10px 10px;
}

#reptile-preferences input[type="radio"]:checked + label:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-75%);
    left: -17px;
    width: 5px;
    height: 6px;
    background-image: url('/images/radio-checked.jpg');
    background-size: 5px 6px;
}
#reptile-preferences input[type="radio"] + label.font-source-sans-pro:before {
    transform: translateY(-50%);
}

#reptile-preferences input[type="radio"]:checked + label.font-source-sans-pro:after {
    transform: translateY(-50%);
}


#reptile-preferences label {
    position: relative;
    font-size: 16px;
    margin: 0;
    line-height: 1;
}

#reptile-preferences input[type="submit"] {
    background-color: black;
    color: white;
    padding: 8px 35px;
    display: inline-block;
    cursor: pointer;
    border: solid 1px black;
    transition: all 300ms;
    font-weight: 500;
    font-size: 12px;
}

#reptile-preferences input[type="submit"]:hover {
    background-color: white;
    color: black;
    border: solid 1px black;
}

#reptile-preferences .main-title {
    margin: 0;
    font-weight: bold;
    font-size: 26px;
    color: black;
    font-family: futura-pt, sans-serif;
    letter-spacing: 4px;
}

.main-title:after {
    content: '';
    display: block;
    width: 170px;
    height: 5px;
    margin: auto;
    background-color: black;
    margin-top: 30px;
}

#reptile-preferences .sub-title {
    margin-top: 30px;
    margin-bottom: 0;
    font-size: 15px;
    font-weight: normal;
    letter-spacing: inherit;
    line-height: 1.5;
}

#reptile-preferences .section {
    margin: 0 -20px;
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
}

#reptile-preferences .section:first-of-type {
    margin-top: 90px;
}

#reptile-preferences .section-half {
    width: 50%;
    padding: 0 20px;
}

#reptile-preferences .section-title {
    font-size: 16px;
    letter-spacing: 2px;
}

#reptile-preferences .section-half:first-child {
    text-align: right;
}

#reptile-preferences .section-half:last-child {
    text-align: left;
}

#reptile-preferences .field-group p {
    font-size: 12px;
    line-height: 1.3;
    margin-top: 5px;
}

#reptile-preferences .field-group__right {
    padding-left: 10px;
}

#reptile-preferences .field-group + .field-group {
    margin-top: 15px;
}

#reptile-preferences .text-uppercase {
    text-transform: uppercase!important;
}

#reptile-preferences .font-weight-bold {
    font-weight: bold;
    font-family: futura-pt, sans-serif;
}

#reptile-preferences .justify-content-center {
    justify-content: center;
}

#reptile-preferences .font-source-sans-pro {
    font-family: "Source Sans Pro", sans-serif;
}

#reptile-preferences .no-margin-bottom {
    margin-bottom: 0;
}

#reptile-preferences .larger-letter-spacing {
    letter-spacing: 3px;
}

#reptile-preferences .medium-letter-spacing {
    letter-spacing: 1px;
}

#reptile-preferences .success {
    color: green;
}

@media screen and (max-width: 767px) {
    #reptile-preferences .section-half {
        width: 100%;
        text-align: center!important;
    }
    #reptile-preferences .section:first-of-type, #reptile-preferences .section {
        margin-top: 40px;
    }
    #reptile-preferences .section-title {
        margin-bottom: 20px;
    }
}