.cm-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: all ease 1s;
    transition: all ease 1s;
    padding: 1em;
    font-family: sans-serif;
    font-size: 110%;
    background: rgba(0,0,0,0.75);
    color: #c8c8c8
}

.cm-notice-description {
    display: block;
    clear: both
}

.cm-notice-buttons {
    display: block;
    clear: both
}

.cm-notice button {
    border: none;
    color: #fff;
    background: #4F6F18;
    padding: 0.5em 1em;
    text-align: center;
    white-space: nowrap;
    font-size: 88%;
    width: auto
}

    .cm-notice button.cm-notice-btn-settings {
        background: transparent
    }

@media (min-width: 768px) {
    .cm-notice-buttons {
        position: absolute;
        right: 1em
    }
}

.cm-notice a, .cm-notice a:active, .cm-notice a:hover, .cm-notice a:visited {
    color: white;
    border: none
}

.cm-modal-mask {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.35);
    z-index: 8999
}

.cm-modal {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 320px;
    max-width: 540px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    overflow: hidden;
    -webkit-box-shadow: 0 0 1em rgba(0,0,0,0.5);
    box-shadow: 0 0 1em rgba(0,0,0,0.5);
    z-index: 11;
    background: #fff;
    padding: 1em;
    z-index: 9999;
    color: rgba(0,0,0,0.8) !important;
    font-family: sans-serif;
    font-size: 99%
}

.cm-modal-title {
    display: block;
    font-size: 132%
}

.cm-modal-intro {
    color: rgba(0,0,0,0.8);
    display: block;
    font-size: 88%;
    margin: 0;
    padding: 1em 0
}

.cm-modal-policy-link {
    color: #4F6F18;
    float: right;
    line-height: 40px
}

.cm-modal label {
    color: rgba(0,0,0,0.8);
    display: block;
    font-weight: bold
}

.cm-modal button {
    border: none;
    color: #fff;
    display: inline-block;
    background: #4F6F18;
    padding: 0.5em 1em;
    text-align: center;
    white-space: nowrap;
    font-size: 88%;
    width: auto
}

.cm-modal-btn-close, .cm-modal-btn-close:active, .cm-modal-btn-close:hover, .cm-modal-btn-close:visited {
    position: absolute;
    top: 0.25em;
    right: 0.25em;
    font-size: 220%;
    border: none;
    width: auto
}

.cm-modal-option-checkbox {
    float: right
}

.cm-modal-option-title {
    display: block;
    color: rgba(0,0,0,0.8);
    font-weight: bold;
    padding-left: 30px
}

.cm-modal-option-description {
    clear: both;
    display: block;
    font-size: 88%;
    color: rgba(0,0,0,0.6);
    margin-bottom: 1em
}

.cm-hidden {
    display: none
}

.cm-modal input[type=checkbox] {
    position: absolute;
    left: -9999px
}

    .cm-modal input[type=checkbox] + label {
        position: relative;
        display: block;
        padding: 6px 10px 6px 28px;
        cursor: pointer;
        width: 100%;
        color: rgba(0,0,0,0.8);
        display: block;
        font-weight: bold;
        font-size: 99%
    }

        .cm-modal input[type=checkbox] + label:before {
            display: block;
            content: "";
            position: absolute;
            left: 0;
            top: 40%;
            margin: -9px 0 0;
            width: 18px;
            height: 18px;
            line-height: 18px;
            border: 2px solid #ccc;
            text-align: center
        }

    .cm-modal input[type=checkbox]:disabled + label {
        cursor: not-allowed
    }

        .cm-modal input[type=checkbox]:disabled + label:before {
            background: #eee !important;
            color: #999 !important
        }

    .cm-modal input[type=checkbox]:disabled:checked:before {
        background: #ccc !important;
        color: #999 !important
    }

    .cm-modal input[type=checkbox]:checked + label:before {
        content: '\00D7';
        background: none
    }

.cm-notice-btn-settings:hover {
    color: inherit !important;
}
