/*
Theme Name: ilfriuli
Theme URI: https://www.rubidia.it
Author: Rubidia
Author URI: https://www.rubidia.it
Description: ilfriuli theme
Version: 1.0
Template: soledad
Text Domain: soledad
Tags: news, friulano 
*/


/* GLOBAL */

@media only screen and (min-width: 768px) {
   div.container.penci_sidebar.right-sidebar {
      width: auto;
      max-width: 1280px;
      padding-left: 10px;
      padding-right: 10px;

   }
   div.container.penci_sidebar.right-sidebar #main {
      width: 73% !important;
   }
   div.container.penci_sidebar.right-sidebar #sidebar {
      width: 27% !important;
   }
}

@media only screen and (max-width: 768px) {
   div.container.penci_sidebar.right-sidebar {
      padding-top: 20px;
      padding-left: 20px;
      padding-right: 20px;
   }
}

h3 {
   font-weight: normal;
}


/* HEADER */

div.penci-header-wrap.pc-wrapbuilder-header {
   margin-bottom: 25px;
}

div.searchable-select-box {
   width: 200px;
}

div.comune-terms-list {
   width: 200px;
   max-height: 185px;
   position: absolute;
   z-index: 1000;
}

@media only screen and (max-width: 768px) {
   div.searchable-select-box, div.comune-terms-list {
      width: 100%;
   }
   div.comune-terms-list {
      max-height: 190px;
   }  
}

.searchable-select-box input {
   width: 100%;
   height: 35px;
   font-size: 15px;
   padding-left: 10px;
   padding-top: 12px;
   -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
   -moz-box-sizing: border-box; /* Firefox, other Gecko */
   box-sizing: border-box; /* Opera/IE 8+ */
   display: block;
   font-weight: 500;
   color: #275894;
   background-color: #ffdd18;
   background-clip: padding-box;
   border: 0;
   border-radius: 0;
}
.searchable-select-box input:focus {
   outline-width: 0;
}

.searchable-select-box ::placeholder {
   color: #275894;
   opacity: 1;
}

.icon-rtl {
   /* background: url("https://static.thenounproject.com/png/101791-200.png") no-repeat 170px; */
   background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath fill='blue' d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'%3E%3C/path%3E%3C/svg%3E") no-repeat 170px;
   background-size: 16px;
}
@media only screen and (max-width: 768px) {
   .icon-rtl {
      /* background: url("https://static.thenounproject.com/png/101791-200.png") no-repeat 250px; */
   background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath fill='blue' d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'%3E%3C/path%3E%3C/svg%3E") no-repeat 250px;
   }
}

.searchable-select-box ul {
   display: none;
   list-style-type: none;
   background-color: #275894;
   border-radius: 0;
   border: 0;
   max-height: 185px;
   max-width: 100%;
   overflow-y: scroll;
   overflow-x: hidden;
   margin-top: 1px;
   padding: 0;
}
@media only screen and (max-width: 768px) {
   .searchable-select-box ul {
      max-height: 190px;
      max-width: 88%;
   }
}

.searchable-select-box ul li {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 16px;
   padding: 9px 0 9px 10px;
   border-bottom: 0.05rem solid #fff;
   cursor: pointer;
   color: #fff;
}

.searchable-select-box ul li.selected {
   background-color: #ffdd18;
   color: #275894;
}


/* HOME */

@media only screen and (max-width: 768px) {
   #ifr-home-flash-primo-piano .elementor-widget-container {
      border-style: none !important;
      background-color: transparent!important;
   }
   #ifr-primo-piano-bottom {
      margin-top: 20px !important;
   }
}

#home-focus-slider {
   padding: 15px;
   background-color: #275894;
}
#home-focus-slider h3 {
   color: #fff;
}
#home-focus-slider h3:hover {
   color: #ffdd18;
}
#home-focus-slider a {
   color: #fff;
}#home-focus-slider a:hover {
   color: #ffdd18;
}
#home-focus-slider .entry-date {
   color: #fff;
}


/* PAGES */

div.penci-page-header h1 {
   text-align: left !important;
}


/* Page - Business FVG */

@media only screen and (max-width: 768px) {
   #mp_form_below_posts1 {
      margin-top: 15px;
      padding: 0 10px;
   }
}

/* Hide newsletters in MailPoet archive */
.mailpoet_archive li {
  display: none;
}

/* Display just the 5 most recent ones */ 
.mailpoet_archive li:nth-of-type(1),
.mailpoet_archive li:nth-of-type(2),
.mailpoet_archive li:nth-of-type(3),
.mailpoet_archive li:nth-of-type(4),
.mailpoet_archive li:nth-of-type(5),
.mailpoet_archive li:nth-of-type(6),
.mailpoet_archive li:nth-of-type(7),
.mailpoet_archive li:nth-of-type(8),
.mailpoet_archive li:nth-of-type(9),
.mailpoet_archive li:nth-of-type(10),
.mailpoet_archive li:nth-of-type(11),
.mailpoet_archive li:nth-of-type(12),
.mailpoet_archive li:nth-of-type(13),
.mailpoet_archive li:nth-of-type(14),
.mailpoet_archive li:nth-of-type(15) {
  display: list-item;
}


/* POSTS */

.penci-single-block a.penci-cat-name {
   font-weight: bold;
}

.post-box-title {
   text-transform: none;
}

#ifr-occhiello {
   margin-top: 10px;
   margin-bottom: 5px;
   
}
#ifr-sommario {
	margin-top: 5px;
   margin-bottom: 10px;
}

.post-image {
   text-align: left;
}
.post-image img {
   width: auto;
   height: auto;
}

#ifr-old-text, #ifr-old-text iframe {
   max-width: 100%;
}

#ifr-old-gallery br {
   display: none;
}
#ifr-old-gallery a img {
	height: 120px;
	width: auto;
	margin-right: 15px;
   margin-bottom:15px;
}


/* ARCHIVES */

.archive-box .title-bar {
	text-align: left;
}
.archive-box .title-bar span {
	text-transform: none;
}

.header-list-style .grid-post-box-meta {
   font-size: 14px;
   padding-bottom: 20px;
}
.header-list-style .grid-post-box-meta::after {
   content: "";
   width: 70px;
   height: 1px;
   background: #275894;
   display: block;
   bottom: 0;
   left: 0;
   position: absolute;
}

body.author .post-author {
   display: none;
}


/* SIDEBARS */

#ifr-search-box h2 {
   font-size: 20px;
   margin-bottom: 20px;
}
#ifr-search-box input, #ifr-search-box select {
   margin-right: 3px;
   padding-left: 5px;
   border-color: #bad9f8;
   background-color: aliceblue;
}
#ifr-search-box select {
   max-height: 38px;
}
#ifr-search-box button {
   max-height: 38px;
   max-width: 65px;
   padding: 10px;
}
@media only screen and (max-width: 768px) {
   #ifr-search-box button, #ifr-search-box select {
      max-height: 41px;
   }
}