/*
 Theme Name:   Enfold
 Theme URI:    https://themeforest.net/item/enfold-responsive-multipurpose-theme/4519990
 Description:  Enfold Theme
 Author:       Janne Lahtela
 Author URI:   http://jannelahtela.fi
 Template:     enfold
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         business, church, construction, corporate, ecommerce, fashion, hotel, multi purpose, one page, parallax, photography, portfolio, restaurant, retina, travel
 Text Domain:  enfold-child
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans');

body {
	font-family: 'Open Sans', sans-serif;
}

body .column-top-margin{
	margin-top:0px;
	}

#top .sub_menu > ul, #top .sub_menu > ul > li {
display: inline-block !important;
}

#top .sub_menu > ul, #top .sub_menu > ul > li.language_fi > a {
	display:none;
}

.av-sort-yes {
	font-family: 'Open Sans', sans-serif;
	font-weight: bold;
	text-transform: uppercase;
}

.positionSticky {
	  position: -webkit-sticky !important;
  		position: sticky !important;
  		top: 0;
}

.extrabold {
	font-weight: 800 !important;
}

#av-burger-manu-ul {font-family: 'Open Sans', sans-serif !important;}

h3.jl-header {
	margin: 50px 25px 25px 25px !important; 
	color: #fff !important;
	font-size: 24px !important;
}
/*a {
	text-decoration: underline !important;
}
/*#top h1 a, #top h2 a, #top h3 a, #top h4 a, #top h5 a, #top h6 a {text-decoration: underline; margin-bottom:20px;}*/
nav.main_menu {
	text-transform: uppercase;
}

#top .pagination .current, #top .pagination a, #top .fullsize .template-blog .pagination a{
	font-size:20px;
	height: 40px;
    width: 40px;
}

#top #wrap_all .social_bookmarks, #top #wrap_all .social_bookmarks a, #top #wrap_all .social_bookmarks li {
	float:right;
}

#top .av_inherit_color a{text-decoration: none; }
#top .av_inherit_color a:hover{text-decoration: underline;}

#socket .container{ text-align:center;}

.socket_color {
	background-color:#fff;
	border: none;
}

footer > .container, footer > .container > a  {
	color: #666;
}

.fullsize > .content {
	padding:50px !important;
}

.container_wrap  > .container {
    padding: 0px;
}

.content {
	padding-top: 0px;
}



#after_layer_slider_1 > .container {
	padding: 0px;
}



.av_one_third {
	margin-left: 0px !important;
	width:33.33333333333% !important;
}


.slide-entry {
	/*-webkit-filter: grayscale(30%); /* Safari 6.0 - 9.0 */
    /*filter: grayscale(30%);*/

	
	height:290px;
	margin:5px;
}

.jl-slide-entry {
	width: 32.89% !important;
}

.jl-thumbnail {
	width:100%; 
	height:300px; 
	opacity: 0.04;
	background-size: cover;
	-webkit-filter: grayscale(70%); /* Safari 6.0 - 9.0 */
    filter: grayscale(70%);
}

.jl-thumbnail:hover {

	opacity: 0.07;

}

.jl-thumbnail-parent:hover {
	background-color: rgba(0,0,0,0.2);
}

.pagination-meta {
	display:none !important;
}

.jl-tile-header {
	text-transform: uppercase; 
	letter-spacing: 2px; 
	color: #fff !important;	
	font-family: Open Sans; 
	font-weight: bold;
}

.av-outer-tab-title {
	font-family: 'Open Sans', sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 16px !important;
	color: #ed6a53 !important;
}

.jl-tile-header > a {
	color: #fff !important;
}

.slide-content > .entry-content-header, .grid-content > .entry-content-header {
	margin-top:15%;
	float:left; 
	text-align:center;
	font-family: Open Sans;
	font-weight: bold;
	background-color: transparent !important;
	width: 100%;
	font-size: 24px;
}

.entry-content-header > .grid-entry-title {
	background-color: transparent !important;
	text-align: center;
	padding: 20px;
}

.entry-content-header > .grid-entry-title > a {
	color: #fff !important;
	
}

.grid-content {
	padding: 0px !important;
	
}

.jl-tile-attributes {
	height:290px;
	background-size: auto;
}

.sub_menu{float:left;z-index: 2;font-size: 15px;line-height: 30px;position: relative;top:10px;}

.avia_wpml_language_switch_extra {
	display:none;
}

.tribe-events-single-section-title {
	font-size:20px !important;
}
.av-single-event-meta-bar-inner {
	font-family: 'Open Sans', sans-serif;
}

.tribe-events-button, avia_iconbox_title {
	font-family: 'Open Sans', sans-serif;
	font-size: 20px;
	color: #bc4a66 !important;
	background-color: #fbdad3 !important;
}

.post-meta-infos > .blog-categories, .post-meta-infos > .text-sep-cat {
	display:none;
}

.jl-margin {
	margin-left:50px;
}

#jl-padding {
	padding-left: 50px;
}

.av-upcoming-event-title {
	color: #ed6a53 !important;
	font-size:20px;
	font-family: 'Open Sans', sans-serif;
}

.av-upcoming-event-schedule, .av-upcoming-event-venue {
	font-size:16px;
	color: #475164 !important;
	font-family: 'Open Sans', sans-serif;
}

.rounded-container .iconfont, .small-preview .iconfont{
	display: none;
}

.small-preview {
	background-color: transparent !important;
}

div#pageanchors, div#pageanchors-page-split { 
	font-family: "Open Sans";
	padding:20px 10px 20px 0px;
	float:left;
	background-color: #475164;
	width:270px !important;
}

div#pageanchors-page-split { 
	position: fixed;
	z-index: 1;
}

.width300 {
	width:300px !important;
}

.marginTop50 {
	margin-top:50px !important;
}

.anchoritem {
	/*position:fixed;*/
}

div#pageanchors > ul > li > a, div#pageanchors-page-split > ul > li > a { 
	color: #ffffff !important;
	text-decoration: none;
	padding-top:10px;
	padding-bottom:10px;
	font-size: 16px;
	line-height: 0.9;
} 


div#pageanchors > ul > li > a.active, div#pageanchors-page-split > ul > li > a.active {
	padding-left:10px !important;
	text-decoration: none;
	/*font-weight: 900;*/
}

div#pageanchors > ul > li > ol {
	margin-left:0px !important;
}

div#pageanchors > ul > li > ol > li > a {
	color: #ffffff !important;
	font-size: 14px;
	font-weight: bolder;
	text-decoration: none;
}

div#pageanchors > ul > li > ol > li > a.active {
	padding-left:10px !important;
	text-decoration: none;
	/*font-weight: 900;*/
}

div#pageanchors > ul > li > ol > li > a:hover {
	text-decoration:none;
}

div#pageanchors > ul {
	list-style-type: none !important;
}

div#pageanchors > ul > li {
	line-height: 0.9;
}

div#pageanchors > ul > li.header-1 { 
	font-weight:bold;
	font-size: 24px;
}

.av-masonry-entry-content.entry-content {
	display: none;
    float: left;
    width: 90%;
	background-color: rgb(255, 255, 255);
    padding: 20px;
    position: absolute;
    top: 0px;
    margin: 20px !important;
    z-index: 3;
	opacity: 0.95;
}

/* Lauran */
div#pageanchors > ul > li > ol > li {
	line-height: 0.8;
}

@media (max-width: 1270px) { 

	.jl-slide-entry {
		width:32.7% !important;
	}
}

@media (max-width: 992px) {
	.container_wrap  > .container { 
		max-width: 95% !important;
	}
	
	.flex_column {
		width:100% !important;
	}
	
	.jl-slide-entry {
		width: 100% !important;
	}
	.responsive #top .container .av-content-small, .responsive #top #wrap_all .flex_column, .responsive #top #wrap_all .av-flex-cells .no_margin {
		margin-bottom:0px !important;
		margin-bottom:20px !important;
		
	}
		
	.av_textblock_section {
		padding:5px !important;
	}
	
	#top .fullsize .template-blog .post .entry-content-wrapper{ text-align: left !important }
	
	.av_one_third {
		width: 100% !important;
	}
	.av-upcoming-event-title, .av-upcoming-event-schedule, .av-upcoming-event-venue {
		font-size: 1.25em !important;
		
	}

	.slide-content > .entry-content-header, .grid-content > .entry-content-header {
		font-size: 1em !important;
		margin-top: 5%;
	}
	
	div#pageanchors {
		width:100% !important;
		
	}
	
	div#pageanchors > ul > li > a {
		font-size: 90% !important;
		line-height:120% !important;
	}
	
	div#pageanchors > ul > li > a.active { 
		padding-left:0px !important;
	}
	
	div#pageanchors > ul > li > ol > li > a { 
		font-size: 100% !important;
		line-height:120% !important;
	}
	
	div#pageanchors > ul > li > ol > li > a.active { 
		padding-left:0px !important;
	}
	
	.container {
		width: auto !important;
		max-width: 95% !important;
		
	}
	
 }

@media (max-width: 768px) { 

	.jl-margin {
		margin-left:0px;
	}

	.av-upcoming-events {
		margin-left: 0px;
	}

	
	h1 {
		word-wrap: break-word;
	}
	
	h1 > strong {
		word-wrap: break-word;
	}
	

	
	.responsive #top #wrap_all .container { padding: 0 15px 0 15px }
	
}

@media (max-width: 576px) { 

	.av-preloading-logo{
		width: 100% !important;
	}

	.all_colors h1 {
		font-size:24px !important;
	}

	.all_colors h2 {
		font-size:20px !important;
	 }

	 .jl-margin {
		font-size: 16px !important;
	 }
	 .av-upcoming-event-entry {
		 font-size: 14px !important;
	 }

	 .responsive #top #wrap_all .av-flex-cells .no_margin .flex_cell_inner .av_textblock_section .avia_textblock h2{

		margin-top:25px;

	 }

	 p {font-size:  16px;}
}


