/*
 * Browser UI Styles
 * Naan IDE
 *
 */

html {
    position: relative;
    min-height: 100%;
    height: 100%;
}

body {
    overflow: hidden;
    background-color:#505050;
    height: -webkit-fill-available;
    height: -moz-available;
/*  height: var(--doc-height); -- doesn't work with Android soft keyboard */
}

.bodyKid {
    transform: scale(1,1);
}

#run_swipe_pointer {
    position: relative;
}

.ah_count {
    float: right;
    font-size: 75%;
}

.overflow_y_scroll {
    overflow-y: scroll;
}

.overflow_y_hidden {
    overflow-y: hidden;
}

.floating_label {
    background: white;
    max-height: 30px;
    opacity: 1 !important;
    padding: 0 0.75rem !important;
    top: 10px ! important;
    left: 5px !important;
    width: 95% !important;
}

.ahlink {
    color: rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));
    text-decoration: underline;
}

.ahlink:hover {
    --bs-link-color-rgb: var(--bs-link-hover-color-rgb)
}

.back_left {
    padding-left: 6px;
}

.list-group {
    margin-top: 0!important;
}

.unselectable {
    user-select: none;
    -webkit-user-select: none;
}

.credit_green {
    background-color: limegreen !important;
    border-color: green !important;
}

/*
 * splash screen
 *
 */

#splash {
    text-align: center;
    position:absolute;
    height:100%;
    width:100%;
    overflow: hidden;
    margin: 0;
    z-index:5;
}

#splash .progress {
     margin-left:3em;
     margin-right:3em;
}

#splash .progress-bar {
     width:20%;
}

.splash-top {
    height:20%;
}

.splash-bottom {
    height:20%;
}

.splash_logo {
    width:70%;
}

.splash-pb {
    background-color: var(--bs-askhow);
}

/*
 * busy indicator
 *
 */

.busy_spinner {
    position: absolute;
    pointer-events: none;
    align-items: center;
    z-index: 10;
    color: grey;
}

/*
 * unstable internet indicator
 *
 */

.unstable_internet {
    opacity: 0;
    position: absolute;
    pointer-events: none;
    z-index: 10;
    animation-name: unstable;
    animation-duration: 5s;
    animation-direction: normal;
    animation-iteration-count: infinite;
}

@keyframes unstable {
    from {
        color: white;
    }
    50% {
        color: black;
    }
    to {
        color: white;
    }
}

/*
 * update button
 *
 */

.update_askhow {
    position: absolute;
    top: 8px;
    left: 8px;
    pointer-events: none;
    z-index: 90;
}

.update_askhow button {
    pointer-events: auto;
}

/*
 * Utility classes
 *
 */

.aspectRatio {
    width:100%;
}

.bgimage {
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.overlapcon {
    position: relative;
    overflow: hidden;
}

.overlapkid {
    top: 0;
    left: 0;
    position: absolute;
    pointer-events: none;
}

.alertArea {
    margin-top:10%;
    padding-left:30px;
    padding-right:30px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    width:100%;
    word-wrap: break-word;
}

.fscontainer {
    top: 0;
    left: 0;
    position: absolute;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.fsplay {
    pointer-events: auto;
    background-color: white;
    color: white;
    height: 76px;
    width: 76px;
    opacity:0.3;
    border-radius: 50%;
    background-image: url('exlib/images/icons8-circled-play.svg');
    background-repeat: no-repeat;
    background-size: 84px 84px;
    background-position: center;
}

.touchy {
    position: relative;
}

.drag_active {
    background-color: #707070!important;
}

.drag_drop_target {
    position: relative;
    align-items: center;
    white-space: nowrap;
    user-select: none;
    cursor: pointer;
    border: 0 dashed #000;
    border-radius: 11px;
    background-color:#eee;
}

.drag_drop_target_inner {
    position: absolute;
    top: 6px;
    left: 6px;
    border: 1px dashed #000;
    border-radius: 5px;
    width: calc(100% - 13px);
    height: calc(100% - 13px);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    word-wrap: normal;
    white-space: normal;
}

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

.rounded-pill-right {
    border-top-right-radius: 50rem;
    border-bottom-right-radius: 50rem;
}

.text-disabled {
    opacity: 0.5;
}


/*
 * dropdown menus
 *
 */

#tutorGlobalMenu {
    height: auto;
}

.dropdown-checkable-item {
    padding-left: 2rem;    
}

.dropdown-item-checked::before {
  position: absolute;
  left: .4rem;
  content: '✓';
  font-weight: 600;
}


/*
 * Media-dependent classes
 *
 */

/*
 * smallest
 */

.svgi {
    max-width: 48px;
    max-height: 48px;
}
.svgi-b {
    max-width: 48px;
    max-height: 48px;
    background-color: black;
}

.svgi-r {
    max-width: 48px;
    max-height: 48px;
    background-color: red;
}

/*for bootstrap buttons with icons*/

.btn.svgi-b:hover {
    background-color: #444444
}

.svgi-w {
    max-width: 48px;
    max-height: 48px;
    background-color: white;
}
.text-large {
    font-size: 30px;
    font-weight: 700;
}
.text-head {
    font-size: 22px;
    font-weight: 600;
}
.text-medium {
    font-size: 17px;
    font-weight: 500;
}
.text-compact {
    font-size: 16px;
    font-weight: 400;
}
.text-small {
    font-size: 14px;
    font-weight: 300;
}
.text-mini {
    font-size: 13px;
    font-weight: 300;
}
.text-small-tight {
    line-height:14px;
}
.text-small-bold {
    font-size: 14px;
    font-weight: 600;
}
.text-tiny {
    font-size: 10px;
    font-weight: 500;
}
.crp_size {
    width: 48px;
    border-radius: 24px;
}
.pp_size {
    width: 48px;
    border-radius: 24px;
}
.ca_size {
    height: 28px;
}
.cac_size {
    height: 56px;
    width: 56px;
    background-size: 48px;
}
.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
}

/*
 * images
 *
 */

.svg_box_arrow_up {
    width: 31px;
    height: 35px;
    -webkit-mask: url('exlib/images/box-arrow-up.svg') no-repeat 50% 55% / 22px 22px;
}
.svg_home {
    width: 31px;
    height: 35px;
    -webkit-mask: url('exlib/images/home.svg') no-repeat 50% 55% / 22px 22px;
}
.svg_back {
    width: 24px;
    height: 36px;
    -webkit-mask: url('exlib/images/icons8-back.svg') no-repeat 50% 55% / 24px 24px;
    margin-right: 0.75em;
}
.svg_backsm {
    width: 24px;
    height: 35px;
    -webkit-mask: url('exlib/images/icons8-back.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_plusbox {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/icons8-add-new.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_search {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/icons8-search.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_menu {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/icons8-menu.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_view {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/icons8-eye.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_fav {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/heart.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_fav.svg_fav_active {
    width: 36px;
    height: 36px;
    background-color: red;
    -webkit-mask: url('exlib/images/heart-filled.svg') no-repeat 50% 55% / 24px 24px;
}

.svg_minus {
    width: 36px;
    height: 36px;
    background-color: black;
    cursor: pointer;
    -webkit-mask: url('exlib/images/minus-square.svg') no-repeat 50% 55% / 24px 24px;
}

.svg_info {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/icons8-info.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_rate {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/rating-outline.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_share {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/icons8-share-rounded.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_ellipsis {
    width: 32px;
    height: 32px;
    -webkit-mask: url('exlib/images/icons8-ellipsis.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_reorder {
    width: 32px;
    height: 32px;
    -webkit-mask: url('exlib/images/square_grid.svg') no-repeat 50% 55% / 22px 22px;
}

.svg_payment {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/ruble.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_editprops {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/edit-properties.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_editprops_large {
    width: 32px;
    height: 32px;
    -webkit-mask: url('exlib/images/edit-properties.svg') no-repeat 50% 55% / 32px 32px;
}
.svg_uparrow {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/boxed-up-arrow.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_downarrow {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/boxed-down-arrow.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_download {
    width: 24px;
    height: 24px;
    -webkit-mask: url('exlib/images/icons8-download.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_play {
    width: 24px;
    height: 24px;
    -webkit-mask: url('exlib/images/icons8-circled-play.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_soundon {
    width: 24px;
    height: 24px;
    -webkit-mask: url('exlib/images/audio-on.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_soundoff {
    width: 24px;
    height: 24px;
    -webkit-mask: url('exlib/images/audio-off.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_videoedit {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/video-edit.svg') no-repeat 50% 55% / 36px 36px;
}
.svg_pencil {
    width: 12px;
    height: 24px;
    padding-left: 0.9em;    /* hack for Safari iOS/MacOS */
    -webkit-mask: url('exlib/images/edit-pencil.svg') no-repeat 50% 55% / 12px 24px;
}
.svg_redo {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/icons8-redo.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_refresh {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/icons8-refresh.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_strikethrough {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/icons8-strikethrough.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_tridown {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/icons8-triangle-down.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_triup {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/icons8-triangle-up.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_undo {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/icons8-undo.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_vmerge {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/icons8-merge-vertical.svg') no-repeat 50% 55% / 24px 24px;
}
.svg_vsplit {
    width: 36px;
    height: 36px;
    -webkit-mask: url('exlib/images/icons8-split-vertical.svg') no-repeat 50% 55% / 24px 24px;
}
.img_naanlogo {
    width:25%;
    flex: 0 0 auto;
    padding-bottom: 1rem !important;
}
.nav_addvideo {
    width: 12vh;
    height: 12vh;
    background-image: url("exlib/images/nav_addvideo.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-origin: content-box;
}
.nav_addcourse {
    width: 12vh;
    height: 12vh;
    background-image: url("exlib/images/nav_addcourse.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-origin: content-box;
}
.nav_aigears {
    width: 12vh;
    height: 12vh;
    background-image: url("exlib/images/nav_aigears.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-origin: content-box;
}
.nav_editvideo {
    width: 12vh;
    height: 12vh;
    background-image: url("exlib/images/nav_editvideo.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-origin: content-box;
}

/*
 * tapp_controls
 *
 */

.tapp-control {
    height:28px;
    width:28px;
    margin-left: 4px;
    margin-right: 4px;
    filter:invert(1) brightness(0.7);
}
.tapp-control:hover {
    cursor: default;
    filter:invert(1) brightness(1.0);
}
.tapp-control-hide {
    display: none;
}
.tapp-control-disable {
    pointer-events:none;
    filter:invert(1) brightness(0.5);
}
.tapp-control-on {
    filter: invert(1) brightness(0.5) sepia(1) saturate(100) hue-rotate(149deg) brightness(1.5);
}
.tapp-control-on:hover {
    cursor: default;
    filter: invert(1) brightness(0.5) sepia(1) saturate(100) hue-rotate(149deg) brightness(2.0);
}
.tapp-control-green-full {
    filter: invert(1) brightness(0.5) sepia(1) saturate(100) hue-rotate(149deg) brightness(2.0);
}
.tapp-control-red-full {
    filter: invert(1) brightness(0.5) sepia(1) saturate(100) hue-rotate(29deg) brightness(2.0);
}

/*
 * colors
 *
 */

.green {
    color: mediumseagreen;
}

.red {
    color: red;
}

.blue {
    color: cornflowerblue;
}

.bgc_white {
    background-color: white;
}

.bgc_black {
    background-color: black;
}

.bgc_light {
    background-color: #f0f0f0;
}

.bgc_grey {
    background-color: #a9a9a9;
}

/*
 * orientation
 *
 */
@media screen and (min-aspect-ratio: 1/1) and (min-height: 600px)
    and (orientation: landscape) {
    .aspectRatio {
        aspect-ratio: 1/2;
        width:unset;
    }
}

/*
 * 750px width
 *
 */

@media screen and (min-width: 750px) and (min-height: 1100px)
    and (orientation: portrait) {
    .media-scale {
        transform: scale(2.0);
    }
    .svgi {
        margin: 24px 12px 12px 12px;
        max-width: 48px;
        max-height: 48px;
        transform: scale(2.0);
    }
    .svgi-b {
        margin: 24px 12px 12px 12px;
        max-width: 48px;
        max-height: 48px;
        transform: scale(2.0);
        background-color: black;
    }
    .svgi-w {
        margin: 24px 12px 12px 12px;
        max-width: 48px;
        max-height: 48px;
        transform: scale(2.0);
        background-color: white;
    }
    .text-large {
        font-size: 68px;
        font-weight: 700;
    }
    .text-head {
        font-size: 48px;
        font-weight: 600;
    }
    .text-medium {
        font-size: 34px;
        font-weight: 500;
    }
    .text-compact {
        font-size: 32px;
        font-weight: 450;
    }
    .text-small {
        font-size: 20px;
        font-weight: 300;
    }
    .text-mini {
        font-size: 18px;
        font-weight: 300;
    }
    .text-small-tight {
        line-height:20px;
    }
    .text-small-bold {
        font-size: 14px;
        font-weight: 600;
    }
    .crp_size {
        width: 96px;
        border-radius: 48px;
    }
    .pp_size {
        width: 96px;
        border-radius: 48px;
    }
    .ca_size {
        height: 56px;
    }
    .cac_size {
        height: 104px;
        width: 104px;
        background-size: 96px;
    }
}

/*
 * Modals
 *
 */

.shareModal_content {
    background-color: var(--bs-askhow);
    opacity: 0.9;
    border-radius: 25px;
    border: none;
}

.shareModal_qrCode {
    background: var(--bs-white);
    border-radius: 25px;
    padding: 25px;
}

.shareModal_buttons {
    gap: 15px;
}

.shareModal_share {
    height: 40px;
    width: 40px;
    -webkit-mask: url('exlib/images/icons8-share-rounded.svg') no-repeat 50% 55% / 40px 40px;
}

.shareModal_copy {
    height: 40px;
    width: 40px;
    -webkit-mask: url('exlib/images/copy.svg') no-repeat 50% 55% / 40px 40px;
}

.ii_m_content {
    background-color: var(--bs-askhow);
    opacity: 0.8;
}

.ii_m_text {
    background-color: var(--bs-askhow);
    border: 0;
}

.ii_m_title {
    background-color: var(--bs-askhow);
    border: 0;
}

.cem_email {
    font-weight: bold;
}

.cem_invalid {
    color: red;
}

.cem_text::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.modal_text {
    color: var(--bs-white);
    font-size: 20px;
    width: 140px;
    text-align: center;
}


/*
 * Pages
 *
 */

.pages_container {
    position: relative;
    overflow: hidden;
    background-color:white;
}


/*
 * courseRunPage
 *
 */

.crp_frame {
    overflow: hidden;
    pointer-events: auto;
}

.crp_catalog {
    max-height:30px;
    margin-top: 0.25rem;
}

.crp_header {
    position: relative;
    line-height: 1.0;
    padding-top: 8px;
    color: white;
}

.crp_swipe {
    top: 0;
    left: 0;
    position: absolute;
    pointer-events: none;
}

.crp_control {
    margin-right: 22px;
    overflow: hidden;
    z-index: 10;
}

.crp_footer {
    position: relative;
}

.crp_authorName {
}

.crp_author {
    color: white;
}

.crp_category {
}

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

.crp_picture {
    pointer-events: none;
    height: 56px;
}

.crp_views {
    color: white;
}

.crp_bottom {
    overflow-y: hidden;
    max-height: 70vh;
    z-index: 10;
    padding-bottom: .25rem;
}

.crp_exitcourse {
    white-space: nowrap;
}

.crp_exitprofile {
    white-space: nowrap;
}

.crp_more {
    color: darkgrey;
}

.crp_less {
    color: darkgrey;
}

.crp_authorCircle {
    pointer-events: auto;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    border-width: 4px;
    border-color: black;
    border-style: solid;
    background-color: black;
    z-index: 10;
}

.crp_acpulse {
    animation-name: pulse;
    animation-duration: 1.5s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
}

.crp_acpulse_always {
    animation-name: pulse;
    animation-duration: 3s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
}

@keyframes pulse {
    from {
        border-color: #342F01;
    }
    to {
        border-color: #F6DC06;
    }
}

.crp_likes {
    max-height: 0;
    margin-bottom: 16px;
}
 
.crp_chats {
    max-height: 0;
    margin-bottom: 16px;
}

.crp_shares {
    max-height: 0;
    margin-bottom: 28px;
}

.crp_time {
    height: 0;
    position: absolute;
    z-index: 100;
}

.crp_time::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 20px;
    width: 20px;
    position: relative;
}

.crp_current_time {
    max-width: fit-content;
    margin-left: auto;
    margin-bottom: 0.5rem;
    margin-right: 0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    color: rgba(200, 200, 200, 0.5);
    background-color: rgba(50, 50, 50, 0.5);
    border-radius: 4px;
}


#crp_deleting {
    height: 120px;
}

.crp_speed {
    cursor: pointer;
    text-align: center;
    width: 100%;
    padding: 10px 0;
}

/*
 * previewPage
 *
 */

.pp_frame {
    background-color: #303030;
    pointer-events: auto;
}

.pp_top {
    height:50px;
}

.pp_header {
    color: white;
}

.pp_preview {
}

.pp_bottom {
}

.pp_overlay {
    pointer-events: auto;
    position: fixed;
    z-index: 12;
}

.pp_trash {
    background-color: white;
    border-color: red;
}

.pp_trash_drop {
    background-color: darkred;
}

.pp_m_badlink {
    color: red;
}


/*
 * searchPage
 *
 */

.sp_group {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
}

.sp_input {
    z-index: 2;
}

.sp_recentlabel {
    color: darkgrey;
}

.sp_recentbut {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp_recents {
}

.sp_radioTab {
    position: absolute;
    pointer-events: none;
    padding-right: 12px;
    height:100%;
}

.btn-group {
    background-color:#F5F5F5;
}

.TV_spAllView {
}

.TV_spCoursesView {
}

.TV_spVideosView {
}

.TV_spUsersView {
}


/*
 * courseCreatePage
 *
 */

.ccp_visibility {
    align-items: baseline;
}

.crs_deleteCourse {
    font-weight: bold;
    background-color: red;
}

.ccp_thumb {
    pointer-events: auto;
}

.ccp_thumb_preview {
    border-radius: 11px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.ccp_thumb_close {
    z-index:20;
    width: 15px;
    position: absolute;
    left: calc(100% - 21px);
    top: 6px;
}


/*
 * loginPage
 *
 */

.lp_logo {
    width:50%;
}


/*
 * loginExtraPage
 *
 */

.lep_logo {
    width:50%;
}

.lep_telegram {
    height:60px;
}


/*
 * navCreatePage
 *
 */

.ncp_addv2c_hdr {
    text-align: right;
}


/*
 * registerPage
 *
 */

.rp_logo {
    width:50%;
}

.rp_tandc_label {
    display: inline;
    margin-left: 0.5em;
}


/*
 * registerPromoPage
 *
 */

.rpp_input {
    font-weight: unset;
}

.rpp_promo_code_desc {
    color: green;
    font-weight: 500;
}

.rpp_error {
    color: red;
}

.rpp_nopc_text {
    font-style: italic;
}

.rpp_help {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
    text-decoration: underline;
    cursor: pointer;
}

.rpp_ai_desc_bold {
    font-weight: bold;
}


/*
 * authorPage
 *
 */
 
.ap_follow {
    min-width: 75%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.ap_changefollow {
    min-width: 75%;
}

.ap_pro {
    background-color: var(--bs-askhow);
    border-radius: 10rem;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    margin-top: 0.35rem;
}

.ap_videosTab, .fp_videosTab {
    position: absolute;
    pointer-events: none;
    padding-right: 12px;
    height:100%;
}

/*hide static tile in reorder mode*/
.SwipeOff .vid_thumb[draggable="false"] {
    display: none;
}

.vid_thumb[draggable="true"] {
    padding-bottom: 0.25rem;
}


.vid_thumb[draggable="true"] img.vtn_video {
    padding-bottom: 0px !important;
}

.vid_thumb[draggable="true"] .vtn_wrapper .vtn_title {
    padding-bottom: 0px;
    padding-top: 0.25em;
}

.vid_thumb[draggable="true"] .vtn_wrapper .vtn_capsule {
    left: 0.25rem;
    right: 0.25rem;
    margin-bottom: 0.5rem !important;
    border-radius: 0px !important;
}

.vid_thumb .vtn_dragbox {
    display: none;
}
.vid_thumb[draggable="true"] .vtn_dragbox {
    display: block;
    position: absolute;
    left: 0.25rem;
    right: 0.25rem;
    top: 0px;
    bottom: 0px;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    box-shadow: 1px 1px 1px 1px grey;
    cursor: pointer;
    background-color: #eee;
}

.vid_thumb[draggable="true"] .vtn_dragbox:hover {
    background-color: #f8f8f8;
}
.btn-group {
    background-color:#F5F5F5;
}

.ap_image:after {
    content: "";
    display: block;
    padding-bottom:100%;
}

.ap_image {
    border-radius: 5%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    max-height: 221px;
}

.vtn_badge {
    top: 0.5rem;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    padding: 0.5rem;
    position: absolute;
}

.vtn_busy {
    z-index: 10;
    background-color: rgb(240, 240, 240, 0.7);
    top: 1rem;
    right: 1rem;
    margin: auto;
    width: 40px;
    height: 40px;
    padding: 4% !important;
}

.ap_edit {
    color: mediumseagreen;
}

/*
 * aboutPage
 *
 */

.abp_logo {
    width: 40%;
    margin-left: 15px;
}

.abp_update {
    background-color: var(--bs-askhow);
    width: 80%;
    height: 50px;
}

.abp_linkcontainer {
    margin-left: 15px; 
    margin-top: 15px;
}

.abp_linkcontainer a {
    letter-spacing: 0.05em;
    text-decoration: none;
    color: inherit;
}

.abp_watchus {
    margin-left: 15px;
    margin-top: 15px;
}

.abp_head {
    margin-left: 15px; 
}

.abp_naanlogo {
    width: 50%;
}

/*
 * paymentPage
 *
 */

.py_register {
    width: 80%;
    height: 50px;
}

/*
 * videos thumbnails
 *
 * Shared among page_author, page_course.
 *
 */

.vid_thumb img {
    border-radius: 8%;
    padding-top:8%;                                                         /* clipped without this */
    padding-bottom:8%;                                                      /* clipped without this */
}

.vtn_fit {
    object-fit: cover;
}

.vtn_video {
    width:100%;
    aspect-ratio: 1/2;
    pointer-events: none;
}

.vtn_title {
    text-align: center;
    overflow-wrap: anywhere;
    padding-bottom: 0.5em;
    pointer-events: none;
}

.vtn_duration {
    bottom: 5%;
    right: 5%;
    background-color: rgba(255,255,255,0.8);
}

.vtn_incapsule {
    z-index: 5;
    position: relative;
}

.vtn_capsule {
    top: 20%;
    background-color: #eee;
    border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: calc(var(--bs-gutter-x) * .5);
    margin-right: calc(var(--bs-gutter-x) * .5);
}

.vtn_select {
    top: 1rem;
    left: 1rem;
    width: 24px;
    height: 24px;
    background-image: url(exlib/images/select-check.svg);
    background-size: 24px 24px;
    background-repeat: no-repeat;
    position: absolute;
}

.vtn_mark {
    top: 1rem;
    left: 1rem;
    width: 24px;
    height: 24px;
    background-image: url(exlib/images/select-delete.svg);
    background-size: 24px 24px;
    background-repeat: no-repeat;
    position: absolute;
}

.vtn_dragtarget {
    filter: brightness(0.5);
}

.vtn_private {
    filter: brightness(0.7);
}

/*
 * coursePage
 *
 */

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

.cp_lock {
    z-index: 10;
    background-color: rgb(60, 179, 113, 0.5);
    border-radius: 50% !important;
    top: 5rem;
    right: 1rem;
    margin: auto;
    width: 20px;
    height: 20px;
    padding: 4% !important;
}

div.pinnable.ap_vproto:not([draggable="true"]):not(.addthumb) > div > .vtn_pin {
    top: 1rem;
    left: 1rem;
    position: absolute;
    width: 24px;
    height: 24px;
    z-index: 100;
    cursor: pointer;
    background-image: url('exlib/images/pin.svg');
    background-size: 24px 24px;
    background-repeat: no-repeat;
    /* -webkit-mask: url('exlib/images/pin.svg') no-repeat 50% 55% / 24px 24px; */
}

div.ap_vproto:not([draggable="true"]):not(.addthumb) > div > .vtn_pin.pinned  {
    top: 1rem;
    left: 1rem;
    position: absolute;
    width: 24px;
    height: 24px;
    z-index: 100;
    background-image: url('exlib/images/pin-filled.svg') !important;
    background-size: 24px 24px;
    background-repeat: no-repeat;
}

 div.pinnable.ap_vproto:not([draggable="true"]):not(.addthumb) > div > .vtn_pin.pinned  {
    cursor: pointer;
 }

.vtn_watched {
    z-index: 10;
    background-color: rgba(0, 0, 200, 0.4);
    border-radius: 50% !important;
    top: 1rem;
    right: 1rem;
    margin: auto;
    width: 30px;
    height: 20px;
    padding: 1% !important;
}

.fav_toggle {
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    z-index: 10;
    background-color: red;
    -webkit-mask: url('exlib/images/heart-filled.svg') no-repeat 50% 55% / 24px 24px;
}

.fav_toggle.removed {
    background-color: whitesmoke;
    -webkit-mask: url('exlib/images/heart.svg') no-repeat 50% 55% / 24px 24px;
}

.cp_buy {
    min-width: 100px;    
}

.cp_youownit {
    background-color: mediumseagreen;
    color: white;
    padding: 0.2em;
    margin: 0.5em 0 0.5em;
}

.cp_videosTab {
    position: absolute;
    pointer-events: none;
    padding-right: 12px;
    height:100%;
}

.TV_LessonsRadio {
    width:50%;
}

.TV_ResultsRadio {
    width:30%;
}

.cp_edit {
    color: mediumseagreen;
}
/*
.cp_image:after {
    content: "";
    display: block;
    padding-bottom:100%;
}
*/

.cp_image {
    border-radius: 5%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.cp_course_fav {
    position: absolute;
    width: 36px;
    height: 36px;
    top: 24px;
    right: 10px;
    pointer-events: auto;
    background-repeat: no-repeat;
    background-position: center;
}

.cp_authorCircle {
    width: 42px;
    height: 42px;
    background-size: 42px;
    position: absolute;
    right: 10px;
    bottom: 24px;
    pointer-events: auto;
    border-radius: 50%;
/*  background-image: ""; */
    background-repeat: no-repeat;
    background-position: center;
    border-width: 2px;
    border-color: var(--bs-askhow);
    border-style: solid;
    background-color: var(--bs-askhow);
    z-index: 10;
}

.cp_authorLink {
    color: var(--bs-link-hover-color);
    cursor: pointer;
}

.cp_statistics {
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    padding-left: 14px;
    width: 60%;
    flex: 0 0 auto;
}

.cp_buyarea {
    gap: 10px;
    margin-bottom: 14px;
    margin-left: 10px;
}

.cp_buyCourse {
    font-weight: bold;
    background-color: green;
}


/*
 * lessonViewPage
 *
 */

.lvp_vcontainer {
    position: relative;
}

.lvp_embed {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
    pointer-events: all;
}

.lvp_unmute {
    position: absolute;
    pointer-events: auto;
    z-index: 10;
    top: 200px;
    left: 40px;
    height: 24px;
    width: auto;
    background-color: #ffffff;
    padding-left: 10px;
    padding-right: 10px;
}

.lvp_annotation {
    pointer-events: auto;
    user-select: none;
    position: absolute;
    z-index: 8;
}

.lvp_annedit {
    z-index: 14;
}

.lvp_link {
    color: black;
    background-color: #ffffff;
    border-radius: 0.2em;
    padding-left: 0.3em;
    padding-right: 0.3em;
    overflow: hidden;
    max-width: 60%;
}

.lvp_anchor {
    text-decoration: none;
    color: #3874c9;
    font-weight: 500;
}

.lvp_anchor::before {
  content: '🔗';
  padding-right: 0.2em;
}

/*
 * profileEditPage
 *
 */

.pep_frame {
    height:100%;
    width:100%;
    overflow-y: scroll
}

.pep_image {
    pointer-events: auto;
    height: 200px;
    width: 150px;
    max-width: 100%;
}

.pep_image_preview {
    border-radius: 11px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/*
 * ownershipPage
 *
 */


.op_ownerTab {
    position: absolute;
    pointer-events: none;
    padding-right: 12px;
    height:100%;
}

/*
 * toolsPage
 *
 */

.tp_toolsTab {
    position: absolute;
    pointer-events: none;
    padding-right: 12px;
    height:100%;
}

/*
 * v2cEditPage
 *
 */

.v2c_status {
    text-align: center;
}

.v2c_status .progress {
    height: 2em;
}

.v2c_container {
    overflow: hidden;
}

.v2c_video {
    pointer-events: auto;
    aspect-ratio: 6/8
}

.v2c_thumb {
    pointer-events: auto;
    aspect-ratio: 6/8
}

.v2c_vid_busycon {
    position: absolute;
    pointer-events: none;
    align-items: center;
    z-index: 10;
    color: grey;
}

.v2c_thumb_busycon {
    position: absolute;
    pointer-events: none;
    align-items: center;
    z-index: 10;
    color: grey;
}

.v2c_embed {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #c0c0c0;
    border-radius: 11px;
}

.v2c_thumb_preview {
    border-radius: 11px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.v2c_scrub {
}

.v2c_framesel {
}

.v2c_vid_close {
    z-index:20;
    width: 15px;
    position: absolute;
    left: calc(100% - 21px);
    top: 6px;
}

.v2c_vid_sound {
    opacity: 0.3;
    border-radius: 11px;
    padding: 0.5em;
    transform: scale(0.9);
    pointer-events: auto;
    background-color: black;
}

.v2c_thumb_close {
    z-index:20;
    width: 15px;
    position: absolute;
    left: calc(100% - 21px);
    top: 6px;
}

.v2c_thumb_legend {
    color: white;
    background-color:black;
    opacity: 0.6;
    border-radius: 0.2em;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.v2c_view_desc, .v2c_view_trans {
    border-radius: 0.5em;
    border-color: transparent;
    border-width: medium;
    border-style: solid;
}

.v2c_infoButton {
    width: 24px;
    height: 24px;
    background-image: url(exlib/images/icons8-info.svg);
    background-size: 24px 24px;
    background-repeat: no-repeat;
}

.v2c_rerunButton {
    width: 24px;
    height: 24px;
    background-image: url(exlib/images/icons8-refresh.svg);
    background-size: 24px 24px;
    background-repeat: no-repeat;
}

.v2c_view_chosen {
    border-color: var(--bs-askhow);
}

.v2c_lesson_edit {
    border-width: thin;
    border-style: solid;
    border-color: lightgray;
}

.v2c_desc {
    resize: none;
}

.v2c_buttons {
    background-color: var(--bs-askhow);
    align-items: center;
    user-select: none;
}

.v2c_buttons button {
    padding-top: 1px;
    padding-bottom: 1px;
    user-select: none;
}

.v2c_cut_title {
    font-style: italic;
    user-select: none;
}

.v2c_cut_title_label {
    font-weight: bold;
    user-select: none;
}

.v2c_cut_description {
    font-style: italic;
    user-select: none;
}

.v2c_cut_desc_label {
    font-weight: bold;
}

.v2c_s {
    text-decoration: line-through;
    color: #a9a9a9;
}

.v2c_rerunCourse {
    font-weight: bold;
}

.v2cs_step_past {
    color: grey;
}

.v2cs_step_current {
    font-weight: bold;
}

.v2cs_step_future {
}

.v2c_enable {
    background-color: black;
}

.v2c_disable {
    background-color: #a9a9a9;
    pointer-events: none;
}

.v2cs_credit_check {
    min-width: 17px;
}

/*
 * videoCreatePage
 *
 */

.vcp_video {
    pointer-events: auto;
    height: 200px;
}

.vcp_thumb {
    pointer-events: auto;
    height: 200px;
}

.vcp_embed {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #c0c0c0;
    border-radius: 11px;
}

.vcp_thumb_preview {
    border-radius: 11px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.vcp_framesel {
    writing-mode: bt-lr;
    -moz-appearance: slider-vertical;
    -webkit-appearance: slider-vertical;
    width: 16px;
}

.vcp_vid_close {
    z-index:20;
    width: 15px;
    position: absolute;
    left: calc(100% - 21px);
    top: 6px;
}

.vcp_thumb_close {
    z-index:20;
    width: 15px;
    position: absolute;
    left: calc(100% - 21px);
    top: 6px;
}

/*
 * resultsPage
 *
 */

.rp_result {
    padding: 10px;
}

.rp_tandc {
    font-size: initial!important;
}

/*
 * paymentsPage
 *
 */

.py_pending {
    border-bottom: 1px;
    border-bottom-style: solid;
    margin-bottom: 0.2em;
    padding-bottom: 0.2em;
    border-color: grey;
}

/*
 * Payments Modal
 *
 */

.pm_content {
    height: 95vh;
}

/*
 * Line Limits
 *
 */
  
.line_limit1 {
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    overflow: hidden;
}

.line_limit2 {
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    overflow: hidden;
}
 
.line_limit3 {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    overflow: hidden;
}
 
.line_limit4 {
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    overflow: hidden;
}

.line_limit {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    overflow: hidden;
}

/*
 * CountDownTimer
 *
 */

.end_course {
    transform: scale(0.3);
}

.cdt_base {
    position: relative;
    height: 300px;
    width: 300px;
}

.cdt_circle {
    fill: none;
    stroke: none;
}

.cdt_path_elapsed {
    stroke-width: 7px;
    stroke: grey;
}

.cdt_label {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.cdt_path_remaining {
    stroke-width: 7px;
    stroke-linecap: butt;
    transform: rotate(90deg);
    transform-origin: center;
    stroke: currentColor;
}

.cdt_svg {
    transform: scaleX(-1);
}

/*
 * Quirks for Mobile Safari
 *
 */

@media screen and (-webkit-min-device-pixel-ratio:0) { 
    select:focus,
    textarea:not([readonly]):focus,
    input[type="text"]:focus {
        font-size: 24px;
    }
}
