﻿#buttons-cookie-policy {
    text-align: right;
}

.link-cookie-policy {
    display: none;
}

.banner-popup-hidden {
    display: none;
}


#link-cookie-policy {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    bottom: 90px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    padding: 10px 16px 10px 10px;
    position: fixed;
    z-index: 9876;
}

    #link-cookie-policy:before {
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
    }


.o-btn-accordion {
    text-transform: none;
    color: #006B89;
    font-size: 20px;
}

.col-md-2 {
  /*  width: 20%;*/
    float: left;
}

.col-md-10 {
    width: 80%;
    float: left;
}

#custom_page-body #custom_page-content .FullWidth {
    width: 100%;
}

/*input.o-cta-reject:hover, .c-cta-header-choice, .c-cta-footer-choice{
	    background-color: #006f34;
	    color: #fff;
	}*/

.container .article-content H4 {
    font-size: 20px;
}

.o-btn-accordion:hover, .o-btn-accordion:hover:after {
    color: #006B89;
}

.o-btn-accordion.is-open:after {
    content: '';
    color: #222222 !important;
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate( 180deg);
    transform: rotate( 180deg);
}

button {
    background-color: #999;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    padding: 5px;
}
/*Content page con Accordion*/
.l-accordion-content {
    display: none;
}

.l-accordion-content {
    padding-right: 60px;
}

.o-btn-accordion {
    margin: 15px auto;
}

    .o-btn-accordion:after {
        content: '';
        float: right;
        border-top: 10px dashed;
        border-top: 10px solid \9;
        border-right: 10px solid transparent;
        border-left: 10px solid transparent;
        color: #777;
        float: right;
        margin-top: 5px;
        -moz-transition-duration: 800ms;
        -webkit-transition-duration: 800ms;
        transition-duration: 800ms;
        cursor: pointer;
    }

    .o-btn-accordion.is-open:after {
        /* content: ''; */
        /* color: #222222 !important; */
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        /* -webkit-transform: rotate(180deg); */
        /* transform: rotate(180deg); */
    }


#pulsanteX {
    position: absolute;
    top: 0;
    right: 15px;
    cursor: pointer;
    border: 7px solid #006B89;
    border-radius: 100%;
    background-color: #ffffff;
}

    #pulsanteX:hover {
        background-color: #006B89;
    }

    /* #pulsanteX:after{
		content: "\2716";
		position: absolute;
		font-size: 16pt;
		color:#777;
		top: 7px;
	    left: 9px;
	} */

    #pulsanteX:before {
        position: absolute;
        content: '';
        width: 4px;
        height: 20px;
        top: 17px;
        left: 17px;
        background-color: #777;
        border: 0;
        -webkit-transform: translate(-50%, -50%) rotate( 45deg);
        -ms-transform: translate(-50%, -50%) rotate(45deg);
        transform: translate(-50%, -50%) rotate( 45deg);
    }

    #pulsanteX:after {
        position: absolute;
        content: '';
        width: 4px;
        height: 20px;
        top: 17px;
        left: 17px;
        background-color: #006B89;
        -webkit-transform: translate(-50%, -50%) rotate( -45deg);
        -ms-transform: translate(-50%, -50%) rotate(-45deg);
        transform: translate(-50%, -50%) rotate( -45deg);
    }

    #pulsanteX:hover:before, #pulsanteX:hover:after {
        background-color: #ffffff;
    }

    #pulsanteX input {
        margin: 0px;
        border-radius: 100%;
        border: none;
        width: 35px;
        height: 35px;
        background: transparent;
        color: #ffffff;
        cursor: pointer;
        font-size: 0;
    }

#bannercookieoverlay {
    z-index: 9998;
    background-color: #0007;
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.c-cookie-button {
    position: fixed;
    background-color: #777;
    bottom: 0;
    left: 20px;
    color: #ffffff;
    text-align: center;
    padding: 15px;
    z-index: 400;
    cursor: pointer;
    font-size: 24px;
    transition: all .3s;
}

    .c-cookie-button:hover {
        bottom: 15px;
    }

    .c-cookie-button:after {
        content: '';
        position: absolute;
        border-left: 16px solid transparent;
        border-right: 16px solid transparent;
        border-top: 8px solid #777;
        left: 50%;
        top: 100%;
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0%);
        z-index: 10;
    }

#bannercookie {
    z-index: 999;
    width: 100%;
    margin: 0 auto;
    position: fixed;
    top: auto;
    right: 0;
    left: 0;
    background-color: #fff;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: clip;
    bottom: 0;
}

    #bannercookie br {
        line-height: 0px;
    }

    #bannercookie .c-cookie-title {
        font-size: 24px;
        font-weight: 400;
        text-align: center;
        background-color: #006B89;
        color: #ffffff;
        padding: 10px 0;
    }

.c-cookie-title h4 {
    display: inline-block;
    margin-top: 0px;
}

#bannercookie .c-cookie-title:after {
    content: '';
    position: absolute;
    border-left: 32px solid transparent;
    border-right: 32px solid transparent;
    border-top: 16px solid #006B89;
    left: 50%;
    top: 43px;
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    z-index: 10;
}

#bannercookie .c-cookie-text {
    font-size: 15px;
    line-height: 26px;
    font-weight: 300;
    text-align: justify;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 1em;
    padding: 0 20px;
    color: #222;
}

#ctacookie {
    margin: 2em 0;
    text-align: center;
}
/*
	.o-cta-accept, .o-cta-reject, .o-cta-save, #ctacookie input[type=button] {
		font-weight: bold;
		font-size: 14px;
		letter-spacing: 0px;
		color: #777; 
		text-transform: uppercase;
		text-align: center;
		width: 200px;
		height: 50px;
		border-radius: 0;
		cursor: pointer;
	}
	*/

.c-informativa-cookie {
    background-color: #ffffff;
    border: 2px solid #777;
    color: #777;
}

#ctacookie .c-informativa-cookie:hover {
    background-color: #006B89;
    color: #ffffff;
}

.o-cta-accept.alta, input[type=button].o-cta-save.alta {
    padding: 12px 50px;
}

#btnAccettaTuttiCookiePage.o-cta-accept {padding-top: 10px !important ;padding-bottom: 10px !important;}

.o-cta-accept {
    background-color: #006f34;
    background-image: linear-gradient(270deg, #008766 0%, #006f34 100%);
    border: 0;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .1);
    color: #fff !important;
    display: inline-block;
    font-size: 1rem !important;
    font-weight: 700;
    padding: 0.5rem 1rem !important;
    position: relative;
    text-decoration: none;
    z-index: 0;
}

#btnAccettaTuttiCookiePage {width: 250px;}
#btnSalvaPreferenzeCookiePage {width: 250px;}

input[type=button].o-cta-save {
    background-color: #fff;
    border: 3px solid #006f34;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .1);
    color: #006f34;
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: background-color .3s, border .3s, color .3s;
}

input[type=button].o-cta-accept.alta:hover, input[type=button].o-cta-accept.alta:focus {
    color: #fff;
    outline: 0;
    text-decoration: none;
    background-color: #00491f;
    background-image: linear-gradient(90deg, #00491f, #006d52);
}

input[type=button].o-cta-save.alta:hover, input[type=button].o-cta-save.alta:focus {
    background-color: #e9eaeb;
    border: 3px solid #00491f;
    color: #00491f;
    outline: 0;
    text-decoration: none;
}

/*.c-cta-footer-choice .o-cta-reject:hover {
		background-color: #006B89;
		color: #ffffff;
	}*/



/*CLASSE Per identitario 2019-2021*/

.c-button-cookie {
    background-color: #006B89;
    border: 2px solid #006B89;
}

/*fine Per identitario 2019-2021*/

.l-cta-cookie {
    display: inline-block;
}

input[type=button].c-button-cookie {
    background-color: #006B89;
    border: 2px solid #006B89;
    color: #ffffff;
}

    input[type=button].c-button-cookie:hover {
        background-color: #ffffff;
        border: 2px solid #006B89;
        color: #006B89;
    }

#btnAcceptTechincal {
    margin: 0 3em;
}

/*PAGINA COOKIE.ASP*/

input[type=button][disabled].o-cta-save.alta {
    background-color: #fff;
    border: 3px solid #E9EAEB;
    box-shadow: none;
    color: #B6B9BB;
    cursor: default;
}

.c-cookie-title > span {
    font-size: 20pt;
    color: #777;
}

.c-cookie-title > .o-cookie-status.tecnici {
    background-color: #006B89;
    color: white;
    font-size: 12pt;
    font-weight: 300;
    padding: 0 10px;
    border-radius: 20px;
    float: right;
    text-transform: uppercase;
    margin-top: 24px;
}

/*CONSENSO PROFILAZIONE GENERALI*/
.c-cookie-title h4#lblCookieProfilazione {
    margin-top: 8px;
}

.c-cookie-title > .o-cookie-status.profilazione {
    position: relative;
    color: #aaa;
    font-size: 12pt;
    font-weight: 400;
    line-height: 14pt;
    padding: 0px;
    float: right;
    display: inline-block;
    width: 35px;
    height: 22px;
    cursor: pointer;
    background-image: url('/Style%20Library/Images/All_Layouts_Images/toggle.svg');
    background-size: 34px;
    background-repeat: no-repeat;
    background-position: 0 0;
    /* margin-top: 35px; */
}

    .c-cookie-title > .o-cookie-status.profilazione input {
        visibility: hidden;
    }

    /*NO CONSENSO PROFILAZIONE*/

    .c-cookie-title > .o-cookie-status.profilazione:before {
        content: "Disattivi";
        margin-left: -5em;
        vertical-align: middle;
    }

    /*SI CONSENSO PROFILAZIONE*/

    .c-cookie-title > .o-cookie-status.profilazione.checked {
        background-position: 0 97%;
        filter: hue-rotate(319deg);
        -webkit-filter: hue-rotate(319deg)
    }

        .c-cookie-title > .o-cookie-status.profilazione.checked:before {
            content: "Attivi";
            margin-left: -3.5em;
            color: #006B89;
        }

/*TABELLE COOKIE
	
	#o-cookie-date-agreement {
		font-style: italic;
		margin-bottom: 1em;
	}
	
	#o-cookie-date-agreement b {
		font-weight: 500;
	}
	
	.c-cookie-table {
		width: 100%;
		font-size: 12pt;
		border-collapse: collapse;
		margin-top: 1em;
	}
	
	.c-cookie-table td {
		border-top: 1px solid #006B89;
		border-bottom: 1px solid #006B89;
		vertical-align: top;
		padding: .25em;
	}
	
	.c-cookie-table th {
		text-transform: UPPERCASE;
		color: #777;
		font-size: 11pt;
	}
	
	.c-cookie-table th, .c-cookie-table td {
		padding: 15px;
	}
	.c-cookie-table tr th:nth-child(1), .c-cookie-table tr th:nth-child(3) {
	    min-width: 150px;
	}
	.c-cookie-table tr th:nth-child(2) {
		min-width: 300px;
	}
	.c-cookie-table tr th:last-child {
		min-width: 120px;
	}*/



/* COOKIE CTA */

.c-cta-header-choice {
    float: right;
}

    .c-cta-header-choice input {
        margin-left: 2em;
    }

/*.c-last-update {
    height: 60px;
}*/

.c-cta-footer {
    text-align: center;
    margin-top: 3em;
}

.c-cta-footer-choice {
    margin-top: 1em;
}

    .c-cta-footer-choice input {
        margin: 0 3em;
    }

/* AGGIUSTAMENTI ACCORDION*/

.container .c-main-content h3 {
    font-size: 24px;
    text-transform: none;
}

.o-btn-accordion {
    border-bottom: 2px solid #006B89;
    padding: .5em;
}

    .o-btn-accordion.is-open {
        border-bottom-color: #006B89;
        color: #006B89;
    }

.l-accordion-content {
    margin: 1em;
    text-align: justify;
}

    .l-accordion-content ol li:before {
        display: none;
    }

    .l-accordion-content ol li {
        list-style: number;
    }


.o-cookie-link {
    text-align: center
}

    .o-cookie-link > a > img {
        width: 26px;
    }

a#hInfoPrivacy {
    color: #32638B;
    _border-bottom: 1px solid #32638B;
}

.c-cookie-title h3 {
    color: #003594;
    font-weight: 500;
}

a#hInfoPrivacy:hover {
    color: #006B89;
    border-color: #006B89;
}

@media (max-width: 823px) {
    /* .c-cookie-table tr th:first-child, .c-cookie-table tr th:nth-child(3) {
			width: 100%;
		} */
    .c-cookie-table-wrapper {
        overflow-x: scroll;
        width: 100%;
    }

    .c-cta-header-choice {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }

    .c-cookie-title h4 {
        display: inline-block;
    }

    .c-cta-header-choice input {
        margin-left: 0;
        margin-bottom: 1em;
    }

    .c-cookie-title > .o-cookie-status.tecnici {
        margin-top: 15px;
    }

    .c-cta-footer-choice input {
        margin-bottom: 1em;
    }

    #bannercookie {
        bottom: 20%;
    }

        #bannercookie .c-cookie-text {
            padding: 0 20px;
            max-height: 40vh;
            overflow-y: auto;
            position: relative;
            margin-top: 20px;
            padding-bottom: 50px;
        }

    #ctacookie input[type='button'] {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    #bannercookie {
        bottom: 0;
    }

    .o-cta-accept, .o-cta-reject, .o-cta-save, #ctacookie input[type=button] {
        width: 250px;
    }
}
