
/*
 START ANIMATION
*/

#pageHeader > *:nth-child(1),
#pageHeader > *:nth-child(3) {
    width: 100px;
}
#pageHeader > *:nth-child(3) {
    float: right;
}

@media (max-width: 767px) {
    #pageHeader > * {
        width: auto;
    }
}


#demo{
  position:relative;
  width:100vw;
  min-height:124px;
/*
  height:320px;
*/
  display:block;
  margin:auto;
  overflow:hidden;
  margin-top: 40px;
  margin-bottom: 60px;
}
@media (max-width: 767px) {
  #demo {
     min-height:174px;
  }
}
@media (orientation: portrait) {
  #demo {
    height: 20vh;
  }
}

#demo h3 {
  position:absolute;
  font-size: 26px;
  font-weight:700;

  /*color: #ff0000*/;
  color: #00ffff;
  margin:0;

  padding:0;
  padding-top: 60px;
  padding-bottom: 60px;
  width:100%;
  text-align:center;
  height: 200px;
  visibility:hidden;
  top:165px;
}
@media (max-width: 767px) {
    #demo h3 {
        font-size: 18px;
        line-height: 40px;
        top: 160px;
    }
}

@media (orientation: portrait) {
  #demo h3 {
    height: 70px;
    font-size: 26px;
    line-height: 50px;
    top: 90px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

h1 {
  margin-bottom: 50px;
}

h3 {
  margin-top: 100px;
}

/*
#main {
  max-width:99%;
}
*/


/*
 END ANIMATION
*/



.metaButtons {

    display: flex;
}

.metaButtonsEl {
    border: 0.5px solid #00ffff;
    margin: 2px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metaButtonsEl a {
    font-size: 1.5em;
    color: #00ffff;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    padding: 10px 20px;
}

@media (max-width: 767px) {
    .metaButtonsEl:nth-child(2) {
        display: none;
    }

    .metaButtonsEl {
        font-size: 1.2rem;
        margin: 2px 12px; 
    }

    .metaButtonsEl a {
        padding: 2px 6px;
    }
}




/*
THEMES
*/



@font-face {
    font-family: "Monofett";
    src: url('fonts/Monofett-Regular.ttf');
    src: url('fonts/Monofett-Regular.ttf')  format('truetype')
/*
    font-style: normal;
*/
}

@font-face {
    font-family: "Kanit";
    src: url('fonts/Kanit-Regular.ttf');
    src: url('fonts/Kanit-Regular.ttf')  format('truetype')
/*
    font-style: normal;
*/
}

@font-face {
    font-family: "Kanit-EB";
    src: url('fonts/Kanit-ExtraBold.ttf');
    src: url('fonts/Kanit-ExtraBold.ttf')  format('truetype')
/*
    font-style: normal;
*/
}


.ONE .maxWidthContainer {
    max-width: 939px;
    margin: 0 auto;
}

.ONE .explaination {
  display: none;
}

.ONE .highlight {
  font-size: 3em;
  line-height: 1.2em;
  margin: 20px auto;
  text-align: center;
}

h3.anchor {
  font-size: 3em;
  font-family: Kanit-EB;
  letter-spacing: -.05em;
}


.ONE ul {
  display: flex;
  flex-wrap: wrap;
}

.ONE ul li {
  list-style: none;
  height: auto;
}

.ONE .listItem {
  border: 6px double #00ffff;
  max-width: 400px;
  margin: 16px;
  display: flex;
  justify-content: center;
  min-height: 122px;
}

.ONE .listItem a {
  padding: 20px;
  font-size: 24px;
  line-height: 28px;
  font-family: Kanit;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;

  background-color: #292927;
  color: white;
}

.ONE .listItem:hover {
   border: 6px solid #dbd7cd;
}
.ONE .listItem:hover a {
  color: #00ffff !important; 
}



.ONE .linkBox {
/*
  border: 4px solid gold;
*/
   border: 7px double #dbd7cd;
   
  max-width: 400px;
  margin: 40px auto;
  display: flex;
  justify-content: center;
  background-color: black; 
}
.ONE .linkBox:hover {
  border: 7px double black;
   background-color: #00ffff;
}


.ONE .linkBox a {
   padding: 22px;
   text-align: center;
   font-size: 26px;
   line-height: 32px;
   font-weight: bold;
   color: white;
   
}

.ONE .linkBox:hover a {
  color: black !important;
}

.ONE .linkBox a .linkBoxFlyer {
  margin-bottom: 10px;
}


.ONE h3 a {
  color: #00ffff;
  opacity:0.4;
}
