/**********loading****************************/
.no-js #loader {
  display: none;
}
.js #loader {
  display: block;
  position: absolute;
  left: 100px;
  top: 0;
}
.se-pre-con {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url(https://smallenvelop.com/wp-content/uploads/2014/08/Preloader_8.gif)
    center no-repeat #fff;
}
/****************************************************/
.container-fluid {
  padding-left: 40px;
  padding-right: 40px;
}
body {
  overflow-x: hidden;
  height: 3000px;
}
/********************************navbar*************************/
.navbar {
  padding-top: 15px;
  background: #fff;
  z-index: 999;
}
.navbar-brand {
  width: 160px;
}

.wrap p:last-child {
  margin: 0;
}
.navbar .nav-link {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: #f2291e !important;
  margin-right: 15px;
  margin-bottom: 8px;
  padding: 8px;
}
.navbar .nav-link::after {
  content: "";
  background: #f2291e;
  opacity: 0.1;
  position: absolute;
  left: 12px;
  bottom: -6px;
  width: calc(100% - 8px);
  height: 0px;
  z-index: -1;
  -webkit-transition: 0.35s cubic-bezier(0.25, 0.1, 0, 2.05);
  transition: 0.3s cubic-bezier(0.25, 0.1, 0, 2.05);
}
.navbar .nav-link:hover:after {
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 100%;
}

nav .btn {
  background: #f2291e;
  color: #fff;
  border: solid 1px #f2291e;
  transition: all 0.2s;
  font-size: 15px;
}
nav .btn:hover {
  background: #fff;
  color: #f2291e;
}

@media all and (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    margin-top: 0;
  }

  .navbar .dropdown-menu.fade-down {
    top: 80%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
  }
  .navbar .dropdown-menu.fade-up {
    top: 180%;
  }
  .navbar .nav-item:hover .dropdown-menu {
    transition: 0.3s;
    opacity: 1;
    visibility: visible;
    top: 100%;
    transform: rotateX(0deg);
  }
}
/***********header****************************/
.header {
  position: relative;
  padding-top: 80px;
}
.header .image-bg {
  position: absolute;
  top: -70px;
  z-index: -1;
}
.header .row {
  padding: 0 70px;
}
.header .content p {
  color: #fff;
  font-size: 15px;
  line-height: 25px;
}
.header .content span {
  font-weight: 300;
  font-size: 70px;
  display: block;
  margin-bottom: 15px;
}
.header .content b {
  font-weight: 700;
  font-size: 70px;
  display: block;
  margin-bottom: 10px;
}
.header .buttons,
.care .buttons,
.help .buttons,
.contact .buttons {
  padding: 0;
  margin-top: 30px;
}

.header .button,
.care .button,
.help .button,
.contact .button {
  padding: 5px 15px;
  border-radius: 10rem;
  color: #fff;
  text-transform: capitalize;
  letter-spacing: 1px;
  font-size: 1rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  border: solid 0.5px #fff;
}

.header .button:after,
.care .button:after,
.help .button:after,
.contact .button:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f2291e;
  border-radius: 10rem;
  z-index: -2;
}
.header .button:before,
.care .button:before,
.help .button:before,
.contact .button:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #990e07;
  transition: all 0.3s;
  border-radius: 10rem;
  z-index: -1;
}
.header .button:hover,
.care .button:hover,
.help .button:hover,
.contact .button:hover {
  color: #fff;
  text-decoration: none;
}
.header .button:hover:before,
.care .button:hover:before,
.help .button:hover:before,
.contact .button:hover:before {
  width: 100%;
}
.header .image img {
  width: 130%;
  transform: translate(-100px, -50px);
}

/****about us***************************************/
.about {
  margin: 50px 0;
}
.about .head p {
  color: #909092;
  font-size: 15px;
  margin-bottom: 50px;
}

.about .card {
  padding: 50px 20px 10px;
  border: solid 1px #f2291e;
  transition: all 0.3s ease-in-out;
  margin-bottom: 25px;
}
.about .card h3 {
  margin: 20px 0;
}
.about .card p {
  color: #909092;
  font-size: 14px;
}
.about .card:hover {
  border-color: #fff;
  box-shadow: 0 0 15px #909092;
}
/************care*********************************************/
.care .image {
  width: 90%;
}

.care .content {
  padding-top: 100px;
}
.care h2,
.help h2 {
  font-weight: 350;
}
.care p,
.help p {
  margin: 20px 0;
  color: rgb(68, 71, 63);
}
/*****************shuffle****************************************************/
.gallery {
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
-webkit-column-width: 33%;
-moz-column-width: 33%;
column-width: 33%; }
.gallery .pics {
-webkit-transition: all 350ms ease;
transition: all 350ms ease; }
.gallery .animation {
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1); }

@media (max-width: 450px) {
.gallery {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
-webkit-column-width: 100%;
-moz-column-width: 100%;
column-width: 100%;
}
}

@media (max-width: 400px) {
.btn.filter {
padding-left: 1.1rem;
padding-right: 1.1rem;
}
    
}
.shuffle{
    margin-bottom: 80px
}
.shuffle button{
    color: #fff;
    background: #f2291e;
    margin-right: 10px
}
.shuffle button:hover{
color: #f2291e;
    border: solid 1px #f2291e;
    background: none
}
.shuffle button:focus{
    box-shadow: 0 0 5px #f2291e
}
/**********help****************************/
.help .content {
  padding-top: 80px;
  margin-bottom: 50px;
}
.help .cubes .left {
  transform: translateY(50%);
}
.help .cubes .right-2 {
  margin-top: 50px;
}
.help .left,
.help .right-1,
.help .right-2 {
  box-shadow: 0 0 25px #cdd4d8;
  border-radius: 8px;
  padding: 30px 10px;
}
.help .cubes img {
  transform: scale(0.9);
}
.help .cubes h2 {
  font-weight: 700;
}
.help .cubes span {
  color: rgb(68, 71, 63);
}
/*************testi************************************/
.testimonial {
  margin-top: 50px;
}
.testimonial .carousel-inner {
  margin: 0 !important;
}

.testimonial h2::after {
  content: "";
  width: 130px;
  position: absolute;
  margin: 0 auto;
  height: 3px;
  background: #f2291e;
  left: 0;
  right: 0;
  top: 100px;
}
.testimonial .carousel-inner .carousel-item .img-box {
  width: 20%;
  margin-right: 5%;
  float: left;
  margin-top: 25px;
}
.testimonial .carousel-inner {
  box-shadow: 0 0 25px #909092;
  border-radius: 8px;
  padding: 20px;
}
.testimonial .carousel-inner .carousel-item .content {
  float: left;
  width: 70%;
}
.testimonial p {
  color: #8a8e9e;
  font-size: 12px !important;
}
.testimonial .carousel-indicators {
  top: 50%;
  transform: translateY(-30%);
  right: 10px;
  left: auto;
  margin: 0;
  display: inline-block;
}
.testimonial .carousel-indicators li {
  background: #8a8e9e;
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  margin: 10px;
}
.testimonial .carousel-indicators li.active {
  transform: scale(1.3);
  background: #f2291e;
}
.testimonial h5 {
  text-transform: capitalize;
  font-weight: 400;
  letter-spacing: 0.1em;
  font-size: 18px;
}
.testimonial h5 span {
  color: #bdc0c4;
  font-size: 15px;
}
/****************team********************************************/
.team {
  margin-top: 50px;
}
  .team h2 {
font-weight: bold
}
.team .head p {
  font-size: 15px;
  margin-bottom: 50px;
}
.team .content {
  background: #fff;
  transform: translateY(-40px);
  border-radius: 8px;
  width: 60%;
  margin-left: 20%;
  box-shadow: 0 5px 12px #909092;
  padding: 10px 0;
  transition: all 0.5s ease-in-out;
}
.team .content h3 {
  font-size: 20px;
}
.team .content span {
  color: #909092;
}
.team .content:hover {
  transform: translatey(-50px);
  background-color: #f2291e;
}
.team .content:hover h3,
.team .content:hover span {
  color: #fff;
}

/*****************footer*****************************************************/
.footer {
  padding: 30px 0;
  margin-top: 30px;
  background: #F8F8F8;
  position: relative;
}

.footer p {
  color: #5f5f66;
  font-size: 14px;
  margin-top: 20px;
  line-height: 1.8;
}
.footer h2 {
  text-transform: capitalize;
  color: #fff;
  font-weight: bold;
}

.footer a {
  text-decoration: none;
  color: #5f5f66;

  font-size: 14px;
  line-height: 1.8;
  display: inline-block;
  transition: all 0.2s ease-in-out;
}
.footer a:hover {
  color: #ff7a5c;
}
.footer h2 {
  font-size: 22px;
    color: #5f5f66
}
.footer .logo a {
  text-decoration: none;
}
.footer .logo a h4 {
  font-size: 20px;
  color: #5f5f66;
  font-weight: 500;
}
.footer .logo a h4 span {
  color: #ff7a5c;
}
.footer .logo a > span {
  font-size: 14px;
  letter-spacing: 1px;
  color: darkgray;
  display: block;
  margin-top: -15px;
}
@media (max-width: 767px) {
  .footer .row {
    text-align: center;
  }
  .footer p {
    padding: 0 10px;
  }
}
/****************last********************************************/
.lastt {
  background-color: #f8f8f8;
}
.lastt .last {
  color: #5f5f66;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: solid 1px #5f5f66;
}
.lastt .last li {
  padding-right: 30px;
  float: left;
}
.lastt .last li i {
  transition: all 0.3s;
}

.lastt .last li i:hover {
  color: #f2291e;
}
.navbar-default .navbar-toggle {
  border-color: #da7b08;
  background: none;
}
@media (max-width: 767px) {
  .lastt .last {
    flex-direction: column;
    align-items: space-between;
  }
  .lastt .last p {
    text-align: center;
  }
}
/***************back to top**************************************************/
#button {
  display: inline-block;
  background-color: #F2291E;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#button::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
#button:hover {
  cursor: pointer;
  background-color: #333;
}
#button:active {
  background-color: #555;
}
#button.show {
  opacity: 1;
  visibility: visible;
}
/*************media queries*************************************/
/* Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
  .header {
    padding-top: 40px;
  }
  .header .row {
    text-align: center;
    padding: 0;
  }
  .header button {
    font-size: 12px;
  }
  .header .image-bg {
    top: 0px;
    transform: scaleY(2.3);
  }
  .header .image {
    width: 50%;
    transform: translate(50px, -20px);
  }
  .header .content p span,
  .header .content p b {
    font-size: 50px;
  }
  .header .content p {
    line-height: 20px;
  }
  .about .head h2,
  .team h2 {
    font-size: 32px;
  }
  .about .head p,
  .team p {
    padding: 0 20px;
  }
  .care .image {
    width: 100%;
    margin-bottom: -130px;
  }
  .care h2,
  .help h2 {
    font-size: 28px;
  }
  .care p,
  .help p {
    font-size: 15px;
  }
  .care .row {
    padding: 0;
  }

  .testimonial .carousel-indicators {
    top: 20px;
    transform: translateY(0%);
  }
  .testimonial .carousel-inner .carousel-item {
    text-align: center;
  }
  .testimonial .carousel-inner .carousel-item .img-box {
    float: none;
    margin-right: 0;
    text-align: center;
    width: 100px;
    margin-left: 50%;
    transform: translateX(-50%);
  }
  .testimonial h5 {
    font-size: 12px;
  }
  .testimonial .carousel-inner .carousel-item .content {
    width: 100%;
    float: none;
  }
  .testimonial p {
    font-size: 15px;
  }
  .contact {
    margin-top: 30px;
  }
  .contact .image {
    transform: scaleY(1.5);
    top: 60px;
  }
  .contact .content {
    padding: 50px 20px 0;
  }
  .contact .content .buttons {
    margin-top: -10px;
  }
  .contact .content p {
    color: #fff;
    font-size: 12px;
  }
     .shuffle{
        margin-top: 50px;
         margin-bottom: -50px
            
    }  
}
/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767.98px) {
  .header {
    padding-top: 50px;
  }
  .header .image-bg {
    top: 40px;
    transform: scaleY(1.2);
  }

  .header .row {
    text-align: left;
    padding: 0;
  }

  .header .image img {
    width: 150%;
    transform: translate(-70px, 0px);
  }

  .header .content .buttons {
    margin-top: -5px;
  }

  .header .content span {
    font-weight: 300;
    font-size: 50px;
    display: block;
    margin-bottom: 15px;
  }
  .header .content b {
    font-weight: 700;
    font-size: 50px;
    display: block;
    margin-bottom: 0px;
  }
  .care .image {
    margin-bottom: -150px;
  }
  .care .row {
    padding: 0;
  }
  .team .content {
    padding: 20px 10px;
  }
  .team .content h3,
  .team .content span {
    margin: 0;
    line-height: 30px;
  }
  .contact .image {
    transform: scaleY(1.5);
  }
  .contact .content {
    padding: 0;
  }
  .contact .content p {
    color: #fff;
  }
 .shuffle{
    margin-top: 50px;
     margin-bottom: -50px

}  
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991.98px) {
  .header {
    padding-top: 35px;
      margin-bottom: 100px
  }

  .header .row {
    padding: 0px;
  }
  .header .image img {
    width: 100%;
    transform: translate(0px, 0px);
  }
  .header .content b {
    margin-bottom: 0px;
  }
  .header .content .buttons {
    margin-top: -5px;
  }
  .care .image {
    padding-top: 60px;
  }
  .care h2 {
    font-size: 35px;
  }
  .care p {
    font-size: 15px;
  }
  .care .row {
    padding: 0;
  }
     .header .content{
        transform: translate(50px,50px)
    } 
    .header .image-bg{
        transform: scaleY(1.2) 
    }
    .contact .image{
        transform: scaleY(1.5)
    }
    .contact .content{
        transform: translateY(-50px)
    }
    
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199.98px) {
  .header .content{
        transform: scale(1) translate(50px,10px)
    }
}

@media (min-width: 1199px){
    .header .content{
        transform: scale(1.3) translate(100px,50px)
    }
    .contact{
        margin-bottom: 150px
    }
    .contact .content{
        transform: scale(1.3)
    }
}