/* 
Theme Name: Mj Studios - CHILD Theme
Description: MJ Studios | Award Winning Wedding, Elopement and Portrait Photographer Mait Jüriado
Author: MJ Studios
Template: hello-elementor
Version: 2.0.7
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 */

/* Float Button on posts */
.dex-back-top {
    position: fixed;
    bottom: 30px; 
    right: 30px; 
    z-index: 9999;
}
.dex-back-top img {
    width: 20px;
    height: 20px;
    display: block;
    transform: rotate(-90deg);
    filter: brightness(0);
}
.dex-back-top 
{
     padding: 10px;
     border-radius: 50%;
     border: 1px solid #000;
     background: #ffffff1a;
     backdrop-filter: blur(2px);
}

body
{
	overflow-x: hidden;
}
.elementor-slideshow__title {
    opacity: 0 !important;
}

div#sbi_images {
    padding-block: 0 !important;
}

.dex-social span.elementor-screen-only {
    all: unset;
    font-size: 12px;
    position: absolute;
    background: #2d2d2d;
    padding: 6px 10px;
    border-radius: 8px;
    display: flex;
    transform: translateY(0px);
    width: max-content;
    opacity: 0;
    transition: all 0.4s ease;
	pointer-events: none;
}

.dex-social .elementor-social-icon:hover .elementor-screen-only {
    transform: translateY(-30px);
    width: max-content;
    opacity: 1;
}

/* TEST */

.single-post div[data-elementor-post-type="post"] .e-con-inner {
    max-width: 970px;
}
body:not(.elementor-editor-active) .single-post div[data-elementor-post-type="post"] .e-gallery-grid .e-gallery-image {
    padding-bottom: 0px !important;
}

body:not(.elementor-editor-active) .single-post div[data-elementor-post-type="post"] .elementor-gallery-item__image.e-gallery-image-loaded {
    background-position: bottom;
}

body:not(.elementor-editor-active) .single-post div[data-elementor-post-type="post"] .e-gallery-grid {
    grid-template-columns: repeat(1, 1fr) !important;
    grid-gap: 0 !important;
}
/* TEST END */

.dex-search svg {
    fill: transparent !important;
    margin-top: -18px !important;
    scale: 0.8;
}


.dex-blog-loop .page-numbers.prev:before {
    content: "";
    background: url(https://newweb.mjstudios.com/wp-content/uploads/2025/09/right-arrow.svg);
    background-size: contain;
    width: 17px;
    height: 18px;
    position: absolute;
    rotate: 180deg;
    left: -40px;
}
.dex-blog-loop .page-numbers.next:before {
    content: "";
    background: url(https://newweb.mjstudios.com/wp-content/uploads/2025/09/right-arrow.svg);
    background-size: contain;
    width: 17px;
    height: 18px;
    position: absolute;
    left: 20px;
}

.dex-blog-loop .page-numbers {
    position: relative;
}

/*  Cards  */
.card-1:hover .content {
    background: #f7f7f7;
    transform: translateX(-70px);
}
.card-2:hover .content {
    background: #f7f7f7;
    transform: translateX(70px);
}
.related-card:hover .related-content:before
{
    opacity: 0.8;
}
.related-card:hover .related-content *
{
    color: #2d2d2d !important;
}

/*  ICELAND EXP PAGE CSS  */
.dex-list ul li:before {
    content: "";
    position: absolute;
    background: url(https://newweb.mjstudios.com/wp-content/uploads/2025/08/dot.png);
    background-position: center;
    background-size: cover;
		left: -37px;
    top: 11.2px;
    width: 6.2px;
    height: 6.4px;
}
.dex-list strong
{
    letter-spacing: 2px;
}
.dex-list li 
{
    margin-bottom: 25px
}
.dex-list ul
{list-style-type: none;}


.dex-list li {
    position: relative;
}

.elementor-animation-grow:active, .elementor-animation-grow:focus, .elementor-animation-grow:hover {
    transform: scale(1.05) !important;
}
.content {
    min-height: 430px;
    justify-content: center;
}

/* Portfolio */
/* .swiper-slide.elementor-lightbox-item {
    padding: 0 !important;
}
.swiper-zoom-container {
    max-height: 100% !important;
    max-width: 100% !important;
}
	
img.elementor-lightbox-image {
    box-shadow: unset !important;
    width: 100% !important;
    background: #000;
} */

/* BLOGS START*/
.e-loop-item:nth-child(odd) .card:hover .content {
    background: #f7f7f7;
    transform: translateX(-70px);
}
.e-loop-item:nth-child(even) .card:hover .content {
    background: #f7f7f7;
    transform: translateX(70px);
}
.e-loop-item:nth-child(even) .card
{
	flex-direction: row-reverse;
}



/* BLOGS END */

@media screen and (max-width:500px)
{
    .dex-height {
        min-height: 500px !important;
    }

}

@media screen and (max-width:800px)
{
	.content {
    min-height: 375px;
    justify-content: center;
}
}

@media screen and (max-width:768px)
{

	.dex-blogs .related-content:before
{
    opacity: 0.7 !important;
}
.dex-blogs .related-card .related-content *
{
 color: #2d2d2d !important;   
}

.content {
    min-height: 260px;
    justify-content: center;
}

}

@media screen and (max-width:768px)
{
	.dex-list ul li:before {   
    left: -25px;
    top: 12px;
}	
}

@media screen and (max-width:767px)
{
	/* Cards Hover effect MOBILE*/

	.card-1:hover .content {
    
    transform: translateX(0px);
transform: translatey(-70px);
}
	.card-2:hover .content {
    
        transform: translateX(0px);
transform: translatey(-70px);

}
/* Cards END MOBILE */

/* BLOGS HOVER START MOBILE  */
	.e-loop-item:nth-child(odd) .card:hover .content
	{
		 transform: translateX(0px);
transform: translatey(-70px);
	}
	.e-loop-item:nth-child(even) .card:hover .content{
		 transform: translateX(0px);
transform: translatey(-70px);
	}
/* BLOGS HOVER END MOBILE */

/* TEST Mobile START */
.single-post div[data-elementor-post-type="post"] .elementor-element.e-flex.e-con-boxed.e-con.e-parent {
    padding-inline: 12px;
}

.single-post div[data-elementor-post-type="post"] > .elementor-element:nth-child(1) {
    padding-inline: 0;
}
}