/*==================================================

=            Bootstrap 3 Media Queries             =

==================================================*/

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */

@media only screen and (min-width: 320px) {
}

/* Extra Small Devices, Phones */

@media only screen and (min-width: 480px) {
  .img-thumbnail {
    padding: 10px;
  }
  .item-text {
    padding: 0px;
  }
  .item-text h5 {
    font-size: 10px;
  }
  .container-fluid {
    padding: 0 !important;
  }

  .tp-revslider-mainul {
    width: 100% !important;
  }
  .item-text h4 {
    min-height: 60px;
    font-size: 14px;
  }
  .owl-carousel-4col .img-fullwidth {
    height: 175px !important;
  }
  .owl-carousel .owl-item img {
    /* height: 38vh !important; */
  }
}

/* Small Devices, Tablets */

@media only screen and (min-width: 768px) {
  .owl-carousel .owl-item img {
    /* height: 38vh !important; */
  }
}

/* Medium Devices, Desktops */

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

/* Large Devices, Wide Screens */

@media only screen and (min-width: 1200px) {
}

/*==========  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;
  }
}

/* Small Devices, Tablets */

@media only screen and (max-width: 767px) {
  html {
    font-size: 60%;
  }

  .box-hover-effect {
    float: none;
  }
  .ncert-div2 h4 {
	margin-top: 16px;
  }
  .btn-book .btn {
	margin-bottom: 8px;
  }
  #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;
  }
}

/* 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%;
  }
}
