body{
    background-color: rgb(253, 253, 120);
    background-image: url('/resource/image/association-152746_640.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100%;  
    padding-bottom: 120px;  
}

.topbar-wrapper {
    position: fixed;
    top: 5px;
    left: 5px;
    right: 5px;
    z-index: 1030;
}

.rounded-navbar {
    border-radius: 10px;
    background-color: rgb(243, 201, 109);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.floating-footer{
    position: fixed;

    bottom: 5px;
    left: 5px;
    right: 5px;

    border-radius: 10px;

    background-color: rgb(243, 201, 109);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);

    z-index: 1030;
}

.user-dropdown {
    background-color: white;
    /* width */
    min-width: 420px;
    /* optional max width */
    max-width: 520px;
    /* nicer padding */
    padding: 15px;
    border-radius:12px;
}

.text-half {
    font-size: 0.75rem;
    line-height: 0.75rem;
}

.admin-panel {
    width: clamp(260px, 18vw, 320px);
}

@media (min-width: 768px) {
    .admin-panel {
        width: 35%;
    }
}

@media (min-width: 992px) {
    .admin-panel {
        width: 25%;
    }
}

@media (min-width: 1200px) {
    .admin-panel {
        width: 15%;
    }
}

.admin-panel {
    margin: 10px;                 /* gap around panel */
    height: calc(100% - 20px);    /* keep bottom gap */
    border-radius: 12px;          /* rounded corners */
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    border: none;
}

/* make header corners rounded */
.admin-panel .offcanvas-header {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* make body corners rounded */
.admin-panel .offcanvas-body {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}


/*Small mobile size footer*/

/* mobile footer row */
.footer-mobile-row{
    padding-top:8px;
    padding-bottom:2px;
}

/* center content inside bootstrap columns */
.footer .col-auto{
    display:flex;
    align-items:center;
}

/* normalize icon boxes */
.payment-icon{
    height:1.1rem;
    width:auto;
    display:block;
    object-fit:contain;
}

/* adjust some logos that visually look smaller */
.mobilepay{ height:0.85rem; }
.visa{ height:0.45rem; }
.mastercard{ height:0.85rem; }
.visa-electron{height:0.65rem; }
.maestro{ height:0.85rem; }

/* company button */
.footer-company-btn{
    display:flex;
    position:relative;
    align-items:center;
    gap:0.3rem;
    padding:0.05rem 0.35rem;
    line-height:1;
    top:1px;
}

.footer-company-btn img{
    height:1rem;
}

/* Large mobilphone screen*/
@media (min-width: 768px){

    /* mobile footer row */
.footer-mobile-row{
    padding-top:8px;
    padding-bottom:2px;
}

/* center content inside bootstrap columns */
.footer .col-auto{
    display:flex;
    align-items:center;
}

/* normalize icon boxes */
.payment-icon{
    height:1.1rem;
    width:auto;
    display:block;
    object-fit:contain;
}

/* adjust some logos that visually look smaller */
.mobilepay{ height:1.25rem; }
.visa{ height:1.0rem; }
.mastercard{ height:1.25rem; }
.visa-electron{height:1.10rem; }
.maestro{ height:1.15rem; }



/* company button */
.footer-company-btn{
    display:flex;
    position:relative;
    align-items:center;
    gap:0.3rem;
    padding:0.05rem 0.35rem;
    line-height:1;
    top:1px;
}

.footer-company-btn img{
    height:1rem;
}


}

/* only apply on desktop */
@media (min-width: 992px){

    .footer{
        padding-top:4px !important;
        padding-bottom:4px !important;
    }

    .footer .payment-label{
        white-space: nowrap;
        text-align: center;
        display: block;
        font-size:0.7rem;
    }

    .footer p{
        margin:0;
        line-height:1.2;
    }

    /* default payment icon size */
    .payment-icon-desktop{
        height:1.8rem;
        width:auto;
    }

    /* Visa logos are visually too large */
    img[src*="Visa_Logo"]{
        height:0.8rem;
    }

    img[src*="Visa_Electron"]{
        height:1rem;
    }
    
 }

.input-group > .form-control.rounded-end {
    border-top-right-radius: .375rem !important;
    border-bottom-right-radius: .375rem !important;
}

