/*
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
*/

/* header */

.html_header_top.html_header_sticky #main {
    padding-top: 138px;
}

#header_main {
    padding: 1.5rem;
}

#header_main .main_menu{
    position: relative;
    margin: auto;
    display: table;
}

#header_main .call_now{
    position: absolute;
    right: 0;
    top: 22px;
    line-height: initial;
    background-color: #dd0715;
    color: #fff;
    line-height: 44px;
    padding: 0 25px;
}

#header_main .call_now:hover{
    background-color: #000
}

#header_main .current-menu-item > a > .avia-menu-fx{
    display: none
}

.header_color .main_menu ul:first-child > li.current-menu-item > a,
.header_color .main_menu ul:first-child > li.current_page_item > a{
    color: #dd0715
}

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

    #header_main .av-main-nav > li.menu-item-avia-special {
        display: block;
    }

    #header_main .av-main-nav > li {
        display: none;
    }

    #header_main .call_now{
        display: none
    }

    #header_main .main_menu{
        margin: 0;
        float: right;
    }

}

/* home */

.home #full_slider_1 .slideshow_inner_caption{
    background-color: rgba(0,0,0,0)
}

.home #full_slider_1 .slideshow_inner_caption,
.home #full_slider_1 .slideshow_inner_caption h2,
.home #full_slider_1 .slideshow_inner_caption p{
    max-width: inherit;
    text-align: center;
}

.home #full_slider_1 .slideshow_inner_caption p{
    margin-bottom: 0;
}

.home #full_slider_1 .container.caption_container {
    position: relative;
    top: 0;
    z-index: 5;
    height: 100%;
    left: 0%;
    overflow: visible;
    max-width: inherit;
}

.home .caption_framed .slideshow_caption .avia-caption-title,
.home .caption_framed .slideshow_caption .avia-caption-content p{
	    background: rgba(0, 0, 0, 0.75);
}

/* LISTA IMMOBILE */


.lista_immobili,
.lista_immobili li{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.lista_immobili li .img{
    float: left;
    width: 300px;
    height: 200px;
    display: block;
    margin: 0 20px 20px 0;
    background-repeat: no-repeat;
    background-size: cover;
}

.lista_immobili li hr{
    margin: 0 0 20px 0;
}

.lista_immobili li .read_more{
    text-decoration: underline !important;
}

.lista_immobili li .read_more:hover{
    text-decoration: none !important;
}

@media only screen and (max-width: 767px) {
   
    .lista_immobili li .img {
        width:100%;
        height: 0;
        padding-bottom: 70%;
    }

    .lista_immobili li .read_more{
        padding-bottom: 20px;
        display: block;
    }

}

/* LISTA IMMOBILE GRIGLIA */

.lista_immobili.grid li {
    float: left;
    margin: 0 20px 20px 0;
    width: calc( 25% - 20px );
    padding: 0;
    background-color: #eee;
}

.lista_immobili.grid h3{
	margin: 20px;
	height: 46px;
    overflow: hidden;
    width: calc( 100% - 40px );
}

.lista_immobili.grid .read_more{
	margin: 20px;
	display: block;
}

.lista_immobili.grid li hr{
	display: none
}
 
.lista_immobili.grid li .img{
	float: left;
    width: 300px;
    height: 200px;
    display: block;
    margin: 0 20px 20px 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    background-color: #ddd;
}

.lista_immobili.grid li .img.photo{
    background-size: cover;
}

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

	.lista_immobili.grid li{
		width: calc( 33.33% - 20px );
	}

}

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

	.lista_immobili.grid li{
	    width: calc( 50% - 20px );
	}

}

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

	.lista_immobili.grid li{
	    width: 100%;
	}

	.lista_immobili.grid li .img {
	    float: none;
	    width: 100%;
	}

}

/* DETTAGLIO IMMOBILE */

.single .single-immobili .slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.single .single-immobili .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.single .single-immobili .prev, .single .single-immobili .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.single .single-immobili .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.single .single-immobili .prev:hover, .single .single-immobili .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.single .single-immobili .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.single .single-immobili .dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.single .single-immobili .active {
    background-color: #717171;
}

.single .single-immobili .fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

.single .single-immobili .fade img,
.single .single-immobili .left_col img{
    width: 100%;
}

.single .single-immobili .left_col{
    width: calc( 50% - 15px );
    margin: 0 15px 0 0;
    float: left;
}

.single .single-immobili .right_col{
    width: calc( 50% - 15px );
    margin: 0 0 0 15px;
    float: right;
}

.single .single-immobili .right_col p{
    border-bottom: 1px solid #eee;
    padding: 15px 0 15px 0;
    margin: 0;
}

.single .single-immobili .right_col p strong{
    display: inline-block;
    margin-right: 10px;
}

.single .single-immobili .content{
    clear: both;
}

.single .single-immobili .return_in_list{
    display: block;
    text-align: right;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.single .single-immobili h1{
    margin-bottom: 35px
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@media only screen and (max-width: 767px) {
    
    .single .single-immobili .left_col,
    .single .single-immobili .right_col{
        width: 100%;
        margin: 0;
        float: none;
    }

}

@media only screen and (max-width: 300px) {
    .single .single-immobili .text {font-size: 11px}
}

/* BOLD SU TITOLI LISTE */

.page-id-32 .av-special-heading-tag,
.page-id-36 .av-special-heading-tag,
.page-id-30 .av-special-heading-tag,
.page-id-34 .av-special-heading-tag{
    font-weight: bold
}