.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;
}

.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 {
    color: white;
    width:98%;
    right:1%;
    position: relative;
    text-align:right;
    font-size: 22px;
    cursor:pointer;
    margin-bottom:-10px;
}

.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: 92%;
	margin-left:3%;
	margin-top:2%;
 	background-color: white;
	padding: 14px 14px 40px 14px;
	border-radius:4px;
}

#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-single-option {
    border: 1px solid #838391!important;
    border-radius: 6px;
    padding: 10px 12px 15px;
    /* font-size: 12px; */
    /* line-height: 16px; */
    color: #838391!important;
	margin: 1%
}
.cookie-single-option > .title-single-option {
    font-weight: bold;
    font-size: 20px;
}
.cookie-single-option > .description-single-option {
    text-align: justify;
}
.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) {
		
}

@media only screen  and (max-width: 767px) {


    .cookie-button-container {
        /* flex-wrap: wrap; */
	flex-wrap: nowrap;
    }

    .cookie-button-container {
	order: 3;
	margin-top:5px;
    }

    .cookie-close {
        margin-bottom: -10px;
        width: 10%;
        order: 2;
    }

    .cookieConsentContainer .cookieDesc {
	width: 90%;
        order: 1;
	
    }

    .cookieConsentContainer .cookieDesc p{
	font-size: 11px !important;
	line-height:normal;
	}

    .cookie-button-container #acceptAll {
        order: 2;
    }

    .cookieButton {
        order: 1;
	min-height: 50px;
	max-height: 50px;
    }

    .cookieConsentContainer .cookieButton a {
	font-size: 11px !important;
	line-height:normal !important;
    }

    .description-single-option{
	font-size: 12px !important;
	line-height:normal !important;
	}

     h3{
	font-size:1em !important;
	}

      #cookie-form button{
 	display:block !important;
	margin:10px 0px 10px 0px  !important;
	width:100%  !important;
	box-sizing:border-box  !important;
	}
	.cookie-container-form{
	padding:10px 10px 60px 10px !important;
    }	

}



