@font-face {
    font-family: KenyanCoffee;
    src: url("../res/KenyanCoffee.woff2");
}
@font-face {
    font-family: Garamond;
    src: url("../res/garamond.woff");
}
@font-face {
    font-family: Gontserrat;
    src: url("../res/Gontserrat-Regular.woff");
}
html {
}
body {
    margin: 0;
    padding: 0;
    overflow: auto;
    font-family: Gontserrat;
}
a {
    text-decoration: none;
    color: #e43364;
    transition: color 0.2s, text-shadow 0.2s;
}
a:hover {
    color: #f69338;
    /*text-shadow: 0 0 0.5em black;*/
}
a:active {
}
#navbar {
    bottom: 0.5em;
    left: 0.5em;
    right: 0.5em;
}
a.nav {
    font-family: KenyanCoffee;
    font-size: 125%;
    color: white;
    margin: 0 0.5em;
    white-space: nowrap;
}
a.nav:hover {
    color: #e43364;
}
@media(hover: none) {
    a.nav:hover {
        color: unset;
    }
}
a.nav.current {
    color: #e43364;
}
a.specials {
    display: inline-block;
    background: #e43364;
    border-radius: 1em;
    padding: 0.25em 1em;
    color: white;
    text-shadow: none;
    box-shadow: 0.1em 0.1em 0.1em black;
    transition: background 0.2s, text-shadow 0.2s;
}
a.specials:hover {
    background: #f69338;
    text-shadow: 0 0 0.5em brown;
}

hr {
    border-top: thin solid black;
    border-bottom: thin solid #8888;
    margin: 1em 0;
    height: 1px;
}
.center {
    text-align: center;
}
.floatleft {
    float: left;
    padding-right: 1em;
}
.floatright {
    float: right;
    padding-left: 1em;
    text-align: right;
}
img.floatright, img.floatleft {
    clear: both;
    max-width: 100%;
    margin: 1em;
    padding: 0;
}
.clear {
    clear: both;
}

#top, #bottom, #promos {
    text-shadow: 0.1em 0.1em 0.1em black;
    margin: 0;
    padding: 1em;
    background: linear-gradient(to bottom, #444e, #111e), url("../img/static.jpg");
    color: white;
}
#promos {
    background: linear-gradient(to bottom, #eeee, #bbbe), url("../img/static.jpg");
    color: black;
    text-shadow: none;
}
#promos h3 {
    margin-top: 0;
}
.small {
    color: silver;
    font-size: 75%;
    /*font-weight: bold;*/
}
h1.logo {
    line-height: 0;
    float: left;
    color: white;
    background: #111;
    background-image: url("../img/tacaption.jpg");
    background-size: cover;
    background-position: 50% 55%;
    padding: 0.25em 0.5em;
    text-align: center;
    z-index: 1;
    position: relative;
    border-radius: 0.1em;
    margin: 0.25em;
    box-shadow: inset 0 0 0.1em white, 0 0.05em 0.1em black;
}
h1.logo img {
    height: 4em;
    width: auto;
}
h1, h2, h3 {
    font-family: KenyanCoffee;
}
h2 {
    font-size: 200%;
}
h2.big, #favorites h2 {
    background: #e43364;
    color: white;
    font-size: 220%;
    padding: 0.5em;
    margin: 0.5em -0.8em;
}
h3 {
    font-size: 130%;
}
#bottom {
    text-align: left;
}
#bottom a {
    color: silver;
    color: #f69338;
}
#bottom a:hover {
    color: #f69338;
    color: #e43364;
}
a.social {
    background: #f37f20;
    border-radius: 0.25em;
    padding: 0.5em;
    display: inline-block;
    height: 1.5em;
    margin: 0 0.1em 0.5em 0.1em;
}
a.social img {
    height: 1.5em;
    transform: scale(85%);
    transition: background 0.2s, transform 0.2s;
}
a.social:hover {
    background: #f69338;
}
a.social:hover img {
    transform: scale(100%);
}

a.orange {
    color: #f69338;
}
a.orange:hover {
    color: #e43364;
}

.toy_scenic {
    height: 30em;
    max-height: 60dvh;
    position: relative;
    background: #444;
}
.toy_scenic .slide {
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.toy_scenic .textfloat {
    font-family: Garamond;
    font-size: 400%;
    color: white;
    text-shadow: 0.05em 0.05em 0.1em black, 0 0 0.25em black;
    position: absolute;
}
@keyframes moveBG1 {
    0% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}
@keyframes moveBG2 {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}
#slide-greece {
    background-image: url("../img/greece.jpg");
    animation: moveBG1 5s ease-in-out both; /*infinite alternate */
}
#slide-greece .textfloat {
    top: 20%;
    left: 10%;
}
#slide-italy {
    background-image: url("../img/italy.jpg");
    animation: moveBG2 5s ease-in-out both;
}
#slide-italy .textfloat {
    bottom: 20%;
    left: 10%;
}
#slide-peru {
    background-image: url("../img/peru.jpg");
    animation: moveBG1 5s ease-in-out both;
}
#slide-peru .textfloat {
    top: 20%;
    right: 10%;
}
#slide-alaska {
    background-image: url("../img/alaska.jpg");
    animation: moveBG2 5s ease-in-out both;
}
#slide-alaska .textfloat {
    bottom: 20%;
    right: 10%;
}
#slide-paris {
    background-image: url("../img/paris.jpg");
    animation: moveBG2 5s ease-in-out both;
}
#slide-paris .textfloat {
    left: 60%;
    top: 40%;
}
#slide-costarica {
    background-image: url("../img/costarica.jpg");
    animation: moveBG2 5s ease-in-out both;
}
#slide-costarica .textfloat {
    bottom: 20%;
    left: 10%;
}
.toy_scenic .bar {
    position: absolute;
    background: #0008;
    backdrop-filter: blur(0.25em);
    display: flex;
    justify-content: space-evenly;
    bottom: 0;
    left: 0;
    right: 0;
    text-shadow: 0.05em 0.05em 0.1em black;
    /* box-shadow: inset 0 0 0.75em #fff8; */
}
.toy_scenic a {
    padding: 0.5em;
    color: silver;
}
.toy_scenic a:hover {
    /*color: #f69338;*/
}
.toy_scenic a.current {
    /*color: #e43364;*/
    color: #f69338;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: stretch;
}
.flex > * {
    flex: 1;
    padding: 0 0.25em;
    text-align: center;
}
.flex:not(.small) > *+* {
    border-left: thin solid grey;
}
.flex > img {
    height: auto;
    max-width: 50%;
    margin: auto 1em;
}

th {
    text-align: right;
    font-weight: normal;
}
td {
    text-align: left;
}

form {
    font-family: Gontserrat;
    background: linear-gradient(to right, #ddd, white);
    border: thick solid #bbb;
    border-image: linear-gradient(to right, #ccc, #999) 30;
    font-size: 10pt;
    width: 50em;
    max-width: 100%;
    position: relative;
    left: 0;
    right: 0;
    margin: auto;
    margin-bottom: 1em;
}
form label {
    display: inline-block;
    padding: 1em;
}
input, select, textarea {
    font-family: Gontserrat;
    font-size: 12pt;
    color: black;
    border-radius: 0.2em;
    display: block;
    box-sizing: border-box;
    width: 19em;
    max-width: 100%;
    background: white;
    border: thin solid grey;
    box-shadow: inset 0.1em 0.1em 0.25em #0002;
    padding: 0.25em;
}
input[type=checkbox] {
    width: unset;
    display: inline-block;
    font-size: 12pt;
    height: 1.5em;
    width: 1.5em;
}
textarea {
    height: 4em;
    width: 40em;
}
form button {
    font-size: 12pt;
    margin: 0.25em 0 1em 0;
}

.page {
}
.section {
    padding: 0 2em;
}
.section img {
    max-width: 400px;
}
.section a img {
    transform: scale(95%);
    transition: transform 0.2s;
}
.section a:hover img {
    transform: scale(100%);
}

@keyframes loopscroll {
	from {
		background-position-y: 0;
	}
	to {
		background-position-y: calc(-20dvw * 1888 / 300);
	}
}
#testimonials {
    background-image: url("../img/testimonial-vstrip.jpg");
    background-repeat: repeat-y;
    background-size: 20dvw;
    background-position: calc(100% - 1em);
    animation-name: loopscroll;

    animation-duration: 30s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}
#testimonials > div {
    background-image: linear-gradient(to bottom, white, #fff0 20%, #fff0 80%, white);
    background-repeat: no-repeat;
    background-size: 100%;
}
#testimonials blockquote, #testimonials .attribution {
    margin-right: 20dvw;
    line-height: 1.75em;
}
#testimonials .attribution {
    margin-bottom: 2em;
    padding-bottom: 1em;
}

.testimonial {
    background-size: cover;
    background-position: 50% 50%;
}
blockquote {
    color: #000b;
    margin-bottom: 0;
    text-align: justify;
}
blockquote:before, blockquote:after {
    font-size: 200%;
    vertical-align: middle;
    line-height: 0;
    color: #0006;
    color: #e43364;
}
blockquote:before {
    content: open-quote;
}
blockquote:after {
    content: close-quote;
}
blockquote .highlight {
    color: black;
    background: gold;
    background: linear-gradient(to bottom right, gold, #ffd70044);
}
.attribution {
    font-style: italic;
    margin-left: 4em;
}
.attribution:before {
    content: "-";
}

.cols {
    columns: 2;
    margin-bottom: 1em;
}
.nobreak {
    break-inside: avoid-column;
}
.cols h3 {
    margin: 0;
}
.cols p {
    margin: 1em 1em 2em 2em;
}

.blogpost>h2>a.close {
    margin-left: 1em;
    font-size: 60%;
}
.blogpost>h2>a.close:before {
    color: black;
    content: "[";
}
.blogpost>h2>a.close:after {
    color: black;
    content: "]";
}

.blogpost>p, .blogpost>div {
    /*margin: 0.5em 1em;*/
}
.blogpost img {
    max-width: 85%;
    height: auto;
}
.byline {
    display: none;
    font-style: italic;
    font-size: 85%;
    margin-left: 0.5em;
}
ul.blogsummary {
    list-style: none;
    padding: 1em 0;
}
ul.blogsummary li {
    padding-bottom: 0.5em;
}
ul.blogsummary li div {
    display: inline-block;
    width: calc(100% - 7em);
    vertical-align: middle;
}
ul.blogsummary li div div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}
ul.blogsummary li .thumbnail {
    /*background-color: #333;*/
    background-repeat: no-repeat;
    background-size: cover;
    width: 6em;
    height: 6em;
    padding: 0;
    margin-right: 0.5em;
    box-shadow: 0.1em 0.1em 0.5em #0008;
    border: solid white;
    background-position: 50% 30%;
    background-size: 100%;
    transition: background-size 0.2s;
}
ul.blogsummary li:has(a:hover) .thumbnail {
    background-size: 120%;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    width: 100dvw;
    height: 100%;
    height: 100dvh;
    background: #0008;
    backdrop-filter: blur(0.1em);
    margin: 0;
    padding: 0;
    z-index: 10;
    display: table;
    -webkit-user-select: none; /* Safari */
    user-select: none;
    cursor: pointer;
}
.lightbox .closebtn, .lightbox .prevbtn, .lightbox .nextbtn {
    position: absolute;
    font-size: 400%;
    color: white;
    cursor: pointer;
}
.lightbox .closebtn {
    top: 0.25em;
    right: 0.25em;
}
.lightbox .middle {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.lightbox img {
    max-width: 95vw;
    max-height: 95vh;
    background: white;
    border: thick solid white;
    box-shadow: 0 0.5em 2em black;
}

/* page-specific blog hacks */
#team .byline {
    display: none;
}
#team ul.blogsummary li div div {
    display: none;
}
#team .blogposts h2:has(+ul.hidden) {
    display: none;
}

#destinations p {
    line-height: 1.5em;
}
#destinations .blogpost h2 {
    display: none;
}
#vendors .blogpost h2 {
    display: none;
}

#tours img {
    width: 600px;
    max-width: 100%;
}

.tool, .minitool {
    clear: both;
    padding: 1em;
}
.minitool, .minitool .bubble {
    display: inline-block;
    text-align: center;
}
.tool .bubble {
    float: left;
}
.tool .bubble, .minitool .bubble {
    width: 10em;
    height: 10em;
    border-radius: 100%;
    background-size: 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-color: #e43364;
    margin: 0 1em;
    border: thin solid #e43364;
    transition: background-size 0.2s, border-color 0.2s;
}
.tool a:hover .bubble, .minitool a:hover .bubble {
    background-size: 120%;
    border-color: #f69338;
}
.tool p {
}

.centerblock {
    left: 0;
    right: 0;
    margin: auto;
    position: relative;
    display: inline-block;
    text-align: left;
}
.centerblock * + h3 {
    margin-top: 3em;
}

iframe {
    border: none;
}
.blogpost iframe, .toy_jukebox iframe {
    width: 600px;
    max-width: 100%;
    height: 300px;
}
.fade {
    opacity: 1;
    transition: opacity 0.5s;
}
.fade.out {
    opacity: 0;
}

.license {
    background: white;
    display: inline-block;
    text-align: left;
    padding: 1em;
    line-height: 2em;
    cursor: unset;
    cursor: auto;
    user-select: text;
    border-radius: 0.25em;
    box-shadow: 0.1em 0.1em 1em #0008;
}
.license h3 {
    background: #e43364;
    color: white;
    margin: -0.5em -0.5em 0.5em;
    text-align: center;
    border-radius: 0.15em 0.15em 0 0;
}

@media (max-width: 55em) {
    .cols {
        columns: 1;
    }
    form {
        width: 26em;
    }
    form label {
        display: block;
    }
    form textarea {
        width: 19em;
    }
}
@media (max-width: 40em) {
    h1.logo {
        display: block;
        float: unset;
        border-radius: 0;
        margin: 0;
    }
    .floatright, .floatleft, img.floatright, img.floatleft {
        display: block;
        float: unset;
        margin: auto;
        text-align: center;
        padding: 0.5em 0;
    }
    #vendors h3 .floatright {
        float: right;
    }
    .toy_scenic {
        height: 20em;
    }
    .toy_scenic a {
        font-size: 90%;
    }
    .section {
        padding: 0 0.5em;
    }
    .section img {
        max-width: 75%;
    }
    h2.big, #favorites h2 {
        margin: 0.5em 0;
    }
    .tool .bubble {
        width: 15em;
        height: 15em;
        float: none;
        display: inline-block;
    }
    .tool > a:first-child {
        display: block;
        text-align: center;
    }
    blockquote {
        margin-left: 1em;
        margin-right: 1em;
    }
    #testimonials blockquote, #testimonials .attribution {
        margin-right: 25dvw;
    }
}

.hidden {
    display: none;
}
