/* CUSTOM CSS - YOGAMANDIR 
 - 	Elementor Pro + GeneratePress theme
 -  Pedro Dinis
 -  2018-11-29 (v0.2) */
 
/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6, blockquote, ol {
    font-family: "Raleway Ext", sans-serif;
}

h3, h4 {
  /*  text-transform: uppercase;
    color: #6e6f71;*/
}

li {
   margin-bottom: 1em;
}

ol {
    counter-reset: list;
}
ol > li {
    list-style: none;
}
ol > li:before {
    content: counter(list) ") ";
    counter-increment: list;
    margin-left: -20px;
    min-width: 20px;
    display: inline-block;
}

.elementor hr {
    margin: 2em 0;
    background-color: #dddddd;
}


.ym-pgbanner {
	background-image: none; 
}
.ym-pgTitle { 
  	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
		z-index: 3;
}

.ym-home-pgbanner .elementor-slick-slider ul.slick-dots {
    bottom: -40px;
}


/* Galeria Fotos */
.ym-galeria-fotos .justified-gallery>a>.caption, 
.ym-galeria-fotos .justified-gallery>div>.caption {  
    padding: 8px;
    background-color: #26672a;
}

/* POSTS */ 
/* fix generate press style */
.post {
    margin: 0;
}
.ym-posts-archive article:hover {
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}

.ym-posts-archive .elementor-post__text {
       margin: 1em 2em 1em 1em;
}
.ym-posts-archive .elementor-post__excerpt {
    text-align: justify;
}


.ym-posts-archive .elementor-post__thumbnail {
    height: 100%;
}

.ym-posts-archive .elementor-pagination {
    border-top-style: solid;
    border-top-width: 1px;
	border-top-color: #fce3d3;
    margin-top: 2em;
    padding-top: 2em;
}
.ym-posts-archive .elementor-pagination .fa {
    font-size: 14px;
}


/* fix mobile icon size */
.icon-mobile-24px .fa-mobile { font-size: 24px !important; }
.icon-mobile-28px .fa-mobile { font-size: 28px !important; }

/* RESPONSIVE */
/* fix elementor bug */
@media (max-width: 767px) {
	
	.ym-home-pgbanner .elementor-slick-slider ul.slick-dots {
    bottom: -32px;
}
	
    .elementor-posts .elementor-post {
        display: block;
    }
    
    selector .elementor-post__text {
           margin: 5%;
    }
	ol, ul {
    margin: 0 0 1.5em 2em;
	}
}

@media (min-width: 1200px) {
	.elementor-nav-menu--main .menu-item > a {
		padding-left: 20px !important;
		padding-right: 20px !important;		
	}
	
}

@media (min-width: 1441px) {
	
	.ym-pgbanner {
		height: 520px !important;
		position: relative;
		overflow-y: hidden;
	}
	.ym-pgbanner img {
		width:100%;
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    bottom: -100%;
    margin: auto;
	}
}

@media (min-width: 1600px) {
	
	.ym-home-pgbanner {
		padding: 40px 0 0 0;
	}
	.ym-home-pgbanner .slick-slide img {
		box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
		margin-bottom:16px;
	}
}
