/*fix pixel shinystat*/
body>a:first-child>img{display:none;}

.scw-cookie *{ margin:0; padding:0; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;}

body.scw-cookie-in {
    margin-bottom: 70px !important;
}

.scw-cookie-panel-toggle,
.scw-cookie-settings,
.scw-cookie-policy,
.scw-cookie-btn,
.scw-cookie-settings .icon,
.scw-cookie-switch {
    transition: all .3s ease;
}

.scw-cookie .icon {
    background-image: url(icons.png);
    background-repeat: no-repeat;
    background-size: auto 100%;
    height: 25px;
    width: 25px;
    display: inline-block;
}

.scw-cookie .icon.icon-cookie   { background-position: 0 0;     }
.scw-cookie .icon.icon-policy   { background-position: -25px 0; }
.scw-cookie .icon.icon-settings { background-position: -50px 0; }

.scw-cookie-panel-toggle {
    background: inherit;
    border-top: solid 3px #FFFFFF;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    transform: translateY(-100%);
}

.scw-cookie-panel-toggle-label{
    background: #2D3436;
    float: left;
    height: 20px;
    line-height: 25px;
    margin-right: 0;
    opacity: 0;
    overflow: hidden;
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
    visibility: hidden;
    width: 0;
}

.scw-cookie-panel-toggle:hover .scw-cookie-panel-toggle-label {
    opacity: 1;
    visibility: visible;
    margin-right: 10px;
    width: 140px;
}

/*.scw-cookie-panel-toggle::before {
    background: #2D3436;
    content: 'Turn cookies on / off';
    float: left;
    height: 20px;
    line-height: 25px;
    margin-right: 0;
    opacity: 0;
    overflow: hidden;
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
    visibility: hidden;
    width: 0;
}
.scw-cookie-panel-toggle:hover::before {
    opacity: 1;
    visibility: visible;
    margin-right: 10px;
    width: 140px;
}*/
.scw-cookie-panel-toggle-left   { left: 10px; }
.scw-cookie-panel-toggle-center { left: calc(50% - 22.5px); }
.scw-cookie-panel-toggle-right  { right: 10px; }
.scw-cookie-panel-toggle:hover {
    border-top-color: #20BF6B;
}
.scw-cookie {
    background: #2D3436;
    bottom: 0;
    color: #FFFFFF;
    font-family: Arial;
    font-size: 14px;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 9999999999;
}
.scw-cookie:not(.scw-cookie-out) {
    animation: slideIn .5s ease-in-out;
}
.scw-cookie.scw-cookie-out {
    transform: translateY(100%);
}
.scw-cookie.scw-cookie-slide-out {
    animation: slideOut .5s ease-in-out;
    transform: translateY(100%);
}
.scw-cookie-content {
    margin: 0 auto;
    max-width: calc(100% - 40px);
    padding: 20px;
    width: 1170px;
}
.scw-cookie-content::after {
    clear: both;
    content: '';
    display: block;
}
.scw-cookie-message {
    float: left;
    line-height: 120%;
    width: calc(100% - 140px);
}
.scw-cookie-message p{
    color:#fff;
}
.scw-cookie-decision {
    text-align: right;
    float: left;
    width: 140px;
}
.scw-cookie-btn {
    background: #20BF6B;
    cursor: pointer;
    display: inline-block;
    line-height: 30px;
    text-align: center;
    width: 60px;
    height: 60px;
    vertical-align: top;
}
.scw-cookie-btn:hover {
    background: #169853;
}
.scw-cookie-btn > span {
    width:100%;
    height:100%;
    display:table;
}
.scw-cookie-btn > span > span {
    width:100%;
    height:100%;
    display:table-cell;
    text-align:center;
    vertical-align:middle;
    font-size: 20px;
}

.scw-cookie-settings,
.scw-cookie-policy {
    display: inline-block;
    vertical-align: top;
    line-height: 30px;
    /*margin-left: 13px;*/
    text-align: center;
    width: 60px;
    height: 60px;

}
.scw-cookie-settings {
    /*border:1px solid #20BF6B;*/
    background: url('settings.svg') center center no-repeat #666;
}
.scw-cookie-settings:hover{background-color:#555;}

.scw-cookie-settings .icon,
.scw-cookie-policy .icon {
    /*margin-top: -5px;*/
    opacity: .7;
    position: relative;
    /*top: 7px;*/
    display:none;
}
.scw-cookie-settings:hover .icon,
.scw-cookie-policy:hover .icon {
    opacity: 1;
}
.scw-cookie-settings {
    cursor: pointer;
}
.scw-cookie-details {
    clear: both;
    display: none;
    padding-top: 15px;
}

.scw-cookie-details.show {
  display: block;
}

.scw-cookie-details::after {
    clear: both;
    content: '';
    display: block;
}
.scw-cookie-details-title {
    font-weight: bold;
}
.scw-cookie-toggle {
    border: solid 1px;
    box-sizing: border-box;
    float: left;
    margin-top: 10px;
    padding: 5px;
    width: calc(50% - 5px);
}
.scw-cookie-toggle:nth-child(even) {
    margin-right: 5px;
}
.scw-cookie-toggle:nth-child(odd) {
    margin-left: 5px;
}
.scw-cookie-name {
    cursor: pointer;
    float: left;
    line-height: 23px;
    padding-left: 15px;
    width: calc(100% - 80px);
    font-size: 14px;
}
.scw-cookie-toggle input[type="checkbox"] {
    cursor: pointer;
    float: left;
    height: 25px;
    margin: 0;
    width: 20%;
}

.scw-cookie-tooltip-trigger {
    position: relative;
}
.scw-cookie-tooltip {
    animation: fadeIn .5s ease-in-out;
    background: #fff;
    border: solid 1px #000;
    color: #000;
    font-size: 11px;
    left: 50%;
    line-height: 23px;
    padding: 0 10px;
    position: absolute;
    top: 0;
    transform: translate(-50%, -100%);
    width: 100px;
}

/* Animations */
@-webkit-keyframes fadeIn {
    from { opacity: 0; visibility: hidden; }
    to   { opacity: 1; visibility: visible; }
}
@keyframes fadeIn {
    from { opacity: 0; visibility: hidden; }
    to   { opacity: 1; visibility: visible; }
}
@-webkit-keyframes slideIn {
    from { transform: translateY(100%); }
    to   { transform: translateY(0%); }
}
@keyframes slideIn {
    from { transform: translateY(100%); }
    to   { transform: translateY(0%); }
}
@-webkit-keyframes slideOut {
    from { transform: translateY(0%); }
    to   { transform: translateY(100%); }
}
@keyframes slideOut {
    from { transform: translateY(0%); }
    to   { transform: translateY(100%); }
}


.scw-cookie-switch {
    background: #BDB9A6;
    border-radius: 1em;
    cursor: pointer;
    display: inline-block;
    font-size: 20px;
    height: .8em;
    margin: 0;
    position: relative;
    top: 4px;
    width: 40px;
}
.scw-cookie-switch.checked {
    background: #20BF6B;
}
.scw-cookie-switch.disabled {
    cursor: not-allowed;
    opacity: .5;
}
.scw-cookie-switch input {
    position: absolute;
    opacity: 0;
}
.scw-cookie-switch div {
    background: #FFFFFF;
    border-radius: .8em;
    box-shadow: 0 0.1em 0.3em rgba(0,0,0,0.3);
    height: .8em;
    width: 1em;

    -webkit-transition: all 300ms;
     -moz-transition: all 300ms;
          transition: all 300ms;
}

.scw-cookie-switch input:checked + div {
    -webkit-transform:  translate3d(100%, 0, 0);
    -moz-transform:     translate3d(100%, 0, 0);
             transform: translate3d(100%, 0, 0);
}


.scw-cookie .scw-cookie-panel-toggle{display: none;}

.scw-cookie-message a{color:#fff; text-decoration:underline;}
.scw-cookie-message a:hover{text-decoration:none;}
.scw-cookie-help{
	display:inline-block;
	width:16px;
	height:16px;
	background: url(help.svg) center center no-repeat transparent;
	margin: 4px 2px;
	vertical-align: top;
	cursor: pointer;
	float: right;
}

.scw-cookie-descriptions{
	/*display:none;*/
	clear:both;
}

.scw-cookie-description{
	display:none;
	margin:10px 0;
	padding:10px;
	border:1px solid #fff;
}

.scw-cookie-description.show{
  display: block;
}

.scw-cookie-description-titolo{
	font-size:14px;
	font-weight:bold;
	margin-bottom:4px;
}
.scw-cookie-description-testo{
	font-size:14px;
  line-height:16px;
	font-weight:normal;
  margin-bottom:5px;
}
.scw-cookie-settings{
	//display:none;
}

.scw-cookie p {
    padding-bottom: 5px;
    text-align: justify;
    font-size:13px;
    line-height:14px;
}


.scw-cookie-description-dettagli table{border-spacing: 2px; border-color: #2D3436; border-collapse: unset; width: 100%; font-size:10px;}
.scw-cookie-description-dettagli table tr > td {background:#ddd; color:#2D3436; padding:4px; vertical-align: top;}
.scw-cookie-description-dettagli table tr:first-child > td{font-weight:bold;}
.scw-cookie-description-dettagli table tr:first-child > td:nth-child(1){
	width:25%;
}
.scw-cookie-description-dettagli table tr:first-child > td:nth-child(2){
	width:30%;
}
.scw-cookie-description-dettagli table tr:first-child > td:nth-child(3){
	width:44%;
}
@media(max-width:540px){
.scw-cookie-description-dettagli table tr{display:block;  width:100%; margin:3px 0;}
.scw-cookie-description-dettagli table tr:first-child{display:none;}
.scw-cookie-description-dettagli table td,
.scw-cookie-description-dettagli table tr:first-child > td:nth-child(1),
.scw-cookie-description-dettagli table tr:first-child > td:nth-child(2),
.scw-cookie-description-dettagli table tr:first-child > td:nth-child(3){display:block; border:1px solid #2D3436; width:100%;}
}


@media(max-width:640px){
	.scw-cookie-message {
		float: none;
		line-height: 20px;
		width: 100%;
		text-align: center;
	}
	.scw-cookie-decision {
		text-align: center;
		float: none;
		width: 100%;
		margin-top:6px;
	}
	.scw-cookie-toggle {
		width: 100%;
		margin: 3px 0;
	}
	.scw-cookie-toggle:nth-child(even){
		margin-right:0;
	}
	.scw-cookie-toggle:nth-child(odd){
		margin-left:0;
	}
	.scw-cookie-details-title{
		text-align:center;
	}
}
