/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Template: generatepress
Author: Tom Usborne
Author URI: https://tomusborne.com
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Tags: two-columns,three-columns,one-column,right-sidebar,left-sidebar,footer-widgets,blog,e-commerce,flexible-header,full-width-template,buddypress,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,rtl-language-support,featured-images,theme-options
Version: 3.2.4.1675351452
Updated: 2023-02-02 15:24:12

*/

.staff_information-data p {
    margin: 0 0 5px;
    font-weight: bold;
    text-transform: uppercase;
}
.profile_wrapper {
    width: 300px;
    height: 300px;
    margin-bottom: 20px;
}
.staff_information-data {
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #ccc;
}
.staff_certificate-wrapper p {
    margin: 0px;
    font-weight: bold;
    font-size: 13px;
}

.staff_certificate-wrapper {
    padding-bottom: 9px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

.expiring_certificate:before,
.corrent_certificate:before,
.expired_certificate:before {
    content: '';
    width: 10px;
    height: 10px;
    display: block;
    border-radius: 50%;
    margin-right: 5px;
}

.corrent_certificate:before{
    background: green;
}

.expired_certificate:before{
    background: red;
}

.expiring_certificate:before{
    background: #dba01b;
}

.expiring_certificate,
.expired_certificate,
.corrent_certificate {
    display: flex;
    align-items: center;
}
.staff_information-title h5 {
    font-weight: bold;
    font-size: 24px;
}
.column_8-12.staff_information-column, .column_4-12.staff_certificate-column {
    padding: 50px 20px;
    box-shadow: 0 5px 15px #0003;
    border-radius: 25px;
}

.staff_information-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
@media (min-width: 1024px){
.column_8-12.staff_information-column, .column_4-12.staff_certificate-column {
    padding: 30px 20px;
    box-shadow: 0 5px 15px #0003;
    border-radius: 25px;
}

.staff_information-title h5 {
    font-size: 32px;
}
}
/* Layout */
.site-content {
    display: block;
}
div#content {
    padding: 0px;
}

div#page {
    width: 100%;
    max-width: 100%;
}

.section {
    padding: 60px 0;
    width: 100%;
}
.row {
    display: flex;
    width:  90%;
    max-width: 1640px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.column_8-12 {
    flex: 0 0 100%;
    margin-bottom: 30px;
}

.column_4-12 {
   flex: 0 0 100%;
}
.column_12-12 {
    flex: 0 0 100%;
}
@media (min-width: 1024px){

.row {
    display: flex;
    width: 80%;
    max-width: 1640px;
    margin: 0 auto;
}
.section {
    padding: 80px 0;
}
.column_8-12 {
    flex: 0 0 60%;
    margin-right: 3%;
}

.column_4-12 {
    flex: 0 0 37%;
}
}
/* staff document */
.document_element a {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 15px;
    text-decoration: none;
}

.document_element a:before {
    content: '';
    background-image: url(/wp-content/uploads/2023/02/download-2.png);
    width: 40px;
    height: 40px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 12px;
}

.document_main-wrapper {
    display: grid;
    grid-template-columns: 100%;
    row-gap: 30px;
}

.staff_tesserino_wrapper, .staff_medic_wrapper, .staff_casellari_wrapper, .staff_documento_identita_wrapper {
    margin-bottom: 50px;
}

.loop_element_wrapper a {
    text-decoration: none;
    color: #111;
}
.loop_element_wrapper {
    padding: 15px 20px;
    border: 1px solid #ccc;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 5px 10px #0000001c;
}
.user_detail {
    margin-right: 20px;
}
.user-detail-mainwrapper {
    display: flex;
    margin-top: 10px;
}
.loop_element_wrapper h5 {
    font-weight: bold;
    padding-bottom: 4px;
    border-bottom: 1px dashed #ccc;
}
.loop_element_wrapper h5, .loop_element_wrapper h6 {
    margin: 0px;
}

.user_detail h6 {
    font-size: 14px;
    font-weight: bold;
}

.user_detail-subfield {
    color: #999;
    font-size: 13px;
}
.staff_wrapper-loop {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 2%;
    row-gap: 30px;
}
.section.section-user-loop {
  /* regole comuni a tutte le sezioni user loop */
  padding: 20px;
  background: #f9f9f9;
}

.section.section-user-loop h2, 
.section.section-user-loop h3 {
  padding-bottom: 15px;
  font-weight: 700;
  font-size: 24px;
}

/* puoi aggiungere specifiche per liste o elementi */
.section.section-user-loop ul {
  list-style: none;
  padding-left: 0;
}

.section.section-user-loop li {
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.section-title {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ccc;
    line-height: 1.5; /* aumento interlinea titolo */
}

.loop_element_wrapper {
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
    line-height: 1.6; /* aumento interlinea contenuto */
}

.certificate-detail-item a {
    color: #0073e6; /* blu per i link */
    text-decoration: underline; /* opzionale, per sottolineare il link */
}

.certificate-detail-item a:hover {
    color: #005bb5; /* blu più scuro al passaggio mouse */
}


.search_bar-wrapper {
    text-align: center;
    padding: 50px 0;
}
.taxonomy-wrapper {
    margin-top: 50px;
}
.vehicle-template-default .document_element {
    margin-bottom: 15px;
}
.vehicle_thumbnail img {
    width: 100%;
}
.vehicle_thumbnail {
    margin-bottom: 20px;
}
@media (min-width: 1024px){
.staff_wrapper-loop {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2%;
    row-gap: 30px;
}
    .document_main-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 2%;
    row-gap: 30px;
}
    
}
.column_12-12.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 30px;
}
.header_access {
    text-align: center;
}
.vehicle_thumbnail {
    max-width: 600px;
}

.document_column-wrapper {
    padding-bottom: 50px;
}

.document_column-wrapper .document_element {
    margin-bottom: 35px;
}

.notes {
    border: 1px dashed #ccc;
    padding: 20px;
    margin-top: 20px;
}

/* header */
.section.section-header {
    padding: 20px 0;
}

.section.section-header ul {
    list-style-type: none;
    padding: 0px;
    display: flex;
    justify-content: space-between;
    margin: 0px;
}

.section.section-header a {
    transition: 300ms;
color: #000;
text-decoration: none;
}

.section.section-header a:hover {
text-decoration: underline;
}
.section.section-result.avenir .loop_element_wrapper {
    margin-bottom: 20px;
}
@media (max-width: 1024px){
   .staff_information-wrapper {
    display: grid;
    grid-template-columns: 1fr;
}
.section.section-header ul {
    list-style-type: none;
    padding: 0px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin: 0px;
} 
.section.section-header a {
text-align: center;
display: block;
margin-bottom: 20px;
}
.section.section-result.avenir .loop_element_wrapper {
    margin-bottom: 20px;
}
}

.header-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}
.header-menu-burger {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.header-action {
    position: relative;
    transition: 300ms;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.header-action span {
    width: 30px;
    height: 1px;
    display: block;
    background: #000;
}
.header-submenu-wrapper.active {
    display: block;
    transition: 300ms;
}
.header-submenu-wrapper {
    display: none;
}
div#submenu {
    height: 100vh;
    padding: 100px 0;
    list-style-type: none;
    font-size: 22px;
    line-height: 2em;
    transition: 300ms;
}

div#submenu a{
text-decoration: none;
}

div#submenu ul{
list-style-type: none;
}

.header-menu-burger.active .header-action span:nth-child(3) {
    transition: 300ms;
    transform: rotate(316deg);
}

.header-menu-burger.active .header-action span:nth-child(2) {
    transition: 300ms;
    display: none;
}


.header-menu-burger.active .header-action span:first-child {
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    transition: 300ms;
}

.company-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ddd; /* linea sottile sotto il titolo */
}

.company-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    padding-bottom: 1rem;
    margin-top: 3rem;
    border-bottom: 1px solid #ccc; /* linea sottile sotto ogni sottotitolo */
}


/* nuovo menu */
.sub-menu {
    display: none;
}

.menu-item-has-children > a::after {
    content: " ▾";
    font-size: 0.8em;
    margin-left: 5px;
    cursor: pointer;
}

/* stile pagina committenti */
.committenti-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* forzato 2 colonne */
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 20px; /* aggiungi padding al container */
}

/* il resto rimane uguale */
.committente-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgb(0 0 0 / 0.1);
  padding: 20px;
  border: 1px solid #ddd;
  transition: box-shadow 0.3s ease;
}

.committente-card:hover {
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.2);
}

.committente-card h2.commmittente-title {
  margin-top: 0;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.committente-anagrafica p {
  margin: 0.2rem 0;
  font-weight: 600;
}

/* Responsivo: 1 colonna sotto 768px */
@media (max-width: 768px) {
  .committenti-cards-wrapper {
    grid-template-columns: 1fr;
    padding: 10px;
  }
}
