* {
  padding: 0;
  margin: 0;
  outline: none;
}
body {
  background-color: #e8e7e7;
}
/* ======FONT====== */
@font-face {
  font-family: navigator-menu;
  src: url(../font/AkzidenzGrotesk-Cond.otf);
}
.navigator-menu-font {
  font-family: navigator-menu;
  color: #fff;
  font-size: 16pt;
}

@font-face {
  font-family: title;
  src: url(../font/AkzidenzGrotesk-Cond.otf);
}
.title-font {
  font-family: title;
  color: #95A460;
  font-size: 30pt;
  font-weight: bold;
}

@font-face {
  font-family: sub-title;
  src: url(../font/AkzidenzGrotesk-Cond.otf);
}
.sub-title-font {
  font-family: sub-title;
  color: #95A460;
  font-size: 20pt;
  font-weight: bold;
}

@font-face {
  font-family: bodycopy;
  src: url(../font/AkzidenzGrotesk-Light.otf);
}
.bodycopy-font {
  font-family: bodycopy;
  font-size: 14pt;
  color: #000;
  line-height: 150%;
}

@font-face {
  font-family: footer-info;
  src: url(../font/AkzidenzGrotesk-Light.otf);
}
.footer-font {
  font-family: footer-info;
  color: #fff;
  font-size: 10pt;
}

@font-face {
  font-family: sub-title-white;
  src: url(../font/AkzidenzGrotesk-Cond.otf);
}
.sub-title-white-font {
  font-family: sub-title-white;
  color: #fff;
  font-size: 20pt;
}

@font-face {
  font-family: bodycopy-white;
  src: url(../font/AkzidenzGrotesk-Cond.otf);
}
.bodycopy-white-font {
  font-family: bodycopy-white;
  color: #fff;
  font-size: 16pt;
}

/* ======util====== */

#loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  height: 100%;
  width: 100%;
  background-color: #FFF;
}
#loading img {
  position: absolute;
  width: 300px;
  top: 50%;
  left: 50%;
  margin: -150px 0 0 -150px;
}
.centered {
  width: 90%;
  margin: 0 auto;
}
.content {
  padding: 130px 0 100px 0;
  text-align: center;
}

/* ======BUTTON====== */

.button {
  width: 250px;
  margin: 30px auto;
}
.buttonBg {
  background-color: #ebd66f;
  padding: 5px;
  transition: .3s;
}
.buttonBg:hover {
  background-color: #f9e79b;
}
.buttonLink {
  text-decoration: none;
  color: #000;
}
.pushButton {
  transition: .3s;
}
.pushButton:hover {
  transform: scale(1.06);
}
.pushButton:active {
  transform: scale(.9);
}

/* ======HOMEPAGE===== */
.cover {
  width: 100%;
}
.homepage-link {
  color: #fff;
  text-decoration: none;
}
.homepage-project-title {
  position: relative;
  top: 10px;
  left: 10px;
}
.homepage-project-des {
  margin: 20px 10px;
}

/* ======HEADER-HOMEPAGE===== */

#header-homepage {
  position: fixed;
  top: 0;
  height: 275px;
  width: 100%;
  background-color: rgba(75, 85, 95, .8);
  z-index: 2;
  transition: height .5s, opacity .2s;
}
.logo-homepage {
  position: absolute;
  left: 0;
  margin: 5px 10px;
  float: left;
  height: 36%;
  transition: .6s;
}
.header-homepage-slogan {
  font-family: title;
  color: #fff;
  text-align: center;
  font-size: 33pt;
  width: 400px;
  margin: 150px auto 0 auto;
  transition: .3s;
}
.header-mob {
  display: none;
}

/* ======HEADER====== */

#header {
  position: fixed;
  top: 0;
  height: 125px;
  width: 100%;
  background-color: rgba(75, 85, 95, .8);
  z-index: 2;
  transition: .5s;
}
.logo {
  position: absolute;
  left: 0;
  margin: 5px 10px;
  float: left;
  height: 80%;
  transition: .2s;
}

/* ======NAVIGATOR====== */

#navigator {
  float: right;
  margin: 50px 10px 0 0;
  transition: .5s;
}

.navigatorLink {
  transition: .3s;
  margin: 0 20px;
  text-decoration: none;
}
.navigatorLink:hover {
  text-decoration: underline;
}
/* ======MENU====== */
#menu {display: none;}
#menuIcon {display: none;}
#logoSml {display: none;}
/* ======CAROUSEL====== */

#caroBody {
  position: relative;
  width: 100%;
}
.caroBodyText {
  position: absolute;
  color: #fff;
  font-family: Droid Sans;
}
#caroBody h {
  font-size: 28pt;
  top: 155px;
  left: 27%;
}
#caroBody p {
  font-size: 14pt;
  top: 200px;
  left: 27%;
  margin: 0 4%;
}
.caroPhoto {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 1s;
  opacity: 0;
}
#photo0 {
  position: relative;
}
.down {
  position: absolute;
  top: 60%;
  left: 50%;
  width: 70px;
  margin-left: -35px;
}

/* ======PROJECTS====== */

h1 {
  font-family: Droid Sans;
  font-size: 30pt;
  color: #505050;
}
.projectsBlock {
  width: 40%;
  display: inline-block;
  margin: 20px 4.5%;
  position: relative;
}
.projectsBlock a img {
  width: 100%;
}
.projectsBlockDesc {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  top: 0;
  left: 0;
  width: 100%;
  height: 99%;
  opacity: 0;
  z-index: 1;
  transition: .2s;
  text-align: left;
}
.projectsBlockDesc:hover {
  opacity: 1;
}
.projectsFont {
  position: relative;
  font-family: Droid Sans;
  color: #fff;
}
.projectsTitle {
  top: 10px;
  left: 10px;
  font-size: 20pt;
}
.projectsPar {
  top: 10px;
  width: 90%;
  margin-left: 10px;
}
.projects-info {
  width: 60%;
  font-size: 15pt;
  font-family: Droid Sans;
  text-align: left;
  margin: 30px auto;
}


.project-block {
  width: 45%;
  display: inline-block;
  margin: 35px 0;
  vertical-align: top;
  text-align: left;
}
.project-block a:hover {
  text-decoration: underline;
  color: #95A460;
}
.project-block img {
  width: 100%;
  transition: .5s;
  border: 1px solid #e8e7e7;
}
.project-block img:hover {
  transform: scale(1.1);
}
.project-block a {
  text-decoration: none;
}
.project-grid-des {
  padding: 0 0 0 50px;
  width: 100%;
}

/* ======PROJECT-PAGE====== */

.project-doc {
  width: 800px;
  margin: -50px auto 50px auto;
  text-align: center;
}
.project-table {
  margin: 20px auto 0 auto;
  width: 800px;
}
.project-table table {
  border: solid 1px #000;
  font-size: 10pt;
}
.project-table table td {
  border: solid 1px #000;
  padding: 2px;
}
.project-des {
  display: inline-block;
  margin: 20px 0 0 0;
  width: 80%;
  text-align: left;
}
.project-more {
  width: 800px;
  margin: 10px auto;
  text-align: center;
}
.project-more div {
  width: 19%;
  display: inline-block;
}
.project-more img {
  width: 100%;
  transform: scale(0.8);
  transition: .3s;
}
.project-more img:hover {
  transform: scale(1);
}


/* ======GALLERY====== */

.gallery {
  width: 800px;
  height: 600px;
  margin: 30px auto 0 auto;
  overflow: hidden;
  background-color: #4E555F;
}
.viewport {
  position: relative;
  width: 800px;
}
.viewport-img {
  max-width: 800px;
  max-height: 600px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
}
.gallery-tbn {
  max-width: 800px;
  min-height: 130px;
  margin: 0 auto;
  padding: 5px 0;
  position: relative;
  top: -10px;
  overflow-y: hidden;
}
.wrapper-tbn {
  white-space: nowrap;
  text-align: left;
  max-height: 100px;
}
.viewport-img-tbn {
  max-height: 100px;
  display: inline;
  cursor: pointer;
  opacity: .8;
  vertical-align: top;
}
.gallery-img-name {
  background-color: rgba(0, 0, 0, .6);
  width: 780px;
  position: relative;
  top: -30px;
  height: 20px;
  padding: 5px 10px;
  color: #fff;
  font-size: 14pt;
  font-family: title;
  text-align: left;
  margin: 0 auto;
}
.gcontrol {
  position: absolute;
  z-index: 1;
  margin-top: 300px;
  transition: .2s;
  width: 30px;
  cursor: pointer;
}
.gcontrol:hover {
  transform: scale(1.4);
}
.gcontrol:active {
  transform: scale(.5);
}
#prev {
  margin-left: -440px;
}
#next {
  margin-left: 410px;
}
/* ======SERVICES====== */
.service-block {
  width: 33%;
  display: inline-block;
  text-align: center;
  margin-bottom: 30px;
}
.service-block img {
  width: 50%;
  margin-bottom: 10px;
  transition: .5s;
}
.service-block img:hover {
  transform: scale(1.1);
}
.service-block a {
  text-decoration: none;
}
.service-block a:hover {
  text-decoration: underline;
  color: #95A460;
}
.service-block-grid-des {
  width: 70%;
  margin: 0 auto;
  text-align: left;
}
/* ======FOOTER====== */
#footer {
  width: 100%;
  padding: 30px 0;
  background-color: rgba(75, 85, 95, .8);
}
.footerBlock {
  width: 40%;
  display: inline-block;
  margin: 0 auto;
  margin-left: 5.5%;
  text-align: center;
}
.footer-link {
  text-decoration: none;
}
.footer-link:hover {
  text-decoration: underline;
}
.footerEnd {
  width: 100%;
  padding: 20px 0;
  background-color: #4e555f;
  text-align: center;
}
.footer-website img {
  margin-top: 3px;
  width: 16px;
  display: inline-block;
}
/* ======CONTACT====== */
.contact-box {
  padding: 50px 0;
  width: 450px;
  margin: 0 auto;
}
.contactButton {
  border: none;
  cursor: pointer;
  font-family: sub-title;
  font-size: 16pt;
}
.contactInput {
  width: 500px;
  margin: 20px 0;
  border: none;
  padding: 5px 5px;
}
#contactMsg {
  height: 300px;
  resize: none;
}
.error {
  font-family: bodycopy;
  color: red;
}
.true {
  font-family: bodycopy;
  color: green;
}
/* ======ABOUT====== */

.about-content {
  margin: 50px auto 40px auto;
  width: 85%;
}
.about-left {
  width: 450px;
  display: inline-block;
  vertical-align: top;
}
.about-left img {
  width: 90%;
}
.about-right {
  width: 400px;
  display: inline-block;
  text-align: left;
}
.about-center {
  width: 800px;
  margin: 0 auto;
  text-align: left;
}
.about-link {
  text-decoration: none;
  color: #000;
}
.about-link:hover {
  text-decoration: underline;
}

/* popup */
.p_wrapper {
	width: 70%;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -12.5vw 0 0 -35%;
	background: rgba( 255, 255, 255, .8 );
	z-index: 999;
	padding: 1em;
}
.p_body {
	width: auto;
	border: solid 5px #2A2035;
	text-align: center;
	height: 25vw;
	background-image: url( /img/balloons.png ), url( /img/gifts.png );
	background-position: 5px 5px, calc( 100% - 5px ) calc( 100% - 5px );
	background-repeat: no-repeat, no-repeat;
	background-size: 10%, 25%; 
}
.p_text_wrapper {
	position: relative;
	top: 25%;
}
.p_body h1 {
	font-family: title;
	color: #2A2035;
	font-size: 4vw;
}
.p_close {
	position: absolute;
	right: 2em;
	top: 2em;
	width: 30px;
	cursor: pointer;
}
/* end popup */
