#cm-modal {
    color: #000;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 999999;
    -webkit-transform: scale(1);
    transform: scale(1);
    background-color: rgb(0, 0, 0, 0.2);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    display: none;
    font-family: "Arial", "Tahoma";
    line-height: 1.4em;
}

#cm-modal {
    font-family: "Arial", "Tahoma";
}

#cm-modal p{
    margin-bottom: 10px;
}

#cm-modal #cm-modal-main {
    max-width: 700px;
    margin: 1.75rem auto;
    min-height: calc(100% - (1.75rem * 2));
    background-color: #ffffff;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    pointer-events: auto;
    background-clip: padding-box;
    border-radius: 0.2rem;
    box-sizing: border-box;
    outline: 0;
    padding: 20px;
}

#cm-modal #cm-modal-body {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: calc(100% - (1.75rem * 2));
    padding: 20px;
    border: 4px solid #2b84c7;
}

#cm-modal #cm-close-modal {
    font-size: 31px;
    background-color: #fff;
    border: 4px solid #2b84c7;
    border-radius: 100%;
    cursor: pointer;
    position: absolute;
    right: -18px;
    top: -18px;
    width: 44px;
    text-align: center;
    height: 44px;
}

#cm-modal #cm-close-modal span {
    position: relative;
    top: 3px;
    font-weight: bold;
    font-family: "Arial", "Tahoma";
    font-size: 33px;
}

#cm-modal #cm-title {
    font-size: 22px;
    color: #2b84c7;
}

#cm-modal .cm-show-content {
    color: #2f98da;
    outline: none;
    cursor: pointer;
}

#cm-modal .cm-show-content:hover {
    text-decoration: underline;
}

#cm-modal .cm-hidden-content {
    display: none;
}

#cm-modal .cm-form-element {
    margin-top: 5px;
}

#cm-modal .cm-form-element-content {
    color: #000000;
    background-color: #f2f2f2;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease-out 0.3s, color 0.2s ease-out 0s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#cm-modal .cm-form-link {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #000;
    text-decoration: none;
    padding: 12px 0px 12px 15px;
    width: 100%;
}

#cm-modal .cm-form-link:before {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1px solid #000000;
    border-bottom: 1px solid #000000;
    content: " ";
    transform: rotate(-45deg);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    margin-right: 10px;
}

#cm-modal .cm-form-element-show .cm-form-link:before {
    transform: rotate(45deg);
}

#cm-modal .cm-form-switch {
    display: inline-block;
    position: relative;
    min-height: 1px;
    font-size: 14px;
    width: auto;
    padding: 12px 55px 12px 0px;
}

#cm-modal .cm-form-switch-required {
    min-width: 130px;
    padding-right: 5px;
}

#cm-modal .cm-form-switch-input {
    display: block;
    margin: 0;
    width: 0;
    position: absolute !important;
    left: 0 !important;
    opacity: 0 !important;
}

#cm-modal .cm-form-switch-label {
    border-radius: 34px;
    font-size: 0;
    outline: 0;
    background-color: #e3e1e8;
    height: 19px;
    width: 38px;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
}

#cm-modal .cm-form-switch-label-content {
    display: none;
}

#cm-modal .cm-form-switch-label:before {
    background-color: #ffffff;
    transform: translateX(18px);
    border-radius: 50%;
    bottom: 2px;
    content: "";
    height: 15px;
    left: -16px;
    position: absolute;
    transition: .4s;
    width: 15px;
    cursor: pointer;
}

#cm-modal .cm-form-switch-on .cm-form-switch-label {
    background-color: #29e32c;
}

#cm-modal .cm-form-switch-on .cm-form-switch-label:before {
    left: 3px !important;
}

#cm-modal .cm-form-switch-label:after {
    color: #000000;
    content: attr(data-cli-disable);
    position: absolute;
    right: 50px;
    font-size: 12px;
    text-align: right;
    min-width: 120px;
}

#cm-modal .cm-form-element-description {
    height: 0;
    overflow: hidden;
    width: 100%;
    padding: 0px 20px 0px 20px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

#cm-modal .cm-form-element-show .cm-form-element-description {
    height: 100%;
    padding: 10px 20px 5px 20px;
}

#cm-modal #cm-modal-save {
    margin-top: 20px;
    text-align: right;
}


#cm-banner {
    color: #000;
    --button-text-color: #fff;
    --dark1: #fafafa;
    --dark2: #777;
    --dark3: #555;
    --light1: #444;
    --light2: #666;
    --light3: #111;
    --green3: #f00;
    --notice-bottom: 20px;
    --notice-top: auto;
    --notice-left: 20px;
    --notice-right: auto;
    --notice-max-width: calc(100vw - 60px);
    --notice-position: fixed;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    font-family: "Arial", "Tahoma";
    line-height: 1.4em;
}

#cm-banner p{
    margin-bottom: 10px;
}

#cm-banner #cm-banner-main {
    background-color: #333;
    background-color: var(--dark1, #333);
    z-index: 999;
    position: fixed;
    width: 100%;
    bottom: 0;
    right: 0;
    border-radius: 4px;
    border-radius: var(--border-radius, 4px);
    position: fixed;
    position: var(--notice-position, fixed);
    right: 20px;
    right: var(--notice-right, 20px);
    left: auto;
    left: var(--notice-left, auto);
    bottom: 20px;
    bottom: var(--notice-bottom, 20px);
    top: auto;
    top: var(--notice-top, auto);
    max-width: 400px;
    max-width: var(--notice-max-width, 400px);
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2), 5px 5px 10px 0 rgba(0, 0, 0, 0.19);
}

#cm-banner #cm-banner-body {
    padding: 1em 2em !important;
}

.cm-ok {
    margin-top: -0.5em;
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: right;
    align-items: baseline;
}

.cm-buttons {
    margin-top: 0.5em;
    margin-left: auto;
    margin-right: auto;
}

.cm-btn {
    background-color: transparent !important;
    padding-top: 0.71428571rem !important;
    padding-bottom: 0.71428571rem !important;
    padding-left: 1.07142857rem !important;
    padding-right: 1.07142857rem !important;
    font-size: 12px !important;
    position: relative;
    cursor: pointer;
    border-radius: 4px;
}

.cm-btn:hover {
    transition: .2s ease;
}

#cm-banner #cm-banner-body .cm-decline, #cm-banner #cm-banner-body .cm-granted {
    margin-right: 50px;
}

@media only screen and (max-width: 767px) {

    .cm-btn {
        margin: 10px auto 0px auto !important;
        display: block;
    }

    .cm-buttons a {
        margin-top: 10px;
        display: block;
    }

    #cm-banner-main {
        max-height: -moz-available;
        max-height: -webkit-fill-available;
        overflow: overlay;
    }
}

/*
 Custom colors
 */

#cm-banner #cm-banner-body a {
    color: #2f97d9;
}

.cm-btn {
    color: #2f97d9;
    border: 1px solid #2f97d9;
}

.cm-btn:hover {
    color: #fff;
    background-color: #2f97d9 !important;
    transition: .2s ease;
}

.cm-btn-success {
    color: #fff;
    background-color: #2f97d9 !important;
}

.cm-btn-success:hover {
    color: #2f97d9;
    background-color: transparent !important;
}