/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

#optra_wc_extra_fields {
    display:grid;
    grid-template-columns: 50% 50%;
    justify-items: stretch;
    width:80%;
    margin:auto;
}
#optra_wc_extra_fields_full_width{
    width:80%;
    margin:auto;
}

#optra_wc_extra_fields_full_width .optra_wc_field,
#optra_wc_extra_fields .optra_wc_field{
    margin-bottom:1rem;
    padding:0 0.7rem;
}

#returned-user-container{
    border: 1px solid #c4c4c4;
}
#returned-user-container li{
    width:100%;
    font-size: 16px;
    margin: 0;
    padding: 12px;
    background: #ffffff;
    border-radius: 0;
    box-shadow: none;
    color: #787878;
    transition: all .5s;
    display:flex;
    align-items: center;
    justify-content: space-between;
}

#returned-user-container li:not(.manual-container):not(.processing-container):nth-child(odd){
    background: #f7f7f7;
    cursor:pointer;
}

#returned-user-container li:not(.manual-container):not(.processing-container):hover{
    background: #cccccc;
    cursor:pointer;
}

#returned-user-container li button.btn.manual{
    font-size:12px;
    width:auto;
}

/* The switch - the box around the slider */
#optra_topics_reminder .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
#optra_topics_reminder .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */


#optra_topics_reminder .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2196F3;
    -webkit-transition: .4s;
    transition: .4s;
}

#optra_topics_reminder input:checked + .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

#optra_topics_reminder .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    right: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

#optra_topics_reminder .slider:after {
    position: absolute;
    content: "on";
    height: 26px;
    width: 26px;
    right: auto;
    left: 6px;
    bottom: 0px;
    font-size:14px;
    -webkit-transition: .4s;
    transition: .4s;
}

#optra_topics_reminder input:checked + .slider:after {
    content: "off";
    right:0;
    left: auto;
}



#optra_topics_reminder input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

#optra_topics_reminder input:checked + .slider:before {
    -webkit-transform: translateX(-26px);
    -ms-transform: translateX(-26px);
    transform: translateX(-26px);
}

/* Rounded sliders */
#optra_topics_reminder .slider.round {
    border-radius: 34px;
}

#optra_topics_reminder .slider.round:before {
    border-radius: 50%;
}

.password-input-container{
    display:flex;
    align-items: center;
    width:100%;
}

.password-input-container input{
    flex-grow: 1;
    margin-right:1rem
}

.nf-field-element input[type="checkbox"][readonly] + label{
    cursor: not-allowed;
    opacity: 0.5;
}