@import url('./../fonts/aileron.css');
body {
  margin: 0;
  font-family: 'aileronregular';
  overflow: hidden;
  position: relative;
  height: 100vh;
  min-height: 100vh;
  width: 100vw;
}
.section-video {
  overflow: hidden;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: -1;
  background: #fff;
}
.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
  background: none;
}
#mainVideo {
  box-sizing: border-box;
  display: block;
  width: auto;
  min-width: 100vw;
  min-height: 1000px;
}
.video-xs {
  display: none;
}
.video.dark {
  display: none;
}
.dark-mode #mainVideo {
  display: none;
}
.dark-mode #mainVideo.dark {
  display: block;
}
.logo-open-section {
  margin-left: 25px;
  margin-top: 25px;
  z-index: 3;
  position: absolute;
}

.navbar {
  float: right;
  display: flex;
  border: 0;
  margin-right: 25px;
  margin-top: 25px;
  z-index: 3;
  border: 1px solid rgba(133, 133, 133, 0.26);
  border-radius: 10px;
}
.navbar-default {
  background: #fff;
}
.navbar-brand {
  padding: 6px 0;
}
.navbar .navbar-nav li {
  padding-top: 10px;
  padding-bottom: 10px;
}
.navbar .navbar-nav a {
  padding: 4px 15px;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
  color: #ff5c5c;
  background: none;
}

.navbar .navbar-nav li ~ li a {
  border-left: 1px solid rgba(0, 0, 0, 0.15);
}

.home-page-footer {
  position: absolute;
  color: #fff;
  bottom: 30px;
  font-size: 20px;
  right: 0;
  left: 0;
  text-align: center;
}
.home-page-footer strong {
  font-weight: normal;
  font-family: 'aileronbold';
  text-transform: uppercase;
}

@-webkit-keyframes screen {
  0% {
    opacity: 0;
  }

  80% {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes screen {
  0% {
    opacity: 0;
  }

  80% {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.show-screen.screen-animating .screen-footer,
.show-screen.screen-animating .screen-body {
  -webkit-animation: screen 1s 1;
  animation: screen 1s 1;
}

/* abc */
.dark-mode .screen {
  background: #36424a;
  color: #fff;
}
.dark-mode .navbar-default {
  background: #4c5a63;
}
.dark-mode .navbar-default .navbar-nav>li>a {
  color: #ccc;
  transition: all 0.3s;
}
.dark-mode .navbar-default .navbar-nav>li>a:hover {
  color: #eee;
}
.navbar-default .navbar-nav > .active > a {
  color: #ff5c5c;
}
.dark-mode .navbar-default .navbar-nav > .active > a {
  color: #fff;
}
.navbar-default .navbar-nav>li>.btn-toggle:hover,
.navbar-default .navbar-nav>li>.btn-toggle:focus {
  background: #d4d4d4;
}
.dark-mode .navbar-default .navbar-nav>li>.btn-toggle:hover,
.dark-mode .navbar-default .navbar-nav>li>.btn-toggle:focus {
  background: #fff;
}
/* abc */

.btn-toggle {
  position: relative;
  background: #f2f0f4;
  border-radius: 25px;
}
.dark-mode .btn-toggle {
  background: #151315;
}
.btn-toggle:after {
  background: #fff;
  content: '';
  width: 80px;
  height: 30px;
  border-radius: 25px;
  border: 1px solid #d9d7d9;
  position: absolute;
  left: 3px;
  z-index: 1;
  transition: all 0.3s;
}
.dark-mode .btn-toggle:after {
  background: #43464b;
  border: 1px solid #43464b;
  left: 50%;
}
.navbar .navbar-nav .btn-toggle {
  margin-top: 5px;
  padding: 3px 3px 1px;
  line-height: 1;
}
.nav > .btn-toggle a {
  position: relative;
  width: 80px;
  height: 30px;
  display: inline-block;
  border-radius: 25px;
  z-index: 2;
}
.navbar .navbar-nav .btn-toggle a {
  border: 1px solid transparent;
}
.btn-toggle a {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 20px auto;
}
.icon-sun { background-image: url('../img/sun.svg'); }
.icon-moon { background-image: url('../img/moon-gray.svg'); }
.dark-mode .icon-sun { background-image: url('../img/sun-gray.svg'); }
.dark-mode .icon-moon { background-image: url('../img/moon.svg'); }
.screen {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: 0;
  width: calc(100% - 27.5em);
  max-width: 1290px;
  z-index: 2;
  
  background: #fff;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1), 0 10px 30px 0 rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: translate3d(105%, 0, 0);
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.screen.services {
  width: calc(100% - 37.5em);
}
.screen.about {
  width: 770px;
}
.screen.quote {
  width: 770px;
}
.screen.references {
  max-width: 1000px;
}

.screen .btn {
  font-size: 16px;
}

.screen.show-screen {
  transform: none;
}
.screen-header {
  padding: 25px;
}
.screen-footer {
  padding: 25px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.04);
}
.screen-footer a {
  color: inherit;
}
.screen-footer ul {
  padding: 0;
  margin: 0;
}

h2,
h3 {
  font-weight: normal;
  font-family: 'aileronbold';
}
h2 {
  font-size: 3.5em;
  font-weight: 900;
  font-family: 'GT Super WT';
}

p {
  margin-bottom: 1.5em;
}

.btn {
  font-weight: normal;
  font-family: 'aileronsemibold';
}

.screen-body {
  overflow: auto;
  height: calc(100vh - 80px - 76px);
}

.btn-danger {
  background-color: #ff5c5c;
  border-color: transparent;
  border-radius: 5px;
  min-width: 180px;
}

.about-intro-section {
  padding: 50px;
}
.ref-intro-section {
  padding: 60px 50px 30px;
}

.service-section img {
  margin-bottom: 15px;
}
.service-section {
  text-align: center;
  border-radius: 10px;
  margin: 10px 0;
  padding: 18px;
  border: 1px solid rgba(151, 151, 151, 0.26);
  min-height: 245px;
}
.service-section h4 {
  font-weight: normal;
  font-family: 'aileronbold';
}

.project-tags {
  font-size: 14px;
}
.projects-list {
  padding: 0 50px 50px;
}
.project-row {
  display: flex;
  border: 1px solid rgba(151, 151, 151, 0.26);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  padding: 20px;
  position: relative;
}
.project-body {
  padding-right: 15px;
}
.project-row p {
  margin: 0 0 10px;
  line-height: 21px;
}
.project-row h3 a:hover {
  text-decoration: none;
}
.project-row h3 a:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.project-row h3 a {
  color: inherit;
}
.project-row h3 {
  font-size: 22px;
  margin: 0 0 5px;
  line-height: 26px;
}
.project-tags .project-tag {
  padding: 8px 18px 7px;
  background: #ffe0e0;
  color: #ff5c5c;
  border-radius: 7px;
  margin-bottom: 4px;
  font-size: 12px;
}
.project-thumb {
  margin-right: 15px;
}
.project-thumb img {
  width: 235px;
  max-width: none;
}

.contact-section a {
  color: #ff5c5c;
  font-weight: normal;
  font-family: 'aileronbold';
}
.contact-section h4 {
  font-size: 15px;
  font-weight: normal;
  font-family: 'aileronbold';
  color: #333333;
}
.contact-sections {
  margin-top: 40px;
  margin-bottom: 50px;
}
.contact-section {
  text-align: left;
  color: #858a8f;
  background: #f7f9fa;
  border-radius: 5px;
  padding: 12px 17px;
  font-size: 10px;
  border: 1px solid #e2e2e2;
  display: inline-block;
  width: 220px;
}

.quote-form-section {
  padding-top: 20px;
}
.quote-form-section .form-control {
  background: #f7f9fa;
  border: 1px solid #e2e2e2;
  box-shadow: none;
}

img {
  max-width: 100%;
  height: auto;
}

.navbar-toggle {
  float: left;
  margin-left: 15px;
  margin-right: 10px;
  border: 0;
  padding: 3px 0;
}
.visible-xs-ib {
    display: none !important;
}

@media (max-width: 1365px) {
  .about-intro-section {
    padding: 25px 50px 50px;
  }
  .services-list {
    display: flex;
    flex-wrap: wrap;
  }
  .service-section {
    padding: 10px;
  }
  .ref-intro-section {
    padding: 0 50px 30px;
  }
  .projects-list {
    padding: 0 50px 50px;
  }
  .project-row {
    align-items: flex-start;
  }
  .project-body {
    padding-top: 10px;
  }
  .project-tags .project-tag {
    padding: 4px 10px 3px;
    font-size: 12px;
  }
  .project-row h3 {
    font-weight: 18px;
  }
  .home-page-footer {
    font-size: 14px;
    bottom: 15px;
  }
}

@media (max-width: 1080px) {
  .screen {
    width: calc(100% - 17.5em);
  }
}
@media (max-width: 969px) {
  .screen.about,
  .screen.services,
  .screen.quote,
  .screen.references,
  .screen {
    width: calc(100% - 11em);
    display: none;
  }
  .screen.show-screen {
    display: block;
  }
  .screen-header {
    padding: 10px 20px;
  }
  .logo-open-section {
    margin-top: 18px;
  }
  .screen-body {
    height: calc(100vh - 68px - 41px);
  }
  .navbar-default {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .screen-footer {
    padding: 10px;
  }
  .screen-footer .social-links img {
    width: 20px;
    height: auto;
  }
  .screen-footer {
    font-size: 12px;
  }
  .ref-intro-section,
  .about-intro-section {
    padding: 30px;
  }

  .projects-list {
    padding: 0 30px 30px;
  }


}



@media (max-width: 767px) {
    .navbar-brand {
        margin-left: 70px;
        margin-right: 70px;
    }
  #mainVideo.video-xs {
    height: auto;
    min-height: inherit;
    width: 100%;
  }
  #mainVideo { display: none; }
  #mainVideo.video-xs { display: block; }
  .dark-mode #mainVideo.video-xs,
  .dark-mode #mainVideo.dark { display: none; }
  .dark-mode #mainVideo.dark.video-xs { display: block; }
  .btn-toggle {
    margin: 0 15px;
  }
  .nav > .btn-toggle a,
  .btn-toggle:after {
    width: 50%;
    height: 40px;
  }
  .dark-mode .btn-toggle:after {
    left: 49%;
    left: calc(50% - 3px);
  }
  body {
    overflow: hidden;
  }
  .project-tag {
    margin-bottom: 4px;
  }
  .navbar .navbar-nav li {
    border-bottom: 1px solid rgba(121, 121, 121, 0.09);
  }
  .screen.about,
  .screen.services,
  .screen.quote,
  .screen.references,
  .screen {
    padding-top: 50px;
    display: none;
    width: 100%;
    overflow: auto;
  }
  .services-list,
  .screen.show-screen {
    display: block;
  }
  .navbar {
    float: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    display: block;
  }
  .navbar-brand {
    float: none;
    text-align: center;
  }
  .navbar-brand > img {
    margin: 0 auto;
  }
  .screen-header {
    display: none;
  }
  .screen-footer {
    position: static;
  }
  .screen-footer .pull-left,
  .screen-footer .pull-right {
    float: none !important;
    text-align: center;
  }
  .screen-footer ul.social-links {
    margin-top: 10px;
  }
  .screen-body {
    height: auto;
  }
  .project-thumb img {
    border-radius: 17px;
    margin: 0 auto;
    display: block;
  }
  .contact-sections {
    margin: 15px 0;
  }
  .contact-section {
    width: auto;
    display: block;
    margin: 0 15px 4px;
  }
  .ref-intro-section,
  .about-intro-section {
    padding: 15px;
    text-align: center;
  }
  .project-thumb {
    padding: 15px;
  }
  .projects-list,
  .project-body {
    padding: 0 15px 5px;
  }
  .project-row {
    display: block;
  }
  .services-intro-section h2,
  .ref-intro-section h2,
  .quote-form-section h2 {
    font-size: 18px;
  }
}
