/* CHECKBOXES SWITCH */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}
.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: #2196F3;
}
input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}

/* COOKIE */
.cc-cookies{
  left:0.5%;
  bottom:10px;
  width:700px;
  height:auto;
  top:initial;
  text-align: left;
  padding: 20px;
  font-weight:normal;
  background:#333333;
  z-index: 9998;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
.cc-cookies a.cc-cookie-accept, .cc-cookies-error a.cc-cookie-accept, .cc-cookies a.cc-cookie-decline, .cc-cookies-error a.cc-cookie-decline, .cc-cookies a.cc-cookie-reset, .cc-cookies a.cc-cookie-settings {
  background: #f05d37 !important;
  float:right;
  text-shadow: none;
  font-weight:600;
  margin-left:10px;
  color:#FFF;
}
.cc-cookies a.cc-cookie-decline, .cc-cookies-error a.cc-cookie-decline {
  background: #f05d37;
  float:right;
  text-shadow: none;
  font-weight:600;
}
.cc-cookies a:hover.cc-cookie-accept, .cc-cookies-error a:hover.cc-cookie-accept, .cc-cookies a:hover.cc-cookie-decline, .cc-cookies-error a:hover.cc-cookie-decline, .cc-cookies a:hover.cc-cookie-reset, .cc-cookies a:hover.cc-cookie-settings{
  background-color: rgba(241, 127, 57, 0.5)
}
.cc-cookies a.cc-cookie-settings{
  display: inline-block;
  color: #f05d37 !important;
  text-decoration: none;
  padding: 0.5em 0.75em;
  border-radius: 3px;
  background: #fff !important;
}
.cc-cookies p{
  font-size:13px !important;
  color:#fff;
}
.impostazioni_cookie{
  transform: translateY(0);
  position: fixed;
  left: 10px;
  width: 49px;
  z-index: 9999;
  bottom: 0px;
  color: #fff;
  background-color: #43494e;
  font-size: 16px;
  text-align: center;
  line-height: 30px;
  padding: 11px 0;
  border-radius: 0 0 0 0;
  transition: all .3s, margin-right 0s;
}
.impostazioni_cookie:before{
	font-family: "FontAwesome";
	content:"\f013";
}
.impostazioni_cookie:hover{
	color: #f05d37;
	text-decoration:none;
}

/* MODAL */
#cookieModal{
	display:none;
  z-index: 9999;
}
#cookieModal .modal-content{
  margin-top:5%;
}
#cookieModal img{
  margin: 20px 0;
}
#cookieModal .switch{
  float:right;
  margin: 3px 0 0 0;
}
#cookieModal input:checked + .slider {
  background-color: #f05d37;
}
#cookieModal .btn-primary {
  border-color: #f05d37;
  background-color: #f05d37;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  background: #f05d37;
  border: 1px solid #f05d37;
  color: #FFF;
  display: inline-block;
  margin: 15px 15px 0 15px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  transition: all 0.25s ease;
  padding: 0px 10px;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
#cookieModal .btn-primary:hover{
	border-color: #333;
	color: #333;
  background-color: #FFF;
  text-decoration:none;
}
#cookieModal .btn-actions{
	margin:10px 0;
	width:100%;
}
#cookieModal .titolo_accordion {
	display:block;
	padding:0px;
	text-decoration:none;
	color:#35383e;
	border-bottom:1px solid #ebebeb;
	text-align:left;
  float: left;
  width: 100%;
  cursor: pointer;
  text-transform: uppercase;
  line-height: 40px;
}
#cookieModal .titolo_accordion a{
	color:#35383e;
}
#cookieModal .titolo_accordion .opening:before {
  content: "\f107";
  font-family: FontAwesome;
  padding-right: 10px;
}
#cookieModal .expanded {
	padding:15px;
}
#cookieModal .expanded p {
	text-align:left;
	padding: 0;
  margin: 0;
}
#cookieModal .expanded .expanded {
	background:url(concrete_wall.png);
	padding:0;
	color:#fff;
}
#cookieModal .expanded .expanded p {
	padding:15px;
}
#cookieModal .modal-overlay{
	width:100vw;
	height:100vh;
	background-color: rgba(0,0,0,0.5);
	position:fixed;
	top:0;
	left:0;
	z-index:2000;
}
#cookieModal .modal-open .modal{
	z-index:9999 !important;
	background:rgba(0,0,0,0.5);
}
#cookieModal .modal-dialog, #cookieModal .modal-content, #cookieModal .modal-header, #cookieModal .modal-footer, #cookieModal .modal-body{
	z-index:9999 !important;
}
#cookieModal .modal-body{
	padding:10px;
}
#cookieModal .modal-wrapper .title {
	color:#333;
}
#cookieModal .modal-overlay{
	width:100vw;
	height:100vh;
	background-color: rgba(0,0,0,0.5);
	position:fixed;
	top:0;
	left:0;
	z-index:2000;
}
#cookieModal .modal-dialog{
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
}
#cookieModal .modal-dialog::-webkit-scrollbar {
  display: none;
}
#cookieModal .modal-dialog {
  position: relative;
  width: 100%;
  margin: 30px auto;
  max-height: 650px;
  overflow: scroll;
}
#cookieModal .modal-content {
  position: relative;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #999;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 6px;
  outline: 0;
  -webkit-box-shadow: 0 3px 9px rgb(0 0 0 / 50%);
  box-shadow: 0 3px 9px rgb(0 0 0 / 50%);
}
#cookieModal.modal {
  position: fixed;
  top: 10%;
  left: 50%;
  z-index: 9999;
  width: 560px;
  margin-left: -280px;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
  background-clip: padding-box;
  outline: none;
  box-shadow:none;
  border:none;
  background:none;
}
#cookieModal .logoModal {
  background: #35383e;
}
#cookieModal p {
  color: #31353d;
}
#cookieModal h3 {
  margin: 10px 0px;
}

@media (max-width: 767px) {

	/* MODAL */
	#cookieModal.modal {
    width: 95%;
    margin: 0px;
    left: 3% !important;
  }
  #cookieModal .modal-dialog{
  	width:100%;
  	margin:0 auto;
    max-height: 650px;
    overflow: scroll;
  }
  #cookieModal .modal-content{
  	margin-top:0px;
  }

}

@media (max-width: 1024px) {

	/* COOKIE */
	.cc-cookies{
		width:99%;
    padding: 10px;
	}
	.cc-cookies a.cc-cookie-settings{
		margin:0px;
	}
	.cc-cookies a.cc-cookie-accept{
		float:left;
		margin:0px;
	}
	.cc-cookies a.cc-cookie-decline{
		margin: 0 14px 0 0px;
	}

}