/*
 Theme Name:   Poultry Plast
 Theme URI:    http://divi.space/
 Description:  Produzione e lavorazione materie plastiche in Italia
 Author:       Inode
 Author URI:   http://www.visualworks.it
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

.maschera-immagine  {
  -webkit-mask-box-image: url('https://www.poultryplast.com/wp-content/uploads/2019/06/mask-mask.svg');
}

.nav li ul {
  width: 100px !important;
}

#top-menu li li a {
    width: 60px !important;
}

#page-container {
  overflow: hidden;
}

#qtip-0 {
  display: none !important;
}

#et-secondary-nav, #et-secondary-nav li {
  display: inline-block;
  float: left !important;
}

.maschera-immagine-destra  {
  -webkit-mask-box-image: url('https://www.poultryplast.com/wp-content/uploads/2019/06/mask-destra-mask.svg');
}

.current-menu-item a {
  color: #E30613 !important;
}

.et_pb_button {
  color: #ffffff;
  padding-left: 50px !important;
  padding-right: 50px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.scarica-catalogo  {
  float: right;
  font-size: 14px;
  font-weight: 500 !important;
}

.scarica-catalogo-interno  {
    float: right;
    margin-top: 20px !important;
    font-size: 14px!important;
    font-weight: 500 !important;
}

.vertical-text  {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fiere-box  {
  width: 50%;
  display: table;
  float: left;
  padding-top: 20px;
  padding-bottom: 20px;
  position: relative;
}

.fiera-data {
  border: 2px solid #E31911;
  border-radius: 200px;
  float: left;
  padding: 10px;
  width: 155px;
  height: 155px;
  text-align: center;
  color: #E30613;
  background-color: #ffffff;
  position: absolute;
  opacity: 1;
}

.fiera-data:hover {
  border: 2px solid #E31911;
  border-radius: 200px;
  float: left;
  padding: 10px;
  width: 155px;
  height: 155px;
  text-align: center;
  color: #E30613;
  background-color: transparent;
  cursor: pointer;
  opacity: 0;
}

.fiera-data-bg {
  border-radius: 200px;
  float: left;
  padding: 10px;
  width: 155px;
  height: 155px;
  text-align: center;
  color: #E30613;
}

.fiera {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
}

.fiera-titolo {
  float: left;
  font-size: 16px;
  text-transform: uppercase;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

.fiera-descrizione {
  float: left;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

.fiera-data b {
  font-size: 48px;
  font-weight: 400;
  display: block;
  clear: both;
  padding-top: 40px;
  padding-bottom: 10px;
}

.entry-title {
  padding-bottom: 50px;
}

.et_pb_post .entry-content {
    padding-top: 0px !important;
}

.et_post_meta_wrapper img {
  float: left;
  width: 40% !important;
  clear: both;
  padding-right: 50px;
  padding-bottom: 50px;
}


.widget_media_image img {
  width: 100% !important;
  padding-right: 10px;
  float: right !important;
}

img.alignleft {
  margin-right: 0px !important;
}

.pswp__bg {
  background: #ffffff !important;
}

.et_shop_image {
  background: url('https://www.poultryplast.com/wp-content/uploads/2019/06/bg-prodotto-1.svg') no-repeat;
}

.woocommerce-product-gallery__wrapper {
  background: url('https://www.poultryplast.com/wp-content/uploads/2019/06/bg-prodotto-1.svg') no-repeat center center;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title  {
  text-align: center !important;
  font-style: 14px !important;
}

.woocommerce-result-count {
  clear: both !important;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

.product .related h2 {
  padding-bottom: 16px;
  font-size: 14px!important;
}

.tag-prodotto {
  float: left;
  width: 100%;
  margin-left: -10px;
  margin-right: 10px;
}

.tablepress caption {
  display: none;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child:before {
  background-color: #e30613 !important;
}


.et_pb_toggle_close .et_pb_toggle_title, .et_pb_toggle_close h5.et_pb_toggle_title {
    color: #e30613;
}

.et_pb_toggle_title:before {
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -.5em;
    color: #e30613;
    font-size: 16px;
    content: "\e050";
}

.gform_button {
  color: #ffffff!important;
  border-width: 0px!important;
  border-radius: 100px  !important;
  letter-spacing: 1px !important;
  font-size: 16px !important;
  text-transform: uppercase!important;
  background-color: #e30613 !important;
}

.woocommerce input.button {
  padding-left: 50px !important;
  padding-right: 50px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.woocommerce input.button:hover  {
  padding-left: 50px !important;
  padding-right: 50px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  background: #e5e5e5 !important;
  color: #e30613 !important;
}

.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
  font-size: inherit;
  font-family: inherit;
  padding: 16px !important;
  letter-spacing: normal;
  border-radius: 5px !important;
  background: #ffffff !important;
  border-color: #afafaf !important;
}

.textarea  {
  border-radius: 5px !important;
}

.mapsvg-controller-view-content {
  line-height: 16px !important;
}

.member-footer {
  margin-bottom: 20px !important;
}

.widget-poultry {
  margin-bottom: 20px !important;
}

.widget-poultry img {
  max-width: 70% !important;
  float: left !important;
}

.holding-footer {
  max-width: 80% !important;
}

@media (max-width:1024px ) and (min-width : 768px){
  .testo-modificato {
    max-height: 200px;
  }

  .riga-modificata {
    margin-bottom: 100px !important;
  }

  .riga-modificata2 {
    margin-bottom: 200px !important;
  }
}

@media (max-width:980px) {

  .et_post_meta_wrapper img {
    float: none;
    width: 100% !important;
    clear: both;
    padding-right: 50px;
    padding-bottom: 50px;
  }

	.reverse-columns-mobile {
		display: flex;
		flex-direction: column-reverse;
	}

  .fiere-box  {
    width: 100%;
    float: left;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .fiera-data {
    border: 2px solid #E31911;
    border-radius: 200px;
    float: left;
    padding: 0px;
    width: 110px;
    height: 110px;
    text-align: center;
    color: #E30613;
  }

  .fiera-data:hover {
    border: 2px solid #E31911;
    border-radius: 200px;
    float: left;
    padding: 0px;
    width: 110px;
    height: 110px;
    text-align: center;
    color: #E30613;
    background-color: transparent;
    cursor: pointer;
    opacity: 0;
  }

  .fiera-data-bg {
    border-radius: 200px;
    float: left;
    padding: 0px;
    width: 110px;
    height: 110px;
    text-align: center;
    color: #E30613;
  }

  .fiera {
    display: block;
    vertical-align: bottom;
    width: 100%;
  }

  .fiera-titolo {
    float: left;
    font-size: 14px;
    text-transform: uppercase;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px;
  }

  .fiera-descrizione {
    float: left;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .fiera-data b {
    font-size: 28px;
    font-weight: 400;
    display: block;
    clear: both;
    padding-top: 30px;
    padding-bottom: 0px;
  }

}

/* Blog news */

/*Position the posts and remove margin*/

.ds-advent-18 .et_pb_post {
 position: relative;
 float: left;
 margin-bottom: 0;
 cursor: default;
}

/*Set the widths and floats for the alternating posts on desktop*/

@media all and (min-width: 981px) {
 /*Set posts to quarter width*/
 .ds-advent-18 .et_pb_post {
 width: 25%;
 }
 /*Set every fifth post to half width starting at the first post*/
 .ds-advent-18 .et_pb_post:nth-of-type(5n+1) {
 width: 25%;
 }
 .ds-advent-18 .et_pb_post:nth-of-type(5n+1) img {
 min-width: 100%;
 }
 /*Set every tenth post to float right starting at the sixth post*/
 .ds-advent-18 .et_pb_post:nth-of-type(10n+6) {
 //float: right;
 }
}


/*Resize posts for smaller screens*/

@media all and (max-width: 980px) {
 /*Set all posts to half width*/
 .ds-advent-18 .et_pb_post {
 width: 100%;
 }
}

@media all and (max-width: 479px) {
 /*Set all posts to full width*/
     .ds-advent-18 .et_pb_post {
     width: 100%;
     }

    #tablepress-1 {
        font-size: 10px !important;
        margin-left: -15px;
    }

}

@media all and (max-width: 320px) {
    /*Set all posts to full width*/
    .ds-advent-18 .et_pb_post {
        width: 100%;
    }

    #tablepress-1 {
        font-size: 10px !important;
        margin-left: -35px;
    }

}


/*Remove image margin*/

.ds-advent-18 .entry-featured-image-url {
 margin-bottom: 0;
}


/*Add the gradient overlay*/

.ds-advent-18 .entry-featured-image-url:after {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(1%, rgba(0, 0, 0, 0.01)), to(rgba(0, 0, 0, 1)));
 background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.01) 1%, rgba(0, 0, 0, 1) 100%);
}


/*Position the title*/

.ds-advent-18 .entry-title {
 position: absolute;
 z-index: 1;
 bottom: 0;
 left: 0;
 width: 100%;
 padding: 10px 20px 20px;
 -webkit-transition: all .5s ease;
 transition: all .5s ease;
}


/*Position the excerpt and read more*/

.ds-advent-18 .post-content {
 position: absolute;
 z-index: 0;
 display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
 -webkit-box-orient: vertical;
 -webkit-box-direction: normal;
 -ms-flex-direction: column;
 flex-direction: column;
 -webkit-box-pack: end;
 -ms-flex-pack: end;
 justify-content: flex-end;
 bottom: 0;
 padding: 20px;
 opacity: 0;
 -webkit-transition: all .5s ease;
 transition: all .5s ease;
}


/*For IE11 - Prevent text overflow*/

.ds-advent-18 .post-content p {
 display: block;
}


/*Style the read more*/

.ds-advent-18 a.more-link {
 display: block;
 clear: both;
 text-transform: uppercase;
 color: #ffffff;
 background: #E30613;
 border-radius: 100px;
 width: 190px;
 padding-left: 40px;
 padding-right: 40px;
 padding-top: 10px;
 padding-bottom: 10px;
 text-align: center;
 margin-top: 10px;
}


/*Switch content on hover*/

.ds-advent-18 .et_pb_post:hover .entry-title {
 opacity: 0;
 z-index: 0;
}

.ds-advent-18 .et_pb_post:hover .post-content {
 opacity: 1;
 z-index: 1;
 display: block;
}

/*If you are using pagination*/

.ds-advent-18 .pagination {
 padding: 0px;
}

/* End Blog news */

.pr-dett-table td{
    border-top: 1px solid #dadada !important;
}

.pr-dett-table h2 {
    font-size: 12px!important;
}

.product_meta_custom {
    padding-top: 6px;
    border-bottom: 1px solid #dadada;
    color: #666;
    font-size: 14px;
}

#select2-product_cat-container .select2-selection__clear{
    display: none !important;
}

.ino_titolo_filtro{
    color: #666;
    font-size: 13px;
}

#tablepress-1 {
    font-size: 15px;
}

#tablepress-1 tr {

}

#tablepress-1 th {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding-left: 5px !important;
    text-align: center;
}

#tablepress-1 td {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding-left: 5px !important;
    text-align: center;
}

.woocommerce-product-attributes-item__value {
    color: #e30613;
}

.ino_form_eddy {
    color: #292f6d !important;
}

.hd_arabia_logo {
    float: left;
}

.hd_arabia_txt {
    float: right;
    margin-top: 15px !important;
}

.ft_arabia{
    background-color: #292f6d !important;
    margin-bottom: 25px;
    float: left;
    width: 100%;
}

.ft_arabia h4{
    color: #fff !important;
}

.ft_arabia_SX{
    padding-left: 20px;
}

.ft_arabia_button {
    background-color: #292f6d;
    color: #ffffff !important;
    border-width: 0px!important;
    border-radius: 50px;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.ft_arabia_button:hover {
    background-color: #e30613;
}
