*, *:before, *:after {
  box-sizing: border-box;
}

#cookie-notification-content {
	background: #222222;
    bottom: 0px;
    color: #ffffff;
    display: none;
    font-family: Arial, sans-serif;
    font-size: 14px;
    left: 0;
	margin: 0px auto;
	padding: 25px 25px 15px;
    position: fixed;
    right: 0;
	text-align: center;
    width: 100%;
	z-index: 1111111;

}

#cookie-notification-content.pending {
	display: block;
}

#cookie-notification-content.pending a {
    text-decoration: underline;
}

#cookie-notification-content p.cn_message, #cookie-notification-content .cn_button_wrapper {
    margin: 0 auto;
    max-width: 1024px;
    width: 100%;
}

#cookie-notification-content p.cn_message{
    margin: 0 auto 10px;
}

#cookie-notification-content button, #cookie-notification-content a.cn_link {
	background: transparent;
    border: 1px solid #ffffff;
    border-radius: 2px;
    color: white;
    display: inline-block;
    font-size: 14px;
    height: 38px;
    margin: 10px;
    padding: 10px 20px;
    text-decoration: none;

}

#cookie-notification-content button:hover, #cookie-notification-content a.cn_link:hover {
	background: #ffffff;
	color: #000000;
	cursor: pointer;
    -webkit-transition: .5s background ease-in-out,.2s color ease-in-out;
    -ms-transition: .5s background ease-in-out,.2s color ease-in-out;
    transition: .5s background ease-in-out,.2s color ease-in-out;
}

#cookie-notification-content a.cn_link::after {
	display: none;
}


#cookie-notification-content .cookie-notification-close {
    background: #ffffff;
    border: 1px solid #fff;
    border-radius: 15px;
    color: #222222;
    cursor: pointer;
    float: right;
    font-size: 20px;
    height: 30px;
    margin: -10px auto 0;
    padding: 1px;
    width: 30px;

}

@media only screen and (max-width: 768px) {
    #cookie-notification-content, #cookie-notification-content button, #cookie-notification-content a.cn_link {
        font-size: 12px;

    }
}

@media only screen and (max-width: 420px) {
    #cookie-notification-content {
        padding: 25px 25px 15px;
    }

    #cookie-notification-content .cn_button_wrapper {
        align-content: stretch;
        -webkit-align-content: stretch;
        -ms-flex-line-pack: stretch;

        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;

        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;

    }

    #cookie-notification-content .cn_button_wrapper button, #cookie-notification-content .cn_button_wrapper a.cn_link {
        margin: 5px;
        padding: 10px;
        width: -moz-calc(50% - 10px);
        width: -webkit-calc(50% - 10px);
        width: -o-calc(50% - 10px);
        width: calc(50% - 10px);
        width: expression(50% - 10px);

    }

    /* Single button */
    #cookie-notification-content .cn_button_wrapper button {
        margin: 5px auto;
    }

    /* Two buttons */
    #cookie-notification-content .cn_button_wrapper button + button {
        margin: 5px;
    }

    /* Two buttons plus <a> */
    #cookie-notification-content .cn_button_wrapper button + button + a.cn_link {
        flex-grow: 1;
        width: 100%;
    }


}