.cookieConsentContainer {
    width: 100%;
    padding: 30px 30px 30px 30px;
    overflow: hidden;
    display: none;
    flex-direction: row;
    text-align: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    align-items: center;
    z-index: 999999999 !important; 
    pointer-events:none;
   height:100%;
   
}

.cookie-container {
    position: fixed;
    bottom:0px;
   /* left:0px;*/
    width:100%;
    padding: 3px;
    box-sizing:border-box;
   /* display: flex; */
    justify-content: center; 
    align-content: center;
    background: rgba(10,10,10,0.8);
    overflow: hidden;
    flex-direction: row;
    text-align: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 999999999;
    pointer-events:auto;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}

.cookie-container-form {
     width: 100%;
     position:fixed;
     top:0px;
     left:0px;
     background: rgba(10,10,10,0.8);
     height:100vh;
     padding: 30px 30px 30px 30px;
     z-index: 9999999999;
     overflow-y:auto !important;
     pointer-events:auto;
    }

.cookieConsentContainer .cookieTitle{
    color:white;
    width:100%
}

.cookieConsentContainer .cookieDesc {
   /* width:92%;
    right:4%;*/
}

.cookie-close {
    text-align: end;
    margin-right: 4%;
    margin-top: 16px;
   /* color: white;
    width:98%;
    right:1%;
    position: relative;
    text-align:right;
    font-size: 22px;
    cursor:pointer;
    margin-bottom:-20px;*/
}

.cookie-close a{   display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #000000;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;}


.cookie-button-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.cookieButton {
    margin: 1%;
}

.cookieConsentContainer .cookieTitle a {
	/*font-family: OpenSans, arial, "sans-serif";*/
	color: #FFFFFF;
	font-size: 22px;
	line-height: 20px;
	display: block;
}
.cookieConsentContainer .cookieDesc p {
	margin: 0;
	padding: 0;
	/*font-family: OpenSans, arial, "sans-serif";*/
	color: #FFFFFF;
	font-size: 13px;
	line-height: 20px;
	display: block;
	margin-top: 10px;
} 
.cookieConsentContainer .cookieDesc a {
	/*font-family: OpenSans, arial, "sans-serif";*/
	color: #FFFFFF;
	text-decoration: underline;
}
.cookieConsentContainer .cookieButton a {
	display: inline-block;
	/*font-family: OpenSans, arial, "sans-serif";*/
	color: #333;
	font-size: 14px;
	font-weight: bold;
	margin: 0px;
	background:#fff	;
	opacity:0.8;
	box-sizing: border-box; 
	padding: 5px 15px;
	border-radius:4px;
	text-align: center;
}
.cookieConsentContainer .cookieButton a:hover { 
	cursor: pointer;
	opacity:1;

}

@media (max-width: 980px) {
	.cookieConsentContainer {
		bottom: 0px !important;
		left: 0px !important;
		width: 100%  !important;
	}
}


/* classi css per tasto personalizzato*/
#cookie-form {
    width: 90%;
    margin-top: 2%;
    background-color: white;
    padding: 14px 14px 40px 14px;
    border-radius: 4px;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#cookie-form button{
	display: inline-block;
	/*font-family: OpenSans, arial, "sans-serif";*/
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	background:#333;
	opacity:0.8;
	box-sizing: border-box; 
	padding: 15px 24px;
	border-radius:4px;
	text-align: center;
	margin: 0px 5px 0px 5px;
	border:unset;
}

#cookie-form button:hover { 
	opacity:1;
}

/*
.form-container {
    width: 100%;
}*/

.cookie_item_title,
.form-container,
.cookie_cust_op_div {
    width: 100%;
}

.cookie_item_title h3{
    font-size: 20px;
    text-decoration: underline;
    text-transform: uppercase;
}

.cookie-single-option {
    border: 1px solid #838391!important;
    border-radius: 6px;
    padding: 10px 12px 15px;
    color: #838391!important;
    margin: 1%;
    width: 30%;
    max-height: 300px;
    overflow: hidden;
    overflow-y: scroll;
}


.cookie-single-option > .title-single-option {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}

.cookie-single-option > .description-single-option {
    text-align: justify;
    font-size: 14px;
}
.cookie-single-option > .option {
   /* display: flex;
    flex-direction: row;*/
}



/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-left:10px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #333;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


/*DIV SUCCESS COOKIE IMPOSTATI*/

.success{
	padding: 10px;
    color: white;
    border: 1px solid green;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
    border-radius: 4px;
	background-color: rgba(144,238,144, 0.3);
}



/*MEDIA QUERY PER mobile del box*/



@media only screen  and (min-width: 1024px) {

}

@media only screen  and (min-width: 768px) and (max-width: 1023px) {
    .cookie-close{
        display: none;
    }

    .cookie-button-container {
        flex-wrap: wrap;
    }

    .cookieButton,
    .cookieButton a {
        margin-right: 2%;
        margin-left: 2%;
        width: 96%;
    }

    .cookieConsentContainer .cookieDesc {
        width: 96%;
        margin: 2%;
    }

    .cookieConsentContainer .cookieDesc p,
    .cookieConsentContainer .cookieButton a,
    #cookie-form button,
    .cookie-single-option > .description-single-option{
        font-size: 12px;
    }

    .cookie-single-option,
    #cookie-form button{
        width: 96%;
        margin: 2%;
    }

    #cookie-form button{
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        padding: 5px 15px;
    }

    .cookie_item_title h3,
    .cookie-single-option > .title-single-option {
        font-size: 14px;
    }
}

@media only screen  and (max-width: 767px) {
    .cookie-close{
        display: none;
    }

    .cookie-button-container {
        flex-wrap: wrap;
    }

    .cookieButton,
    .cookieButton a {
        margin-right: 2%;
        margin-left: 2%;
        width: 96%;
    }

    .cookieConsentContainer .cookieDesc {
        width: 96%;
        margin: 2%;
    }

    .cookieConsentContainer .cookieDesc p,
    .cookieConsentContainer .cookieButton a,
    #cookie-form button,
    .cookie-single-option > .description-single-option{
        font-size: 12px;
    }

    .cookie-single-option,
    #cookie-form button{
        width: 96%;
        margin: 2%;
    }

    #cookie-form button{
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        padding: 5px 15px;
    }

    .cookie_item_title h3,
    .cookie-single-option > .title-single-option {
        font-size: 14px;
    }
}

.link_inner {
    margin-bottom: 1%;
}
