/**
 * Components CSS
 * Extracted from inline styles in view files
 *
 * Source files:
 * - course_page.php
 * - preview_free_lesson.php
 * - my_ebooks.php
 * - menu.php
 * - ebook_details.php
 * - compare.php
 * - affiliate_course_history.php
 * - affiliate_course_modal.php
 * - animated-page-loader.php
 */

/* ==========================================================================
   Animated Page Loader
   Source: animated-page-loader.php
   ========================================================================== */

@keyframes placeHolderShimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}

@media screen and (max-width: 482px) {
    .animated-page-loader-2,
    .animated-page-loader-3,
    .animated-page-loader-4,
    .animated-page-loader-5,
    .animated-page-loader-6 {
        display: none !important;
    }
}

@media screen and (max-width: 710px) {
    .animated-page-loader-3,
    .animated-page-loader-4,
    .animated-page-loader-5,
    .animated-page-loader-6 {
        display: none !important;
    }
}

@media screen and (max-width: 938px) {
    .animated-page-loader-4,
    .animated-page-loader-5,
    .animated-page-loader-6 {
        display: none !important;
    }
}

@media screen and (max-width: 1166px) {
    .animated-page-loader-5,
    .animated-page-loader-6 {
        display: none !important;
    }
}

@media screen and (max-width: 1394px) {
    .animated-page-loader-6 {
        display: none !important;
    }
}

/* ==========================================================================
   Menu Mobile Overrides
   Source: menu.php
   ========================================================================== */

@media only screen and (max-width: 767px) {
    .category.corner-triangle.top-left.pb-0.is-hidden {
        display: none !important;
    }
    .sub-category.is-hidden {
        display: none !important;
    }
}

/* ==========================================================================
   Course Page
   Source: course_page.php
   ========================================================================== */

.btn-custom_coursepage {
    color: #fff;
    background-color: #19619c;
    padding: 7.5px 10px;
    border-radius: 10px !important;
    line-height: 1.35135;
    font-weight: 600;
    margin-left: 5px !important;
}

.btn-custom_coursepage:hover {
    background-color: #c33333;
    color: white;
}

.plyr__video-wrapper {
    height: 450px;
}

.embed-responsive-16by9::before {
    padding-top: 0px;
}

/* ==========================================================================
   Preview Free Lesson Modal (Google Drive)
   Source: preview_free_lesson.php
   ========================================================================== */

.hidebtn {
    width: 110px !important;
    height: 55px !important;
    background: #00000000 !important;
    position: absolute !important;
    right: 0px !important;
    top: 0px !important;
    z-index: 999;
}

/* ==========================================================================
   My Ebooks Grid
   Source: my_ebooks.php
   ========================================================================== */

.ebook-card {
    position: relative;
    width: 100%;
    min-height: 400px;
    margin-bottom: 20px;
}

.ebook-card .image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.ebook-card .margin-right {
    margin-right: 10px;
}

.buy-button {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #999933;
    padding: 10px;
    color: #fff;
}

.buy-button:hover {
    color: #fff;
}

.download-button {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #48df99;
    padding: 10px;
    color: #fff;
}

.download-button:hover {
    color: #fff;
}

.ebook-card .middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 32%;
    width: inherit;
    right: 0;
    padding: 24px;
}

.ebook-card .low {
    transition: .5s ease;
    opacity: -1;
    position: relative;
    bottom: -20px;
}

.view-details {
    transition: .5s ease;
    background: #ffc84bed;
    text-align: center;
    margin-bottom: 30px;
}

.ebook-card .text {
    background-color: #04AA6D;
    color: white;
    font-size: 16px;
    padding: 16px 32px;
}

.ebook-card .btn-info,
.ebook-card .btn-warning {
    color: #fff !important;
}

/* ==========================================================================
   Ebook Details Page
   Source: ebook_details.php
   ========================================================================== */

.ebook-details-table tr,
.ebook-details-table th,
.ebook-details-table td {
    padding: 10px 20px;
    border: 1px solid #dddddd;
}

.ebook-details-table th {
    background-color: #f1f2f4;
}

.h-10 {
    height: 10% !important;
}

.w-10 {
    width: 10% !important;
}

.ebook-modal {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
    min-height: 80vh;
}

/* ==========================================================================
   Compare Page
   Source: compare.php
   ========================================================================== */

.compare-select-box,
.compare-select-box:focus {
    padding: 10px 36px 10px 18px !important;
    background-color: #f1f7f8;
    border-radius: 7px;
    font-size: 14px;
}

/* ==========================================================================
   Affiliate Course History
   Source: affiliate_course_history.php
   ========================================================================== */

.borderexample {
    border-style: solid;
    border-color: #287EC7;
    color: #19619ced;
    line-height: 2.5;
}

.affiliate-history tbody,
.affiliate-history td,
.affiliate-history tfoot,
.affiliate-history th,
.affiliate-history thead,
.affiliate-history tr {
    border-bottom: 1px solid #ddd !important;
    vertical-align: middle;
}

.min-width-180px {
    min-width: 150px;
}

.affiliate_modal .modal-body label {
    margin-bottom: 1px;
}

.affiliate_modal .btn-close {
    line-height: 1em;
    color: #212529;
    background: #eee;
    opacity: 1;
}

.btn-secondary {
    border-radius: 5px;
}

.affiliate_modal .modal-title {
    color: #212529;
}

.affiliate_modal .input-group .form-control {
    background: transparent;
    color: #212529;
}

.affiliate_modal .input-group {
    display: flex;
}

.modal_form {
    padding: 0 20px;
    color: #fff;
}

.affiliate_modal .modal-footer {
    border-top: none;
}

.btn-customwith {
    color: #fff;
    background-color: #754FFE;
    padding: 9.5px 18px;
    border-radius: 5px !important;
    line-height: 0.8;
    font-weight: 500;
    margin-left: 5px !important;
    font-size: 14px;
}

.btn-custom {
    color: #fff;
    background-color: #754FFE;
    padding: 7.5px 10px;
    border-radius: 5px !important;
    line-height: 1.35135;
    font-weight: 500;
    margin-left: 5px !important;
}

.btn-customwith:hover,
.btn-custom:hover {
    background-color: transparent;
    color: #676C7D;
    border: 1px solid #676C7D;
}

.user-dashboard-area .nav-pills .nav-link.active,
.user-dashboard-area .nav-pills .show > .nav-link {
    background-color: #754FFE;
}

.total_text {
    font-size: 18px;
}

.bg-card {
    color: #676C7D;
}

.nav-pills .nav-link {
    color: #000;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #754FFE;
    color: #fff;
}

.history-affi span {
    font-size: 12px;
    display: inline-block;
    color: #676C7D;
}

.text-head {
    font-size: 16px;
    color: #000;
    font-weight: 500;
}

/* ==========================================================================
   Affiliate Course Modal (Share)
   Source: affiliate_course_modal.php
   ========================================================================== */

.affiliate_modal .modal {
    top: 20%;
}

.affiliate_modal .btn-close {
    box-shadow: none;
    border: none;
    outline: none;
}

.affiliate_modal .modal-body .icons {
    margin: 15px 0px 20px 0px;
}

.affiliate_modal .modal-body .icons a {
    text-decoration: none;
    border: 1px solid transparent;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 20px;
    transition: all 0.3s ease-in-out;
}

.affiliate_modal .modal-body .icons a:nth-child(1) {
    color: #1877F2;
    border-color: #B7D4FB;
}

.affiliate_modal .modal-body .icons a:nth-child(1):hover {
    background-color: #1877F2;
    color: #fff;
}

.affiliate_modal .modal-body .icons a:nth-child(2) {
    color: #46C1F6;
    border-color: #b6e7fc;
}

.affiliate_modal .modal-body .icons a:nth-child(2):hover {
    background-color: #46C1F6;
    color: #fff;
}

.affiliate_modal .modal-body .icons a:nth-child(3) {
    color: #e1306c;
    border-color: #f5bccf;
}

.affiliate_modal .modal-body .icons a:nth-child(3):hover {
    background-color: #e1306c;
    color: #fff;
}

.affiliate_modal .modal-body .icons a:nth-child(4) {
    color: #25d366;
    border-color: #bef4d2;
}

.affiliate_modal .modal-body .icons a:nth-child(4):hover {
    background-color: #25d366;
    color: #fff;
}

.affiliate_modal .modal-body .icons a:nth-child(5) {
    color: #0088cc;
    border-color: #b3e6ff;
}

.affiliate_modal .modal-body .icons a:nth-child(5):hover {
    background-color: #0088cc;
    color: #fff;
}

.affiliate_modal .modal-body .icons a:hover {
    border-color: transparent;
}

.affiliate_modal .modal-body .icons a span {
    transition: all 0.09s ease-in-out;
}

.affiliate_modal .modal-body .icons a:hover span {
    transform: scaleX(1.1);
}

.affiliate_modal .modal-body .field {
    height: 45px;
    border: 1px solid #dfdfdf;
    border-radius: 5px;
    margin: 0 20px;
    padding-left: 13px;
}

.affiliate_modal .copy-field i {
    margin-right: 10px;
    color: #fff;
}

.affiliate_modal .modal-body .field.active {
    border-color: #7d2ae8;
}

.affiliate_modal .field span {
    width: 50px;
    font-size: 1.1rem;
}

.affiliate_modal .field.active span {
    color: #7d2ae8;
}

.affiliate_modal .field input {
    border: none;
    outline: none;
    font-size: 0.89rem;
    width: 100%;
    height: 100%;
    background: #261954;
    color: #fff;
    border-left: 1px solid #fff;
}

.affiliate_modal .field button {
    padding: 5px 16px;
    color: #fff;
    background: #754FFE;
    border: 2px solid transparent;
    border-radius: 0 5px 5px 0;
    font-weight: 500;
    height: 100%;
}

.affiliate_modal .modal-body {
    padding-bottom: 34px !important;
}

.affiliate_modal .modal-body p {
    padding-left: 20px;
    color: #fff;
}

@media (max-width: 330px) {
    .affiliate_modal .modal-body .icons a {
        margin-right: 15px;
        width: 35px;
        height: 35px;
    }
}
