/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width: 320px) {
  h1,
  .h1 {
    font-size: 15px !important;
  }
  .h1,
  .h2,
  .h3,
  h1,
  h2,
  h3 {
    margin-top: 0px;
    /*margin-bottom: 10px;*/
    margin-bottom: 0px;
  }
  .mt-30 {
    margin-top: 0px !important;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (min-width: 480px) {
}

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {
}

/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {
  .list-inline font-12 ul li {
    font-size: 12px;
  }
}

/* Lar/*ge Devices, Wide Screens */
@media only screen and (min-width: 1200px) {
  .list-inline font-12 ul li {
    font-size: 13px;
  }
}

/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width: 1199px) {
  .service-block .thumb .desc {
    bottom: -47%;
  }

  .team-block .team-thumb .team-overlay {
    padding: 10px 15px;
    height: 82%;
  }
  .team-block .team-thumb .team-overlay::after {
    left: 0px;
  }
  .team-block .team-thumb .styled-icons {
    padding: 7px 20px 0 0;
    width: 79%;
  }
}

/* Medium Devices, Desktops */
@media only screen and (max-width: 991px) {
  html {
    font-size: 75%;
  }
  .navbar-nav .dropdown-menu {
    left: auto;
  }
  #header-logo {
    padding: 10px 15px;
  }
  .header .navbar-default .navbar-nav > li > a::after {
    display: none;
  }
  .team-member,
  .working-progress {
    margin-bottom: 60px !important;
  }
  .testimonial-carousel .owl-controls .owl-pagination {
    margin-right: 0px !important;
  }
  .map {
    margin-top: 30px;
  }
  .curve-bg:after,
  .curve-bg-half:after {
    left: auto;
    -webkit-transform: rotate(-0deg);
    -moz-transform: rotate(-0deg);
    -ms-transform: rotate(-0deg);
    -o-transform: rotate(-0deg);
    transform: rotate(-0deg);
  }
  .blog-posts .entry-header .entry-title {
    padding-top: 0;
  }
  .blog-posts .entry-header .entry-date {
    margin-left: 0;
  }
  .contact-wrapper {
    padding: 50px 30px;
  }
  .header #header-logo {
    padding-top: 20px;
  }
  .boxed-layout .header #header-logo,
  .vertical-header .header #header-logo {
    padding-top: 10px;
  }
  .header .navbar-default .navbar-toggle {
    margin-top: 18px;
  }
  .boxed-layout .header .navbar-default .navbar-toggle {
    margin-top: 8px;
  }
  .header #header-logo img {
    height: 30px;
  }
  .pricing-table .table-price {
    font-size: 30px;
  }
  .bg-img-box .caption .title {
    font-size: 24px;
    margin-top: 0px;
  }
  .bg-img-box .caption .schedule {
    font-size: 14px;
    margin-top: 0px;
  }

  .service-block .thumb .desc {
    border-top: 4px solid #fb4848;
    bottom: -18%;
  }
  .team-block .team-thumb .styled-icons {
    padding: 10px 20px 0 25px;
    width: 88%;
  }
  .team-block .team-thumb .team-overlay {
    height: 88%;
  }
  .team-block .team-thumb .team-overlay {
    padding: 50px 30px;
  }

  /* font-size: 23px !important; */
}

/* Small Devices, Tablets */
@media only screen and (max-width: 767px) {
  html {
    font-size: 60%;
  }
  .box-hover-effect {
    float: none;
  }
  #header-logo {
    padding: 10px 15px;
  }
  #spinner {
    left: 42%;
  }
  .navbar-default .navbar-toggle {
    margin-top: 15px;
    border-radius: 0px;
  }
  #home .display-table p {
    margin: 15px 0;
    font-size: 14px;
  }
  .icon-box {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .icon-box {
    text-align: center;
  }
  .icon-box.left {
    text-align: center;
  }
  .icon-box.left a {
    margin-right: 0;
    padding: 0;
  }
  .icon-box .media-left {
    float: none !important;
    margin: 0 0 30px 0;
  }
  .icon-box .media-left,
  .icon-box .media-right,
  .icon-box .media-body {
    display: block;
    width: auto;
  }
  .call-to-action {
    text-align: center;
  }
  .call-to-action .icon {
    float: none;
  }
  .sidebar.pull-left,
  .sidebar.pull-right {
    float: none !important;
  }
  .blog-posts .entry-meta {
    background: none;
    left: auto;
    position: relative;
    top: auto;
  }
  .testimonial-carousel.boxed .owl-dots {
    text-align: center;
  }
  .bg-img-box .caption .title {
    font-size: 24px;
    margin-top: 30px;
  }
  .service-block .thumb .desc {
    border-top: 4px solid #fb4848;
    bottom: -15%;
    padding: 10px 6px 4px 20px;
  }
  .team-block .team-thumb .team-overlay {
    padding: 60px;
  }
  .team-block .team-thumb .team-overlay {
    height: 90%;
  }
  .team-block .team-thumb .team-overlay::after {
    left: -1px;
  }
  .team-block .team-thumb .styled-icons {
    padding: 9px 20px 0 25px;
  }
  .team-block .team-thumb .styled-icons::after {
    border-width: 26px;
    left: -52px;
  }
  .title {
    font-size: 15px;
  }
}
/* Extra Small Devices, Phones */
@media only screen and (max-width: 479px) {
  html {
    font-size: 50%;
  }
  .vertical-text-carousel .owl-controls .owl-buttons {
    top: 18%;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 360px) {
  .team-block .team-thumb .styled-icons {
    padding: 8px 20px 0 25px;
  }
  .team-block .team-thumb .team-overlay {
    height: 88%;
  }
}

/* Custom, iPhone Retina */
@media only screen and (max-width: 319px) {
  html {
    /*font-size: 35%;*/
  }

  h1,
  .h1 {
    font-size: 15px !important;
  }
  .h1,
  .h2,
  .h3,
  h1,
  h2,
  h3 {
    margin-top: 0px;
    margin-bottom: 10px;
  }
  .mt-30 {
    margin-top: 0px !important;
  }
}
