/**
 * Note that these styles are loaded *before* editor styles, so that
 * editor-specific styles using the same selectors will take precedence.
 */
.wp-block-gutenberg-examples-example-05-recipe-card-esnext .recipe-image {
	background: #f1f1f1;
	float: right;
	width: 50%;
	min-height: 100px;
	text-align: center;
}

.wp-block-gutenberg-examples-example-05-recipe-card-esnext .recipe-image button {
	margin-top: 30px;
}

.wp-block-gutenberg-examples-example-05-recipe-card-esnext .recipe-image button.image-button {
	margin: 0;
	padding: 0;
	display: block;
}

.wp-block-gutenberg-examples-example-05-recipe-card-esnext .recipe-image img {
	display: block;
	z-index: 1;
	position: relative;
}

.wp-block-gutenberg-examples-example-05-recipe-card-esnext h2 {
	font-size: 1.5em;
}

.wp-block-gutenberg-examples-example-05-recipe-card-esnext ul {
	padding-left: 2.5em !important; /* Needs fix in Gutenberg. */
}

.wp-block-gutenberg-examples-example-05-recipe-card-esnext:after { 
	content:""; 
	clear:both; 
	display: table; 
}

.card a.read-more {
    position: unset !important;
}

.card .card-body .category-top {
    margin-bottom: 0px !important;
    color: #b22222 !important;
}

.panel-heading {
    padding: 0;
      border:0;
}

.panel-title>span, .panel-title>span:active{
    display:block;
    padding:15px;
    font-size:16px;
    font-weight:bold;
    text-transform:uppercase;
    letter-spacing:1px;
    word-spacing:3px;
    text-decoration:none;
}
.panel-heading  span:before {
    font-family: "italia-icon-font";
    content: "\e818";
    float: right;
    transition: all 0.5s;
}

span:before {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    transform: rotate(180deg);
} 

span.collapsed:before {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      transform: rotate(0deg);
}

.collapse::marker{
    content: none;
}

#pagina-dettaglio-testo .widget_sub_section_widget a{
    text-decoration: none;
}

.archive_block.widget_sub_section_widget {
    margin-left: 0px;
    margin-right: 0px;
    padding-bottom: 40px;
}



@media (max-width: 576px){
	.container > .archive_block.widget_sub_section_widget {
		padding-left: 0%;
		padding-right: 0%;
	}

	.container .accordion{
		padding-left: 0%;
		padding-right: 0%;
	}
}


.main-search-box{
    display: flex;
    padding-bottom: 10px;
}

.searchandfilter .main-search-box input[type="text"] {
    height: 100%;
    min-height: 48px;
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / 20%);

}

.searchandfilter .content-types{
    padding-bottom: 0px;
}

.searchandfilter .content-types .btn-filter{
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.searchandfilter .content-types .btn-filter button{
    margin-left: 8px;
    margin-right: 8px;
    margin-bottom: 25px;
    padding: 0.5rem;
    background-color: white;
    color: #c9272e;
    border: 2px solid #c9272e;
    border-radius: 20px;
    font-weight: 500;
    padding: 0.5rem;
    font-size: 0.8rem;
    display: flex;
    line-height: 0.8rem;
}

.searchandfilter .content-types .btn-filter button:focus{
  outline-width: 0px;
  box-shadow: none;
}

.searchandfilter .content-types .btn-filter button span{
  margin-top: auto;
  margin-bottom: auto;
}

.searchandfilter .content-types .btn-filter button.active{
    margin-left: auto;
    margin-right: auto;
    background-color: #c9272e;
    color: white;
    font-weight: 500;
}

.searchandfilter .content-types input[type="checkbox"] {
    width: 0;
}

.searchandfilter .accordion input[type="submit"] {
    margin-left: auto;
    margin-right: auto;
}

.searchandfilter .main-search-box input[type="submit"] {
    background-color: #b22222;
    background-image: url('../img/ic_search.svg');
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0;
    height: 48px;
    width: 48px;
    margin-left: 0px;
    text-indent: -99999px;
}

.searchandfilter .advanced-search{
  padding-top: 20px;
  padding-bottom: 20px;
}

.searchandfilter .advanced-search .option-group{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

/* Customize the label (the container) */
.container-check {
    display: inline-flex;;
    position: relative;
    padding-left: 35px;
    padding-right: 15px;
    margin-bottom: 12px;
    font-size: 16px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* Hide the browser's default checkbox */
  .container-check input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: white;
    outline: 2px solid #c9272e;
  }
  
  /* On mouse-over, add a grey background color */
  .container-check:hover input ~ .checkmark {
    background-color: #b22222;
  }
  
  /* When the checkbox is checked, add a blue background */
  .container-check input:checked ~ .checkmark {
    background-color: white;
    outline: 2px solid #c9272e;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .container-check input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .container-check .checkmark:after {
    left: 9px;
    top: 5px;
    width: 8px;
    height: 13px;
    border: solid #c9272e;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }


  .wp-core-ui select[multiple] {
    height: auto !important;
  }

  .components-base-control__help{
    font-style: italic !important;
  }