/*!
 * Start Bootstrap - Agency v4.0.0-alpha (http://startbootstrap.com/template-overviews/agency)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-agency/blob/master/LICENSE)
 */

body {
 
  font-family: 'Raleway', sans-serif; 
  height: 100%;
}

html {
  position: relative;
  min-height: 100%;
}

p {
  line-height: 1.5;
}

a {
  color: #05a1c7;
}

a:hover,
a:focus,
a:active,
a.active {
  color: #05a1c7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Raleway', sans-serif; 
  font-weight: 600;
}

.navbar {
  margin-bottom: 0px;
}

section {
  padding: 100px 0;
}

section h2.section-heading {
  font-size: 30px;
  margin-top: 0;
  margin-bottom: 35px;
}

section h3.section-subheading {
  font-size: 16px;
  font-family: 'Raleway', sans-serif; 
  text-transform: none;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 75px;
}

@media (min-width: 768px) {
  section {
    padding: 60px 0;
  }
}

::-moz-selection {
  text-shadow: none;
  background: #05a1c7;
}

::selection {
  text-shadow: none;
  background: #05a1c7;
}

img::selection {
  background: transparent;
}

img::-moz-selection {
  background: transparent;
}

body {
  -webkit-tap-highlight-color: #05a1c7;
}

#mainNav {
  background-color: #222222;
  height: 70px;
}

#mainNav .navbar-toggler {
  border: 0;
  color: white;
  font-size: 25px;
  
  font-family: 'Raleway', sans-serif; 
  
  padding: 13px;
  right: 10px;
}

#mainNav .container {
  padding: 0 10px;
  width: 100%;
}

#mainNav .container .navbar-brand {
  color: #05a1c7;
  font-family: 'Raleway', sans-serif; 
}

#mainNav .container .navbar-brand:hover,
#mainNav .container .navbar-brand:focus,
#mainNav .container .navbar-brand:active,
#mainNav .container .navbar-brand.active {
  color: #05a1c7;
}

#mainNav .container .navbar-nav .nav-item .nav-link {
  font-size: 17px;

  font-family: 'Raleway', sans-serif; 
  
  font-weight: 400;

  color: black;
  cursor: pointer;
}

#mainNav .container .navbar-nav .nav-item .nav-link:hover,
#mainNav .container .navbar-nav .nav-item .nav-link.active {
  color: #05a1c7;
}

@media (min-width: 992px) {
  #mainNav {
    background-color: transparent;
    padding: 25px 0;
    -webkit-transition: padding 0.3s;
    -moz-transition: padding 0.3s;
    transition: padding 0.3s;
    border: none;
  }
  #mainNav .navbar-brand {
    font-size: 1.75em;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
    padding: 1.1em 1em !important;
  }
  #mainNav.navbar-shrink {
    background-color: #f0f3f4;
    padding: 0;
    box-shadow: 0 1px 16px rgba(0, 0, 0, 0.15);
  }
  #mainNav.navbar-shrink .navbar-brand {
    padding: 12px 0;
    font-size: 1.25em;
  }
}

header.masthead {
  background-image: url("../img/1900_x_500_1.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  text-align: center;
  color: #f0f3f4;
}

header.masthead .intro-text {
  padding-top: 100px;
  padding-bottom: 50px;
}

header.masthead .intro-text .intro-lead-in {
  font-family: 'Raleway', sans-serif; 
  font-size: 22px;
  line-height: 22px;
  margin-bottom: 25px;
}

header.masthead .intro-text .intro-heading {
  font-family: 'Raleway', sans-serif; 
  text-transform: uppercase;
  font-weight: 500;
  font-size: 50px;
  line-height: 50px;
  margin-bottom: 25px;
}

@media (min-width: 768px) {
  header.masthead .intro-text {
    padding-bottom: 200px;
    width: 700px;
    height: 500px;
  }
  header.masthead .intro-text .intro-lead-in {
    font-size: 30px;
    font-family: 'Raleway', sans-serif; 
	font-weight: 400;
    margin-top: 5px;
    color: #ffffff;
  }
  header.masthead .intro-text .intro-heading {
    font-family: 'Raleway', sans-serif; 
    font-size: 42px;
    line-height: 43px;
    margin-top: 12px;
    margin-bottom: 80px;
    color: #ffffff;
  }
}

.service-heading {
  margin: 15px 0;
  text-transform: none;
}

.logo-small {
  width: 250px;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 1000px) {
  .logo-small {
    width: 140px;
    height: auto;
  }
  ul.social-buttons {
    display: none
  }
  #navbarResponsive {
    background: #f0f3f4;
  }
  #mainNav {
    position: relative;
  }
}

.masthead .container {
  margin-left: 10%;
}

.section-heading {
  margin-bottom: 35px;
  margin-top: 35px;
  font-size: 30px;
}

.cards-container {
  width: 100%;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  justify-content: center;
  text-align: center;
}

.cards-container .card-side {
  background: #e1e1e1;
}

.cards-container .card-middle {
  background: #d3d3d3;
}

#portfolio .portfolio-item .portfolio-link {
  cursor: pointer;
  display: block;
  position: relative;
  margin: 0 auto;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover {
  background: #05a1c7;
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all ease 0.5s;
  -webkit-transition: all ease 0.5s;
  -moz-transition: all ease 0.5s;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
  opacity: 1;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
  position: absolute;
  width: 100%;
  height: 20px;
  font-size: 20px;
  text-align: center;
  top: 50%;
  margin-top: -12px;
  color: white;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
  margin-top: -12px;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
  margin: 0;
}

#portfolio .portfolio-item .portfolio-caption {
  max-width: 400px;
  margin: 0 auto;
  background-color: white;
  text-align: center;
  padding: 25px;
}

#portfolio .portfolio-item .portfolio-caption h4 {
  text-transform: none;
  margin: 0;
}

#portfolio .portfolio-item .portfolio-caption p {
  font-family: 'Raleway', sans-serif; 
  font-style: italic;
  font-size: 16px;
  margin: 0;
}

#portfolio * {
  justify-content: center;
  z-index: 2;
}

@media (min-width: 767px) {
  #portfolio .portfolio-item {
    margin: 10px 10px 10px;
  }
}

.portfolio-modal .modal-dialog {
  margin: 0;
  height: 100%;
  max-width: none;
}

.portfolio-modal .modal-content {
  border-radius: 0;
  background-clip: border-box;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: none;
  min-height: 100%;
  padding: 100px 0;
  text-align: center;
}

.portfolio-modal .modal-content h2 {
  margin-bottom: 15px;
  font-size: 3em;
}

.portfolio-modal .modal-content p {
  margin-bottom: 30px;
}

.portfolio-modal .modal-content p.item-intro {
  margin: 20px 0 30px;
  font-family: 'Raleway', sans-serif; 
  font-style: italic;
  font-size: 16px;
}

.portfolio-modal .modal-content ul.list-inline {
  margin-bottom: 30px;
  margin-top: 0;
}

.portfolio-modal .modal-content img {
  margin-bottom: 30px;
}

.portfolio-modal .modal-content button {
  cursor: pointer;
}

.portfolio-modal .close-modal {
  position: absolute;
  width: 75px;
  height: 75px;
  background-color: transparent;
  top: 25px;
  right: 25px;
  cursor: pointer;
}

.portfolio-modal .close-modal:hover {
  opacity: 0.3;
}

.portfolio-modal .close-modal .lr {
  height: 75px;
  width: 1px;
  margin-left: 35px;
  background-color: #222222;
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  /* IE 9 */
  -webkit-transform: rotate(45deg);
  /* Safari and Chrome */
  z-index: 1051;
}

.portfolio-modal .close-modal .lr .rl {
  height: 75px;
  width: 1px;
  background-color: #222222;
  transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  /* IE 9 */
  -webkit-transform: rotate(90deg);
  /* Safari and Chrome */
  z-index: 1052;
}

.portfolio-modal .modal-backdrop {
  opacity: 0;
  display: none;
}

.timeline {
  list-style: none;
  padding: 0;
  position: relative;
}

.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: "";
  width: 2px;
  background-color: #f1f1f1;
  left: 40px;
  margin-left: -1.5px;
}

.timeline>li {
  margin-bottom: 50px;
  position: relative;
  min-height: 50px;
}

.timeline>li:before,
.timeline>li:after {
  content: " ";
  display: table;
}

.timeline>li:after {
  clear: both;
}

.timeline>li .timeline-panel {
  width: 100%;
  float: right;
  padding: 0 20px 0 100px;
  position: relative;
  text-align: left;
}

.timeline>li .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}

.timeline>li .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}

.timeline>li .timeline-image {
  left: 0;
  margin-left: 0;
  width: 80px;
  height: 80px;
  position: absolute;
  z-index: 100;
  background-color: #05a1c7;
  color: white;
  border-radius: 100%;
  border: 7px solid #f1f1f1;
  text-align: center;
}

.timeline>li .timeline-image h4 {
  font-size: 10px;
  margin-top: 12px;
  line-height: 14px;
}

.timeline>li.timeline-inverted>.timeline-panel {
  float: right;
  text-align: left;
  padding: 0 20px 0 100px;
}

.timeline>li.timeline-inverted>.timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}

.timeline>li:last-child {
  margin-bottom: 0;
}

.timeline .timeline-heading h4 {
  margin-top: 0;
  color: inherit;
}

.timeline .timeline-heading h4.subheading {
  text-transform: none;
}

.timeline .timeline-body>p,
.timeline .timeline-body>ul {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }
  .timeline>li {
    margin-bottom: 100px;
    min-height: 100px;
  }
  .timeline>li .timeline-panel {
    width: 41%;
    float: left;
    padding: 0 20px 20px 30px;
    text-align: right;
  }
  .timeline>li .timeline-image {
    width: 100px;
    height: 100px;
    left: 50%;
    margin-left: -50px;
  }
  .timeline>li .timeline-image h4 {
    font-size: 13px;
    margin-top: 16px;
    line-height: 18px;
  }
  .timeline>li.timeline-inverted>.timeline-panel {
    float: right;
    text-align: left;
    padding: 0 30px 20px 20px;
  }
}

@media (min-width: 992px) {
  .timeline>li {
    min-height: 150px;
  }
  .timeline>li .timeline-panel {
    padding: 0 20px 20px;
  }
  .timeline>li .timeline-image {
    width: 150px;
    height: 150px;
    margin-left: -75px;
  }
  .timeline>li .timeline-image h4 {
    font-size: 18px;
    margin-top: 30px;
    line-height: 26px;
  }
  .timeline>li.timeline-inverted>.timeline-panel {
    padding: 0 20px 20px;
  }
}

@media (min-width: 1200px) {
  .timeline>li {
    min-height: 170px;
  }
  .timeline>li .timeline-panel {
    padding: 0 20px 20px 100px;
  }
  .timeline>li .timeline-image {
    width: 170px;
    height: 170px;
    margin-left: -85px;
  }
  .timeline>li .timeline-image h4 {
    margin-top: 40px;
  }
  .timeline>li.timeline-inverted>.timeline-panel {
    padding: 0 100px 20px 20px;
  }
}

.team-member {
  text-align: center;
  margin-bottom: 50px;
}

.team-member img {
  height: 225px;
  width: 225px;
  border: 7px solid white;
}

.team-member h4 {
  margin-top: 25px;
  margin-bottom: 0;
  text-transform: none;
}

.team-member p {
  margin-top: 0;
}

section#contact {
  background-color: #393E46;
  background-position: center;
  background-repeat: no-repeat;
}

section#contact .section-heading {
  color: white;
}

section#contact .form-group {
  margin-bottom: 25px;
}

section#contact .form-group input,
section#contact .form-group textarea {
  padding: 20px;
}

section#contact .form-group input.form-control {
  height: auto;
}

section#contact .form-group textarea.form-control {
  height: 236px;
}

section#contact .form-control:focus {
  border-color: #05a1c7;
  box-shadow: none;
}

section#contact ::-webkit-input-placeholder {
  font-family: 'Raleway', sans-serif; 
  text-transform: uppercase;
  font-weight: 700;
  color: #eeeeee;
}

section#contact :-moz-placeholder {
  /* Firefox 18- */
  font-family: 'Raleway', sans-serif; 
  text-transform: uppercase;
  font-weight: 700;
  color: #eeeeee;
}

section#contact ::-moz-placeholder {
  /* Firefox 19+ */
  font-family: 'Raleway', sans-serif; 
  text-transform: uppercase;
  font-weight: 700;
  color: #eeeeee;
}

section#contact :-ms-input-placeholder {
  font-family: 'Raleway', sans-serif; 
  text-transform: uppercase;
  font-weight: 700;
  color: #eeeeee;
}

section#contact .text-danger {
  color: #e74c3c;
}

footer {
  padding: 25px 0;
  text-align: center;
  background-color: #f0f3f4;
  width: 100%;
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.15);
}

footer span.copyright {
  font-size: 90%;
  line-height: 10px;
  font-family: 'Raleway', sans-serif; 
  text-transform: uppercase;
  text-transform: none;
}

footer ul.quicklinks {
  font-size: 90%;
  margin-bottom: 0;
  line-height: 40px;
  font-family: 'Raleway', sans-serif; 
  text-transform: uppercase;
  text-transform: none;
}

ul.social-buttons {
  margin-bottom: 0;
}

ul.social-buttons li a {
  display: block;
  background-color: #05a1c7;
  height: 40px;
  width: 40px;
  border-radius: 100%;
  font-size: 20px;
  line-height: 40px;
  color: white;
  outline: none;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

ul.social-buttons li a:hover,
ul.social-buttons li a:focus,
ul.social-buttons li a:active {
  background-color: #0275d8;
}

.text-primary {
  color: #05a1c7 !important;
}

.btn-primary {
  color: white;
  background-color: #05a1c7;
  border-color: #05a1c7;
  font-family: 'Raleway', sans-serif; 
  text-transform: uppercase;
  font-weight: 700;
}

.btn-primary:focus,
.btn-primary.focus {
  color: white;
  background-color: #05a1c7;
  border-color: #05a1c7;
}

.btn-primary:hover {
  color: white;
  background-color: #05a1c7;
  border-color: #05a1c7;
}

.btn-primary:active,
.btn-primary.active,
.open>.btn-primary.dropdown-toggle {
  color: white;
  background-color: #05a1c7;
  border-color: #05a1c7;
}

.btn-primary:active:hover,
.btn-primary:active:focus,
.btn-primary:active.focus,
.btn-primary.active:hover,
.btn-primary.active:focus,
.btn-primary.active.focus,
.open>.btn-primary.dropdown-toggle:hover,
.open>.btn-primary.dropdown-toggle:focus,
.open>.btn-primary.dropdown-toggle.focus {
  color: white;
  background-color: #05a1c7;
  border-color: #05a1c7;
}

.btn-primary:active,
.btn-primary.active,
.open>.btn-primary.dropdown-toggle {
  background-image: none;
}

.btn-primary.disabled:hover,
.btn-primary.disabled:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled]:hover,
.btn-primary[disabled]:focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary:hover,
fieldset[disabled] .btn-primary:focus,
fieldset[disabled] .btn-primary.focus {
  background-color: #05a1c7;
  border-color: #05a1c7;
}

.btn-primary .badge {
  color: #05a1c7;
  background-color: white;
}

.btn-xl {
  color: white;
  background-color: #05a1c7;
  border-color: #05a1c7;
  font-family: 'Raleway', sans-serif; 
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 3px;
  font-size: 18px;
  padding: 20px 40px;
}

.btn-xl:focus,
.btn-xl.focus {
  color: white;
  background-color: #0275d8;
  border-color: #0275d8;
}

.btn-xl:hover {
  color: white;
  background-color: #0275d8;
  border-color: #0275d8;
}

.btn-xl:active,
.btn-xl.active,
.open>.btn-xl.dropdown-toggle {
  color: white;
  background-color: #05a1c7;
  border-color: #05a1c7;
}

.btn-xl:active:hover,
.btn-xl:active:focus,
.btn-xl:active.focus,
.btn-xl.active:hover,
.btn-xl.active:focus,
.btn-xl.active.focus,
.open>.btn-xl.dropdown-toggle:hover,
.open>.btn-xl.dropdown-toggle:focus,
.open>.btn-xl.dropdown-toggle.focus {
  color: white;
  background-color: #05a1c7;
  border-color: #05a1c7;
}

.btn-xl:active,
.btn-xl.active,
.open>.btn-xl.dropdown-toggle {
  background-image: none;
}

.btn-xl.disabled:hover,
.btn-xl.disabled:focus,
.btn-xl.disabled.focus,
.btn-xl[disabled]:hover,
.btn-xl[disabled]:focus,
.btn-xl[disabled].focus,
fieldset[disabled] .btn-xl:hover,
fieldset[disabled] .btn-xl:focus,
fieldset[disabled] .btn-xl.focus {
  background-color: #05a1c7;
  border-color: #05a1c7;
}

.btn-xl .badge {
  color: #05a1c7;
  background-color: white;
}


/* global */

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

body {
  font-family: 'Raleway', sans-serif; 
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}


/* menu */

.menu ul {
  margin-bottom: 10px;
  margin-top: 5px;
  padding: 0;
  list-style-type: none;
}

.open>a {
  color: #05a1c7 !important;
}

.menu>ul {
  margin: 0 auto;
  padding: 0 1.875em;
}

.menu>ul>li {
  display: inline-block;
}

.menu>ul>li.open a,
.menu>ul>li.open>a:hover {
  color: #fff;
}

.menu>ul>li>a {
  font-weight: bold;
  padding: 1em 2em;
  color: #999;
  display: inline-block;
}

.menu .sub {
  display: none;
  position: absolute;
  background: white;
  width: 100%;
  left: 0;
  text-align: center;
}

.menu .sub ul li {
  margin-top: 5px;
  display: inline-block;
  padding: 0;
}

.menu .sub ul li.active a {
  color: #fff;
  font-size: 16px;
  line-height: 18px;
}

.open .sub {
  display: block;
}

.tab-content {
  margin-top: 55px;
}

.tab-drawer {
  display: none;
}

@media (max-width: 1000px) {
  .menu .sub ul li {
    margin-top: 5px;
    display: block;
    padding: 0;
  }
}

.zoom-effect-container {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.sub .zoom-effect-container {
  width: 450px;
  margin: 2px 2px 2px 2px;
  overflow: visible;
  display: flex;
  align-items: center;
  height: 200px;
}

.image-card {
  width: 100%;
}

.image-card img {
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}

.zoom-effect-container:hover .image-card img {
  -webkit-transform: scale(1.08);
  transform: scale(1.08);
}

.container .row {
  justify-content: center;
}

.zoom-effect-container:hover .header-sub-text {
  display: block;
}

.header-sub-text {
  padding-top: 15px;
  color: #fff;
  font-size: 18px;
  line-height: 18px;
}


/*image hover Text*/

figure.snip1321 {
  font-family: 'Raleway', Arial, sans-serif;
  position: relative;
  float: left;
  overflow: hidden;
  margin: 10px 1%;
  width: 100%;
  color: #000000;
  text-align: center;
  -webkit-perspective: 50em;
  perspective: 50em;
}

figure.snip1321 * {
  -webkit-box-sizing: padding-box;
  box-sizing: padding-box;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

figure.snip1321 img {
  max-width: 100%;
  vertical-align: top;
}

figure.snip1321 figcaption {
  top: 50%;
  left: 20px;
  right: 20px;
  position: absolute;
  opacity: 0;
  z-index: 1;
}

figure.snip1321 h2,
figure.snip1321 h4 {
  margin: 0;
}

figure.snip1321 h2 {
  font-weight: 600;
}

figure.snip1321 h4 {
  font-weight: 400;
  text-transform: uppercase;
}

figure.snip1321 i {
  font-size: 32px;
}

figure.snip1321:after {
  background-color: rgba(255, 255, 255, 0.7);
  position: absolute;
  content: "";
  display: block;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  -webkit-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  opacity: 0;
}

figure.snip1321 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

figure.snip1321:hover figcaption,
figure.snip1321.hover figcaption {
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 1;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

figure.snip1321:hover:after,
figure.snip1321.hover:after {
  -webkit-transform: rotateX(0);
  transform: rotateX(0);
  opacity: 0.9;
}

.shadow {
  -moz-box-shadow: 5px 5px 4px #51849c;
  -webkit-box-shadow: 5px 5px 4px #51849c;
  box-shadow: 5px 5px 4px #51849c;
  /* For IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#cccccc')";
  /* For IE 5.5 - 7 */
  filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#cccccc');
}

.img-hover img {
  -webkit-transition: all .3s ease;
  /* Safari and Chrome */
  -moz-transition: all .3s ease;
  /* Firefox */
  -o-transition: all .3s ease;
  /* IE 9 */
  -ms-transition: all .3s ease;
  /* Opera */
  transition: all .3s ease;
}

.img-hover img:hover {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(1.20);
  /* Safari and Chrome */
  -moz-transform: scale(1.20);
  /* Firefox */
  -ms-transform: scale(1.20);
  /* IE 9 */
  -o-transform: translatZ(0) scale(1.20);
  /* Opera */
  transform: translatZ(0) scale(1.20);
}

.grayscale {
  -webkit-filter: brightness(1.10) grayscale(100%) contrast(90%);
  -moz-filter: brightness(1.10) grayscale(100%) contrast(90%);
  filter: brightness(1.10) grayscale(100%);
}

.fixed {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 999;
}

.fixed .navigation {
  display: table;
  height: 100vh;
}

.fixed .navigation #nav {
  display: table-cell;
  vertical-align: middle;
  margin: 0;
  padding: 0;
}

.fixed .navigation #nav li {
  list-style: none;
  padding: 2vh;
  margin-left: 3vh;
  cursor: pointer;
}

.fixed .navigation #nav li .button {
  display: block;
  width: 2vh;
  height: 2vh;
  border: .2vh solid #f0f3f4;
  border-radius: 50%;
  transition: .3s ease;
  background: rgba(0, 0, 0, 0.2);
}

.fixed .navigation #nav li.active .button,
.fixed .navigation #nav li:hover .button {
  background: #f0f3f4;
}

#main {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100%;
  transition: transform .5s ease;
}

#main .slide {
  display: table;
  width: 100%;
  height: 100%;
}

#first .container {
  width: 100%;
  position: absolute;
  top: 350px;
  justify-content: center;
}

#first .logo-small {
  display: table;
  margin: 0 auto;
}

#main .slide .content {
  display: table-cell;
  padding: 0 8%;
  vertical-align: middle;
}

#main .slide .content h1 {
  padding: 0;
  margin: 0;
  display: block;
  text-align: center;
  color: white;
  font-size: 10vh;
  text-shadow: 0.2vh 0.2vh 0.2vh rgba(0, 0, 0, 0.3);
}

.image-text-right {
  top: 15px;
  right: 0;
  width: 300px;
  position: absolute;
}

.image-text-left {
  top: 15px;
  left: 15px;
  width: 300px;
  position: absolute;
}

.white {
  color: white;
}

.small {
  width: 350px;
}

.small image {
  width: 100%;
  height: 100%
}

.wide {
  width: 650px;
}

.wide image {
  width: 100%;
  height: 100%
}

#section0 .layer {
  position: absolute;
  z-index: 4;
  width: 100%;
  left: 0;
  top: 43%;
  /* 
  * Preventing flicker on some browsers 
  * See http://stackoverflow.com/a/36671466/1081396  or issue #183
  */
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.section .audio-control {
  position: absolute;
  z-index: 4;
  width: 200px;
  right: 50px;
  top: 100px;
  cursor: pointer;
  /* 
  * Preventing flicker on some browsers 
  * See http://stackoverflow.com/a/36671466/1081396  or issue #183
  */
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}


/*solves problem with overflowing video in Mac with Chrome */

#section0 {
  overflow: hidden;
}

#lishtotVideo {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-color: black;
  /* in case the video doesn't fit the whole page*/
  background-image: /* our video */
  ;
  background-position: center center;
  background-size: contain;
  object-fit: cover;
  /*cover video background */
  z-index: 3;
}

.video-text {
  color: #fff;
  font-size: 4em;
  font-family: 'Raleway', sans-serif; 
  font-weight: 400;
  text-align: center;
  width: 100%;
}

#section1 .layer {
  width: 80%;
  margin: 20px auto;
  text-align: center;
  font-size: 22px;
  line-height: 1;
  font-weight: 200;
  font-family: 'Raleway', sans-serif; 
}

#section2 .layer {
  width: 80%;
  margin: 20px auto;
  text-align: center;
  font-size: 22px;
  line-height: 1;
  font-weight: 200;
  font-family: 'Raleway', sans-serif; 
}

.video-container {
  width: 300px;
  margin: 10px;
}

.product1-background {
  background: linear-gradient(#3498DB, #146ca7);
}

.product2-background {
  background: linear-gradient(#4642e7, #3532A7);
}


/*Popup*/

.cd-popup {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(94, 110, 141, 0.9);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
}

.cd-popup.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}

.cd-popup-container {
  position: relative;
  width: 90%;
  max-width: 400px;
  margin: 4em auto;
  background: #FFF;
  border-radius: .25em .25em .4em .4em;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -webkit-transform: translateY(-40px);
  -moz-transform: translateY(-40px);
  -ms-transform: translateY(-40px);
  -o-transform: translateY(-40px);
  transform: translateY(-40px);
  /* Force Hardware Acceleration in WebKit */
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.cd-popup-container p {
  padding: 3em 1em;
}

.cd-popup-container .cd-buttons:after {
  content: "";
  display: table;
  clear: both;
}

.cd-popup-container .cd-buttons li {
  float: left;
  width: 50%;
  list-style: none;
}

.cd-popup-container .cd-buttons a {
  display: block;
  height: 60px;
  line-height: 60px;
  text-transform: uppercase;
}

.cd-popup-container .cd-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
}

.cd-popup-container .cd-popup-close::before,
.cd-popup-container .cd-popup-close::after {
  content: '';
  position: absolute;
  top: 12px;
  width: 14px;
  height: 3px;
  background-color: #8f9cb5;
}

.cd-popup-container .cd-popup-close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  left: 8px;
}

.cd-popup-container .cd-popup-close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  right: 8px;
}

.is-visible .cd-popup-container {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

@media only screen and (min-width: 1170px) {
  .cd-popup-container {
    margin: 8em auto;
  }
}

.right {
  float: right;
}

.center {
  justify-content: center;
}

.white-background {
  background-color: white;
  padding-bottom: 100px;
  padding-left: 0px;
  padding-right: 0px;
}

h4 {
  font-size: 20px;
  margin: 0px;
  line-height: 1;
  font-weight: 200;
  font-family: 'Raleway', sans-serif; 
}

h3 {
  color: #4b4e4f;
  font-family: 'Raleway', sans-serif; 
  font-size: 16px;
  
}

.todrink-icons{
  max-width: 200px;
  margin: 0px;
}