/* -------------------------------- 

Primary style

-------------------------------- */


*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


body {
  font-size: 100%;
  background-color: #f5f5f5;
  margin:0; padding:0; border:0; outline: none;
}

body, html {
  /* important */
  height: 100%;
}

a:link {color: #FFF;text-decoration: none;}
a:active {color: #FFF;}
a:visited {color: #FFF;}
a:hover {color: #FFF;text-decoration: underline;}

a.work:link {color: #000;text-decoration: none;}
a.work:active {color: #27ff92;}
a.work:visited {color: #000000;}
a.work:hover {color: #27ff92;}

a.extrawork:link {color: #aaa;text-decoration: none;}
a.extrawork:active {color: #27ff92;}
a.extrawork:visited {color: #aaa;}
a.extrawork:hover {color: #27ff92;}

a.footer:link {color: #000;text-decoration: none;}
a.footer:active {color: #ffffff;}
a.footer:visited {color: #000000;}
a.footer:hover {color: #ffffff;}

a.email:link {color: #ffffff;text-decoration: underline;}
a.email:active {color: #ffffff;}
a.email:visited {color: #ffffff}
a.email:hover {color: #ffffff;}

a.welcome_info:link {color: #dcbece;text-decoration: none;}
a.welcome_info:active {color: #d591d5;}
a.welcome_info:visited {color: #dcbece;}
a.welcome_info:hover {color: #d591d5;}

/* ---------- SECTIONS ---------- */
.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  text-align:center;
}

.cd-container::after .cd-container_about::after .cd-container_contact::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

/*on hover hide regular image and show mouseover
.w3-third:hover > a > img { display: none;}
.w3-third:hover > a > img.mouseover {display: inline;}
.mouseover {display: none;}/*mouseover image is default hidden*/



/* ---------- HDR CONTENT ---------- */
.cd-main-content {
  /* you need to assign a min-height to the main content so that the children can inherit it*/
  height: 100%;
  position: relative;
  z-index: 1;
}

/* ---------- BG CONTAINER ---------- */
.cd-fixed-bg {
  position: relative;
  min-height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 1;
  background-color: #F8ABA4;
}

/* ---------- VERTICAL NAV---------- */
.hdr_navlist ul {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  	-webkit-transform: translateX(-50%) translateY(-50%);
  	-moz-transform: translateX(-50%) translateY(-50%);
  	-ms-transform: translateX(-50%) translateY(-50%);
  	-o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 90%;
  text-align: left;	
}

.hdr_logo {
    width: 12.5%;
    padding-bottom: 2em;
    padding-top: 2em;
}

.hdr_arrow {
    padding-top: 3em;
    width: 53px;
}

.hdr_name {
    width: 160px;
    padding-top: 4em;
}


 /* ---------- HORIZONTAL NAV ---------- */
.nav_left_container {
  width: 50%;
  float: left;
  text-align: right;
}

.nav_right_container {
  width: 50%;
  float: right;
}

.nav_logo {
  width: 38px;
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  	-webkit-transform: translateX(-50%) translateY(-50%);
  	-moz-transform: translateX(-50%) translateY(-50%);
  	-ms-transform: translateX(-50%) translateY(-50%);
  	-o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  text-align: center;
}

.scroll_down {
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  bottom: 0;
  left: 50%;
  position: absolute;
  z-index: 200;
  height: 78px;
  margin-left: -38px;
  width: 76px;
}

.down_arrow {
  width: 19px;
  margin-top: 50%;
  margin-left: 38%;
}

/* ---------- BGS ----------
.cd-fixed-bg.cd-bg-1 {background-image: url(../img/2016_bg.jpg);}*/


/* ---------- SCROLLING NAV ----------*/
.cd-scrolling-bg {
	background-position: center top;
	position: relative;
	height: 44px;
	max-height: 100%;
	line-height: 1.6;
	box-shadow: 0px -2px 1px 0px rgba(0,0,0,0.1);
	z-index: 2;
	/* background-image: url(../img/nav_bg2.png);*/
	background-repeat: no-repeat;
	background-color: #cbc4cb;
}

/* SCROLLING BGS
.cd-scrolling-bg.cd-color-1 {background-color: #9900FF;}
.cd-scrolling-bg.cd-color-2 {background-color: #99CCFF;}
.cd-scrolling-bg.cd-color-3 {background-color: #CC99FF;}
*/

 /* ---------- WORK SECTION ----------*/
 /* compensate for the fixed position header on scroll */
.work_container::before {
  content: '';
  display: block;
  position: relative;
  width: 0;
  height: 4em;
  margin-top: -9em;
}    

 .cd-container_work {
  width: 100%;
  max-width: 2000px;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

 .work_container {
  width: 100%;
  max-width: 2000px;
  margin-top: 1em;
  clear: both;
}

.thumbnail {
  width: 100%;
  height: auto;
  background-color: #000;
}


 /* ----------ABOUT SECTION ---------- */
 /* compensate for the fixed position header on scroll */
.about_container {
  width: 100%;
  max-width: 1100px;
  clear: both;
}

/* compensate for the fixed position header on scroll */
.about_container::before {
  content: '';
  display: block;
  position: relative;
  width: 0;
  height: 4.5em;
  clear:both;
}

 .cd-container_about {
  width: 100%;
  max-width: 1100px;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

/* ----------CONTACT SECTION ---------- */
.contact_container {
	background-color: #cbc4cb;
	width: 100%;
	max-width: 100%;
	clear: both;
	padding-top:3.2em;
	padding-bottom:3em;
}

.cd-container_contact {
  width: 100%;
  text-align: center;
  clear: both;
}



@media only screen and (min-device-width : 768px) and (max-device-width : 1100px){
  .cd-fixed-bg.cd-bg-1 {
    background-color: #eeecee;
    background-attachment: scroll; /*fixes bug where fixed background makes image huge, only on landscape ipad*/
  }
}

@media only screen and (min-width: 790px) {
  .cd-fixed-bg {background-attachment: fixed;}
}

@media only screen and (min-width: 768px) {
	.cd-header {height: 70px;}
  .cd-header #cd-logo { margin: 23px 0 0 5%;}
	.cd-scrolling-bg {padding: 0;line-height: 2;}
  .no-touch .cd-main-nav a:hover {color: #99a478;}
}

	
@media only screen and (max-width: 660px) {
  .hdr_logo {width: 88px;}
  .cd-scrolling-bg {background-size: cover; height: 48px;}
  .nav_name {display: none;}
  .nav_links {display: none;}
  .nav_logo {width: 38px;}
	.twocolumn-left{width: 100%;}
	.twocolumn-right {width: 100%;}
	.twocolumn-leftabout{width: 100%;}
	.twocolumn-rightabout{width: 100%;}
  .work_container::before {height: 7em; margin-top: -7em;}
} 

@media only screen and (min-width: 660px) {
  .navmobile_first {display: none;}
  .navmobile_last {display: none;  padding-left: 2.3em;}

}

.item {
  float:left;
  overflow: hidden;
  position:relative;
}

.overlay{
  -webkit-transition-delay: 1s; /* Safari */
  background-color: #212328;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  text-align: center;
  top: 0;
  transition: opacity ease-in-out 0.5s;
  width: 100%;
}

.item:hover .overlay {
  opacity: .7;
}

