/* ----------------------------------------------------------------------------------------
* Author        : Designcarebd
* Template Name : Stamina | One Page Multipurpose Html Template
* File          : Stamina Responsive CSS file
* Version       : 1.0
* ---------------------------------------------------------------------------------------- */



/* Desktop Layout */

@media only screen and (min-width: 1136px) {
  .navbar-brand {
    margin-left: 14rem;
  }
  .service-height-1 {
    height: 291px;
  }

  .service-height-2 {
    height: 363px;
  }

  .service-height-3 {
    height: 315px;
  }

  .why-us .service-box {
    height: 381px;
  }

  .why-us > div:nth-child(2) > .service-box {
    padding: 15px;
  }
}



@media only screen and (min-width: 992px) and (max-width: 1135px){

  .xl-ml-5 {
    margin-left: 5rem !important;
  }

  .values h4 {
    margin-bottom: 5rem;
  }


  .service-height-1 {
    height: 361px;
  }

  .service-height-2 {
    height: 433px;
  }

  .service-height-3 {
    height: 387px;
  }

  .col-md-5ths {
    width: 33.33%;
  }

  .margin-left-16 {
    margin-left: 16.66%;
  }

  /*  .why-us .service-box {
      height: 381px;
  }

  .why-us > div:nth-child(2) > .service-box {
    padding: 15px;
    }*/

}


/* Tablet Layout */

@media only screen and (min-width: 768px) and (max-width: 991px) {

  .navbar-nav li a {
    padding: 15px 5px;
  }

  .home-services .service-box,
  .team-member,
  .single-item-table,
  .single-news {
    margin-bottom: 30px;
  }

  .action-area .btn {
    margin-top: 15px;
  }

  .about-img img {
    margin-bottom: 30px;
    width: 100%;
  }

  .navbar-nav li a {
    padding-left: 10px;
    font-size: 1.6rem;
  }

  .tab-margin-bottom {
    margin-bottom: 50px;
  }

}


/* Mobile Layout */

@media only screen and (max-width: 767px) {

  .mask {
    font-size: 2rem;
    height: 60%;
    top: 20%;
    line-height: 3.5rem;
  }

  .mask-wrapper img {
    height: 35vh;
  }

  .quotation-mark {
    font-size: 2rem;
  }

  .quotation-mark-left {
    position: relative;
    top: 0; 
    left: -5px;
  }

  .quotation-mark-right {
    position: relative;
    top: 0; 
    left: 0;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section-big {
    padding: 50px 0px;
  }

  .section-title {
    margin-bottom: 20px;
  }

  .section-title h2 {
    line-height: 45px;
  }

  .btn, input[type='submit'] {
    margin-bottom: 0px;
    padding: 8px 20px;
  }

  .about-area img {
    margin-bottom: 3rem;
  }

  img {
    max-width: 100%;
  }

  /* counter css */
  .quote-text h3 {
    margin-bottom: 20px;
  }

  .navbar-toggle {
    margin-right: 0px;
  }

  .navbar-fixed-bottom .navbar-collapse,
  .navbar-fixed-top .navbar-collapse {
    background: #fff;
  }

  .navbar {
    min-height: 0px;
    margin-top: 0;
  }

  .navbar-brand {
    height: 50px;
  }

  .mainmenu .navbar-nav {
    margin: 0;
    margin-top: 5px;
  }

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

  .mainmenu .navbar-nav li a {
    padding: 8px 15px;
    color: inherit;
    font-size: 1.7rem;
  }

  .navbar-fixed-bottom .navbar-collapse,
  .navbar-fixed-top .navbar-collapse {
    margin: 0 -15px;
    padding: 0;
    box-shadow: 0px 3px 5px 0px #999;
  }

  .menu-area.navbar-fixed-top.sticky-menu {
    height: 65px;
  }

  .intro-text h2 {
    font-size: 25px;
    line-height: 40px;
    margin-bottom: 15px;
  }

  .welcome-control {
    font-size: 20px;
    height: 40px;
    line-height: 35px;
    width: 40px;
  }

  .about-img img {
    margin-bottom: 30px;
    width: 100%;
  }

  .about-text h3 {
    margin-top: 0px;
  }

  .work-items .item {
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 15px;
  }

  .home-services .service-box,
  .team-member,
  .single-item-table,
  .single-news {
    margin-bottom: 30px;
  }

  .home-services .service-box img {
    height: 4rem;
  }

  .filters li {
    margin: 0px 10px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .value .value-text {
    font-size: 12px;
    line-height: 16px;
  }

  .value .value-result {
    font-size: 12px;
    min-width: 100px;
    max-width: 105px;
  }

  .value .value-number p {
    margin: 0.5rem 0.3rem 0.5rem 0.4rem;
  }

  .value.xs-2-row .value-number p {
    margin: 1.2rem 0.4rem;
  }
  .value.xs-3-row .value-number p {
    margin: 1.1rem 0.4rem;
  }
  .value.xs-4-row .value-number p {
    margin: 1.9rem 0.4rem;
  }
  .value.xs-5-row .value-number p {
    padding: 0.3rem;
    margin: 2.7rem 0.4rem;
  }

  .value.xs-2-row .arrow-right {
    border-top: 27px solid transparent;
    border-bottom: 27px solid transparent;
  }
  .value.xs-3-row .arrow-right {
    border-top: 26px solid transparent;
    border-bottom: 26px solid transparent;
  }
  .value.xs-4-row .arrow-right {
    border-top: 33px solid transparent;
    border-bottom: 33px solid transparent;
  }
  .value.xs-5-row .arrow-right {
    border-top: 41px solid transparent;
    border-bottom: 41px solid transparent;
  }

  .action-area .btn {
    margin-top: 15px;
  }

  .price-item p.level {
    margin-bottom: 60px;
  }

  .price-item p.price {
    padding-bottom: 20px;
  }

  .price-item a.btn {
    display: inline-block;
  }

  .owl-client .item img {
    padding: 0 2px;
  }

  .fun-facts-area{
    padding-bottom: 25px;
  }

  .fun-fact{
    padding-bottom: 25px;
  }

  .top-bar {
    height: 85px;
    line-height: 40px;
    text-align: center;
  }

  .top-contact-info {
    float: none;
  }

  .top-social {
    float: none; 
    margin-top: 6px;

  }

  .space {
    height: 40px;
  }

  .menu-area.navbar-fixed-top {
    top: 65px;
    height: 65px;
  }

  .single-testimonial {
    text-align: center;
  }

  .single-testimonial img {
    margin: auto;
    display: table;
    float: none;
  }

  .single-testimonial i.fa {
    margin-top: 10px;
  }

  .right.welcome-control {
    left: auto;
    right: 15px;
  }

  .left.welcome-control {
    left: 15px;
  }

  .carousel .item {
    height: 70vh;
  }

  .carousel .item.next,
  .carousel .item.active {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }

  .carousel .item img{
    max-width: 75%;
    max-height: 30%;
  }

  .partner-logos {
    min-height: 60vh;
  }

}


/* Small Mobile Layout */

@media only screen and (max-width: 480px) {

  .intro-text h2 {
    font-size: 18px;
    line-height: 27px;
    margin-top: 40px;
  }

  .welcome-control {
    display:none;
  }

  .intro-text .title {
    padding: 5px 30px;
  }

  .intro-text .btn {
    margin-right: 10px;
    padding: 3px 10px;
    font-size: 18px;
    margin-bottom: 5px;
  }

  .single-testimonial img {
    max-width: 100%;
    margin-bottom: 15px;
  }

  .single-testimonial i.fa {
    margin-bottom: 15px;
  }

  .testimonial .visuals {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
  }

  .top-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
  }

  .top-container .top-social {
    margin-top: 0;
    min-width: 85px;
  }

  .top-container strong {
    font-weight: 400;
  }

  .top-contact-info {
    font-size: 12px;
  }

  .top-contact-info span {
    font-size: 14px;
  }

  /*	.top-contact-info span {
          margin-right: 3px;
          padding: 2px 4px;
          font-size: 12px;
      }*/

  .top-bar {
    line-height: 18px;
    padding-top: 2px;
    font-size: 10px;
    text-align: center;
  }

  footer .top-bar {
    padding-top: 12px;
  }

  .top-social a i.fa {
    font-size: 14px;
  }

  .news-meta span {
    margin-right: 5px;
  }

  .comments ul li .comment-box img {
    float: none;
  }

  .comments ul li .comment-box .comment-content {
    margin-left: 0px; 
    margin-top: 10px;
  }

  .comments ul.depth .comment-box {
    padding-left: 0px;
  }


}
