/*
font scale
1.7rem, 2.404rem, 3.399rem, 4.806rem, 6.796rem


*/



*,::after,::before{
  -webkit-box-sizing:border-box;
  box-sizing:border-box;
  margin:0;
  padding:0;
}
html{
  font-size:62.5%;
  -ms-text-size-adjust:auto;
  -webkit-text-size-adjust:auto;
  -mos-text-size-adjust:auto;
  -moz-text-size-adjust:auto;
  text-size-adjust:auto;
  height: 100%;
}
body { 
  background: url("https://canoe.voyage/img/fr-dor1-ph.jpg") no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  font-family: "Roboto Serif";
  font-weight: 300;
  font-size: 1.6rem;  
  line-height: 1.618; 
  height: 100%;
}
div { position: relative; }
p { 
  margin-bottom: 2.6rem;
}
h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 600;
}
h1, h2 { 
  font-size: 4.5vh; 
  color: #fff;
  margin: 28vh 4vh 28vh;
  text-align: center;
  text-shadow: 2px 2px 3px rgba(60,48,40,.85),0 0 9px rgba(60,48,40,.85),0 0 15px rgba(60,48,40,.6),0 0 25px rgba(60,48,40,.45);
  line-height: 1.15;
}
h3, h4 {
  font-size: 3.5vh;
  text-align: center;
  line-height: 1;  
  margin-bottom: 1em;
}

h5 { 
  font-size: 4vh;
  text-align: center;
  line-height: 1.5;
}
.xp { display: none; }
.red { color: #ff3322; }
.brown { color: #bb7755; }
.smltxt { 
  font-size: 0.65em;
  font-family: sans-serif;
  color: #fd6;
  line-height: 1.2;
  margin-top: 1.2rem;
}
.ctr {
  text-align: center;
}
#topbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 6vh;
  border: 1px solid #fff;
  display: flex;
  flex-flow: row nowrap;
}
#main {
  position: absolute;
  top: 6vh;
  left: 0;
  width: 100vw;
  height: calc(94vh);
  overflow-y: scroll; 
}
.corp {
  font-size: 4vh;
  text-align: center;
  line-height: 1.0;    
  background-color: #fff;
  color: #111;
  width: 100vw;
  padding: 1vh;
}
.cnt70, .cnt30, .cnt90, .cnt50 {
  width: 92vw;
  padding: 5vw;
  background-color: rgba(255,255,255,0.9);
  height: auto;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  margin: 1.5em auto;
  box-shadow: 2px 2px 15px rgba(0,0,0,0.35);
}

#footer.cnt90, .cnt30 {
  background: #212121;
  color: #fff;
}

.cnt30 {
  order: 2;
  font-size: 1.4rem;
}

.cnt30 h5 {
  color: #C99277;
}

.cnt30 a {
  color: #fff;
  text-decoration: none;
}

.cnt30 a:hover, .cnt30 a:active {
  color: #f32;
  text-decoration: underline;
  font-weight: 500;
}

#footer {
  margin: 0 auto 2rem;
  text-align: center;
}

.content {
  display: flex;
  flex-flow: column nowrap;  
  align-items: flex-start;
  margin: 25vh 0;
}

.doitall input, .doitall textarea {
  border: 1px solid #666;
  border-radius: 5px;
  padding: 0.5rem;
  font-size: inherit;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.doitall input {
  width: 100%;
  height: 4vh;
  margin-bottom: 2vh;
}

.doitall input[type='checkbox'] {
  height: auto;
  width: auto;
}

.doitall textarea {
   width: 100%;
   height: 20vh;
   margin-bottom: 4vh;
}

.doitall input[type='submit'], .btn {
  background: -webkit-linear-gradient(bottom, #fd6244, #fd512f);
  background: linear-gradient(to bottom, #fd6244, #fd512f);
  color: #fff;
  font-weight: 500;
  font-size: inherit;
  margin-left: 30%;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(60,48,40,0.2);
  border-right: 1px solid rgba(60,48,40,0.2);
  width: 25%;
}

.doitall label {
  font-size: 0.9em;
}

.btn:hover, .btn:focus, .doitall input[type='submit']:hover, .doitall input[type='submit']:focus {
  outline: 0px;
  -webkit-box-shadow: 0px 1px 6px rgba(60, 48, 40, 0.4);
  box-shadow: 0px 1px 6px rgba(60, 48, 40, 0.4);
}

.btn:active, .close:active, .doitall input[type='submit']:active {
  -webkit-transform: translate(1px, 1px);
  transform: translate(1px, 1px);
  -webkit-box-shadow: 0px 0px 0px rgba(60, 48, 40, 0.0);
  box-shadow: 0px 0px 0px rgba(60, 48, 40, 0.0);
}

.tease {
  font-weight: 600;
  color: #b75;
  font-size: 2.0rem;
}

.incl {
  font-weight: 300;
  font-size: 0.9em;
  color: #FF8C00;
}

/* reveal itin */

.seemore {
  display: none;
  padding: 0.25em 1.55em 0.25em;
  border: 1px solid #38c732;
  margin: 15px auto 10px;
  width: 13rem;
  font-size: 1.0rem;
  border-radius: 5px;
  color: #38c732;
  font-family: verdana;
  font-weight: 700;
  cursor: pointer;
}

.itin p:first-child {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.itin p:not(:first-child) {
  display: none;
}

.itin .seemore {
  display: block;
}

#gen img {
  width: 50%;
}

#rtntop {
  position: fixed;
  top: 50%;
  right: 5%;
  display: none;
}

/* @MDA tablets */
@media only screen and (min-width: 31em) {
  body {  
    background-image: url("https://canoe.voyage/img/fr-dor1.jpg");
    font-size: 1.7rem;
  }
  h1, h2 { 
   font-size: 5.75rem; 
  }
  h3, h4 {
    font-size: 3.399rem;
    margin: 1em 0.25em;
  }
  h5 {
    font-size: 2.404rem;
    margin: 1em 0.25em;
  }
  .xp { 
    display: block;
  }
  #topbar {
    height: 6.8rem;
  }
  #main {
    padding: 0;
    top: 6.8rem;  
    height: calc(100% - 6.8rem);
  }
  #footer {
    margin-bottom: 20vh;  
    max-width: 1280px;
  }
  .teaser, .corp {
    font-size: 3.399rem;
    padding-top: 1.8rem;
    font-weight: 600;
  }
  .corp {
    width: 35%;
  }
  .teaser {
    text-align: center;
    line-height: 1.0;
    width: 65%;
    color: #fff;    
    text-shadow: 2px 2px 6px rgba(55,55,55,1)
  }
  #info0 { display: block; }
  #info1, #info2 { display: none; }
  .cnt90 {
    width: 100%;
    padding: 3.5rem;
    margin: unset;
  }
  .cnt70 {
    width: 70%;
    padding: 5rem;
    margin: unset;
  }
  .cnt50 {
    width: 63%;
    padding: 5.5rem;
    margin: unset;
  }
  .cnt30 {
    width: 26%;    
    padding: 3rem;
    margin: unset;
    font-size: 1.5rem;
    order: unset;
  }
  .content {
    flex-flow: row wrap;
    justify-content: space-evenly;
  }
  #gen img {
    width: 100%;
  }

}

/* @MDA laptops and desktops */
@media only screen and (min-width: 53em) {

  h1, h2 { 
    font-size: 6.25rem; 
  }
 
   #main {
     padding: 0 8vw;
  }
 
   .cnt30 {
     width: 20%;
  }


  /* @MDA laptop fine tuning */
  @media (min-aspect-ratio: 16/10) {
    #topbar {
      height: 6.28rem;
    }
    .teaser, .corp {
      font-size: 2.7rem;
    }
    h1, h2 {
      font-size: 4.806rem;
    }
  }
}
