@import "fonts.css";

body{ font-family: 'Montserrat', sans-serif;}


/* CAROUSEL */

.carousel-wrap {
    max-width: 900px;
    min-height: 1600px;
}

.slick-prev:before,
.slick-next:before {
    color: red !important;
    font-weight: 900;
}

.slick-prev {
    left: 25px;
    z-index: 9999;
}

.slick-next {
    right: 25px;
}

.slick-list,
.slick-track {
    height: 100% !important;
}

    .slick-track .slick-slide {
        height: 100%;
        /*border: 5px solid #f00;*/
        display: flex;
        align-items: center;
        justify-content: center;
    }

.slick-slide {
    height: auto;
    position: relative;
}

    .slick-slide .slide-image {
        height: 100%;
        background-size: cover;
        background-position: center;
        transition: all 0.8s ease;
    }

/* VIDEO */

.video-background {
    background: #000;
   z-index: -99; /**/
    width: 100%;
    height: 100%;
}

    .video-foreground,
    .video-background iframe,
    .video-background video {
        width: 100%;
        height: 100%;
    }

.ratio-vertical {
    padding-bottom: 178%;
    position: relative;
    display: block;
    width: 100%;
}

    .ratio-vertical iframe {
        position: absolute;
        top: 0;
        left: 0;
    }

/* QUOTAZIONE PRODOTTI */

.quotazione-metalli .header {
    background-color: #000000;
    font-size: 70px;
    font-weight: 900;
    color: #cfae70;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quotazione-metalli .prices {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .quotazione-metalli .prices .title {
        font-size: 45px;
    }

    .quotazione-metalli .prices .price {
        font-size: 55px;
        font-weight: 900;
    }

.quotazione-metalli sup {
    bottom: -0.10em;
    font-size: 0.55em;
}

/* QUOTAZIONE PRODOTTI */

.quotazione-prodotti {
    vertical-align: top !important;
}

    .quotazione-prodotti .header {
        background-color: #000000;
        font-size: 1.35rem;
        font-weight: 900;
        color: #cfae70;
        display: flex;
        align-items: center;
        justify-content: center;
    }
	
	.quotazione-prodotti .product{
	
	}
	
	.quotazione-prodotti .product.bg-product-even{
		background-color: rgba( 207,174,112,0.2)
	}

    .quotazione-prodotti .product:not(:last-child) {
        border-bottom: 1px solid #cfae70;
    }
    .quotazione-prodotti .product .image {
        background-color: white !important;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
		justify-content: center;
		align-items: center; 
		overflow: hidden;
    }
	.quotazione-prodotti .product .image .loader {
	  position: absolute;
	  width: 40px;
	  height: 40px;
	  border: 4px solid #ccc;
	  border-top: 4px solid #333;
	  border-radius: 50%;
	  animation: image_spin 1s linear infinite;
	  z-index: 2;
	}
	@keyframes image_spin {
	  to { transform: rotate(360deg); }
	}
	
    .quotazione-prodotti .product img {
        /*max-height: 200px;*/
        object-fit: contain
    }
    .quotazione-prodotti .product .title {
        font-size: 1.1rem;
        font-weight: 700;
		line-height: 20px;
    }
    .quotazione-prodotti .product .country {
        font-size: 1rem;
        font-weight: 500;
    }
    .quotazione-prodotti .product .prices {
        padding-bottom: 4px;
        padding-top: 4px;
    }
        .quotazione-prodotti .product .prices:not(:last-child) {
            border-bottom: 1px solid #cfae70;
        }
        .quotazione-prodotti .product .prices .quantity {
            margin-top: 0px;
            font-size: 1rem;
            font-weight: 500;
        }
        .quotazione-prodotti .product .prices .price {
            margin-top: -7px;
            font-size: 1.2rem;
            font-weight: 700;
        }

    /* MODAL OVERLAY LOADING */
    /* Start by setting display:none to make this hidden.
		   Then we position it in relation to the viewport window
		   with position:fixed. Width, height, top and left speak
		   speak for themselves. Background we set to 80% white with
		   our animation centered, and no-repeating */
    #page-loading-overlay {
        display: none;
        position: fixed;
        z-index: 999999992;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: rgba( 0, 0, 0, .5 )
        /*url('../scripts/jquery/loader.gif')
						50% 50%*/
        no-repeat;
    }

    #page-loading-overlay .loader {
        border: 16px solid #FFFFFF;
        border-radius: 50%;
        border-top: 16px solid #cfae70;
        width: 120px;
        height: 120px;
        -webkit-animation: spin 2s linear infinite;
        animation: spin 2s linear infinite;
        margin: auto;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        position: fixed;
    }

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* When the body has the loading class, we turn
		   the scrollbar off with overflow:hidden */
body.page-loading-overlay {
    overflow: hidden; /* 
			margin-right:25px;*/
}

    /* Anytime the body has the loading class, our
		   modal element will be visible */
    body.page-loading-overlay #page-loading-overlay {
        display: block;
    }		
