﻿/* Summernote Tooltips in Modal */

.tooltip {
    z-index: 10000;
}

.swal2-container {
    z-index: 10000 !important;
}

.select2-container {
    z-index: auto;
}

.swal2-popup {
    font-size: 12px !important;
}

#screenshotImage img {
    max-width: 100%;
}

#bugModal {
    z-index: 9999 !important;
}

@media only screen and (max-height: 900px) {
    .blchelp {
        max-height: 125px !important;
    }
}

.blchelp {
    max-height: 400px;
    overflow-y: scroll;
}

.pull-right {
    float: right;
}


/* To make the Clear Search button the same witdh */

thead tr:first-child th:last-child {
    min-width: 85px;
}

/*  Saving Overlay */

.overlay {
    height: 0;
    width: 100%;
    position: fixed;
    z-index: 10001;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: hidden;
    transition: 0.5s;
}

.closeOverlay {
    font-size: 60px;
    color: white;
    font-weight: 100;
    margin-left: 91%;
    position: absolute;
}

#overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
    color: white;
}

#overlaySavingText {
    font-size: 40px;
    margin-left: 1%;
    color: white;
}

#overlay-content2 {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#overlaySavingText2 {
    color: white;
    font-size: 50px;
}


/* DataTables DOM Formatting */

.dataTables_filter {
    display: inline;
}

.html5buttons {
    text-align: right;
}

.card-header h3,
h5 {
    display: inline;
}

.card-header .btn {
    float: right;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        cursor: inherit;
        display: block;
    }

.spinner-center {
    /* border: 1px solid; */
    position: fixed;
    z-index: 9999999;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    /* width: 50px; */
    /* height: 50px; */
    margin: auto;
}


/*Customized styles*/

.card {
    cursor: pointer;
}

/*.a-link,
.a-link:hover {
    text-decoration: none;
    color: #fff;
}*/

.card-header {
    border-bottom: 1px solid lightgray;
}

.card-border {
    border: 0.5px solid lightgrey;
}

.edit-profile {
    position: absolute;
    right: 26px;
    bottom: -20px;
}

    .edit-profile a {
        background: #fff;
        border-radius: 50%;
        display: block;
        width: 32px;
        height: 32px;
        text-align: center;
        line-height: 32px;
    }

.sticky-alert {
    position: sticky;
    top: 80px;
    right: 0;
    width: 100%;
    z-index: 9999;
}

#coverVideo {
    height: 500px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#contentVideo {
    flex: 0;
    min-height: 100%;
    min-width: 100%;
}

.media-wrapper .post-video-player {
    width: 100%;
}

.media-wrapper > a {
    display: block;
}

.card-cover-img {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
}
.card-cover-img img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
}

.cover-100 {
    padding-bottom: 100%;
}

.cover-75 {
    padding-bottom: 75%;
}

.sticky-bottom-action {
    position: sticky;
    bottom: 0;
    padding: 8px 0;
    background: #f9fafd;
    z-index: 99;
}

a.card:hover {
    text-decoration: none;
}

a.card .card-cover-img {
    overflow: hidden;
}

    a.card .card-cover-img img {
        transform: scale(1);
        -webkit-transition: transform 0.2s ease;
        transition: transform 0.2s ease;
    }

a.card:hover .card-cover-img > img {
    transform: scale(1.1);
}

.object-fit-cover {
    object-fit: cover;
}

.object-fit-contain {
    object-fit: contain;
}

.comment-field {
    padding-right: 40px;
}

/* Create Post Card */
.create-post-toggle {
    color: #9da9bb;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
    .create-post-toggle:hover {
        background-color: #ebecf0;
        color: #748194;
    }
/* Used to jump to the right anchor position while accounting for the sticky header */
html {
    scroll-padding-top: 130px; /* height of sticky header */
}

.search-box {
    width: auto !important;
}

.search-box .show {
    width: 21rem;
}