 /*======================================================================*\
|| #################################################################### ||
|| # Package - Joomla Template based on YJSimpleGrid Framework          ||
|| # Copyright (C) 2010  Youjoomla.com. All Rights Reserved.            ||
|| # license - PHP files are licensed under  GNU/GPL V2                 ||
|| # license - CSS  - JS - IMAGE files  are Copyrighted material        ||
|| # bound by Proprietary License of Youjoomla.com                      ||
|| # for more information visit http://www.youjoomla.com/license.html   ||
|| # Redistribution and  modification of this software                  ||
|| # is bounded by its licenses                                         ||
|| # websites - http://www.youjoomla.com | http://www.yjsimplegrid.com  ||
|| #################################################################### ||
\*======================================================================*/
  
@media screen and (max-width: 470px) {

#logo {
	background:url(../images/beige/logo_small.png) no-repeat 50% 50% !important;

}
}

@media screen and (max-width: 980px) {
.top_menu_poz_navbar,
 div#mmenu_holder {
	width:100%!important;
	margin-top:10px;
	margin-bottom:20px;
	padding:0;
	text-align:left!important;
	/*text-indent:10px;   2021.04.25 */
	background:#d8d3b2 url(../images/mm_arrow.png) no-repeat left;
}
div#mmenu_holder span#yjmm_selectid {
	font-size:12px;
	font-weight:normal!important;
	text-transform:uppercase;
	/*2021.04.25
	margin:0;
	padding:0;
	width:95%!important;
	*/
	width:92%!important;
	margin-left:25px;
	text-indent: 10px;
	background:#d8d3b2 url(../images/mm_arrow_down.png) no-repeat right;
	background-position-x: 87%;
}
#default_video {
	width:100%!important;
}
}
 @media screen and (max-width: 980px) {
.yjsocials {
	margin:0 auto!important;
	width:100%!important;
	float:none!important;
}
.yjsocials .yjsquare_in {
	margin:0 auto!important;
	width:310px!important;
}
.yjsocials p {
	margin:0!important;
}
#topmenu_holder {
	border-right:none!important;
}
}
/***YJ LIVE SEARCH***/
@media screen and (max-width: 1040px) {
.pls {
	margin:0 auto!important;
	width:100%!important;

}
.pls .yjsquare_in {
	float:none!important;
	margin:0 auto!important;
	width:600px!important;
}
}
 @media screen and (max-width: 780px) {
.itemDateCreated {
	position:static!important;
	margin-bottom:20px;
}
}
@media screen and (max-width: 620px) {
.pls .yjsquare_in {
	float:none!important;
	margin:0 auto!important;
	width:450px!important;
}
.pls form {
	height:auto!important;
	width:100%!important;
}
.yjlivecont.defaultfeed {
	width:100%!important;
	display:none;
}
.pls .button {
	width:94%!important;
	margin:20px 0!important;
}
.LiveSearchResults {
	top:130px;
}
.LiveSearchHeader {
	top:110px;
}
}
@media screen and (max-width: 460px) {
.pls .yjsquare_in {
	width:270px!important;
}
.pls #defaultfeedLiveSearch {
	width:90%!important;
}
.pls .button {
	width:97%!important;
}
.pls .yjsquare_in {
    display:non!important;
}
.article_title, .module_title {
    font-size: 50%!important;
    text-align: center !important;
}
}
/***IMAGE SLIDER***/
@media screen and (max-width: 980px) {
#YJSlide_outer,
#YJSlide_inner,
.YJSlide_slide,
.YJIS_outer {
	width:100%!important;

}
.pis .YJIS_outer.yjis_respond a {
	display:block;
	overflow:hidden;
	float:left;
	width:58%;
}
.pis .YJIS_outer.yjis_respond img {
	width:94%;
	float:left;
}
a.template_morebutton {
	width:30%!important;
	margin:20px 0!important;
}
a.template_pricebutton {
	float:right!important;
	margin:20px 0!important;
}
.pis .yjsquare_in .navContainer {
	width:100%!important;
	margin:0!important;
}
}

@media screen and (max-width: 775px) {
#YJSlide_outer,
#YJSlide_inner,
.YJSlide_slide,
.YJIS_outer {
	/*height:900px!important;*/
	height:500px!important;
}
.pis .YJIS_outer.yjis_respond a {
	display:block;
	overflow:hidden;
	margin:0 auto;
	width:98%;
}
.pis .YJIS_outer.yjis_respond img {
	width: 97%;
	margin:0 auto!important;
}
.pis .YJSlide_intro {
	width:97%!important;
	margin:15px 0!important;
}
a.template_morebutton {
	width:45%!important;
	float:left!important;
	margin:10px auto!important;
}
a.template_pricebutton {
	width:45%!important;
	float:right!important;
	margin:10px auto!important;
}
}
@media screen and (max-width: 775px) {
#YJSlide_outer,
#YJSlide_inner,
.YJSlide_slide,
.YJIS_outer {
	height:870px!important;
}

.pis .yjsquare_in .navContainer {
	width:98%!important;
}
}
@media screen and (max-width: 700px) {
#YJSlide_outer,
#YJSlide_inner,
.YJSlide_slide,
.YJIS_outer {
	/*height:700px!important;*/
	/*height:800px!important;*/
	height:600px!important;
}
}
@media screen and (max-width: 600px) {
#YJSlide_outer,
#YJSlide_inner,
.YJSlide_slide,
.YJIS_outer {
	/*height:690px!important;*/
	height:590px!important;
}
.YJSlide_intro_in {
	margin:0 0 0 15px!important;
}
}

@media screen and (max-width: 480px) {
#YJSlide_outer,
#YJSlide_inner,
.YJSlide_slide,
.YJIS_outer {
	/*height:700px!important;*/
	height:600px!important;
}
.YJSlide_intro_in {
	margin:0 0 0 15px!important;
}
}

@media screen and (max-width: 360px) {
#YJSlide_outer,
#YJSlide_inner,
.YJSlide_slide,
.YJIS_outer {
	/*height:620px!important;*/
	height:550px!important;
}
.YJSlide_intro_in {
	margin:0 0 0 15px!important;
font-text:13px;
}
div.itemExtraFields ul li {
	border-bottom:none;
	font-size:13.5px!important;
	}
	body#stylef5.yjsgbody
	{
	font-size:13.5px;
	}
}

@media screen and (max-width: 562px) {
.pis .YJIS_outer.yjis_respond a {
	width:97%;
}
.pis .YJIS_outer.yjis_respond img {
	width:96%;
}
}
@media screen and (max-width:  437px) {
.pis .YJIS_outer.yjis_respond a {
	width:96%;
}
.pis .YJIS_outer.yjis_respond img {
	width:95%;
}
}
@media screen and (max-width:  367px) {
.pis .YJIS_outer.yjis_respond a {
	width:95%;
}
.pis .YJIS_outer.yjis_respond img {
	width:94%;
}
div.itemExtraFields ul li {
	border-bottom:none;
	font-size:13.5px!important;
	}
		body#stylef5.yjsgbody
	{
	font-size:13.5px;
	}
}
@media screen and (max-width: 980px) {
.template_h3 {
	margin:0 auto!important;
	width:100%;
	text-align:center;
}
.template_text {
	margin:20px 0!important;
	width:100%!important;
}
.template_button {
	float:none!important;
	margin:10px auto!important;
}
.template_h3.second {
	text-align:left;
}
/* 2021.04.19*/
.yj_hover_holder
{
	background:#FFF;
	width:100%;
} 
div.catItemHeader h3.catItemTitle {
	/* text-align:center; 2021.04.19*/
	text-align:left;
	width:100%!important;
}
div.catItemReadMore a {
	margin:0 auto!important;
}
div.catItemIntroText {
	text-align:center;
}
.insidem #k2Container.itemListView {
	padding:0!important;
	margin:0!important;
}

/*div.catItemExtraFields ul li.yjk2x_price {
	display:none;
}*/

div.catItemExtraFields ul li.yjk2x_comune,
div.catItemExtraFields ul li.yjk2x_municipality {
	display: none;
}

div.catItemExtraFields ul li.yjk2x_Superficie,
div.catItemExtraFields ul li.yjk2x_area,
div.catItemExtraFields ul li.yjk2x_comune,
div.catItemExtraFields ul li.yjk2x_municipality,
div.catItemExtraFields ul li.yjk2x_terreno,
div.catItemExtraFields ul li.yjk2x_Land {
	padding: 0 0 0 17px;
	border: none;
}

#rightblock,
#leftblock,
#insetblock {
	box-shadow:none!important;
}
.inside .pk2f,
.inside .pmc,
.inside .yj1 {
	margin:0!important;
}
.pk2f,
.pmc,
.yj1 {
	float:left!important;
	clear:none!important;
	width:33%;
}
.k2ItemsBlock.yj1 {
	width:100%!important;
}
}
@media screen and (max-width: 810px) {
#user21,
#user22 {
	width:100%!important;
}
.plm h4,
.psubscribe h4 {
	text-align:center;
	margin:10px 0!important;
}
.template_list {
	width:30%!important;
	margin:0 10px!important;
}
.psubscribe p {
	text-align:center;
}
.subscribe_holder {
	width:44%!important;
	overflow:hidden;
	margin:0 auto!important;
}
.psubscribe .subscribe_button {
	right:0;
	left:-25%;
	margin:0 auto!important;
	width: 95px;
}
}
@media screen and (max-width: 785px) {
.pk2f,
.pmc,
.yj1 {
	float:none!important;
	width:100%!important;
}
.pk2f h4,
.pmc h4,
.yj1 h4 {
	text-align:center;
}
.pk2f,
.pmc,
.yj1 {
	margin:0 auto!important;
	width:100%!important;
}
.pk2f .yjsquare_in,
.pmc .yjsquare_in,
.yj1 .yjsquare_in {
	float:none!important;
	margin:0 auto!important;
	width:250px!important;
}
}
@media screen and (max-width: 770px) {
.itemListView .itemList #itemListPrimary .itemContainer .catItemView {
	margin:0 0 20px 0!important;
}
.itemListView .itemList #itemListPrimary .itemContainer .itemContainerLast .catItemView {
	margin:0!important;
}
span.catItemImage img {
	width:800px!important;
}
}
@media screen and (max-width: 665px) {
.custom {
	border:none!important;
	box-shadow:none!important;
}
.custom .custom_holder {
	clear:none!important;
	float:none!important;
	margin:10px 0!important;
	width:100%!important;
	padding:10px 0!important;
	border-bottom:1px solid #e0e8ef;
	-webkit-box-shadow:0px 1px 0px 0px #fff;
	box-shadow:0px 1px 0px 0px #fff;
}
.custom h4,
.custom h4 span {
	text-align:center;
}
.custom p {
	text-align:center;
}
.template_readmore {
	margin:20px auto!important;
}
}
@media screen and (max-width: 645px) {
.template_list {
	width:100%!important;
	margin:0 auto!important;
}
.template_list li {
	background:none!important;
	margin:0 auto!important;
	width:100%!important;
	text-align:center;
}
.template_list li:hover {
	background:none;
}
}
@media screen and (max-width: 645px) {
.psubscribe .subscribe_button {
	left:-30%;
}
}
@media screen and (max-width: 620px) {
.psubscribe .inputbox_email {
	width:96%!important;
}
.psubscribe .subscribe_button {
	position:relative!important;
	width:100%!important;
	margin:20px 0 0 0!important;
	left:0;
	bottom:0;
	float:left;
}
#header1 {
    margin-top: 0px !important;
}
}
/*@media screen and (max-width: 365px) {
div.catItemExtraFields ul li {
	/*width: 25%!important;*/
	/*width: 40%!important;
	padding:0 0 0 34px!important;
}*/

@media screen and (max-width: 365px) 
{
    #header1 {
    margin-top: 0px !important;
}
    div.itemExtraFields ul li {
	border-bottom:none;
	font-size:13.5px!important;
	}
		body#stylef5.yjsgbody
	{
	font-size:13.5px;
	}
   /* body{font-family:"Arial narrow", "Trebuchet MS", Arial!important;
    font-size:15px;
    }*/
    .pk2f #yjk2filter_extraFieldsContainer .yjk2filter_oholder select {margin-right:50px!important;
    }
        
        /*.yjk2filter_oholder{font:arial narrow!important;
    }*/
/**  2021.04.19 
div.catItemExtraFields ul li.yjk2x_comune,
div.catItemExtraFields ul li.yjk2x_municipality{
	width: 40%!important;
	padding:0 0 0 34!important;
}

div.catItemExtraFields ul li.yjk2x_superficie,
div.catItemExtraFields ul li.yjk2x_area{
		width: 40%!important;
	padding:0 0 0 34px!important;
}

div.catItemExtraFields ul li.yjk2x_prezzo,
div.catItemExtraFields ul li.yjk2x_price
{
	width: 25%!important;
	padding:0 0 0 0px!important;
	margin:0 10px 0 0!important;  
}
***/

.pagination
 {
	margin-bottom:50px!important;
}

.itemExtraFieldsLabel
{
	margin-right:50px!important;
}

/*.yjk2filter_oholder
{
	margin-left:5px!important;
}*/

div.catItemExtraFields ul li.yjk2x_squarefeet {
	background-position:7px center!important;
}
div.itemExtraFields ul li span.itemExtraFieldsLabel {width:30%;}
	div.itemExtraFields ul li span.itemExtraFieldsValue {/*display:block;*/float:right}

}


/* yj k2 image slider*/
@media screen and (max-width: 980px) {
.pis h4 {
	font-size:140%!important;
	line-height:18px!important;
	margin:0!important;
}
.SimpleSlide,
#SimpleSlide_outer,
#SimpleSlide_inner,
.SimpleSlide_slide {
	width:100%!important;
}
.SimpleSlide_slide img {
	width:100%!important;
}
}

@media screen and (max-width: 768px) {
#SimpleSlide_outer,
#SimpleSlide_inner,
.SimpleSlide_slide {
	height:350px!important;
	
}
/*** 2021.04.19
.yj_hover_holder
{
	width:55%;
	margin-left:25%;
	
}
***/
}
@media screen and (max-width: 680px) {
#SimpleSlide_outer,
#SimpleSlide_inner,
.SimpleSlide_slide {
	/*height:250px!important;*/
height:320px!important;
}
/*** 2021.04.19
div.catItemIntroText {
	text-align:left!important;
}
.yjk2x_prezzo{
font-size:14px!important;
}
***/
}

@media screen and (max-width: 480px) {
#SimpleSlide_outer,
#SimpleSlide_inner,
.SimpleSlide_slide {
height:250px!important;
/*height:170px!important;*/
    
}
/*** 2021.04.19
.yjk2x_prezzo{
font-size:14px!important;
}

div.catItemIntroText {
text-align:left;

}

.catItemTitle    
   {
font-size:14px!important;
text-align:left!important;
} 
***/
}

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

#SimpleSlide_outer,
#SimpleSlide_inner,
.SimpleSlide_slide {
height:280px!important;
/*height:170px!important;*/
    
}
/*** 2021.04.19
.yjk2x_prezzo,.yjk2x_price{
font-size:12px!important;
margin-bottom:20px!important;

}

div.catItemIntroText {
    text-align:left;
}

.catItemTitle    
{
font-size:14px!important;
text-align:left!important;
} 
***/

/*div.catItemIntroText:after {content:"...";
}*/

.yjk2x_comune{
 width:50%!important;   
}

div.itemExtraFields ul li {
	border-bottom:none;
	font-size:13.5px!important;
	}
		body#stylef5.yjsgbody
	{
	font-size:13.5px;
	}
	
	
	#header1 {
    margin-top: 0px !important;
}

}

@media screen and (max-width: 769px) {
/**  My 202103 **/
#holder2{
    padding: 0px 0px;
}
.itemListView .itemList #itemListPrimary .itemContainer .catItemView {
	margin:0 0 20px 0!important;
}
.itemListView .itemList #itemListPrimary .itemContainer .itemContainerLast .catItemView {
	margin:0!important;
}
.yj_hover_holder
{
	background:#FFF;
	width:100%;
	/*margin-left:5%;*/
	
} 

.clr{height:1px}

span.catItemImage a {
    text-align: left;
}
span.catItemImage img {
	
	float:left!important; 
	width:70%!important;
	/*top:10px!important;
	right:10px!important;*/

	border: none;
	padding: 0;
	overflow: hidden;
	margin: 0 auto;
	/*display: block;*/
	/*position: absolute;
	top: 15px;
	left: 10px;*/
    /*margin-left: auto;
    margin-right: auto;*/
    /*width: 40%!important;*/
margin-left: none;
    margin-right: none;
    /*width: 320px !important;*/
    
}

div.catItemHeader {
	overflow: hidden;
	height:auto!important;*/
}

div.catItemHeader h3.catItemTitle {
	position:absolute;
	width: 100%!important;
	margin-top:0px!important;
	margin-left: 0px!important;
	font-size:100%!important;
	line-height: 15px;
	padding: 0!important;
	/*line-height: 1.1em;*/
	
	/*width:40%!important;
	text-align:center;
	float:right!important;*/
}
/*  estj v customk.css!
div.catItemExtraFields h4 {
	display: none;
}
*/ 

div.catItemExtraFields ul li.yjk2x_comune,
div.catItemExtraFields ul li.yjk2x_municipality
{
	padding: 0 0 0 17px;
	border: none;
}

div.catItemExtraFields ul li.yjk2x_prezzo,div.catItemExtraFields ul li.yjk2x_price {
	border: none;
	position: absolute;
	right: 10px;
	bottom: 450%;
	width: 25%;
	height: 18px;
	line-height: 20px;
	padding: 0;
	text-align: left;
	overflow:visible;

	text-transform: uppercase;
	/*font-size: 100%;*/

}

div.catItemExtraFields ul li.yjk2x_superficie, div.catItemExtraFields ul li.yjk2x_area {
	border: none;
	position: absolute;
	right: 0px;
	bottom: 400%;
	margin-left:10px;
	width: 25%;
	height: 18px;
	line-height: 20px;
	padding: 0;
	text-align: left;
	overflow:visible;
	
}
div.catItemExtraFields ul li.yjk2x_terreno, div.catItemExtraFields ul li.yjk2x_land {
	border: none;
	position: absolute;
	right: 0px;
	bottom: 250%;
	margin-left:10px;
	width: 25%;
	height: 18px;
	line-height: 20px;
	padding: 0;
	text-align: left;
	overflow:visible;
}
div.catItemExtraFields ul li.yjk2x_terreno, div.catItemExtraFields ul li.yjk2x_land
{
	padding-left: 15px;
	text-indent:5px;
	background:url(../images/plot_icon_small.png) no-repeat left;
}

div.catItemExtraFields ul li.yjk2x_superficie, div.catItemExtraFields ul li.yjk2x_area {
	padding-left: 15px;
	background:url(../images/house.png) no-repeat left;
}

div.catItemExtraFields ul li.yjk2x_squarefeet {
	text-align: right;
}

div.catItemReadMore a {
	margin:0 auto!important;
}
div.catItemIntroText {
	text-align:center;
}
.insidem #k2Container.itemListView {
	padding:0!important;
	margin:0!important;
}

.yjk2x_prezzo,.yjk2x_price{
font-size:12px!important;
margin-bottom:20px!important;

}

div.catItemIntroText {
    text-align:left;
    /*font-size:12px!important;*/

    
}

/*div.catItemIntroText:after {content:"...";
}*/

.yjk2x_comune{
 width:50%!important;   
}

div.itemExtraFields ul li {
	border-bottom:none;
	font-size:13.5px!important;
	}
		body#stylef5.yjsgbody
	{
	font-size:13.5px;
	}
	
	
	#header1 {
    margin-top: 0px !important;
}
}

