
#accn-cookie-consent-wrapper{
	width:100%;
	position: fixed;
    bottom: 0px;
    z-index: 99;
}

#accn-cookie-consent {
    background: #fff3cd;
    padding: 15px;
   /* font-size: 0.8em;*/
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    /*align-items: center;*/
    border: 1px solid #e9e9e9;
	margin:0 auto;
	width:100%; 
	max-width:1350px; 
	bottom: 0px;
}


#accn-cookie-consent p {
    margin: 0px;
    /* line-height: 1.3em; */
    /* text-align: justify; */
}

#accn-cookie-consent a {
    text-decoration: underline;   
    color: black;
}

#accn-cookie-consent a:focus,
#accn-cookie-consent a:hover {
    background-color: #e9e9e9;
}

#accn-cookie-consent button {
    background-color: #212721;
    color: white;
    border: 0;
    border-radius: 3px;
    /* padding: 5px 20px 5px 20px; */
    padding: 15px 25px 16px 25px;
    font-size: 1em;
	width:100%;
	font-weight:700;
}

#accn-cookie-consent button:focus,
#accn-cookie-consent button:hover {
    text-decoration: underline;
	cursor:pointer;
	background-color: #585858;

}

.accn-row-1{
	width:100%;
	display: flex;
	flex-direction:row;
}

.accn-row-2{
	width:100%;
}

.accn-statement{
	width:100%;
	max-width:75%;
	padding-right: 30px;
}

.accn-option-buttons{
	width:100%;
	margin:30px 0px 15px;
}

#details_link_wrapper{
	display:inline-block;
	margin-left:30px;
	font-weight:700;
}
.accn-option-buttons.stacked #details_link_wrapper{
	margin-left:0px;
	display:block;
	float:right;
}

.accn-save-buttons{
  width: 100%;
  max-width:25%;
}

#accn-cookie-consent .button-wrapper {
	width: 100%;
	display:block;
  	margin: 5px 0px;
}


.accn-toggle-button{
	display:inline-block;
	font-weight:700;
	margin-left: 20px;
	font-size:1em;
}

.accn-toggle-button .btn-description{
	display:none;
	font-weight:normal;
}

.accn-option-buttons.stacked .accn-toggle-button{
	width:100%;
	margin-left:0px;
	margin-bottom:15px;
	border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.accn-option-buttons.stacked .accn-toggle-button .btn-description{
	display:block;
}	

.accn-toggle-button:first-of-type{
	margin-left: 0px;
}

/* The switch - the box around the slider */
.consent_switch {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 44px;
  top: -5px;
}
.accn-option-buttons.stacked .accn-toggle-button .consent_switch{
	float:right;
}

/* Hide default HTML checkbox */
.consent_switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.consent_slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.consent_slider:before {
  position: absolute;
  content: "";
  height: 36px;
  width: 36px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  
}

input:checked + .consent_slider {
  background-color: #006341;
}

input:focus + .consent_slider {
  box-shadow: 0 0 1px #006341;
}

input:checked + .consent_slider:before {
  -webkit-transform: translateX(36px);
  -ms-transform: translateX(36px);
  transform: translateX(36px);
}

/* Rounded sliders */
.consent_slider.consent_round {
  border-radius: 34px;
}

.consent_slider.consent_round:before {
  border-radius: 50%;
}

#btn_consent_details_show{
	display:block;
}
#btn_consent_details_hide{
	display:none;
}

/****** Small screens ******/

@media (max-width: 880px) { 
   #accn-cookie-consent {
        flex-direction: column;
        width: 100%; 
		max-width:100%;
    }
	.accn-toggle-button{
		width:100%;
		margin-left:0px;
		margin-bottom:15px;
	}
	.consent_switch {
		float:right;
	}
	#details_link_wrapper{
		margin-left:0px;
		display:block;
		float:right;
	}
	.accn-row-1{
		flex-direction:column;
	}
	.accn-statement{
		max-width:100%;
		margin-bottom:30px;
	}
	.accn-save-buttons{
		width:100%;
		max-width:100%;
		margin-bottom:30px;
	}
	
	#accn-cookie-consent-wrapper {
	  height: calc(100% - 60px);
	  bottom:0px;
	  overflow: scroll;
	}
	html.cookieConsentVisible, html.cookieConsentVisible body {
		margin: 0; 
		height: 100%; 
		overflow: hidden
	}
	
}