:root {
    --background-color: #ffffff;
    --text-color: #000000;
    --menu-background-color: transparent;
    --menu-text-color: #ffffff;
    --footer-color: #172B4D;
}
@font-face {
  font-family: 'AG Book Rounded';
  src: url('../fonts/AGBookRounded-Regular.ttf') format('truetype'),
       url('../fonts/AGBookRounded-Regular.woff2') format('woff2'),
       url('../fonts/AGBookRounded-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Cataneo BT';
  src: url('../fonts/CataneoBT.ttf') format('truetype'),
       url('../fonts/CataneoBT.woff2') format('woff2'),
       url('../fonts/CataneoBT.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.citat{
    font-weight: bold;
    font-size: 1.2rem;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: 1.1rem;
    margin: 0px;
    position: relative; /* Allows positioning of the pseudo-element */
    background-color: #fff; /* Background color for the content area */
    min-height: 100%; /* Ensure the body covers the full page */
    height: auto; /* Allow the body to grow with content */
    padding: 0px 35px;
}

.mitde{
    width: 280px;
}

.mitdeimg{
    width: 100%;
}

/* Back to Top Button Style */
#backToTopBtn {
    background-color: transparent;
  display: none; /* Hidden by default */
  position: fixed; /* Fixed position */
  bottom: 20px; /* Distance from the bottom */
  right: 40px; /* Distance from the right */
  z-index: 99; /* Ensures it is above other content */
  border: none; /* Removes the button border */
  outline: none; /* Removes the outline */
  cursor: pointer; /* Pointer cursor on hover */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Font size */
}

body::before,
body::after {
    content: '';
    position: absolute;
    top: 0;
    width: 35px; /* Adjust to the width of your image */
    height: 100%; /* Initially set to 100% height */
    min-height: 100%; /* Ensure it covers the full length of the content */
    background-repeat: repeat-y; /* Repeat the image vertically */
    background-size: contain; /* Ensures the image fits within the width */
    z-index: 10; /* Keeps the border above the content */
}

body::before {
    left: 0; /* Position on the left side */
    background-image: url(../images/bord.jpg); /* Path to your left border image */
}

body::after {
    right: 0; /* Position on the right side */
    background-image: url(../images/bord.jpg); /* Path to your right border image */
}


.topborder{
    width: 100%;
    height: 35px;
    background-image: url(../images/bordv.jpg);
    background-repeat: repeat-x; /* Repeat the image vertically */
    background-size: contain;
}


.rugaciuni{
    display: flex;
    align-items: flex-start; /* Aligns the content to the top of the image */
    margin: 20px 0;
}

.rugaciuni-container{
    padding: 0px 30px;
    display: flex;
    flex-direction: column; /* Stack the title and content vertically */
    justify-content: flex-start;
}

.global_wrapper{
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    text-align: center;
}
.banner{
    width: 100%; 
    height: 5vh;
    background: url('../images/Bordura.jpg') repeat-x bottom;
    background-size: auto 100%; 
    position: relative; 
}

.bannertext{
    display: flex;
    /* text-align: center; */
    align-items: center;
    flex-direction: column;
}
.topbanner{
    font-family: 'AG Book Rounded', sans-serif;
    display: flex;
    justify-content: space-between;
}
.text-center{
    text-align: center;
}


.main{
	flex: 1;
}

a{
	text-decoration: none;
}
h1.page-title{
    font-size: 3rem;
}

h3.entry-title{

    margin: 5px;
}

#the_footer{
	background-color: var(--footer-color);
	color: var(--text-color);
	text-align: center;
	position: relative;
   left: 0;
   bottom: 0;
  
   padding: 20px;
   text-align: center;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: var(--menu-background-color);
}

#left-sidebar {
	text-align: center;
	padding: 10px;
	background-color: #2b2b2b;
    flex: 1;
    margin-right: 20px;
}

#left-sidebar a{
	color: #212121;
}

.main-content {
	display: flex;
	flex-direction: column;
    flex: 3;
    margin-right: 20px; /* Adjust as needed */
}

#right-sidebar {
	background-color: #2b2b2b;
    flex: 1;
    text-align: center;
}
.post img{
    float: left;
    margin: 10px;
}

.index-posts::after {
    content: "";
    display: block;
    width: 70%;
    height: 2px; 
    text-align: center;
    background-color: #1c69b1; 
    margin-left: 15%;
   margin-bottom: 30px;
   margin-top: 30px;
}

.clear-both{
    clear: both;
}

.post-title{
    font-size: 1.4rem;
    padding: 10px 0px;
}

.post-title a{
    margin: 0px 30px;
}

.read-more {
    font-weight: bold;
    display: inline-block;
    padding: 8px 12px;
    background-color: #121212;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    transition: color 1.3s ease;
    float: right;
    margin-right: 20px;
    margin-bottom: 20px;
}


/*.index-posts{
    background-color: #2b2b2b;
 box-shadow: 13px 10px 5px -2px rgba(76,76,76,0.87);
-webkit-box-shadow: 13px 10px 5px -2px rgba(76,76,76,0.87);
-moz-box-shadow: 13px 10px 5px -2px rgba(76,76,76,0.87);
    margin-bottom: 30px;
}*/


/* Main submenu */


/* Show submenus on hover */
.menu-item:hover > .sub-menu,
.sub-menu .menu-item:hover > .sub-menu {
    display: block;
}

/* Submenu styling */
.sub-menu, .sub-sub-menu {
    background-color: #fff;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item > a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
}

.gallery-container {
    margin: 0 auto;
    padding: 20px;
    max-width: 1200px;
}

.year-gallery {
    display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
}



.year-gallery img {
   width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-container {
     /* Make the container 60% of the width of its parent */
    width: 75%;
    margin: 0 auto;
    /* Maintain a 16:9 aspect ratio */
    position: relative;
    padding-bottom: 42.25%; /* 16:9 ratio (9/16 * 100 = 56.25%) */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
     position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Full width within the container */
    height: 100%; /* Full height within the container */
    border: 0;
}

.events-main{
    text-align: left;
}



.pagination a,
.pagination span {
    margin: 0 5px;
    padding: 8px 12px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

.pagination a:hover {
    background-color: #ddd;
}

.pagination .current {
    background-color: #333;
    color: #fff;
}