﻿
/* Banner styling */
#cookie-banner {
    background: #333;
    color: #fff;
    padding: 30px;
    z-index: 9999;
}

#cookie-banner .navbar-text {
    color: #fff;
    margin-bottom: 0;
}

    #cookie-banner .btn {
        margin-left: 5px;
        margin-top: 5px;
        border-radius: 3px;
    }

/* Switch styling */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #337ab7;
}

    input:checked + .slider:before {
        transform: translateX(20px);
    }

input:disabled + .slider {
    opacity: .5;
    cursor: not-allowed;
}

/* Pin the switch in the panel heading */
.panel-heading {
    position: relative;
    box-shadow: 0px 2px 2px #c0c0c0 !important;
}

    .panel-heading .switch {
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        float: none;
    }

/* Cookie details table header */
.cookie-details-table thead tr.active th {
    background-color: #f0f0f0;
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
}

/* Condensed padding */
.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tbody > tr > td {
    padding: 6px 8px;
}

/* Spacing around responsive tables */
.table-responsive {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

.cookie-details-table{
    font-size: 12px !important;
}

.panel-title {
    line-height: 20px !important;
}

.panel-group .panel-heading a {
    padding: 10px 10px !important;
    font-size: 14px !important;
}