@font-face {
  font-family: "PTSerifCaptionItalic";
  src: url("PTZ56F_W.eot");
  src: url("/fonts/PTZ56F_W.eot?#iefix") format("embedded-opentype"),
    url("/fonts/PTZ56F_W.woff") format("woff"),
    url("/fonts/PTZ56F_W.ttf") format("truetype"),
    url("/fonts/PTZ56F_W.svg#PTSerif-CaptionItalic") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "AVB";
  src: url("/fonts/AVB.ttf");
}

html {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-image: url("/imgs/bg/bg.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
}

.logo > a > img {
  width: 100%;
  display: block;
  margin: 5px auto;
}

/* .linkDisabledOnMobile {
    pointer-events: none;
    cursor: default;
} */

nav {
  display: flex;
  justify-content: space-around;
  list-style: none;
  margin-top: 5px;
}

nav > a {
  flex: 1;
  background-color: rgba(197, 179, 179, 0.6);
  text-decoration: none;
  padding: 10px 5px;
  text-align: center;
  border-right: 2px dotted rgba(249, 217, 184, 0.8);
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  transition: 0.5s;
  color: #f9e3cc;
  font-family: "PTSerifCaptionItalic";
  font-size: 1.5em;
  text-shadow: -1px 0.5px 2px #000000;
}

nav > a:last-child {
  border-right: none;
}

nav > a:hover {
  background-color: rgba(173, 130, 198, 0.2);
  box-shadow: 0px 0px 7px #d6d6d6;
}

.selected {
  background-color: rgba(173, 130, 198, 0.2);
  box-shadow: 0px 0px 7px #ffffff;
}

/* =========================== */
   /* language selection  */
/* =========================== */

.language_selector_wrapper {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 40px; 
  bottom: 5px;
  right: 5px;
  z-index: 20;
}

.current_language_wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 40px;
  width: 100%;
  background-color: #d6c0ba;
  border-radius: 20% / 50%;
  box-shadow: 0px 0px 4px #aa9893;
  
  /* opacity: 0.8; */
  /* border: 1px solid yellow; */
}

.active_language {
  display: block;
  text-align: center;
  margin: 0;
  padding: 0;
  font-size: 1.5em;
  font-family: "AVB";
  color: #446c87;
}

#language_dropup_arrow {
  margin-left: 5px;
  font-size: 1em;
  font-family: "AVB";
  color: #446c87;
}

.not_available_for_selection_language, .inactive_language {
  display: none;
}

/* dropud language menu */

.language_selector {
  display: none;
  position: absolute;
  bottom: 0;
  padding-bottom: 40px;
  width: 100px;
  border-radius: 20% / 13%;
  flex-direction: column;
  background-color: #446C87;
  border: 2px solid #d6c0ba;
  z-index: -50;
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -ms-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
  overflow: hidden;
}

.available_for_selection_language {
  display: block;
  /* border: 1px solid red; */
  padding: 8px 0;
  text-decoration: none;
  text-align: center;
  font-size: 1.6em;
  font-family: "AVB";
  /* border: 1px solid #d6c0ba; */
  color: #d6c0ba;

}

/* =========================== */
       /* flexslider  */
/* =========================== */

.flexslider {
  position: absolute;
  top: 135px;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -2;
  overflow: hidden;
  
}

.slides > li > img {
  
  display: block;
  margin: 0 auto;
  max-width: 100%;
}
/* min - works until number || from higher to lower */
/* max - works after number || from higher to lower */
@media only screen and (max-width: 360px) {
  nav > a {
    font-size: 1.2em;
  }
}
/* min - works until number || from higher to lower */
/* max - works after number || from higher to lower */
@media only screen and (min-width: 680px) {
  /* .linkDisabledOnMobile {
    pointer-events: auto;
    cursor: auto;
  } */
  .logo > a > img {
    top: 10px;
    width: 45%;
    position: absolute;
    z-index: 100;
  }
  .navdiv {
    position: relative;
    margin-right: 2%;
    top: 50px;
    z-index: 1000;
  }
  nav {
    float: right;
  }
  nav > a {
    background-color: transparent;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .content {
    position: absolute;
    top: 130px;
  }
  
}

@media only screen and (min-width: 1100px) {
  .logo > a > img {
    width: 420px;
    position: absolute;
    z-index: 100;
  }
  body {
    width: 1100px;
    margin: auto;
  }
  nav > a {
    padding-left: 15px;
    padding-right: 15px;
  }
}
