/*
Theme Name:   cartobox
Description:  Write here a brief description about your child-theme
Author:       admin
Author URL:   https://graph-lab.it
Template:     Divi
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  cartobox
*/

/* Write here your own personal stylesheet */

/*SERVIZI*/
	/*.et_pb_blurb p {
    font-family: 'Noto Sans JP',Helvetica,Arial,Lucida,sans-serif!important;
    font-size: 18px!important;
    color: #2b2b2b!important;
    line-height: 1.9em!important;
}*/

/*mobile menu
.mobile_menu_bar:before{
	color:white!important;
}*/
/*PRODOTTI POST FILTER GRID*/

.dp-dfg-container {
    /*background-color: #EDEBEB;*/
}

.dp-dfg-layout-grid .dp-dfg-items {
    width: 80%;
    margin: auto;
	padding-top: 50px;
}

.dp-dfg-layout-grid .dp-dfg-image, .dp-dfg-layout-grid .dp-dfg-overlay {
	margin: 5%;
}

.dp-dfg-skin-default .dp-dfg-item {

   border:none!important;
	background-color: transparent!important;
}

.dp-dfg-layout-grid .dp-dfg-image, .dp-dfg-layout-grid .dp-dfg-overlay {
    border: solid 3px #2b2b2b;
    border-radius: 50px;
	margin: 5%!important;
    padding: 5%;
}

.dp-dfg-skin-default .dp-dfg-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    background-color: white;
    padding: 5%;
    border-radius: 50px;
}

.et_overlay {
	top: auto;
    left: auto;
	border:none;
	border-radius: 50px;
}

.dp-dfg-skin-default .dp-dfg-item>* {
    margin: auto;
}

.mfp-img img{
	border-radius:50px!important;
	padding:0!important;
}

.mfp-title {
    margin:auto;
	padding-top:20px;
    font-weight: 600;
}

.mfp-counter {
    display: none;
}

.mfp-image-holder .mfp-close {
	 top: -30px;
}

/**/

.dp-dfg-filters{
	/*background-color:white;*/
	padding:0 50px 0 50px;
	margin-bottom:50px;
}

.dp-dfg-skin-default .dp-dfg-filter {
    margin-bottom: 50px;
	padding: 10px;
}

/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
	.dp-dfg-filters{
	/*background-color:white;*/
	padding:0 10px 0 10px;
	margin-bottom:10px;
}
	.dp-dfg-skin-default .dp-dfg-filter {
    margin-bottom: 3px!important;
	padding: 10px;
}
	
		.dp-dfg-skin-default .dp-dfg-filter:last-child {
    margin-bottom: 30px!important;
	padding: 10px;
}
	
 
}


.dp-dfg-pagination .pagination a, .dp-dfg-skin-default .dp-dfg-filter a {
    color: #2b2b2b;
   -webkit-color: #2b2b2b;
   border-radius: 50px;
	-webkit-border-radius: 50px;
}

.dp-dfg-pagination .pagination a, .dp-dfg-skin-default .dp-dfg-filter a:hover {
    background-color: #EDEBEB;
	-webkit-background-color: #EDEBEB;

}

.dp-dfg-skin-default .dp-dfg-filter a.active, .dp-dfg-skin-default .pagination li.active a {
    color: #2b2b2b!important;
	-webkit-color: #2b2b2b!important;
    background-color: white;
	-webkit-background-color: white;
	border: solid 3px #2b2b2b;
	-webkit-border: solid 3px #2b2b2b;
}

/*CONTATTI*/
.et_pb_blurb p .contatti {
    font-family: 'Noto Sans JP',Helvetica,Arial,Lucida,sans-serif!important;
    font-size: 18px!important;
    color: #edebeb!important;
    line-height: 1.9em!important;
}

/*Equalize Blog Columns*/

.bloggrid .et_pb_salvattore_content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.bloggrid article {
        margin-bottom: 20px !important;
	-webkit-box-flex: 1;
	    -ms-flex: 1 0 auto;
	        flex: 1 0 auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	    border-radius: 30px;
}

.bloggrid .post-content {
	-webkit-box-flex: 1;
	    -ms-flex: 1 0 auto;
	        flex: 1 0 auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

.bloggrid .column {
        margin-bottom: 20px !important;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
}

.et_pb_with_border .et_pb_post img:not(.woocommerce-placeholder){
	border-top-left-radius:30px;
	border-top-right-radius:30px;
}

/*post*/
.et_pb_post_content_0_tb_body img{
	margin-bottom:3vh;
}

.hidemenu {
		display:none;
	}

.et_pb_blog_grid .more-link {
    visibility: hidden;
    position: relative;
}

.et_pb_blog_grid .more-link:after {
    content: "Leggi di più";
    visibility: visible;
    position: absolute;
    left: 0;
    top: 0;
}

a.btn-preventivo::after {
  content: "";
}