/**
* Theme Name: Loquet Child
* Description: This is a child theme of Loquet.
* Author: <a href="https://gloriathemes.com/">Gloria Themes</a>
* Template: loquet
* Version: 1.0.8
*/

@font-face {
    font-family: Maraya;
    src: url('https://roznama.elixieer.com/wp-content/uploads/2024/10/ALLEXP01Maraya-Regular.otf');
}

p,div,h1,h2,h3,h4,h5,h6,span,label,a {
    font-family: 'Alexandria'!important;
}

.nested-timeline {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 20px;
	padding: 20px 0;
}

.nested-timeline-circle {
	position: relative;
	height: 10px;
	width: 10px;
	border-radius: 50%;
	background: var(--gt-secondary-color);
	cursor: pointer;
	transition: 0.5s;
}
.nested-timeline-circle.first {
    height: 15px;
    width: 15px;
}
.nested-timeline-circle:hover {
	transform: scale(1.5);
}

.nested-timeline-circle::after,
.nested-timeline-circle::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	border: solid 1px var(--gt-secondary-color);
	border-radius: 50%;
}

.nested-timeline-circle::after {
	animation: nestedTimelineCircle 2s ease infinite;
}

.nested-timeline-circle::before {
	animation: nestedTimelineCircle 2s ease 1s infinite;
}

@keyframes nestedTimelineCircle {
	0% {
		opacity: 1;
		transform: scale(1);
	}
	100% {
		opacity: 0;
		transform: scale(2.2);
		border-width: 0;
	}
}

.timeline-title {
    color: var(--gt-tertiary-color) !important;
    transition: 0.5s;
    font-family: 'Maraya' !important;
    font-size: 3rem;
}

.timeline-title:hover {
	color: var(--gt-secondary-color) !important;
}

.nested-timeline-circle-text:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-100%, -50%);
    height: 20px;
    width: 10px;
    clip-path: polygon(0 50%, 100% 100%, 100% 0);
    background: var(--gt-secondary-color);
}
.nested-timeline-circle-text {
    min-width: 100px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 35px;
    transform: translate(0, -50%);
    box-shadow: 0 0 10px 0 #000;
    padding: 7px 15px;
    border-radius: 10px;
    font-size: 0.8rem;
    background: var(--gt-secondary-color);
    color: #fff;
    font-weight: 700;
	display: none;
}

.nested-timeline-circle-text.right-dir:after {
	clip-path: polygon(100% 50%, 0 100%, 0 0);
	left: unset;
	right: 0;
	transform: translate(100%, -50%);
}

.nested-timeline-circle-text.right-dir {
	left: unset;
	right: 35px;
}

.nested-timeline-circle:hover .nested-timeline-circle-text {
	display: block;
}

.maim-gallery-container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping of images to the next row */
    justify-content: center; /* Centers the images */
    align-items: stretch; 
}

.maim-gallery-item img,
.maim-gallery-item video {
    height: 250px!important;
    cursor: pointer;
}

.maim-image-overlay-parent {
    padding: 10rem;
    position: fixed;
    z-index: 9999999999999999999999999999;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgb(0, 0, 0, 0.8);
}

.maim-image-overlay {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 40px;
    background: #fff;
    border-radius: 30px;
    padding: 30px;
    height: 100%;
    max-width: 1000px;
    margin: auto;
}
.maim-image-overlay > img,
.maim-image-overlay > video {
    width: 50%;
    border-radius: 20px;
}
.maim-image-overlay > div {
    width: 50%;
}
.maim-image-overlay p {
    text-align: center;
    margin: 0;
    padding: 0;
    color: #000;
    font-size: 2rem;
    font-weight: 700;
}
.maim-image-overlay .maim-overlay-close {
    position: absolute;
    top: 5%;
    right: 5%;
    height: 35px;
    width: 35px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gt-tertiary-color) !important;
    font-size: 2rem;
}
.maim-image-overlay .tag-label {
    padding: 5px 20px;
    border-radius: 5px;
    color: #fff;
}
.maim-image-overlay > i {
    display: none;
}
.overlay-tags {
    display: flex;
    gap: 10px;
}

@media (max-width: 786px) {
    .maim-image-overlay-parent {
        padding: 2rem;
    }
    .maim-image-overlay {
        flex-direction: column-reverse;
        gap: 0;
        height: 100%;
    }
    .maim-image-overlay img,
    .maim-image-overlay div {
        width: 100%;
        font-size: 1rem;
        flex-wrap: wrap;
    }
}

.maim-type-title,
.maim-type-title p {
    font-size: 3rem;   
}
.maim-show-more {
    display: flex;
    justify-content: flex-end;
    font-size: 2rem;
}
.maim-show-more a {
    color: var(--gt-secondary-color);
}

.maim-posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 50px;
}
.maim-posts-container img {
    cursor: pointer;
}

.gallery-container {
    display: flex;
}
.gallery-filters {
    flex: 1;
    background: #c44536;
    color: #fff;
    padding: 50px;
}
.gallery-content {
    position: relative;
    flex: 9;
}
#gallery-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: 100px;
}
#gallery-content > * {
    cursor: pointer;
}
.row-filter label {
    color: inherit;
}
.gallery-filters .filter-title {
    margin: 30px 0;
}

#gallery-spinner {
    position: relative;
    top: 0%;
    left: 0%;
    background: rgb(255, 255, 255, 0.5);
    height: 100%;
    width: 100%;
}
#gallery-spinner .gallery-loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: var(--gt-secondary-color);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 0 30px;
    margin: 30px 0;
}
.gallery-pagination div,
.gallery-pagination a {
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    border: solid 1px var(--gt-secondary-color);
    color: var(--gt-secondary-color);
    cursor: pointer;
    border-radius: 50%;
    font-weight: 700;
    transition: 0.5s;
}
.gallery-pagination div:not(.disabled):hover,
.gallery-pagination div.active,
.gallery-pagination a:not(.disabled):hover,
.gallery-pagination a.active {
    background: var(--gt-secondary-color);
    color: #fff;
}
.gallery-pagination div.disabled {
    cursor: not-allowed;
    position: relative;
}
.gallery-pagination div.disabled:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    #gallery-content {
        grid-template-columns: 1fr;
        padding: 50px;
    }
}

.gallery-slider {
    position: relative;
}
.gallery-slider .slider-icon {
    position: absolute;
    top: 5%;
    left: 5%;
}
.gallery-slider .slider-icon i {
    color: #fff;
}
.owl-carousel.owl-rtl .item {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
}

.maim-page-months {
    display: flex;
    flex-direction: row!important;
    padding: 0;
    margin: 0;
}
.maim-page-months .maim-months {
    flex: 1;
    background: #000;
    color: #fff;
    padding: 50px;
    width: 100%;
}
.maim-page-months .gt-page-content {
    flex: 9;
    padding: 50px;
}
.maim-page-months .maim-months {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.maim-page-months .maim-months a {
    width: 100%;
    color: #fff;
    font-size: 1.2rem;
}

.maim-page-months .maim-months a.active,
.maim-page-months .maim-months a:hover {
    color: var(--gt-secondary-color);
}

@media (max-width: 786px) {
    .gallery-container {
        flex-direction: column;
    }
    .gallery-pagination {
        flex-wrap: wrap;
        gap: 15px;
        padding: 15px;
    }
}

.owl-theme .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translate(150%, -50%);
}
.owl-theme .owl-nav button span {
    color: #000;
    font-size: 3rem;
}
.owl-theme .owl-nav button.owl-next {
    left: -5%;
}
.owl-theme .owl-nav button.owl-prev {
    right: -5%;
}

.owl-theme .owl-nav [class*=owl-]:hover {
    background: none!important;
}

.gallery-author {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
}

img.gallery-auhtor-img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}


.gallery-author a {
    color: #000;
    font-size: 1rem;
}

@media (max-width: 786px) {
    .gallery-author {
        margin-bottom: 0;
    }
    .maim-image-overlay .maim-overlay-close {
        top: 3%;
    }
    .owl-theme .owl-nav button {
        transform: translate(0, -50%);
    }
    .owl-theme .owl-nav button.owl-prev {
        right: -7%;
    }
    .owl-theme .owl-nav button.owl-next {
        left: -7%;
    }
    .gt-title-bar h1,
    #header-content {
        font-size: 5rem!important;
    }
}

.gt-title-bar h1,
#header-content {
	font-family: Maraya !important;
    font-size: 8rem;
    color: var(--gt-tertiary-color) !important;
}
.gt-title.mt-5,
.maim-type-title,
.maim-type-title p {
    margin-top: 100px;
    margin-bottom: 50px;
    font-family: Maraya !important;
    color: var(--gt-tertiary-color) !important;
}

.maim-widget {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .maim-widget img.attachment-full {
    position: relative!important;
    width: auto;
  }
  
  /* For smaller screens, adjust the number of columns */
  @media (max-width: 768px) {
    .maim-widget {
      grid-template-columns: repeat(2, 1fr)!important; /* 2 items per row */
    }
    .maim-image-overlay {
        justify-content: space-between;
    }
    .overlay-image-container img {
        height: auto!important;
        position: relative;
        top: 100%;
        transform: translate(0, -100%);
    }
  }
  
  @media (max-width: 480px) {
    .maim-widget {
      grid-template-columns: 1fr!important; /* 1 item per row */
    }
  }
  
#roznama-gallery-title {
    color: #fff!important;
}
.overlay-image-container {
    height: 100%;
    padding: 0 30px;
}
.overlay-image-container img {
    border-radius: 20px;
}