/* -*- mode: web; -*- */

/* HEADER */
header.container {
    padding: 10px 5px;
}
.logo img { /* Logo in each header */
    /* height: 150px; */
    max-height: 20vh;
}
/* @media (max-width: 767px) {
   .logo img {
   width: 40%;
   }
   } */

.search-block {
    background-color: #eeeeee;
}

.carousel-inner {
    width: 300px;
}

.carousel-item {
    height: 150px; /* Lame, but first attempt to prevent jumping */
  //  max-width: 300px;
}
.carousel-item.item-text {
    overflow: auto; /*scroll*/
}

.tagline { /* Summary of what we do on this page */
    font-size: 150%;
    font-style: italic;
}

/* TOOLTIPS */
.tooltip_my { /* bootstrap has tooltips too, TODO: switch to it */
    position: relative; /* To create stacking context */
    /* z-index: 0; /* Inherited 1070? */ */
    /* border-bottom: 1px dotted black;   */
}

.tooltiptext {
    visibility: hidden;
    width: 300px;
    display: block; 
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 6px;
    
    position: absolute; 
    z-index: 2; /* So it will be above bootstrap-select's */

    /* top: -5px;
       left: 105%; */
    top: 105%;
    left: 0px;
}

.tooltip_my:hover .tooltiptext {
    visibility: visible;
}
.tt_abs { /* Absolutely positioned, to not be limited by parent */
    left: 30px;
    top: 10px;
    position: fixed;
    width: 300px; /* for the images */
}

.tt_abs>img {
    max-width: 100%; /* So it fits into div */
}

.tt_admin { /* Absolutely positioned, to not be limited by parent */
    background-color: black;
    color: orange;
    font-size: 120%;
    width: 40vw;
    /* height: 90vw; */
}

.ingredient {
    background: lightgrey;
    border-radius: 10px;
    padding: 3px;
    margin: 5px;
    /* min-width: 100px; */
    text-align: center;
    display: inline-block;
}

/* For nutrition table */
.style1 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 24px;
}
.style2 {
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    font-size:12px;
}
.style4 {
    font-family: Arial, Helvetica, sans-serif
}
.line {
    border-bottom: 1px solid black; 
    padding-left: 0; padding-right: 0;
    margin-left: 0; margin-right: 0;

}
td {
    border-style: none;
    margin-left: 0; margin-right: 0;
}
.border {
    border-style: none;
}
.style6 {font-size: 24px}
.style7 {font-size: 28px}

/* Border around product for browse.html */
.product_pod {
    border: 1px dashed lime; // lightgreen
}
.img-thumbnail {
    border: none;
}

/* Overlaps for allergens */
.overlap-icon {
    width: 50px;
    grid-column-start: 1;
    grid-row-start: 1;
}

.header-kupec {
    padding: 20px;
}
.color-header-kupec {
    background-color: rgb(243, 142, 213);
}

.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 0;
    margin-top: 10px;
    margin-bottom: 10px;
 }

.nav-text {
    font-size: 18px;
    color: rgb(34, 55, 241);
    padding: 10px;
}

.header-kupec img {
    vertical-align: middle;
}

.navbar-links {
    display: block;
    margin-top: 10px;
}

.nav-bar-kupec.nav-item {
    display: block;
    margin-top: 5px;
}


.disclaimer {
    text-align: center;
    font-size: 75%;
    color: darkgrey;
}
