/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


.premium-cf7-container .wpcf7-form div, .premium-cf7-container .wpcf7-form p {
  width: 100%;
}
.formular-fapte-bune{
	text-align:center;
}
.formular-fapte-bune .descriere-fapta{
	margin-bottom:10px !important;
}
.formular-fapte-bune .detalii-date .prenume,
.formular-fapte-bune .detalii-date .localitate{
	display: inline-block;
	width: calc(50% - 8px);
	vertical-align:top;
}
.formular-fapte-bune .detalii-date .prenume{
	margin-right: 10px;
}
.formular-fapte-bune .buton-trimite{
	padding-top:30px;
}
.formular-fapte-bune .buton-trimite .wpcf7-spinner{
	display: block;
	margin: auto !important;
	margin-top: 15px !important;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #ffb900;
  background: #ffb900;
  border-radius: 0px;
  padding: 10px;
  text-align: center;
  color: #0A3256;
  font-family: "Poppins", Sans-serif;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #46b450;
  background: #46b450;
  padding: 10px;
  border-radius: 0px;
  text-align: center;
  color: #ffffff;
  font-family: "Poppins", Sans-serif;
}
.lista-fapte-bune {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.masonry-item {
  width: calc(33.33% - 20px); /* Adjust the width and margin as needed */
  margin-bottom: 20px; /* Adjust the vertical spacing as needed */
  box-sizing: border-box;
}
.container-participant{
  text-align: left;
  padding: 80px 30px 40px;
  margin: 0;
}
.nume-participant{
  color: #0A3256;
  font-family: "Poppins", Sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding:10px 5px;
  font-weight: 500;
}
.poveste-participant{
  color: #0A3256;
  font-family: "Poppins", Sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding:0px 5px;
  line-height: 1.6;
}
.masonry-item {
	opacity: 0;
	transition: opacity 0.5s ease;
	position:relative;
}

.masonry-item.loaded {
	opacity: 1;
}
.nu-exista-participanti{
  color: #ffffff;
  font-size:18px;
  font-weight: 500;
  font-family: "Poppins", Sans-serif;
}
.container-participant::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.05); /* Adjust the alpha (fourth value) for transparency */
  z-index: 1; /* Ensure the overlay is above the content */
}
.masonry-item:nth-child(5n + 1) .container-participant {
  background: #FDF7A0;
}
.masonry-item:nth-child(5n + 2) .container-participant {
  background: #B7ECFC;
}
.masonry-item:nth-child(5n + 3) .container-participant {
  background: #FCE5E7;
}
.masonry-item:nth-child(5n + 4) .container-participant {
  background: #FEAB6E;
}
.masonry-item:nth-child(5n + 5) .container-participant {
  background: #D0FCA1;
}

.custom-posts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.masonry-caz {
  width: calc(50% - 20px); /* Adjust the width and margin as needed */
  margin-bottom: 20px; /* Adjust the vertical spacing as needed */
  box-sizing: border-box;
}
.custom-post {
    position: relative;
}

.overlay-title-wrap{
  position: relative;
}
.overlay-title-wrap img{
  display: block;
}
.overlay-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(255, 255, 255, 0.8); /* Adjust the background color and opacity */ 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: opacity 0.3s ease;
    padding:30px;
}

.post-title {
    margin: 10px 0;
    font-family: "Poppins", Sans-serif;
    color: #ffffff;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.2;
}

.vezi-caz-btn{
  font-family: "Poppins", Sans-serif;
  color: #E60023;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  background: #ffffff;
  border-radius: 50px;
  padding: 10px 30px;
  line-height: 14px;
  border-color: #ffffff;
}

.vezi-caz-btn:hover,
.vezi-caz-btn:active,
.vezi-caz-btn:focus{
  border-color: #E60023;
  background: #E60023;
}

.hidden-content {
    display: none;
    padding: 30px;
    background: #ffffff;
    color: #0A3256;
    font-family: "Poppins", Sans-serif;
    font-size: 14px;
    position: relative;
    z-index:1;
}
.butoane-caz .buton-doneaza a,
.butoane-caz .buton-ajuta{
  font-family: "Poppins", Sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
}
.butoane-caz .buton-doneaza,
.butoane-caz .buton-ajuta{
  padding: 9px 30px;
  cursor:pointer;
  display: inline-block;
  vertical-align: middle;
  border-radius:50px;
}
.butoane-caz .buton-doneaza{
  background: #E60023;
  margin-right:20px;
}
.butoane-caz .buton-doneaza a{
  color: #ffffff;
}
.butoane-caz .buton-ajuta{
  background: #ffffff;;
  border: 2px solid #E60023;
  color: #E60023;
}

/* .caz-posts-container {
    display: flex;
    flex-direction: column;
}

.caz-post {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
} */

.caz-posts-container {
  perspective:600px;
  /* overflow-x: hidden; */
}
.caz-post{
  position: sticky;
  top:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.caz-post .overlay-title-wrap{
  width: 800px;
  height: auto;
  box-shadow: 0px 4px 4px rgba(0,0,0,0.3);
}

.caz-post:nth-child(1) .overlay-title-wrap{
  transform:rotate(5deg);
}
.caz-post:nth-child(2) .overlay-title-wrap{
  transform:rotate(-5deg);
}
.caz-post:nth-child(3) .overlay-title-wrap{
  transform:rotate(0deg);
}
.caz-post:nth-child(4) .overlay-title-wrap{
  transform:rotate(5deg);
}
.caz-post:nth-child(5) .overlay-title-wrap{
  transform:rotate(-5deg);
}
.caz-post .post-title{
  padding: 15px 50px;
}
.swiper-slide{
  padding:30px 0px;
}
.swiper-slide:nth-child(4n + 1) {
  transform: rotate(-3deg);
  transform-origin: 0 0;
}
.swiper-slide:nth-child(4n + 2) {
  transform: rotate(0deg);
  transform-origin: 0 0;
}
.swiper-slide:nth-child(4n + 3) {
 transform: rotate(3deg);
 transform-origin: 0 0;
}
.swiper-slide:nth-child(4n + 4) {
  transform: rotate(0deg);
  transform-origin: 0 0;
}

.premium-ver-hamburger-menu .premium-mobile-menu-outer-container {
width: 100%;
-webkit-transform: translateX(-100%);
-ms-transform: translateX(-100%);
transform: translateX(-100%);
}
.premium-ver-hamburger-menu .premium-mobile-menu-outer-container .premium-mobile-menu-close {
position: absolute;
top: 60px;
right: auto;
left:20%;
}
.circle-mask-last img{
  mask-position-y: 0% !important;
}
.social-menu-items{
  text-align:center;
  font-size: 64px;
}
.social-menu-items .icon-menu{
  color: #ffffff;
  padding:0px 15px;
}
@media only screen and (max-width:1450px){
  .premium-ver-hamburger-menu .premium-mobile-menu-outer-container .premium-mobile-menu-close {
  left:11%;
  }
}
@media only screen and (max-width:900px){
  .post-title{
    font-size: 24px;
  }
  .masonry-item {
    width: calc(50% - 20px);
  }
}
@media only screen and (max-width:768px){
  .masonry-caz {
    width: 100%;
  }
  .social-menu-items{
    font-size: 36px;
  }
  .premium-ver-hamburger-menu .premium-mobile-menu-outer-container .premium-mobile-menu-close {
  top: 73px;
  left:10px;
  }
  .caz-post .overlay-title-wrap {
    width: 600px;
  }
  .post-title{
    font-size: 24px;
  }
}

@media only screen and (max-width:500px){
  .premium-ver-hamburger-menu .premium-mobile-menu-outer-container .premium-mobile-menu-close {
  top: 26px;
  }
  .social-menu-items{
    font-size: 32px;
  }
  .caz-post .overlay-title-wrap {
    width: 350px;
  }
  .post-title{
    font-size: 18px;
  }
  .caz-post{
    height: 50vh;
  }
  .masonry-item {
    width: calc(100%);
  }
}