.learningplan-modal {
    padding-top: 70px;
}

.learningplan-modal .modal-content {
    background-color: #f8f9fa;
}

.learningplan-modal .modal-dialog {
    max-width: 767px !important;
    display: flex;
    align-items: center;
    height: calc(100% - 3.5rem);
}

.learningplan-modal .modal-content {
    border-radius: 15px;
    margin: 0;
    border: 0;
    overflow: auto;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.20);
}

.learningplan-modal .modal-header {
    position: relative;
    display: block;
    text-align: center;
    background-color: #f8f9fa !important;
}

.learningplan-modal .btn-close {
    position: absolute;
    right: 16px;
    top: 15px;
    background-color: #000;
    border-radius: 50%;
    padding: 5px;
    background-size: 12px;
    z-index: 80;
    opacity: 1;
}

.disabled-time {
    pointer-events: none;
    opacity: .6;
    cursor: none;
}

.learningplan-modal .btn-close:before {
    content: '+';
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    font-size: 23px;
    line-height: .85em;
    transform: rotate(45deg);
}

.learningplan-modal .main-title {
    font-size: 32px;
    line-height: 45px;
    font-weight: 600;
}

.learningplan-modal .modal-body {
    position: relative;
    padding-bottom: 8px;
}

.learningplan-modal .sub-title {
    text-align: center;
    font-size: 14px;
    margin-bottom: 20px;
}

.learningplan-form .row {
    margin-top: 3px;
    height: 45px;
}

.learningplan-modal .time-title {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    background-color: #e3edf7;
    padding: 5px 8px;
    border-radius: 5px;
}

.learningplan-form .timeSelectionForDay {
    position: relative;
    padding-top: 10px;
    padding-bottom: 3px;
}

.learningplan-form .form-check-label.day {
    color: #000;
    font-weight: 500 !important;
}

.learningplan-modal .form-check {
    font-size: 12px;
    margin-top: 5px;
}

.learningplan-modal .form-switch .form-check-input:checked {
    border-color: rgba(4, 188, 89, 0.83);
    background-color: rgba(4, 188, 89, 0.83);
}

.learningplan-modal .form-switch .form-check-input {
    width: 35px;
    height: 18px;
    border: 1px solid #d9d9d9;
    background-color: #D9D9D9;
}

.form-switch .form-check-input:checked {
    background-position: right center;
    background-image: url("data:image/svg+xml,%3csvg xmlns= 'http://www.w3.org/2000/svg' viewBox= '-4 -4 8 8' %3e%3ccircle r= '3' fill= '%23fff' /%3e%3c/svg%3e");
}

.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns= 'http://www.w3.org/2000/svg' viewBox= '0 0 20 20' %3e%3cpath fill= 'none' stroke= '%23fff' stroke-linecap= 'round' stroke-linejoin= 'round' stroke-width= '3' d= 'M6 10l3 3l6-6' /%3e%3c/svg%3e");
}

.form-switch .form-check-input {
    width: 2em;
    margin-left: -2.5em;
    background-image: url("data:image/svg+xml,%3csvg xmlns= 'http://www.w3.org/2000/svg' viewBox= '-4 -4 8 8' %3e%3ccircle r= '3' fill= 'rgba%280, 0, 0, 0.25%29' /%3e%3c/svg%3e");
    background-position: left center;
    border-radius: 2em;
    transition: background-position .15s ease-in-out;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/*.form-check-input[type=checkbox] {*/
/*    border-radius: 0.25em;*/
/*}*/
.form-check .form-check-input {
    float: left;
    margin-left: -1.5em;
}

.form-check-input {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0, 0, 0, .25);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
}

.learningplan-form .row .start-time-col:after {
    content: '';
    width: 10px;
    height: 1px;
    background-color: #adadad;
    position: absolute;
    right: -5px;
    top: 40%;
    transform: translateY(-50%);
}

.learningplan-form .row .start-time-col {
    position: relative;
}

.learningplan-form .input-group {
    position: relative;
    border-bottom: 2px solid #d9d9d9;
}

.learningplan-form .form-control {
    background-color: transparent;
    border: 0;
    border-radius: 0;
    line-height: 1em;
    padding: 0.025rem;
    text-align: center;
}

.learningplan-form .input-group-text {
    padding: 0.05rem;
    border: 0;
    background-color: transparent;
}

.learningplan-form .input-group-text .btn {
    color: #03386f;
}

.input-group .btn {
    position: relative;
    z-index: 2;
}

.form-error {
    color: red;
    font-size: 12px;
    margin-bottom: 0;
}

.form-error {
    display: block;
    color: #b94a48;
    margin-top: 5px;
    margin-bottom: 10px;
    line-height: 140%;
}

.learningplan-form .timeSelectionForDay .applyAllRowDiv {
    color: #b1b1b1;
    height: 25px;
    font-size: 15px;
    opacity: 1 !important;
    z-index: 125;
    transition: .2s;
}

.applyAllRowDiv .form-check-label {
    cursor: pointer;
}

.applyAllRowDiv .form-check-label:hover, .learningplan-form .timeSelectionForDay:hover .applyAllRowDiv {
    color: #3785D7;
}

.learningplan-modal .modal-footer {
    padding: 5px 15px 10px 15px;
}

.modal-footer {
    border-top: 1px solid #dee2e661;
}

.learningplan-modal .saveToCalendarAndGoogle {
    font-weight: 700;
    color: #fff;
    background: #3785D7;
    border-color: #3785D7;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    font-size: 16px;
    /*font-family: "ProximaNova-600";*/
}

.saveToCalendarAndGoogle:hover {
    color: #fff;
    background-color: #1163C4;
    border-color: #1163C4;
}

.calendar-subtitle {
    background-color: rgba(253, 84, 100, 0.2);
    font-size: 18px;
    line-height: 26px;
    /*font-family: "ProximaNova-500";*/
    font-weight: 500;
}

.check-week {
    background-color: #F2F2F2;
    border: 1px solid #C4C4C4;
    border-radius: 5px;
}

.r-border {
    border-right: 1px solid #C4C4C4;
}

.duration-time input {
    border: 1px solid #C4C4C4;
    border-radius: 5px;
}
.calender-img {
    /*width: 20px;*/
    height: 22px;
}

@media only screen and (max-width: 600px) {

    .learningplan-modal .modal-dialog {
        max-width: 98% !important;
        display: block;
        height: auto;
    }

    #learningPlanModalBody {
        height: 68vh;
        overflow-y: auto;
    }

    .learningplan-modal .modal-header {
        padding-bottom: 0;
    }

    .learningplan-modal .modal-header h4 {
        font-size: 24px;
        line-height: 29px;
        color: #000000;
    }

    .learningplan-modal .modal-header h5 {
        font-size: 18px;
        line-height: 22px;
        color: #000000;
        margin-top: .4rem;
    }

    .calendar-subtitle {
        line-height: 18px !important;
    }

    .learningplan-form .row .d-flex {
        margin-bottom: 0;
        align-items: flex-end;
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .learningplan-form .timeSelectionForDay {
        padding-top: 10px;
    }

    .learningplan-form .row {
        height: 100px;
        margin-top: 0;
    }

    .learningplan-modal .saveToCalendarAndGoogle {
        font-size: 12px !important;
    }

    .learningplan-form .savecalender {
        display: flex;
    }

    .learningplan-form .savecalender img {
        padding-right: 1rem;
    }

    .learningplan-form .timeSelectionForDay .applyAllRowDiv {
        font-size: 14px;
    }
    .duration-value{
        text-align: center;
        height: 20%;
        padding:1rem;
    }
}
