@charset "UTF-8";

html, body{
    height: 100%
}

#container{
    min-height: 100vh;
    transition: all 0.3s;
    width: 100%
}

.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar a{
    color: #f8f9fa;
    text-decoration: none;
    transition: all 0.3s;
}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #027e73;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
}

#sidebar.active .sidebar-header h3
{
    display: none;
}

#sidebar.active .sidebar-header strong
{
    display: block;
}

#sidebar .collapse-text, #sidebar.active .uncollapse-text{
    display: inline-block
}

#sidebar .uncollapse-text, #sidebar.active .collapse-text{
    display: none
}


#sidebar ul li a {
    text-align: left;
}

#sidebar.active ul li a {
    padding: 20px 10px;
    text-align: center;
    font-size: 0.85em !important;
}

#sidebar.active ul li a i {
    margin-right: 0;
    display: inline-block;
    font-size: 1.8em;
    margin-bottom: 5px;
}

#sidebar.active ul ul a {
    padding: 10px !important;
}

#sidebar.active .dropdown-toggle::after {
    top: auto;
    bottom: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #037369
}

#sidebar .sidebar-header strong {
    display: none;
    font-size: 1.8em;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 2.3px solid #037369;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover {
    color: #027e73;
    background: #fff;
}

#sidebar ul li a i {
    margin-right: 6px;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #037369
}

#sidebar ul li.active ul.collapse.show li.active a{
    background: #00635a
}

.btn.collapse-sidebar {
    display: none;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 1.04em !important;
    padding-left: 43px !important;
    background: #037369;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {

    .navbar.navbar-expand-lg.navbar-dark.bg-dark {
        margin-left: 0 !important;
    }

    #subNavigation.active {
        margin-left: 200px !important;
    }

    #sidebar {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important;
        z-index: -1 !important;
    }
    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }
    #sidebar.active {
        margin-left: 0 !important;
        min-width: 200px;
        max-width: 200px;
        z-index: 1!important;
    }

    #sidebar.active ul li a {
        text-align: left;
    }

    #sidebar .sidebar-header h3,
    #sidebar .CTAs {
        display: none;
    }
    #sidebar .sidebar-header strong {
        display: block;
    }
    #sidebar ul li a {
        padding: 20px 10px;
    }
    #sidebar ul li a span {
        font-size: 0.85em;
    }
    #sidebar ul li a i {
        margin-right: 0;
        display: block;
    }
    #sidebar ul ul a {
        padding: 10px !important;
    }
    #sidebar ul li a i {
        font-size: 1.3em;
    }
    #sidebar {
        margin-left: 0;
    }
    .btn.collapse-sidebar {
        display: block;
    }
}

.with-border-b{
    border-bottom : 1px solid rgba(0,0,0,.125);
}

.no-underline{
    text-decoration: none !important
}

.jumbotron {
    padding: 1rem 1.1rem;
}

/* The switch - the box around the slider */
.switch {
    float: left;
    position: relative;
    width: 56px;
    height: 29px;
    margin-bottom: 0;
}

/* Hide default HTML checkbox */
.switch input { display:none; }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 23px;
    width: 23px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

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

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

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

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

.switch-container::after{
    display: block;
    clear: both;
    content: "";
}

.switch-label{
    float: left;
    margin-top: 2px;
    margin-left: 8px;
    font-weight: 300;
    margin-bottom: 0;
}

.w-space-pre-wrap{
    white-space : pre-wrap;
}

.rating
{
    font-size: 25px;
    height: 26.8px !important;
}

.display-flex
{
   height: 100%;
   display: flex;
   justify-content: center;
   align-items: center; 
}

.rounded-border-left{
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.hand{
    cursor: pointer;
}

.image-file .image-preview {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.image-file .image-preview:hover {
    opacity: .8;
    cursor: pointer;
}

.course-form-image .image-preview {
    display: inline-block;
    width: 100%;
    height: 150px;
    background-color: #ccc;
    border: dashed 1px #aaa;
}

.image-file input[type=file] {
    display: none;
}

/* override the border radius of the vue switch */
.v-switch-core {
    border-radius: 5px !important;
}

.course-image {
    background-color: #000;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 220px;
}

.bg-gray {
    background-color: #eee;
}

.square-avatar-wrapper img {
    /*border-radius: 50%;*/
    object-fit: cover;
    width: 200px;
    height: 200px;
}

.webinar-img img {
    width: 100%;
    height: 200px;
    margin-bottom: 12px;
}

/* added for full screen of tinymce */
.modal.show .modal-dialog {
    -webkit-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}

.user-thumb-image .image-preview {
    display: inline-block;
    height: 80px;
    width: 80px;
    border-radius: 50%;
    background-color: #eee;
    background-image: url(../../images/avatars/default.png);
}
.image-file .image-preview {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.presenter-thumb {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    margin-right: 8px;
    border-radius: 50%;
    background-color: #ccc;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.toggle input[type=checkbox] {
    display: none;
}



/* kenji overrides (design 2.0) */

#sidebar {
    background: linear-gradient(45deg,#142149,#233ba2);
}

#sidebar ul li a {
    width: 90%;
    margin: 0 auto;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    padding-left: 20px;
}

#sidebar .sidebar-header {
    padding: 5px;
    background-color: #007cfc;
}

#sidebar .sidebar-header h3 {
    text-align: center;
    font-size: 21px;
}

#sidebar .sidebar-header img {
    width: 100px;
}

.navbar.navbar-expand-lg.navbar-dark.bg-dark {
    padding: 8px;
    background-color: #fff !important;
    border-bottom: 1px solid #dee2e6;
    margin-left: 250px;

    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;

    transition: all 0.3s;
}
ul#bookSubmenu li a, ul#editorSubmenu li a, ul#editorSettingsSubmenu li a { font-size: 12px !important; }
#sidebar ul.components { border-bottom: none; }
#sidebar ul li.active>a, a[aria-expanded="true"] {
    color: #233ba2 !important;
    background-color: #fff;
    font-weight: 700;
    transition: .3s;
}
#sidebar ul li.active>a i { color: #007cfc }
#sidebar ul li a:hover {
    color: #233ba2;
    background: #fff;
    font-weight: 700;
    transition: .3s;
}
#sidebar ul li a:hover i {
    color: #007cfc;
}

ul ul a {
    background-color: #2aa7ff;
}
#sidebar ul li.active ul.collapse.show li.active a {
    background: #caf4ff;
    color: #233ba2 !important;
}
.sub-menu a {
    font-size: 12px !important;
}