/* ==
====================================================================================
CUSTOM CSS BOOTSTRAP
====================================================================================
== */




/* Reset ======================================== */

a,
a:hover,
a:active,
a:visited,
a:focus,
button,
button:hover,
button:active,
button:visited,
button:focus,
button a,
button a:hover,
button a:active,
button a:visited,
button a:focus
{
		outline: none!important;
}

.btn {
		padding: 0;
    outline: none!important;
}

.btn-primary,
.btn-primary:hover,
.btn-primary.focus,
.btn-primary:focus,
.btn-primary:active {
    color: #fff;
    background-color: #FF3C46;
    border: none;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: transparent;
    border-radius: none;
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-primary.dropdown-toggle:focus,
.btn-primary.focus,
.btn-primary:focus {
    box-shadow: unset!important;
    outline: 0!important;
}

.btn-group-lg>.btn, .btn-lg {
    padding: 0;
    border-radius: 0;
}

/* ==
====================================================================================
MODAL FOOTER
====================================================================================
== */

/* Container Trigger ======================================== */

.container-boxed-fixed {
    width: 100%;
		height: 65px;
    position: fixed;
		bottom: 0;
		left: 0;
    margin: 0 auto;
		background-color: #ff3d46;
		box-shadow: 0px -5px 25px 5px rgba(0,0,0,0.2);
		z-index: 301;
    /*border: 1px solid violet;*/
}

/* Trigger ======================================== */

.trigger_popup_footer {
    width: calc( 100% - 50px );
    max-width: 1200px;
    height: 65px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background-image: url(/svg/i-filtro-portate-no-border.svg);
    background-repeat: no-repeat;
    background-size: 45px;
    background-position: right;
    font-size: 22px;
		font-weight: 900;
    text-transform: uppercase;
    z-index: 301;
}

/* Modal Setup ======================================== */

/* Container Close ======================================== */

.container-boxed-close-popup-footer {
    width: calc( 100% - 50px );
    max-width: 50px;
    height: auto;
    position: absolute;
    top: -85px;
		right: 25px;
    margin: 0 auto;
    z-index: 9999;
    /* border: 1px solid blue; */
}

/* Carousel ======================================== */

div#carouselExampleControls {
		width: 100%;
		height: 250px;
		background-color: #ff3c46;
		/* border: 1px solid greenyellow; */
}

.carousel-inner {
  	width: calc( 100% - 135px );
    max-width: 1200px;
    height: 300px;
    top: -125px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.carousel-item {
    width: calc( 100% - 135px )!important;
    height: 300px;
    position: fixed;
    display: none;
    /* float: left; */
    left: 0;
    right: 0;
    margin: 0 auto!important;
    /* margin-right: -100%; */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out;
    transition: transform .3s ease-in-out,-webkit-transform .3s ease-in-out;
    /* border: 1px solid green; */
}

@media (min-width: 1200px) {

	.carousel-inner,
	.carousel-item {
	  	width: 25%!important;
	}
}

/* Carousel Control ======================================== */

.carousel-control-prev,
.carousel-control-next
{
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0;
    padding: 0!important;
    border: 3px solid #ff3d46!important;
    border-radius: 50%;
    background-color: #fff!important;
    text-align: center;
    opacity: 1!important;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev:before {
    width: 50px;
    height: 50px;
    color: #fff;
    content: "";
    background-size: cover;
    background-image: url(/svg/i-pf-arrow-prev-red.svg);
    background-repeat: no-repeat;
    background-position: center center;
    /* border: 1px solid greenyellow; */
}

.carousel-control-next:before {
    width: 50px;
    height: 50px;
    color: #fff;
    content: "";
    background-size: cover;
    background-image: url(/svg/i-pf-arrow-next-red.svg);
    background-repeat: no-repeat;
    background-position: center center;
    /* border: 1px solid greenyellow; */
}

a.carousel-control-prev,
a.carousel-control-next {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 95px;
}

/* Carousel Image ======================================== */

.carousel-item-image {
    height: 240px;
		display: flex;
    align-items: center;
    justify-content: center;
		background-size: 380px;
		background-position: center center;
		background-repeat: no-repeat;
	/* border: 1px solid blue; */
}

.antipasti {
		background-image: url(/img/antipasti.png);
    /* border: 1px solid green; */
}

.primi {
		background-image: url(/img/primi.png);
    /* border: 1px solid green; */
}

.secondi {
		background-image: url(/img/secondi.png);
    /* border: 1px solid green; */
}

.contorni {
		background-image: url(/img/contorni.png);
    /* border: 1px solid green; */
}

.dolci {
		background-image: url(/img/dolci.png);
    /* border: 1px solid green; */
}

.bevande {
		background-image: url(/img/bevande.png);
    /* border: 1px solid green; */
}

/* Carousel Image Link ======================================== */

.carousel-item-image.antipasti a,
.carousel-item-image.primi a,
.carousel-item-image.secondi a,
.carousel-item-image.contorni a,
.carousel-item-image.dolci a,
.carousel-item-image.bevande a
{
    width: 180px;
    height: 180px;
    border-radius: 100%;
    position: absolute;
	/* background-color: red; */
}

/* Carousel Button ======================================== */

.carousel-item-button {
    width: 100%;
		height: 60px;
    margin: 0 auto;
		display: flex;
    align-items: center;
    justify-content: center;
	/* border: 1px solid aquamarine; */
}

/* Carousel Button Link ======================================== */

.carousel-item-button a {
		color: #fff;
		display: inline-block;
		padding: 10px 40px;
		border: 3px solid #fff;
		overflow: hidden;
		position: relative;
		text-decoration: none;
		text-transform: uppercase;
		font-size: 22px;
		font-weight: 900;
		box-shadow: 0px 5px 20px #00000030;
}

.carousel-item-button a:before {
		content: "";
		position: absolute;
		bottom: -0.1rem;
		left: 0;
		width: 100%;
		height: calc(100% + 0.2rem);
		transform: translate3d(0, 100%, 0);
		background-color: #fff;
		transition: transform 0.3s cubic-bezier(0.28, 0.44, 0.49, 1);
		z-index: -1;
}

.carousel-item-button a:hover {
		color: #ff3d46;
		transition: all 0.3s cubic-bezier(0.28, 0.44, 0.49, 1);
}

.carousel-item-button a:hover:before {
		transform: translateZ(0);
}

/* Carousel Button Link ======================================== */

.test {
    width: 100%;
    height: 100px;
    background-color: greenyellow;
    position: relative;
    top: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-animated a {
		color: #ff3d46;
		display: inline-block;
		padding: 10px 40px;
		border: 3px solid #fff;
		overflow: hidden;
		position: relative;
		text-decoration: none;
		text-transform: uppercase;
		font-size: 22px;
		font-weight: 900;
		box-shadow: 0px 5px 20px #00000030;
}

.button-animated a:before {
		content: "";
		position: absolute;
		bottom: -0.1rem;
		left: 0;
		width: 100%;
		height: calc(100% + 0.2rem);
		transform: translate3d(0, 100%, 0);
		background-color: #ff3d46;
		transition: transform 0.3s cubic-bezier(0.28, 0.44, 0.49, 1);
		z-index: -1;
}

.button-animated a:hover {
		color: #fff;
		transition: all 0.3s cubic-bezier(0.28, 0.44, 0.49, 1);
		/* z-index: 99; */
}

.button-animated a:hover:before {
		transform: translateZ(0);
}
