/* *************************
FOUC
************************* */
/* Hide if JS */
.js .custom__fouc--js-hide {
    display: none;
}

/* Hide if not JS */
.no-js .custom__fouc--no-js-hide {
    display: none;
}

/* *************************
Header
************************* */
@media(min-width: 1400px) {
    header img {
        width: 10%;
    }   
}

/* *************************
Services
************************* */
.custom__services--list {
    list-style-type: none;
    padding-left: 0;
}

    @media(min-width: 576px) {
        .custom__services--list {
            padding-left: 15px;
        }
    }

.custom__services--list li {
    position: relative;
}

.custom__services--list li:before {
    content: "\F285";
    font-family: bootstrap-icons;
    font-size: 0.75em;
    color: #006699;
    line-height: 1;
}

    @media(min-width: 576px) {
        .custom__services--list li:before {
            position: absolute;
            left: -15px;
            top: 6.38px;
        }
    }

/* *************************
Form
************************* */
/* Form -> Button submit svg */
.custom__form--submit-svg {
    margin-top:-1px;
}

/* Form -> Button container with loading spinner */
.custom__form--submit-container {
    display: flex;
    align-items: center
}

/* Form -> Field borders */
.form-control:focus {
    border-color: #006699 !important;
}

/* Form -> Notice error */
.custom__form--notice-error {
    font-size: 0.9em;
    margin-top: 0.25rem;
}

/* Form -> Loading spinner */
.custom__form--loader-spinner {
    width: 28px;
    height: 28px;
    margin-left: 0.5em;
    border: 4px solid #ccc;
    border-bottom-color: #006699;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

/* Form -> Loading spinner keyframe */
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* *************************
Bootstrap
************************* */
/* Bootstrap -> Button primary overide Bootstrap default */
.btn-primary.custom__btn--primary {
    /* --bs-btn-color: #fff; */
    --bs-btn-bg: #006699;
    --bs-btn-border-color: #0271a9;
    /* --bs-btn-hover-color: #fff; */
    --bs-btn-hover-bg: #0271a9;
    --bs-btn-hover-border-color: #006699;
    /* --bs-btn-focus-shadow-rgb: 49,132,253; */
    /* --bs-btn-active-color: #fff; */
    --bs-btn-active-bg: #006699;
    --bs-btn-active-border-color: #0271a9;
    /* --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); */
    /* --bs-btn-disabled-color: #fff; */
    --bs-btn-disabled-bg: #006699;
    --bs-btn-disabled-border-color: #0271a9;
}

/* Link -> Base */
a {
    color: #006699;
}

/* Link --> Hover */
a:hover {
    color: #0271a9;
}

/* *************************
Bubble
************************* */
/* Bubble -> Container absolute */
.custom__bubble--container-absolute {
    width: 100%;
}

    @media(min-width: 768px) {
        .custom__bubble--container-absolute {
            height: 0;
            padding-bottom: 100%;
            position: absolute;
            top: 0;
            left: 1rem;
            transform: translateY(-100%);
        }    
    }

    @media(min-width: 992px) {
        .custom__bubble--container-absolute {
            left: 2rem;
        }    
    }

/* Bubble -> Container relative */
.custom__bubble--container-relative {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
}

/* Bubble -> Title */
.custom__bubble--title {
    font-family: 'Caveat', cursive;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -75%);
    text-align: center;
    font-size: 4.5vw;
    line-height: 0.95;
}

    @media(min-width: 390px) {
        .custom__bubble--title {
            font-size: 5.75vw;
        }    
    }

    @media(min-width: 576px) {
        .custom__bubble--title {
            font-size: 1.55rem;
        }    
    }

    @media(min-width: 768px) {
        .custom__bubble--title {
            font-size: 1.20rem;
        }    
    }

    @media(min-width: 992px) {
        .custom__bubble--title {
            font-size: 1.60rem;
        }    
    }

    @media(min-width: 1200px) {
        .custom__bubble--title {
            font-size: 1.90rem;
        }    
    }

    @media(min-width: 1400px) {
        .custom__bubble--title {
            font-size: 2.20rem;
        }    
    }

/* Bubble -> SVG */
.custom__bubble--svg {
    width: 100%;
    height:100%;
    position: absolute;
    bottom: 0;
    left: 0;
    fill: #198754;
}

    @media(min-width: 768px) {
        .custom__bubble--svg {
            width: 100%;
            height:100%;
        } 
    }