/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

/*Add your own styles here:*/

/* General Custom CSS */

@font-face {
	font-family: 'HiroshigeStd';
	src: url(fonts/HiroshigeStd/HiroshigeStd-Book.otf);
}
@font-face {
	font-family: 'Apercu';
	src: url(fonts/Apercu/Apercu.otf);
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'HiroshigeStd' !important;
}
p, input {
	font-family: 'Apercu' !important;
}
#top .main_color input[type='text'], #top .main_color input[type='email'], #top .main_color textarea {
	border-color: #000 !important;
}
#scroll-top-link {
	background-color: #1d343a;
	color: #f9f0d9;
}
#scroll-top-link:hover {
	background-color: #f9f0d9;
	color: #1d343a;
}
#socket .sub_menu_socket li {
	border: none;
}
#header_main {
	padding: 10px 0;
}
.visual_rest_about h1, .visual_rest_home h1{
	text-transform: none !important;
}
span.hr-inner {
	border-color: #222 !important;
}

.hr-contact span.hr-inner {
	border-width: 3px !important;
}

.zankyou_image div, .zankyou_image img {
	width: 100%;
}
img.category-couple, img.category-weddings, img.category-family, img.category-thoughts, img.category-destination-weddings {
	position: absolute !important;
	z-index: 1;
	height: 30%;
	bottom: 10px;
	margin: 0 auto;
	right: 10px;
	left: auto !important;
}

a.couple_sort img.img_category, a.weddings_sort img.img_category, a.family_sort img.img_category, a.thoughts_sort img.img_category, a.destination-weddings_sort img.img_category {
	position: absolute !important;
	z-index: 1;
	height: 30%;
	bottom: 10px;
	margin: 0 auto;
	right: 10px;
}

img.category-couple, a.couple_sort img.img_category {
	content: url('https://mariotijerina-assets.s3.amazonaws.com/2018/09/06-Couple-Light-Oak.png');
}
img.category-weddings, a.weddings_sort img.img_category {
	content: url('https://mariotijerina-assets.s3.amazonaws.com/2018/09/10-Weddings-Light-Oak.png');
}
img.category-family, a.family_sort img.img_category {
	content: url('https://mariotijerina-assets.s3.amazonaws.com/2018/09/08-Family-Light-Oak.png');
}
img.category-thoughts, a.thoughts_sort img.img_category {
	content: url('https://mariotijerina-assets.s3.amazonaws.com/2018/09/04-Thoughts-Light-Oak.png');
}
img.category-destination-weddings, a.destination-weddings_sort img.img_category {
	content: url('https://mariotijerina-assets.s3.amazonaws.com/2018/09/02-Destination-Weddings-Light-Oak.png');
}
.blog_posts_page .all_sort .bg_img_category {
	z-index: 1;
	width: 88%;
	position: absolute;
	height: 79%;
	top: 0;
	right: 0;
	background: radial-gradient(circle at 0% 0%, transparent 70%, #1d343ae6 15%) no-repeat;
	background-position: 0% 0%;
	background-size: 111% 100%;
}

article .bg_img_category, .all_sort .bg_img_category {
	z-index: 1;
	width: 88%;
	position: absolute;
	height: 100%;
	bottom: 0;
	right: 0;
	background: radial-gradient(circle at 0% 0%, transparent 70%, #1d343ae6 15%) no-repeat;
	background-position: 0% 0%;
	background-size: 118% 100%;
}

#categories-3, #categories-4 {
	padding: 0;
}
#categories-3 .widgettitle, #categories-3 label, #categories-4 .widgettitle, #categories-4 label {
	display: none;
}
#categories-3 select#cat, #categories-3 form, #categories-4 select#cat, #categories-4 form {
	margin-bottom: 0;
	color: #222222;
}
.slide-meta-comments, .slide-meta-del {
	display: none !important;
}
#scroll-top-link {
	bottom: 80px;
}
.button_home a, .contact_form_home .button {
	color: #aaa36d !important;
	font-family: 'Apercu' !important;
}
.av-masonry-sort {
	font-family: 'Apercu';
}
.av-masonry-sort a:hover {
	color: #aaa36d;
}
#searchsubmit {
	font-family: entypo-fontello !important;
}
#socket .sub_menu_socket {
	float: left!important;
}
/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */
	#main {
		padding-top: 80px!important;
	}
	#socket .sub_menu_socket {
		float: left;
		padding: 1% 0;
	}
	#socket {
		font-size: 20px;
		font-family: 'Apercu';
		font-weight: 100;
		padding: 20px 0;
	}
	.av-main-nav > li > a {
		font-size: 20px;
		font-family: 'Apercu';
		font-weight: 100;
	}
	.separator_gallery .hr-inner-style {
		border-color: #222222!important; 
	}
	.text_2_about p {
		margin-top: 0 !important;
	}
	.hr-full {
		margin: 0 0 50px 0;
	}
	.visual_rest_about h1, .visual_rest_home h1{
		font-size: 50px !important;
	}
	.avia_image {
		max-width: 85%;
	}
	.active-slide .slide-content {
		width: 75%;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		font-size: 1.5em;
		margin: auto;
		text-align: center;
		z-index: 0;
		pointer-events: none;
		bottom: 0;
		height: 20%;
		opacity: 0;
	}
	.active-slide .image-overlay .image-overlay-inside:before {
		display: none;
	}
	.post-entry a.slide-image:hover +.slide-content {
		opacity: 1;
	}
	.avia_desktop .av-caption-on-hover .av-masonry-item-with-image.av-masonry-entry:hover .av-inner-masonry-content {
		opacity: 0.7;
	}
	.image-blog-header {
		width: 5%;
	}
	#socket .social_bookmarks {
		padding-top: 15px;
	}
	#top .social_bookmarks {
		height: 40px;
	}
	#socket img { 
		width: 10%;
		float: right;
	}
}

/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */

/* 	article .bg_img_category{
		width: 32%;
		background-size: 100% 113%;
	}
	img.category-couple, img.category-weddings, img.category-family, img.category-thoughts, img.category-destination-weddings {
		bottom: 5px;
		right: 5px;
	} */
	.entry-content-wrapper.clearfix {
		display: flex;
		flex-direction: column;
	}
	.image_blog, .image_portfolio {
		order: -1;
	}
	#socket img {
		width: 15%;
		margin-left: 20px;
		position: absolute;
		bottom: 19px;
		right: -12px;
	}
	#socket .social_bookmarks {
		float: left;
		margin: 0;
	}
	.image-blog-header {
		width: 15%;
	}
	.responsive .logo img {
		width: 90%;
	}

}

#home-section-3 .av_textblock_section p {
	color: white;
    font-size: 20px;
}

#home-section-3 .av_textblock_section {
	margin-bottom: 70px;
}

#about-me-video .avia_codeblock_section {
	width: 75%;
    margin: auto;
}
@media only screen and (max-width: 800px) {
	#about-me-video .avia_codeblock_section {
		width: 100%;
	}	
}
@media only screen and (max-width: 600px) {
	.slider-5 .avia-caption-title {
		position: static!important;
	}	
}

.blog_posts_page .all_sort figure::before {
	z-index: 2;
    width: 92%;
    position: absolute;
    height: 79%;
    top: 0;
    right: 0;
    background: radial-gradient(circle at 0% 0%, transparent 70%, #1d343ae6 15%) no-repeat;
    background-position: 0% 0%;
    background-size: 111% 100%;
    content: '';
}

#gallery-tijerina .av-masonry figure::before {
	z-index: 2;
    width: 88%;
    position: absolute;
    height: 100%;
    top: 0;
    right: 0;
    background: radial-gradient(circle at 0% 0%, transparent 70%, #1d343ae6 15%) no-repeat;
    background-position: 0% 0%;
    background-size: 111% 100%;
    content: '';
}

#recent-stories article > a::before {
	z-index: 2;
    width: 88%;
    position: absolute;
    height: 100%;
    top: 0;
    right: 0;
    background: radial-gradient(circle at 0% 0%, transparent 70%, #1d343ae6 15%) no-repeat;
    background-position: 0% 0%;
    background-size: 111% 100%;
    content: '';
}

.blog_posts_page a figure::after {
	position: absolute !important;
    z-index: 2;
    content: '';
    width: 10%;
    height: 24%;
    top: 55%;
    right: 5%;
    background-size: contain;
    background-repeat: no-repeat;
}
#gallery-tijerina .av-masonry a figure::after {
	position: absolute !important;
    z-index: 2;
    content: '';
    width: 10%;
    height: 24%;
    top: 70%;
    right: 5%;
    background-size: contain;
    background-repeat: no-repeat;
}

#recent-stories article > a::after {
	position: absolute !important;
    z-index: 2;
    content: '';
    width: 10%;
    height: 24%;
    top: 70%;
    right: 5%;
    background-size: contain;
    background-repeat: no-repeat;
}

@media only screen and (max-width: 767px) {
	#gallery-tijerina .av-masonry.av-fixed-size a figure::after {
		top: 50%;
    	right: 3%;
		width: 5%;
	}
}



@media only screen and (max-width: 1200px) {
	.blog_posts_page a.category-couple figure::after, .blog_posts_page a.category-weddings figure::after, .blog_posts_page a.category-family figure::after, .blog_posts_page a.category-thoughts figure::after, .blog_posts_page a.category-thoughts figure::after, .blog_posts_page a.category-destination-weddings figure::after {
		top: 47%;	
	}
	
}

@media only screen and (max-width: 900px) {
	.blog_posts_page a.category-couple figure::after, .blog_posts_page a.category-weddings figure::after, .blog_posts_page a.category-family figure::after, .blog_posts_page a.category-thoughts figure::after, .blog_posts_page a.category-thoughts figure::after, .blog_posts_page a.category-destination-weddings figure::after {
		top: 36%;
    	width: 6%;
    	right: 4%;
	}
	
	.blog_posts_page .all_sort figure::before {
		width: 100%;
	}
	
}

@media only screen and (max-width: 767px) {
	.blog_posts_page .all_sort figure::before {
		width: 79%;	
	}
	
	.blog_posts_page a.category-couple figure::after, .blog_posts_page a.category-weddings figure::after, .blog_posts_page a.category-family figure::after, .blog_posts_page a.category-thoughts figure::after, .blog_posts_page a.category-thoughts figure::after, .blog_posts_page a.category-destination-weddings figure::after {
		top: 36%;
    	width: 6%;
    	right: 4%;
	}
	
}

@media only screen and (max-width: 695px) {
	
	.blog_posts_page a.category-couple figure::after, .blog_posts_page a.category-weddings figure::after, .blog_posts_page a.category-family figure::after, .blog_posts_page a.category-thoughts figure::after, .blog_posts_page a.category-thoughts figure::after, .blog_posts_page a.category-destination-weddings figure::after {
		top: 42%;
    	width: 7%;
    	right: 4%;
	}
	
}

@media only screen and (max-width: 600px) {
	
	.blog_posts_page .all_sort figure::before {
		width: 74%;
		height: 64%;
	}
	
	.blog_posts_page a.category-couple figure::after, .blog_posts_page a.category-weddings figure::after, .blog_posts_page a.category-family figure::after, .blog_posts_page a.category-thoughts figure::after, .blog_posts_page a.category-thoughts figure::after, .blog_posts_page a.category-destination-weddings figure::after {
		top: 42%;
    	width: 7%;
    	right: 4%;
	}
	
}

@media only screen and (max-width: 480px) {
	
	.blog_posts_page .all_sort figure::before {
		width: 107%;
		height: 90%;
	}
	
	.blog_posts_page a.category-couple figure::after, .blog_posts_page a.category-weddings figure::after, .blog_posts_page a.category-family figure::after, .blog_posts_page a.category-thoughts figure::after, .blog_posts_page a.category-thoughts figure::after, .blog_posts_page a.category-destination-weddings figure::after {
		top: 52%;
    	width: 12%;
    	right: 4%;
	}
	
}

@media only screen and (max-width: 410px) {
	
	.blog_posts_page a.category-couple figure::after, .blog_posts_page a.category-weddings figure::after, .blog_posts_page a.category-family figure::after, .blog_posts_page a.category-thoughts figure::after, .blog_posts_page a.category-thoughts figure::after, .blog_posts_page a.category-destination-weddings figure::after {
		top: 49%;
    	width: 8%;
    	right: 5%;
	}
	
}

@media only screen and (max-width: 320px) {
	
	.blog_posts_page a.category-couple figure::after, .blog_posts_page a.category-weddings figure::after, .blog_posts_page a.category-family figure::after, .blog_posts_page a.category-thoughts figure::after, .blog_posts_page a.category-thoughts figure::after, .blog_posts_page a.category-destination-weddings figure::after {
		top: 46%;
	}
	
}

.blog_posts_page a.category-couple figure::after, .av-masonry a.couple_sort figure::after, #recent-stories article.category-couple > a::after  {
    background-image: url('https://mariotijerina-assets.s3.amazonaws.com/2018/09/06-Couple-Light-Oak.png');
}

.blog_posts_page a.category-weddings figure::after, .av-masonry a.weddings_sort figure::after, #recent-stories article.category-weddings > a::after {
    background-image: url('https://mariotijerina-assets.s3.amazonaws.com/2018/09/10-Weddings-Light-Oak.png');
}

.blog_posts_page a.category-family figure::after, .av-masonry a.family_sort figure::after, #recent-stories article.category-family > a::after {
    background-image: url('https://mariotijerina-assets.s3.amazonaws.com/2018/09/08-Family-Light-Oak.png');
}

.blog_posts_page a.category-thoughts figure::after, .av-masonry a.thoughts_sort figure::after, #recent-stories article.category-thoughts > a::after {
    background-image: url('https://mariotijerina-assets.s3.amazonaws.com/2018/09/04-Thoughts-Light-Oak.png');
}

.blog_posts_page a.category-destination-weddings figure::after, .av-masonry a.destination-weddings_sort figure::after, #recent-stories article.category-destination-weddings > a::after {
    background-image: url('https://mariotijerina-assets.s3.amazonaws.com/2018/09/02-Destination-Weddings-Light-Oak.png');
}

.av-masonry-entry .av-inner-masonry-content {
	z-index: 3;
}

.blog_posts_page .av-masonry-entry-content.entry-content {
	display: none;
}
#about-me-video .avia_codeblock {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}
#about-me-video .background-img--hidden.avia_codeblock {
	display: block;
}
#about-me-video .avia_codeblock:before {
    content: '';
    background-image: url(https://mariotijerina-assets.s3.amazonaws.com/2020/02/Navidad_2019-42-scaled.jpg);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#about-me-video .background-img--hidden.avia_codeblock:before, .play-button--hidden {
	display: none!important;
}

#about-me-video .play-button {
  background: white;
  width: 80px;
  height: 80px;
  border-radius: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'HiroshigeStd';
  font-size: 16px;
  position: absolute;
  z-index: 1;
}

#about-me-video .play-button:hover {
	cursor: pointer;
}

.margin-bottom-big {
	margin-bottom: 80px;
}

.button_home {
	margin-top: 80px;
}

#home-main-info .avia_image {
	width: 100%;
	max-width: 100%;
}

@media only screen and (max-width: 989px) {
	#home-main-info > .flex_cell {
		height: unset;
	}
}