/*
 Theme Name:   UnderStrap Child
 Theme URI:    https://www.understrap.com
 Description:  UnderStrap Child Theme
 Author:       Holger Koenemann
 Author URI:   http://www.holgerkoenemann.de
 Template:     understrap
 Version:      0.5.5
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: holger1411/understrap-child
*/

/* 
 * Variables 
 */
:root {
    --vs-main-padding: 0 150px;
}

/* 
 * Media queries
 */
@media screen and (max-width: 1024px) {
    :root {
        --vs-main-padding: 0 80px;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --vs-main-padding: 0 20px;
    }
}

/* 
 * Base 
 */
::-webkit-scrollbar {
    width: 10px;
    height: 6px;
    margin-right: 1rem;
}

::-webkit-scrollbar-track {
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: #a4a4a4;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E2E2E2;
}

::-webkit-scrollbar-thumb:active {
    background: #E2E2E2;
}

.vs-main-padding {
    padding: var(--vs-main-padding) !important;
}


/* Animations */
@keyframes appear {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/* 
 * Components
 */

/* Card */
.vs-card {
    width: 280px;
    box-shadow: 0px 1px 30px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    padding: 0.5rem;
    color: #2A2A2A;
    animation: appear 1s;
}

#page {
    padding-top: 120px !important;
}


@media screen and (max-width: 1080px) {
    #page {
        padding-top: 60px !important;
    }
}

@media screen and (min-width: 767px) {
    .vs-card-contaner {
        box-shadow: 0px 1px 30px rgba(0, 0, 0, 0.08);
        border-radius: 15px;
        padding: 1.5rem;
        color: #2A2A2A;
        animation: appear 1s;
    }
}


/* Divider */
.vs-divider {
    margin: 0 0.8rem;
}

/* Loader */
.vs-loader-container {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    top: 0;
    left: 0;
    z-index: 99999999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vs-loader-container .vs-loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: relative;
    animation: rotate 1s linear infinite
}

.vs-loader-container .vs-loader::before,
.vs-loader-container .vs-loader::after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border: 5px solid #FFF;
    animation: prixClipFix 2s linear infinite;
}

.vs-loader-container .vs-loader::after {
    inset: 8px;
    transform: rotate3d(90, 90, 0, 180deg);
    border-color: #E45750;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

@keyframes prixClipFix {
    0% {
        clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)
    }

    50% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)
    }

    75%,
    100% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)
    }
}

/* 
 * Vendors 
 */
.switcher .selected a {
    border: none !important;
    color: #666 !important;
    padding: 0 !important;
    width: auto !important;
    font-size: 0px !important;
}

.switcher {
    width: auto !important;
}


/* Elementor */
.elementor-toggle .elementor-toggle-item .elementor-tab-title {
    font-size: 16px !important;
}

.elementor-toggle {
  text-align: left !important;
}


/* MEMBERPRESS */

.vs-course-card {
    border: none !important;
    border-radius: 15px !important;
}

nav.container.navigation.post-navigation {
    display: none;
}

.memberpressproduct {
    width: 45vw;
    margin: 0 auto;
}

table.mp-table,
table.mp-table th,
table.mp-table td,
.mepr-form-input {
    border-radius: 5px !important;
    overflow: hidden;
}

.mp_price_str,
.mepr_price {
    margin-top: 1rem !important;
}

.mepr-submit {
    background-color: rgb(228, 87, 80);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 35px;
    width: auto;
    border: 0;
}

.memberpressproduct .wp-post-image {
    width: -webkit-fill-available;
}

@media screen and (max-width: 768px) {
    .memberpressproduct {
        width: 100%;
    }
}

/* Website fixes Header, logged and no logged fixed submenu */

.logged-in .vs-main-menu-header,
.logged-in .vs-navbar-simple {
	top: 30px;
}

/*.page-id-24382 #page,
.page-id-24198 #page {
    padding-top: 55px !important;
}*/
.simple_landing #page {
    padding-top: 55px !important;
}
.simple-landing-floating-header #page {
    padding-top: 0px !important;
}

.simple-landing-floating-header #masthead {
	display: none!important;
}

/* Website fixes Header, logged and no logged fixed submenu */