.c-window {
    position: fixed;
    overflow: hidden;
    box-sizing: border-box;
    font-family: sans-serif;
    font-size: 1rem;
    line-height: 1.5em;
    display: block;
    z-index: 99999;
    background: rgba(240, 240, 240, 0.9);
    border: 1px solid rgba(175, 175, 175, 0.9);
    opacity:1;
    transition: opacity 1s ease;
}

.c-window.c-invisible {
    opacity:0;
    bottom: -5em !important;
    pointer-events: none;
}

.c-window {
    padding: 1.5rem;
    width: 100%;
    left: 20px;
    bottom: 20px;
    border-width: 1px;
}

.c-window .btn {
    display: inline-block;
    width: calc(50% - 10px);
    margin: 0px;
    margin-right: 10px;
    float: left;
}

@media (min-width: 768px) {
    .c-window {
        max-width: 24em;
    }
}

.c-window .c-accept {
    margin-right: 0px;
    margin-left: 10px;
}

.c-message p {
    text-align: left !important;
}

.c-notice .c-accept {
    width: 100%;
    margin: 0px;
    display: block;
}

@media (max-width:767px) {
    .c-window {
        display: block;
        left: 0px;
        bottom: 0px;
    }
}

.c-window.c-granular {
    background: #FFF;
    border: none;
    left: 10%;
    bottom: 0px;
    width: 80%;
    box-shadow: 0px 0px 40px rgba(0,0,0,0.35);
    overflow: auto;
    max-height: 100vh;
    font-size: 15px;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    transition: .2s ease;
    max-width: 100%;
    padding: 0px;
}

.c-window.c-granular.act {
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
}

.c-window.c-granular .c-message,
.c-window.c-granular .c-compliance {
    padding: 1.5rem 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.c-window.c-granular .c-compliance {
    display: none;
}

.c-window.c-granular .c-compliance:before {
    content: "";
    width: calc(100% - 3rem);
    height: 1px;
    background: #D8DEE3;
    position: absolute;
    left: 1.5rem;
    top: 0;
}

.c-window.c-granular .switch {
    position: absolute;
    left: 0;
    top: 1px;
    width: 44px;
    height: 20px;
}

.c-window.c-granular .switch input {
    display: none;
}

.c-window.c-granular .switch .slider {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: #97ABB4;
    left: 0px;
    top: 0px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.c-window.c-granular .switch .slider:before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    position: absolute;
    left: 2px;
    top: 2px;
    background: #FFF;
    transition: left 0.2s ease;
}

.c-window.c-granular .switch input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.c-window.c-granular .switch input:checked + .slider {
    background-color: #2EB201;
}

.c-window.c-granular .switch input:checked + .slider:before {
    left: calc(100% - 16px - 2px);
}

.c-window.c-granular .c-group {
    padding-left: 75px;
    position: relative;
}

.c-window.c-granular .row {
    display: flex;
    flex-wrap: wrap;
}

.align-items-center {
    align-items: center !important;
}

.align-items-end {
    align-items: flex-end !important;
}

.c-window.c-granular .btn {
    width: 100%;
    margin: 0 0 10px 0;
    float: right;
    position: relative;
}

.c-window.c-granular .btn span {
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    line-height: 1.1em;
    padding: 0 20px;
}

.c-window.c-granular .c-trigger {
    margin-bottom: 1.5rem;
    transition: opacity 0.2s ease;
}

.c-window.c-granular .c-trigger.hide {
    opacity: 0;
}

.c-window.c-granular .c-custom {
    margin-bottom: 1.5rem;
    float: right;
}

.c-window.c-granular.hasIcon .text {
    padding-left: 85px;
}

.c-window.c-granular.hasIcon .text .icon {
    position: absolute;
    left: 10px;
    top: 50%;
    -webkit-transform: translateY(-50%) translateY(-0.75rem);
    -moz-transform: translateY(-50%) translateY(-0.75rem);
    -ms-transform: translateY(-50%) translateY(-0.75rem);
    transform: translateY(-50%) translateY(-0.75rem);
    max-width: 56px;
    height: auto;
}

@media (max-width:1301px) {
    .c-window.c-granular {
        width: 100%;
        left: 0px;
    }
    
    .c-window.c-granular .c-group {
        padding-left: 55px;
    }
    
    .c-window.c-granular.hasIcon .text {
        padding-left: 10px;
    }
    
    .c-window.c-granular.hasIcon .text .icon {
        display: none;
    }
    
    .c-window div[class^="col"] {
        width: 100%;
    }
}