* {
  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: #95A460;
  font-size: 20pt;
}

@font-face {
  font-family: bodycopy-white;
  src: url(../font/AkzidenzGrotesk-Cond.otf);
}
.bodycopy-white-font {
  font-family: bodycopy-white;
  color: #000;
  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: 50px 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-green-underline:hover {
  text-decoration: underline;
}

/* ======HEADER-HOMEPAGE===== */
#header-homepage {
  display: none;
}
.header-mob {
  position: absolute;
  top: 0;
  width: 100%;
  height: 200px;
  text-align: center;
  z-index: 1;
  background-color: rgba(75, 85, 95, .8);
}
.header-mob a img {
  margin: 20px 0 10px 0;
  width: 15%;
}
.header-homepage-slogan-mob {
  color: #fff;
  font-family: sub-title-white;
  font-size: 16pt;
}

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

#header {
  display: none;
}
/* ======NAVIGATOR====== */

.navigatorLink {
  transition: .3s;
  margin: 0 20px;
  text-decoration: none;
}
.navigatorLink:hover {
  text-decoration: underline;
}
/* ======MENU====== */
#menu {
  top: 0;
  background-color: rgba(75, 85, 95, .8);
  position: absolute;
  z-index: 3;
  left: 75%;
  width: 25%;
  position: fixed;
  list-style: none;
  transition: all ease-in-out .5s;
  margin: 0 0 0 100%;
}
#menu li {
  margin: 20px 25px;
  text-align: right;
}
.menuLink {
  color: #FFF;
  transition: .3s;
  text-decoration: none;
}
.menuLink:hover {
  text-decoration: underline;
}
#menuIcon {
  position: fixed;
  top: 10px;
  left: 89%;
  width: 48px;
  z-index: 2;
  cursor: pointer;
  transition: .5s;
}
#closeIcon {
  position: relative;
  width: 20px;
  margin: 10px;
  float: left;
  cursor: pointer;
}

/* ======CAROUSEL====== */

#caroBody {
  position: relative;
  width: 100%;
}
.caroBodyText {
  position: absolute;
  color: #fff;
  font-family: Droid Sans;
}
#caroBody h {
  display: none;
}
#caroBody p {
  display: none;
}
.caroPhoto {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 1s;
  opacity: 0;
}
#photo0 {
  position: relative;
}
.down {
  position: absolute;
  top: 70%;
  left: 50%;
  width: 60px;
  margin-left: -30px;
}

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

h1 {
  font-family: Droid Sans;
  font-size: 20pt;
  color: #505050;
}
.projectsBlock {
  width: 70%;
  display: inline-block;
  margin: 20px 4.5%;
  position: relative;
}
.projectsBlock a {
  text-decoration: none;
}
.projectsBlock a img {
  width: 100%;
}
.projectsBlockDesc {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 1;
  transition: .2s;
  text-align: left;
}
.projectsBlockDesc:hover {
  opacity: 1;
}
.projectsFont {
  position: relative;
  font-family: Droid Sans;
}
.projectsTitle {
  color: #fff;
  top: -40px;
  left: 10px;
  font-size: 18pt;
}
.projectsPar {
  top: -30px;
  width: 90%;
  font-size: 15pt;
  margin-left: 10px;
  color: #505050;
}
.projects-info {
  width: 60%;
  font-size: 15pt;
  font-family: Droid Sans;
  text-align: left;
  margin: 30px auto;
}


.project-block {
  width: 75%;
  display: block;
  margin: 35px auto;
  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 {
  width: 100%;
  padding-bottom: 150px;
}

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

.project-doc {
  width: 400px;
  margin: -50px auto 50px auto;
  text-align: center;
}
.project-table {
  margin: 20px auto 0 auto;
  overflow-x: auto;
  width: 400px;
}
.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: 100%;
  text-align: left;
}
.project-more {
  width: 400px;
  margin: 10px auto;
  text-align: center;
}
.project-more div {
  width: 32%;
  display: inline-block;
}
.project-more img {
  width: 100%;
  transform: scale(0.8);
  transition: .3s;
}
.project-more img:hover {
  transform: scale(1);
}

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

.gallery {
  width: 400px;
  height: 200px;
  margin: 30px auto 0 auto;
  overflow: hidden;
  background-color: #4E555F;
}
.viewport {
  position: relative;
  width: 400px;
}
.viewport-img {
  max-width: 400px;
  max-height: 200px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
}
.gallery-tbn {
  max-width: 400px;
  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: 380px;
  position: relative;
  top: -15px;
  height: 15px;
  padding: 0 10px;
  color: #fff;
  font-size: 9pt;
  font-family: title;
  text-align: left;
  margin: 0 auto;
}
.gcontrol {
  position: absolute;
  z-index: 1;
  margin-top: 110px;
  transition: .2s;
  width: 20px;
  cursor: pointer;
}
.gcontrol:hover {
  transform: scale(1.4);
}
.gcontrol:active {
  transform: scale(.5);
}
#prev {
  margin-left: -220px;
}
#next {
  margin-left: 200px;
}
/* ======SERVICES====== */
.service-block {
  width: 80%;
  display: block;
  text-align: center;
  margin: 0 auto 100px auto;
}
.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: 80%;
  margin: 0 auto;
  text-align: left;
}

/* ======FOOTER====== */
#footer {
  width: 100%;
  padding: 30px 0;
  background-color: rgba(75, 85, 95, .8);
}
.footerBlock {
  width: 100%;
  display: block;
  margin: 0 auto;
  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;
}
#address {
  margin-bottom: 10px;
}
/* ======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: 350px;
  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: 100%;
  display: block;
  vertical-align: top;
  margin: 0 auto 30px auto;
}
.about-left img {
  width: 90%;
}
.about-right {
  width: 90%;
  display: block;
  text-align: left;
  margin: 0 auto;
}
.about-center {
  width: 90%;
  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, .95 );
	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 */
