/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */



/**MARGINE DIV CUSTOM IN HOME**/
.module_content {
    margin-bottom: 80px;
}


/**PERSONALIZZO LA TOP BAR**/
@media (max-width: 767px) {
#header .header-nav .top-logo {
    padding-top: 11px;
    padding-bottom: 11px;
}
}

#header .header-nav {
	background: #baa089;
	color: #fff;
	border-bottom: 0px;
}

#header .header-nav .blockcart {
	background: #baa089;
	color: #fff;
}

#header .header-nav .cart-preview .shopping-cart {
	color: #fff;
}

div#_desktop_user_info a {
	color: #fff;
}

div#_desktop_user_info a:hover {
	color: #000;
}

/**ALLINEO L'HEADER**/

.rowHeader {
    display:flex;
    align-items:baseline;
}

@media (max-width:768px) {
    .rowHeader {
    display:block;
    }
}
.flex-menu {
    display: flex;
    align-items: baseline;
    flex-direction: row-reverse;
    justify-content: space-between;
}

/**ICONE HOME**/

#custom-text {
	background: transparent;
	margin-bottom: 1.5rem;
	padding: 0px;
	text-align: center;
}

.icon-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	border-bottom:1px solid #cccccc;
}

.icon-item {
	padding: 20px;
	font-size: 30px;
	text-align: center;
}

@media (max-width:980px) {
	.icon-container {
		display: flex;
		flex-direction:column;
		flex-wrap:wrap;
	}
	.icon-item {
		padding: 0px;
		font-size: 30px;
		text-align: center;
		width:50%;
	}
}

img.icon_item_home {
	width: 60px;
	height: auto!important;
	margin-bottom: 15px;
}

@media (max-width:7670px) {
    img.icon_item_home {
	width: 40px;
}
}

.icon-item h5 {
	font-size: 20px;
	text-align: center;
}

.subtitle_icon {
    font-size: 16px;
}

@media (max-width:767px) {
.subtitle_icon {
    font-size: 12px!important;
}
    
div.icon-item h5 {
    font-size:14px;
}
}

/**CLASSE MARGINE TOP**/

.mt_30 {
	margin-top: 30px;
}


/**HEADER TOP**/

#header .header-nav {
	margin-bottom: 10px;
}

#header .header-top a[data-depth="0"] {
    color: #000;
}

#header .header-top {
    padding-bottom:0px;
}

/**ELIMINIO TUTTI I BOX SHADOW**/

#products .thumbnail-container,
.featured-products .thumbnail-container,
.product-accessories .thumbnail-container,
.product-miniature .thumbnail-container {
	box-shadow: none;
}

.carousel {
	box-shadow: none;
	margin-bottom: 2rem;
}

.footer-container {
	box-shadow: none;
}

#wrapper .banner img {
	box-shadow: none;
}

.card {
	box-shadow: none;
}

.brands-sort .select-title,
.products-sort-order .select-title,
.suppliers-sort .select-title {
	box-shadow: none;
}

.block-categories {
	box-shadow: none;
}

#wrapper {
	box-shadow: none;
	padding-top: 0px;
	overflow: hidden;
	background:#fbfbfb;
}

.page-addresses .address, .page-authentication #content {
    box-shadow: none;
}

.product-cover img {
    box-shadow: none;
}

.tabs {
    box-shadow:none;
    background:transparent;
}

/**MODIFICO L'ALTEZZA DELLO SLIDER**/

.carousel .carousel-inner {
	height:600px;
}

@media (max-width:767px) {
    .carousel .carousel-inner {
	height:auto;
}
}

#custom-text {
	margin-bottom: 7rem;
}


/**MODIFICO IL TESTO DEL COPY**/

p.text-sm-center {
	margin-top: 79px;
	border-top: 1px solid #cccc;
	padding-top: 1rem;
}

a._blank {
	color: #363a42;
	font-size: 14px;
}


/**GRIGLIA HOME**/

@media (min-width:1200px) {
	.page-index .container {
		width: 100%;
		max-width: 100%;
		padding:0px;
		
	}
	.page-index .container-content {
		max-width: 1480px;
		margin: auto;
	}
	.page-index .header-nav .container {
		max-width: 1480px;
	}
	.page-index .header-top .container {
		max-width: 1480px;
	}
	#footer .container {
		max-width: 1480px;
	}
}


/* Categorie home */

.articoli_religiosi {
	background: url(/themes/arteSacra/img/category_image_articoli_religiosi.jpg);
	background-size: cover;
}

.paramenti {
	background: url(/themes/arteSacra/img/category_image_paramenti.jpg);
	background-size: cover;
}

.statue {
	background: url(/themes/arteSacra/img/category_image_statute.jpg);
	background-size: cover;
}

.promo {
    background: url(/themes/arteSacra/img/category_image_promo.jpg);
    background-size: cover;
    background-color: #00000033;
    background-blend-mode: overlay;
    background-position: right;
}

.home__box__category span,
.home__box__category_1 span,
.home__box__category__full span{
	font-size: 55px;
	line-height: 60px;
	font-weight: bold;
	color: #fff;
	text-shadow: 0 0 5px #00000020;
}

.home__box__category {
	display: flex;
	align-items: flex-end;
	margin-top: 40px;
	padding: 0 20px 20px;
}

.home__box__category:first-child,
.home__box__category_1:first-child {
	margin-top: 0px;
}

.home__box__category_1 {
	display: flex;
	align-items: flex-end;
	margin-top: 40px!important;
	padding: 0 20px 20px;
}

.home__box__category__full {
    width: 100%;
    display: flex;
    margin-top: 40px;
    align-items: flex-start;
    padding: 0 20px 20px;
    max-height: 498px;
    min-height: 20vh;
    height: 100vh;
    flex-direction: column;
    justify-content: flex-end;
}

@media (max-width: 980px) {
	.home__category {
		display: block!important;
	}
	.home__box__category,
	.home__box__category_1 {
		display: flex;
		align-items: flex-end;
		padding: 0 20px 20px;
		max-height: 500px;
		height: 50vh!important;
		margin-bottom: 40px;
	}
}

.home__box__category_1 {
	display: flex;
	align-items: flex-end;
	margin-top: 40px!important;
	padding: 0 20px 20px;
	max-height: 900px;
	min-height: 20vh;
	height: 100vh;
}

.home__box__category_1.statue {
	grid-row: 2 span;
	margin-top: 0px;
}

.home__box__category_1.statue {
	grid-row: 2 span;
	margin-top: 0px;
}

.home__box__category_1.statue {
	grid-row: 2 span;
	margin-top: 0px;
}


/*imposto griglia categorie */

.home__category {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	column-gap: 30px;
}

.home__box__category_1.statue {
	grid-row: 2 span;
	margin-top: 0px!important;
}

/**MODIFICO LA CARD DEI PRODOTTI**/
.page-index #products .thumbnail-container, .featured-products .thumbnail-container, .product-accessories .thumbnail-container, .product-miniature .thumbnail-container {
    box-shadow:none;
}

.page-index #products .highlighted-informations, .featured-products .highlighted-informations, .product-accessories .highlighted-informations, .product-miniature .highlighted-informations {
    box-shadow: none;
}


/**HEADING DEI PRODOTTI**/
.page-index #products .products-section-title, .featured-products .products-section-title, .product-accessories .products-section-title, .product-miniature .products-section-title {
    text-align: left;
    margin-bottom: 50px;
    font-size: 40px;
    letter-spacing: 1.5px;
    font-weight:normal;
    
}

/**MODIFICO TITOLO E PREZZO**/
.page-index #products .product-title a, .featured-products .product-title a, .product-accessories .product-title a, .product-miniature .product-title a {
    color: #000;
    font-size: 14px;
    font-weight: 800;
}

.page-index #products .product-price-and-shipping, .featured-products .product-price-and-shipping, .product-accessories .product-price-and-shipping, .product-miniature .product-price-and-shipping {
    color: #3c3c3c;
    font-weight: 700;
    font-size: 14px;
}


@media (min-width: 1200px) {
.container {
    width: 100%;
    max-width: 1480px;
}
}


/**MODIFICO IL DIV DELLA RICERCA MOBILE**/
@media (max-width:767px) {
    div#search_widget {
        margin-bottom:39px;
    }
}

/**MODIFICO IL COLORE ICONA ACCOUNT MOBILE**/
@media (max-width:767px) {
a[title="Accedi al tuo account cliente"] i.material-icons {
    color:#fff;
}
}


/**MODIFICO IL MEGAMENU**/
@media(min-width:767px) {
.top-menu[data-depth="1"] {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

li.category {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    flex-basis: 100%;
    flex: 0 0 45%;
}
}

/**CSS SUBCATEGORY**/

#subcategories {
/*	border-top: 1px solid #d6d4d4; */
	padding: 15px 0 0px 0;
}

#subcategories p.subcategory-heading {
	font-weight: bold;
	color: #333;
	margin: 0 0 15px 0;
}

#subcategories ul.clearfix {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 20px;
}

@media (max-width:980px){
    #subcategories ul.clearfix {
    grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width:768px){
    #subcategories ul.clearfix {
    grid-template-columns: repeat(1, 1fr);
}
}

li.subcategory {
    display: flex;
    align-items: center;
    border: 1px solid #d6d4d4;
    position: relative;
    background:#baa08914;
}

.subcategory-detail {
    margin-left: auto;
    margin-right: 25px;
    text-align: right;
}

.subcategory-image {
    margin-right: 20px;
}

.subcategory-detail > a {
    text-decoration: underline;
}


#subcategories ul li .subcategory-image {
	padding: 0 0 8px 0;
}

#subcategories ul li .subcategory-image a {
	display: block;
	border: 1px solid #d6d4d4;
}

/*#subcategories ul li .subcategory-image a img {
	min-width: 100%;
	vertical-align: top;
}*/

#subcategories ul li .subcategory-name {
	font: 600 16px/22px "Open Sans", sans-serif;
	color: #555454;
	text-transform: uppercase;
}

#subcategories ul li .subcategory-name:hover {
	color: #515151;
}

#subcategories ul li .cat_desc {
	display: none;
}

#subcategories ul li:hover .subcategory-image a {
	border: 1px solid #baa089;
}

/**MARGINE TOP breadcrumb**/
#wrapper .breadcrumb {
    margin-top: 50px;
}

/**AGGIUNGO IL BORDO ALLA SEZIONE DEI PRODOTTI**/
section.featured-products.clearfix {
    border-bottom: 1px solid #cccccc;
}

/**MODIFICO LO SFONDO DELLE TABS ATTIVE**/
.nav-tabs .nav-item.open .nav-link, .nav-tabs .nav-item.open .nav-link:focus, .nav-tabs .nav-item.open .nav-link:hover, .nav-tabs .nav-link.active, .nav-tabs .nav-link.active:focus, .nav-tabs .nav-link.active:hover {
    background-color:transparent;
}

/**ICONE SCHEDA PRODOTTO**/
.blockreassurance_product {
    margin-top: 25px;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 20px;
}

@media (max-width:980px){
    .blockreassurance_product {
    margin-top: 25px;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 20px;
    row-gap: 20px;
}
}


/**SCHEDA PRODOTTO**/
.tabs {
    padding: 80px 0;
}

#product #content {
    margin: 0;
}


/**BLOCCO NEWSLETTER**/
div#blockEmailSubscription_displayHome {
    background:none;
}

.flex-dir {
    display: flex;
    flex-direction: column-reverse;
}

input.btn.btn-primary.float-xs-right.hidden-xs-down {
    width: 35%;
    margin: 30px auto 10px auto;
}

p.text_conditions {
    text-align: center;
}

p#block-newsletter-label {
    text-align: center;
    margin-bottom: 50px;
    font-size: 40px;
    letter-spacing: 1.5px;
    font-weight: normal;
    width: 100%;
    color:#232323;
}

@media (max-width:980px) {
    p#block-newsletter-label {
    text-align: center;
    margin-bottom: 50px;
    font-size: 40px;
    line-height:35px;
    letter-spacing: 1.5px;
    font-weight: normal;
    width: 100%;
    color:#232323;
}
}

input[type="email"] {
    border: 1px solid #cccccc;
    background: transparent;
    text-align:center;
}
.block_newsletter form input[type=email] {
    padding: 11px;
    width: 60%;
    margin-left: 20%;
}

@media (max-width:980px) {
    .block_newsletter form input[type=email] {
    padding: 11px;
    width: 100%;
    margin-left:0px;
    margin-bottom:15px;
}
}


/**NEW bANNER HOME PAGE CATEGORY**/
#subcategories_home ul.clearfix {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    row-gap: 20px;
}

@media (max-width: 1024px) {
    #subcategories_home ul.clearfix {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 20px;
    }
}

@media (max-width: 768px) {
    #subcategories_home ul.clearfix {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 20px;
    row-gap: 20px;
    }
}

li.subcategory-home {
    display: flex;
    align-items: center;
    border: 1px solid #d6d4d4;
    position: relative;
    background:#baa08914;
}

#subcategories_home ul li .subcategory-home-image {
    padding: 0 0 8px 0;
}

.subcategory-home-image {
    margin-right: 20px;
}

.subcategory-home-detail {
    margin-left: auto;
    margin-right: 25px;
    text-align: right;
}

.subcategory-home-detail > a {
    text-decoration: underline;
}

#subcategories_home ul li .subcategory-home-name {
    font: 600 16px/22px "Open Sans", sans-serif;
    color: #555454;
    text-transform: uppercase;
}

/**CSS ICONA WHATSAPP**/

.icon_whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index:1;
}

.icon_whatsapp img {
    width: 60px;
    height: auto;
}