.home-hero-slider-class .owl-dots{
	top: 0px!important; 
	position: relative!important;
	margin-top: 20px;
}

.home-hero-slider-class-mobile .owl-dots{
    position: relative!important;
	top: 15px !important;
    right: 0px!important;
}
.home-hero-slider-class-mobile .owl-nav {
	position: relative!important;
    top: 0px!important;
    right: 0px!important;
}
.home-hero-slider-class .owl-nav {
    position: relative!important;
    top: 0px!important;
    right: 0px!important;
}
.home-hero-slider-class .owl-nav .owl-next span {
	color: #1b1c82!important;
	background-color: #fff!important;
}
.home-hero-slider-class .owl-nav .owl-prev span {
	color: #1b1c82!important;
	background-color: #fff!important;
}
/* button.owl-prev {
	position: absolute!important;
    left: 0px!important;
    top: -50px!important;
}
button.owl-next {
	position: absolute!important;
    right: 0px!important;
    top: -50px!important;
} */
@media only screen and (max-width: 786px) {
	.custom-modal {
		overflow: scroll!important;
	}
	.contestant-information {
		padding: 20px!important;
	}
	.profile-photo-container.modal-profile-pic {
		height: 340px!important;
	}
	.contestant-profile-page .profile-photo {
		width: 177px!important;
		height: 261px!important;
		border-radius: 40px 0 40px 0!important;
	}
	a.btn.btn-primary.contestant-btn {
		position: relative!important;
		bottom: 0px !important;
        left: 0px !important;
	}
	.contestant-details {
		width: 100%!important;
	}
	.leaderboard-grid {
		padding-left: 10px;
    	padding-right: 10px;
	}
	button.vote-button-mobile {
		text-align: center!important;
	}
	.vote-container {
		text-align: center!important;
	}
/* 	.close-modal {
		top: 70px!important;
		right: 82px!important;
		z-index: 99999999999!important;
		font-size: 32px!important;
	} */
	.contestant-card-v2 {
		margin-top: 0px !important;
	}
	.photo-upload {
		width: 100%!important;
	}
}

.home-hero-slider-class-mobile .owl-nav .owl-prev span {
	color: #1a1c82!important;
	background-color: #fafafa!important;
	padding: 5px 20px 10px 20px;
    border-radius: 50%;
    font-size: 25px !important;
}
.home-hero-slider-class-mobile .owl-nav .owl-next span {
	color: #1a1c82!important;
	background-color: #fafafa!important;
	padding: 5px 20px 10px 20px;
    border-radius: 50%;
    font-size: 25px !important;
}
.home-hero-slider-class-mobile .owl-nav .owl-next:hover, .home-hero-slider-class-mobile .owl-nav .owl-prev:hover {
	background-color: transparent!important;
}
.home-hero-slider-class-mobile .owl-nav .owl-next {
	position: absolute!important;
    right: 0px!important;
    top: -170px!important;
}
.home-hero-slider-class-mobile .owl-nav .owl-prev {
	position: absolute!important;
    left: 0px!important;
    top: -170px!important;
}
.home-hero-slider-class .owl-nav .owl-next {
	position: absolute!important;
    right: 0px!important;
    top: -350px!important;
}
.home-hero-slider-class .owl-nav .owl-prev {
	position: absolute!important;
    left: 0px!important;
    top: -350px!important;
}
.share-modal-container {
    position: relative;
    display: inline-block;
}
.vote-container {

	min-width: 60px;
	display: flex;
    flex-direction: column;
    align-items: center; /* Center align items horizontally */
    justify-content: center; /* Center align items vertically if necessary */
}
.vote-count {
    font-size: 14px;
    color: #333;
}
.share-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 300px;
}

.modal-content {
    text-align: center;
}

.modal-content h3 {
    margin-bottom: 20px;
    font-size: 1.5em;
    color: #333;
}

.share-option {
    display: block;
    margin: 10px 0;
    padding: 10px;
    background-color: #f9f9f9;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.share-option:hover {
    background-color: #ddd;
}

.close-modal {
    position: absolute;
    top: 100px;
    right: 50px;
    font-size: 20px;
    cursor: pointer;
}

 .contestants-grid {
    display: grid;
	flex-wrap: wrap;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
	overflow: visible!important;  
    position: relative!important; 
	justify-content: center;
} 
.contestant-item {
    width: 200px; /* Set a fixed width */
    height: 250px; /* Set a fixed height */
    background-color: #f9f9f9; /* Optional: Background color for grid items */
    border-radius: 10px; /* Optional: Rounded corners for grid items */
    overflow: hidden; /* Ensure content doesn't overflow the container */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Box shadow for grid items */
}
.contestant-item img {
    width: 100%; /* Image fills the width of the container */
    height: 100%; /* Image fills the height of the container */
    object-fit: cover; /* Ensures the image covers the container without distortion */
    border-radius: 10px 10px 0 0; /* Match the border-radius to the container */
}

.contestant-details {
	width: 70%;
    padding: 10px;
    flex-grow: 1; /* Allow the details section to grow and take up space */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contestant-card {
    position: relative;
    overflow: visible; 
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    width: 100%;
    height: 400px;
    background-color: #f9f9f9; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px; 
    display: block; 
}
.contestant-card img.profile-pic {
    max-width: 100%; 
    max-height: 100%; 
    object-fit: cover; 
    position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    border-radius: 10px;
	height: 100%;
}
.contestant-card h3 {
	color: #1A1C82;
	font-size: 2rem!important;
	line-height: 25px!important;
}
.contestant-card span {
	color: #616161;
}
.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    perspective: 1000px;
}
.contestant-card .elementor img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
} 
img.profile-pic {
    border-radius: 10px!important;
}

.card-back {
    background: #fff;
    transform: rotateY(180deg);
    transition: transform 0.6s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    text-align: center;
}

.card-front,
.card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
}
.card-front {
    transform: rotateY(0deg);
    transition: transform 0.6s;
}

.contestant-card:hover .card-front {
    transform: rotateY(-180deg);
}

.contestant-card:hover .card-back {
    transform: rotateY(0deg);
}
.card-back h3,
.card-back p {
    margin: 10px 0;  /* Add some space between name, surname, and excerpt */
}
.card-back .button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;  /* Add space above the buttons */
}
.card-back .vote-button,
.card-back .share-button {
    background-color: #1A1C82;
    color: white;
    border: none;
    margin: 0 10px;  /* Horizontal margin to space out the buttons */
    border-radius: 50%;
    cursor: pointer;
    width: auto;  /* Ensure buttons are auto-sized */
    max-width: 150px;  /* Optional: limit the maximum width */
}

.card-back .vote-button:hover,
.card-back .share-button:hover {
    background-color: #1A1C82;
	opacity: 0.7;
}
/* The Popup (hidden by default) */
.mog-popup {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
}

/* Popup Content */
.mog-popup-content {
    background-color: #fefefe;
    margin: 15% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 300px; 
    border-radius: 10px;
    text-align: center;
}

/* Close Button */
.mog-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.mog-close:hover,
.mog-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Input Field */
#mog-email {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Submit Button */
#mog-email-form button {
    background-color: #1A1C82;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

#mog-email-form button:hover {
    background-color: #0055ff;
}
/* Dropdown container */
.share-dropdown {
    position: relative;
    display: inline-block;
}

/* Share button */
.share-button {
    background-color: #1A1C82;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* The dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* Show the dropdown content when the user clicks on the share button */
.share-dropdown:hover .dropdown-content {
    display: block;
}
.vote-button {
    background-color: #1A1C82; /* Dark blue background */
    border: none; /* Remove default border */
    border-radius: 50%; /* Make the button circular */
    width: 50px; /* Set the width of the button */
    height: 50px; /* Set the height of the button */
    display: flex; /* Center the icon inside the button */
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    outline: none; /* Remove default outline */
    transition: transform 0.2s ease; /* Add a slight scale effect */
}

.vote-button i {
    color: #fff; /* White heart icon */
    font-size: 24px; /* Adjust the size of the heart */
    transition: transform 0.3s ease-in-out; /* Transition for the animation */
}

/* Animation for when the button is clicked */
.vote-button:active {
    transform: scale(1.1); /* Slightly enlarge the button */
}

.vote-button.clicked i {
    animation: heart-pulse 0.5s ease;
}

/* Keyframes for heart pulse animation */
@keyframes heart-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(2);
    }
    100% {
        transform: scale(1);
    }
}
.share-button {
    background-color: #1A1C82; /* Dark blue background */
    border: none; /* Remove default border */
    border-radius: 50%; /* Make the button circular */
    width: 50px; /* Set the width of the button */
    height: 50px; /* Set the height of the button */
    display: flex; /* Center the icon inside the button */
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    outline: none; /* Remove default outline */
    transition: transform 0.2s ease; /* Add a slight scale effect */
}

.share-button svg {
    fill: #fff; /* White share icon */
    transition: transform 0.3s ease-in-out; /* Transition for the animation */
}

/* Animation for when the button is clicked */
.share-button:active {
    transform: scale(1.1); /* Slightly enlarge the button */
}

/* .share-modal-container::after{
    content: "<?php echo esc_html($translated_text); ?>";
}
.button-div::after {
    content: "<?php echo esc_html($translated_text); ?>";
} */
#contestant-application-form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px; /* Adjust as needed */
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.social-media {
    width: 50%;
}

.city {
    width: 35%;
}
.form-group.full-name {
    width: 100%;
}
.form-group.mobile {
    width: 100%;
}
.form-group.email {
    width: 100%;
}
.form-group.moment-glow {
    width: 100%;
}
.photo-upload {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the content horizontally */
    justify-content: center; /* Center the content vertically */
    text-align: center;
    width: 10%;
}

.photo-upload-label {
    display: inline-block;
    position: relative;
/*     background-color: #1A1C82; */
    color: #fff;
/*     border-radius: 50%; */
/*     width: 60px;
    height: 60px; */
    cursor: pointer;
    overflow: hidden;
}

.photo-upload-label input[type="file"] {
    position: absolute;
	opacity: 0;
}

.upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.photo-upload-label span {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #1A1C82;
}

#moment-glow {
    margin-top: 20px;
    min-height: 100px;
}

button[type="submit"] {
    background-color: #1A1C82;
    color: #fff;
    border: 2px solid #1A1C82;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
	width: 30%;
    margin: auto;
}
@media only screen and (max-width: 500px) {
	button[type="submit"] {
		width: 80%!important;
	}
}

button[type="submit"]:hover {
    background-color: #fff;
    color: #1A1C82;
	border: 2px solid #1A1C82;
}
.contestant-profile button[type="submit"]:hover {
	background-color: #1A1C81!important;
    color: #1A1C82;
	border: 2px solid #1A1C82;
}
button.vote-button:hover {
    background-color: #1A1C82;
}
#masonry {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.masonry-item {
    width: calc(33.33% - 20px);
    margin-bottom: 20px;
    position: relative;
}

.masonry-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

#masonry {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    animation: scroll 30s linear infinite;
}
input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
	border: 2px solid #2e388a;
}
.leaderboard-top-three {
    display: flex;
    justify-content: space-between; /* Distribute space between items */
    align-items: center; /* Center the items vertically */
    margin-bottom: 30px;
    /*max-width: 1000px;  Container width */
    margin: 0 auto; /* Center the container horizontally */
    height: 400px; /* Increase the height of the container */
    padding: 0px; /* Add some padding to ensure the frames don't touch the edges */
    margin-top: 100px;
}
.leaderboard-frame {
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    padding: 0;
}
.leaderboard-grid {
    padding-top: 150px;
}
.leaderboard-overlay {
	opacity: 0;
    transition: opacity 0.3s ease-in-out; /* Controls the fade-in effect */
    visibility: hidden; /* Make it invisible by default */
	background-color: #ffffffb5;
    padding: 20px;
    font-weight: bold;
    border-radius: 20px;
}
.leaderboard-frame:hover .leaderboard-overlay {
    opacity: 1;
    visibility: visible; /* Show the overlay when hovering */
}
.gold-frame .leaderboard-overlay {
    position: absolute;
    top: 62%;
    left: 92px;
    min-width: 250px;
}
.silver-frame .leaderboard-overlay {
    position: absolute;
    top: 59%;
    left: 75px;
    min-width: 215px;
}
.bronze-frame .leaderboard-overlay {
    position: absolute;
    top: 49%;
    left: 75px;
    min-width: 175px;
}
.leaderboard-overlay h3.fname {
	color: #1A1C82!important;
	font-size: 2rem !important;
	line-height: 25px !important;
}

	.heart-icon {
    fill: #fff!important; /* Set the fill color to white */
    stroke: #1A1C82!important; /* Set the border (stroke) color to #1A1C82 */
    stroke-width: 2px!important; /* Adjust the stroke width */
    width: 24px!important; /* Set the width of the SVG */
    height: 24px!important; /* Set the height of the SVG */
}
.vote-button {
    padding: 8px!important;
}
button.vote-button {
    background-color: transparent;
}
.vote-button svg {
/*     fill: #fff!important; /* Set the heart fill color to white */ */
    stroke: #1A1C82!important; /* Set the heart border color */
    stroke-width: 2px!important; /* Adjust the stroke width */
    width: 20px; /* Adjust the SVG icon size */
    height: 20px; /* Adjust the SVG icon size */
}
.leaderboard-frame .leaderboard-photo {
    position: absolute;
    top: 52px; /* Adjust based on your frame design */
    left: 50%;
    transform: translateX(-50%);
    width: 400px; /* Adjust to fit within each frame */
    height: 135px; /* Adjust to fit within each frame */
    object-fit: cover;
    border-radius: 18% 0 19% 0; /* Adjust the border-radius to fit the frame */
    z-index: -1;
}
.gold-frame .leaderboard-photo {
    position: absolute;
    top: 82px; /* Adjust the top position */
    left: 51%%;
    transform: translateX(-50%);
    width: 318px;
    height: 458px; 
    object-fit: cover;
    border-radius: 18% 0 19% 0;
    z-index: -1;
}

.silver-frame .leaderboard-photo {
    position: absolute;
    top: 92px; /* Adjust the top position */
    left: 50%;
    transform: translateX(-50%);
    width: 274px;
    height: 394px; /* Adjust the image height */
    object-fit: cover;
    border-radius: 18% 0 19% 0; /* Adjust the border-radius to fit the frame */
    z-index: -1;
}
.bronze-frame .leaderboard-photo {
    position: absolute;
    top: 109px;
    left: 53%;
    transform: translateX(-50%);
    width: 220px;
    height: 312px;
    object-fit: cover;
    border-radius: 18% 0 21% 0;
    z-index: -1;
}
.contestant-name {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    color: #333;
    z-index: 2; /* Ensure the text appears above the frame */
    background-color: rgba(255, 255, 255, 0.8); /* Optional: Background for better visibility */
    padding: 5px 10px;
    border-radius: 10px;
}

.gold-frame {
    width: 433px;
    height: 600px; /* Adjust the height */
    background-image: url('https://momentofglow.shalina.com/wp-content/uploads/2024/08/gold-frame.png');
}

.silver-frame {
    width: 370px;
    height: 536px; /* Adjust the height */
    background-image: url('https://momentofglow.shalina.com/wp-content/uploads/2024/08/silver-frame.png');
}

.bronze-frame {
    width: 310px;
    height: 507px; /* Adjust the height */
    background-image: url('https://momentofglow.shalina.com/wp-content/uploads/2024/08/bronze-frame.png');
}


.leaderboard-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
}

.contestant-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}
.page-id-7 .profile-pic {
	width: 100%;
}
.page-id-7 .vote-button {
	width: 56px;
    height: 50px;
}
.page-id-798 .profile-pic {
	width: 100%;
}
.page-id-798 .vote-button {
	width: 56px;
    height: 50px;
}
.page-id-821 .profile-pic {
	width: 100%;
}
.page-id-821 .vote-button {
	width: 56px;
    height: 50px;
}

.contestant-details {
    flex-grow: 1;
}

.vote-button {
    background-color: #1A1C82;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.vote-button-mobile {
	border: none;
    text-align: left;
}
.vote-button svg {
    fill: #fff;
}

.vote-button:active {
    transform: scale(1.1);
}
.contestant-profile-pic {

    width: 15%;
    height: 170px;
    background-size: cover;
    background-position: center;
    border-radius: 10px; /* Optional: add rounded corners */
}
@media only screen and (max-width: 768px) {
	.contestant-profile {
		display: block;
	}
	.contestant-profile-pic {
		width: 100%;
		height: 400px;
	}
}
@media only screen and (min-width: 768px) {
	.vote-button-mobile {
		display: none;
	}
}
@media only screen and (max-width: 1002px) {
    .leaderboard-top-three {
        flex-direction: column;
        align-items: center;
		height: auto;
    }

    .gold-frame {
        order: 1;
		width: 600px;
    }

    .silver-frame {
        order: 2;
		width: 388px;
    	height: 554px;
    }

    .bronze-frame {
        order: 3;
		width: 375px;
    }
	.gold-frame .leaderboard-photo {
/* 		top: 83px; */
		top: 84px;
		left: 50.5%;
/* 		width: 318px;
    	height: 457px; */
		width: 318px;
        height: 455px;
	}
	.silver-frame .leaderboard-photo {
		top: 95px;
		width: 285px;
    	height: 406px;
	}
	.bronze-frame .leaderboard-photo {
		top: 80px;
		width: 265px;
    	height: 379px;
	}
    .leaderboard-frame {
        margin-bottom: 20px; /* Add some spacing between the frames */
    }
	.gold-frame .leaderboard-overlay {
		top: 62%;
		left: 160px;
		min-width: 275px;
	}
	.silver-frame .leaderboard-overlay {
		min-width: 235px;
	}
	.bronze-frame .leaderboard-overlay {
		top: 55%;
		min-width: 237px;
	}
}
