/*****************************************
	CUSTOM CSS
******************************************/


/**
**
**						Example of CSS code to change the background color of Header and Content if the width is less than 980 pixels
**						Keep the syntax  !important to overwrtite the normal CSS style. To use it, delete the /** and **/ around.
**
**/


/**

@media screen and (max-width: 979px) {

	.website-header {
	background-color : rgba(0,0,0,0.80) !important;
	}
	
	.website-content {
	background-color : rgba(0,0,0,0.80) !important;
	}
	
}


**/



/**
**
**						Example of CSS code to change the height of header if the width is less than 980 pixels
**						You can change the sapce above the logo (padding-top) and the min height of the header. You can try between 30% and (100% - the value of padding-top).
**						To use it, delete the /** and **/ around.
**
**/



/**

@media screen and (max-width: 979px) {

	.website-header {
    min-height: 60%;
    padding-top:16%;
    }
}


**/

/* FIX MENU JOOMLA 4 - FULL_SCREEN_8 */

/* Centra menu tra i due filetti bianchi */
.main_menu {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}

#js_navigation ul {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#js_navigation li a {
    line-height: 30px !important;
}

/*  GRID OF THREE  */
.footer-lucemania {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-box {
    flex: 1;
    padding-left: 20px;
    border-left: 1px solid #cccccc;
    box-sizing: border-box;
}

.footer-box:first-child {
    border-left: none;
    padding-left: 0;
}

.footer-icon {
    float: left;
    margin-right: 8px;
}

.footer-hours {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    white-space: nowrap;
}

.footer-lucemania a {
    text-decoration: none;
}

@media screen and (max-width: 768px) {

    .footer-lucemania {
        width: 100%;
        flex-direction: column;
        gap: 20px;
    }

    .footer-box {
        border-left: none;
        border-top: 1px solid #cccccc;
        padding: 15px 0 0 0;
    }

    .footer-box:first-child {
        border-top: none;
        padding-top: 0;
    }

    .footer-hours {
        gap: 40px;
    }
}

/* footer */
.address  { width: 80%; }
.bottom_menu { max-width: 20%; }
.js-copyright { display: none; }
.website-footer { margin-bottom: 50px; }


/* prodotti */
.rosso { color: #ff0000; }
.sfondoc
{
    border-top: 1px #CCC solid;
    border-right: 0px;
    border-bottom: 0px;
    border-left: 0px;
    padding: 3px;
}

/* team */
.fototeam
{
	margin-top: 0px;
	margin-bottom: 25px;
}
.nomecognome
{
	color: #000000;
	margin-top: 25px;
	padding-left: 25px;
	font-family: <##>;
	font-size: 150%;
}
.titolo
{
	padding-left: 25px;
	padding-bottom: 15px;
}
.descrizione
{
	padding-left: 25px;
	text-align: justify;
}
.settore
{
	color: #000000;
	font-size: 150%;
}
.testo
{
	text-align: justify;
	margin-top: 10px;
	margin-bottom: 15px;
}

/* Home solo icona */
.nav-item.item-101.default > a {
    font-size: 0 !important;
    min-width: 42px;
}

.nav-item.item-101.default > a .Home {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: middle;
}

.nav-item.item-101.default > a .Home::before {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    background-color: #ffffff !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H376c-22.1 0-40-17.9-40-40v-88c0-13.3-10.7-24-24-24h-48c-13.3 0-24 10.7-24 24v88c0 22.1-17.9 40-40 40H104c-22.1 0-40-17.9-40-40V287.6H32c-18 0-32-14-32-32.1 0-9 3-17 10-24L266.4 8c7-6 15-8 22-8s15 2 22 8L566 231.5c8 7 10 15 9.8 24z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H376c-22.1 0-40-17.9-40-40v-88c0-13.3-10.7-24-24-24h-48c-13.3 0-24 10.7-24 24v88c0 22.1-17.9 40-40 40H104c-22.1 0-40-17.9-40-40V287.6H32c-18 0-32-14-32-32.1 0-9 3-17 10-24L266.4 8c7-6 15-8 22-8s15 2 22 8L566 231.5c8 7 10 15 9.8 24z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Solo rollover */
.nav-item.item-101.default:hover > a .Home::before {
    background-color: #000000 !important;
}

/* Menu più compatto */
#js_navigation .mod-menu > li > a {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* Home più stretta */
.nav-item.item-101.default > a {
    min-width: 28px !important;
    padding-left:10px !important;
    padding-right: 10px !important;
}

/* Nasconde il titolo solo nelle pagine articolo singole */
.com-content-article.item-page > .page-header {
    display: none !important;
}

/* Centra paginazione Realizzazioni */
.com-content-category-blog__pagination,
.com-content-category-blog__navigation,
.pagination {
    text-align: center !important;
}

.com-content-category-blog__pagination ul,
.com-content-category-blog__navigation ul,
ul.pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    width: 100%;
    padding-left: 0;
}

/* Box grigio progetto */
.com-content-category-blog .blog-items .blog-item {
    background-color: #000000 !important;
    padding: 8px !important;
    box-sizing: border-box;
    overflow: hidden;
}

/* Immagine */
.com-content-category-blog .blog-items .blog-item figure.item-image {
    margin: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
}

.com-content-category-blog .blog-items .blog-item figure.item-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Titolo su fascia grigia visibile */
.com-content-category-blog .blog-items .blog-item .item-content {
    background-color: #d9d9d9 !important;
    padding: 10px 0px 5px 5px !important;
    margin: 0 !important;
}

.com-content-category-blog .blog-items .blog-item .page-header {
    margin: 0 !important;
    padding: 0 !important;
}

.com-content-category-blog .blog-items .blog-item .page-header h2 {
    margin: 0 !important;
    padding: 0 !important;
}

/* Forza il titolo del blog a non avere sfondo bianco */
.com-content-category-blog .blog-items .blog-item,
.com-content-category-blog .blog-items .blog-item .item-content,
.com-content-category-blog .blog-items .blog-item .page-header {
    background: #d9d9d9 !important;
    background-image: none !important;
}

.com-content-category-blog .blog-items .blog-item .page-header h2,
.com-content-category-blog .blog-items .blog-item .page-header h2 a {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Angoli tondi riquadri blog */
.com-content-category-blog .blog-items .blog-item {
    border-radius: 8px !important;
    overflow: hidden;
}

.com-content-category-blog .blog-items .blog-item {
    padding: 10px 10px 6px 10px !important;
}

.com-content-category-blog__pagination {
    padding-top: 15px !important;
}

/* Paginazione blog Realizzazioni */
.com-content-category-blog__pagination,
.com-content-category-blog__navigation {
    text-align: center !important;
}

.com-content-category-blog__pagination ul.pagination,
.com-content-category-blog__navigation ul.pagination,
ul.pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    gap: 4px;
    padding-left: 0;
}

ul.pagination li,
ul.pagination .page-item {
    display: inline-flex !important;
}

ul.pagination a,
ul.pagination span,
ul.pagination .page-link {
    display: inline-block !important;
    padding: 5px 9px;
}