/**
 * Form element base styles the old site relied on (they came from the
 * RT Elements plugin's elements.css). Only loaded in compatibility mode,
 * before the theme's own styles, so pages look the same without it.
 */
input, button, select, textarea { background: transparent; border: 1px solid var(--color-border); transition: 0.4s ease-out; color: var(--color-body); width: 100%; border-radius: 12px; }
:is(input, button, select, textarea):is(:focus, :active):not(:where(.nc-header *, .nc-footer *)) { outline: none; border-color: var(--color-primary); }
button, [type="button"], [type="reset"], [type="submit"] { appearance: button; }
input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="tel"], input[type="url"], textarea { font-size: var(--font-size-b2); font-weight: 400; height: auto; line-height: 28px; background: transparent; box-shadow: none; padding: 0px 15px; outline: none; }
input[type="text"]::placeholder, input[type="password"]::placeholder, input[type="email"]::placeholder, input[type="number"]::placeholder, input[type="tel"]::placeholder, input[type="url"]::placeholder, textarea::placeholder { color: var(--body-color); opacity: 1; }
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="url"]:focus, textarea:focus { border-color: var(--color-primary); }
input[type="checkbox"], input[type="radio"] { opacity: 0; position: absolute; }
input[type="checkbox"] ~ label, input[type="radio"] ~ label { position: relative; font-size: 12px; line-height: 17px; color: var(--color-body); font-weight: 400; padding-left: 25px; cursor: pointer; }
input[type="checkbox"] ~ label::before, input[type="radio"] ~ label::before { content: " "; position: absolute; top: 5px; left: 0px; width: 15px; height: 15px; background-color: rgb(93, 93, 126); transition: 0.3s; border-radius: 2px; }
input[type="checkbox"] ~ label::after, input[type="radio"] ~ label::after { content: " "; position: absolute; top: 16%; left: 2px; width: 10px; height: 6px; background-color: transparent; border-bottom: 2px solid rgb(255, 255, 255); border-left: 2px solid rgb(255, 255, 255); border-radius: 2px; transform: rotate(-45deg); opacity: 0; transition: 0.3s; }
input[type="checkbox"]:checked ~ label::after, input[type="radio"]:checked ~ label::after { opacity: 1; }
input:checked ~ .rn-check-box-label::before { background: var(--color-primary) !important; }
input[type="radio"] ~ label::before { border-radius: 50%; }
input[type="radio"] ~ label::after { width: 8px; height: 8px; left: 3px; background: rgb(255, 255, 255); border-radius: 50%; }
input[type="submit"] { width: auto; padding: 0px 30px; border-radius: 500px; display: inline-block; background: var(--color-primary); color: var(--color-white); font-weight: var(--p-medium); font-size: var(--font-size-b2); line-height: var(--line-height-b3); height: 50px; border: 2px solid var(--color-primary); transition: var(--transition); }
input[type="submit"]:hover { background: transparent; color: var(--color-primary); }
