/*
Theme Name:     Newspaper Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper
Version:        9.0c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/
 select.wpcf7-select, input[type=number]{
    text-transform: none;
    font-size: 12px;
    line-height: 21px;
    color: #444;
    border: 1px solid #e1e1e1;
    width: 100%;
    max-width: 100%;
    height: 40px;
	padding: 3px 9px;}

input[type=text], input[type=url], input[type=tel], input[type=email]{height: 40px;}
.wpcf7-checkbox{display: grid; grid-template-columns: repeat(2, 1fr);}

.btn-tag .wp-block-button__link {padding: 12px 24px!important}
@media (max-width: 767px){
	#cta_rubrica h4{font-size: 18px!important; margin-top: 0px}
	#cta_rubrica .btn-tag{font-size: 14px!important}
	.btn-tag .wp-block-button__link {padding: 10px 20px!important;}
	.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:50%!important}
	
}


.page-id-7301 .vc_column.tdi_40.form-col.wpb_column.vc_column_container.tdc-column.td-pb-span12 {
	border: 1px solid black !important;
	background: linear-gradient(to right, #4164ad, #893e95, #ec0c6e, #ee3f4b, #f89c20) border-box !important;
}

.page-id-7301 .wpcf7 label {color:white}
.page-id-7301 span.wpcf7-list-item-label a {color: black;}
.page-id-7301 input.wpcf7-form-control.has-spinner.wpcf7-submit {width: 100%; border-radius: 50px; margin-top: 20px;}

.page-id-7301 textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required {color: #444;}
/*******************************************************************/
/****template articolo agenzie*****/
.cornice-image-articolo-agenzie{
border-image: linear-gradient(to right, #4164ad, #893e95, #ec0c6e, #ee3f4b, #f89c20) 30;
border-width: 6px;
border-style: solid;
}
div#wpcf7-f10270-p10263-o1 {
    width: 700px!important;
	padding-top:50px;
	padding-bottom:50px;
}

div#wpcf7-f10270-p10263-o1 .form-label {font-weight:500}
div#wpcf7-f10270-p10263-o1 span.wpcf7-list-item-label {font-size: 16px;}
 div#wpcf7-f10270-p10263-o1 .wpcf7-list-item {margin: 0 0 0 0;}

/*******************************************************************/
/***template categoria agenzie***/

/******prima riga***/
.category-agenzie-first-row.tdi_46 .tdb_module_cat_grid_1.td-animation-stack.tdb-cat-grid-post.tdb-cat-grid-post-0 .td-image-wrap:before{
	/*background-color: black !important;*/
    border-image: linear-gradient(108deg, #4164ad 70%,#893e95 79%) 4 !important; 
    border-width: 6px !important;
    border-style: solid !important;
}

.category-agenzie-first-row.tdi_46 .tdb_module_cat_grid_1.td-animation-stack.tdb-cat-grid-post.tdb-cat-grid-post-1 .td-image-wrap:before{
    border-image: linear-gradient(108deg, #893e95 70%,#ec0c6e 79%) 4;
    border-width: 6px;
    border-style: solid;
}

.category-agenzie-first-row.tdi_46 .tdb_module_cat_grid_1.td-animation-stack.tdb-cat-grid-post.tdb-cat-grid-post-2 .td-image-wrap:before{
    border-image: linear-gradient(108deg, #ec0c6e 70%,#ee3f4b 79%) 4;
    border-width: 6px;
    border-style: solid;
}

.category-agenzie-first-row.tdi_46 .tdb_module_cat_grid_1.td-animation-stack.tdb-cat-grid-post.tdb-cat-grid-post-3 .td-image-wrap:before{
    border-image: linear-gradient(108deg, #ee3f4b 70%,#f89c20 79%) 4;
    border-width: 6px;
    border-style: solid;
}


/******seconda riga***/
.category-agenzie-second-row .tdb_module_cat_grid_1.td-animation-stack.tdb-cat-grid-post.tdb-cat-grid-post-0 .td-image-wrap:before{
    border-image: linear-gradient(108deg, #4164ad 70%,#893e95 79%) 4;
    border-width: 6px;
    border-style: solid;
}

.category-agenzie-second-row.tdi_68 .tdb_module_cat_grid_1.td-animation-stack.tdb-cat-grid-post.tdb-cat-grid-post-1 .td-image-wrap:before{
    border-image: linear-gradient(108deg, #893e95 70%,#ec0c6e 79%) 4;
    border-width: 6px;
    border-style: solid;
}

.category-agenzie-second-row.tdi_68 .tdb_module_cat_grid_1.td-animation-stack.tdb-cat-grid-post.tdb-cat-grid-post-2 .td-image-wrap:before{
    border-image: linear-gradient(108deg, #ec0c6e 70%,#ee3f4b 79%) 4;
    border-width: 6px;
    border-style: solid;
}

.category-agenzie-second-row.tdi_68 .tdb_module_cat_grid_1.td-animation-stack.tdb-cat-grid-post.tdb-cat-grid-post-3 .td-image-wrap:before{
    border-image: linear-gradient(108deg, #ee3f4b 70%,#f89c20 79%) 4;
    border-width: 6px;
    border-style: solid;
}

/******terza riga***/
.category-agenzie-third-row.tdi_69 .tdb_module_cat_grid_1.td-animation-stack.tdb-cat-grid-post.tdb-cat-grid-post-0 .td-image-wrap:before{
    border-image: linear-gradient(108deg, #4164ad 70%,#893e95 79%) 4;
    border-width: 6px;
    border-style: solid;
}

.category-agenzie-third-row.tdi_69 .tdb_module_cat_grid_1.td-animation-stack.tdb-cat-grid-post.tdb-cat-grid-post-1 .td-image-wrap:before{
    border-image: linear-gradient(108deg, #893e95 70%,#ec0c6e 79%) 4;
    border-width: 6px;
    border-style: solid;
}

.category-agenzie-third-row.tdi_69 .tdb_module_cat_grid_1.td-animation-stack.tdb-cat-grid-post.tdb-cat-grid-post-2 .td-image-wrap:before{
    border-image: linear-gradient(108deg, #ec0c6e 70%,#ee3f4b 79%) 4;
    border-width: 6px;
    border-style: solid;
}

.category-agenzie-third-row.tdi_69 .tdb_module_cat_grid_1.td-animation-stack.tdb-cat-grid-post.tdb-cat-grid-post-3 .td-image-wrap:before{
    border-image: linear-gradient(108deg, #ee3f4b 70%,#f89c20 79%) 4;
    border-width: 6px;
    border-style: solid;
}

/*****Articolo Agenzie*****/
.content-articolo-agenzie.tdi_61 h2{font-size: 29px!important; margin-bottom: 0;}
.content-articolo-agenzie.tdi_61 h3:not(.tds-locker-title){
	font-size: 22px!important;
    font-weight: 500!important;
    margin-bottom: 0;
    margin-top: 0;
}

.content-articolo-agenzie.tdi_61 a {
    color: black;
	font-size: 22px!important;
    font-weight: 500!important;
}

.content-articolo-agenzie.tdi_61 a {text-decoration: underline !important; color:#ff4033 !important}
.image-banner-hero-database-agenzie .tdb-featured-image-bg {background: unset !important;}

/****Menù footer****/
.menu-custom-footer-and-mobile ul.sub-menu {display: none;}

/****Infinite loading cat. datbase agenzie***/
.tdb_template_10259 .td-loader-gif.tdb-loader-autoload.td-loader-animation-mid {
    display: none;
}

/****************************/
.category-agenzie-loop-post .tdb_module_loop.td_module_wrap.td-animation-stack.td-cpt-post:nth-child(4n + 1){
    border-image: linear-gradient(108deg, #4164ad 70%,#893e95 79%) 4 !important; 
    border-width: 6px !important;
    border-style: solid !important;
}

.category-agenzie-loop-post .tdb_module_loop.td_module_wrap.td-animation-stack.td-cpt-post:nth-child(4n + 2){
    border-image: linear-gradient(108deg, #893e95 70%,#ec0c6e 79%) 4;
    border-width: 6px;
    border-style: solid;
}

.category-agenzie-loop-post .tdb_module_loop.td_module_wrap.td-animation-stack.td-cpt-post:nth-child(4n + 3){
    border-image: linear-gradient(108deg, #ec0c6e 70%,#ee3f4b 79%) 4;
    border-width: 6px;
    border-style: solid;
}

.category-agenzie-loop-post .tdb_module_loop.td_module_wrap.td-animation-stack.td-cpt-post:nth-child(4n + 4){
     border-image: linear-gradient(108deg, #ee3f4b 70%,#f89c20 79%) 4;
    border-width: 6px;
    border-style: solid;
}


/* Per l'iframe dell'embed Instagram */
iframe.instagram-media {
  width: calc(42% - 2px) !important;
}
.instagram-media img.EmbeddedMediaImage{object-fit:cover !important;}


@media (max-width: 767px){
.category-agenzie-loop-post.tdi_68 .tdb-block-inner { row-gap: 15px;}
}