.tripbuilder-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 0 15px;
    height: 100%;
    color: currentColor;
    white-space: nowrap;
}

.tripbuilder-counter:hover {
    color: currentColor;
}

.tripbuilder-counter .tb-text.desktop {
    display: none;
}

@media screen and (min-width: 64em) {
    .tripbuilder-counter .tb-text.desktop {
        display: inline-block;
    }
}

.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:var(--gray-d9);text-transform:uppercase;color:var(--white);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; } /* Reboot overwrite for info window close button */
/* end: google maps */

.tripbuilder-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.tripbuilder-page:is(.core-styles, .contentRender_name_plugins_core_textbox) a {
    text-decoration: none;
}

.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;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gray-e5);
}

.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 var(--font-fraunces);
    color: var(--gray-1e);
    margin: 0 0 10px;
}

.tripbuilder-page .tb-grid .card ul {
    font: normal 400 16px/1.4em var(--font-fraunces);
    list-style: none;
    margin: 0;
    color: var(--gray-1e);
}

.tripbuilder-page .tb-grid .card li {
    margin-bottom: 10px;
    font-size: var(--text-base);
    font-weight: 400;
    line-height: var(--leading-snug);
}

.tripbuilder-page .tb-grid .card li:last-child {
    margin-bottom: 0;
}

.tripbuilder-page .tb-grid .card li.locations {
    margin-bottom: 15px;
}

.tripbuilder-page .tb-grid .card li.locations span {
    display: block;
}

.tripbuilder-page .tb-grid .card li.locations span:not(:first-of-type) {
    padding-left: 20px;
}

.tripbuilder-page .tb-grid .card i {
    color: var(--dark-gray);
    margin-right: 5px;
    width: 15px;
}

.tripbuilder-page .tb-remove {
    cursor: pointer;
}

/*Modal Styles*/
.reveal-modal {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    position: fixed !important;
}

.reveal-modal span.prefix {
    color: var(--gray-1e);
    font-size: 18px;
    font-weight: 700;
    line-height: 45px;
    height: 45px;
}

.reveal-modal select {
    color: var(--gray-1e);
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    height: 45px;
}

.reveal-modal .button.small {
    background: var(--blue-20);
    margin: 0;
    font: normal 700 14px/1.2em var(--font-fraunces);
}

.tripbuilder-page .infoWindow h5,
.tripbuilder-page .infoWindow h5 a {
    font: normal 700 16px/1.2em var(--font-fraunces);
    text-decoration: none;
    margin-bottom: 6px;
    margin-top: 0;
}

.tripbuilder-page .infoWindow span {
    font: normal 500 13px/1.2em var(--font-fraunces);
    color: var(--gray-1e);
    margin-bottom: 6px;
}

@media (min-width: 40em) {
    .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;
    }

    @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 .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;
        }
    }
}

.tripbuilder-page input.share-link {
    width: 100%;
}

/*POPUP*/
.get-direction-popup {
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
    background-color: var(--white);
    padding: 50px 20px 30px;
    border: solid 1px var(--gray-66);
    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: var(--dark-teal);
    color: var(--white);
    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: var(--gray-d9);
    overflow: hidden;
    font-size: 0.875rem;
    height: 2.3125rem;
    line-height: 2.3125rem;
}

.tripbuilder-page .gm-style img[src*="/includes/public/assets/shared/map-pin.svg"] {
	max-width:25px !important;
}