/*
Theme Name: NX Torneria Bergamini
Theme URI:
Author: Andrea Webmaster
Author URI:
Description: Starter Theme with font Awesome and Bootstrap 4
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, sticky-post, translation-ready
Text Domain: nx

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*.admin-bar .navbar{top: 32px;}*/


/* General
--------------------------------------------------------*/

body{
  display: flex;
  min-height: 100vh;
  flex-direction: column;

  /*font-family: 'Montserrat', sans-serif;*/
}

body.navbar-transparent{padding-top: 0;}

.main-content{
  flex: 1;
}

a {color: #ed1c24;}
a:hover{text-decoration: underline; color:#ed1c24; }

.seo-title{display: none;}


.container, .container-lg, .container-md, .container-sm, .container-xl {
  max-width: 1240px;
}

.bg-danger {
  background-color: #ed1c24 !important; /*ROSSO BERGAMINI*/
}


/* header
--------------------------------------------------------*/

.header{
  padding: 20px;
  background-image: url('img/sf_header.jpg');
  background-repeat: no-repeat;
  background-size: cover;

}

.header .logo-area{
  position: relative;
  float: left;
  width: 390px;
}
.header .logo-area h5{
  position: absolute;
  right: 0;
  bottom: -10px;
  color: #c8c8ca;
  font-size: 3rem;
  font-weight: bold;
}

.header img.logo-az{width: 135px;}

.header .languages{
  float: right;
  padding-top: 100px;

}

.header .languages ul{
  padding: 5px;
  margin: 0;

}
.header .languages ul li{display: inline-block; margin: 0 2px;}

/*.header .languages ul li img{width: 20px; height: auto;}*/
/*temporaneo pagina cataloghi*/
.header .languages ul li img{width: 29px; height: auto;}





@media (max-width: 650px) {

  .header .logo-area{
    float: none;
    width: 100%;
    text-align: center;
  }

  .header .logo-area h5 {
    position: relative;
    right: 0;
    bottom: 0;
    text-align: center;
  }

  .header .languages{
    float: none;
    padding-top: 10px;
    width: 100%;
    text-align: center;

  }

}

/* Navbar
--------------------------------------------------------*/
.navbar {
  padding: 0;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

#bs4navbar ul li{
  border-right: 1px solid #fff;
}

.navbar-dark .navbar-nav .active > .nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show > .nav-link {
  color: #fff;
  background: rgba(255,255,255, 0.3);
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255);
}


@media (max-width: 990px) {

  #navbarNav ul{padding-top: 10px; }
  .navbar {padding-top: 10px; padding-bottom: 10px;}
  .navbar-toggler {margin-left: 10px;}

}


/* Slider (slider Home page)
--------------------------------------------------------*/

.carousel,
.carousel-inner,
.carousel-item { height: 520px; }


/* main-content h1 h3 h5
--------------------------------------------------------*/
.main-content h1{
  font-size: 1.8rem;
	font-weight: bold;
}

.main-content h3{
  font-size: 1.2rem;
	font-weight: bold;
}

.main-content h5{
  font-size: 1rem;
	font-weight: bold;
}


/* Front page
--------------------------------------------------------*/

.link-images-home ul li {list-style: none; margin: 0 0 15px 0;}

/* Cataloghi */
.bergamini-cataloghi{
	padding: 20px;
}


/* Category.php (Prodotti Bergamini)
--------------------------------------------------------*/
.product-area{
  background-color: #f1f1f1;
  padding: 15px;
  margin-bottom: 30px;
}

.technical-sheet{margin: 15px 0 0 0;}



/* Sidebar
--------------------------------------------------------*/
.products-list{
  padding: 15px 15px;

}

.products-list a{color: #666;}
.products-list .active a{color: #ed1c24;}

.Recycling{background-color: #f3cbb6;}
.Industria{background-color: #9dc2f3;}
.Agricoltura{background-color: #c3f3b6;}





/* Form pagina contatti
---------------------------------------------------------------------*/
#wpcf7-f218-o1{margin-top: 10px;}

.form_contatti .your-name input{width: 100%;}

.form_contatti .two_columns p{float: left; width: 49%;}
.form_contatti .two_columns p:first-child{margin-right: 2%;}
.form_contatti .two_columns input{width: 100%;}

.form_contatti textarea {width: 100%; height: 150px;}



.form_contatti ::-webkit-input-placeholder { /* WebKit browsers */
color: #000 !important;
opacity: 1;
}
.form_contatti :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: #000 !important;
opacity: 1;
}
.form_contatti ::-moz-placeholder { /* Mozilla Firefox 19+ */
color: #000 !important;
opacity: 1;
}
.form_contatti :-ms-input-placeholder { /* Internet Explorer 10+ */
color: #000 !important;
opacity: 1;
}

@media (max-width: 770px) {
  .template-contatti .wp-block-column{
    flex-basis:auto;
    width: 100% !important;
  }

  .template-contatti .wp-block-column:nth-child(2n){
    margin-left: 0;
  }
}





/* Footer
--------------------------------------------------------*/
.footer{
  background-color: #777777;
  padding: 20px;
  color: #fff;
}

.footer a{color: #fff;}

.footer .content{
  margin-bottom: 15px;
}


/* Comments
--------------------------------------------------------*/
.comments-title{margin-bottom: 40px;}
.comments{padding-top: 40px;}
.comments textarea{width: 100%;}
.comments label{min-width: 80px;}
.comments ol,
.comments ul{list-style-type: none;}
.comment-author img{border-radius: 999px;}
.comment .reply {border-bottom: 1px solid #ccc; margin-bottom: 30px; padding-bottom: 10px;}



/* Pagination
--------------------------------------------------------*/
.pagination{margin-bottom: 40px;}
.page-numbers{display: inline-block;padding: 10px 15px; border: 1px solid #ddd; margin-right: 4px;}


/*-------------------------------------------------------
Tablet
--------------------------------------------------------*/
@media (max-width:998px){
  .navbar-transparent .bg-primary {background: #333!important;}
  .navbar-social{flex-direction: row;}


}





/*-------------------------------------------------------
SmartPhone
--------------------------------------------------------*/
@media (max-width:767px){

  .slider-big h3{font-size: 40px;}

}





/* General wordpress style
--------------------------------------------------------*/
.post img,
.post .wp-caption{max-width: 100%; height: auto;}


/* Input and textarea
--------------------------------------------------------*/
input,
textarea{padding: 5px 10px; border: 1px solid #ccc;}


/* Widget
--------------------------------------------------------*/
.widget_search .screen-reader-text{display: block;}
.widget_search #s{width: 70%; float: left;}
.widget_search #searchsubmit{width: 30%; float: left; background: #fff;}














/* WordPress Core styles
-------------------------------------------------------------- */

.gallery-caption{padding: 5px;font-size: 10px;}

.bypostauthor{border-left: 3px solid #ddd; padding-left: 20px;}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}
