@import 'variables';
@import 'fonts';
@import 'main';
@import 'dashboard';
@import 'courses';
@import 'instructors';
@import 'purchases';
@import 'quizzes';
@import 'users';
@import 'alerts';

@import "../slim.css";
@import "~@fortawesome/fontawesome-free/scss/fontawesome.scss";
@import "~@fortawesome/fontawesome-free/scss/solid.scss";
@import "~@fortawesome/fontawesome-free/scss/brands.scss";
@import '~quill/dist/quill.core.css';
@import '~quill/dist/quill.snow.css';
@import '~filepond/dist/filepond.css';
@import '~filepond-plugin-image-preview/dist/filepond-plugin-image-preview.css';

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.box {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;

    .box-title {
        position: relative;
        padding: 10px;
        margin: -40px;
        margin-bottom: 30px;
        border-bottom: 1px solid #ececec;
        background: #f7f9f8;
        color: #2b2b2b;
        font-size: 11pt;
        text-align: center;
        @media(max-width: 992px) {
            margin: -15px;
            margin-bottom: 30px;
            margin-top: 25px;
        }
        p {
            margin: 6px
        }        
    }
    .box-content {
        display: flex;
        flex-flow: column;
        width: 100%;
        padding: 40px;

        @media(max-width: 992px) {
            padding: 20px;
        }
    }
}


.box-title 
.box-body {
    margin-top: 35px;
}

.box-content {
    display: flex;
    flex-flow: column;
    width: 100%;
}

.box-actions {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    background: #f7f9f8;
    z-index: 3;
    border-top: 1px solid #e6e6e6;
    padding-left: 251px;
    @media(max-width: 992px) {
        flex-direction: column;
    }
}

.box-actions button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    min-width: 200px
}

.box-action {
    margin: 10px
}

.box-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaeaea;
    color: #505050;
    padding-right: 2px;
    transition: .5s;
    z-index: 1;
}

.box-back:hover {
    background: #c3c3c3;
}

.box-info {
    text-align: center;
    margin-top: 20px
}

.small-box {
    margin: 0 20px;
    max-width: 400px;
    width: 100%;
    margin-top: 30px;
    padding: 0;
}

.small-box2 {
    padding: 0 2.4rem;
    margin-right: 20px;
    min-width: 500px;
}

@media(max-width: 992px) {
    .small-box-header {
        margin: 0 !important;
    }
    .small-box2 {
        margin-right: 0;
        margin-bottom: 20px;
        min-width: auto;
        padding: 0;
    }
}

.small-box-header {
    padding: 0.8rem;
    background-color: #ececec;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #e6e9ee;
    align-items: center;
    text-align: center;
}

.small-box-content {
    padding: 1rem 2rem;
    margin: auto;
}

.small-box-footer {
    border-top: 1px solid #e6e9ee;
    padding: 1rem;
    text-align: center;
}

.small-box-footer p {
    margin-bottom: 5px;
}

.small-box .form-label {
    text-align: left;
    margin-bottom: 5px;
}


/* FORMS */

.form-group {
    display: flex;
    flex-flow: column;
    justify-content: center;
    margin: 15px 0;
}

.form-group2 {
    margin: 15px 0;
}

.form-group p {
    display: inline;
}

.form-group input:not([type='checkbox']),
.form-group button,
.form-group textarea {
    width: 100%;
    color: #22252a;
    border: 1px solid #e6e9ee;
    background-color: #fff;
    border-radius: 3px;
    padding: .5em 1em;
    line-height: normal;
    font-family: inherit;
}

.form-group button {
    width: 100%
}

.form-check {
    display: flex;
    height: 30px;
    line-height: 34px;
}

.form-check label {
    padding-left: 10px
}

.form-inline {
    margin: 10px 0;
}

.form-inline * {
    display: inline;
}

.input-error {
    border: 1px solid red !important;
}

.form-error {
    font-size: 11pt;
    color: red;
    text-align: left;
}



/* BUTTONS */

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    padding: 10px 20px;
    color: black;
    border-radius: 2px;
    transition: 0.5s;
    background: #e8e8e8;
    font-weight: 600;
    @media(max-width: 992px) {
        width: 100%;
    }
}

.btn-primary {
    color: white !important;
    background: $primary !important;
}

.btn-warning, .btn-delete {
    color: white;
    background: #e63d3d;
}
.btn-primary:hover {
    background: black !important;
}
.btn i {
    font-size: 14pt;
    margin-right: 10px;
}

/* RADIO BUTTONS */

.rb-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    margin-bottom: 25px;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.rb-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 50%;
}

.rb-container:hover input~.checkmark {
    background-color: #ccc;
}

.rb-container input:checked~.checkmark {
    background-color: $primary;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.rb-container input:checked~.checkmark:after {
    display: block;
}

.rb-container .checkmark:after {
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white
}


/* CHECKBOXS */

.checkbox,
.radio {
    opacity: 0;
    position: absolute;
}

.checkbox {
    display: none !important;
}

.checkbox,
.checkbox-label,
.radio,
.radio-label {
    display: inline-block;
    vertical-align: middle;
    margin: 5px;
    cursor: pointer;
}

.checkbox-label,
.radio-label {
    position: relative;
}

.checkbox+.checkbox-label:before,
.radio+.radio-label:before {
    content: '';
    background: #fff;
    border: 2px solid #ddd;
    display: inline-block;
    vertical-align: middle;
    width: 25px;
    height: 25px;
    padding: 2px;
    text-align: center;
}

.checkbox:checked+.checkbox-label:before {
    background: $primary;
    box-shadow: inset 0px 0px 0px 4px #fff;
}

.radio+.radio-label:before {
    border-radius: 50%;
}

.radio:checked+.radio-label:before {
    background: #ccc;
    box-shadow: inset 0px 0px 0px 4px #fff;
}

.checkbox-custom:focus+.checkbox-custom-label,
.radio-custom:focus+.radio-custom-label {
    outline: 1px solid #ddd;
    /* focus style */
}


/* VARIOUS */

.hidden {
    display: none !important
}

.no-margin {
    margin: initial;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-underline {
    text-decoration: underline;
}

.font-light {
    font-weight: 300;
}

.font-regular {
    font-weight: 400;
}

.font-bold {
    font-weight: 700;
}

.image-disabled {
    filter: brightness(50%)
}

.mini {
    font-size: 10pt;
}

hr {
    border: none;
    border-bottom: 1px solid #e6e6e6;
}

.hr-full {
    margin: 30px -40px;
}

@media(max-width: 992px) {
    .hr-full {
        margin: 30px -16px;
    }
}

.fixed-icon {
    position: fixed;
    bottom: 20px;
    height: 60px;
    width: 60px;
    background: $primary;
    border-radius: 50%;
    -webkit-box-shadow: 0px 0px 25px -5px rgba(0, 0, 0, 0.50);
    box-shadow: 0px 0px 25px -5px rgba(0, 0, 0, 0.50);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: white;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}




/* VARIOUS */


.bg-sk {
    background: #17a2b8 !important;
}

.bg-green {
    background: #47af5f !important;
}

.bg-blue {
    background: #4960b3 !important;
}

.bg-grey {
    background: #5c607b !important;
}

.bg-red {
    background: #dc5050 !important;
}

.bg-orange {
    background: #d49e43 !important;
}

.bg-yellow {
    background: #b5b560 !important;
}

.aprobada,
.approved {
    color: green
}

.denegada,
.cancelada,
.error {
    color: #f53131;
}

.initial,
.pending,
.pendiente {
    color: #4f4ffb
}


.option-push {
    width: 26px;
}

.hide {
    opacity: 0;
}

.new {
    background: #d6d6d6;
}

#dropzone {
    border: 1px solid rgba(0, 0, 0, 0.2);
    width: 100%;
}

.dropzone {
    border: none
}

#description {
    margin-bottom: 10px
}

.inline * {
    display: inline-block;
}

.module-video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 23px;
    height: 0;
    margin-bottom: 30px;
    margin-top: -6px;
}

.module-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    box-shadow: 0px 0px 25px -15px black
}

#msg {
    text-align: center;
    width: 100%;
    font-weight: 700;
}

.red {
    color: red;
}

.green {
    color: green;
}

.slim {
    @media(max-width: 992px) {
        font-size: 9pt;
    }
}
.push {
    height: 50px;
}