/*Font*/
* {
    font-family: 'Architects Daughter', cursive;
}

body {
    /*padding-top: 50px;*/
    padding-bottom: 20px;
    /*background-color: rgb(191, 224, 196);*/
}

.navbar {
    background-color: rgb(158, 195, 255);
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.carousel-text {
    font-size: 50px;
}

/*Generalmente tutte le schermate contenenti liste di elementi ed il footer*/
.standar-index-div {
    padding-left: 3%;
    padding-right: 3%;
}
/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}
/* Style the Image Used to Trigger the Modal */
.img-to-modal {
    cursor: pointer;
    transition: 0.3s;
}

    .img-to-modal:hover {
        opacity: 0.7;
    }

/* The Modal (background) */
.modal-img {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content-img {
    margin: auto;
    display: block;
    width: 60%;
    max-width: 500px;
}

/*Immagini home page*/
.img-carousel {
    height: 94vh;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
.caption-modal-img {
    margin: auto;
    display: block;
    width: 40%;
    max-width: 500px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content-img, .caption-modal-img {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close-modal-img {
    position: absolute;
    top: 50px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    .close-modal-img:hover,
    .close-modal-img:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/*Ingredienti edit pizza*/
.ing-not-selected {
    background-color: green;
}

.ing-selected {
    background-color: red;
}

/*CARDVIEW*/
.card {
    /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 10px;
}

    /* On mouse-over, add a deeper shadow */
    .card:hover {
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    }

/* Add some padding inside the card container */
.card-container {
    padding: 2px 16px;
}

/*DIVIDERS*/
/* Dashed border */
hr.dashed {
    border-top: 1px dashed #bbb;
}

/* Dotted border */
hr.dotted {
    border-top: 1px dotted #bbb;
}

/* Solid border */
hr.solid {
    border-top: 1px solid #bbb;
}

/* Rounded border */
hr.rounded {
    border-top: 1px solid #bbb;
    border-radius: 5px;
}

/*LOADER*/
.modalLoader {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 ) url('http://i.stack.imgur.com/FhHRx.gif') 50% 50% no-repeat;
}

/* When the body has the loading class, we turn
        the scrollbar off with overflow:hidden */
body.loading .modalLoader {
    overflow: hidden;
}

/* Anytime the body has the loading class, our
        modal element will be visible */
body.loading .modalLoader {
    display: block;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content-img {
        width: 90%;
    }
}

/*HOVER*/
.hoverable:hover {
    background-color: #e3e2de;
}

/*Barra di ricerca index*/
#barra-ricerca-index {
    background-color: #e3e2de;
    padding: 16px;
    border-radius: 16px;
}


#btn-submit-ricerca:hover {
    background-color: #337ab7;
    color: white;
}

/*Rimuove formattazione tag a*/
.a-no-decoration {
    text-decoration: none !important;
}