.tripbuilder-page .expiredWarning { display: none; margin-bottom: 10px; margin-top: 10px; }

/* begin: google maps */
.tripbuilder-page .gMapContainer .showGMap .isOpen { display:none; }
.tripbuilder-page .gMapContainer .showGMap .isClosed { display:block; }

.tripbuilder-page .gMapContainer.open  .showGMap .isOpen { display:block; }
.tripbuilder-page .gMapContainer.open  .showGMap .isClosed { display:none; }

.tripbuilder-page .gMapContainer .gMapHolder { height:300px;display:none; }
.tripbuilder-page .gMapContainer.open .gMapHolder { display:block; }

.tripbuilder-page .gMapContainer .showGMap { margin-bottom:10px;background:#999;text-transform:uppercase;color:#fff;letter-spacing:1px;cursor:pointer;font-size:10px;font-weight:bold;text-align:center; }
.tripbuilder-page .gMapContainer .showGMap > div { padding:5px 0; }

.tripbuilder-page .gMapContainer .gMapHolder img { max-width:none; } /* foundation overwrite for info window close button */
/* end: google maps */

.panel-header .tripbuilder .tripItems{
    display: flex;
    align-items: center;
    position: relative;
    margin-right: 18px;
    color: #FFF;
}


.panel-header .mobile-nav .tripbuilder .tripItems {
    margin-right: 0;
}

.panel-header .tripbuilder .tripItems i{
    font-size: 19px;
}

.panel-header .tripbuilder .tripItems span {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0668a4;
    border-radius: 50%;
    font-size: 9px;
    font-family: "Raleway", sans-serif;
    position: absolute;
    right: -10px;
    top: -3px;
}

.tripbuilder-page {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0 15px;
}

.tripbuilder-page h4 {
    margin-bottom: 15px;
}

.tripbuilder-page .step i.fa-heart {
    color: #d42727;
}

.tripbuilder-page .tb-grid {
    margin-bottom: 35px;
}

.tripbuilder-page .tb-grid .card {
    margin: 15px 0;
}
.tripbuilder-page .tb-grid .card .inner {
    position: relative;
    box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.15);
    width: 100%;
    height: 100%;
}

.tripbuilder-page .tb-grid .card img {
    width: 100%;
}

.tripbuilder-page .tb-grid .card .info {
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.tripbuilder-page .tb-grid .card h6,
.tripbuilder-page .tb-grid .card h6 a {
    font: normal bold 22px/1.2em 'Playfair Display', serif;
    color: #002943;
    margin: 0 0 15px;
    letter-spacing: 0.05em;
}

.tripbuilder-page .tb-grid .card ul {
    font: normal 400 16px/1.4em 'Playfair Display', serif;
    list-style: none;
    margin: 0;
    color: #002943;
}

.tripbuilder-page .tb-grid .card li {
    margin-bottom: 10px;
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    color: #002943;
    font-size: 16px;
    line-height: 1.2em;
}

.tripbuilder-page .tb-grid .card li:last-child {
    margin-bottom: 0;
}

.tripbuilder-page .tb-grid .card li.locations {
    margin-bottom: 20px;
}

.tripbuilder-page .tb-grid .card i {
    color: #0668a4;
    margin-right: 5px;
    width: 15px;
}

/*Modal Styles*/
.reveal-modal {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    position: fixed !important;
}

.reveal-modal span.prefix {
    color: #002943;
    font-size: 18px;
    font-weight: 700;
    line-height: 45px;
    height: 45px;
}

.reveal-modal select {
    color: #002943;
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    height: 45px;
}

.reveal-modal .button.small {
    background: #242f44;
    margin: 0;
    font: normal 700 14px/1.2em 'Playfair Display', serif;
}

.tripbuilder-page .infoWindow h5,
.tripbuilder-page .infoWindow h5 a {
    font: normal 700 16px/1.2em 'Playfair Display', serif;
    text-decoration: none;
    margin-bottom: 6px;
    margin-top: 0;
    color: #002943;
}

.tripbuilder-page .infoWindow span {
    font: normal 500 13px/1.2em 'Playfair Display', serif;
    color: #002943;
    margin-bottom: 6px;
}

@media (min-width: 40em) {
    .tripbuilder-page {
        margin-top: 45px;
    }
    .tripbuilder-page .tb-grid  {
        display: flex;
        flex-wrap: wrap;
    }

    .tripbuilder-page .tb-grid .card {
        flex-shrink: 1;
        flex-grow: 0;
        flex-basis: calc(50% - 15px);
        margin: 7.5px;
    }

    .tripbuilder-page .tb-grid .card .inner {
        height: 100%;
    }

    .tripbuilder-page .tb-grid_container h5 {
        margin-bottom: 8px;
    }

    .tripbuilder-page .tb-grid .card li {
        font-size: 20px;
    }

    .tripbuilder-page .tb-grid .card li:not(.locations) {
        font-size: 16px;
    }
    @supports (display: grid) {
        .tripbuilder-page .tb-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-gap: 15px;
        }

        .tripbuilder-page .steps .step,
        .tripbuilder-page .tb-grid .card {
            padding: 0;
            margin: 0;
        }
    }
}

@media (min-width: 64em) {
    .tripbuilder-page .steps {
        display: flex;
    }

    .tripbuilder-page .steps .step {
        flex-basis: 33.3333%;
        padding: 0 7.5px;
    }

    .tripbuilder-page .steps .step h6{
        font-size: 20px;
    }

    .tripbuilder-page .tb-grid .card {
        flex-basis: calc(33.33333% - 15px);
    }

    @supports (display: grid) {
        .tripbuilder-page .steps {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            grid-column-gap: 30px;
        }

        .tripbuilder-page .steps .step {
            padding: 0;
        }
        
        .tripbuilder-page .tb-grid {
            grid-template-columns: 1fr 1fr 1fr;
            grid-gap: 20px;
        }
    }
}

/*POPUP*/
.get-direction-popup {
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
    background-color: #fff;
    padding: 50px 20px 30px;
    border: solid 1px #666;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    border-radius: 8px;
}

.get-direction-popup .close-popup {
    padding: 0;
    right: 6px;
}

.get-direction-popup .select-container { display: flex; }
.get-direction-popup .select-container .tb-popup-label { width: 20%; }
.get-direction-popup .select-container .tb-popup-select { width: 80%; }

.get-direction-popup .select-container .tb-popup-label > span {
    background: #002943;
    color: #FFF;
    text-transform: uppercase;
    font-weight: bold;
    border-right: none;
    display: block;
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    overflow: hidden;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    height: 2.3125rem;
    line-height: 2.3125rem;
}