/*
(c) Adfore Technologies Oy 2017 
*/
/* 
    Created on : 04-Sep-2017, 10:46:10
    Author     : tuukka.laakso
*/

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

@media (min-width: 576px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 992px;
  }
  .sideContainer {
    max-width: 330px;
  }
  .page #mapContainer {
    margin-top: 1.5rem;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 975px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.btn:focus {
    box-shadow: none;
}

@media (max-width: 576px) {
    .list-collapse {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .list-collapse .list-group-item {
        flex: 1 1 33.3333%;
        min-width: 33.3333%;
        border-right: 1px solid rgba(0,0,0,0.125);
        border-bottom: 0;
    }
    .list-collapse .list-group-item:last-child {
        border-right: 0;
        margin-bottom: -1px;
        border-bottom-right-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
    }
    .list-collapse .list-group-item span {
        display: none;
    }
    /* lunch card */
    .card.col-md-8.p-0 {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
}

.banner {
    text-align: center;
}

.banner img {
    max-width: 100%;
    height: inherit;
}

.page #infoHeader, .page #infoContainer {
    display: none !important;
    display: none !important;
}

.info #header {
    display: none !important;
}

#header {    
    color: white;
    text-transform: uppercase;
    letter-spacing: 10px;
    height: 200px;
    background-position: center;
    text-align: center;
    text-shadow: 1px 1px rgba(0,0,0,0.5);
}

#infoHeader {
    height: 200px;
    position: relative;
    overflow: hidden;
}

#infoHeader > .headerBg {
    left: 0;
    right: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#infoHeader > .headerImg {
    -ms-flex-item-align: center;
    align-self: center;
    padding: 20px;
    /* has to be white incase transparent logo */
    background-color: white;
    border-radius: 2000px;
    z-index: 2;
    max-width: 100%;
}

#infoHeader > .headerImg > img {
    max-height: 80px;
    max-width: 100%;
}

.navbar.sticky-top {
    border-bottom: 3px solid #e3e3e3;
    padding: 0 0.5rem 0.5rem;
}

ul.navbar-nav {
    margin-top: 0.5rem;
}

.navbar-separator {
    border-right: 1px solid rgba(0,0,0,0.3);
    margin-right: 5px;
    padding-right: 5px;
}

.navbar-nav.weekdays .nav-item {
    margin-left: .5rem;
    width: 34px;
}

.navbar-nav.weekdays .nav-link {
    text-align: center;
    padding: 5px 0;
}

.navbar-nav.weekdays .nav-item.active > .nav-link {
    color: white;
    background-color: rgba(0,0,0,0.9);
    border-radius: 50px;
    text-align: center;
}

.nav-link > img {
    height: 32px;
    margin-top: -8px;
    margin-bottom: -4px;
    margin-right: 5px;
}

.progr {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    color: #0071ba;
}

img.card-img-top {
    width: auto;
    align-self: center;
    border-top-left-radius: 0;
    max-width: 95%;
    max-height: 200px;
}

.card-group {
    margin-bottom: 20px;
}

#mapContainer {
    width: 100%;
    height: 320px;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    position: relative;
}

#mapBlocker {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#mapContainer.expandedMap #mapBlocker {
    display: none;
}

.H_ib_content {
    font-size: 12px;
    line-height: initial;
    min-height: 24px;
    min-width: 80px !important;
}

.infoBubbleStretcher {
    clear:both;
    height: 1px;
    min-width: 150px;
    width: 100%;
    border-top: solid;
    border-top-width: 1px;
    border-top-color: black;
}

.resultLogo {
    max-width: 32px;
    max-height: 32px;
    padding: 0 8px 0 0;
}

.infoBubbleLogo {
    padding-left: 5px;
    padding-top: 1px;
    padding-bottom: 1px;
    width: 24px;
    height: 24px;
}

#mapContainer.expandedMap {
    position: fixed;
    top: 0;
    left: 5%;
    z-index: 1050;
    right: 5%;
    width: auto;
    height: auto;
    bottom: 0px;
    margin-top: 1rem;
}

#mapContainer:not(.expandedMap) .shrink {
    display: none;
}

#mapContainer.expandedMap .expand {
    display:none;
}

#globalModal {
    z-index: 1049;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
}

.lunchHeader {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 80%;
    margin-bottom: 0.5em;
}

.lunchOh {
    font-weight: 600;
}

.lunchDescW {
    font-size: 80%;
    margin-bottom: 1.25em;
    border-bottom: 1px solid rgba(0,0,0,0.5);
    padding-bottom: 1em;
}

.lunchDesc {
    margin-bottom: 1.25em;
    padding-bottom: 1.25em;
    border-bottom: 1px solid rgba(0,0,0,0.5);
}

.lunchDesc:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.day1 .lunchHeader.day1, .day2 .lunchHeader.day2, .day3 .lunchHeader.day3, 
.day4 .lunchHeader.day4, .day5 .lunchHeader.day5, .day6 .lunchHeader.day6,
.day0 .lunchHeader.day0 {
    background-color: black;
    color: white;
    display: inline-block;
    padding-left: 8px;
    margin-left: -8px;
    padding-right: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    border-radius: 8px;
}

#collectionContainer a {
    overflow: hidden;
    height: 24px;
}

.couponBorder .card-title, .hotdeal .card-title {
    color: #651FFF;
    color: #651FFF;
}

.quotImg {
    display: inline-block;
    float: right;
    height: 18px;
}

.messageTimestamp {
    color: #393939;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 300;
}

.aImage img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.aImage {
    max-width: 100%;
}

.couponBorder .small {
    font-size: 100%;
}

.borderTop {
    border-top: 1px solid rgba(0,0,0,0.125)
}

.couponBorder {
    border: 1px dashed #651FFF;
}

.hotdealHeader, .couponHeader {
    margin-top: -1.25rem;
    margin-left: -1.25rem;
    margin-bottom: 0.75rem;
    margin-right: -1.25rem;
    background-color: rgba(0,0,0,.03);
    padding: .75rem 1.25rem;
}

#pageData > .poi {
    cursor: pointer;
}

#partnerLinks img {
    max-height: 32px;
    max-width: 100%;
}

.card-link {
    display: block;
    margin-left: 0 !important;
}

#topBanner > *:not(:empty) {
    margin-bottom: 1rem;
}

.info #topBanner, .info #filters {
    display: none;
}

#weather img {
    filter: brightness(0.5);
}

table.lunchMenu {
    width: 100%;
    margin: 0.5rem 0;
    display: block;
}

table.lunchMenu tbody {
    display: block;
}

table.lunchMenu tr {
    display: flex;
}

table.lunchMenu tr:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,0.15);
}

table.lunchMenu td {
    padding: 0.5rem 0;
    font-weight: 600;
    display: block;
}

table.lunchMenu .lunchMenuPrice {
    text-align: right;
}

table.lunchMenu .lunchMenuPrice:not(:empty) {
    padding-left: 1rem;
}

table.lunchMenu .lunchMenuDiets {
    font-weight: 400;
    text-align: right;
    flex-grow: 1;
}

table.lunchMenu .lunchMenuDiets:not(:empty) {
    padding-left: 0.5rem;
}

.lunchMenuFooter {
    font-size: 75%;
}

.list-hero {
    text-align: center;
    font-size: 140%;
    font-weight: 300;
    line-height: 1.1;
}

.lunchPick {
    background-color: #e3e3e3;
}
.lunchPick span {
    text-transform: uppercase;
}

.evasteasetukset {
  cursor: pointer;
  color: #007bff !important;
}

.evasteasetukset:hover {
    color: #0056b3 !important;
    text-decoration: underline !important;
}