#timetables-link,
#what-to-visit-link {
    cursor:pointer;
}

#timetables-info, #what-to-visit-info {
    display:none;
}

.show {
    display:block !important;
}


/*
-----------------
SQUARE MENU
-----------------
*/

#grid-menu {
    padding-top: 15px;
    padding-top: min(max(10px,1.3vw),20px);
    padding-bottom: 15px;
    padding-bottom: min(max(10px,1.3vw),20px);
}

 .grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 15px;
    margin-bottom: min(max(10px,1.3vw),20px);
    grid-gap: 15px;
    grid-gap: min(max(10px,1.3vw),20px);
}
 .grid > a {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
     background: #abcd3e;
}

.grid > a > img {
position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.grid > a > span {
    text-align: center;
    position: absolute;
    top: 50%;
    padding: 5%;
    text-transform: uppercase;
    z-index: 1;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px black;
    line-height: 1em;
    font-size: 20px;
    font-size: min(max(12px, 2.5vw), 30px);
    transform: translate(-50%,-50%);
    left: 50%;
    min-width: 100%;
}

.grid > a::before {
  content: "";
  padding-bottom: 50%;
  display: inline-block;
  vertical-align: top;
     border-radius: 10px;
}

.grid > a::after {
  content:"";
  position: absolute;
  width: 100%;
  height: 33%;
  bottom: 0;

background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(0,0,0,0.75) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(0,0,0,0.75) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(0,0,0,0.75) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#bf000000',GradientType=0 ); /* IE6-9 */
transition: height 0.5s, background 0.5s, opacity 0.5s;
 border-radius: 10px;

    display:none;
}


/*@media screen and (max-width:640px) {*/
    .grid {
        grid-template-columns: 1fr;
    }

    .grid > a::before {
        padding-bottom: 15vmin;
    }
/*}*/




/* -------------------------------------- */



.text span > em:first-child {
    padding-left: 25px;
    padding-left: min(max(22px, 1.8vw),30px);
    font-style: normal;
    font-weight: bold;
}


.text span > em:first-child:before {
    content:"";
    background-image: url(../img/icons/time.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    filter: invert(68%) sepia(77%) saturate(384%) hue-rotate(30deg) brightness(100%) contrast(84%); /*https://codepen.io/sosuke/pen/Pjoqqp*/
    display: block;
    position: absolute;
    height:26px;
    height:min(max(22px, 1.8vw),30px);
    width:26px;
    width:min(max(22px, 1.8vw),30px);
    margin: -1px;
}



/* ------------------------- */

/*

@media only screen and (max-device-width: 768px) and (orientation: portrait) {
}

@media only screen and (min-device-width: 1024px) {
}
*/
/* ------------------------- */
/*
#sendEditable {
    display: block;
}
*/
