/* L'Apostat Design */

html {
	height:100%; /* fix height to 100% for IE */
	max-height:100%; /* fix height for other browsers */
	padding:0;
	margin:0;
	border:0;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #f9faf5;  
  color: #222;
  font-family: glacial-indifference, sans-serif;
  font-style: normal;
  text-align: left;
  font-weight: normal;
  font-size: 14px;
  text-transform: none;
} 

/* fonts */

@font-face {
  font-family: "glacial-indifference";
  src: url("fonts/glacialindifference-regular-webfont.woff2") format("woff2"),
	   url("fonts/glacialindifference-regular-webfont.woff") format("woff");
}
@font-face {
  font-family: "maragsa";
  src: url("fonts/MaragsÃ¢-Display.woff2") format("woff2"),
	   url("fonts/MaragsÃ¢-Display.woff") format("woff");
}

/* basic txt rules */
  
p {
  margin: 0em auto;
  padding: 0;
  color: #222;
  font-family: glacial-indifference, sans-serif;
  font-style: normal;
  text-align: left;
  font-weight: normal;
  font-size: 14px;
  text-transform: none;
}

a {
  color: #222;
  font-weight: normal;
  text-decoration: none;
  cursor:pointer;
 -webkit-transition:all .3s ease-in-out;
 -moz-transition:all .3s ease-in-out;
 -o-transition:all .3s ease-in-out;
 transition:all .3s ease-in-out;
}
a:visited {
  color: #222;
  font-weight: normal;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Landing Page */

.logo-box {
	position:absolute;
	top:0;
	left:0;
	right:0;
	min-height:100vh;
	z-index:-1;
	width: 100%;
	background-image: url('images/DCNwebback.png');
	background-repeat: no-repeat;
	background-size: 70%;
	background-position: center center;
}

.subpage-box {
  position:absolute;
  top:0;
  left:0;
  right:0;
  min-height:100vh;
  z-index:-1;
  width: 100%;
} 

.logo-text {
	color: #222; 
	font-size: 14px;
	text-align: left;
	width: 96%;
	padding: 2%;
}
.logo-image-box {
  width: 100px;
  height: auto;
  margin-bottom: 15px;
}

.logo-image {
  width: 100%;
}

#emailform{
  width: 100vw;
  height: 100vh;
}

#morebox{
  width: 100vw;
  height: 100vh;
}

.content-text {
  color: #222; 
  font-size: 16px;
  text-align: left;
  width: 96%;
  padding: 2%;
}

.content-titles {
  font-family: glacial-indifference, sans-serif;
  font-style: normal;
  text-align: left;
  font-weight: bold;
  font-size: 16px;
  text-transform: none;
  color: #222;
  margin-top: 15px;
  margin-bottom: 5px; 
}

.content-titles-plainlink {
  font-family: glacial-indifference, sans-serif;
  font-style: normal;
  text-align: left;
  font-weight: normal;
  font-size: 14px;
  text-transform: none;
  color: #222;
  margin-top: 15px;
  padding-bottom: 30px; 
  border-bottom: 2px solid #222;
}

.content-subtitle {
  font-family: glacial-indifference, sans-serif;
  font-style: normal;
  text-align: left;
  font-weight: normal;
  font-size: 12px;
  text-transform: none;
  color: #222;
  margin: 2px 0px 15px 0px;
}

a.biolink {
  font-weight: bold;
  color: #666;
}

a.biolink:hover {
  text-decoration: underline;
}

/* ACCORDION ELEMENTS */

.accordion {
  width: 100%;
  padding: 0px;
  font-family: glacial-indifference, sans-serif;
  font-style: normal;
  text-align: left;
  font-weight: normal;
  font-size: 14px;
  text-transform: none;
  margin: 0px auto;
  border: none;
  outline: none;
  transition: 0.5s;
  color: #222;
  background-color: transparent;
}
.active, .accordion:hover {
  background-color: transparent;
  cursor: pointer;
  text-decoration: underline;
}

.panel {
  padding: 0px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in;
}

.panel-show {
  padding: 0px;
  max-height: 0;
}

@media only screen and (max-width: 1200px) {
.panel-header-hide { display: none; }  
}

@media only screen and (min-width: 1200px) {
.panel-header-hide { display: block; } 
}

.panel-header-hide {
  margin: 15px 0px 0px 0px; 
  padding: 10px;
}

@media only screen and (max-width: 1200px) {
.panel-header-show { display: block; }  
}

@media only screen and (min-width: 1200px) {
.panel-header-show { display: none; } 
}

.panel-header-show {
  margin: 15px 0px 0px 0px; 
  padding: 10px;
}

.panel-header-alt {
  margin: 15px 0px; 
  padding: 10px;
}

.panel-subheader {
  margin: 0px 0px 20px 0px; 
  padding: 0px 0px 20px 0px;
  border-bottom: 20px solid #f9faf5;
}

.panel-margin {
  margin: 0px; 
  padding: 10px 0px;
  background-color: #efe9d3;
  /* background-image: url('images/backtexture.png'); */
}

.panel-inner {
  margin: 5px 0px; 
  background-color: rgb(249, 250, 245, 0.8);
  padding: 10px 10px 10px 0px;
  width: 40%;
}
.panel-main {
  margin: 10px 0px; 
  background-color: rgb(249, 250, 245, 0.8);
  padding: 10px 10px 10px 0px;

}

/* Masonry */

.row::after {
    content: "";
    clear: both;
    display: table;
}

.grid {
  width: 100%;
  margin: 10px 0px; 
  background-color: rgb(249, 250, 245, 0.8);
  padding: 10px 0px;
}
.archive-img {
   width: 100%; 
   height: auto;
}

/* 2 columns by default & mobile */
.grid-sizer, 
.grid-item { width: 50%; }
.grid-item--width2 { width: 100%; }
.grid-item--width3 { width: 100%; }

@media screen and (min-width: 600px) {
  /* 3 columns for small screens */
.grid-sizer,
.grid-item { width: 33.333%; }
.grid-item--width2 { width: 100%; }
.grid-item--width3 { width: 100%; }
}

@media screen and (min-width: 768px) {
  /* 4 columns for standard screens */
.grid-sizer,
.grid-item { width: 25%; }
.grid-item--width2 { width: 50%; }
.grid-item--width3 { width: 100%; }
}

.grid-top-border {
  border-top: 20px solid #E1D6AE;
    margin: 10px; 
  display: block;
}

.portfolio-container {
  margin-bottom: 40px;
}

.portfolio-container:hover .hover-info{
  opacity: 0.90;
  cursor: pointer;
}

.hover-info{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #fafafa;
}

.work-img {
  width: 100%; 
  height: auto;
}

.panel-gallery-text {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}
.panel-gallery-header {
  font-size: 16px;  
  margin: 0px;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  width: 100%;
  color: #222;
}
.panel-gallery-content {
  font-size: 12px;  
  margin: 0px;
  padding-top: 5px;
  width: 100%;
  text-align: center;  
  color: #222;  
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}