@import url("https://fonts.googleapis.com/css?family=Montserrat:400,700,900");

@font-face {
  font-family: fontRegolare;
  src: url(font/Montserrat-Regular.ttf);
}

@font-face {
  font-family: fontBolder;
  src: url(font/Montserrat-ExtraBold.ttf);
}

@font-face {
  font-family: fontMedio;
  src: url(font/Montserrat-Medium.ttf);
}

body {
  /* font-family: Montserrats; QUESTO E' PRESO DA @IMPORT URL*/
  font-family: fontRegolare; /*QUESTO E' PRESO DA @FONT-FACE*/
  line-height: 1.4;
}

strong {
  font-family: fontBolder; /*QUESTO E' PRESO DA @FONT-FACE*/
}
.container {
  max-width: 980px;
  margin: auto;
  padding: 0 7px;
}
.footer {
	max-width: 980px;
	margin-top: 20px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: auto;
	padding-top: auto;
	padding-right: auto;
	padding-left: auto;
	padding-bottom: 70px;
	bottom: 0px;
	background-color: #BDB76B;
	/* column-break-before
	column-width: 400px;
	column-gap: 10px; */
    display: flex;
	justify-content: center;
    align-items: center;
}
.info {
	/* [disabled]border: medium solid #FF0004; */
	margin-left: 20px;
	margin-right: 20px;
	margin-top: 30px;
	/* [disabled]text-align: center; */
}
.info ul li{
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
	list-style-type: none;
}
.info a{
	color: #FFFFFF;
	text-decoration: none;
}
.logo {
  display: block;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0px;
  min-width: 150px;
  max-width: 500px;
  max-height: 150px;
}
b {
  background-color: #FFEB3B;
  font-style:: normal;
  padding: .1em .2em;
}
.news-item {
  margin: 20px 0;
}
.news-item h2 {
  margin-top: 5px;
}
.selectDiv {
	margin-top: 10px;
	background-color: #BDB76B;
	display: flex;
	padding: 10px;
	vertical-align: middle;
	border-radius: 8px;
}
.categoria {
	color: #000;
	text-decoration: none;
	display: inline;
	flex-wrap: wrap;
	margin-right: 20px;
	/* [disabled]border-left: 5px solid #2BB778; */
	padding-left: 3px;
}
.categoria:hover{
	text-decoration: none;
	border-bottom: thin solid #BDB76B;
}
.form-select {
	display: inline;
	width: 100;
	padding: 0.375rem 2.25rem 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #402B2B;
	background-color: #F5F5F5;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23616161' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 16px 12px;
	border: 1px solid #E0E0E0;
	border-radius: 0.5rem;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
.testo { /* .selectDiv  */
	display: inline;
	padding: 0.375rem 2.25rem 0.375rem 0.75rem;
}
.news-item .flex {
  color: #000;
  text-decoration: none;
  display: flex;
  flex-wrap: wrap;
}
.news-item .thumbnail {
  flex: 1;
  margin-right: 20px;
  margin-bottom: 20px;
  min-width: 150px;
  max-width: 250px;
  max-height: 150px;
}
.news-item .thumbnail img {
  vertical-align: middle;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.news-item .text {
  flex: 2;
  min-width: 18em;
}

/***** DETTAGLIO *********/

h2 {
  font-family: fontMedio;
}

.imgDett {
  max-width: 100%;
  width: auto;
  height: auto;
}

.hentry {
	/* [disabled]max-width: 46em; */
	max-width: 980px;
	margin: auto;
}

.entry-title {
  font-family: fontBolder;
  grid-area: header;
  text-transform: uppercase;
  margin: 1em 0 0.5em;
  line-height: 1;
}

.featured-image {
	grid-area: featimg;
	width: auto;
	height: 500px;
	position: relative;
}

.featured-image .box {
	left: 10px;
	bottom: 10px;
	position: absolute;
}

.box img {
	height: 60px;
	margin-right: 5px;
	bottom: 10px;
	display: inline-block;
	border: 1px solid #BDB76B; 
}

.entry-meta {
  grid-area: meta;
  margin-bottom: 2em;
}

.entry-content {
  grid-area: content;
}

.entry-footer {
  grid-area: footer;
  text-align: right;
  border-top: 1px solid #777;
  margin-top: 1em;
}

.author, .date {
  color: #777;
}

.author + .date:before {
  content: " | ";
}

.author a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
}
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	background-color: #FFFEFE;
	background-clip: border-box;
	border: 1px solid rgba(0, 0, 0, 0.125);
	border-radius: 0.5rem;
}
.row {
	list-style-type: none;
	border-bottom: 1px solid rgba(0, 0, 0, 0.125);
	padding: 10px;
}

/* CARD HOME PAGE */

.news-card {
	margin-top: 20px;
	margin-right: 0;
	margin-left: 5px;
	margin-bottom: 0;
	display: inline-block;
}

  .card--recipe {
  position: relative;
  width: 300px;
  height: 450px;
  border-radius: 12px;
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.04), 0 7px 18px 0 rgba(0, 0, 0, 0.05), 0 12px 24px 0 rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s ease;
  cursor: pointer;
}
.card--recipe__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  -o-object-fit: cover;
     object-fit: cover;
}
.card--recipe::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  top: 50%;
  right: 0;
  background: black;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 100%);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 2;
  content: "";
}
.card--recipe__play {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  top: calc(40% - 25px);
  /* left: calc(50% - 23px);
  border-radius: 50%;
  background: white;
  width: 50px;
  height: 50px; */
}
.card--recipe__play img {
  width: 30%;
}
.card--recipe__content {
  position: absolute;
  bottom: 0;
  left: 0;
  box-sizing: border-box;
  padding: 26px 26px 34px 26px;
  width: 100%;
  z-index: 3;
}
.card--recipe__title {
  color: white;
  font-size: 27px;
  margin: 0;
  font-weight: 900;
  margin-bottom: 8px;
}
.card--recipe__labels {
  margin: 0;
  padding: 0;
  list-style: none;
}
.card--recipe__label-category, .card--recipe__label {
  border-radius: 3px;
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
}
.card--recipe__label-category {
  background: #BDB76B;
}
.card--recipe.is--playing video {
  opacity: 1;
}
.card--recipe[data-tilt] {
  transform-style: preserve-3d;
}
.card--recipe[data-tilt] .card--recipe__play {
  transform: translateZ(20px);
}
.card--recipe[data-tilt] .card--recipe__content {
  transform: translateZ(20px);
}


/***** DETTAGLIO *********/

input[type=text] {
	width: 100%;
	padding:: 12px 20px;
	margin: 8px 0;
	box-sizing: border-box;
	height: 40px;
	font-size: large;
}

textarea {
	width: 100%;
	padding:: 12px 20px;
	margin: 8px 0;
	box-sizing: border-box;
	height: 100px;
	font-size: large;
}

.bottone-submit {
	background-color: #4CAF50;
	color: #FFFFFF;
	border: 2px solid #4CAF50;
	transition-duration: 0.8s;
	cursor: pointer;
	padding: 10px;
}

.bottone-submit:hover {
	background-color: #98F19B;
	color: #FFFFFF;
	border: 2px solid #98F19B;
}

.bottone-submit-pdf {
	background-color: #FFB600;
	color: #FFFFFF;
	border: 2px solid #FFB600;
	transition-duration: 0.8s;
	cursor: pointer;
	padding: 10px;
	right: 20px;
	top: 20px;
	position: absolute;
}

.bottone-submit-pdf:hover {
	background-color: #FFDE8D;
	color: #000000;
	border: 2px solid #FFDE8D;
}

/* DATI @MEDIA */

@media(min-width: 1200px){
	/* struttura grandi schermi */
	.info {
	width: 50%;
	}	
}

@media(max-width: 767px){
	/* struttura smartphone < 767 */
	.footer {
		display: grid;
	}
	
	.card--recipe {
		position: relative;
		width: 200px;
		height: 350px;
	}
	
	.card--recipe__title {
		font-size: 20px;
	}
	
}


@media (min-width: 40em) {
  .hentry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 20px;
    grid-template-areas: "header header header header" "meta meta meta meta" "featimg featimg featimg featimg" "content content content content" "footer footer footer footer";
  }

  .entry-title {
    font-size: 2.5em;
    margin-bottom: 0;
  }
    
}

@media (min-width: 50em) {
  .hentry {
    grid-template-areas: "header header header header" "featimg featimg featimg featimg" "meta content content content" "footer footer footer footer";
  }

  .author, .date {
    display: block;
    margin: 1em 0;
  }

  .author + .date:before {
    display: none;
  }

  .entry-title {
    font-size: 3m;
    margin-bottom: 0.7em;
  }
  
}
