/**
 * Bootstrap sizes:
 * sm >= 576px
 * md >= 768px
 * lg >= 992px
 * xl >= 1200px
 * xxl >= 1400px
 * fluid 100%
 */

:root {
    
}

#product [class*="abcweb-an-col-"] {
    padding-left: 0;
    padding-right: 0;
}
/* >= sm */
@media screen and (min-width: 576px) {
    #product [class*="abcweb-an-col-"] {
        float: left;
        padding-right: 15px;
    }
}

[class*="abcweb-an-col-"] .an-pf-field {
    padding: 0 0 1rem 0;
}

[class*="abcweb-an-col-"] .an-pf-field .control-label {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 1ch;

    font-weight: 700;
}
@supports not (gap: 1ch) {
    [class*="abcweb-an-col-"] .an-pf-field .control-label > * {
        margin-right: 4px;
    }
}
[class*="abcweb-an-col-"] .an-pf-field .an-pf-field-descr {
    padding-left: 1rem;
    padding-right: 1rem;
    display: block;
    font-size: 0.8em;
}

[class*="abcweb-an-col-"] .an-pf-field .form-control-select,
[class*="abcweb-an-col-"] .an-pf-field textarea,
[class*="abcweb-an-col-"] .an-pf-field input[type="text"]
{
    border: 1px solid whitesmoke;
    border-radius: 20px;
    padding: 0.5em;
    color: black;
}
[class*="abcweb-an-col-"] .an-pf-field div.form-control-select {
    height: auto;
    background: whitesmoke url(
        data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAAPklEQVR4Ae3TwREAEBQD0V/6do4SXPZg7EsBhsQ8IEmSMOsiuEfg3gL3oXC7wK0bd1G4o8X9F4yIkyQfSrIByQBjp7QuND8AAAAASUVORK5CYII=) 
        no-repeat scroll right 0.5rem center/1.25rem 1.25rem;
    display: block;
    padding-right: 1.5rem;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
[class*="abcweb-an-col-"] .an-pf-field input[type="text"] {
    background: whitesmoke;
}
[class*="abcweb-an-col-"] .an-pf-field textarea {
    background: whitesmoke;
    min-height: 40px;
    height: 2.5em;
    resize: vertical;
}
[class*="abcweb-an-col-"] .an-pf-field .anpf-select-dropdown-show-active 
{
    outline: none;
    border: 1px solid burlywood;
    border-radius: 20px 20px 0px 0px;
}
[class*="abcweb-an-col-"] .an-pf-field .anpf-select-dropdown-list
{
    top: calc(100% + 1px);
    border: 1px solid burlywood;
}

[class*="abcweb-an-col-"] .an-pf-field[data-apfs-field-id="90"] label {
    text-transform: uppercase;
    color: firebrick;
    padding: 0.5em;
}
[class*="abcweb-an-col-"] .an-pf-field[data-apfs-field-id="90"] input[type="radio"] {
    display: none;
}

[class*="abcweb-an-col-"] .an-pf-field .anpf-select-dropdown-item:not([data-value]),
[class*="abcweb-an-col-"] .an-pf-field select option[value="0"],
.an-pf-fields-total
{
    display: none;
}

[class*="abcweb-an-col-"] .an-pf-field:has(.an-pf-field-red) input[type="text"]:placeholder-shown, 
[class*="abcweb-an-col-"] .an-pf-field:has(.an-pf-field-red) textarea:placeholder-shown 
[class*="abcweb-an-col-"] .an-pf-field.required input[type="text"]:placeholder-shown, 
[class*="abcweb-an-col-"] .an-pf-field.required textarea:placeholder-shown 
{
    outline: none;
    border: 1px solid red;
}
[class*="abcweb-an-col-"] .an-pf-field:has(.an-pf-field-red) input[type="text"]:focus, 
[class*="abcweb-an-col-"] .an-pf-field.required input[type="text"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px burlywood;
}

/* notice */
.abcweb-notice {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: clamp(320px, 80ch, 50vw);
    width: fit-content;
    z-index: 99999;
    animation: abcwebNotice var(--d) linear 0s 1 normal forwards;
}
@keyframes abcwebNotice {
    0% {
        opacity: 0;
        top: 6rem;
    }
    15% {
        opacity: 1;
        top: 2rem;
    }
    85% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}