/* ==========================================================================
   @author: Thomas Rambaud
   @website: https://bonapp.studio
   @copyright 2021
   ========================================================================== */
.mgdpr-hidden {
    border: 0!important;
    clip: rect(1px,1px,1px,1px)!important;
    -webkit-clip-path: inset(50%)!important;
    clip-path: inset(50%)!important;
    height: 1px!important;
    margin: -1px!important;
    overflow: hidden!important;
    padding: 0!important;
    position: absolute!important;
    width: 1px!important;
    white-space: nowrap!important;
}

.mgdpr-popup {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    display: none;
    font-size: 16px;
}

.mgdpr-valign1 {
    display: table;
    width: 100%;
    height: 100%;
}

.mgdpr-valign2 {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

.mgdpr-valign3 {
    display: inline-block;
    width: 100%;
}

.mgdpr-popup-content {
    background: #fff;
    padding: 32px;
    box-sizing: border-box;
    max-width: 850px;
    margin: auto;
    border-radius: 4px;
    max-height: 80vh;
    overflow: auto;
    position: relative;
}

.mgdpr-close {
    font-size: 22px;
    position: absolute;
    width: 40px;
    height: 40px;
    text-align: center;
    top: 10px; 
    right: 10px;
    cursor: pointer;
}

.mgdpr-title {
    font-weight: bold;
    font-size: 22px;
    line-height: 32px;
    margin-bottom: 20px;
}

.mgdpr-text {
    line-height: 21px;
}

.mgdpr-buttons {
    text-align: right;
    margin-top: 30px;
}

.mgdpr-button {
    background: #000;
    border: solid 2px #000;
    border-radius: 24px;
    padding: 10px 20px;
    text-align: center;
    color: #fff;
    transition: all 150ms linear;
    text-decoration: none;
}

.mgdpr-button:hover {
    background: none;
    color: #000;
}

.mgdpr-buttons .mgdpr-button {
    margin-right: 10px;
}

.mgdpr-buttons .mgdpr-button:last-child {
    margin-right: 0;
}

.mgdpr-popup a:not(.mgdpr-button) {
    color: #000;
    text-decoration: underline;
}

.mgdpr-popup a:not(.mgdpr-button):hover {
    text-decoration: none;
}

.mgdpr-hr {
    height: 1px;
    background: #ddd;
    margin: 15px 0;
}

.mgdpr-cookiescategory-title {
    color: #727272;
    margin-bottom: 10px;
}

.mgdpr-cookiescategory-text {
    margin-bottom: 10px;
}

.mgdpr-cookie {
    margin-bottom: 15px;
    position: relative;
    padding-right: 65px;;
}

.mgdpr-cookie:last-child {
    margin-bottom: 0;
}

.mgdpr-cookie-title {
    font-weight: bold;
    font-size: 18px;
}

.mgdpr-cookie-readmore {
    font-size: 14px;
}

.mgdpr-cookie-mention {
    font-size: 14px;
    color: #727272;
}

.mgdpr-toggle {
    border: 0;
    margin: 0;
    padding: 0;
    width: auto;
    overflow: visible;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: inherit;
    text-transform: inherit;
    line-height: inherit;
    -webkit-font-smoothing: inherit;
    -moz-osx-font-smoothing: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    cursor: pointer;
}

.mgdpr-toggle::before {
    content: "";
    display: block;
    width: 44px;
    height: 24px;
    border-radius: 19px;
    background-color: #909090;
    transition: background-color .15s;
}

.mgdpr-toggle.active::before {
    background-color: #4ba40b;
}

.mgdpr-toggle::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 2px;
    left: 2px;
    border-radius: 50%;
    background-color: #fff;
    transition: all .15s;
}

.mgdpr-toggle.active::after {
    transform: translate3d(20px,0,0);
}

.mgdpr-cookie .mgdpr-toggle {
    position: absolute;
    top: 0;
    right: 0;
}

.mgdpr-canttoggle {
    opacity: 0.5;
}

#mgdpr-savepreferences {
    width: 100%;
    display: block;
    box-sizing: border-box;
    margin: 30px auto 0 auto;
    max-width: 400px;
}

.mgdpr-if {
    width: 100%; 
    display: block;
    margin: auto;
    background: #e9e9e9;
    
}

.mgdpr-if-text {
    font-size: 24px;
    text-align: center;
    padding: 100px 50px;
    max-width: 690px;
    margin: auto;
    line-height: 36px;
    display: none;
}

.mgdpr-if-text.shown {
    display: block;
}

.mgdpr-if-text a {
    text-decoration: underline;
    cursor: pointer;
}

.mgdpr-if-text a:hover {
    text-decoration: none;
}

@media only screen and (max-width: 800px) {
    .mgdpr-buttons .mgdpr-button {
        display: block;
        margin-top: 10px;
    }
}