a {
  font-family: 'Raleway', sans-serif;
}

/*Large white lext for frontpage*/
h1 {
  color: #000;
  font-family: 'Raleway', sans-serif;
  font-weight: 15;
  margin: 0 0 30px 0;
  letter-spacing: 3vw;
  font-size: 8vw;

}
@media screen and (min-width: 1000px) {
  
}

/*Smaller white text for front page*/
h2 {
  color: #000;
  font-family: 'Raleway', sans-serif;
  font-weight: 15;
  margin: 0 0 30px 0;
  letter-spacing: 2vw;
  font-size: 3vw;

}

/*headers for actual pages*/
h3 {
  color: #000;
  font-family: 'Raleway', sans-serif;
  font-weight: 10;
  margin: 0 auto 0px 5;
  letter-spacing: 12px;
  font-size: 32px;
}

/*Sub headers for actual pages*/
h4 {
  color: #131313;
  font-family: 'Raleway', sans-serif;
  font-weight: 10;
  margin: 0 auto 0px 5;
  letter-spacing: 6px;
  font-size: 24px;
}

@media screen and (min-width: 1200px) {
  h1 {
    letter-spacing: 36px;
    font-size: 72px;
  }
  
  h2 {
    letter-spacing: 24px;
    font-size: 48px;
  }

}

p {
  font-family: 'Raleway', sans-serif;
}

.tab2 {
  padding-left: 2em;
}

.tab1 {
  padding-left: 1em;
}

.animated{
  -webkit-animation-duration: 4s;
  -webkit-animation-delay: 0s;
}

.fade2{
  -webkit-animation-duration: 3s;
  -webkit-animation-delay: 1s;
}

.fade3{
  -webkit-animation-duration: 4s;
  -webkit-animation-delay: 2s;
}

.fadeOffset1{
  -webkit-animation-duration: 1s;
  -webkit-animation-delay: 0.2s;
}
.fadeOffset2{
  -webkit-animation-duration: 1s;
  -webkit-animation-delay: 0.3s;
}
.fadeOffset3{
  -webkit-animation-duration: 1s;
  -webkit-animation-delay: 0.4s;
}
.fadeOffset4{
  -webkit-animation-duration: 1s;
  -webkit-animation-delay: 0.5s;
}
.fadeOffset5{
  -webkit-animation-duration: 1s;
  -webkit-animation-delay: 0.6s;
}
.fadeOffset6{
  -webkit-animation-duration: 1s;
  -webkit-animation-delay: 0.7s;
}
.fadeOffset7{
  -webkit-animation-duration: 1s;
  -webkit-animation-delay: 0.8s;
}

.fadeFirst{
  -webkit-animation-duration: 2s;
}

.slideTeam{
  -webkit-animation-duration: 1s;
}

.offset1{
  -webkit-animation-delay: 0.2s;
}

.navbar{
  background-color: #131313;
}

/*Headers for actual pages*/
.head{
  margin: 10px auto;
  border-bottom-width: 1px;
  border-bottom-color: #aaaaaa;
  border-bottom-style: solid;
  width: 100%;
  padding: 0;
}

.bottomBorder{
  margin: 10px auto;
  border-bottom-width: 1px;
  border-bottom-color: #aaaaaa;
  border-bottom-style: solid;
  width: 100%;
  padding: 0;
}

.carnumber{
  position: absolute;
  top: 10%;
  width: 100%;
  text-align: center;

  color: #FFF;
  font-family: 'Raleway', sans-serif;
  font-weight: 10;
  letter-spacing: 15px;
  font-size: 30px;
}

//Hover over picture style guide http://css-workshop.com/hover-box-text-over-images-on-hover-and-more/;
.hvrbox,
.hvrbox * {
  box-sizing: border-box;
}
.hvrbox {
  position: relative;
  display: inline-block;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}
.hvrbox img {
  max-width: 100%;
}
.hvrbox .hvrbox-layer_bottom {
  display: block;
}
.hvrbox .hvrbox-layer_top {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  color: #fff;
  padding: 15px;
  -moz-transition: all 0.4s ease-in-out 0s;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -ms-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}
.hvrbox:hover .hvrbox-layer_top,
.hvrbox.active .hvrbox-layer_top {
  opacity: 1;
}
.hvrbox .hvrbox-text {
  text-align: center;
  font-size: 18px;
  color: #131313;
  font-weight: 8;
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.hvrbox .hvrbox-text_mobile {
  font-size: 15px;
  border-top: 1px solid rgb(179, 179, 179); /* for old browsers */
  border-top: 1px solid rgba(179, 179, 179, 0.7);
  margin-top: 5px;
  padding-top: 2px;
  display: none;
}
.hvrbox.active .hvrbox-text_mobile {
  display: block;
}

.parallax {
    /* The image used */
    background-image: url("images/hybridcar.jpg");

    /* Set a specific height */
    min-height: 500px; 

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.logo_back{
  background-color:#FFFFFF;
  padding: 40px;
}

/*Model image css */
/* Style the Image Used to Trigger the Modal */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption { 
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}
/*End model css*/

video{
  width: 80%;
}
@media screen and (max-width: 700px) {
  video {
    width:400px;
  }
}

@media (max-width: 768px) {
html, body {
width: auto !important;
overflow-x: hidden !important;
}

video::-webkit-media-controls {
    display:none !important;
}
video::-webkit-media-controls-overlay-play-button {
  display: none;
}

/*Instafeed CSS*/

/* remove bootstrap gutter*/
.row.no-gutter {
  margin-left: 0;
  margin-right: 0;
}

.row.no-gutter [class*='col-']:not(:first-child),
.row.no-gutter [class*='col-']:not(:last-child) {
  padding-right: 0;
  padding-left: 0;
}


/* the good stuff */
body {
}

.img-featured-container {
  overflow: hidden;
  position: relative;
}

.img-featured-container img {
  width: 100%;
/*   padding: 10px; */
}

.img-featured-container .img-backdrop {
  background: linear-gradient(135deg, rgba(38, 163, 255, 0.85), rgba(83, 201, 179, 0.85));
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  opacity: 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.img-featured-container:hover > .img-backdrop {
  opacity: 1;
}

/* center text horizontally and vertically on image hover */
.img-featured-container .description-container {
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  padding: 0 30px;
  text-align: center;
  line-height: 20px;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  z-index: 2;
  opacity: 0;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}

.img-featured-container .description-container .fa-instagram {
  font-size: 40px;
}

.img-featured-container .description-container p {
  font-weight: 300;
  margin-bottom: 0;
}

.img-featured-container:hover .description-container {
  opacity: 1;
}

.img-featured-container .description-container .caption {
  display: none;
  margin-bottom: 10px;
}

.img-featured-container .description-container .likes,
.img-featured-container .description-container .comments {
  margin: 0 5px;
}

/* load more button */
#btn-instafeed-load {
  color: #fff;
  background: #26a3ff;
  font-size: 16px;
  margin: 20px auto;
  padding: 8px 40px;
  display: block;
  border: none;
}

/* media queries  */
@media screen and (min-width:768px) {
  .img-featured-container .description-container .caption {
    display: block;
  }
}