@import url("footer.css");

@font-face {
  font-family: "Nimbus Sans";
  src: url("../assets/fonts/nimbus-sans-l_regular.ttf");
}

/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */
body {
  font-family: Nimbus Sans !important;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

a, a:hover, a:active, a:focus {
  outline: 0;
}

.mindshare {
  opacity: 0;
  -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
     -moz-animation: fadein 2s; /* Firefox < 16 */
      -ms-animation: fadein 2s; /* Internet Explorer */
       -o-animation: fadein 2s; /* Opera < 12.1 */
          animation: fadein 2s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.main-content {
  flex: 1;
}

.mindshare-loaded {
  opacity: 1;
}

h2 {
  margin-top: 0;
}

.mindshare-orange {
  color: #ee8218 !important;
}

.detail,
.item h2  {
  color: #6f6f6f;
}

.view-more {
  width: 100%;
  border: 1px solid #6f6f6f;
  margin: 20px auto 0 auto;
  padding: 10px 69px;
  text-align: center;
  float: right;
}

.hero-txt {
  -webkit-transform: translateY(-50%); /* Safari, Chrome and Opera > 12.1 */
     -moz-transform: translateY(-50%); /* Firefox < 16 */
      -ms-transform: translateY(-50%); /* Internet Explorer */
       -o-transform: translateY(-50%); /* Opera < 12.1 */
          transform: translateY(-50%);
}

#hero-video-container,
.carousel,
.navbar {
  -webkit-transform-style: preserve-3d; /* Safari, Chrome and Opera > 12.1 */
     -moz-transform-style: preserve-3d; /* Firefox < 16 */
      -ms-transform-style: preserve-3d; /* Internet Explorer */
       -o-transform-style: preserve-3d; /* Opera < 12.1 */
          transform-style: preserve-3d;
}

.hero-txt {
  position: relative;
  margin: 0 auto;
  top: 40%;
  text-align: center;
  left: 0;
  right: 0;
  z-index: 60;
  color: #fff;
}

#hero-video-container {
  position:absolute;
  padding: 0;
  margin: 0;
  top: 0;
  left: 0;
  height: 95%;
  width: 100%;
  overflow: hidden;
  z-index: 50;
}

#hero-video {
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#hero-title {
  font-size: 10.49px;
}

#hero-image {
  background: url("../assets/images/logos/mindshare_logo_xs.png") no-repeat 50%;
  height: 40px;
  margin: 0 auto;
}

#slider-overlay {
    display: none;
    position: absolute;
    cursor: pointer;
    height: 100%;
    width: 100%;
    z-index: 100; /* high z-index */
    background: #000; /* fallback */
    background: rgba(0,0,0,0.75);
}

#video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 55; /* high z-index */
    background: #000; /* fallback */
    background: rgba(0,33,87,.50);
}

.pointer {
  position: relative;
  background: url("../assets/images/icons/pointer.png") no-repeat;
  background-size: contain;
  width: 23px;
  height: 34px;
  display: block;
  margin: 0 auto;
  top: 80%;
  cursor: pointer;
}

.carousel-container {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
}

.carousel {
  display: none;
  position: fixed!important;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 50px;
  z-index: 105;
  background-color: #fcfcfc;
  text-align: center;
}

.slick-list {
  top: 50%;
  -webkit-transform: translateY(-50%)!important; /* Safari, Chrome and Opera > 12.1 */
     -moz-transform: translateY(-50%)!important; /* Firefox < 16 */
      -ms-transform: translateY(-50%)!important; /* Internet Explorer */
       -o-transform: translateY(-50%)!important; /* Opera < 12.1 */
          transform: translateY(-50%)!important;
}

.slick-slide {
  outline: none;
  position: relative;
}

.service-wrapper img {
  margin: 0 auto;
  height: 50px;
}

.service-text,
.service-info {
  padding-top: 20px;
}

.service-name {
  text-align: center;
  font-size: 20px;
}

.close-btn,
.close-btn-nav-overlay {
  position: absolute;
  z-index: 110;
  cursor: pointer;
  width: 20px;
  height: 20px;
  top: 0;
  right: 0;
}

.close-btn-nav-overlay {
  margin: 50px 50px 0 0;
}

#navbar-phantom {
  width: 100%;
  position: absolute;
  bottom: 0;
  background-color: #ee8218;
  border-color: transparent;
  border-radius: 0;
  margin-bottom: 0;
  text-align: center;
  visibility: hidden;
  display: none;
}

#navbar-overlay {
  display: none;
  position: fixed;
  top: 0;
  cursor: pointer;
  height: 100%;
  width: 100%;
  z-index: 100; /* high z-index */
  background: #000; /* fallback */
  background: rgba(0,0,0,0.8);
  text-align: center;
}

.navbar-brand-mobile {
  display: none;
  width: 100%;
  text-align: center;
  cursor: pointer;
}

.navbar-brand-mobile img {
  max-width: 100%;
  height: 26px;
  padding-left: 25px;
  margin: auto;
  position: absolute;
  top: 0; 
  left: 0; 
  bottom: 0;
}

#navbar-burger {
  position: absolute;
  left: 50%;
  margin-left: -27.5px;
  top: 25%;
  margin-top: -12px;
  border: 0!important;
}

.icon-bar {
  background-color: white!important;
  width: 35px!important;
  height: 5px!important;
  margin-top: 8px!important;
}

.icon-bar.first {
  margin-top: 0 !important;
}

.mobile-navbar {
  display: block;
  width: 100%;
  margin: 100px auto;
  list-style-type: none;
  padding-left: 0 !important;
}

.mobile-navbar li a {
  padding: 10px;
  font-size: 30px;
  color: white;
  display: block;
  text-align: center;
}

.mobile-navbar li a:hover {
  color: #ee8218;
}

.navbar {
  position: absolute;
  width: 100%;
  bottom: 0;
  background-color: #ee8218;
  border-color: transparent;
  border-radius: 0;
  margin-bottom: 0;
  text-align: center;
  z-index: 50;
}

.navbar.stick,
#navbar-phantom.stick {
  position: fixed;
  top: 0;
}

.navbar-nav {
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-align: center;
  float: none;
}

.navbar-nav li {
  float: none;
  display: inline-block;
}

.navbar-nav li a {
  outline: 0;
  position: relative;
  letter-spacing: 3px;
  display: block;
  font-size: 18px;
  color: #fff !important;
  padding: 0px 15px !important;
}

.navbar-nav li a.active,
.navbar-nav li a:hover {
  border-bottom: 3px solid #fff !important;
  border-radius: 0!important;
}

#navbar-content {
  display: none;
}

.item {
  display: block;
  overflow: hidden;
  padding: 50px 0;
  margin: 0 auto;
  border-bottom: 1px solid #6f6f6f;
}

.item.footer-container {
  margin: 0;
}

.home-page {
  padding-top: 0px!important;
}

.home-container,
.footer,
#contact{
  margin: 0 25px;
}

.footer-container {
  padding-top: 0!important;
}

#contact {
  padding-top: 50px !important;
}

#services,
#news {
  padding-bottom: 20px;
}

#news {
  position: relative;
}

.news-intro {
  margin-bottom: 0;
}

#news-view-more {
  margin-bottom: 30px;
}

/* Masonry Grid Items */
.grid {
  padding-top: 30px;
  width: 100%;
  margin: 0 auto;
}

.grid-item,
.grid-item:hover,
.grid-image {
  -webkit-transition: background 200ms ease-in 1ms, color 200ms ease-in 1ms; /* Safari, Chrome and Opera > 12.1 */
     -moz-transition: background 200ms ease-in 1ms, color 200ms ease-in 1ms; /* Firefox < 16 */
      -ms-transition: background 200ms ease-in 1ms, color 200ms ease-in 1ms; /* Internet Explorer */
       -o-transition: background 200ms ease-in 1ms, color 200ms ease-in 1ms; /* Opera < 12.1 */
          transition: background 200ms ease-in 1ms, color 200ms ease-in 1ms;
}

.grid-item {
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  margin-bottom: 30px;
  z-index: 10;
}

.grid-item:hover {
  z-index: 10;
  background: rgba(238,130,24, 1);
}

.grid-image {
  vertical-align: middle;
  z-index: 15;
  width: 100%;
}

/* Service Icons */
.services-image,
.services-image:hover {
  background-size: 45% !important;
}

#messaging-img {
  background: url("../assets/images/icons/messaging.png") no-repeat 50% 25%;
}

#messaging-img:hover {
  background: url("../assets/images/icons/white_messaging.png") no-repeat 50% 25%;
  color: #fff;
}

#launch-img {
  background: url("../assets/images/icons/launch.png") no-repeat 50% 25%;
}

#launch-img:hover {
  background: url("../assets/images/icons/white_launch.png") no-repeat 50% 25%;
  color: #fff;
}

#media-img {
  background: url("../assets/images/icons/media.png") no-repeat 50% 25%;
}

#media-img:hover {
  background: url("../assets/images/icons/white_media.png") no-repeat 50% 25%;
  color: #fff;
}

#success-img {
  background: url("../assets/images/icons/success.png") no-repeat 50% 25%;
}

#success-img:hover {
  background: url("../assets/images/icons/white_success.png") no-repeat 50% 25%;
  color: #fff;
}

#speakers-img {
  background: url("../assets/images/icons/speakers.png") no-repeat 50% 25%;
}

#speakers-img:hover {
  background: url("../assets/images/icons/white_speakers.png") no-repeat 50% 25%;
  color: #fff;
}

#writing-img {
  background: url("../assets/images/icons/writing.png") no-repeat 50% 25%;
}

#writing-img:hover {
  background: url("../assets/images/icons/white_writing.png") no-repeat 50% 25%;
  color: #fff;
}

#social-media-img {
  background: url("../assets/images/icons/social_media.png") no-repeat 50% 25%;
}

#social-media-img:hover {
  background: url("../assets/images/icons/white_social_media.png") no-repeat 50% 25%;
  color: #fff;
}

/* Change line height according to grid-item height */
#view-all {
  z-index: 15;
}

#view-all:hover {
  z-index: 15;
  color: #fff;
}

.icon-detail,
.client-icon-detail,
#view-all {
  font-size: 11px;
}

#about img,
#team img {
  padding-top: 30px;
}

/* Client Icons */
#client-1-img {
  background: url("../assets/images/logos/docker.png") no-repeat center;
  background-size: cover;
}

#client-1-img:hover {
  background: rgba(238,130,24, 1) center;
}

#client-2-img {
  background: url("../assets/images/logos/bromium.png") no-repeat center;
  background-size: cover;
}

#client-2-img:hover {
  background: rgba(238,130,24, 1) center;
}

#client-3-img {
  background: url("../assets/images/logos/cloud.png") no-repeat center;
  background-size: cover;
}

#client-3-img:hover {
  background: rgba(238,130,24, 1) center;
}

#client-4-img {
  background: url("../assets/images/logos/datadog.png") no-repeat center;
  background-size: cover;
}

#client-4-img:hover {
  background: rgba(238,130,24, 1) center;
}

/* Change line height according to grid-item height */
.client-icon-detail {
  white-space: pre-wrap;
  word-wrap: break-word;
  z-index: 20;
  color: transparent;
}

.client-icon-detail:hover {
  color: #fff;
}

/* For grid items inbetween iPhone 5 and iPhone 6 screens */
@media (min-width: 590px) {
  #hero-title {
    font-size: 13.5px;
  }

  #hero-image {
    background: url("../assets/images/logos/mindshare_logo_md.png") no-repeat 50%;
    height: 50px;
  }

  .pointer {
    top: 90%;
  }

  .icon-detail,
  .client-icon-detail,
  #view-all {
    font-size: 13px;
  }

  .carousel {
    width: 500px;
    height: 350px;
    left: 50%;
    margin-left: -250px;
    top: 20%;
  }
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
  #navbar-content {
    display: block;
  }

  #navbar-burger,
  .navbar-brand-mobile,
  .navbar-brand-mobile img {
    display: none;
  }

  .grid-image {
    background-size: 100%;
  }

  .view-more {
    width: auto;
  }

  #news-view-more {
    position: absolute;
    right: 0;
    bottom: 60px;
    margin-bottom: 0px;
  }


  #about-view-more,
  #team-view-more {
    margin-top: 50px;
  }

  #hero-title {
    font-size: 26.7px;
  }

  #hero-image {
    background: url("../assets/images/logos/mindshare_logo_lg.png") no-repeat 50%;
    height: 100px;
  }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .home-container,
  .footer,
  #contact{
      max-width: 890px;
      margin: 0 auto;
  }

  .client-icon-detail,
  #view-all {
    font-size: 20px;
  }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  #hero-title {
    font-size: 37.7px;
  }
  #hero-image {
    background: url("../assets/images/logos/mindshare_logo_xlg.png") no-repeat 50%;
    height: 141px;
  }
}
