/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/
:root {
  --rosso: #ff1f02;

}

/******* GENERICI ******/
.slide,
.head_grad{
    background: #e3f9f5;
    /*background: linear-gradient(180deg, rgba(255, 30, 0, 1) 0%, rgba(255, 30, 0, 1) 50%, rgba(255, 255, 255, 1) 50%);*/
	background: linear-gradient(180deg, rgb(227 249 245) 0%, rgb(227 249 245) 50%, rgba(255, 255, 255, 1) 50%);
}
.slide{
    background: #e3f9f5;
    /*background: linear-gradient(180deg, rgba(255, 30, 0, 1) 0%, rgba(255, 30, 0, 1) 20%, rgba(255, 255, 255, 1) 30%);*/
	background: linear-gradient(180deg, #e3f7f5 0%, #e3f7f5 15%, rgba(255, 255, 255, 1) 30%);
}

@media all and (max-width:800px){
    .head_bkg .background-wrapper .background-inner.srcset-bg{
        background-position:center bottom !important;
    }
}
/******* ACCORDION *******/
.style-light .panel {
    border-color: var(--rosso);
    border-top-width: 0px;
    border-top-style: solid;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    padding-right: 0;
}
.plus-signed.sign-size-md .panel-title > a > span:after{
    color:var(--rosso);
    font-size: 30px;
}

.panel-title a span:before {
    content:'';
    position:absolute;
    left: -36px;
    background-color: #ff1e00;
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 100%;
    top: 50%;
    transform: translateY(-50%);
}

/******* HOME ******/
.slide .vc_custom_heading_wrap.slide-label .heading-text.el-text span {
    background-color: var(--rosso);
}

.slide .heading-text.el-text span {
    background-color: #fff;
    display: table;
    padding:0 5px
}
.conuter_home .counter-text em {
    display: block;
    font-style: normal;
}

.conuter_home .counter-text p {
    line-height: 22px;
    font-size: 20px;
    font-style: normal;
}
.uncode_text_column.text-lead p {
    line-height: 30px;
}
.owl-dots.uncode_slider-dot_classes.single-h-padding.owl-dots-classes {
    bottom: 0 !important;
}
/********* BLOCCO NEWS HOME *********/
.QRnews .t-entry-visual-tc .t-entry {
    position:absolute;
    z-index:9;
    bottom: 0;
}
.QRnews .t-entry-visual-tc  .t-entry-excerpt,
.QRnews .t-entry-visual-tc p.t-entry-readmore.btn-container,
.QRnews .t-entry-text p.t-entry-meta,
.QRnews .t-entry-text .t-entry-title{
    display:none;
}
.QRnews .t-entry-visual-cont span.t-cat-over {
    padding-top:0;
    padding-left:0;
}
.QRnews .tmb .t-cat-over.t-cat-over-topleft a.tmb-term-evidence{
    background:#fff;
    border:0;
    margin:0 !important;
    position: absolute;
    border-radius: 0;
    top: 0;
    color: #000 !important;
    padding: 9px 18px;
    font-size: 17px !important;
    font-weight: 800;
}
.QRnews .tmb .t-cat-over.t-cat-over-topleft a.tmb-term-evidence:after{
    border:0
}
.QRnews .t-entry-visual-tc .t-entry {
    padding:9px 18px 18px;
    background-color:#ffffff8c;
    width:85%
}
.QRnews .t-entry-visual-tc span.t-entry-date,
.QRnews .t-entry-visual-tc .t-entry-title a{
    color: #000 !important;
}
.QRnews .t-entry-text .t-entry {
    padding:0 18px;
}
.QRnews .t-entry-text .t-entry p.t-entry-readmore.btn-container {
    margin:5px 0 0 0 !important;
}
.QRnews .t-entry-text .t-entry p.t-entry-readmore.btn-container a{
    background-color: transparent !important;
    color: #000 !important;
    border: 0;
    padding: 0 22px 0 0 !important;
    text-transform: none;
    font-size: 17px;
    letter-spacing: 0;
    font-weight: 700 !important;
    position: relative;
} 
.QRnews .t-entry-text .t-entry p.t-entry-readmore.btn-container a:before{
    content:'\e0c3';
    font-family: 'uncodeicon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    right: 0;
    top: 2px;
    font-weight: 700;
}

.QRnews a.btn.btn-default.cursor-init:after {
    content:'';
    position:absolute;
    bottom: -3px;
    left: 0;
    width:100%;
    border:1px solid
}
/********* MAPPA *******/
#mappa svg {
    max-width: 100%;
}

[class^="numb-"] {
    pointer-events: none;
}
[class^="label-"] {
    pointer-events: none;
}
[class^="region-"] {
    cursor: pointer;
}
[class^="region-"] {

    transition:fill 300ms ease;
}
[class^="region-"] path{

    transition:fill 100ms ease;
}

[class^="region-"]:hover {
   fill: red !important;
    transition:fill 300ms ease;
}
[class^="region-"]:hover path{
   fill: red !important;
    transition:fill 100ms ease;
}

[class^="numb-"] {
    transition: transform 300ms 
}
[class^="numb-"].active {
    transform: scale(1.3);
    transition: transform 300ms 
}
[class^="numb-"].active path{
    fill: #ff0000 !important; 
}
[class^="label-"].active path{
    /*fill: #ff0000 !important; */
}
[class^="label-"].active path,
[class^="label-"].active g:nth-child(2) rect{
    /*fill: #ff0000 !important; */
}

g.numb-emilia {
    transform-origin: 1950px 300px;
}
g.numb-liguria {
    transform-origin: 1300px 400px;
}
g.numb-toscana {
    transform-origin: 1950px 700px;
}
g.numb-marche {
    transform-origin: 2600px 750px;
}
g.numb-lazio {
    transform-origin: 2430px 1350px;
}
g.numb-abruzzo {
    transform-origin: 2800px 1200px;
}
g.numb-molise {
    transform-origin: 3100px 1500px;
}
g.numb-basilicata {
    transform-origin: 3450px 2050px;
}
/*****breadcrumb servizi e sottopagine dove siamo *********/
.bread_servizi.bc-separator-triangle ol li:first-child,
.bread_servizi.bc-separator-triangle ol li:nth-child(2):before{
    display:none;
}
.bread_servizi.bc-separator-triangle ol li:before{
    content:'\e6de' !important; 
    font-family: 'uncodeicon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size:18px;
    top:2px;
    position:relative;
}
.bread_servizi.bc-separator-triangle ol li  {
    color:#000;
    font-weight:bold;
}
.bread_servizi.bc-separator-triangle ol li a{
    color:#000;
    font-weight:normal
}
/********* dove siamo********/
.item_dove {
    font-size: 26px;
    font-weight: 600;
}

.dove_wrapper .wpb_wrapper {
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 36px;
}

.item_dove a:after {
    content:'\e6de';
    font-family: 'uncodeicon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 42px !important;
    position: relative;
    top: 9px;
    right: 3px;
	display: inline-block;
    text-decoration-thickness: 3px !important;
    text-decoration: underline;
    text-underline-offset: -7px;
}

.item_dove a {
	position:relative;
	text-decoration: underline;
		text-decoration-thickness: 3px;
    text-underline-offset: 2px;
}
/********** PAGINE REGIONE*********/
.region_info_link p strong{
    font-weight:800 !important;	
}

.region_info_link a.cursor-init {
    text-decoration: underline;

}
.region_info_link a.cursor-init:after{
    content: '\e6de';
    font-family: 'uncodeicon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size:26px;
    position:relative;
    top:3px;
	
}
/******** SOCIAL MENU TOP ********/

.menu_hide_txt em {
    display: none;
}
.navbar-topmenu {
    position: absolute;
    right: 5px;
    top: 9px;
    height: 25px !important;
}
ul#menu-social_top {
    height: 25px;
}
.top-menu.navbar a{
    padding: 0 !important;
    padding-left: 0 !important;
    width: 20px;
    margin-right: 14px;
    height: 20px;
}
.top-menu.navbar a em,
.top-menu.navbar a i.fa-angle-right {
    display:none;
}
.top-menu.navbar a i.menu-icon:before{
    font-size:22px !important
}
.top-menu.navbar a:hover{
    color:#d6170b !important
}
@media all and (max-width:959px){
    ul#menu-social_top {
        right: -5px;
    }
}
.navbar-topmenu ul#menu-social {
    display: none;
}


.top-menu.navbar {
    background: #e3f9f5;
}

.top-menu ul.menu-smart {
    position: absolute;
    /* top: 4px; */
}

.topbar-col.topbar-col-right {
    position: absolute;
    top: 5px;
    right: 36px;
}
/******** FILTRI NEWS ******/
ul.menu-smart.sm.no-text-uppercase.menu-smart--filter-cats li a {
    font-size: 17px;
}
/******** FOOTER ******/
footer#colophon ul li {
    margin-bottom:18px
}

footer#colophon .footer-last {
    /*background-color: #ff1f02;*/
}

footer#colophon .social-icon.icon-box.icon-box-top.icon-inline a i {
    font-size: 34px;
}
footer#colophon a:hover {
    text-decoration: underline;
    color: #fff !important;
}
#svg-region-tooltip {
  position: absolute;
  z-index: 9999;
  padding: 4px 8px;
  background: #000;
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  border-radius: 3px;
  pointer-events: none; /* così il mouse non "vede" il tooltip */
  white-space: nowrap;
  opacity: 0.9;
}
footer#colophon a {
    
}
.uncode_text_column p a,
.uncode_text_column  a{
    text-decoration: underline;
}
.uncode_text_column p a:hover strong,
.uncode_text_column  a:hover strong{
    color:var(--rosso) !important;
}
ul#menu-main ul.drop-menu li.menu-item a{
    font-weight:700 
}
.tab_magazine .tmb span.t-cat-over.single-block-padding.t-cat-over-topleft,
.cat_news .tmb span.t-cat-over.single-block-padding.t-cat-over-topleft
 {
    padding:0px;

}

.tab_magazine span.t-entry-category.t-cat-over-inner a,
.cat_news span.t-entry-category.t-cat-over-inner a{
    background: #fff;
    border: 0;
    margin: 0 !important;
    position: absolute;
    border-radius: 0;
    top: 0px;
    color: #000 !important;
    padding: 9px 18px;
    font-size: 17px !important;
    font-weight: 800;
}

.tab_magazine .tmb-light.tmb-no-bg.tmb > .t-inside .t-entry-visual,
.cat_news .tmb-light.tmb-no-bg.tmb > .t-inside .t-entry-visual{
        border: 1px solid #eaeaea;
}
.QRnews .tmb .t-cat-over.t-cat-over-topleft .t-entry-category-5 a.tmb-term-evidence,
.tmb .t-cat-over.t-cat-over-topleft .t-entry-category-5 a.tmb-term-evidence{
    background-color:#93BAF9;
}
.QRnews .tmb .t-cat-over.t-cat-over-topleft .t-entry-category-6 a.tmb-term-evidence,
.tmb .t-cat-over.t-cat-over-topleft .t-entry-category-6 a.tmb-term-evidence{
    background-color:#93F9D2;
}
.QRnews .tmb .t-cat-over.t-cat-over-topleft .t-entry-category-7 a.tmb-term-evidence,
.tmb .t-cat-over.t-cat-over-topleft .t-entry-category-7 a.tmb-term-evidence{
    background-color:#F6F993;
}
@media all and (max-width:410px){
    .colhomeheight .row .row-inner{
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }
    .colhomeheight .row .row-inner .wpb_column{
        display: flex;
    }
	.svg-map-wrapper {
		width: 100%;
		overflow: hidden;
		height: 227px;
	}

	#mappa svg {
		width: 180%;
		stroke-miterlimit: 10;
		max-width: 180%;
		position: relative;
		left: -40%;
	}
}
@media all and (max-width:790px){
    .dove_wrapper .wpb_wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 36px;
    }
}

@media all and (max-width:540px){
    .dove_wrapper .wpb_wrapper {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        row-gap: 36px;
    }
}
@media all and (max-width:569px){
    .page-id-184 .uncode-single-media-wrapper img{
        width:80% !important;
        margin:0 auto
    }
}
.tmb-desaturated.tmb .t-entry-visual img{
	-webkit-filter: grayscale(100%);
}
.tmb-desaturated.tmb-image-color-anim.tmb .t-entry-visual:hover img{
	-webkit-filter: grayscale(0);
}

/************* ACCESSIBILITÀ ***************/
.conuter_home p.h5.font-weight-400 {
    font-size:24px
}
.top-menu.top-menu-enhanced .row-menu-inner .menu-smart > li.social-icon > a i {
    font-size: 30px !important;
}