@font-face {
    font-family: fs_elliot_proregular;
    src: url(../fonts/fselliotpro-webfont.woff2)format('woff2'),url(../fonts/fselliotpro-webfont.woff)format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: fs_elliot_probold;
    src: url(../fonts/fselliotpro-bold-webfont.woff2)format('woff2'),url(../fonts/fselliotpro-bold-webfont.woff)format('woff');
    font-weight: 400;
    font-style: normal;
}

:root {
    --font-main-regular: fs_elliot_proregular;
    --font-main-bold: fs_elliot_probold;
    --background-color: #c0c0c0;
    --main-color: #f0050a;
}



.cookies-wrapper .cookies-text-bold {
    font-family: var(--font-main-bold);
    font-weight: bold;
    display: block;
}

.cookies-wrapper .cookies-button-appearance {
    background-color: #d7181f;
    padding: 10px 25px;
    border: none;
    font-family: var(--font-main-bold);
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
    width: 290px;
    height: 40px;
    text-transform: uppercase;
}

.cookies-always-on {
    color: #0f8f00;
    font-size: 15px;
    font-family: var(--font-main-regular);
    margin-top: 10px;
    /*margin-bottom: 5px;*/
    display: inline-block;
    font-weight: 700;
}


.cookies-wrapper p {
    font-size: 15px;
}

.cookies-config-wrapper p {
    font-size: 15px;
}

#expand-button {
    position: absolute;
    z-index: 2;
    margin: 20px 10px;
}

/* codigo que estava em modo desktop */
.cookies-config-wrapper .cookies-text-bold {
    font-family: var(--font-main-bold);
    font-weight: bold;
    display: block;
    font-size: 16px;
}

.cookies-wrapper .cookies-text-bold {
    font-family: var(--font-main-bold);
    font-weight: bold;
    display: block;
    font-size: 16px;
}

.cookies-wrapper .cookies-text-link {
    font-size: 16px;
  
}

.cookies-config-wrapper .cookies-accept-button {
    background-color: #d7181f;
    padding: 10px 25px;
    border: none;
    font-family: var(--font-main-regular);
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
    width: 247px;
    /*height: 40px;*/
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
}

.cookies-wrapper,
.cookies-config-wrapper {
    font-family: var(--font-main-regular);
    z-index: 50010;
    color: #000;
}

.cookie-button-state {
    font-size: 15px;
    color: #000;
    font-family: var(--font-main-regular);
    font-weight: 700;
    user-select: none;
    padding-left: 8px;
}


.extra-bold {
    font-family: var(--font-main-bold);
}


/* tooltip quando se tem o rato em cima do cookie-blocker */
.cookies-blocker {
    text-decoration:none;
    position:relative;
}
.cookies-blocker+span {
    display:none;
    z-index: 5005;
}
.cookies-blocker:hover+span {
    display:block;
    position:fixed;
    overflow:hidden;
    color: white;
    font-size: 20px;
    opacity: 1;
    user-select: none;
}



/* underline no botão de configuracoa quando se clica no cookies-blcoker */
.cookies-configuration-animation {
	color: #666;	
}

.cookies-configuration-animation:after {
	position: absolute;
	
	content: '';
	height: 25px;
	width: 0px; 
	border-bottom: solid 3px #d7181f;
	transition: all 500ms ease-in-out;	
    opacity: 1;
    margin-left: -135px;
}

.cookies-configuration-animation.cookies-alert:after {
	width: 135px; 
}





/* MOBILE MODE */
@media (max-width: 1240px) {

    .cookies-wrapper {
        background-color: #eaeaea;
        overflow: hidden;
        /* transition: max-height .5s ease-out -.1s; */
        max-height: 1000px;
        width: 100%;
        /*position: absolute;*/
        position:fixed;
        float: left;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .cookies-config-wrapper {
        background-color: #eaeaea;
        overflow: hidden;
        transition: max-height 1.5s ease-in-out -.5s;
        max-height: 900px;
        /*position: absolute;*/
        position: fixed;
        float: left;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .cookies-wrapper .content-main {
        padding: 30px 25px;
    }

    .cookies-config-wrapper .content-main {
        padding: 30px 25px;
    }

    .cookies-wrapper .first-collapsible {
        display: none;
    }

    .cookies-accept-button {
        display: block;
        margin: 20px auto;
        cursor: pointer;
    }

    .cookies-configuration-button {
        display: block;
        cursor: pointer;
        width: max-content;
        margin: 0 auto;
    }

    .cookies-configuration-button .cookies-configuration-animation {
        text-decoration: 1px underline red;
    }


    /* codigo de teste */
    .cookies-wrapper .cookies-configuration-button {
        color: #666;
        display: block;
        margin: 0 auto;
        text-transform: uppercase;
    
        text-decoration: none;
    }
    
    .cookies-wrapper .cookies-configuration-button:after {
        display: block;
        content: '';
        border-bottom: solid 2px red;
        transform: scaleX(0);
        transition: transform 250ms ease-in-out;
    
        width: 0;
        height: 2px;
        background: #000;
        transition: width .3s;
    }
    
    .cookies-wrapper .cookies-configuration-button.after {
        width: 100%;
    }


    .cookies-text-link {
        text-decoration: none;
        color: var(--main-color);
    }

        .cookies-text-link:hover, .cookies-text-link:focus {
            text-decoration: none;
            color: var(--main-color);
        }

    .cookies-text-bold {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .cookies-blocker {
        width: 100%;
        height: 100%;
        background-color: #000;
        opacity: .6;
        position: fixed;
        z-index: 5000;
        overflow: hidden;
        top: 0;
        left: 0;
    }

    .cookies-config-wrapper .cookies-text-bold {
        font-family: var(--font-main-bold);
        font-weight: bold;
        display: inline;
        transition: .5s ease-in-out;
    }

    /* BOTAO TOGGLE PARA A ULTIMA VERSAO */
    .cookies-config-wrapper .toggle {
        display: inline-block;
        float: right;
        width: 115px;
        margin-top: -5px;
    }

    .cookies-always-on {
        display: inline-block;
        float: right;
        width: 115px;
        margin-top: 0px;
        margin-bottom: 0px;
    }


    .cookies-config-wrapper .toggle label.toggle-button-ball {
        position: relative;
        display: inline-block;
        width: 39px;
        height: 19px;
        background-color: #a8a9ad;
        border-radius: 50px;
        transition: all 0.3s ease-in-out;
        cursor: pointer;
        box-shadow: inset 0 0 2px 1px rgba(0, 0, 0, 0.1);
        -webkit-tap-highlight-color: transparent;
        top: 5px;
    }

    .cookies-config-wrapper .toggle label.toggle-button-ball:before {
        content: "";
        position: absolute;
        top: 2px;
        left: 3px;
        height: 15px;
        width: 15px;
        background-color: #fff;
        border-radius: 46px;
        box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
        transition: box-shadow 0.3s ease-in-out;
        animation: moveLeft 0.3s ease-in-out;
    }

    .cookies-config-wrapper .toggle input {
        display: none;
    }

    .cookies-config-wrapper .toggle input:checked+label.toggle-button-ball {
        background-color: #0f8f00;
    }

    .cookies-config-wrapper .toggle input:checked~label.cookie-button-state {
        color: #0f8f00 !important;
    }

    .cookies-config-wrapper .toggle input:checked+label.toggle-button-ball:before {
        transform: translateX(18px);
        box-shadow: -1px -1px 5px rgba(0, 0, 0, 0.1);
        animation: moveRight 0.3s ease-in-out;
    }

    @keyframes moveRight {
        0% {
            width: 15px;
            transform: translateX(0);
        }

        50% {
            width: 21px;
        }

        100% {
            width: 15px;
            transform: translateX(18px);
        }
    }

    @keyframes moveLeft {
        0% {
            width: 15px;
            transform: translateX(18px);
        }

        50% {
            width: 21px;
        }

        100% {
            width: 15px;
            transform: translateX(0);
        }
    }

    .cookies-config-wrapper .content {
        max-height: 0;
        overflow: hidden;
        transition: .5s ease-in-out;
        width: 100%;
    }

    .cookies-config-wrapper .active .content {
        max-height: 1000px !important;
    }

    .cookies-config-wrapper .cookies-accept-button {
        margin: 30px auto 0px auto;
        height:auto;
    }


    .cookies-config-wrapper .technical-cookies,
    .statistical-cookies,
    .preferencial-cookies,
    .marketing-cookies {
        padding: 15px 0;
    }

    .cookies-config-wrapper .cookies-text-inform {
        margin-bottom: 10px;
    }

    .cookies-config-wrapper .active {
        background-color: #333;
        margin-left: -25px;
        margin-right: -25px;
        padding-left: 25px;
        padding-right: 25px;
        transition: background-color .5s ease-in-out;
    }

    .cookies-config-wrapper .active {
        color: white;
        transition: color .1s ease-in-out;
    }

    .cookies-config-wrapper .fa-times {
        transition: .5s ease-out;
        transform: rotate(400deg);
    }

    .cookies-config-wrapper .fa {
        transition: .5s ease-out;
        font-size: 15px;
    }

    .cookie-button-state {
        color: #a8a9ad !important;
    }

    .cookies-text-specific {
        padding: 13px 20px 5px 20px;
    }

    .cookies-config-wrapper .content-main i~.cookies-text-bold {
        padding-left: 5px;
    }
}


/* DESKTOP MODE */
@media (min-width: 1239px) {
    .cookies-wrapper .content-main {
        display: grid;
        grid-template-rows: 70px 50px;
        grid-template-columns: 1fr 890px 290px 1fr;
        grid-column-gap: 25px;
        grid-row-gap: 10px;
    }

    .cookies-wrapper {
        overflow: hidden;
        height: auto;
        max-height: 600px;
        width: 100%;
        background-color: #eaeaea;
        position: fixed;
        float: left;
        bottom: 0;
        left: 0;
        right: 0;
        /* transition: 1s ease-out; */
        max-height: 1000px;
    }

    .cookies-wrapper .cookies-text-inform {
        grid-area: 1 / 2 / 3 / 3;
        align-self: center;
    }

        .cookies-wrapper .cookies-accept-button {
            grid-area: 1 / 3 / 2 / 4;
            align-self: end;
            margin-left: auto;
            margin-right: auto;
            cursor: pointer;
            text-transform: uppercase;
        }

    .cookies-wrapper .cookies-configuration-button {
        grid-area: 2 / 3 / 3 / 4;
        align-self: start;
        margin: 10px auto 0 auto;
        cursor: pointer;
    }

    .cookies-wrapper .collapsible {
        color: black;
        cursor: pointer;
        padding: 15px 25px 10px 0px;
        width: 100%;
        border: none;
        text-align: left;
        outline: none;
        font-size: .75rem;
        font-weight: bold;
        background-color: #eaeaea;
        max-height: 85px;
    }

    .cookies-text-link {
        text-decoration: none;
        color: var(--main-color);
    }

        .cookies-text-link:hover, .cookies-text-link:focus {
            text-decoration: none;
            color: var(--main-color);
        }

    .cookies-wrapper .cookies-text-specific {
        margin-top: 0px;
    }


    .cookies-wrapper .technical-cookies .collapsible {
        padding-bottom: 56px;
    }

    .cookies-wrapper .cookies-minimize-button {
        position: absolute;
        right: 10px;
        top: 10px;
        font-size: .8em;
    }

    .cookies-maximize-button {
        position: sticky;
        left: 10px;
        bottom: -2px;
        font-size: .9rem;
    }

    .cookies-wrapper .first-collapsible {
        display: none;
    }

    .cookies-wrapper .cookies-control-button {
        cursor: pointer;
    }

    .cookies-wrapper .fa-window-minimize.cookies-control-button {
        padding: 2px;
        margin-top: 5px;
        margin-right: 10px;
        text-align: right;
        grid-area: 1 / 4 / 2 / 5;
        position: absolute;
        right: 5px;
    }

    .cookies-config-wrapper .content-main {
        display: grid;
        grid-template-rows: 100px 200px;
        grid-template-columns: 1fr repeat(5, 200px) 1fr;
        grid-column-gap: 25px;
        row-gap: 10px;
    }


    .cookies-config-wrapper .cookies-text-inform {
        grid-area: 1 / 2 / 2 / 7;
        margin: 35px 0 15px 0;
    }

    .cookies-config-wrapper .first-collapsible {
        visibility: hidden;
    }

    .cookies-config-wrapper .technical-cookies {
        grid-area: 2 / 2 / 3 / 3;
    }

    .cookies-config-wrapper .statistical-cookies {
        grid-area: 2 / 3 / 3 / 4;
    }

    .cookies-config-wrapper .preferencial-cookies {
        grid-area: 2 / 4 / 3 / 5;
    }

    .cookies-config-wrapper .marketing-cookies {
        grid-area: 2 / 5 / 3 / 6;
    }

    .cookies-config-wrapper {
        width: 100%;
        background-color: #eaeaea;
        position: fixed;
        float: left;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 1000px;
        transition: 1s ease-in-out -.5s;
        overflow: hidden;
    }

    .cookies-config-wrapper .cookies-config-accept {
        grid-area: 2 / 6 / 3 / 8;
    }


    .cookies-config-wrapper .cookies-text-specific {
        margin-top: 10px;
        font-size: 14px;
    }

    /*.technical-cookies .cookies-text-specific {
        margin-top: 15px;
    }*/




    /* BOTAO TOGGLE PARA A ULTIMA VERSAO */
    .cookies-config-wrapper .toggle {
        margin-top: 5px;
    }

    .cookies-config-wrapper .toggle label.toggle-button-ball {
        position: relative;
        display: inline-block;
        width: 39px;
        height: 19px;
        background-color: #a8a9ad;
        border-radius: 50px;
        transition: all 0.3s ease-in-out;
        cursor: pointer;
        box-shadow: inset 0 0 2px 1px rgba(0, 0, 0, 0.1);
        -webkit-tap-highlight-color: transparent;
        top: 5px;
    }

    .cookies-config-wrapper .toggle label.toggle-button-ball:before {
        content: "";
        position: absolute;
        top: 2px;
        left: 3px;
        height: 15px;
        width: 15px;
        background-color: #fff;
        border-radius: 46px;
        box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
        transition: box-shadow 0.3s ease-in-out;
        animation: moveLeft 0.3s ease-in-out;
    }

    .cookies-config-wrapper .toggle input {
        display: none;
    }

    .cookies-config-wrapper .toggle input:checked+label.toggle-button-ball {
        background-color: #0f8f00;
        /* top: 5px; */
    }

    .cookies-config-wrapper .toggle input:checked~label.cookie-button-state {
        color: #0f8f00 !important;
    }

    .cookies-config-wrapper .toggle input:checked+label.toggle-button-ball:before {
        transform: translateX(18px);
        box-shadow: -1px -1px 5px rgba(0, 0, 0, 0.1);
        animation: moveRight 0.3s ease-in-out;
    }

    @keyframes moveRight {
        0% {
            width: 15px;
            transform: translateX(0);
        }

        50% {
            width: 21px;
        }

        100% {
            width: 15px;
            transform: translateX(18px);
        }
    }

    @keyframes moveLeft {
        0% {
            width: 15px;
            transform: translateX(18px);
        }

        50% {
            width: 21px;
        }

        100% {
            width: 15px;
            transform: translateX(0);
        }
    }

    .cookies-blocker {
        width: 100%;
        height: 100%;
        background-color: #000;
        opacity: .6;
        position: fixed;
        z-index: 5000;
        overflow: hidden;
        top: 0;
        left: 0;
    }

    .cookies-config-wrapper .fa {
        display: none;
    }

    .cookies-wrapper .fa {
        display: none;
    }
}

/* fim da media querie de desktop */

/* codigo para todos os pontos */
/* codigo para a parte de configurar as cookies */
.hide {
    max-height: 0!important;
    overflow: hidden!important;
}