@import url(https://fonts.googleapis.com/css?family=Syncopate:400,700|Open+Sans:400,600);
@import '../fonts/font-awesome.css';

a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
}
/* no focus ring after a click on a link / button (the "black frame") */
a:focus,
a:active,
.btn:focus,
.btn:active:focus {
  outline: 0 !important;
}
/*------ template stylization ------*/
html {
  height: 100%;
}
body {
  margin: 0;
  min-height: 100%;
  background: #2fc3c4;
}
#webSiteLoader {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  background: #2fc3c4;
}
#webSiteLoader span {
  position: absolute;
  top: 50%;
  left: 50%;
}
/*-----------  PAGE FRAME: header, content, footer in normal flow  -------------
   The background is fixed, the page itself scrolls; the footer sits at the
   bottom of the window when the content is short and right after the content
   (with a gap) when the gallery grows. */
#glob-wrap {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}
/* the grid and the content pages share one grid cell, so while one of them
   slides away the other one comes in at the same place (no vertical jump) */
#main {
  position: relative;
  width: 100%;
  z-index: 2;
  -webkit-box-flex: 1;
  -webkit-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: 100%;
  align-content: start;
  align-items: start;
}
#main > .splashHolder,
#main > #content_pages {
  grid-area: 1 / 1;
}
.bgCover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/siteBg.jpg) center center no-repeat #2fc3c4;
  background-size: cover;
  z-index: 0;
}
/*------------- HEADER ---------------------------------------------------------- */
header {
  position: relative;
  width: 100%;
  padding-bottom: 55px;
  top: 0;
  z-index: 10;
}
header h1 {
  margin: 100px 0 30px 0;
  width: 100%;
  height: 110px;
  text-align: center;
  position: relative;
}
header h1 a {
  display: block;
  width: 100%;
  max-width: 1005px;
  margin: 0 auto;
}
header h1 a img {
  width: 100%;
}
/*---------------- HEADER end ------------------------------------------------*/
/*-------------- FOOTER ---------------------------------------------------- */
footer {
  width: 100%;
  position: relative;
  padding-top: 50px;
  z-index: 10;
}
footer .container {
  text-align: right;
}
footer .container .followList {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: inline-block;
  position: relative;
}
footer .container .followList li {
  float: left;
  display: block;
  margin-left: 2px;
}
footer .container .followList li a {
  position: relative;
  display: inline-block;
}
footer .container .followList li a img {
  padding: 7px;
  position: relative;
  border-radius: 5px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
footer .container .followList li:hover a img {
  background: #ff9964;
  transform: rotateY(360deg);
  -webkit-transform: rotateY(360deg);
}
footer .container .copyright {
  display: block;
  margin: 10px 0 30px 0;
  position: relative;
}
footer .container .copyright a {
  float: right;
  font: 700 12px/20px 'Syncopate', "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #fff;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
footer .container .copyright a:hover {
  color: #ff9964;
  text-decoration: none;
}
/*-----------  FOOTER END  ------------------------------------------------------*/
/*-----------  MENU  ------------------------------------------------------------*/
header #mainNav {
  display: block;
  width: 100%;
  text-align: center;
  overflow: hidden;
  position: relative;
}
header #mainNav.showed .line {
  width: 100%;
}
header #mainNav .line {
  width: 0%;
  height: 1px;
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
header #mainNav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-block;
}
header #mainNav ul li {
  float: left;
  width: 70px;
  height: 100px;
  margin: 0 5px;
  position: relative;
}
header #mainNav ul li a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
header #mainNav ul li a .overHolder {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  z-index: 1;
}
header #mainNav ul li a .overHolder .extra {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  background: url(../img/extraItem1.png) 50% 22px no-repeat;
  z-index: 2;
  top: -100px;
  -webkit-transition: all 0.5s ease 0.15s;
  transition: all 0.5s ease 0.15s;
}
header #mainNav ul li a .overHolder .plane1 {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  z-index: 1;
  top: -100px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
header #mainNav ul li a .overHolder .plane2 {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  background: url(../img/extraItem2.png) 0 0 no-repeat;
  z-index: 1;
  top: -100px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
header #mainNav ul li a .iconHolder {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
header #mainNav ul li a .iconHolder img {
  margin-top: 30px;
}
header #mainNav ul li a .name {
  display: none;
}
header #mainNav ul li:hover a .iconHolder {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}
header #mainNav ul li:hover a .overHolder .extra,
header #mainNav ul li.active a .overHolder .extra {
  top: 0;
}
header #mainNav ul li:hover a .overHolder .plane1,
header #mainNav ul li.active a .overHolder .plane1 {
  top: 0;
}
header #mainNav ul li:hover a .overHolder .plane2,
header #mainNav ul li.active a .overHolder .plane2 {
  top: 100px;
}
/*-----------  menu end  --------------------------------------------------------*/
/*-------------------------------------------------------------------------------*/
h2 {
  font: 38px/42px 'Syncopate', "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #48474c;
  text-transform: uppercase;
  margin: 0 0 25px 0;
}
h3 {
  font: 700 12px/20px 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  color: #50aaaf;
}
p {
  font: 13px/20px 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #737a85;
  margin: 0 0 20px 0;
}
.moreBtn {
  font: 700 12px/15px 'Syncopate', "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #fff;
  background: #ff9964;
  padding: 14px 40px 14px 22px;
  position: relative;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.moreBtn:hover {
  color: #fff;
  background: #727984;
  padding: 14px 50px 14px 22px;
}
.moreBtn:after {
  width: 11px;
  height: 100%;
  display: block;
  position: absolute;
  right: 20px;
  top: 0;
  background: url(../img/extraItem4.png) 50% 50% no-repeat;
  content: " ";
}
/*-----------  CONTENT PAGES  --------------------------------------------------*/
#content_pages {
  position: relative;
  width: 100%;
  z-index: 2;
  display: grid;
  grid-template-columns: 100%;
  align-content: start;
  align-items: start;
}
#content_pages > .page {
  grid-area: 1 / 1;
  width: 100%;
  position: relative;
  display: none;
  padding: 0 15px;
  z-index: 1;
}
#content_pages > .page._active {
  z-index: 2;
}
/*-------------------------------------------------------------------*/
.margin1 {
  margin-top: 45px;
}
.margin2 {
  margin-right: 45px;
}
.padding1 {
  padding: 40px 0 30px 0;
}
/*-------------------------------------------------------------------*/
.wrap {
  overflow: hidden;
}
.contentBox1 {
  width: 970px;
  max-width: 100%;
  padding: 20px;
  background: #eff7ff;
  margin: 0 auto;
  position: relative;
}
.contentBox2 {
  width: 970px;
  max-width: 100%;
  padding: 70px 50px 40px 50px;
  background: #eff7ff;
  margin: 0 auto;
  position: relative;
}
.contentBox3 {
  width: 260px;
  position: relative;
  float: left;
}
.closeBtn {
  position: absolute;
  right: 15px;
  top: 15px;
  display: inline-block;
  color: #000;
  font-size: 20px;
  line-height: 28px;
  width: 30px;
  height: 30px;
  border-radius: 20px;
  text-align: center;
  z-index: 2;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.closeBtn:hover {
  color: #fff;
  text-decoration: none;
  background: #ff9964;
}
.figure1 {
  float: left;
  margin-right: 35px;
}
.figure1 img {
  width: 100%;
}
.space1 {
  width: 90px;
  display: inline-block;
}
.link1 {
  font: 13px/20px 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #737a85;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.link1:hover {
  color: #FF9964;
  text-decoration: none;
}
.icon1 {
  float: left;
  margin-right: 10px;
}
/*-----------  PORTFOLIO GRID  --------------------------------------------------*/
.splashHolder {
  width: 100%;
  position: relative;
  z-index: 1;
  text-align: center;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}
.splashHolder.showed {
  opacity: 1;
  filter: alpha(opacity=100);
}
.splashHolder ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 870px;
  max-width: 100%;
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.splashHolder ul li {
  width: 174px;
  display: block;
  position: relative;
  overflow: hidden;
}
.splashHolder ul li a {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.splashHolder ul li img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  -o-object-fit: cover;
  object-fit: cover;
}
/* hover "wave": three colour planes open from the middle and close again,
   a light gradient sweeps top to bottom; when it is over the photo is back
   to its normal look */
.splashHolder ul li a:before,
.splashHolder ul li a:after,
.splashHolder ul li:before,
.splashHolder ul li:after {
  content: " ";
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 0;
  top: 50%;
  pointer-events: none;
}
.splashHolder ul li a:before {
  z-index: 3;
  background: #ff9764;
}
.splashHolder ul li a:after {
  z-index: 2;
  background: rgba(255, 255, 255, 0.75);
}
.splashHolder ul li:before {
  z-index: 2;
  background: rgba(255, 255, 255, 0.5);
}
.splashHolder ul li:after {
  z-index: 5;
  height: 100%;
  top: -100%;
  background: url(../img/extraItem3.png) 0 0 no-repeat;
  background-size: 100% 100%;
}
.splashHolder ul li:nth-child(3n+2) a:before {
  background: #92db8f;
}
.splashHolder ul li:nth-child(3n+3) a:before {
  background: #f48893;
}
@-webkit-keyframes planeWave {
  0%   { height: 0;    top: 50%; }
  50%  { height: 100%; top: 0; }
  100% { height: 0;    top: 50%; }
}
@keyframes planeWave {
  0%   { height: 0;    top: 50%; }
  50%  { height: 100%; top: 0; }
  100% { height: 0;    top: 50%; }
}
@-webkit-keyframes gradientWave {
  0%   { top: -100%; }
  100% { top: 100%; }
}
@keyframes gradientWave {
  0%   { top: -100%; }
  100% { top: 100%; }
}
.splashHolder ul li:hover a:before {
  -webkit-animation: planeWave 0.8s ease 0s 1;
  animation: planeWave 0.8s ease 0s 1;
}
.splashHolder ul li:hover a:after {
  -webkit-animation: planeWave 0.8s ease 0.1s 1;
  animation: planeWave 0.8s ease 0.1s 1;
}
.splashHolder ul li:hover:before {
  -webkit-animation: planeWave 0.8s ease 0.2s 1;
  animation: planeWave 0.8s ease 0.2s 1;
}
.splashHolder ul li:hover:after {
  -webkit-animation: gradientWave 0.6s ease 0.5s 1;
  animation: gradientWave 0.6s ease 0.5s 1;
}
/*----- media queries ------*/
@media (min-width: 768px) and (max-width: 991px) {
  .contentBox1 {
    width: 750px;
    padding: 20px 20px 40px 20px;
  }
  .contentBox2 {
    width: 750px;
  }
  .figure1 {
    width: 100%;
    margin: 40px 0 20px 0;
  }
  .contentBox3 {
    width: 100%;
    margin: 0 0 40px 0;
  }
  .splashHolder ul {
    width: 750px;
  }
  .splashHolder ul li {
    width: 150px;
  }
}
@media (max-width: 767px) {
  header h1 {
    margin-top: 40px;
    height: auto;
    padding: 0 15px;
  }
  .contentBox1,
  .contentBox2 {
    width: 100%;
  }
  .contentBox2 {
    padding: 60px 20px 30px 20px;
  }
  .figure1 {
    width: 100%;
    margin: 40px 0 20px 0;
  }
  .contentBox3 {
    width: 100%;
    margin: 0 0 40px 0;
  }
  .margin2 {
    margin-right: 0;
  }
  .splashHolder {
    padding: 0 15px;
  }
  .splashHolder ul {
    width: 100%;
  }
  .splashHolder ul li {
    width: 50%;
  }
}
