#cookieconsent {
    position: fixed;
    z-index: 500;
    min-height: 312px;
    max-height: 100%;
    width: 100%;
    max-width: 100%;
    min-width: 280px;
    font-size: 14px;
    line-height: 1.2em;
    bottom: 0;
    left: 50%;
    padding: 15px;
    box-sizing: border-box;
    transform: translate(-50%, 0);
    transition: all .2s;
    background: rgba(255, 255, 255, .95);
}

#cookieconsent.masked {
    transform: translate(-50%, 100%);
    opacity: 0;
    visibility: hidden;
}

#cookieconsent > span {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

#cookieconsent > span:before, #cookieconsent > span:after {
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    left: 50%;
    top: 50%;
    background: white;
}

#cookieconsent > span:after {
    transform: translate(-50%, -50%) rotate(45deg);
}

#cookieconsent > span:before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

#cookieconsent div.inner-cookie-consent {
    display: flex;
    position: relative;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 1064px;
    max-width: 80%;
    margin: 70px auto 0;
    padding: 5px calc(120px + 5vw) 5px 5px;
    box-sizing: border-box;
    color: black;
}

#cookieconsent div.inner-cookie-consent:nth-of-type(2) {
    justify-content: center;
}

#cookieconsent div.inner-cookie-consent p,
#cookieconsent div.inner-cookie-consent h1,
#cookieconsent div.inner-cookie-consent h2,
#cookieconsent div.inner-cookie-consent h3,
#cookieconsent div.inner-cookie-consent h4,
#cookieconsent div.inner-cookie-consent h5,
#cookieconsent div.inner-cookie-consent span {
    line-height: 1em;
}

#cookieconsent div.inner-cookie-consent p {
    padding: 0 30px 0 0;
}

#cookieconsent div.inner-cookie-consent p span {
    line-height: 1.25em;
}

#cookieconsent div.inner-cookie-consent a {
    text-decoration: none;
    transition: all .2s;
}

#cookieconsent div.inner-cookie-consent a:hover {
    /*text-decoration: underline;*/
}

#cookieconsent div.inner-cookie-consent .settings {
    color: rgba(0, 0, 0, .5);
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}

#cookieconsent div.inner-cookie-consent .settings:hover {
    text-decoration: underline;
}

.cookie-accept {
    position: absolute;
    display: inline-block;
    width: 120px;
    top: 80px;
    right: 3vw;
    padding: 18px 2px !important;
    color: #fff;
    background: #000032;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .2s;
    border: 1px solid #000032;
}

.cookie-accept:hover {
    background: transparent;
    color: #000032;
}

.cookie-parameter {
    position: absolute;
    display: inline-block;
    width: 120px;
    right: 3vw;
    padding: 18px 2px !important;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    top: 0;
    color: #000032;
    border: 1px solid #000032;
    transition: all .2s;
}

.cookie-parameter:hover {
    background: #000032;
    color: white;
}

#cookiesettings {
    position: fixed;
    z-index: 500;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    color: black;
    font-size: 14px;
    line-height: 1.2em;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transition: all .2s;
}

#cookiesettings.visible {
    opacity: 1;
    visibility: visible;
}

#cookiesettings.visible div {
    transform: translate(0, 0);
}

#cookiesettings > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 290px;
    height: 100%;
    overflow: auto;
    background: white;
    padding: 30px 15px;
    box-sizing: border-box;
    transform: translate(-100%, 0);
    transition: all .2s;
}

#cookiesettings > div p {
    font-size: 14px;
    padding: .5em 0;
}

#cookiesettings > div p.title {
    font-size: 18px;
    font-weight: 700;
    padding: .5em 0;
}

#cookiesettings > div p.subtitle {
    font-size: 16px;
    font-weight: bold;
    padding: 1.5em 0 .5em 0;
}

#cookiesettings > div a {
    text-decoration: none;
    transition: all .2s;
}

#cookiesettings > div a:hover {
    color: white;
}

#cookiesettings > div button {
    width: 100%;
    margin: 1em 0 0 0;
    text-align: center;
    background: #000035;
    border: 2px solid #000035;
    font-weight: bold;
    color: white;
    font-size: 14px;
    padding: 10px;
    cursor: pointer;
    transition: all .2s;
}

#cookiesettings > div button:hover {
    background: white;
    color: #000035;
}

#cookiesettings > div ul {
    padding: 5px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    cursor: pointer;
}

#cookiesettings > div ul li {
    position: relative;
    list-style-type: none;
}

#cookiesettings > div .toggle {
    position: relative;
    width: 100%;
}

#cookiesettings > div .toggle span {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    left: 50%;
    width: 35px;
    height: 20px;
    background: #e6e6e6;
    border-radius: 40px;
    transition: all .2s;
}

#cookiesettings > div .toggle span:before, #cookiesettings > div .toggle span:after {
    content: '';
    position: absolute;
    left: 1px;
    top: 1px;
    background: white;
    border-radius: 40px;
    transition: all .2s;
}

#cookiesettings > div .toggle span:before {
    width: calc(100% - 2px);
    height: calc(100% - 2px);
}

#cookiesettings > div .toggle span:after {
    height: calc(20px - 2px);
    width: calc(20px - 2px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, .16), 0 3px 1px rgba(0, 0, 0, .1);
}

#cookiesettings > div .toggle.active span {
    background: #000035;
}

#cookiesettings > div .toggle.active span:before {
    transform: scale(0);
}

#cookiesettings > div .toggle.active span:after {
    transform: translate(1rem, 0);
}

#cookiesettings > div .close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

#cookiesettings > div .close:before, #cookiesettings > div .close:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 2px;
    background: #000032;
}

#cookiesettings > div .close:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

#cookiesettings > div .close:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.cookie_config {
    cursor: pointer;
}