/*
Theme Name: Beriozza Lattoneria Srl
Theme URI:
Author: Claudio Nasuelli
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: one-column, 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 .fixed-top{top:30px}

body{
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding-top: 76px;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  /*font-family: 'Open Sans Condensed', 'Open Sans Condensed', sans-serif;*/
  /*font-family:'Playfair Display',Georgia,"Times New Roman",serif;*/
}


.main-content{
  flex:1;
}

h1,h2,h3,h4,h5,h6{padding-top: 20px; color: #432916;}

.seo-title{position: absolute; top:-1000px;}

a{color:#432916;}
a:hover{color: #c9b99d;}

.h100{height:91vh!important;}

.video-home{min-height: 800px;}

/*  FOOTER */
.bg-dark {
  background: rgb(44,113,62);
  background: -moz-linear-gradient(99deg, rgba(44,113,62,1) 44%, rgba(39,156,69,1) 100%);
  background: -webkit-linear-gradient(99deg, rgba(44,113,62,1) 44%, rgba(39,156,69,1) 100%);
  background: linear-gradient(99deg, rgba(44,113,62,1) 44%, rgba(39,156,69,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2c713e",endColorstr="#279c45",GradientType=1); 
  }
  
  .footer-testi {color:#fff;}
  .footer-testi a{color:#fff;}
  .footer-testi a:hover{color:#cbad71; text-decoration: underline;}
  

.giustificato {
    text-align: justify !important;
}

.btn-primary {color: #caba9e; background-color: #432916;border-color:#b69d39;}

.bg-light{background: #fff!important; box-shadow: 0 5px 30px rgba(0, 0, 0, 0.58);}

.navbar-brand img{height: 73px;}

img {height: auto;}

/* Colori pulsanti del menu
-------------------------------------------------------- */

.navbar-light .navbar-nav .nav-link { 
  color: #2c713e;  
  padding: 5px 6px;
  margin-left: 3px;
  border-radius: 4px;
  line-height: 48px;
  display: inline-block;
  font-weight:bold;
  font-size:16px;
  text-transform: uppercase;  
  }
  

.navbar-light .navbar-nav .nav-link:hover{color: #b69d39;}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
 color:#b69d39;
}



/* TOGGLE MENU SITO*/

.navbar-light .navbar-toggler {
 color:#fff;
 border-color:#fff;
}

.navbar-light .navbar-toggler-icon {
 background-image:url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(67, 41, 22, 1)' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")
}

.navbar-toggler-icon {
width: 33px;

}

/*ACCORDION */
.scopridipiu h4 {
    font-size: 1.25em;
    color: #432916;
    font-weight: bolder;
    background: #caba9e;
    padding: 16px;
}

.titolo-interno  {
  font-size: 18px!important;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
  color: #007338;
  font-family: "Poppins", sans-serif;
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.58);
}

.arrotondiamo img{border-radius: 30px!important;}

.titolo-interno ::after {
  content: "";
  width: 120px;
  height: 3px;
  display: inline-block;
  margin: 4px 10px;
  background: rgb(27,133,65);
  background: -moz-linear-gradient(90deg, rgba(27,133,65,1) 0%, rgba(27,133,65,1) 33%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(238,31,39,1) 66%, rgba(238,31,39,1) 100%);
  background: -webkit-linear-gradient(90deg, rgba(27,133,65,1) 0%, rgba(27,133,65,1) 33%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(238,31,39,1) 66%, rgba(238,31,39,1) 100%);
  background: linear-gradient(90deg, rgba(27,133,65,1) 0%, rgba(27,133,65,1) 33%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(238,31,39,1) 66%, rgba(238,31,39,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1b8541",endColorstr="#ee1f27",GradientType=1);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.58);
}

/* COLORI TITOLI HOME page
____________________________________ */
.beriozza-title  {
  font-size: 14px!important;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
  color: #007338;
  font-family: "Poppins", sans-serif;
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.58);
}

.beriozza-title ::after {
  content: "";
  width: 120px;
  height: 3px;
  display: inline-block;
  margin: 4px 10px;
  background: rgb(27,133,65);
  background: -moz-linear-gradient(90deg, rgba(27,133,65,1) 0%, rgba(27,133,65,1) 33%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(238,31,39,1) 66%, rgba(238,31,39,1) 100%);
  background: -webkit-linear-gradient(90deg, rgba(27,133,65,1) 0%, rgba(27,133,65,1) 33%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(238,31,39,1) 66%, rgba(238,31,39,1) 100%);
  background: linear-gradient(90deg, rgba(27,133,65,1) 0%, rgba(27,133,65,1) 33%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(238,31,39,1) 66%, rgba(238,31,39,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1b8541",endColorstr="#ee1f27",GradientType=1);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.58);
}

.servizio-title ::after {
  content: "";
  width: 120px;
  height: 3px;
  display: inline-block;
  margin: 4px 10px;
  background: rgb(27,133,65);
  background: -moz-linear-gradient(90deg, rgba(27,133,65,1) 0%, rgba(27,133,65,1) 33%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(238,31,39,1) 66%, rgba(238,31,39,1) 100%);
  background: -webkit-linear-gradient(90deg, rgba(27,133,65,1) 0%, rgba(27,133,65,1) 33%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(238,31,39,1) 66%, rgba(238,31,39,1) 100%);
  background: linear-gradient(90deg, rgba(27,133,65,1) 0%, rgba(27,133,65,1) 33%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(238,31,39,1) 66%, rgba(238,31,39,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1b8541",endColorstr="#ee1f27",GradientType=1);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.58);
}


.section-title {
    margin: 0;
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    color: #007338;
}




/* Colori titoli pagine
-------------------------------------------------------- */
.display-4 {
  margin: 0;
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #007338;
}

/* Colori pulsante
-------------------------------------------------------- */

.btn-primary:hover {
 color:#432916;
 background-color:#caba9e;
 border-color:#432916;
}

.lunettadivisoria{
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDBweCIgdmlld0JveD0iMCAwIDEyODAgMTQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNmZmZmZmYiPjxwYXRoIGQ9Ik03MjUuMjkgMTAxLjJDMzI1LjIyIDEyMi40OCAwIDAgMCAwdjE0MGgxMjgwVjBzLTE1NC42NCA3OS45Mi01NTQuNzEgMTAxLjJ6IiBmaWxsLW9wYWNpdHk9Ii4zIi8+PHBhdGggZD0iTTU1Ni40NSAxMTkuNzRDOTUzLjQxIDE0MCAxMjgwIDE0IDEyODAgMTR2MTI2SDBWMHMxNTkuNSA5OS40OCA1NTYuNDUgMTE5Ljc0eiIgZmlsbC1vcGFjaXR5PSIuNSIvPjxwYXRoIGQ9Ik02NDAgMTQwYzM1My40NiAwIDY0MC0xNDAgNjQwLTEzOXYxNDBIMFYwczI4Ni41NCAxNDAgNjQwIDE0MHoiLz48L2c+PC9zdmc+);
background-size: 100% 100px;
bottom: 0;
height: 100px;
z-index: 10;
}

/* Colori icona email*/
i.fa.icnmassi {font-size:22px;transition: 0.7s;width: 45px;height: 45px;line-height: 45px;color: #fff;background:#432916;margin-right: 15px;text-align: center;border-radius: 9999px;float: left;}
i.fa.icnmassi:hover {transition: 0.7s;color: #fff;background:#caba9e; color: #432916;}

/* Gutenberg
-------------------------------------------------------- */
.wp-block-cover{margin-bottom: 20px;}

@media (min-width: 768px) {
  .min-height{height: 600px; margin: 100px 0!important}
  .min-height .wp-block-media-text__media img{height: 600px; object-fit: cover;}
}



.max-width{max-width: 800px;margin: 0 auto}


.wp-block-columns h3{font-size: 32px;margin-bottom: 20px;}
.wp-block-columns h2{margin-bottom: 20px;}
.wp-block-columns li{font-size: 18px;margin-bottom: 8px;}

.wp-block-image{margin-bottom: 20px!important;}

.mt-big{margin-top: 100px}
.mb-big{margin-bottom: 100px}

.mt-cover{margin-top: -23px}

.wpcf7-submit{padding: 15px 40px; display: inline-block;background: #4f9c4a; color: #fff;}

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

  /* ICONE IN SEZIONE CONTATTI
--------------------------------------------------*/

i.fa.icnmassi {font-size:22px;transition: 0.7s;width: 45px;height: 45px;line-height: 45px;color: #fff;background:#2c713e;;margin-right: 15px;text-align: center;border-radius: 9999px;float: left;}
i.fa.icnmassi:hover {transition: 0.7s;color: #fff;background:#279a45;}

.contatti-mobile a{color: #2c713e;}
.contatti-mobile a:hover{color: #279a45;}

#hide{display:none;margin-left:24px;}

/* TASTO MORE */
.more-link span {
    display: none !important;
}

/* CONTACT FORM 7 100% width
------------------------------------------------ */
textarea {width: 100%;}
.wpcf7-list-item-label input{padding-left: 9px;}
.wpcf7-email{width:100% !important;}
span.wpcf7-form-control-wrap:nth-child(2) > input:nth-child(1){width:100% !important;}

/*.wpcf7-submit {width:100px;margin-left: 15px;}*/
.wpcf7-submit {width:100px;margin-left: 15px;color:#fff;text-transform: uppercase;font-size: 13px;font-weight: 510;padding: 10px 15px;background: #2c713e;transition: 0.7s;}
.wpcf7-submit:hover {width:100px;margin-left: 15px;color:#fff;text-transform: uppercase;font-size: 13px;padding: 10px 15px;font-weight: 510;background: #279a45;transition: 0.7s;}

.wpcf7-tel {width:100%;}

select.wpcf7-form-control {width:100% !important;}
textarea.wpcf7-form-control {height:110px;}

input, textarea {padding: 5px 10px;border: 0px solid #ccc;margin-top: 5px;background: #f5f5f5;border-radius:5px;}
select.wpcf7-form-control {width: 100% !important;margin-top: 7px;border:0px;height: 35px;}

.nome, .email, .oggetto, .messaggio {padding-left:0px;}
span.wpcf7-list-item {display: inline-block;margin: 0 0 0 0;} /*toglie il margin al tasto di accettazione*/
div.wpcf7 .wpcf7-submit:disabled {margin-left: 0;} /*toglie il margin al tasto di INVIO*/

.hr-massi{border-top: 1px solid rgb(0, 115, 56);}















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


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

/* general wordpress style
-------------------------------------------------------- */
.post img{max-width: 100%; height:auto;}



/* 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 {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
        white-space: nowrap;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}



/* -------------------------------------------------------------------------------- */
/* ! Gutemberg */
/* -------------------------------------------------------------------------------- */
.main-content{overflow: hidden;}

.wp-block-image,
.wp-block-columns,
.wp-block-cover,
.wp-block-gallery,
.wp-block-text-columns,
.wp-block-button,
.wp-block-quote,
.wp-block-quote.is-large,
.wp-block-code,
.wp-block-audio,
.wp-block-video,
.wp-block-preformatted,
.wp-block-verse,
.wp-block-separator,
.wp-block-categories,
.wp-block-categories-list,
.wp-block-latest-posts,
.wp-block-embed-twitter,
.wp-block-embed-youtube,
.wp-block-embed-facebook,
.wp-block-embed-wordpress,
.wp-block-embed-vimeo,
.wp-block-media-text {
  margin-bottom: 40px;}

/* -------------------------------------------------------------------------------- */
/* ! General */
/* -------------------------------------------------------------------------------- */
/* .container-block-editor h1,
.container-block-editor h2,
.container-block-editor h3,
.container-block-editor h4,
.container-block-editor p {
  margin-bottom: 35px; } */

.has-small-font-size {
  font-size: 13px;
  line-height: 23px; }

.has-large-font-size {
  font-size: 36px;
  line-height: 54px; }

.has-larger-font-size {
  font-size: 42px;
  line-height: 63px; }


.wp-block-cover{height: auto;}

/* -------------------------------------------------------------------------------- */
/* ! Code */
/* -------------------------------------------------------------------------------- */
.wp-block-code {
  border: 1px solid #ddd;
  padding: 20px; }

.wp-block-code {
  overflow: auto; }

/* -------------------------------------------------------------------------------- */
/* ! Video */
/* -------------------------------------------------------------------------------- */
.wp-block-video {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0; }

.wp-block-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

.wp-block-embed-youtube .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0; }

.wp-block-embed-youtube .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

.wp-block-embed-vimeo .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0; }

.wp-block-embed-vimeo .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

/* -------------------------------------------------------------------------------- */
/* ! TESTO PAGINE INCOLLONNATO */
/* -------------------------------------------------------------------------------- */

  .contenitore {
    margin-right:auto;
    margin-left:auto;
    padding-right:15px;
    padding-left:15px;
    width:100%
   }
   @media (min-width:576px) {
    .contenitore {
     max-width:540px
    }
   }
   @media (min-width:768px) {
    .ccontenitore {
     max-width:720px
    }
   }
   @media (min-width:992px) {
    .contenitore {
     max-width:960px
    }
   }
   @media (min-width:1200px) {
    .contenitore {
     max-width:1000px
    }
  }

/* -------------------------------------------------------------------------------- */
/* ! Performatted */
/* -------------------------------------------------------------------------------- */
.wp-block-preformatted {
  overflow: hidden; }

/* -------------------------------------------------------------------------------- */
/* ! Pullquote */
/* -------------------------------------------------------------------------------- */
.wp-block-pullquote blockquote {
  border: none; }

.wp-block-pullquote p {
  font-weight: bold; }


  @media only screen and (min-width: 960px) {
    body .alignfull {
      width: auto;
      max-width: 1000%;
      margin-right: calc(50% - 50vw);
      margin-left: calc(50% - 50vw);
    }
    body .alignwide {
      width: auto;
      max-width: 1000%;
      margin-right: calc(25% - 25vw);
      margin-left: calc(25% - 25vw);
    }
    .alignwide img,
    .alignfull img {
      display: block;
      margin: 0 auto;
    }
    .scopriamo{font-size: 12px;}

    .navbar-light .navbar-nav .nav-link {text-align: center;}

  }

  /* ----------------------------------------------
  PER MENU A RISOLUZIONI RIDOTTE
  -------------------------------------------------*/
  @media (max-width:1200px){


  }


  /* ----------------------------------------------
  Tablet
  -------------------------------------------------*/
    @media (max-width:998px){

    .scopriamo{font-size: 12px;}
    .titoloatt{font-size: 12px;}

    .navbar-light .navbar-nav .nav-link {text-align: center;}

  }



    /* ----------------------------------------------
    Smartphone
    -------------------------------------------------*/
  @media (max-width:767px){
    .giustificato {text-align: left !important;}
    .titoloarticolo{font-size:23px;}
    .scopriamo{font-size: 16px;}
    .titoloatt{font-size: 16px;}
    .blog h1{font-size:18px!important; text-align: center!important; color: #b5d531!important;}

    .navbar-light .navbar-nav .nav-link {text-align: center;}

    .h-cell {
      display: none!important;
     }

     .video-home{min-height: 100vh!important;}



  }
