/*PROJECTS*/

/*DESKTOP*/

/* content */
.content {
	margin-bottom: 5vw;
}

/* projects menu */
.menu-projects {
	width: calc(100% - 2.1vw);
	margin-top: 1.9vw;
  display: grid;
  grid-gap: 0.7vw;
	grid-template-columns: [col] 25% [col] 25% [col] 50%;
  text-align: left;
}

.menu-projects a:hover {
  color: #999999;
}

.menu-projects a:hover {
  color: #999999;
}

.menu-projects a.current {
  color: #999999;
}

/* .menu-status {
	padding-left: 25%;
} */

.menu-status a:not(:last-child):after,
.menu-categories a:not(:last-child):after {
  content: ",";
}

.menu-status a:hover:after,
.menu-categories a:hover:after {
  color: black;
}

/* thumbnails */
body.thumbnails_selec .thumbnail_grid {
	margin-top: 5.75vw;
}

.thumbnail_grid {
  width: calc(100% - 2.1vw);
  margin-top: 1.2vw;
  display: grid;
  grid-gap: 0.7vw;
  grid-template-columns: repeat(4, 25%);
}

.thumbnail {
	cursor: pointer;
}

.thumbnail:hover .thumb-title p {
	color: #999999;
}

img.thumb-img {
	width: 100%;
    cursor: pointer;
    height: 15.9vw;
    /*background: #999999;*/
}

.thumb-title {
	margin-top: 0.1vw;
    cursor: pointer;
}

/* data sheet */
.data {
	width: calc(75% - 0.2vw);
	margin-top: 1.2vw;
	margin-left: calc(25% + 0.2vw);
    /*
	display: grid;
  	grid-gap: 0 9vw;
  	grid-template-columns: repeat(2, calc(50% - 4.5vw));
	grid-auto-flow: column;
    */
    column-count: 2;
    column-gap: 9vw;
}

.data-row {
	display: grid;
  	grid-gap: 1.1vw;
  	grid-template-columns: [col] 9% [col] calc(66% - 2.2vw) [col] 25%;
	cursor: pointer;
}

.data-row:hover p{
	color: #999999;
}

.data-row p.tag {
	text-align: right;
}

img.data-thumb {
	width: calc(25% - 9vw);
	height: auto;
	position: fixed;
	top: 7.55vw;
	left: 1.2vw;
	opacity: 0;
	transition: .15s;
	pointer-events: none;
}

.data-row:hover img.data-thumb {
	opacity: 1
}

/* carousel */
.carousel {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: white;
  opacity: 0;
  transition: .15s;
  pointer-events: none;
}

.thumbnail.on + .carousel{
	opacity: 1;
  	pointer-events: auto;
  	z-index: 99;
}

.data-row.on + .carousel{
	opacity: 1;
  	pointer-events: auto;
  	z-index: 99;
}

.carousel .slides {
  height: calc(100vh - 2.8vw);
  margin-top: 1.4vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel .slides img.slide {
    max-width: 92.5vw;
    max-height: calc(100vh - 2.8vw);
    /*width: auto;*/
    height: auto;
}

.carousel .slides img.slide.blueprint {
    max-width: 90vw;
    max-height: calc(100vh - 14vw);
    width: auto;
    height: auto;
}

.carousel .slides video.slide {
    max-width: 90vw;
    max-height: calc(100vh - 2.8vw);
    width: auto;
    height: auto;
}

.carousel .slides .text {
	width: calc(50% - 0.7vw);
    align-self: center;
}

.carousel .slides .text p.year {
	color: #999999;
}

.carousel .slides .text .credits {
  display: grid;
  grid-gap: 0 1.1vw;
 	grid-template-columns: calc(35% - 1.1vw) 65%;
}

.pagination {
  /*width: 100%;*/
  bottom: 1vw;
  left: 1.2vw;
  position: absolute;
  text-align: center;
}

.nav-carousel {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prev {
  /* cursor: w-resize; */
  width: 50vw;
  height: 100%;
  margin-left: 1.2vw;
  background-image: url("https://adamo-faiden.com/images/uploads/layout/prev.png");
  background-repeat: no-repeat;
  background-size: 0.6vw auto;
  background-position: 0 50%;
}

.next {
  /* cursor: e-resize; */
  width: 50vw;
  height: 100%;
  margin-right: 1.2vw;
  background-image: url("https://adamo-faiden.com/images/uploads/layout/next.png");
  background-repeat: no-repeat;
  background-size: 0.6vw auto;
  background-position: 100% 50%;
}

img.close {
  width: 1vw;
  height: auto;
  position: absolute;
  top: 0;
  right: 0;
  padding: 1.4vw 1.2vw;
  z-index: 99;
}

.nav-carousel .prev,
.nav-carousel .next,
img.close {
  cursor: pointer;
}

.show {
	display:block !important
}


/* TABLET */
@media (max-width:1024px) {
}

/* MOBILE */
@media (max-width:600px) {

.menu-projects {
	display: none;
}

/* thumbnails */
body.thumbnails_selec .thumbnail_grid {
	margin-top: 8vw;
}

.thumbnail_grid {
	width: calc(100% - 3.5vw);
    margin-top: 8vw;
    display: grid;
    grid-gap: 2.5vw 3.5vw;
    grid-template-columns: repeat(2, 50%);
}

.thumbnail:hover .thumb-title {
	color: #999999;
}

img.thumb-img {
    height: auto;
}

/* data */
.data {
    width: 100%;
    margin-top: 8vw;
    margin-left: 0;
    display: grid;
    grid-gap: 0 5vw;
    grid-template-columns: none;
    grid-template-rows: none !important;
    grid-auto-flow: inherit;
}

/* carousel */
.pagination {
	bottom: 2.5vw;
    left: 3.5vw;
    position: absolute;
}

.carousel .slides {
    align-items: center !important;
}

.carousel .slides img.slide, .carousel .slides img.slide.blueprint {
    max-width: calc(100vw - 7vw);
    max-height: calc(100vh - 5vw);
    width: auto;
    height: auto;
}

img.close {
    width: 3vw;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    padding: 3.5vw;
}

.carousel .slides .text {
    width: calc(100% - 7vw);
}

.carousel .slides .text .credits {
    display: grid;
    grid-gap: 3.5vw;
    grid-template-columns: 50% 50%;
    width: calc(100% - 3.5vw);
}

}