.user-modules_container {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    padding-top: 6px;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
}

.user-modules_templates {
    display: flex;
    flex-direction: column;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.user-modules_templates__item {
    background-color: var(--theme-secondary-color);
    margin-bottom: 8px;
}

.user-modules_templates__item:last-child {
    margin-bottom: 0;
}

.user-modules_templates__item,
.user-modules_notes__item {
    padding: 4px 0;
}

.user-modules_notes__edit,
.user-modules_templates__add-new {
    background-color: #1A2C4B !important;
}

.user-modules_notes {
    display: flex;
    flex-direction: column;
}

.user-modules_templates {
    width: 100%;
}

.user-modules_timer {
    border-top: 1px solid #aaa;
    margin-top: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    display: none;
}

.modules_timer__values {
    line-height: 1;
    font-size: 26px;
    margin-bottom: 8px;
}

.user-modules_timer button {
    padding: 4px 20px;
    width: 84px;
}

.modules_timer__start,
.um-controls_save {
    background-color: #198754 !important;
}

.modules_timer__stop,
.um-controls_delete {
    background-color: #bb2d3b !important;
}

.modules_timer__pause,
.um-controls_copy {
    background-color: #ffc107 !important;
}

.mce-btn button {
    background: none !important;
}

.modal .um-controls {
    padding-top: 12px;
}

.modal button:disabled,
.modal input:disabled {
    opacity: 0.5;
}

.modal .um-controls_left,
.modal .um-controls_right {
    display: flex;
    justify-content: space-between;
}

#umNotesModal .um-controls_left {
    padding-bottom: 12px;
}

.modal .um-controls_right {
    flex-direction: column;
}

.modal .um-controls_right .form-check-wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.modal .um-controls .loader-icon {
    width: 30px;
    height: 30px;
    margin: 0;
    margin-right: 2px;
}

.modal .um-controls .hidden {
    opacity: 0;
}

.modal .um-controls .loader-icon.hidden {
    opacity: 0;
}

#umTemplateModal input[name="title"] {
    margin: 0;
    padding: 5px 10px;
    font-family: Jost;
    font-weight: 700;
    color: #203b48;
    font-size: 18px;
    max-width: 90%;
}

#umTemplateModal .um-controls {
    display: flex;
    justify-content: space-between;
}

#umNotesModal .um-controls_save {
    order: 2;
    margin-top: 12px;
}

@media (min-width: 768px) {
    .user-modules_timer {
        display: block;
    }
}

@media (min-width: 480px) {
    .user-modules_container {
        flex-direction: row;
        justify-content: space-between;
    }

    .user-modules_templates {
        margin-bottom: 0;
    }

    .user-modules_templates__item,
    .user-modules_notes__item {
        min-width: 200px;
    }

    .user-modules_timer {
        margin-top: 8px;
    }

    .modal .um-controls_right {
        flex-direction: row;
    }

    .modal .um-controls_right .form-check-wrap {
        justify-content: space-between;
        align-items: center;
        flex-grow: 1;
    }

    .modal .um-controls .loader-icon {
        margin-right: 8px;
        margin-left: 8px;
    }

    #umNotesModal .um-controls_save {
        margin-top: 0;
    }
}

@media (min-width: 1200px) {

    .user-modules_container {
        margin: 0;
        padding: 0;
        border: none;
    }

    .user-modules_left {
        width: 180px;
        position: fixed;
        top: 230px;
        left: 0;
        background: #fff;
        padding: 4px 4px 4px 0;
        border: 1px solid #aaa;
        border-left: none;
    }

    .user-modules_right {
        width: 180px;
        position: fixed;
        top: 230px;
        right: 0;
        background: #fff;
        padding: 4px 0 4px 4px;
        border: 1px solid #aaa;
        border-right: none;
    }

    .user-modules_templates__item,
    .user-modules_notes__item {
        min-width: auto;
        padding: 4px 12px;
    }
}

@media (min-width: 1500px) {
    .user-modules_left {
        width: 220px;
    }

    .user-modules_right {
        width: 220px;
    }
}