#xyl-bg {
    position: fixed;
    background-color: rgba(27, 27, 27, .54);
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: -20;
    display: none;
    align-items: center;
    justify-content: center;
}

#xyl-bg.active {
    display: flex;
    z-index: 99999999;
}

#xyl-consent {
    border-top: 5px solid #0085ad;
    background-color: #fff;
    width: 600px;
    height: auto;
    z-index: 12;
    vertical-align: middle;
    min-width: 600px;
    padding: 25px 25px 20px;
    transition: all .5s linear;
}

#xyl-consent>section {
    margin-top: 20px;
}

#xyl-consent>section>select {
    padding: 5px 35px 5px 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    height: 34px;
    width: inherit;
}

#xyl-consent>div {
    display: none;
    max-height: 0px;
    transition: 1s visibility;
}

#xyl-consent>div.active {
    display: inline-block;
    max-height: 600px;
    animation: fadein 1s ease-in-out;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#xyl-consent>div>p {
    margin-bottom: 0;
    margin-top: 30px;
    display: block;
    text-align: center;
}

#xyl-consent>div>div.indented {
    margin-left: 90px;
}

#xyl-consent>div>img {
    float: left;
    padding-right: 20px;
    width: 90px;
}

#xyl-consent>div>div>span {
    font-family: AvenirNextLTPro-Bold, sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #0085ad;
}

#xyl-consent>div>div>span.leadin {
    font-size: 10px;
    display: block;
    color: #aeb0af;
}

#xyl-consent>div>div>p {
    font-family: AvenirNextLTPro-Regular, sans-serif;
    font-size: 15px;
    line-height: 25px;
    padding-top: 5px;
    padding-bottom: 10px;
    color: #73777c;
}

#xyl-consent>div>div>p>b {
    font-weight: bold;
}

#xyl-consent>div>div>p.scroll {
    max-height: 500px;
    overflow: scroll;
}

#xyl-consent>div>div>a {
    font-family: AvenirNextLTPro-Bold, sans-serif;
    line-height: 0.813rem;
    letter-spacing: -.01rem;
    color: #fff;
    -moz-border-radius: 1rem;
    -webkit-border-radius: 1rem;
    border-radius: 2rem;
    background-color: #0085ad;
    display: inline-block;
    padding: 10px 20px;
    margin-right: 5px;
    font-size: 14px;
    font-weight: 400;
}

#xyl-consent>div>div>a:hover {
    background-color: #1ea0c8;
    text-decoration: none;
}

#xyl-consent>div>div>a.inverted {
    color: #AFAFAF;
    background-color: #EFF1F2;
}

#xyl-consent>div>div>a.inverted:hover {
    color: #EFF1F2;
    background-color: #AFAFAF;
}

@media screen and (max-width: 620px) {
    #xyl-consent {
        width: 100%;
        min-width: inherit;
        margin-left: 20px;
        margin-right: 20px;
    }
    #xyl-consent>div>div>p {
        padding: 0px;
        margin-top: 30px;
    }
    #xyl-consent>div>div>a {
        margin-bottom: 10px;
    }
    #xyl-consent>div>div.indented {
        margin-left: 0px;
    }
}

#xyl-cookie-config{
    position: fixed;
    left: -3px;
    border: 3px solid #2d819e;
    width: 40px;
    height: 40px;
    display: block;
    bottom: 10%;
    border-radius: 5px;
}

#xyl-cookie-config a{
    display: block;
    height: 100%;
    background-image: url('https://www.xylem.com/globalassets/gdpr/icon-gdpr-privacy.png');
    background-size: contain;
    cursor: pointer;
}

@media screen and (max-width: 380px) {
    #xyl-consent>div>div>p,
    #xyl-consent>div>div>p.scroll,
    #xyl-cookie-customize {
        max-height: 340px;
        overflow: scroll;
    }
}

@media screen and (max-width: 340px) {
    #xyl-consent>div>div>p,
    #xyl-consent>div>div>p.scroll,
    #xyl-cookie-customize {
        max-height: 200px;
        overflow: scroll;
    }
}

@media only screen and (max-device-height: 440px) and (orientation: landscape) {
    #xyl-consent>div>div>p,
    #xyl-consent>div>div>p.scroll,
    #xyl-cookie-customize {
        max-height: 180px;
        overflow: scroll;
    }
}

@media only screen and (max-device-height: 340px) and (orientation: landscape) {
    #xyl-consent>div>div>p,
    #xyl-consent>div>div>p.scroll,
    #xyl-cookie-customize {
        max-height: 120px;
        margin-top: 10px;
        overflow: scroll;
    }
}