/*Message*/
#cookies[open]{
    align-items:center;
    background:none;
    border:none;
    display:flex;
    height:100%;
    max-height:none;
    max-width:none;
}

    #cookies .content{
        display:flex;
        gap:24px;
        margin:0 auto;
        max-width:1120px;
        padding:40px;
        width:100%;
        flex-direction: column;
        background-color: #FFF;
        max-width: 400px;
        width: 100%;
        box-sizing: border-box;
    }

    #cookies .content h4{
        font: 600 24px/32px Cartero, sans-serif;
        margin-bottom: 0;
    }

        #cookies p{
            color:#686664;
            flex:1;
            font: normal 16px/22px Cartero, sans-serif;
            margin:0;
        }

            #cookies p a{
                color:#002E6D;
                font-weight:600;
                outline:none;
            }

        #cookies ul{
            display:flex;
            gap:14px;
            flex-direction: column;
            margin-top: 8px;
        }

            #cookies ul button{
                background-color: #FFCD00;
                border:1px solid #FFCD00;
                border-radius:8px;
                color:#002E6D;
                cursor:pointer;
                font: 600 18px/20px Cartero, sans-serif;
                height: 60px;
                outline:1px solid #FFCD00;
                padding:8px 16px;
                width: 100%;
            }

            #cookies ul button.btn-configure{
                border-color:#002E6D;
                background-color: transparent;
                color: #002E6D;
                outline:1px solid #002E6D;
            }

    #cookies::backdrop{
        background-color: rgba(0, 0, 0, .7);
    }

@media only screen and (max-width: 768px) {

    #cookies[open]{
        display:flex;
        padding: 0px;
        align-items: end;
    }

        #cookies .content{
            flex-direction:column;
            gap:20px;
            margin:unset;
            max-width:unset;
            border-radius: 16px 16px 0 0;
            padding: 24px;
        }

        #cookies .content h4 {
            font-size: 20px;
            line-height: 26px;
            margin-bottom: 0;
        }

            #cookies p{
                text-align:left;
            }

            #cookies ul{
                flex-direction:column;
                width:100%;
            }

                #cookies ul li{
                    width:100%;
                }

                    #cookies ul button{
                        width:100%;
                        height: 50px;
                        font: 600 16px/20px Cartero, sans-serif;
                    }

                #cookies ul li:has(button.btn-configure){
                    order:3;
                }

}
/*Fin - Message*/

/*Popup*/
body:has(#cookies-config[open]){
    overflow: hidden;
}

#cookies-config{
    border:none;
    height: 100%;
    max-width:608px;
    width: 100%;
}

    #cookies-config form{
        background-color: #FFF;
        box-sizing: border-box;
        padding:40px 40px 24px;
        width: 100%;
    }

        #cookies-config .btn-close-config{
            background:url(../../img/cookies-gdpr/close.svg) no-repeat center center transparent;
            right:38px;
            top:44px;
            background-size: 100% auto;
            border:none;
            cursor: pointer;
            height: 24px;
            position: absolute;
            width: 24px;
        }

        #cookies-form h5{
            font: 26px/28px Cartero, sans-serif;
            margin: 0 0 24px 0;
        }

        #cookies-config .body-2{
            font: 16px/18px Cartero, sans-serif;
            margin-bottom:32px;
        }

            #cookies-config .body-2 a{
                color:#002E6D;
            }

        .cookies-img{
            width: 144px;
            height: 144px;
            margin: 0 auto;
        }

        #cookies-config form fieldset > ul{
            margin:32px 0 40px;
        }

            #cookies-config form li:not(:last-child){
                margin-bottom:24px;
            }

                #cookies-config form input{
                    left:0;
                    opacity:0;
                    position: absolute;
                }

                #cookies-config form label{
                    background:url(../../img/cookies-gdpr/chk-unselected.svg) no-repeat center left;
                    background-size:20px;
                    color:#2C2B2B;
                    cursor: pointer;
                    font: 18px/26px Cartero, sans-serif;
                    margin-bottom:8px;
                    padding-left:40px;
                }

                #cookies-config form input:checked + label{
                    background-image:url(../../img/cookies-gdpr/chk-selected.svg)
                }

                #cookies-config form input[disabled] + label{
                    background-image:url(../../img/cookies-gdpr/chk-disabled.svg);
                }

                #cookies-config form small{
                    box-sizing: border-box;
                    color:#686664;
                    display: block;
                    font: 14px/20px Cartero, sans-serif;
                    padding-left:40px;
                }

        #cookies-config form footer{
            padding-top:32px;
            width: 100%;
        }

            #cookies-config form footer ul{
                display:flex;
                font-size: 0;
            }

                #cookies-config form footer li{
                    display: inline-block;
                    width: 50%;
                }

                    #cookies-config form fieldset button{
                        border:none;
                        border-radius:8px;
                        font: 18px/26px Cartero, sans-serif;
                        cursor: pointer;
                        padding:16px 24px;
                        width: 100%;
                    }

                    #cookies-config form .btn-mark-all{
                        background: transparent;
                        color:#002E6D;
                    }

                    #cookies-config form .btn-mark-all[disabled]{
                        color:#AAAAA7;
                    }

                    #cookies-config form footer li button[type="submit"]{
                        background-color: #FFCD00;
                        color:#002E6D;
                    }

#cookies-config::backdrop{
    background-color: rgba(0, 0, 0, .7);
}

/*Fin - Popup*/



@media only screen and (max-width: 425px) {

    #cookies-config form label{
        font-size:16px;
    }

}

@media only screen and (max-width: 600px) {

    #cookies-config form .inputs-wrap{
        height: calc(100vh - 295px);
    }

}

@media only screen and (max-width: 768px) {

    #cookies-config{
        max-height:none;
        max-width:none;
        padding: 0;
    }

    #cookies-config form{
        overflow:hidden;
        padding:16px;
    }

    #cookies-form h5{
        font-size: 24px;
        line-height: 32px;
        margin: 0 0 24px 0;
    }

        #cookies-config form .btn-close-config{
            right:16px;
            top:20px;
        }

        #cookies-config form .inputs-wrap{
            height: calc(100vh - 250px);
            overflow: auto;
        }

        #cookies-config form footer{
        }

            #cookies-config form footer .desktop{
                display: none;
            }

            #cookies-config form footer li{
                width: 100%;
            }

                #cookies-config form footer li button{
                    width: 100%;
                }

}
