body, html {
  margin: 0;
  font-family: 'Taviraj', serif;
}

h1 {
	font-size: 20px;
    font-weight: inherit;
    margin-block-end: 0px;
    margin-block-start: 0px;
}

a { color: inherit; }

p a {
	text-decoration: underline;
	text-underline-position: under;
	color: inherit;
}

.bg {
  /* Full height */
  height: 100%;

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* fixed menu test */

.navbar {
/*  overflow: hidden; */
  position: fixed;
  top: 0;
  z-index: 9999;
  background-color: white;
  width: 100%;
}

.nav-footer {
  position: fixed;
  bottom: 0;
  z-index: 9999;
  background-color: white;
  width: 100vw;
  overflow: hidden;
}

@media screen and (min-width: 907px) {
.nav-footer {
display: none;
}
}

nav {
	  display: flex;
  flex-wrap: nowrap;
}

/* navigation */
.navgrid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin: 0px 0px 0px 40px;
  width: calc(100vw - 108px);
}

@media screen and (max-width: 906px) {
.navgrid {
  margin: 0px 0px 0px 20px;
  width: calc(100vw - 40px);
}
}

.navgrid .mainmenu{
	width: 33.33%;
}

@media screen and (max-width: 906px) {
.navgrid .mainmenu{
	width: 50%;
}
}
/* menu item */
a {
  text-decoration: none;
}

ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

li {
	color: black;
	display: block;
	float: left;
	padding: 1rem 0rem 1rem 0rem;
	position: relative;
	text-decoration: none;
}
  
li a {
  color: black;
}


li:hover,
li:focus-within {
	cursor: pointer;
}

li:focus-within a {
  outline: none;
}

ul li ul {
	visibility: hidden;
  opacity: 0;
  min-width: 28vw;
	position: absolute;
  margin-top: 1rem;
	left: 0;
  display: none;
}

ul li:hover > ul,
ul li:focus-within > ul,
ul li ul:hover,
ul li ul:focus {
   visibility: visible;
   opacity: 1;
   display: block;
} 

ul li ul li {
  clear: both;
  width: 100%;
  padding: .5rem 0rem .5rem 0rem;
}

ul .buttonthree ul .about-text {
  padding: .1rem 0rem .5rem 0rem;
}

ul li ul li:first-child {
  padding: 1.1rem 0rem .5rem 0rem;
}

.language {
	padding: 1rem 0rem 1rem 0rem;
	margin-right: 40px;
	text-transform: uppercase;
}

@media screen and (max-width: 906px) {
.language {
	margin-right: 0px;
}
}

.mainmenu {
font-size: 20px;
}

.short-description {
	font-size: 13px;
}

.about-text {
	font-size: 16px

}

.dropdown {
	z-index: 0;
}

.buttontwo .dropdown {
	height: 80vh;
}

/* overlay */
#slender {
height: 100vh;
width: 100vw;
background-color: white;
opacity: 0.92;
position: absolute;
display: none;	
z-index: 1;
transition : opacity 800ms
}

/* project */

.project-container {
  display: flex;
  flex-wrap: nowrap;
  position: absolute;
  top: 89px;
  bottom: 0;
  left: 0;
  margin-right: 40px;
  margin-left: 40px;
}

@media screen and (max-width: 906px) {
.project-container {
  display: flex;
  flex-wrap: wrap;
  margin-right: 20px;
  margin-left: 20px;
}
}

.project-container .right-col {
width: calc(66.66vw - 45px);
float:left;
overflow-x: scroll;
overflow-y: scroll;
overflow:scroll;
}

.project-container .left-col {
width: calc(33.33vw - 66px);
float:left;
overflow-x: scroll;
overflow-y: scroll;
overflow:scroll;
padding-right: 30px;
}

@media screen and (max-width: 906px) {
.project-container .left-col, .project-container .right-col {
width: 100%;
padding-right: 0px;
padding-bottom: 30px;
}
}

.project-container h1 p {
	margin-block-end: 0px;
	margin-block-start: 0px;
}

.project-container .short-description p {
	margin-block-start: 0px;
}

.gallery {
	width: 100%;
}

.scroll {
overflow-x: scroll;
overflow-y: scroll;
overflow:scroll;
}

/* video */

.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  margin: 0em 0em .5em 0em;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.media-video p {
	font-size: 16px;
}

/* second hover image test */
.hover-title {
    display: inline;
    pointer-events: auto;
    cursor: pointer;
}

.hover-image {
    visibility: hidden;
}

body:not(.mobile) .hover-title:hover + .hover-image {
    visibility: visible;
    pointer-events: none;
}

.hover-image {
    display: flex;
    position: fixed;
    left:55%;
    top:40%;
    z-index: 200;
    pointer-events: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-transform: translateZ(0);
    -o-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);

/* Change width and height to scale images */
    width: 30vw;
    height: 30vh;
}

.hover-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    margin-bottom: 0;
}

/* mobile */

.language .mainmenu {
	display:inline-block;
}

@media screen and (min-width: 907px) {
.mob {
	display: none;
}
}

@media screen and (max-width: 906px) {
.desktop {
	display: none;
}
}

.nav-footer .navgrid li, .overlay-content{
	font-size: 20px;
}
/* overlay */

.overlay {
  height: 100%;
  width: 100%;
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  background-color: white;
  overflow: scroll;
}

.overlay-content {
  position: relative;
  margin: 0px 20px 20px 20px;
}

.overlay-content img {
	padding-top: 10px
}

.overlay-content li {
  padding: 1rem 0rem 0rem 0rem
}

.overlay-content li:last-child {
	padding-bottom: 60px
}

.mob-about p {
	font-size: 16px;
}

.mob-about p:first-child {
	margin-block-start: 0em;
}

.mob-about p a {
	text-decoration: underline;
    text-underline-position: under;
    color: inherit;
}

.overlay a {
  text-decoration: none;
  display: block;
  transition: 0.3s;
}

.overlay .closebtn {
  position: fixed;
  bottom: 5px;
  left: 20px;
  font-size: 30px;
  padding-right: 50px;
}

.overlay .closebtn-right {
  position: fixed;
  bottom: 5px;
  right: 20px;
  font-size: 30px;
  padding-left: 50px;
}

.closebtn-bg {
  background-color: white;
  bottom: 0;
  height: 66px;
  width: 100%;
  z-index: 9999999;
  position: fixed;
}

/* Captions */

.media-image p, .media-video p {
  margin-block-start: 0em;
  margin-block-end: .5em;
}

@media screen and (min-width: 907px) {
.media-image p, .media-video p {
  text-align: right;
}
}

/* Lazy Load Images */

