/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

:root{
	--pri: var(--ast-global-color-0);
	--sec: var(--ast-global-color-1);
}
html,body{
	overflow-x: hidden;
	margin: 0;
	padding: 0;
}
.white_img img,img.white_img{
	filter: brightness(0) invert(1);
}
.p_50{
	padding: 50px 10px;
}
.p_050{
	padding: 0 10px 50px;
}
.p_500{
	padding: 50px 10px 0;
}
.p_80{
	padding: 80px 10px;
}
.p_080{
	padding: 0 10px 80px;
}
.p_800{
	padding: 80px 10px 0;
}
.color span,span.color{
	color: var(--pri);
}
.color2 span,span.color2{
	color: var(--sec);
}
.square img{
	aspect-ratio: 1/1;
	object-fit: cover;
}
.portrait img{
	aspect-ratio: 16/9;
	object-fit: cover;
}
.disabled {
	pointer-events: none;
}

.tutor-login-modal,.tutor-login-form-wrapper {
    text-align: center;
}
#tutor-login-form {
    display: flex;
    flex-direction: column;
}
#tutor-login-form > * {
    order: 2;
}
#tutor-login-form > div:last-of-type {
    order: 1;
    margin: 0 0 20px 0;
	  font-weight: 700;
    font-size: 18px;
	  & a {
		font-weight: 700;
		font-size: 18px;
	}
}
.text-danger {
	color: #F00;
}
section.footer-widgets .container {
  padding-bottom: 30px;
}
.tutor-dashboard-menu-certificate-builder {
  display: none;
}
#site_editing_form .btn-primary {
  --bs-btn-bg: var(--pri);
  --bs-btn-border-color: var(--pri);
}
.franchise-branding {
  display: flex;
  align-items: center;
  -webkit-gap: 10px;
  gap: 10px;
  min-height: 50px;
}
#frachise_name {
  font-weight: bold;
  font-size: 20px;
}
#franchise_logo {
  max-width: 100px;
  object-fit: contain;
}
.site_desc {
  padding-top: 10px;
  font-size: 18px;
}
.contact-detail-wrap {
  padding-bottom: 10px;
  font-size: 18px;
}
.contact-detail {
  padding-left: 5px;
}
.client_form.container {
  max-width: 540px;
  margin-left: 0;
}
.programs img {
  width: 113px;
  height: 113px;
  object-fit: cover;
  box-shadow: 0 0 10px 0 rgba(0 0 0 / 0.1);
  padding: 5px;
}
.why_avas span:not(.elementor-icon-list-text) {
  font-size: 14px;
  font-weight: 400;
  display: block;
  line-height: 1em;
}

.native-datepicker input {
	padding: .75em
}

.blinking-button .elementor-button {
  -webkit-animation: glowing 1500ms infinite;
  -moz-animation: glowing 1500ms infinite;
  -o-animation: glowing 1500ms infinite;
  animation: glowing 1500ms infinite;
}

@-webkit-keyframes glowing {
  0% {
    -webkit-box-shadow: 0 0 3px var(--pri);
  }

  50% {
    -webkit-box-shadow: 0 0 40px var(--pri);
  }

  100% {
    -webkit-box-shadow: 0 0 3px var(--pri);
  }
}

@-moz-keyframes glowing {
  0% {
    -moz-box-shadow: 0 0 3px var(--pri);
  }

  50% {
    -moz-box-shadow: 0 0 40px var(--pri);
  }

  100% {
    -moz-box-shadow: 0 0 3px var(--pri);
  }
}

@-o-keyframes glowing {
  0% {
    box-shadow: 0 0 3px var(--pri);
  }

  50% {
    box-shadow: 0 0 40px var(--pri);
  }

  100% {
    box-shadow: 0 0 3px var(--pri);
  }
}

@keyframes glowing {
  0% {
    box-shadow: 0 0 3px var(--pri);
  }

  50% {
    box-shadow: 0 0 40px var(--pri);
  }

  100% {
    box-shadow: 0 0 3px var(--pri);
  }
}

/**
 * Media queries
 */
@media (max-width: 767px) {
  .tutor-login-wrap {
    padding: 40px 20px;
  }
  .tutor-login-form-wrapper {
    padding: 0px;
  }

  #dash_btn .elementor-button-text {
    display: none;
  }
  #dash_btn .elementor-button-icon {
    margin-right: 0;
  }
}

/* Grid Layout */
.cpt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

/* Card */
.course-details {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    padding-bottom: 16px;
}
.course-details img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.course-details h4 {
    padding: 12px 16px 4px;
    margin: 0;
}

/* Taxonomy Badges */
.cpt-terms {
    padding: 4px 16px 8px;
}
.cpt-term-badge {
    display: inline-block;
    background: var(--sec);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    margin-right: 4px;
}

/* Read More Button */
.cpt-read-more-btn {
    display: inline-block;
    margin: 8px 16px 0;
    padding: 8px 18px;
    background: var(--pri);
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
}
.cpt-read-more-btn:hover {
    background: #005f8a;
}

/* Modal Overlay */
.cpt-modal-overlay {
    display: flex;  /* always flex, controlled by opacity/visibility */
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: background 0.3s ease, opacity 0.3s ease;
}

.cpt-modal-overlay.active {
    visibility: visible;
    opacity: 1;
    background: rgba(0,0,0,0.75);
}

/* Modal Box */
.cpt-modal-box {
    background: #fff;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 10px;
    position: relative;

    /* Animation */
    transform: translateY(40px) scale(0.97);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.cpt-modal-overlay.active .cpt-modal-box {
    transform: translateY(0) scale(1);
    opacity: 1;
	transition: transform 0.35s ease, opacity 0.35s ease;
}

.cpt-modal-box img {
    width: 100%;
	max-width: 400px;
    height: auto;
    border-radius: 6px;
    margin-bottom: 15px;
}
.cpt-modal-box h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Close Button */
.cpt-modal-close {
    position: absolute;
    top: 12px; right: 16px;
    font-size: 22px;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
}

.yt-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.yt-no-vid {
	text-align: center;	
}

.yt-embed-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.yt-embed-item {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.yt-embed-item iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}
