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

@font-face {
  font-family: 'nexa_blackregular';
  src: url('fonts/nexablack-webfont.woff') format('woff2'),
       url('fonts/nexablack-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'nexa_heavyregular';
  src: url('fonts/nexaheavy-webfont.woff') format('woff2'),
       url('fonts/nexaheavy-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'nexa_regular';
  src: url('fonts/nexaregular-webfont.woff') format('woff2'),
       url('fonts/nexaregular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/*global chage*/
.h1,.h2,.h3,.h4,.h5,.h6 {
	line-height: 1.2;
}
p {
	line-height: 1.5;
}

/*MENU*/
/*top menu*/
.top-menu .row-menu-inner {
	padding-bottom: 32px !important;
}
.top-menu .row-menu-inner > div {
	background-color: #f2f0f0;
}
.top-menu .row-menu-inner > div.middle {
	border-bottom-left-radius: 6px; 
}
.top-menu .row-menu-inner > div.menu-horizontal {
	border-bottom-right-radius: 6px;	
}
.top-menu .menu-horizontal .navbar-topmenu {
	border: none;
}
.top-menu > .row-menu > .row-menu-inner > .middle {
	background-image: url(../../uploads/2019/10/bkg_richiediKit.png);
	background-repeat: no-repeat;
	background-position: center left;
	background-size: contain;
}
.top-menu .menu-bloginfo {
	padding-left: 120px !important;
	padding-top: 16px !important;
	padding-bottom: 16px !important;
}
.top-menu .menu-bloginfo-inner p {
	font-size: 20px;
	font-family: nexa_blackregular, Helvetica;
	line-height: 1.2;
	color: #693D18;
}
.top-menu .menu-btn-container {
	margin-right: 36px !important;
	background-color: #693D18;
	border-radius: 6px;
}
.top-menu .menu-btn-container:hover {
	background-color: #A8C431;
}
.top-menu .menu-btn-container span {
	font-size: 20px;
	font-family: nexa_blackregular, Helvetica;
	color: #F7C63E;
	line-height: 1;
	letter-spacing: initial;
	transition: color 200ms ease-in-out;
}
.top-menu .menu-btn-container:hover span {
	color: #ffffff;
}

body[class*="hmenu-"] .navbar-nav-last {
  border-left: 1px solid #7b7b7b;
}
.menu-horizontal .menu-smart > .mega-menu .mega-menu-inner {
	text-align: center;
}
.menu-horizontal .menu-smart > .mega-menu .mega-menu-inner > li {
	border-left-width: 0px !important;
	text-align: center;
}
.menu-horizontal .mega-menu-inner > li.menu-item {
	display: inline-block;
}
.menu-horizontal .menu-smart > .mega-menu .mega-menu-inner.mega-menu-three > li,
.menu-horizontal .menu-smart > .mega-menu .mega-menu-inner.mega-menu-four > li {
	width: initial;
}
@media screen and (min-width: 960px) {
	.menu-wrapper .row-menu .row-menu-inner .logo-container,
	.menu-wrapper .row-menu .row-menu-inner .main-menu-container,
	.menu-horizontal .menu-smart > .mega-menu .mega-menu-inner {
		border-bottom: 1px solid #7b7b7b;
	}
}
@media screen and (max-width: 959px) {
	.menu-horizontal-inner > .desktop-hidden {
		display: none;
	}
}

/*social*/
body[class*="hmenu"] .menu-icons i:not(.fa-dropdown) {
	font-size: 43px;
	color: #693D18;
}
.menu-smart {
	padding: 0 40px 0 40px;
}
.menu-primary .menu-icons.menu-smart > li > a {
	padding: 0 20px 0 20px;
}

/*HOMEPAGE*/
/*menu categorie*/
ul.subMenu {
	padding-top: 15px;
}
.subMenu li a {
	font-family: nexa_blackregular, Helvetica;	
	color: #693D18;
	font-size: 24px;
	line-height: 1;
}
.subMenu li {
	background-size: 100% 100%;
	padding: 5px 15px 20px 15px;
	background-repeat: no-repeat;
	background-position: center center;
}
.categoryMenu li {
	margin: 0 15px;
}
.subMenu.categoryMenu li.nutrizione a:hover,
.subMenu.categoryMenu li.ricette a:hover,
.subMenu.categoryMenu li.lifeStyle a:hover,
.subMenu.categoryMenu li.tuttiIFrutti a:hover {
	color: #ffffff;
}
@media screen and (max-width: 570px) {
	.categoryMenu li {
		margin: 0;
	}	
}
.areaMediciMenu li {
	margin: 0 10px;
}
.subMenu li a {
  position: relative;
  display: inline-block;
  width: 100%;
  z-index: 1;
  padding: 0 0;
  text-transform: lowercase;
}
.nutrizione {
  background-image: url(../../uploads/2019/10/keyword-orange.png);
}
.ricette {
  background-image: url(../../uploads/2019/10/keyword-gialla.png);
}
.lifeStyle {
  background-image: url(../../uploads/2019/10/keyword-lilla.png);
}
.tuttiIFrutti {
  background-image: url(../../uploads/2019/10/keyword-green.png);
}
.generico {
  background-image: url(../../uploads/2019/10/keyword-brown.png);
}
.subMenu li.generico a {
	color: #ffffff;
}
@media only screen and (max-width: 959px) and (min-width: 571px) {
	.subMenu li {
		background-size: 50% 100%;
	}
}

@media only screen and (max-width: 959px) {
	.firstNews .tmb-content-size-7.tmb-content-lateral.tmb > .t-inside .t-entry-visual,
	.firstNews .tmb-content-size-7.tmb-content-lateral.tmb > .t-inside .t-entry-text{
		width: 100% !important;
	}
	.firstNews .tmb-no-bg.tmb-content-lateral.tmb .t-entry-text .t-entry-text-tc {
		padding-left: 0px !important;
		padding-top: 36px !important;
	}
}
@media only screen and (min-width: 960px) {
	.main-container .row-inner > div.secondNewsColumn {
		padding-right: 36px;
		border-right: 1px solid #7b7b7b;
	}
	.main-container .row-inner > div.thirdNewsColumn {
		padding-left: 36px;
	}
}
.lifestyleHomepage > h2 a {
	color: #9caedb;
}
.ricetteHomepage > h2 a {
	color: #f7c63e;
}

/*news list*/
.isotope-system .tmb .t-entry-text .t-entry-title > a {
	line-height: 1.2;
}

/*sidebar slider*/
.dotSpacing .owl-dots-outside.owl-carousel[data-dotsmobile="true"] {
	margin-bottom: 30px;
}
.dotSpacing .owl-dots-outside .owl-dots {
	bottom: -30px;
}
/*sidebar socail*/
#cff .cff-item {
	border-bottom-width: 0;
}

/*pagina tutti i frutti*/
.tuttifruttiHover a .tmb .t-entry-visual .uncode-single-media-wrapper::after {
	position: absolute;
	width: 100%;
	height: 100%;
	display: block;
	top: 0;
	z-index: 1;
	content: '';
	background-color: #333333;
	opacity: 0;
	-webkit-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	transition: opacity 0.2s;
}
.tuttifruttiHover:hover a .tmb .t-entry-visual .uncode-single-media-wrapper::after {
	opacity: 0.5;
}

/*menu in dettaglio frutto*/
.menuFrutti > span {
	font-size: 30px;
	color: #693D18;
	font-family: nexa_blackregular;
}
.menuFrutti > a {
	font-size: 25px;
	color: #693D18;
	font-family: nexa_heavyregular;
}
.menuFrutti > a.attiva {
	font-size: 25px;
	color: #A8C431;
	font-family: nexa_blackregular;
}

/*Contatti*/
.style-light form .formContatti p {
	color: #393939;
	font-weight: 400;
}
.style-light form .formContatti p label {
	font-weight: 600;
}
.formContatti input[type="text"],
.formContatti input[type="email"] {
	width: 100%;
}

.formContatti input[type="text"],
.formContatti input[type="email"],
.formContatti select,
.formContatti textarea,
.formContatti input[type="checkbox"] {
	border: 1px solid #707070;
	border-radius: 6px;
	box-shadow: none;
}
.formContatti input[type="checkbox"] {
	border-radius: 0px;
}
.formContatti .wpcf7-list-item-label {
	margin-left: 1em;
}
.formContatti input[type="submit"] {
	font-family: nexa_blackregular !important;
	font-size: 21px;
	color: #ffffff;
	width: 200px;
	height: 50px;
	background-color: #A8C431;
	border-radius: 11px;
	text-transform: uppercase;
	line-height: 1;
}
.formContatti input[type="submit"]:hover {
	background-color: #693D18;
}
.wpcf7 .wpcf7-validation-errors,
.wpcf7 span.wpcf7-not-valid-tip {
	color: red !important;
}

/*AREA MEDICI*/
.areaMediciSubBox:hover .uncol .uncont h2 span {
	color: #a8c431;
}

/*Valori nutrizionali*/
/*menu verticale*/
.areamedici-vtab .nav-tabs > li > a span {
  font-size: 25px;
  font-weight: 400;
  line-height: 20px;
  font-family: nexa_heavyregular;
}
.areamedici-vtab .nav-tabs > li.active > a span {
  font-family: nexa_blackregular;
}
.areamedici-vtab .nav-tabs {
  text-transform: none;
}
.style-light .areamedici-vtab .vertical-tab-menu .nav-tabs,
.style-light .areamedici-vtab .tab-content.vertical {
  border-color: #7b7b7b;
}
@media screen and (min-width: 960px) {
	.areamedici-vtab.valoriNutrizionali .vertical-tab-menu {
	  width: 25%;
	}
	.areamedici-vtab.valoriNutrizionali .vertical-tab-contents {
	  width: 75%;
	}
}
@media screen and (max-width: 959px) {
	.areamedici-vtab .vertical-tab-menu {
		margin-bottom: 36px;
	}
	.areamedici-vtab .tab-content.vertical {
		border-left-width: 0;
	}
	.areamedici-vtab .tab-content.vertical {
    padding: 0;
	}
}


/*tabelle nel contenuto*/
.style-light table.areaMediciTabelle,
.style-light table.areaMediciTabelle th,
.style-light table.areaMediciTabelle td{
  border-color: #ffffff;
}
.areaMediciTabelle thead tr {
  background-color: #A8C431;
}
.areaMediciTabelle thead tr th,
.areaMediciTabelle tbody tr td {
  font-family: nexa_regular;
  font-weight: 400;
}
.areaMediciTabelle thead tr th {
  color: #ffffff;
  font-weight: 700;
  font-size: 24px;
}
.areaMediciTabelle tbody tr td {
  font-size: 25px;
}
.areaMediciTabelle thead tr th:nth-child(1),
.areaMediciTabelle tbody tr td:nth-child(1){
  text-align: left;
  width: 50%;
}
.areaMediciTabelle thead tr th:nth-child(2),
.areaMediciTabelle tbody tr td:nth-child(2){
  text-align: center;
  width: 20%;
}
.areaMediciTabelle thead tr th:nth-child(3),
.areaMediciTabelle tbody tr td:nth-child(3){
  text-align: right;
  width: 30%;
}
.areaMediciTabelle tbody tr:nth-child(even) {
  background-color: #f2f0f0;
}
.areaMediciTabelle tbody tr:last-child {
  background-color: #ffffff;
}
@media only screen and (max-width: 959px) {
  .areamedici-vtab .vertical-tab-menu {
    width: 100%;
  }
  .areamedici-vtab .vertical-tab-contents {
    width: 100%;
  }
}
@media only screen and (max-width: 570px) {
	.areaMediciTabelle thead tr th {
		font-size: 16px;
	}

	.areaMediciTabelle tbody tr td {
		font-size: 18px;
	}
}

/*studi clinici*/
.style-light .accordionPubblicazioni .panel,
.style-light .accordionPubblicazioni .panel-group .panel-heading + .panel-collapse .panel-body {
	border-color: #7b7b7b;
}
.accordionPubblicazioni .panel-title > a span,
.accordionPubblicazioni .panel-title > a span::after {
	font-weight: 400;
	font-size: 23px;
}
.accordionPubblicazioni .panel-title > a span {
	font-family: nexa_regular;
}
.areamedici-vtab .vertical-tab-contents .tab-pane > .row-internal > .row-child > .row-inner {
	height: auto !important;
}

/*pagine frutti*/
.captionFrutto {
	margin: 0px !important;
	padding: 36px;
}
/*tag frutto in ricetta singola*/
.tagFrutto .tmb > .t-inside > .t-entry-text {
	padding-bottom: 36px;
	background-color: #F2F0F0;
}
.tagFrutto .tmb .t-entry-category a {
	background-image: url(../../uploads/2019/10/keyword-green.png);
}
.tagFrutto .tmb .t-entry-category a:hover {
	color: #ffffff;
}

@media screen and (max-width: 959px) {
	.tagFrutto .tmb > .t-inside > .t-entry-text .t-entry {
		padding: 0 36px;
	}
}

/*footer*/
.site-footer p,
footer .footer-last p {
	font-size: 18px;
	color: #693D18;
}
footer .footer-last .uncell {
	padding-left: 72px;
}
@media screen and (max-width: 959px) {
	footer .footer-last .uncell {
		padding-right: 36px;
		padding-left: 36px;
	}
}

/*utilities*/
li strong {
	color: #693d18;
}

.main-container .row-container .row-parent .single-internal-gutter .uncont > .no-mt,
.main-container .row-container .row-parent .column_child.single-internal-gutter .uncont > .no-mt {
	margin-top: 0;
}
.myCategory .tmb .t-entry p.t-entry-meta .t-entry-category a {
	font-size: 24px;
	font-family: nexa_blackregular, Helvetica;
	text-transform: lowercase;
	font-weight: normal;
}
.sidePd10 {
	padding: 0 20px;
}
.main-container .row-container .row-parent .column_child.single-internal-gutter .uncont > :not(:first-child).marginTop9,
.main-container .row-container .row-parent .single-internal-gutter .uncont > .marginTop9 {
	margin-top: 9px;
}
.main-container .row-container .row-parent .single-internal-gutter .uncont > .marginTop18 {
	margin-top: 18px;
}

.imgHeight140 .tmb .t-entry-visual a img,
.imgHeight160 .tmb .t-entry-visual a img,
.imgHeight330 .tmb .t-entry-visual a img,
.imgHeight370 .tmb .t-entry-visual a img,
.imgHeight400 .tmb .t-entry-visual a img,
.imgHeight600 .tmb .t-entry-visual a img {
	min-height: inherit;
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	transform: translateY(-50%);
}
@media screen and (max-width: 959px) {
	.imgHeight140 .tmb .t-entry-visual,
	.imgHeight160 .tmb .t-entry-visual {
		height: 250px;
	}
	.imgHeight330 .tmb .t-entry-visual,
	.imgHeight370 .tmb .t-entry-visual,
	.imgHeight400 .tmb .t-entry-visual,
	.imgHeight600 .tmb .t-entry-visual {
		max-height: 500px;
	}
}
@media screen and (min-width: 960px) {
	.imgHeight140 .tmb .t-entry-visual {
		height: 140px;
	}
	.imgHeight140 .tmb .t-entry-visual a {
		min-height: 140px;
	}
	.imgHeight160 .tmb .t-entry-visual {
		height: 160px;
	}
	.imgHeight160 .tmb .t-entry-visual a {
		min-height: 160px;
	}
	.imgHeight330 .tmb .t-entry-visual {
		height: 330px;
	}
	.imgHeight330 .tmb .t-entry-visual a {
		min-height: 330px;
	}
	.imgHeight370 .tmb .t-entry-visual {
		height: 370px;
	}
	.imgHeight370 .tmb .t-entry-visual a {
		min-height: 370px;
	}
	.imgHeight400 .tmb .t-entry-visual {
		height: 400px;
	}
	.imgHeight400 .tmb .t-entry-visual a {
		min-height: 400px;
	}
	.imgHeight600 .tmb .t-entry-visual {
		height: 600px;
	}
	.imgHeight600 .tmb .t-entry-visual a {
		min-height: 600px;
	}	

	.categoryTitlePadding,
	.newsTextPadding .single-block-padding > .t-entry {
		padding: 0 36px;
	}
}

.flyer {
	width: 100vw;
}
.bkgCategoria h3,
.bkgCategoria h4 {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% 100%;
	padding: 5px 15px 20px 15px;
	margin-left: -15px;
}
.bkgRicette h4 {
	background-image: url(../../uploads/2019/10/keyword-gialla.png);
}
.bkgNutrizione h4 {
  background-image: url(../../uploads/2019/10/keyword-orange.png);
}
.bkgLifeStyle h4 {
  background-image: url(../../uploads/2019/10/keyword-lilla.png);
}
.bkgTuttiIFrutti h3,
.bkgTuttiIFrutti h4 {
  background-image: url(../../uploads/2019/10/keyword-green.png);
}
.bkgRicette h4 a:hover,
.bkgNutrizione h4 a:hover,
.bkgLifeStyle h4 a:hover,
.bkgTuttiIFrutti h4 a:hover,
.bkgTuttiIFrutti h3 a:hover {
	color: #ffffff !important;
}

/* news */
/* temporaneo, successivamente da rifare in javascript per adattare il background a seconda della categoria */
.tmb .t-entry-category a{
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% 100%;
	padding: 0px 15px 15px 15px;
	display: block
}
.tmb .t-entry-category.t-nutrizione a {
	background-image: url(../../uploads/2019/10/keyword-orange.png);
}
.tmb .t-entry-category.t-ricette a {
	background-image: url(../../uploads/2019/10/keyword-gialla.png);
}
.tmb .t-entry-category.t-lifestyle a {
	background-image: url(../../uploads/2019/10/keyword-lilla.png);
}
.tmb .t-entry-category.t-frutti a {
	background-image: url(../../uploads/2019/10/keyword-green.png);
}
.tmb .t-entry-category.t-nutrizione a:hover,
.tmb .t-entry-category.t-ricette a:hover,
.tmb .t-entry-category.t-lifestyle a:hover,
.tmb .t-entry-category.t-frutti a:hover {
	color: #ffffff;
}

@media screen and (min-width: 960px) {
	.tmb .t-entry-category a {
		transform: translateX(-15px);
		margin-bottom: 0;
	}
}

/* popup newsletter */
.popupContainer {
	padding: 20px !important;
}
.popupContainer .bkgCategoriaPopup {
	margin-top: 0 !important;
}
.popupContainer .bkgCategoriaPopup h4 {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  padding: 15px 30px 35px 30px;
  text-align: center;
}
.popupContainer input[type="text"],
.popupContainer input[type="email"] {
	width: 100%;
}
.popupContainer input[type="submit"] {
	color: #ffffff;
	background-color: #693d18;
	border: 1px solid #693d18;
	-webkit-transition: color 0.5s, background-color 0.5s;
	-moz-transition: color 0.5s, background-color 0.5s;
	transition: color 0.5s, background-color 0.5s;
}
.popupContainer input[type="submit"]:hover {
	color: #693d18;
	background-color: #ffffff;
}
.popupContainer .bkgCategoriaPopup h4.h6 {
	font-size: 17px;
}
.popupContainer label,
.popupContainer input {
	font-size: 16px;
}

/*aggiunta bottone newsletter al menu*/
.menu-smart.menu-icons.menu-smart-social {
	text-align: center;
	position: relative;
}
.menu-smart.menu-icons.menu-smart-social > li {
	height: auto;
	/*top: 20%;*/
	position: relative;
	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);
	transform: translateY(100%);
}
.menu-smart.menu-icons.menu-smart-social > li.social-210321 {
	/*top: 30%;*/
	display: block;
}
.menu-smart.menu-icons.menu-smart-social > li.social-210321 > p {
	background-color: #FF9300;
	padding: 10px 30px;
	border-radius: 5px;
	cursor: pointer;
	text-transform: uppercase;
	font-weight: bold;
	margin: 0;
	line-height: 1;
	color: #fff;
	font-size: 14px;
	transition: color 0.5s;
}
.menu-smart.menu-icons.menu-smart-social > li.social-210321 > p:hover {
	color: #693d18;
}
.menu-smart.menu-icons.menu-smart-social > li.social-210321 > a {
	display: none !important;
}

/* fix menu per mobile*/
@media screen and (max-width: 1269px) and (min-width: 960px) {
	#main-logo > a > .logo-image {
		height: 68px !important;
	}
	.menu-container .menu-smart {
    padding: 0 20px 0 20px;
	}
	.menu-container ul.menu-smart > li > a:not(.social-menu-link),
	.menu-container:not(.vmenu-container) ul.menu-smart > li > a {
		font-size: 16px;
	}
	body[class*="hmenu"] .menu-icons i:not(.fa-dropdown) {
		font-size: 30px;
	}
	.menu-container .menu-smart > li > a {
    padding: 0px 0px 0px 10px;
	}
	.menu-primary .menu-container .menu-icons.menu-smart > li > a {
    padding: 0 0 0 20px;
	}

	.menu-smart.menu-icons.menu-smart-social > li.social-210321 > p {
		padding: 10px 10px;
		font-size: 10px;
	}
}

@media screen and (min-width: 960px) {
	.desktopHidden {
		display: none !important;
	}
}
@media screen and (max-width: 440px) {
	#main-logo .navbar-brand img {
    width: 240px !important;
    height: auto !important;
	}
}