﻿*{
	margin: 0;
	padding:0;
	font-family:"Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

 /*------------------------- header -------------------------*/
.header{
	min-height: 100px
	width:100%;
	background-color: transparent;
	background-position:center;
	background-size: cover;
	position:relative;
	border-bottom: size:16px;
	border-bottom-style: solid;
	border-bottom-color: #E8EBDE;
	border-top: size:16px;
	border-top-style: solid;
	border-top-color:#E8EBDE;

}
nav{
	display: flex;
	padding: 1% 3%;
	justify-content: space-between;
	aligh-items: center;
	
}
.contact{
	font-size:13px;
	flex: 0.5;	
}
.contact ul li{
	list-style: none;
	display: block;
	padding: 3px 4px;
	position: relative;

}
.nav-links{
	flex: 4;
	text-align: left;
	background-color: transparent;
	width:90%	
}
.nav-links ul{
}
.nav-links ul li{
	list-style: none;
	display: inline-block;
	padding: 6px 8px;
	position: relative;

}
.nav-links ul li a{
	color:#293133;
	text-decoration:none;
	font-size:13px;	
}
.nav-links ul li::after{
	content: '';
	width: 0%;
	height: 1px;
	background: #474826;
	display:block;
	margin:auto;
	transition:1s;
}
.nav-links ul li:hover::after{
	width: 100%;
}

#links ul li{
list-style: none;
	display: inline-block;
	padding: 6px 8px;
	position: relative;
}
#links ul li a{
    color:#E5E4E2;
	text-decoration:none;
	font-size:13px;	
}
#links ul li::after{
	content: '';
	width: 0%;
	height: 1px;
	background: #474826;
	display:block;
	margin:auto;
	transition:1s;
}
#links ul li:hover::after{
	width: 100%;
}


/*------------------------------------------ text-box ------------------------------*/
.text-box{
	width: 90%;
	color:black;
	position:absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	text-align: center;
}

.text-box h1{
 	font-size:24px; 		
}	
.text-box p{
	margin: 10px 0 40px;
	font-size: 14px;
	color:gray;
}

/* ========== Toggle menu icons (desktop hidden, mobile only) ========== */

.menu-icon {
  width: 18px;
  height: 18px;
  cursor: pointer;
  position: fixed;   /* <- changed from absolute */
  top: 20px;
  right: 20px;
  z-index: 1000;  /* stay on top */
  display: none; /* default hidden on desktop */
}

/* Show icons only on screens smaller than 700px */
@media (max-width: 700px) {
  .menu-icon {
    display: block; /* icons fixed in the viewport */
    position: fixed;   /* icons float */
    top: 20px;
    right: 20px;
  }
  

   .nav-links {
    position: fixed;   /* floats on top, no empty space */
    top: 0;
    right: -200px;     /* hidden off screen */
    width: 200px;
    height: 100%;      /* full screen height */
    background: #CCCCCC;
    text-align: left;
    z-index: 999;
    transition: right 0.3s ease;
    overflow-y: auto;  /* if menu is taller than screen, it scrolls */
  }

  .nav-links.open {
    right: 0;          /* slides in */
  }
    
  .nav-links ul {
    padding: 20px;
  }

  .nav-links ul li {
    display: block;
  }

  .text-box h1 {
    font-size: 20px;
  }
}
 /*--------------------------- content ---------------------*/
 .content{
 	width: 100%;
 	
 	margin: auto;
 	text-align: center;
 	padding-top: 10px;
 	background-color:#777777;
 	}
 /*--------------------------- links to pages from homepage colums ---------------------*/ 	
  .first-content-col a:hover::after{
 	
 }

 /*--------------------------- toller ---------------------*/
 	
.content-toller{
 	width: 95%;
 	max-width:1400px;
 	margin: auto;
 	text-align: center;
 	padding-top: 20px;
 	background:#465CAA;
 }
 #toller {
 color:#BEBE9E;
 font-weight:lighter;
 text-align:left;
 }
  #toller1 {
  color:#BEBE9E;
 font-weight:bold;
 text-align:center;
  }
  #toller2 {
 color:#BEBE9E;
 font-weight:lighter;
 font-size:11px;
 text-align:center;
 padding-top: 6px;
 }
  #toller4 {
 color:#BEBE9E;
 font-weight:lighter;
 text-align:left;
 text-indent: 60px;
 }



 
 .row{
 	margin-top: 2%;
 	display: flex;
 	justify-content: space-between;
 }
  .row1{
 	margin-top: 2%;
 	display: flex;
 	flex-flow: row wrap;
 }
 @media(max-width: 700px){
 		.row1{
 		flex-direction: column;
 		}
 }
/*-------------------------------------------------description columns --------------*/

 #description-col{
 	flex-basis: 25%;
 	background: #E8EBDE;
 	margin-bottom: 2px;
 	padding: 4px 8px;
 	box-sizing: border-box;
 }
 #description-col p{
  	font-size: 11px;
   	line-height: 14px;
  }
 #description-col cite{
 	font-size: 13px;
  }


/*------------------------------------ content column --------------------------------------------*/

 .content-col{
 	flex-basis: 31%;
 	background: #;
 	margin-bottom: 2%;
 	padding: 20px 12px;
 	box-sizing: border-box;
 }
  .content-col p { 
    font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;        
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: 200;
    line-height: 20px;
    text-decoration: none;
    color:#293133;
 } 
 .content-col:hover{
 	
 }
 
 .content-col figure img{
 	width: 100 %
 }

 @media(max-width: 700px){
 	.row{
 	flex-direction: column;
 	}
}

 /*-------------------------- first-content ----------------------*/
  
 .first-content{
 	width: 95%;
 	margin: auto;
 	text-align: left;
 	padding-top: 20px;
 	 }
 .first-content-col2{
	flex-basis: 60%;
	margin-bottom: 2%;
	position: relative;
	padding: 20px 12px;
 	box-sizing: border-box;
	}
  .first-content-col2 dl{
   display: flex;
    flex-flow: row wrap;
    border: solid #CCC;
    border-width: 1px 1px 0 0;
}
 .first-content-col2 dt{
    flex-basis: 15%;
    padding: 0px 20px 0px 2px;
    border: 0px solid black;
    background: #0;
    text-align: left;
    margin-bottom:-0.4px;
    font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;        
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: 600;
    line-height: 20px;
    text-align: right;
    color:black;
  }
  
 .first-content-col2 dd{  
    flex-basis: 80%;
    flex-grow: 1;
    margin-bottom: -0.4px;
    padding: 0px 2px 0px 2px;
    border-bottom: 0px solid black;
    font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;        
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: 300;
    line-height: 20px;
    text-decoration: none;
    color:black;
  }
  
  dd cite {font-size: 14px;
  }

 .first-content-col2 p { 
    font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;        
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: 300;
    line-height: 20px;
    text-indent: 60px;
    color:black;

}
 .first-content-col{
	flex-basis: 25%;
	margin-bottom: 2%;
	position: relative;
	padding: 20px 12px;
 	box-sizing: border-box;
 	background-color:;

}
 .first-content-col p { 
    font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;        
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: 300;
    line-height: 20px;
    text-indent: 60px;
    color:black;
    padding: 12px;
}    
 .first-content-col h4 { 
	padding: 12px;
 }
 .first-content-col h5 { 
	padding: 12px;
	text-align:;
 }
  
 .first-content-col img{
 	max-width: 100%;
 	height:auto;
 	padding: 12px;	
 }
 .first-content-col figcaption{
 font-size: 11px;
 padding: 0px 12px;
 }
   
 /*------------------------ first-content-column-home -----------------------------*/
 
 .first-content-col-home {
	flex-basis: 25%;
	margin-bottom: 2%;
	position: relative;
	padding: 20px 12px;
 	box-sizing: border-box;
 	background-color:#777777;

}
 .first-content-col-home p { 
    font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;        
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: 300;
    line-height: 20px;
    text-indent: 60px;
    color:black;
    padding: 12px;
}    
 .first-content-col-home h4 { 
	padding: 12px;
 }
 .first-content-col-home h5 { 
	padding: 12px;
	text-align:;
 }
  
 .first-content-col-home img{
 	max-width: 100%;
 	height:auto;
 	padding: 12px;	
 }
 .first-content-col-home figcaption{
 font-size: 11px;
 padding: 0px 12px;
 }

  
 /*------------------------ footer -----------------------------*/
 
 .footer{
	width: 80%;
	margin: auto;
 	text-align: center;
 	padding: 10px 0;
 	border-top: size:16px;
	border-top-style:solid;
	border-top-color:#E8EBDE;
	background: transparent;

 }
 .footer{
 	 font-family: "Lucida Sans";
        font-size: 13px;
      	font-style: normal;
      	font-variant: normal;
        font-weight: 300;
        line-height: 15px;
        text-decoration: none;
        color:#293133;
 }  
 }
 .footer-col{
 	flex-basis: 20%;
 	background: transparent;
 	margin-bottom: 2%;
 	padding: 4px 3px;
 	box-sizing: border-box;
 	position: relative;	
} 
 .footer-col-oac{
 	flex-basis: 40%;
	text-align: left;
	background: transparent;
	margin-bottom: 2%;
 	padding: 4px 3px;
 	box-sizing: border-box;
 	font-weight:normal;
 	position: relative;
 }

/* container for overlay positioning */
.viewer-slot {
  position: relative;
}
 
.inline-viewer {
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
  pointer-events: none;
}

.inline-viewer.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.inline-viewer img {
  width: auto;
  height: auto;
  max-width: 96vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

.viewer-frame {
  background: #E8EBDE;
  padding: 10px;
  border-radius: 4px; 
}


.inline-caption {
  max-width: 65ch;
  margin: 10px auto 0;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  word-break: normal;
  overflow-wrap: break-word;
}

/* grid layout */
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

/* ONLY thumbnails inside the grid */
.thumb-grid .thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  cursor: pointer;
}


/* grid for index */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 150px));/* size of link image */

  gap: 14px;
  justify-content: center; /* keeps grid centered */
}
.project-card {
  width: 100%;
  text-align: center;
}
.project-card img {
  width: 100%;
  max-width: 150px;     /* prevents blur */
  height: auto;         /* keeps rectangle proportion */
  display: block;
}
.project-card h3 {
  margin-top: 8px;
  font-size: 13px;
  font-weight: normal;
  line-height: 1.3;
  width: 100%;          /* follows image width */
  word-break: normal;
  color:#E5E4E2;
      
}
.project-card h3 a {
  color: #E5E4E2;              /* or your preferred tone */
  text-decoration: none;
  position: relative;
  display: inline-block;
}

/* animated underline */
.project-card h3 a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background: #E5E4E2;
  transition: all 0.6s ease;
  transform: translateX(-50%);
}

.project-card h3 a:hover::after {
  width: 100%;
}
