html, body {
    font: 14px/1.21 'Roboto', sans-serif;
    font-weight: 400;
    background-color: transparent;
}

body {
    padding: 10px;
    color: #4a4a4a;
}

a {
    color: #004590;
}

.control-buttons {
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    min-width: 300px;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.settings-description {
    padding: 2px;
}

/* Important part */
.modal-dialog {
    overflow-y: initial !important
}

.modal:not(.extra-sm) .scroll {
    display: block;
    max-height: calc(100vh - 350px);
    min-height: 150px;
    overflow-y: auto;
}

.modal.extra-sm .modal-body {
    display: block;
    max-height: calc(100vh - 185px);
    min-height: 150px;
    overflow-y: auto;
}

div.modal-body.welcome {
    padding: 24px;
}

.form-group {
    margin-bottom: 0;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 20px;
    margin: auto;
}

.toggle-switch div {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background-color: #6c757d;;
    border: solid 3px #6c757d;;
    transition: all 400ms;
}

.toggle-switch div:before {
    content: "";
    display: block;
    width: 33%;
    height: 100%;
    margin-left: 0;
    border-radius: 50%;
    background-color: #fff;
    transition: margin-left 400ms;
}

.toggle-switch :checked ~ div {
    background-color: #28a745;
    border-color: #28a745;
}

.toggle-switch :checked ~ div:before {
    margin-left: 66%;
}

.toggle-switch input {
    position: absolute;;
    z-index: 1;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: pointer !important;
}

.switch-col {
    padding-top: calc(.375rem + 1px);
    padding-bottom: calc(.375rem + 1px);
}

.switch-col .no-purposes {
    text-align: center;
    font-size: 14px;
}

.button:hover, .drop-down-list p:hover {
    color: #004a94;
}

.row-highlight label, .button {
    cursor: pointer;
}

.welcome p {
    line-height: 1.6;
    text-align: justify;
}

.purposes-list-header {
    margin-bottom: 2px;
}

.drop-down-list .drop-down-list-content-container {
    max-height: 0;
    transition: max-height 600ms;
    overflow: hidden;
}

.drop-down-list .drop-down-list-content-container ul {
    padding: 0 0 0 30px;
    margin-bottom: 0;
}

.drop-down-list .drop-down-list-title {
    cursor: pointer;
    position: relative;
    padding-left: 10px;
    margin-bottom: 2px;
}

.drop-down-list .drop-down-list-title i {
    position: absolute;
    top: 3px;
    left: 0;
    color: #28a745;
    margin-right: 4px;
    font-weight: bold;
}

.drop-down-list .icon, .entry-label .icon {
    display: inline-block;
    transition: transform 600ms;
}

.entry-label .icon {
    margin-right: 5px;
    color: #28a745;
    font-weight: bold;
}

.collapsed .entry-label .icon {
    transform: rotate(0deg);
}

.drop-down-list.visible .icon, .entry-label .icon {
    transform: rotate(90deg);
}

.consent-management-link p {
    margin-bottom: 0;
}

.consent-management-link {
    margin-bottom: 14px;
}

.entry-details {
    overflow: hidden;
    transition: max-height 500ms;
    text-align: left;
}

.collapsed .entry-details {
    max-height: 0;
}

.alert-secondary {
    color: #383d41;
    background-color: #e2e3e5;
    border-color: #d6d8db;
}

.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-top: 0.25rem;
    border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-radius: .25rem;
}


.quick-navigation {
    background-color: transparent;
    justify-content: center;
    margin: 25px auto 10px auto;
}

.quick-navigation .list-group-item {
    background-color: transparent;
}


.list-group-horizontal {
    flex-direction: row;
}

.list-group-horizontal .list-group-item:first-child {
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
    border-top-right-radius: 0;
}
.list-group-horizontal .list-group-item {
    margin-right: -1px;
    margin-bottom: 0;
    border-width: 0;
}

.list-group-horizontal .list-group-item:last-of-type {
    border-left-width: 1px;
}

.list-title {
    margin-top: 20px;
    border-top: 0;
}

.vendor-details-list {
    margin: 10px auto;
}

.vendor-details-list .list-group-item {
    padding: 0.25rem 0.5rem;
}

.list-group-item.active {
    background-color: #27695e;
    border-color: #27695e;
}

.purpose-legitimate-interest .toggle-switch {
    margin-left: 0;
    transform: scale(0.9);
}



.footer-mode {
    display: flex !important;
    justify-content: center;
    align-items: flex-end;
}

.footer-mode .close {
    position: absolute;
    top: 2px;
    right: 8px;
    font-size: 2rem;
}

.modal-backdrop.footer-mode {
    opacity: 0.2;
}

.footer-dialog {
    width: 100%;
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
}

.footer-dialog .modal-content {
    border: none;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    flex-direction: row;
    padding: 10px;
}

.footer-mode .welcome {
    font-size: 12px;
    max-height: calc(40vh + 20px);
    min-height: 150px;
    overflow: auto;
}

@media (max-width: 540px) {
    .footer-dialog .modal-content {
        flex-direction: column;
    }

    .footer-mode .close {
        top: 1px;
        right: 2px;
    }

    .footer-dialog .modal-content .main-controls {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-dialog .modal-content .main-controls button {
        display: inline-block;
        max-width: 150px;
    }

    .footer-dialog .modal-content .main-controls button:first-of-type {
        margin-right: 10px;
    }

    .footer-dialog .modal-content .main-controls a {
        display: block;
    }

    .footer-dialog .modal-content .flex-line-break {
        display: block;
        height: 0;
        flex-basis: 100%;
    }
}

.footer-dialog .main-controls {
    width: 150px;
    flex-shrink: 0;
    text-align: center;
}

.footer-dialog .main-controls button {
    display: block;
    width: 100%;
    margin-bottom: 6px;
    white-space: normal;
}

.footer-dialog .main-controls a {
    display: inline-block;
    margin: 9px auto 0;
}

.footer-dialog .flex-line-break {
    display: none;
}

.footer-dialog #exampleModalLabel, .footer-dialog h5 {
    margin: 0;
}

.footer-dialog #exampleModalLabel {
    font-size: 16px;
}

.footer-dialog .right-column, .footer-dialog .main-controls {
    margin-top: 25.5px;
}

@media (max-width:767px) {
    .footer-dialog .right-column{
        margin-top: 0;
    }
}

.settings-view .footer-dialog {
    max-width: 1200px;
}

.welcome-switch {
    position: absolute;
    top: -20px;
}

.footer-mode .welcome p:not(:last-of-type) {
    margin-bottom: 3px;
}

@media (max-width:767px) {
    .footer-mode .border-right {
        border-right: 0 !important;
    }

    .footer-mode .right-column.border-top {
        padding-top: 30px;
    }

    .footer-mode .right-column.border-top a {
        top: 10px;
    }
}

@media (min-width: 768px) {
    .footer-mode .right-column.border-top {
        border-top: 0 !important;
    }
}

.btn-inactive {
    pointer-events: none;
    opacity: 0.3;
}

.close.btn-inactive {
    opacity: 0.1;
}



/*!
 *  Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
 *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
 */
@font-face {
    font-family: 'icomoon';
    src: url('icomoon.woff?d4l514') format('woff');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-info-circle:before {
    content: "\f05a";
}
.icon-external-link:before {
    content: "\f08e";
}
.icon-angle-right:before {
    content: "\f105";
}

.leg-int-indicator {
    color: #27695e;
    display: none;
}

.leg-int-indicator.visible {
    display: inline;
}

div.list-item {
    position: relative;
    padding-left: 15px;
}

div.list-item::before {
    content: "\2713";
    display: block;
    position: absolute;
    left: 0;
}

.device-storage-info {
    display: inline-block;
    position: relative;
}

.device-storage-info button.additional-information {
    white-space: break-spaces;
    width: 100%;
}

.device-storage-info button.close {
    padding-right: 4px;
}

.device-storage-info-tooltip {
    box-shadow: 0 0.5rem 2rem rgba(0,0,0,.4), 0 -0.5rem 2rem rgba(0,0,0,.4) !important;
    display: flex;
    flex-flow: column;
    z-index: 5;
    position: absolute;
    background-color: #ffffff;
    border-radius: .3rem;
    left: 0;
    bottom: 100%;
    width: 500px;
    height: 40vh;
    word-wrap: break-word;
}

@media (max-width:1000px) {
    .device-storage-info-tooltip {
        width: min(100vh, max(100%, 300px));
        left: 50%;
        transform: translateX(-50%);
    }
}

.tooltip-body {
    overflow: auto;
    padding: 0 min(15px, 5%) 15px min(15px, 5%);
}

.device-storage-info-tooltip .card-header {
    padding: 0.2rem 0.2rem 0.2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.device-storage-info-tooltip .card-header h5 {
    font-size: 14px;
    font-weight: bold;
}

.device-storage-info-tooltip .card-title {
    margin-top: 0px;
    margin-bottom: 0px;
}

.device-storage-info-tooltip .list-group-item {
    padding: 0.2rem 0.5rem;
}

.loader {
    position: absolute;
    top: calc(50% - 9px);
    left: 0;
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    color: #acacac;
    pointer-events: none;
}

.list-group-item.active {
    z-index: unset;
}