html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

/* popup */

.cookie-popup {
    display: block;

    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 700;

    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 0;
    overflow: hidden;

    color: #fff;
    background-color: #2b7430;
    cursor: default;

    -webkit-user-select: none; /* Chrome all / Safari all */
    -moz-user-select: none; /* Firefox all */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Likely future */
}

.cookie-popup:not(.hidden) {
    -webkit-transition: transform 0.3s, background-color 0.2s ease-out 0s;
    -moz-transition: transform 0.3s, background-color 0.2s ease-out 0s;
    -o-transition: transform 0.3s, background-color 0.2s ease-out 0s;
    transition: transform 0.3s, background-color 0.2s ease-out 0s;
}

html:not(.cookie-popup-visible) .cookie-popup {
    transform: translateY(100%);
}

/* popup inner */
.cookie-popup-inner {
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Chrome */
    display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */

    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: normal;

    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.cookie-popup-inner > span {
    display: block;
    min-width: 40px;
    padding-right: 10px;
}

.cookie-popup-inner > span:last-child {
    padding-right: 0;
}

/* link */

.cookie-popup a:not(.cookie-popup-button),
.cookie-popup a:not(.cookie-popup-button):active,
.cookie-popup a:not(.cookie-popup-button):visited {
    margin: 0;
    padding: 0;

    color: #fff !important;
    text-decoration: underline !important;

    font: inherit;
    font-weight: bold !important;
    line-height: inherit;
}

.cookie-popup a:not(.cookie-popup-button):hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* button */

.cookie-popup-button,
.cookie-popup-button:active,
.cookie-popup-button:hover,
.cookie-popup-button:visited {
    display: block;
    margin: 0;

    width: auto;
    height: auto;

    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;

    color: #555;
    background-color: #fafafa;

    font: inherit;
    font-weight: bold;
    line-height: 1 !important;
    text-align: center;

    text-transform: uppercase;
    text-decoration: none !important;

    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .28);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .28);
}

.cookie-popup-button,
.cookie-popup-button:active,
.cookie-popup-button:visited {
    color: #555 !important;
}

.cookie-popup-button:hover {
    color: #333 !important;
    background-color: #f5f5f5;
}

/* bootstrap .container */

.container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.container:before,
.container:after {
    content: " ";
    display: table;
}

.container:after {
    clear: both;
}

@media (min-width: 1200px) {
    .cookie-popup .container {
        width: 1170px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .cookie-popup .container {
        width: 970px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .cookie-popup .container {
        width: 750px;
    }
}

/*mcAfee fix*/

.cookie-popup-visible #mfesecure-ts-image {
    visibility: hidden !important;
}

/* media */

@media (min-width: 992px) {
    .cookie-popup-inner {
        -webkit-justify-content: center;
        justify-content: center;
        -ms-flex-pack: center;
    }
}

@media (min-width: 1200px) {
    .cookie-popup {
        font-size: 13px;
        line-height: 18px;
    }

    .cookie-popup-button,
    .cookie-popup-button:active,
    .cookie-popup-button:hover,
    .cookie-popup-button:visited {
        padding: 7px 10px;
    }

    .cookie-popup a:not(.cookie-popup-button),
    .cookie-popup a:not(.cookie-popup-button):active,
    .cookie-popup a:not(.cookie-popup-button):visited {
        font-size: 14px;
    }
}

@media (max-width: 1199px) {
    .cookie-popup {
        font-size: 12px;
        line-height: 16px;
    }

    .cookie-popup-button,
    .cookie-popup-button:active,
    .cookie-popup-button:hover,
    .cookie-popup-button:visited {
        padding: 9px 10px;
    }

    .cookie-popup.cookie-popup-intercom {
        max-width: 300px;
        margin: 0;

        -webkit-border-radius: 0 4px 0 0;
        -moz-border-radius: 0 4px 0 0;
        border-radius: 0 4px 0 0;
    }

    .cookie-popup.cookie-popup-intercom .container {
        width: auto;
    }

    .cookie-popup.cookie-popup-intercom .cookie-popup-inner {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .cookie-popup.cookie-popup-intercom .cookie-popup-button,
    .cookie-popup.cookie-popup-intercom .cookie-popup-button:active,
    .cookie-popup.cookie-popup-intercom .cookie-popup-button:hover,
    .cookie-popup.cookie-popup-intercom .cookie-popup-button:visited {
        margin-top: 0;
    }

    .cookie-popup.cookie-popup-intercom .cookie-popup-inner > span {
        display: block;
        width: 100%;
        padding: 0;
    }

    .cookie-popup.cookie-popup-intercom .cookie-popup-inner > span:last-child {
        margin-top: 10px;
    }
}

@media (max-width: 479px) {
    .cookie-popup.cookie-popup-intercom {
        max-width: 71%;
    }
}

@media (max-width: 319px) {
    .cookie-popup.cookie-popup-intercom {
        max-width: 68%;
    }
}
