/* 

MOBILE

*/
@font-face {
  font-family: "dinpro-light";
  src: url("../fonts/pfdintextcomppro-light-webfont.ttf") format("truetype");
}

.blue {
  color: #2dc4e3;
}

.brown {
  color: #543d38;
}

.white {
  color: #fff;
}

.mar-0 {
  margin-left: 0;
  margin-right: 0;
}

.pad-0 {
  padding-left: 0;
  padding-right: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  color: #543d38;
  font-family: "dinpro-light", sans-serif;
  font-size: 30px;
  line-height: 100%;
}

h1 {
  font-size: 60px;
}

h2 {
  font-size: 45px;
  margin-top: 70px;
  text-align: center;
}

ul {
  list-style-type: none;
}

.btn-lg {
  padding: 2px 30px 0 30px;
  font-size: 30px;
}

.btn-primary:link,
.btn-primary:visited {
  background-color: #543d38;
  border-color: #543d38;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:active:hover {
  background-color: #402e2b;
  border-color: #402e2b;
}

.va-outer {
  position: relative;
  display: table;
  height: 100%;
  overflow: hidden;
  margin: 0 auto;
}

.va-middle {
  display: table-cell;
  vertical-align: middle;
}

.page-wrapper {
  position: relative;
  min-height: 100%;
}

header {
  text-align: center;
}

header .title {
  margin-bottom: 10px;
}

header img {
  display: block;
  margin: 80px auto 10px auto;
}

header .contacts {
  margin-bottom: 80px;
}

main {
  padding-bottom: 535px;
}

/* major portfolio */
#majorPortfolio > h2 {
  position: absolute;
  display: block;
  top: -30px;
  left: 0;
  width: 100%;
  height: auto;
  color: #fff;
}

.carousel {
  background-color: #2dc4e3;
  height: 640px;
}

.carousel-indicators {
  bottom: 40px;
  width: 100%;
  margin-left: -50%;
}

.carousel-indicators li,
.carousel-indicators li.active {
  margin-left: 3px;
  margin-right: 3px;
}

.carousel .item {
  height: 640px;
}

@media (min-width: 375px) {
  .carousel {
    height: 620px;
  }

  .carousel .item {
    height: 620px;
  }
}

.major-pic {
  position: absolute;
  display: block;
  top: 140px;
  left: 50%;
  margin-left: -160px;
  width: 320px;
  height: 238px;
}

.major-pic.bg-citi-sdash {
  background: url(../images/major/citi-sdash-low.png) no-repeat center center;
}

.major-pic.bg-citi-sdash-2 {
  background: url(../images/major/citi-sdash-2-low.png) no-repeat center center;
}

.major-pic.bg-citi-kc {
  background: url(../images/major/citi-kc-low.png) no-repeat center center;
}

.major-pic.bg-citi-kc-2 {
  background: url(../images/major/citi-kc-2-low.png) no-repeat center center;
}

.major-pic.bg-markit {
  background: url(../images/major/markit-low.png) no-repeat center center;
}

.major-pic.bg-markit-2 {
  background: url(../images/major/markit-2-low.png) no-repeat center center;
}

.major-pic.bg-nord-security {
  background: url(../images/major/nord-security-low.png) no-repeat center center;
}

.major-pic.bg-oht {
  background: url(../images/major/oht-low.png) no-repeat center center;
}

.major-pic.bg-nissan {
  background: url(../images/major/nissan-low.png) no-repeat center center;
}

.major-pic.bg-zutor {
  background: url(../images/major/zutor-low.png) no-repeat center center;
}

.major-pic.bg-mcfoxy {
  background: url(../images/major/mcfoxy-low.png) no-repeat center center;
}

.carousel-caption {
  right: 5%;
  left: 5%;
  bottom: 70px;
  text-shadow: none;
  color: #543d38;
}

.carousel-control.left:focus,
.carousel-control.right:focus {
  opacity: 0.5;
}

.carousel-control.left:focus:hover,
.carousel-control.right:focus:hover {
  opacity: 0.9;
}

.carousel-control > img {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -42px 0 0 -23px;
}

/* minor portfolio */
.minor-portfolio {
  padding-bottom: 30px;
}

.minor-portfolio .minor-item {
  position: relative;
  width: 90px;
  height: 60px;
  margin: 15px auto 0 auto;
  cursor: pointer;
  line-height: 90px;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 5px;
}

.minor-portfolio .minor-item::after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: 5px;
  box-shadow: inset 0 0 0 2px #2dc4e3;
}

.minor-portfolio .col-xs-4:last-child .minor-item {
  margin-bottom: 15px;
}

.minor-portfolio .minor-item img {
  display: inline-block;
  margin-top: -34px;
  vertical-align: middle;
  filter: contrast(66%) brightness(0.9) sepia(100%) hue-rotate(308deg)
    saturate(20%);
}

footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding-top: 80px;
  padding-bottom: 80px;
  color: #fff;
  background: #543d38 url(../images/footer_bgnd.jpg) no-repeat center top;
  background-attachment: fixed;
  background-position-y: bottom;
}

@media (min-width: 1921px) {
  footer {
    background-size: cover;
    background-attachment: scroll;
    background-position-y: 0%;
  }
}

footer .contacts {
  padding-bottom: 30px;
}

footer .logo {
  text-align: right;
}

footer .copyright {
  margin-top: 50px;
  text-align: center;
}

.social {
  padding-left: 0;
}

.social li {
  float: left;
}

.social li a {
  display: block;
  width: 36px;
  height: 36px;
  background: url(../images/social-sprite.png) no-repeat;
}

.social li a.d2 {
  margin: 0 0 0 20px;
  background-position: -40px 0;
}

.social li a.d1:hover {
  background-position: 0 -40px;
}

.social li a.d2:hover {
  background-position: -40px -40px;
}

.messengers {
  display: block;
  width: 28px;
  height: 28px;
  margin: 7px auto 0;
  background: url(../images/messengers.svg) no-repeat;
}

.messengers.in-footer {
  margin: 7px 0 0;
  background: url(../images/messengers_in_footer.svg) no-repeat;
}

/*

TABLETS

*/
@media (min-width: 768px) {
  .col-sm-1-5th {
    width: 20%;
  }

  header h1 {
    margin-top: 100px;
    font-size: 90px;
    text-align: left;
  }

  h2 {
    font-size: 60px;
  }

  header img {
    margin-top: 86px;
    margin-bottom: 30px;
    margin-right: -40px;
  }

  header .contacts > div {
    float: left;
  }

  header .contacts > .blue {
    margin: 0 20px 0 20px;
  }

  header .messengers {
    margin: 2px auto 0;
  }

  main {
    padding-bottom: 320px;
  }

  /* major portfolio */
  .carousel {
    height: 840px;
  }

  .carousel .item {
    height: 840px;
  }

  .major-pic {
    top: 140px;
    margin-left: -392px;
    width: 784px;
    height: 496px;
  }

  .major-pic.bg-citi-sdash {
    background: url(../images/major/citi-sdash-high.png) no-repeat center center;
  }

  .major-pic.bg-citi-sdash-2 {
    background: url(../images/major/citi-sdash-2-high.png) no-repeat center
      center;
  }

  .major-pic.bg-citi-kc {
    background: url(../images/major/citi-kc-high.png) no-repeat center center;
  }

  .major-pic.bg-citi-kc-2 {
    background: url(../images/major/citi-kc-2-high.png) no-repeat center center;
  }

  .major-pic.bg-markit {
    background: url(../images/major/markit-high.png) no-repeat center center;
  }

  .major-pic.bg-markit-2 {
    background: url(../images/major/markit-2-high.png) no-repeat center center;
  }

  .major-pic.bg-nord-security {
    background: url(../images/major/nord-security-high.png) no-repeat center
      center;
  }

  .major-pic.bg-oht {
    background: url(../images/major/oht-high.png) no-repeat center center;
  }

  .major-pic.bg-nissan {
    background: url(../images/major/nissan-high.png) no-repeat center center;
  }

  .major-pic.bg-zutor {
    background: url(../images/major/zutor-high.png) no-repeat center center;
  }

  .major-pic.bg-mcfoxy {
    background: url(../images/major/mcfoxy-high.png) no-repeat center center;
  }

  .carousel-caption {
    bottom: 50px;
  }

  footer .contacts {
    padding-bottom: 0;
  }

  footer .logo {
    text-align: left;
  }

  footer .copyright {
    margin-top: 0;
    text-align: right;
  }
}

/*

DESKTOP

*/
@media (min-width: 1200px) {
  .minor-portfolio .minor-item {
    width: 180px;
    height: 120px;
    margin: 30px auto 0 auto;
    line-height: 180px;
  }

  .minor-portfolio .col-xs-4:last-child .minor-item {
    margin-bottom: 30px;
  }

  .minor-portfolio .minor-item img {
    margin-top: -65px;
  }
}

/* 

modal 

*/
.modal-dialog {
  max-width: 502px;
}

.modal-header {
  border-bottom: 0 none;
}

.modal-body {
  padding: 0;
}

.modal-footer {
  border-top: 0 none;
}

/* 

modal custom animation 

*/
@keyframes bounceScale {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

#modal {
  text-align: center;
  padding: 0 !important;
  backdrop-filter: blur(50px);
}

.modal.fade .modal-dialog {
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: scale(0.3);
  transition: all 0.5s;
  text-align: left;
  vertical-align: middle;
}

.modal.fade.in .modal-dialog {
  opacity: 1;
  transform: scale(1);
  animation: bounceScale 0.5s;
}

.modal:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.modal-backdrop.in {
  opacity: 0.2;
}

#modal img {
  margin: 0 auto;
}

@media (max-width: 767px) {
  .modal.fade .modal-dialog {
    width: 90%;
  }
}

/*

temp

*/
/* header,
footer {
  display: none;
} */

/* #majorPortfolio {
  display: none;
} */

/* .minor-portfolio {
  display: none;
} */

/* .carousel {
  background-color: #e6e6e6;
} */
