/* Colours */
/* Fonts */
/* Reset */
html {
  box-sizing: border-box;
  font-size: 16px;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

input,
select,
textarea {
  border: solid 1px #e6e6e6;
}

button:focus,
input:focus,
select:focus,
option:focus {
  outline: none;
}

/* Typography */
body {
  font: 100% "Source Sans Pro", sans-serif;
  color: #154153;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Source Sans Pro", sans-serif;
  color: #154153;
  font-weight: bold;
}

/* Base */
.xdebug-var-dump {
  font-size: 14px;
}

.env.andy {
  border: solid 2px #f00;
}

.env.staging {
  border: solid 2px #ff8800;
}

a {
  color: #154153;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

.max-width {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.bold {
  font-weight: bold;
}

#autosuggest {
  position: relative;
}
#autosuggest .autosuggest_controls {
  display: flex;
  align-items: center;
}
#autosuggest .autosuggest_controls label {
  display: none;
  margin-right: 1rem;
}
#autosuggest .autosuggest_controls input {
  flex-grow: 1;
}
#autosuggest .autosuggest_options {
  position: absolute;
  left: 0;
  right: 0;
  padding: 0.5rem 0;
  font-size: 14px;
  z-index: 20;
  list-style: none;
  background-color: #FFF;
  border: 1px solid #e6e6e6;
  border-top: solid 1px #FFF;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  text-align: left;
}
#autosuggest .autosuggest_options li {
  padding: 0.5rem;
  cursor: pointer;
}
#autosuggest .autosuggest_options li.active {
  background-color: #EEE;
}

/* Buttons */
.button {
  padding: 15px 30px;
  font-size: 17px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  border-radius: 15px;
  text-transform: uppercase;
  cursor: pointer;
  background-color: #DDD;
  border: 0;
  letter-spacing: 1px;
}
.button.primary {
  background-color: #06C2C9;
  color: #FFF;
}
.button.secondary {
  background-color: #E6EBFF;
  color: #154153;
  border: solid 1px #ccd0e2;
}
.button.medium {
  padding: 13px 25px;
  font-size: 14px;
}
.button.small {
  padding: 10px 20px;
  font-size: 12px;
}
.button.disabled {
  background-color: #DDD;
  cursor: default;
}
.button:hover, .button:visited {
  text-decoration: none;
}

#modal-backdrop {
  position: fixed;
  display: flex;
  justify-content: space-around;
  align-items: center;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}

#modal-container {
  position: relative;
  max-height: 90%;
  max-width: 1058px;
  margin: 20px;
  padding: 20px;
  border-radius: 10px;
  background-color: #FFF;
  z-index: 1001;
  overflow: auto;
  color: #565656;
  font-size: 16px;
  line-height: 24px;
}
#modal-container .tcl-modal-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  color: #FFF;
  background-color: #000;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 2px;
}

.tcl-modal {
  display: none;
}

.tcl-modal-active {
  display: inline-block;
}

/* Header */
.banner {
  padding: 10px 20px;
  background-color: rgba(230, 235, 255, 0.5);
  color: #154153;
}
.banner .container {
  display: flex;
  justify-content: space-between;
}
.banner a {
  text-decoration: underline;
}
.banner i {
  padding: 0 5px;
  cursor: pointer;
}

header {
  position: absolute;
  width: 100%;
  min-width: 350px;
  z-index: 30;
}
header .container {
  display: flex;
  position: relative;
  height: 70px;
  align-items: center;
  justify-content: space-between;
}
header img {
  position: relative;
  height: 40px;
}
header .menu .header {
  cursor: pointer;
}
header .menu .header .sub-menu {
  display: none;
}
header .menu .header.active > .sub-menu {
  display: flex;
}
header .menu a {
  color: #FFF;
}
header .menu a.active {
  text-decoration: underline;
}
header .menu .sub-menu {
  position: absolute;
  right: 20px;
  top: 80px;
  flex-direction: column;
}
header .menu .sub-menu li {
  margin-bottom: 30px;
  text-align: right;
}
header .menu .desktop {
  display: flex;
  font-size: 15px;
  align-items: center;
  color: #FFF;
  z-index: 2;
  white-space: nowrap;
}
header .menu .desktop .sub-menu {
  top: 70px;
}
header .menu .desktop li {
  margin-left: 30px;
}
header .menu .mobile {
  display: none;
}
header .menu .mobile .hamburger {
  display: inline-block;
  transform: rotate(90deg);
  font-weight: bold;
  color: #FFF;
}
header .menu .mobile .sub-menu {
  top: 50px;
  padding: 10px 20px;
  background-color: #0008;
}

@media (max-width: 850px) {
  header .menu .desktop {
    display: none;
  }
  header .menu .mobile {
    display: initial;
  }
}
/* Work with us */
#work-with-us {
  max-width: 600px;
}
#work-with-us .content {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}
#work-with-us .content div {
  display: flex;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
#work-with-us .content p {
  margin-top: 20px;
  text-align: center;
}
#work-with-us .content .button-container {
  display: flex;
  align-items: center;
  margin-top: 40px;
}
@media (max-width: 600px) {
  #work-with-us .content {
    flex-direction: column;
  }
  #work-with-us .partner {
    margin-top: 40px;
  }
}

footer {
  margin-top: 40px;
  padding: 40px 0;
  background-color: #214051;
  color: #E6EBFF;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .link-container {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
footer .link-container > div {
  margin: 0 10px;
  margin-bottom: 40px;
}
footer .link-container h3 {
  margin-bottom: 30px;
  font-size: 16px;
  color: #E6EBFF;
  text-transform: uppercase;
}
footer .link-container li {
  margin-bottom: 10px;
}
footer .link-container a {
  color: #E6EBFF;
}
footer .link-container p {
  font-size: 12px;
  line-height: 2;
}
footer .link-container .social-links .im {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}
footer .link-container .social-links .im i {
  margin-right: 10px;
  font-size: 1.2em;
}
footer .link-container .social-links .im a {
  margin-bottom: 10px;
  font-size: 0.9em;
}
@media (max-width: 600px) {
  footer .link-container {
    flex-direction: column;
  }
}
footer .info-container {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
footer .info-container .safetravels {
  display: flex;
  align-items: center;
}
footer .info-container .safetravels .logo {
  display: inline-block;
  width: 120px;
  height: 120px;
  background-image: url(/assets/images/safe-travels-white-logo.png);
  background-position: 50%;
  background-size: 100px;
  background-repeat: no-repeat;
}
footer .info-container .safetravels:hover .logo, footer .info-container .safetravels.active .logo {
  background-image: url(/assets/images/safe-travels-blue-logo.png);
}
footer .info-container .info {
  text-align: center;
  font-size: 12px;
}
footer .info-container .heart {
  display: inline-block;
  height: 14px;
  width: 20px;
  background-image: url(/assets/images/heart.png);
  background-size: 14px;
  background-position: 50%;
  background-repeat: no-repeat;
}
footer .newsletter {
  margin-bottom: 20px;
}
footer .newsletter h3 {
  font-size: 16px;
  color: #E6EBFF;
  text-transform: uppercase;
  text-align: center;
}
footer .newsletter .message {
  max-width: 500px;
  margin: 20px auto 20px auto;
  padding: 5px 10px;
  border-radius: 5px;
  text-align: center;
}
footer .newsletter .message.errors {
  background-color: #F00;
  border: solid 1px #F00;
}
footer .newsletter .message.hidden {
  display: none;
}
footer .newsletter .message.ok {
  background-color: #06bb06;
  border: solid 1px #06bb06;
  text-align: center;
}
footer .newsletter .container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
footer .newsletter input {
  width: initial;
  margin: 10px 10px 0 0;
  padding: 5px 10px;
  border: solid 1px #FFF;
  border-radius: 5px;
  color: #000;
}
footer .newsletter input[name=email] {
  min-width: 200px;
}
footer .newsletter .button {
  margin-top: 10px;
}
footer #social {
  margin-bottom: 20px;
  text-align: center;
}
footer #social a {
  font-size: 1.2em;
  margin-right: 10px;
  color: #FFF;
}
footer #social a:last-of-type {
  margin-right: initial;
}

#staycurious-container {
  padding: 0 40px 40px 40px;
  background-color: #F9F9F9;
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
}

#staycurious-container h2 {
  color: #1f254a;
  font-size: 30px;
  line-height: 48px;
  letter-spacing: -1px;
  margin-top: 20px;
}

@media (max-width: 400px) {
  #staycurious-container {
    padding: 0 20px 40px 20px;
  }
}
.button.blue {
  font-family: "Open Sans";
  font-weight: bold;
  background-color: #89D1EA;
  color: #0E122B;
  letter-spacing: 0px;
}

#staycurious-hero {
  position: relative;
  display: flex;
  justify-content: space-around;
  height: 400px;
  margin: 0 -40px;
  overflow: hidden;
}

@media (max-width: 400px) {
  #staycurious-hero {
    height: 300px;
    margin: 0 -20px;
  }
}
#hero-video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
}

#hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.6));
}

#hero-content {
  position: absolute;
  bottom: 40px;
  max-width: 650px;
  color: #FFF;
  font-size: 44px;
  font-weight: bold;
  line-height: 54px;
  text-align: center;
  z-index: 1;
  text-shadow: 0 0 5px #000;
}

#hero-content .button {
  margin-top: 20px;
}

@media (max-width: 730px) {
  #hero-video {
    width: initial;
    left: initial;
  }
}
@media (max-width: 500px) {
  #hero-content {
    bottom: 30px;
    font-size: 30px;
    line-height: 35px;
  }
}
@media (max-width: 400px) {
  #hero-content {
    bottom: 30px;
    font-size: 20px;
    line-height: 30px;
  }
}
#col-container {
  display: flex;
  margin-top: 40px;
}

#col-side {
  padding-right: 20px;
}

#col-main {
  display: flex;
  flex-wrap: wrap;
}

#col-main h2 {
  width: 100%;
  margin-top: 0;
}

#col-main h2:nth-of-type(2) {
  margin-top: 40px;
}

#completed-tours .countdown {
  display: none;
}

#leading-card {
  position: relative;
  width: 450px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

@media (max-width: 850px) {
  #col-container {
    flex-direction: column;
  }

  #col-side {
    margin-bottom: 40px;
    padding-right: 0;
  }

  #leading-card {
    width: initial;
  }

  #col-main {
    justify-content: space-around;
  }
}
#leading-card h2 {
  margin-top: 0;
  margin-bottom: 20px;
  padding-right: 20px;
  font-size: 30px;
}

p {
  margin-bottom: 20px;
}

#disclaimer {
  cursor: pointer;
}

@media (max-width: 700px) {
  #leading-card h2 {
    font-size: 30px;
    line-height: 45px;
  }
}
@media (max-width: 500px) {
  #leading-card h2 {
    font-size: 25px;
    line-height: 35px;
  }
}
#curious-static-content {
  padding-right: 20px;
}

#curious-static-content input {
  background-color: #FFF;
}

#curious-static-thanks .logo-instagram {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(/img/staycurious/social-instagram-inverse.png);
  background-size: cover;
}

#curious-static button {
  margin-top: 10px;
}

.staycurious-tour {
  position: relative;
  height: 500px;
  width: 300px;
  min-width: 300px;
  margin: 10px 20px 10px 0;
  background-color: #FFF;
  border: solid 1px #DDD;
  border-radius: 10px;
  background-position: 50%;
  background-size: cover;
  background-repeat: no-repeat;
  transition: all 0.2s ease-in-out;
  overflow: hidden;
}

.staycurious-tour:hover {
  box-shadow: 0px 0px 18px 0px #DADADA;
  transform: perspective(1px) scale(1.04);
}

.staycurious-tour .content {
  position: absolute;
  display: flex;
  bottom: 0;
  flex-direction: column;
  height: 205px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #FFF;
  font-size: 90%;
}

.staycurious-tour .countdown {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 5px;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 80%;
  line-height: 150%;
  color: #FFF;
  border-radius: 5px;
  border: solid 1px #FFF;
  font-weight: bold;
}

.staycurious-tour.live .countdown {
  border: solid 1px #F00;
}

.staycurious-tour.live .countdown a {
  color: #F00;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0% {
    color: #F00;
  }
  49% {
    color: #F00;
  }
  60% {
    color: transparent;
  }
  99% {
    color: transparent;
  }
  100% {
    color: #F00;
  }
}
.staycurious-tour.finished .countdown {
  padding: 5px 10px;
}

.staycurious-tour .countdown .live-in {
  margin: 0 5px;
}

.staycurious-tour .countdown .division {
  margin-right: 5px;
  font-size: 80%;
}

.staycurious-tour .name {
  padding: 10px 10px 0 10px;
  font-size: 110%;
  font-weight: bold;
}

.staycurious-tour .date-time {
  padding: 5px 10px;
  font-weight: bold;
}
.staycurious-tour .date-time span {
  font-weight: normal;
}

.staycurious-tour .description {
  padding: 0 10px;
  flex-grow: 2;
}

.staycurious-tour .buttons {
  display: flex;
  padding: 10px;
  justify-content: space-around;
}

.staycurious-tour .buttons a {
  color: #FFF;
  text-decoration: none;
}

.staycurious-tour button.watch,
.staycurious-tour button.review {
  display: none;
}

.staycurious-tour.finished button {
  display: initial;
}

.staycurious-tour.finished button.hidden {
  display: none;
}

@media (max-width: 500px) {
  .staycurious-tour {
    margin: 10px 0;
  }
}
#how-it-works {
  padding: 30px 80px 0 80px;
  background-color: #1F254A;
  text-align: center;
}

#how-it-works h2 {
  margin-bottom: 20px;
  color: #FFF;
  font-size: 36px;
}

#how-it-works p {
  color: #FFF;
  font-size: 16px;
  line-height: 24px;
}

#how-it-works > p {
  max-width: 670px;
  margin: 0 auto;
}

#steps {
  margin-top: 150px;
  padding-bottom: 50px;
  font-size: 18px;
  color: #0E122B;
}

#steps-container {
  display: flex;
  justify-content: center;
}

#steps .step {
  max-width: 300px;
  margin-right: 30px;
  padding: 20px 20px 70px 20px;
  text-align: left;
  background-color: #89D1EA;
}

#steps .step .number {
  margin-top: -15px;
  font-family: "Open Sans";
  font-size: 90px;
  line-height: 90px;
  font-weight: bold;
}

#steps .step img {
  display: block;
  margin: -94px auto 0 auto;
}

#steps .step img.three {
  margin-top: -109px;
}

#steps .step p {
  margin-top: 20px;
  font-family: "Open Sans";
  font-size: 18px;
  line-height: 24px;
  font-weight: bold;
  color: #0E122B;
}

#steps .step:last-of-type {
  margin-right: 0;
}

#steps .button {
  margin-top: 80px;
}

@media (max-width: 800px) {
  #steps-container {
    flex-direction: column;
    align-items: center;
    margin-top: 80px;
  }

  #steps .step {
    margin-right: initial;
    margin-top: 150px;
  }

  #steps .step:first-of-type {
    margin-top: 40px;
  }
}
#media {
  padding: 30px 80px 30px 80px;
  text-align: center;
  background-color: #EFEFEF;
}

#media h2 {
  color: #1F254A;
}

#media-links {
  display: flex;
  margin: 100px auto 0 auto;
  max-width: 960px;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

#media-links a {
  color: #000;
  font-size: 16px;
}

#media-links .outlet {
  margin: 0 50px 60px 50px;
  padding-top: 100px;
  background-size: contain;
  background-position: 50% 0;
  background-repeat: no-repeat;
}

#media-links .outlet.yahoo {
  max-width: 187px;
  min-width: 100px;
}

#media-links .outlet.independent {
  max-width: 403px;
  min-width: 300px;
  margin: 0 20px;
}

#media-links .outlet.ttg {
  max-width: 222px;
  min-width: 100px;
}

#media-links .outlet.phocuswire {
  max-width: 200px;
  min-width: 100px;
}

#media-links .outlet.ladies-what-travel {
  max-width: 200px;
  min-width: 100px;
  background-size: 90px;
}

#media-links .outlet.bbc-sounds {
  max-width: 200px;
  min-width: 100px;
}

#media-links .outlet.bbc-news {
  max-width: 200px;
  min-width: 100px;
  background-size: 180px;
}

#media-links .outlet.forbes {
  max-width: 200px;
  min-width: 100px;
  background-size: 180px;
}

#media-links .outlet.boutique {
  max-width: 200px;
  min-width: 100px;
  background-size: 180px;
}

#media-links .outlet audio {
  width: 100%;
}

@media (max-width: 750px) {
  #media {
    padding: 50px 20px 70px 20px;
  }

  #media-links {
    flex-direction: column;
    align-items: center;
  }

  #media-links .outlet.independent {
    padding-top: 50px;
    margin: initial;
    margin-bottom: 60px;
  }

  #media-links .outlet:last-of-type {
    margin-bottom: 0;
  }
}
@media (max-width: 500px) {
  #media-links .outlet {
    margin: 0 0 60px 0;
  }
}
#trustpilot-summary {
  padding: 60px 80px 30px 80px;
}

@media (max-width: 600px) {
  #trustpilot-summary {
    padding: 50px 20px 80px 20px;
  }
}
#modal-backdrop {
  position: fixed;
  display: flex;
  justify-content: space-around;
  align-items: center;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}

#modal-container {
  position: relative;
  max-height: 90%;
  margin: 20px;
  padding: 20px;
  border-radius: 10px;
  background-color: #FFF;
  z-index: 1001;
  overflow: auto;
  color: #565656;
  font-size: 16px;
  line-height: 24px;
}

#modal-container h2 {
  color: #1f254a;
  font-size: 36px;
  line-height: 48px;
  letter-spacing: -1px;
}

.tcl-modal p {
  margin-top: 20px;
}

.tcl-modal .errors {
  margin: 20px 0;
  padding: 10px;
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.tcl-modal .group {
  display: flex;
  flex-wrap: wrap;
}

.tcl-modal .fields {
  display: flex;
  flex-direction: column;
}

.tcl-modal .field {
  display: flex;
  margin: 5px;
  flex-direction: column;
  flex-grow: 1;
}

.tcl-modal input[type=checkbox] {
  width: initial;
  opacity: initial;
}

.tcl-modal input[type=radio] {
  width: initial;
  margin: 0 5px 0 10px;
  opacity: initial;
}

.tcl-modal input[type=text] {
  padding: 6px 12px;
  border: solid 1px #CCC;
  border-radius: 4px;
  background: initial;
}

.tcl-modal .buttons {
  display: flex;
  margin-top: 20px;
  justify-content: space-around;
}

#donate-modal .stripe-element {
  margin-right: 20px;
  padding: 6px 12px;
  border: solid 1px #CCC;
  border-radius: 4px;
}

#donate-modal #card {
  min-width: 200px;
}

#donate-modal #expiry {
  min-width: 100px;
}

#donate-modal #cvc {
  min-width: 50px;
}

#donate-modal input[name=other] {
  max-width: 5rem;
  margin-left: 10px;
}

#disclaimer-modal {
  font-size: 16px;
}

#curious-modal [name=privacy] {
  margin-right: 10px;
}

#tcl-message {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 10px;
  z-index: 2000;
  text-align: center;
}

#tcl-message.ok {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

#tcl-message.warn {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

#tcl-message.error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.tcl-hidden {
  display: none;
}