/*
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 will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/
/* ASR TOP */
a.toplogin{
    float: right;
    display: block;
    line-height: 30px;
    border-left: 1px solid #d02237;
    padding: 0px 5px;
}

#header .mega_menu_title{display: none;}



/* ASR SIDEBAR RIGHT */
.widget h3:before{
    content: '';
    border-bottom: 4px #e1e1e1 solid;
    display: block;
    margin-bottom: -30px;
    margin-top: 30px;
    margin-left: -50px;
}
.widget h3:after{
    content: '';
    border-bottom: 4px #d02237 solid;
    display: block;
    padding-bottom: 10px;
    width:30%;
    margin-left: 200px;
}

#groups-list-options a{
    /*color: #fff;*/
    padding: 0px 5px;
    display: inline-block;
    width: auto;
    font-weight: 600;
    font-size: 12px;
}

/* ASR SIDEBAR LEFT */
.avia-builder-widget-area,
.sidebar_left .inner_sidebar{text-align: left;}
.avia-builder-widget-area .widget h3:before,
.sidebar_left .inner_sidebar .widget h3:before{
    content: '';
    border-bottom: 4px #e1e1e1 solid;
    display: block;
    margin-bottom: -30px;
    margin-top: 30px;
    margin-right: -50px;
    margin-left: 0px;
}
.avia-builder-widget-area .widget h3:after,
.sidebar_left .inner_sidebar .widget h3:after{
    content: '';
    border-bottom: 4px #d02237 solid;
    display: block;
    padding-bottom: 10px;
    width:30%;
    margin-left: 0px;
}

/* ASR HOME PAGE */
.widgettitle.hidden{display:none;}
#last-news main .flex_column_table .flex_column.av_one_half{padding:60px}
#last-news .post-entry .flex_column.featured-image{background-repeat: no-repeat!important;background-position: center!important;background-size:cover!important;}
#last-news .last-news .category{margin:30px 0;}
#last-news .last-news .category h3{font-size: 14px;}
#last-news .last-news .category .avia-buttonrow-wrap a.avia-button{border:2px solid #000!important;border-radius: 25px;margin: 0 5px;color: #000!important;font-weight: bold;font-size: 12px; padding: 3px 5px;}
#last-news .last-news .category .avia-buttonrow-wrap a.avia-button:hover{text-decoration:underline;}
#last-news .last-news .category .avia-buttonrow-wrap a.avia-button:hover span.avia_button_background{background: transparent!important;border-color: transparent;}


#other_news #slider-news article{background:#fff;}
#other_news #slider-news article a{border-width:0;}
#other_news #slider-news article .slide-content{padding:10px;}

#other_news .link_category .post-entry{margin: 40px 0;}
#other_news .link_category .post-entry a{padding:3px 5px; border:2px solid #000;border-radius: 25px;margin: 0 5px;color: #000;font-weight: bold;}

#ajaxsearchprosettings1_1{z-index:99;}
#ajaxsearchprores1_1{z-index: 98;}

#biblio_press .activity-list.item-list p{border: 1px solid;padding: 5px 10px;border-radius: 9px;background: #f9e8ea;}

#asr-row-bg{
    position: absolute;
    top: 110px;
    width: 100%;
    background:#d02237;
    z-index: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding: 50px;
}

.asr-row-button a.btn-bambini{
    background: #d02237;
    color: #fff;
    padding: 10px 15px;
}
.asr-row-button a.btn-community{
    background: #d02237;
    color: #fff;
    padding: 10px 15px;
}

.asr-row-button a.btn:hover{text-decoration: underline;}

#asr-row-bg.consigliati{background: rgba(193,195,215,0.7);}
#asr-row-bg.invito{background: rgba(234,207,215,0.7);}

#newsletter{border: none;background: url(https://www.bibliotecacomunalegiovannilibertazzi.it/wp-content/uploads/2021/03/newsletter.png);background-size: cover;background-repeat: no-repeat;background-color: #fff;background-position: center;}
#newsletter .first.box_test{vertical-align: middle;margin-top: 25px;background: rgba(255,255,255,.5);padding: 30px;}

#biblio_press #groups-list{margin-top: 20px;}
#biblio_press #groups-list li{list-style: none; margin:10px 0;}
#biblio_press #groups-list li > div{display: inline-block;vertical-align: top;}
#biblio_press #groups-list li > div.item-avatar{margin-right: 10px;}

#asr-baby-book .avia-content-slider-inner .slide-entry-wrap section{min-height: 240px;}
#asr-baby-book main:before{
    content: '';
    background: url(https://www.bibliotecacomunalegiovannilibertazzi.it/wp-content/themes/enfold-child/img/2794.jpg);
    background-size: contain;
    opacity: .6;
    width: 100%;
    display: block;
    height: 300px;
    position: absolute;
    z-index: -2;
}
#asr-baby-book main .container,
#asr-consigliati main .container,
#asr-invito main .container{background: rgba(255,255,255,0.8);padding: 5px 20px;}

#asr-baby-book main .container .slide-entry-wrap img,
#asr-consigliati main .container .slide-entry-wrap img,
#asr-invito main .container .slide-entry-wrap img{min-height: 206px;}

#asr-baby-book main .container .avia-content-slider-element-container,
#asr-consigliati main .container .avia-content-slider-element-container,
#asr-invito main .container .avia-content-slider-element-container{z-index:3;}

#biblio_press{background: aliceblue;border:none;}
#biblio_press .swa-wrap .site-wide-stream li{
    border: 1px solid #ccc;
    margin: 20px 0;
    border-radius: 10px;
    padding: 10px;
    background: #fff;
}
#biblio_press .swa-wrap .site-wide-stream li.friends{background: #fbebed;}

/*** Aside group ***/
#yz-bp .yz-right-sidebar-layout .yz-sidebar-column .yz-column-content ul{padding:5px 25px;}
#yz-bp .yz-right-sidebar-layout .yz-sidebar-column .yz-column-content ul li{margin: 10px 0;}
#yz-bp .yz-right-sidebar-layout .yz-sidebar-column .yz-column-content ul li a{color:#666;}
#yz-bp .yz-right-sidebar-layout .yz-sidebar-column .yz-column-content ul li a:hover{text-decoration: underline;}
.youzer-sidebar .widget{padding: 0px 30px 10px;}
.yz-column-content .buddypress.widget .widget-title{padding: 0 45px;}

body .buddypress.widget .item-list, body .buddypress.widget .item-options{padding:0!important;}

@media only screen and (max-width: 767px){ .responsive #top #wrap_all .flex_column{margin-bottom:20px!important} }

/* ARCHIVIO LIBRI */
.avia_transform .avia-testimonial .avia-testimonial-image{opacity: 1;-webkit-transform: scale(1);transform: scale(1);}

/* ASR SERVIZI */
#service #menu-box-servizi .flex_column div ul{margin:0;padding:0}
#service #menu-box-servizi .flex_column div ul li{margin:0;padding:0;list-style:none;}
#service #menu-box-servizi .flex_column div ul li a{
	border-radius: 4px;
    background-color: #d02237;
    box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.1);
    color: #fff;
	font-weight:bold;
	text-transform:uppercase;
    margin-bottom: 8px;
    display: table;
	width: 100%;
}
#service #menu-box-servizi .flex_column div ul li a span{display:block; padding:10px;}
/* ASR BOX SERVIZI */
#menu-box-servizi .entry-content-wrapper div ul li a img{padding:0;}

/* ASR MAPS */
 #maps .mapp-layout{margin:0;}

 #footer{border:none;}

 /*** ASR MOBILE ***/
@media only screen and (max-width: 600px) {
    .responsive .container{padding: 0 20px;}
    /*** HOME ***/
    #last-news main .flex_column_table .flex_column.av_one_half{padding:20px;width: 100%;}
    #last-news main .flex_column_table .flex_column.av_one_half.featured-image{display: none;}
    .responsive #top .flex_column_table_cell{padding:0;}
    .template-page .entry-content-wrapper h2{font-size: 18px;}
    #top .flex_column_table_cell {float: none;display: table-cell;}

    #other_news .post-entry.post-entry-type-page{margin-top:0!important}

    #menu-box-servizi .flex_column.av_one_third{display: block;width: 100%; margin: auto;}
    #service #menu-box-servizi .flex_column div ul li a{}

    #biblio_press .flex_column,
    #newsletter .flex_column{display: block; width: 100%;margin: auto;}
}
