* { -webkit-overflow-scrolling: scroll; }

html, body {
    display: grid;
    grid-template-columns: auto;

    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    line-height: 1;
    background-color: whitesmoke;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    overflow-x: hidden;
}

a { text-decoration: none; color: white;}

h
{
    text-align: center;
    margin: 0;
    padding: 0;

    margin-top: 10px;
    margin-bottom: 10px;

    font-size: 40px;
}

.header
{
    display: grid;
    grid-template-columns: 50px auto;
    grid-template-rows: 60px auto;

    align-items: center;

    margin: 0px;
    margin-bottom: 20px;

    padding: 10px;

    background-color: white;

    box-shadow: 0 0px 0px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.header .dropMenuButton
{
    height: 20px;
    width: 30px;
    object-fit: fill;
    margin-right: 12px;
    margin-left: 12px;
}

.header .dropMenu
{
    grid-column: span 2;
    flex-basis: 100%;
    margin-left: 20px;
}

.header .dropMenu .dropMenuRow
{
    border-bottom: 1px solid black;
    font-size: 24px;
    cursor: pointer;
}

.header .t1
{
    font-size: 50px;
    margin-left: 12px;
}

#home_choice_bb_house
{
    margin-top: 0;
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: 0;

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1em;
}

#card_tdi
{
    display: flex;
    flex-direction: column;
    grid-template-columns: auto;
    align-items: start;
    background-color: white;
    padding: 10px;

    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
#card_tdi h { justify-self: left; }
#card_tdi p
{
    font-size: 1em;
}

.gallery_card
{
    grid-column: span 2
}

/*
    split view
*/
.split
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1em;
}

/*
    gallery 4 images 1st bigger
*/
.gal_4_1
{
    align-self: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 400px 180px;
    grid-auto-flow: dense;
    grid-gap: 4px;
}
.gal_4_1 img
{
    width: 100%;
    height: 100%;
    min-height: 0;
    min-width: 0;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
.gal_4_1 #gal_4_1_1st
{
    grid-column: span 3;
}

/*
    grid Gallery
*/
.gridGallery
{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: 550px;
}

.gridGallery img
{
    width: 100%;
    height: 100%;
    min-height: 0;
    min-width: 0;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}


/*
    gallery mosaic
*/
.gallery {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    grid-auto-rows: 550px;
    grid-auto-flow: dense;

    align-content: center;
    justify-content: center;
    grid-gap: 10px;
}
.gallery img
{
    width: 100%;
    height: 100%;
    min-height: 0;
    min-width: 0;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
.gallery img {
    grid-column: span 1;
    grid-row:  span 1;
    min-height: 0;
    min-width: 0;
}
.gallery img:nth-child(3n) {
    grid-column: span 2;
    grid-row:  span 1;
}

/*
    title picture view.
*/
.tpLItem {
    display: grid;

    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: 550px;

    grid-gap: 2px;
}
.tpLItem img {
    width: 100%;
    height: 100%;
    min-height: 0;
    min-width: 0;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
.tpLItem h{
    justify-self: center;
    align-self: center;

    font-size: 20pt;

    grid-column: span 1;
}
.tpLItemSmall {
    grid-column: span 1 !important;
}
.tpLItemBig {
    grid-column: span 2 !important;
}
.tpLItemMassive {
    grid-column: span 3 !important;
}

/*
    Button
*/
.button
{
    justify-self: center;
    align-self: center;
    border-radius: 4px;
    background-color: rgb(40, 94, 175);
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 18px;
    padding: 10px;
    width: 200px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 10px;

    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  }
.button span
{
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}
.button span:after
{
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}
.button:hover span { padding-right: 25px;}
.button:hover span:after
{
    opacity: 1;
    right: 0;
}

/*
    Booking options card
*/
.booking_opts
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    grid-gap: 10px;

    background-color: white;

    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    margin: 1rem;
}
.booking_opts h { grid-column: span 2; }
.booking_opts .button { width: 90%; max-width: 780px; }

/*
    Google Maps map
*/

.location
{
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;

    padding: 10px;

    background-color: white;

    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    margin: 1rem;
}

.location #googleMapsMap {
    min-height: 400px;
    width: 100%;
    align-self: center;

    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.timingTable
{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}
.timingTable .tb1 {grid-column: span 1;}
.timingTable .tb2 {grid-column: span 2;}
.timingTable .tb3 {grid-column: span 3;}
.timingTable .tb4 {grid-column: span 4;}
.timingTable .tb5 {grid-column: span 5;}
.timingTable .tb6 {grid-column: span 6;}
.timingTable .tb7 {grid-column: span 7;}
.timingTable .tb8 {grid-column: span 8;}
.timingTable p {font-size: 18px; line-height: 14px; height: 14px; text-align: left; margin-left: 10px; margin-right: 10px;}

.distLabel
{
    align-self: center;
    font-size: 14px;
}

.distLabelDiv
{
    align-self: center;
    background-color: rgb(36, 136, 222);
    height: 18px;
    border-radius: 12px;
}

.boxed
{
    display: grid;
    padding: 20px;

    background-color: white;

    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    margin: 1rem;
}


/*
    Flow numbered items.
*/
.fni {
    border-top: 3px solid;
    border-color: black !important;
    margin:0; padding: 30px;
    counter-increment: section;
    position: relative;
  }

.fni:nth-child(even):before {
    content: counter(section);
    right: 100%;
    margin-right: -20px;
    position: absolute;
    border-radius: 50%;
    padding: 10px;
    height: 20px;
    width: 20px;
    background-color: black;
    text-align:center;
    color: white;
    font-size: 110%;
}

.fni:nth-child(odd):before {
    content: counter(section);
    left: 100%;
    margin-left: -20px;
    position: absolute;
    border-radius: 50%;
    padding: 10px;
    height: 20px;
    width: 20px;
    background-color: black;
    text-align:center;
    color: white;
    font-size: 110%;
}

.fni:nth-child(even) {
    border-left: 2px solid;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    margin-right: 30px;
    padding-right: 0;
}

.fni:nth-child(odd) {
    border-right: 2px solid;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    margin-left: 30px;
    padding-left: 0;
}

.fni:first-child {
    border-top: 0;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.fni:last-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}


/*
    Footer
*/
footer
{
    background-color: black;
    color: white;
    text-align: center;
}

/*
    Mobile
*/
@media(max-width: 900px)
{
    .gallery_card
    {
        grid-column: span 1
    }
    #t1
    {
        font-size: 42px;
    }
    #home_choice_bb_house {grid-template-columns: auto;}
    .gal_4_1 {grid-template-rows: 300px 150px; align-self: center;}

    .distLabel
    {
        font-size: 10px;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
    }
}
