
/* cookie manager ////////////////////////////////////// */

.cookie-manager-dialog {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	z-index: 1500;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,0.4);
	letter-spacing: 0px;
}
.cookie-manager-box{
	background-color: #ffffff;
    color: #000000;
    width: 46rem;
    height: 31rem;
    max-width: 90vw;
    max-height: 85vh;
	box-shadow: 0px 8px 20px rgba(0,0,0,0.5);
	overflow: scroll;  
	border-radius: 0.5rem;
	overflow: hidden;
	display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    line-height: 1.3;
    
}

.cookie-manager-box *:focus{
    outline: solid 0px #ffffff;
}
.cookie-manager-box *{
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif
}
.cookie-manager-box strong{
    font-weight: 600;
}
.cookie-manager-box *.fa{
	font-family: FontAwesome;
}
.cookie-manager-dialog-nav{
    margin-bottom: 0px;
}
.cookie-manager-menu{
	margin:0;
	padding:0;
	list-style:none;
	display: flex;
    align-items: center;
}
.cookie-manager-tab-item {
    flex-grow: 1;
}
.cookie-manager-tab-link {
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    text-align: center;
    color: #4d4d4d;    
    border-bottom: solid 2px #e5e5e5;
    transition: color 0.25s ease, border-color 0.25s ease;
    background: #ffffff;
}
.cookie-manager-tab-item.active .cookie-manager-tab-link{
    color: #bc8800;
    border-bottom: solid 2px #bc8800;
}
.cookie-manager-tab-link:hover,
.cookie-manager-tab-link:focus{
    color: #bc8800; 
    text-decoration:none;
    background: #ffffff;
    border-bottom: solid 2px #e5e5e5;
}
.cookie-manager-tab-link:focus{
    color: #bc8800; 
    text-decoration:none;
    background: #ffffff;
    border-bottom: dotted 2px #bc8800 !important;
}

.cookie-manager-category-description > *{
	margin: 1rem 0 0 0;
}
.cookie-manager-dialog-content{
	flex-grow: 1;
    overflow-y: scroll;
    height: 100%;
    padding: 1.5rem;
}
.cookie-manager-category-item{
    font-size: 0.85rem;
}
.cookie-manager-dialog-footer {
    padding: 1.5rem;
    margin-top: 0px;
    border-top: solid 1px #dddddd;
}
.cookie-manager-dialog-buttons {
    display: flex;
    justify-content: space-evenly;
}



.cookie-manager-dialog-buttons > *{
	flex-grow: 1;
    padding: 0.6rem;
    margin: 0 0.2rem;
    font-size: 0.9rem;
    line-height: 1.4285;
    box-shadow: none;
    text-transform: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
    border: solid 2px #bc8800;    
}
.cookie-manager-dialog-buttons .btn{
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
    border-radius: 0.1rem !important;
    padding: 0.4rem 0.9rem 0.6rem 0.9rem !important;
    margin: 0.2rem !important;
    min-height: 1rem !important;
    max-width: calc(33.33% - 0.4rem);
    justify-content: center !important;
}
.cookie-manager-dialog-buttons .btn.btn-default{
    color: #ffffff !important;
    background-color: #bc8800;
    border-color: #bc8800;
}
.cookie-manager-dialog-buttons .btn.btn-invert {
    background: transparent;
    color: #bc8800 !important;
    border-color: #bc8800;
    
}
.cookie-manager-dialog-buttons .btn.btn-invert:focus,
.cookie-manager-dialog-buttons .btn.btn-default:focus,
.cookie-manager-dialog-buttons .btn.btn-invert:active,
.cookie-manager-dialog-buttons .btn.btn-default:active,
.cookie-manager-dialog-buttons .btn.btn-invert:hover,
.cookie-manager-dialog-buttons .btn.btn-default:hover {
    color: #000000 !important;
    background-color: #e3e3e3;
    border: solid 2px #e3e3e3;
    box-shadow: none;
    justify-content: center !important;
}
.cookie-manager-dialog-buttons .btn.btn-invert:focus,
.cookie-manager-dialog-buttons .btn.btn-default:focus{
    border-color: #bc8800;
    border-style: dotted !important;
}


.cookie-manager-dialog .panel {
    margin: 0;
    padding: 0px 0;
    box-shadow: none;
    display: flex;
    border: none;
}
.cookie-manager-category-item.panel{
    border-bottom: solid 1px #888888;
    border: solid 1px #dddddd;
    padding: 1rem;
    margin: 0 0 1rem 0;
    border-radius: 0.5rem;
    position: relative;
}
.cookie-manager-dialog h2{
	margin-top: 0px;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: 1.1;
    color: #000000;
}
.cookie-manager-dialog p {
    margin: 0 0 0.8rem;
}
.cookie-manager-category-item details h4 {
    margin: -2px;
    padding: 2px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    font-weight: 500;
    color: #000000;
    border: solid 1px transparent;
}
.cookie-manager-category-item details h4:before {
	font-family: FontAwesome;
    font-weight: 900;
	margin-right: 0.9rem;
	color: #bc8800;
	content: "\f107";
}
.cookie-manager-category-item details[open] h4:before {
	content: "\f106";
}
.cookie-manager-provider-item details h5 {
	font-size: 0.85rem;
    margin: -2px;
    padding: 2px;
    cursor:pointer;
    line-height: 1;
    color: #000000;
    border: solid 1px transparent;
}
.cookie-manager-provider-item details h5:before {
	font-family: FontAwesome;
    font-weight: 900;
	margin-right: 0.85rem;
	color: #bc8800;
	content: "\f107";
}
.cookie-manager-provider-item details[open] h5:before {
	content: "\f106";
}
.cookie-manager-provider-link-container{
	flex-grow: 1;
    text-align: right;
    margin: 0;
}
.cookie-manager-cookie-item h6{
	margin: 0 0 10px 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.1;
    color: #000000;
}
.cookie-manager-dialog-content a{
	color: #bc8800;
	text-decoration: none;
}
.cookie-manager-dialog-content a:hover, 
.cookie-manager-dialog-content a:focus {
    color: #bc8800;
	text-decoration: none;
    border-color: #bc8800;
}
.cookie-manager-dialog a .fa{
	vertical-align: middle;
	margin-left: 0.5rem;
}
.cookie-manager-dialog details {
    flex-grow: 1;
}
.cookie-manager-dialog summary {
    display: flex;
    align-items: center;
}

.cookie-manager-dialog summary:focus h4,
.cookie-manager-dialog summary:focus h5{
	border-bottom: dotted 1px #bc8800;
}

.cookie-manager-provider-item summary {
	padding-top: 1rem;
    margin-top: 1rem;
    border-top: dashed 1px #dddddd;
}
.cookie-manager-cookie-item.panel {
	border: solid 1px #dddddd;
	padding: 1rem;
	margin: 1rem 0 0 0;
	border-radius: 0.5rem;
	display: block;
	background: rgba(0,0,0,0.03);
	background-image: linear-gradient(0deg, #f7f7f7 0, #fcfcfc 100%);
}
.cookie-manager-checkbox-container label{
	cursor: pointer;
    margin: 0 0 0 auto;
    padding: 0;
    line-height: 1;
    display: inline-block;
    float: right;
}
.cookie-manager-checkbox-container label input{
	position: absolute;
    opacity: 0;
}
.cookie-manager-checkbox-container label span{
    display: block;
    width: 2.8rem;
    height: 1.4rem;
    border-radius: 0.7rem;
    position: relative;
    background: #979797;
    transition: background 0.25s ease;
}
.cookie-manager-checkbox-container label input + span:before{
	font-size: 0.1rem;
    display: block;
    content: "";
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: #ffffff;
    transition: all 0.25s ease;
    position: absolute;
    top: 0.1rem;
    left: 0.1rem;
}
.cookie-manager-checkbox-container label input:checked + span{
	background-color:#bc8800;
}
.cookie-manager-checkbox-container label input:checked + span:before{
    left: 1.5rem;	
}
.cookie-manager-checkbox-container label input:focus + span{
    outline: dotted 1px #bc8800;
    outline-offset: 2px;
}

.cookie-manager-checkbox-container label input[disabled] + span{
	cursor: not-allowed;
	background-color:#d8d8d8;
}
.cookie-manager-box .cookie-count {
    display: inline-block;
    font-size: 0.7rem;
    line-height: 1;
    background: #bc8800;
    color: #ffffff;
    padding: 0.2rem 0.4rem;
    font-weight: 500;
    text-align: center;
    border-radius: 50%;
    margin: 0px 0 0 0.4rem;
    position: relative;
    bottom: -1px;
}
.cookie-manager-checkbox-container{
	margin:0;
	flex-grow: 1;
}
.cookie-manager-cookie-details{
	display: flex;
    padding-top: 10px;
    margin-top: 1rem;
    border-top: dashed 1px #dddddd;
}
.cookie-manager-cookie-details > *{
	flex-grow:1;
}
.cookie-manager-category-description {
    margin-top: 1rem;
}

@media screen and (max-width:767px){
	.cookie-manager-box{
		height: 95vh;
		max-height: 95vh;
		font-size: 0.9rem;
		line-height: 1.2;
	}
	
.cookie-manager-category-item details h4{
    font-size: 1rem;
}
.cookie-manager-provider-item details h5{
    font-size: 1rem;
}
.cookie-manager-dialog-content {
    padding: 1rem;
}
.cookie-manager-dialog-footer {
    padding: 1rem;
}
	.cookie-manager-dialog-buttons .btn{
		max-width: none;
	}
	.cookie-manager-dialog-buttons {
		flex-direction: column;
	}
}


