@media screen and (max-width: 768px) {
	#carousel, #carousel-slides {
		position: fixed;
		overflow: hidden;
		max-height: 100vh;
	}

	#header {
	  height: 51px;
	}

	#logo {
		width: 195px;
		margin-left: 0;
	}
	
	#nav-border {
      top: 51px;
    }
	
    #page-container {
        flex-direction: column-reverse;
        justify-content: flex-start;
        align-items: flex-start;
    }
		
	.page-container-projects {
		flex-direction: column !important;
	}
	
	#navigation {
		display: none;
		position: fixed;
		left: 0;
		top: 0;
		width: 100vw;
		height: 100vh;
		z-index: 9;
	}

	#nav-list {
		margin: 66px 0 0 18px;
		list-style: none;
		padding: 0;
	}

	#nav-list li {
		margin: 0 0 7px 0;
	}

	#nav-list li a {
		font-size: 18px;
		/* letter-spacing: 0.3px; */
	}	
	
  #page-copy {
    margin: 20px 18px 0 18px;
	width: calc(100% - 50px);
	border-bottom: 1px solid #dddddd;
  }
	
	.no-border-for-small {
		border: none !important;
	}	

   #page-copy h2, h2.page-title {
    font-size: 18px;
	/* letter-spacing: 0.5px; */
    line-height: 22px;
    margin: -10px 0 50px 0;
   }

	h2.back-nav-title {
        color: #757575;
        font-size: 18px;
        /* letter-spacing: 0.5px; */
        line-height: 22px;
        margin: 0;
        font-weight: normal;
    }
	
  #page-copy p {
    font-size: 14px;
    line-height: 20px;
    margin: 16px 0 21px 0;
   }
		
	#projects-list {
		width: 100%;
		max-width: 100%;
	}
	
	.projects-card {
	   flex-direction: row;
	   justify-content: space-between;
	   align-items: flex-start;
	   width: calc(100% - 50px);
	   margin: 24px 24px 0 24px;
	   padding-bottom: 24px;
    }
	
	.projects-card-info {
	   width: 225px;
    }

    .projects-card-img {
	  width: 160px;
	  height: auto;
     }

	.list-title {
	  font-size: 18px;
	  margin: 0 0 3px 1px;
	  line-height: 22px;	
	  /* letter-spacing: 0.5px; */
	  font-weight: lighter;
    }

    .list-span {
	    font-size: 14px;
		margin: 0;	
		/* letter-spacing: 0.3px; */
		margin-right: 1px;
    }
	
	#project-title {
	  margin: 25px 0 11px 0 !important;
    }
	
	#project-info-text {
		margin-bottom: 20px;
	}

	
	#project-info-data {
		margin: 20px 0 80px 0;
	}
	
	.data-row {
		margin-bottom: 14px;
	}
	
	.data-title {
	 font-size: 12px;
	 line-height: 1.8;	
    }

   .data-info {
	   font-size: 12px;
	   margin-top: -3px;
	}

	#project-gallery {
		margin: 16px 25px 0 18px;
		width: calc(100% - 40px);
		height: 250px;
	}

	#project-gallery-slides {
		max-width: 100%;
		height: 250px;
		/*position: relative;*/
	}

	#project-gallery-slides img {
		left: 0px;
		height: 250px;
		/*width: auto;
		max-width: 100%;
		max-height: 100%;
		height: auto;
		top: unset;
		bottom: 0px;*/
	}

	#project-gallery-controls {
		left: 0px;
		max-width: 100%;
	}

	#fs-left-arrow, #fs-right-arrow {
		display: none !important;
	}

	#project-full-screen-right-arrow.allow-hover:hover img, #project-full-screen-left-arrow.allow-hover:hover img {
		display: none !important;
	}

	/* Hide on mobile/touch devices */
	@media (hover: none) {
		#fs-left-arrow, #fs-right-arrow {
			display: none !important;
		}
	}

	#project-gallery-counter {
		border-top: 1px solid #dedede;
		margin-top: 4px;
		padding-top: 7px;
		justify-content: end;
		font-size: 14px;
	}

	#project-gallery-counter span {
		font-size: 12px;
	}

	#mobile-back-nav {
		display: flex;
		justify-content: flex-start;
		align-items: center;
		margin: 77px 0 46px 20px;
	}
	
	#mobile-back-nav img {
		width: 24px;
		margin: 0 5px 0 0;
	}

	.project-span {
	   font-size: 14px;
	}

	#project-gallery-left-arrow, #project-gallery-right-arrow, #project-full-screen-left-arrow, #project-full-screen-right-arrow {
		opacity: 0;
	}

	.allow-hover {
		opacity: 0 !important;
	}

	#project-full-screen-title h1 {
		font-size: 16px;
		font-weight: normal;
		color: #767676;
	}

	#project-full-screen-counter {
		margin-left: 15px;
	}

	#project-full-screen-counter span {
		font-weight: lighter;
		font-size: 14px;
		color: #767676 !important;
	}

	#project-full-screen-close {
		height: 16px;
	}

	#project-full-screen {
		height: 100vh; /* Fallback */
		height: 100dvh;
	}
}
