body {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-family: var(--thaifont);
  font-size: 16px;
  background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
p,
li {
  font-family: var(--thaifont);
}

a,
a:hover,
a:focus {
  text-decoration: none !important;
}

.slogan {
  /*    padding: 60px 0 0 60px;*/
}

.slogan h1 {
  font-size: 1.2em !important;
  font-style: italic;
  letter-spacing: 0;
}

.slogan h2 {
  /* strong  */
  font-size: 0.8em !important;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
}

#dolomites {
  height: 100vh;
  min-height: 800px;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.imgHero {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  left: 0;
  top: 0;
  z-index: -1;
}

.imgHero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: brightness(0.5);
}

.overlaybox {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
}

.centerswapbox {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.relelm {
  width: 100%;
  height: 100px;
  position: relative;
}

.dolomiteslogo {
  width: 100%;
  max-width: 800px;
}

/**/
.logosign {
  width: 500px;
  height: auto;
  margin: 20px auto;
}

.logosign img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tripcode {
  font-size: 2em;
  font-family: var(--engfont);
  display: block;
  text-align: center;
  color: var(--white);
}

.titlename {
  font-size: 7em;
  line-height: 0.8em;
  color: var(--white);
  font-family: var(--dmfont);
  text-align: right;
  letter-spacing: 1px;
}

.titlename span {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.titlename img {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 20px 0 0 20px;
}

.des {
  margin: 0;
  font-family: var(--thaifont);
  font-size: 1.8em;
  line-height: 1.3em;
  font-weight: 400;
  text-align: center;
  color: var(--white);
}

.flag {
  width: 50px;
  height: auto;
  margin: 20px auto;
}

section {
  min-height: 50vh;
}

.p30 {
  padding: 30px;
}

/**/
.floatnav {
  position: absolute;
  background: transparent;
  box-shadow: none;
  background: rgba(0, 0, 0, 0);
  border-radius: 30px;
  height: 60px;
  bottom: 20px;
}

.floatnav.active {
  position: fixed;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 1);
}

.floatnav ul {
  list-style: none;
  margin: 0 !important;
  background: transparent;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

.floatnav li {
  background: transparent;
  width: calc((100% / 3) - 10px);
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  padding: 0;
}

.floatnav li a {
  white-space: nowrap;
  font-size: 1.2em;
  color: var(--white);
  padding-left: 60px;
  width: 100%;
  height: 100%;
  vertical-align: middle;
  line-height: 3.1em;
}

.floatnav li.active {
  background-color: transparent;
}

.floatnav li.active span:nth-child(1) {
  background-color: #005529;
  transition: all ease-in-out 0.35s;
}

.floatnav li a span:nth-child(1) {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border-radius: 50%;
  position: absolute;
  left: 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.floatnav li a span:nth-child(1) img {
  display: flex;
  width: 32px;
  height: 32px;
}

.bgGray {
  background-color: #2d2b29;
}

/**/
.containerhaft {
  display: flex;
  flex-direction: row;
  padding: 30px 0;
  gap: 0;
  position: relative;
  justify-content: space-around;
}

.containerhaft.nogap {
  gap: 0 !important;
}

.containerhaft .haftframe {
  display: flex;
  flex-direction: column;
  width: calc((100% / 2) - 50px);
}

.containerhaft .haftframe .frame1,
.containerhaft .haftframe .frame2,
.containerhaft .haftframe .frame3,
.containerhaft .haftframe .frame100 {
  overflow: hidden;
  position: relative;
}

.containerhaft .haftframe .frame1 img,
.containerhaft .haftframe .frame2 img,
.containerhaft .haftframe .frame3 img,
.containerhaft .haftframe .frame100 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.posLeft img {
  object-position: 0% 50% !important;
}

.posLeft10 img {
  object-position: 10% 50% !important;
}

.posLeft20 img {
  object-position: 20% 50% !important;
}

.posLeft30 img {
  object-position: 30% 50% !important;
}

.posLeft40 img {
  object-position: 40% 50% !important;
}

.posRight img {
  object-position: 100% 50% !important;
}

.posRight20 img {
  object-position: 80% 50% !important;
}

.posRight30 img {
  object-position: 70% 50% !important;
}

.posRight40 img {
  object-position: 60% 50% !important;
}

.containerhaft .haftframe .frame1 {
  width: 100%;
  max-width: 600px;
  height: 800px;
}

.containerhaft .haftframe .frame2 {
  width: 100%;
  max-width: 500px;
  height: 800px;
}

.containerhaft .haftframe .frame3 {
  width: 100%;
  height: 700px;
}

.containerhaft .haftframe .frame100 {
  width: 100%;
  height: 600px;
  padding: 0 20px;
}

.dflex-start {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.dflex-end {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.dflex-center {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.containerhaft .haftframe h1 {
  font-size: 30px !important;
  font-style: italic;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

.containerhaft .haftframe h2 {
  font-size: 20px !important;
  font-style: italic;
  font-weight: 800;
  margin: 20px 0;
  padding: 0;
}

.containerhaft .haftframe h3 {
  font-size: 1.8em;
  font-weight: 600;
  padding: 0;
  margin: 0;
}

.containerhaft .haftframe h4 {
  font-size: 1.5em;
  line-height: 1.4em;
  font-weight: 400;
  padding: 0;
  margin: 10px 0 30px 0;
}

.containerhaft .haftframe p {
  font-size: 1.3em;
  line-height: 1.6em;
  font-weight: 400;
  padding: 0;
}

.photoframe {
  width: 80%;
  margin: 0 auto;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.9);
}

.photoframe img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.align-center {
  align-items: center !important;
  justify-content: center !important;
}

.wtext {
  color: var(--white);
}

/**/
#bgtopography {
  /*  background: url('../img/di/04.webp') 00 no-repeat #000;
    background-size: cover;*/
  position: relative;
  width: 100%;
  height: auto;
}

.bgimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ontop {
  /* overlap */
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  width: 50%;
  background: rgb(0, 0, 0);
  background: -moz-linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 2%,
    rgba(0, 0, 0, 0.9248074229691877) 100%
  );
  background: -webkit-linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 2%,
    rgba(0, 0, 0, 0.9248074229691877) 100%
  );
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 2%,
    rgba(0, 0, 0, 0.9248074229691877) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#000000", GradientType=1);
}

.swapontop {
  display: flex;
  margin: 50px;
  height: 100%;
  justify-content: center;
  flex-direction: column;
}

.swapontop p {
  color: #fff;
  font-size: 1.3em;
  line-height: 1.5em;
  margin-bottom: 30px;
}

.swapontop h3 {
  color: #fff;
  font-size: 2em !important;
  font-weight: 600;
  margin-bottom: 20px;
}

@media (max-width: 1500px) {
  .swapontop p {
    font-size: 1.2em;
  }
}

@media (max-width: 992px) {
  #bgtopography {
    min-height: inherit;
  }

  .bgimg {
    width: 100%;
    height: auto;
  }

  .ontop {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
  }
}

/**/
.bighead {
  font-size: 2.8em;
  line-height: 1em;
  font-family: var(--dmfont);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 20px 0;
  color: #666;
}

.triphead {
  display: block;
}

.triphead .h1,
.triphead .h2,
.triphead .h3 {
  color: var(--white);
  font-style: normal !important;
  font-family: var(--thaifont);
  color: #fff;
  width: 100%;
  box-sizing: border-box;
}

.triphead .h1 {
  font-size: 3em;
  margin: 0;
}

.triphead .h2 {
  font-family: var(--dmfont);
  font-size: 4.5em;
  line-height: 0.8em;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.triphead .h3 {
  font-family: var(--thaifont);
  font-size: 1.8em;
  font-weight: 400;
  letter-spacing: 1px;
}

/**/
.prow {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.pcolumn {
  -ms-flex: 50%;
  flex: 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pcolumn .framebox {
  width: calc(100% - 30px);
  height: 600px;
  overflow: hidden;
  margin-top: 30px;
  position: relative;
  cursor: pointer;
}

.pcolumn .framebox img {
  vertical-align: middle;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: all ease-in-out 0.35s;
}

.pcolumn .framebox:focus img,
.pcolumn .framebox:hover img {
  transform: scale(1.2);
}

.pcolumn .framebox button {
  /* Name tag */
  position: absolute;
  background-color: #ebf4e9;
  color: var(--darkgray);
  /*background-color: var(--orenge);
    color: var(--white);*/
  padding: 10px 30px;
  border-radius: 30px;
  font-size: 1.3em;
  line-height: 1.1em;
  font-weight: 400;
  bottom: 5%;
  left: 50%;
  width: 90%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  display: inline-block;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: default;
}

.pcolumn .framebox.active button {
  /*background-color: var(--orenge);
    color: var(--white);*/
  display: none;
}

.pcolumn .framebox span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 146, 70, 0.9);
  padding: 8%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  transition: all ease-in-out 0.35s;
  opacity: 0;
}

.back-to-top {
  background-color: #009246;
}

.pcolumn .framebox.active span {
  opacity: 1;
}

.pcolumn .framebox span h3 {
  font-family: var(--thaifont);
  color: var(--white);
  font-size: 1.8em;
  line-height: 1.2em;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0 0 20px 0;
}

.pcolumn .framebox span p {
  font-family: var(--thaifont);
  color: var(--white);
  font-size: 1.2em;
  line-height: 1.6em;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.blankspace {
  height: 300px;
}

/**/
#otherseminar {
  background-color: #dadada;
  padding: 150px 50px;
}

.triswarp {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.tridiv {
  width: calc(100% / 3);
}

.triswarp a {
  display: table;
  width: 100%;
  height: 100%;
}

.tridiv h1 {
  /*Section Title*/
  font-size: 2em;
  line-height: 0.8em;
  font-family: var(--thaifont);
  color: #333;
}

.tridiv h2 {
  /*Section Sub Title*/
  font-size: 4em;
  line-height: 0.8em;
  font-family: var(--dmfont);
  color: #666;
  margin: 0;
  text-transform: uppercase;
}

.tridiv h3 {
  /* Trip code */
  font-size: 2em;
  line-height: 0.8em;
  font-family: var(--engfont);
  color: #333;
}

.tridiv h4 {
  /* Trip name */
  font-size: 3em;
  line-height: 0.8em;
  font-family: var(--dmfont);
  color: #666;
  white-space: nowrap;
}

.tridiv .imgdiv {
  /*frame*/
  width: 100%;
  height: 800px;
  overflow: hidden;
}

.tridiv .imgdiv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* Logo M */
#cicleframe {
  background: url("../img/fi/logoM.webp") no-repeat 50% 50% #282224;
  background-size: 80px 80px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: 20px auto;
  display: block;
}

/**/
@media screen and (max-width: 1500px) {
  .pcolumn .framebox button {
    border-radius: 0;
  }

  .pcolumn {
    width: 100%;
    flex: 100%;
    max-width: 100%;
  }

  #secC .containerhaft .haftframe {
    width: 100% !important;
  }

  .p100 {
    padding: 50px !important;
  }

  .blankspace {
    height: 0;
  }

  .tridiv h2 {
    font-size: 3em;
  }

  .triswarp {
    display: flex;
    flex-direction: column-reverse;
  }

  .triswarp .tridiv {
    /* width: 100%; */
    padding: 0 !important;
  }

  .triswarp .tridiv .imgdiv {
    height: 400px;
  }
}

@media (max-width: 992px) {
  .triphead .h1 {
    font-size: 2.5em;
  }

  .triphead .h2 {
    font-size: 3.5em;
    line-height: 1em;
    white-space: normal;
  }

  .triswarp a {
    display: table;
    width: 100%;
    height: 100%;
  }

  .p100 {
    padding: 30px !important;
  }

  .pcolumn .framebox {
    width: 100% !important;
    height: 600px;
  }

  .pcolumn .framebox span {
    padding: 5%;
    height: 100%;
    overflow-y: auto;
  }

  .pcolumn .framebox span h3 {
    font-size: 1.5em;
  }

  .pcolumn .framebox span p {
    font-size: 1.3em;
    line-height: 1.5em;
  }

  #otherseminar {
    padding: 30px;
  }

  .triswarp .tridiv {
    width: 100%;
    padding: 0 !important;
  }

  .triswarp .tridiv .imgdiv {
    height: 400px;
  }

  .triswarp .tridiv h1 {
    font-size: 1.5em;
    letter-spacing: 0;
    font-weight: 600;
  }

  .triswarp .tridiv h2 {
    font-size: 3em;
    margin-bottom: 20px;
    letter-spacing: 3px;
  }

  .triswarp .tridiv h4 {
    font-size: 2.8em;
    margin-bottom: 30px;
    white-space: normal;
  }

  #logowind {
    position: absolute;
    width: 150px;
    left: 50%;
    bottom: 0;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  #prague {
    height: 100vh;
  }

  .bighead {
    width: 100%;
    text-align: center;
  }

  .titlename {
    font-size: 3.5em;
  }

  .titlename span:nth-child(1) img {
    display: block;
    width: 25px;
    height: 35px;
    margin: 5px;
  }

  .titlename span:nth-child(2) {
    font-size: 1em;
  }

  .des {
    font-size: 1.4em;
  }

  /**/

  .containerhaft {
    gap: 0;
    flex-direction: column;
    width: 100%;
  }

  .containerhaft .haftframe {
    width: 100% !important;
  }

  .containerhaft .haftframe .frame1,
  .containerhaft .haftframe .frame2,
  .containerhaft .haftframe .frame3 {
    width: 100%;
    /*        height: 400px;*/
    margin: 0 auto;
  }

  .photoframe {
    width: 100%;
  }

  /**/
  #secB {
    justify-content: flex-start;
    height: max-content;
    min-height: 110vh;
  }

  .placewrap {
    display: flex;
    flex-direction: column-reverse;
    margin: 50px 0 0 0;
  }

  .placedflexswap {
    width: 100%;
  }

  .placeflexcolume {
    padding: 30px 0;
  }

  .placeflexcolume h4 {
    margin: 10px 0;
  }

  .placeflexcolume h2 {
    font-size: 2em;
  }

  .placeflexcolume h3 {
    font-size: 1.5em;
  }

  .thumbplaceslider {
    width: 90%;
  }

  /**/
  .floatnav,
  .floatnav.active {
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    max-width: inherit;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    background: rgba(0, 0, 0, 1);
    border-radius: 0;
  }

  .floatnav a .floatnav.active a {
    font-size: 16px;
    height: auto;
  }

  .floatnav li a span:nth-child(1) {
    display: none;
  }

  .floatnav li a span:nth-child(2) {
    display: flex;
    justify-content: center;
  }

  .floatnav li a {
    padding-left: 0;
    white-space: normal;
    line-height: 20px;
    height: auto;
    font-size: 1em;
  }

  .floatnav li.active a {
    color: var(--orenge);
  }

  .floatnav.active li a span:nth-child(1) {
    left: 5px;
  }

  .floatnav.active span:nth-child(1) img {
    width: 20px;
  }
}

@media (max-width: 480px) {
  .slogan {
    padding: 20px;
  }

  .slogan h1 {
    font-size: 22px !important;
  }

  .slogan h2 {
    font-size: 18px;
  }

  .containerhaft {
    padding: 0;
  }

  .placeflexcolume p {
    font-size: 16px;
  }

  .thumbplaceslider .placecard {
    height: 200px;
  }

  .triphead .h2 {
    font-size: 3em;
  }

  .pcolumn .framebox span {
    justify-content: flex-start;
  }

  .pcolumn .framebox {
    height: 550px;
  }
}

@media (max-width: 320px) {
  .floatnav li a span:nth-child(1) {
    display: flex;
  }

  .floatnav li a span:nth-child(2) {
    display: none;
  }
}
