.flex {
    display: flex;
}

#close-copy-progress, #open-all, #close-all {
    padding: 0;
    margin: 0 3px;
    border: none;
    border-radius: 0.4rem;
    min-width: fit-content;
    padding: 0 10px;
}

    #open-all:hover, #close-all:hover, #close-copy-progress:hover {
        background-color: #eceaea;
    }

#copy-progress > div.center {
    display: flex;
    align-items: center;
    text-align: center;
}

progress::-webkit-progress-bar {
    background-color: #e6e7e8;
    border: none;
    border-radius: 0.2rem;
}

.course-copy-progres-bar-inprogress::-webkit-progress-value {
    background-color: black;
    border: none;
    border-radius: 0.2rem;
}

.course-copy-progres-bar-ready::-webkit-progress-value {
    background-color: #22a862 !important;
    border: none;
    border-radius: 0.2rem;
}

#course-copy-progres-bar {
    width: 100%;
    height: 1rem;
    border-radius: 0.5rem;
}

.copy_button {
    max-width: 100%;
    background-color: white;
    border: 3px solid;
    border-color: #22a862;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    padding: 0 10px 0 0;
    margin: 1.5rem auto 2rem auto;
}

@media (max-width: 480px) {
    .copy-btn-text {
        width: 80%;
    }
}

.copy_button:hover {
    background-color: #e9feed;
}

.copy_button_plus {
    color: #22a862;
    font-size: 2rem;
    padding: 0 12px 0 12px;
}

.catalog_button, .newcourse_button {
    margin-left: auto;
    margin-right: auto;
    max-width: 45%;
    background-color: white;
    border: 0.13rem solid;
    border-color: #76559c;
    font-size: 0.9rem;
    border-radius: 0.5rem;
    padding: 0 10px 0 0;
}

    .catalog_button:hover, .newcourse_button:hover {
        background-color: #f7f3f6;
    }

#catalog-image {
    background-image: url(/theme/boost/pix/catalog.svg);
    height: 30px;
    width: 30px;
    background-size: contain;
    background-repeat: no-repeat;
}

#newcourse-image {
    background-image: url(/theme/boost/pix/addcourse.svg);
    height: 30px;
    width: 30px;
    background-size: contain;
    background-repeat: no-repeat;
}

.copy-btn-text {
    margin-top: auto;
    margin-bottom: auto;
}

#copy-form-modal, #copy-form-repeat-modal, #create-course-modal {
    margin: 40px;
}

.modal-title {
    font-weight: bold;
    font-size: 1.5rem !important;
}

#copy-form input, #copy-form select, #create-course-modal select {
    width: 100%;
    margin: 0 0 1.5rem 0;
    height: 2.7rem;
    padding: 0 1rem;
    border-radius: 0.5rem;
    border: 0;
    border-right: 1rem solid transparent;
}

#copy-form input {
    outline: 2px solid #22a862;
}

#copy-form select, #create-course-modal select {
    outline: 2px solid red;
    border: 0;
    border-right: 1rem solid transparent;
}

#copy-start, #copy-cancel, #create-start, #create-cancel {
    float: right;
    width: 5.5rem;
    padding: 5px;
    margin: 0 3px;
    border: none;
    border-radius: 0.4rem;
}

#copy-start, #create-start {
    color: grey;
}

#copy-cancel, #create-cancel {
    color: red;
}

#copy-form {
    display: inline-block;
}

.course-limit-info, .create-course-limit-info {
    background-color: #f2f0f0;
    padding: 20px;
    border-radius: 0.5rem;
    margin-bottom: 30px;
}

.course-limit-danger, .create-course-limit-danger {
    padding: 20px;
    background-color: #f4d4d2;
    margin-bottom: 30px;
    border-radius: 0.5rem;
    color: #632623;
    overflow-y: scroll;
    height: 160px;
}

.course-repeat-danger {
    padding: 20px;
    background-color: #f4d4d2;
    margin-bottom: 20px;
    border-radius: 0.5rem;
    color: #632623;
}

.course-limit-danger::-webkit-scrollbar {
    width: 20px;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

/* Track */
::-webkit-scrollbar-track {
    background: #e7e5e5;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #bfbfbf;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

#mycourses-info {
    background-color: #f2f0f0;
    height: 50px;
    border-bottom-right-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    border-top: 1px solid ddd;
    width: 100%;
    display: inline-block;
    align-content: center;
    text-align: center;
}

.course-card-copy {
    background-color: #f2f0f0;
    height: 80px;
    width: 100%;
    margin: auto;
    border-radius: 0.5rem;
    margin-bottom: 50px;
}

.course-image {
    background-color: lightgrey;
    width: 80px;
    margin-right: 20px;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

#copy-no {
    background-color: #c92f1f;
    color: white;
    border: none;
    border-radius: 0.4rem;
    width: 100px;
    height: 40px;
}

#copy-yes {
    background-color: #f7f3f6;
    color: #22a862;
    border: none;
    border-radius: 0.4rem;
    width: 100px;
    height: 40px;
}

#close-copy-progress {
    color: #c92f1f;
    background-color: #f7f3f6;
}

#copy-progress-detailed {
    background-color: white;
    padding: 2rem 1rem;
}

.course-card-detailed {
    background-color: #f7f3f6;
    border: 1px solid #ddd;
    margin: 1rem 0;
    border-radius: 0.25rem;
    min-height: 4rem;
    align-items: center;
    padding: 5px 0;
}

span.course-name-detailed {
    width: 100%;
    display: block;
}

span.course-institution-detailed {
    font-size: 0.8rem;
}

#copy-progress-detailed-inline p {
    color: #6d6d6d;
    font-weight: bold;
}

#copy-progress-detailed-inprocess p {
    color: #d5ab1b;
    font-weight: bold;
}

#copy-progress-detailed-ready p {
    color: #44b25a;
    font-weight: bold;
}

button.open-course-button {
    border: none;
    background-color: #44b25a;
    color: white;
    padding: 10px 15px;
    border-radius: 0.5rem;
}

#ready, #inprogress, #inline {
    margin: 0 auto;
    max-width: 550px;
}

.progress-tag-ready {
    color: #22a862;
    background-color: #ecf7ef;
    padding: 5px 20px;
    width: 100%;
    border-radius: 0.5rem;
    font-weight: bold;
}

.progress-tag-inline {
    color: #6d6d6d;
    background-color: #f0f0f0;
    padding: 5px 20px;
    width: 100%;
    border-radius: 0.5rem;
    font-weight: bold;
}

.progress-tag-inprocess {
    color: #f26d4f;
    background-color: #fef0ed;
    padding: 5px 20px;
    width: 100%;
    border-radius: 0.5rem;
    font-weight: bold;
}

.progress-arrow {
    border: solid black;
    border-width: 0 2px 2px 0;
    display: inline-block;
    margin-left: 10px;
    padding: 3px;
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.down {
    margin-bottom: 2px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

#firstpagealertblock, #suspendalertblock, #deletealertblock {
    background-color: #e8dbf2;
    padding: 5px 5px 5px 20px;
    border-radius: 0.3rem;
    position: relative;
    width: 100%;
    margin: 1.5rem auto 0 auto;
    color:black;
}

#suspendalertblock, #deletealertblock {
    background-color: #f99d35 !important;
    border: none;
}

    #firstpagealert, #suspendalert, #deletealert {
    width: 95%;
    display: grid;
    min-height: 35px;
    align-items: center;
}

    #firstpagealert > p, #suspendalert > p, #deletealert > p {
        margin: 0;
        vertical-align: -webkit-baseline-middle;
        display: inline-block;
    }

#firstpagealert-close {
    height: 35px;
    width: 35px;
    color: #77509a;
    background-color: #d6bcea;
    float: right;
    position: absolute;
    text-align: center;
    font-size: x-large;
    font-weight: bold;
    border-radius: 0.3rem;
    margin-top: auto;
    right: 5px;
    top: 5px;
}

@media (max-width: 480px) {
    #page-header > div.w-100 > div:nth-child(2) {
        display: block !important;
    }

    .header-actions-container {
        width: 100% !important;
    }

    #mycoursesbuttonblock {
        display: grid !important;
        margin: auto;
        float: none !important;
    }

    #catalog_button, #newcourse_button {
        width: 100% !important;
        max-width: 100% !important;
        margin: 5px 0 !important;
    }
}

.dropdown-toggle::after {
    align-items: center;
    justify-content: center;
    justify-items: center;
    display: inline-flex;
}

.dzc-loader {
    color: #76559C !important;
    top: 40%;
    position: fixed;
    left: 50%;
    width: 50px;
    height: 50px;
    border-width: thick;
}

.visually-hidden, .visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

select {
    cursor: pointer;
}

.modal-content-dzc, .modal-body-dzc {
    overflow: visible !important;
}

.course-limit-danger::-webkit-scrollbar-thumb {
    width: 20px;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}
