/* About Upstairs */

@media(min-width:341px){
  .img-box.img-effect:before{
      /* height: 490px; */
      height: 215px;
  }
  
  .img-box.img-effect:after{
      /* height: 490px; */
      height: 215px;
  }

  img#about-img{
    /* height: 490px; */
    height: 215px;
  }
  
  .img-box {
    height: 170px;
  }

  div#img-container-align{
    margin-top: 20px;
  }
}

@media(min-width:768px){
  .img-box.img-effect:before{
      /* height: 490px; */
      height: 330px;
  }
  
  .img-box.img-effect:after{
      /* height: 490px; */
      height: 330px;
  }

  img#about-img{
    /* height: 490px; */
    height: 330px;
  }
 
  .img-box {
    height: 288px;
  }

  div#img-container-align{
    /* margin-top: 20px; */
    margin-top: 35px;
  }
}

@media(min-width:992px){
  .img-box {
    height: 408px;
  }

  div#img-container-align{
    /* margin-top: 20px; */
    margin-top: 98px;
  }
}

@media(max-width:340px){
  .img-box.img-effect:before{
      /* height: 490px; */
      height: 170px;
  }
  
  .img-box.img-effect:after{
      /* height: 490px; */
      height: 170px;
  }

  img#about-img{
    /* height: 490px; */
    height: 170px;
  }
  
  .img-box {
    height: 107px;
  }

  div#img-container-align{
    margin-top: 20px;
  }
}

/* What We Do */
div#after-sales-align{
    margin-top: 130px;
}

#what-we-do .inner-container .box-container .boxes {
    min-height: 200px;
    position: relative;
    margin-bottom: 20px;
}

a#why-we-do-link{
    color: inherit;
}


@media(max-width:350px){
    i#icon-arrow {
      font-size: 20px;
      display: block;
      position: fixed;
      margin-top: -23px;
      color: white;
      margin-left: 82%;
  }

  img#we-do-img-size{
    height: 200px;
  }
}

@media(min-width:351px){
  i#icon-arrow {
    font-size: 23px;
    display: block;
    position: fixed;
    margin-top: -27px;
    color: white;
    margin-left: 83%;
}

img#we-do-img-size{
  height: 220px;
}
}

@media(min-width:414px){
  i#icon-arrow {
    font-size: 26px;
    display: block;
    position: fixed;
    margin-top: -30px;
    color: white;
    margin-left: 85%;
}

img#we-do-img-size{
  height: 250px;
}
}

@media(min-width:768px){
  i#icon-arrow {
    font-size: 26px;
    display: block;
    position: fixed;
    margin-top: -28px;
    color: white;
    margin-left: 42%;
}

img#we-do-img-size{
  height: 220px;
}

}

@media(min-width:992px){
  i#icon-arrow {
    font-size: 22px;
    display: block;
    position: fixed;
    margin-top: -24px;
    color: white;
    margin-left: 27.5%;
}

img#we-do-img-size{
  height: 200px;
}

}

@media(min-width:1200px){
  i#icon-arrow{
      font-size: 28px;
      display: block;
      position: fixed;
      margin-top: -30px;
      color: white;
      margin-left: 28%;
  }

  img#we-do-img-size{
    height: 260px; 
  }
  
}

.hover-margin{
    margin-bottom: 15px;
}

.hovereffect {
    width: 100%;
    height: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: default;
  }
  
  .hovereffect .overlay {
    position: absolute;
    overflow: hidden;
    width: 80%;
    height: 80%;
    left: 10%;
    top: 10%;
    border-bottom: 1px solid #FFF;
    border-top: 1px solid #FFF;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: scale(0,1);
    -ms-transform: scale(0,1);
    transform: scale(0,1);
  }

  /* @media(min-width:320px){
    .hovereffect .overlay {
        position: absolute;
        overflow: hidden;
        width: 80%;
        height: 80%;
        left: 10%;
        top: 10%;
        border-bottom: 1px solid #FFF;
        border-top: 1px solid #FFF;
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
        -webkit-transform: scale(0,1);
        -ms-transform: scale(0,1);
        transform: scale(0,1);
      }
  }

  @media(min-width:375px){
    .hovereffect .overlay {
        position: absolute;
        overflow: hidden;
        width: 80%;
        height: 80%;
        left: 8%;
        top: 10%;
        border-bottom: 1px solid #FFF;
        border-top: 1px solid #FFF;
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
        -webkit-transform: scale(0,1);
        -ms-transform: scale(0,1);
        transform: scale(0,1);
      }
  }

  @media(min-width:414px){
    .hovereffect .overlay {
        position: absolute;
        overflow: hidden;
        width: 80%;
        height: 80%;
        left: 2.5%;
        top: 10%;
        border-bottom: 1px solid #FFF;
        border-top: 1px solid #FFF;
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
        -webkit-transform: scale(0,1);
        -ms-transform: scale(0,1);
        transform: scale(0,1);
      }
  }

  @media(min-width:768px){
    .hovereffect .overlay {
        position: absolute;
        overflow: hidden;
        width: 80%;
        height: 80%;
        left: 5%;
        top: 10%;
        border-bottom: 1px solid #FFF;
        border-top: 1px solid #FFF;
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
        -webkit-transform: scale(0,1);
        -ms-transform: scale(0,1);
        transform: scale(0,1);
      }
  }
  
  @media(min-width:1200px){
    .hovereffect .overlay {
        position: absolute;
        overflow: hidden;
        width: 80%;
        height: 80%;
        left: 3%;
        top: 10%;
        border-bottom: 1px solid #FFF;
        border-top: 1px solid #FFF;
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
        -webkit-transform: scale(0,1);
        -ms-transform: scale(0,1);
        transform: scale(0,1);
      }
  } */
  
  .hovereffect:hover .overlay {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
  
  .hovereffect img {
    display: block;
    position: relative;
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
  }
  
  .hovereffect:hover img {
    filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feComponentTransfer color-interpolation-filters="sRGB"><feFuncR type="linear" slope="0.6" /><feFuncG type="linear" slope="0.6" /><feFuncB type="linear" slope="0.6" /></feComponentTransfer></filter></svg>#filter');
    filter: brightness(0.6);
    -webkit-filter: brightness(0.6);
  }
  
  .hovereffect h2 {
    text-transform: uppercase;
    font-family: GothamBook;
    text-align: center;
    position: relative;
    font-size: 17px;
    background-color: transparent;
    color: #FFF;
    padding: 0.7em 0;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,-100%,0);
    transform: translate3d(0,-100%,0);
  }
  
  .hovereffect a, .hovereffect p {
    color: #FFF;
    padding: 0.7em 0;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,100%,0);
    transform: translate3d(0,100%,0);
    font-family: GothamBook;
  }
  
  .hovereffect:hover a, .hovereffect:hover p, .hovereffect:hover h2 {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }


  @media(max-width:350px){
  
    .hovereffect h2 {
      font-size: 13px;
      padding: 0.3em 0;
    }
    
    .hovereffect a, .hovereffect p {
      font-size: 12px;
      padding: 0.3em 0;
    }
    
  }
  
  @media(min-width:351px){
  
    .hovereffect h2 {
      font-size: 15px;
      padding: 0.5em 0;
    }
    
    .hovereffect a, .hovereffect p {
      font-size: 14px;
      padding: 0.5em 0;
    }
    
  }

  @media(min-width:414px){
  
    .hovereffect h2 {
      font-size: 17px;
      padding: 0.7em 0;
    }
    
    .hovereffect a, .hovereffect p {
      font-size: 16px;
      padding: 0.7em 0;
    }
    
  }
  
  @media(min-width:768px){
  
    .hovereffect h2 {
      font-size: 15px;
      padding: 0.5em 0;
    }
    
    .hovereffect a, .hovereffect p {
      font-size: 14px;
      padding: 0.5em 0;
    }
    
  }
  
  @media(min-width:992px){
  
  .hovereffect h2 {
    font-size: 15px;
    padding: 0.1em 0;
  }
  
  .hovereffect a, .hovereffect p {
    font-size: 14px;
    padding: 0.2em 0;
  }
  
  }

  @media(min-width:1200px){
    .hovereffect h2 {
      font-size: 17px;
      padding: 0.7em 0;
    }
    
    .hovereffect a, .hovereffect p {
      font-size: 16px;
      padding: 0.7em 0;
    }
    
  }