.cc_div {
    width: 50%;
    height: 174px;
    border: 2px solid #ccc;
    padding: 10px 20px 10px 20px;
    box-shadow: 10px 5px 10px 0px #ccc;
    background-color: #fff;
}

.c-m {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.c-title {
    font-family: sans-serif;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #707070;
}

.c-txt {
    max-width: 90%;
    font-family: sans-serif;
    line-height: 20px;
    font-size: 12px;   
    color: #707070; 
}

.c-m-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    width: 70%;
    height: 100%;
    margin-top: 20px;
}

.c-btns {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    width: 30%;
    height: 100%; 
}

.c-bn {
    max-height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
    font-size: 12px;
    color: white;
    border: none;
    outline: none;
    padding: 10px 0px;
    min-width: 200px;
    max-width: 200px;
    margin: 5px 0;
    cursor: pointer;
}

.c-bn:hover {
    opacity: 0.8;
}

.s-m {
    width: 50%;
    height: 80%;
    padding: 10px 20px 10px 20px;
    border: 1px solid #ccc;
    box-shadow: 10px 5px 10px 0px #ccc;
    background-color: #fff;
    overflow-y: auto;
}

.s-m-close-btn {
    cursor: pointer;
    font-family: sans-serif;
    font-size: 20px;
}

.s-m-list-title {
    font-family: sans-serif;
    font-size: 17px;
    color: #707070;
    margin-top: 10px;
}

.s-m-option-head {
    display: flex;
    align-items: center;
    padding: 20px;
    max-height: 65px;
    border: 1px solid #ccc;
    cursor: pointer;
    font-family: sans-serif;
    position: relative;
}

.s-m {
    padding: 20px;
}

.s-m-content {
    height: 90%;    
    margin-top: 20px;
    padding-right: 5px;
}

/* width */
.s-m::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.s-m::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.s-m::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
.s-m::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.s-m-option {
    width: 100%;
    min-height: 20px;        
}

.opt-icon {
    min-width: 20px;
    font-size: 20px;
}

.s-m-title {
    font-family: sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #707070;
}

.s-m-txt {
    max-width: 100%;
    font-family: sans-serif;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 26px;
    color: #707070;
}

.s-m-option-description {
    font-family: sans-serif;
    visibility: hidden;
    height: 0;
    background-color: #e6e6e6;
    padding: 2px 20px 2px 20px;
    line-height: 26px;
}

.opt-active {
    visibility: visible;
    height: auto;
}

.s-m-bn {
    max-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
    font-size: 16px;
    color: white;
    border: none;
    outline: none;
    padding: 10px 10px;
    min-width: 200px;
    max-width: 250px;
    margin: 10px 0px;
    cursor: pointer;
}

.s-m-bn:hover {
    opacity: 0.8;
}

.always-active {
    position: absolute;
    right: 40px;
}

.checkbox-wrapper {
    display: block;
    width: 45px;
    height: 25px;
    cursor: pointer;
    position: absolute;
    right: 40px;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkbox-wrapper input[type="checkbox"]:checked+.checkbox-slider {
    background-color: #44cc66;
}

.checkbox-wrapper .checkbox-slider {
    background-color: #ccc;
    position: absolute;
    border-radius: 100px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;    
}

.checkbox-wrapper .checkbox-knob {
    position: absolute;
    -webkit-transition: left 300ms ease;
    transition: left 300ms ease;
}

.checkbox-wrapper input[type="checkbox"]:checked+.checkbox-slider .checkbox-knob {
  left: calc(100% - 19px - 3px);
}

.checkbox-wrapper .checkbox-knob {
  width: calc(25px + 6px);
  height: calc(25px + 6px);
  border-radius: 50%;
  left: -3px;
  top: -3px;
  background-color: #fff;
  -webkit-box-shadow: 0 2px 6px rgba(153, 153, 153, 0.75);
  box-shadow: 0 2px 6px rgba(153, 153, 153, 0.75);
}

.s-m-btns-footer {
    display: flex;
    justify-content: end;
}

@media screen and (max-width: 1280px) {
    .cc_div {        
        height: 120px;        
    }

    .c-title {
        font-size: 10px;        
    }
    
    .c-txt {        
        font-size: 9px;
        line-height: 14px;        
    }

    .c-bn {    
        max-height: 26px;    
        font-size: 9px;        
        padding: 10px 0px;
        min-width: 150px;
        max-width: 150px;
        margin: 5px 0;
        cursor: pointer;
    }

    .c-m-content {
        margin-top: 10px;
    }

    .s-m {
        width: 50%;
        height: 80%;
        padding: 10px 20px 10px 20px;
        border: 1px solid #ccc;
        box-shadow: 10px 5px 10px 0px #ccc;
    }
    
    .s-m-close-btn {        
        font-size: 16px;
    }
    
    .s-m-list-title {        
        font-size: 10px;
    }
    
    .s-m-option-head {
        padding: 10px;
        font-size: 10px;
    }
    
    .s-m {
        padding: 10px;
    }
    
    .opt-icon {        
        font-size: 16px;
    }
    
    .s-m-title {
        font-size: 10px;
    }
    
    .s-m-txt {
        font-size: 10px;
        line-height: 14px;
    }
    
    .s-m-option-description {
        font-size: 9px;
        line-height: 14px;
    }
    
    .s-m-bn {
        max-height: 26px; 
        font-size: 9px;
        padding: 10px 0px;
        min-width: 150px;
        max-width: 150px;
    }
    
    .always-active {
        right: 20px;
    }
    
    .checkbox-wrapper {
        width: 25px;
        height: 10px;
        right: 20px;
    }

    .checkbox-wrapper .checkbox-knob {
        width: calc(10px + 6px);
        height: calc(10px + 6px);
    }

    .checkbox-wrapper input[type="checkbox"]:checked+.checkbox-slider .checkbox-knob {
        left: calc(100% - 10px - 3px);
    }
}

@media screen and (max-width: 768px) {
    .cc_div {        
        width: 90%;
        height: 218px;
        margin-left: -46.8% !important;  
        padding: 5px;      
    }

    .c-m {
        flex-direction: column;
    }

    .c-m-content {
        width: 100%;
        margin-top: 5px;
        align-items: center;
    }

    .c-title {
        margin-bottom: 5px;
    }

    .c-txt {
        max-width: 90%;
        text-align: center;
    }

    .c-btns {  
        width: 100%;
        align-items: center;
        padding-bottom: 15px;
    }     

    .c-bn {
        padding: 10px;
        min-width: 90%;        
        margin: 5px;
    }

    .s-m {
        width: 90%;
        height: 60%;
        margin-left: -47.8% !important;   
        bottom: 18% !important;    
    }

    .s-m-close-btn {
        right: 12px !important;
    }
}