/*
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.
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
*/

p {
  margin: 0 !important;
}

/* custom account widget */
.user-avatar-trigger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: block; 
}

.user-avatar-trigger img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: block;
}

.astra-user-menu-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.user-menu-popup {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    padding: 10px 0;
    margin-top: 10px;
    
    display: none; 
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.user-menu-popup.is-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.user-menu-popup .user-info {
    padding: 5px 15px 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 5px;
}

.user-menu-popup ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.user-menu-popup ul li a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #333;
}
.user-menu-popup ul li a:hover {
    background: #f5f5f5;
}

/* card */
.card-list {
	display: flex;
	flex-wrap: wrap;
}

.card {
	width: 350px;
	margin: 5px;
	border-radius: 5px;
	background: #FFFFFF;
	box-shadow: 0 2px 5px #CCCCCC;
}

.card-img-section {
	width: 350px;
	height: 200px;
	overflow: hidden; 
}

.card-img {
	border-radius: 5px 0 0 5px;
	width: 100%;
  	height: 100%;
  	object-fit: cover;
}

.card-content-section {
	padding: 20px;
	height: 100px;
}

.card-title {
	text-align: center;
	font-size: 24px;
	font-weight: 500;
}

.card-link-section {
	text-align: center;
	border-top: 1px solid #EEEEEE;
	padding: 20px;
}

.card-link-section a {
	text-decoration: none;
	font-size: 24px;
	font-weight: 500;
}

@media (max-width: 768px) {
  	.card-list {
		justify-content: center;
	  }
  	.card {
		width: 300px;
		margin: 5px auto;
	  }
	.card-img-section {
		width: 300px;
	}
}

/* title */
.h1-title {
	text-align: center;
}

.h2-title {
	padding-top: 50px;
	padding-bottom: 20px;
}

/* vide */
.video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.jet-form-builder__next-page {
  	font-weight: bold;
}

.jet-form-builder__prev-page {
  	font-weight: bold;
	background: #fff;
  	color: #0067FF;
  	border: 1px solid #0067FF;
  	box-shadow: none;
}

.only-next-button {
	display: block;
	margin-left: auto;
}

.jet-form-builder__submit {
	font-weight: bold;
}

.jet-form-builder__next-page-wrap {
  	display: flex;
  	justify-content: space-between;
  	align-items: center;
}

.jet-form-builder__submit-wrap{
	display: flex;
  	justify-content: space-between;
  	align-items: center;
}

/* qsm */
@media (max-width: 768px) {
  	.quiz_section{
    	width: 100%!important;
	}
}