/*****
*
*
*Author Name : Mostafizur Rahman
*Author URI : http://mostafiz.me/
*Version : 1.1
*Description : This is a responsive HTML & Bootstrap template developed by Mostafizur Rahman
*Template URI : http://mostafiz.me/demo/doctor/
*
*
****/

body {
  margin: 0;
  padding: 0;
  font-family: 'BenchNine', sans-serif;
}

li {
  list-style: none;
}

a:hover, a:visited, a {
  text-decoration: none;
}

h1, h2 {
  text-transform: uppercase;
  font-weight: bold;
}

/* section-center */

.section-center {
  max-width: 300px;
}

/*header area*/

.top-header {
  background: #fff !important;
  position: fixed;
  width: 100%;
  z-index: 99999;
}

.header-backup {
  width: 20px;
  height: 119px;
  background: transparent;
  margin: auto;
}

.top-header img.logo {
  /* margin-bottom: 10px; */
  /* margin-top: -15px; */
  transition: all .5s ease 0s;
  -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  -ms-transition: all .5s ease 0s;
}

.navbar-default {
  background-color: transparent;
  border-color: transparent;
  margin-bottom: 0;
  margin-top: 8px;
  transition: all .5s ease 0s;
  -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  -ms-transition: all .5s ease 0s;
}

.nav-bar {
  margin-top: 29px;
}

.navbar-toggle span {
  color: #fff;
}

ul.nav {
  margin: 0;
  padding: 0;
}

.navbar-default .navbar-nav>li>a {
  font-size: 24px;
  color: #737373;
  text-transform: uppercase;
  transition: all .7s ease 0s;
  -webkit-transition: all .7s ease 0s;
  -moz-transition: all .7s ease 0s;
  -o-transition: all .7s ease 0s;
  -ms-transition: all .7s ease 0s;
  padding: 14px 15px;
  font-weight: bold;
}

.navbar-default .navbar-nav>li>a:hover {
  color: #42b3e5;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #000;
}

li a.active {
  color: #42b3e5 !important;
}

.navbar-default .navbar-toggle {
  border-color: #fff;
  margin-top: 4px;
}

/*slider area*/

.slider-row {
  margin: 0;
  padding: 0;
}

.slider-wrapper {
  margin: 0;
  padding: 0 !important;
  background: #000 !important;
}

.carousel-caption {
  position: absolute;
  /* text-align: left; */
  text-align: center;
  /* left: 12%; */
  line-height: 1;
  top: 50%;
  margin-top: -100px;
}

.carousel-caption h1 {
  font-size: 157px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 0;
}


.carousel-caption p {
  font-size: 60px;
  color: #fff;
  /* text-transform: uppercase; */
  font-weight: bold;
  margin-top: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.carousel-caption button {
  width: 240px;
  height: 60px;
  background: #3a9ecb;
  color: #fff;
  font-size: 30px;
  text-transform: uppercase;
  border: 0;
  transition: all .5s ease 0s;
  -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  -ms-transition: all .5s ease 0s;
}

.carousel-caption button:hover {
  background: #2a2a2a;
}

.carousel-control {
  width: 5%;
}

.carousel-inner {
  background: -webkit-linear-gradient(left, #000, blue);
  /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(left, #000, blue);
  /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(left, #000, blue);
  /* For Firefox 3.6 to 15 */
  background: linear-gradient(to left, #000, blue);
  /* Standard syntax */
}

.item {
  position: relative;
}

.carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev {
  font-size: 18px;
  padding: 5px;
  background: #fff;
  border-radius: 50%;
  color: transparent;
  margin-left: 0;
  margin-top: 50px;
}

.carousel-control .glyphicon-chevron-right, .carousel-control .icon-next {
  font-size: 18px;
  padding: 5px;
  background: #fff;
  border-radius: 50%;
  color: transparent;
  margin-right: 0;
  margin-top: 50px;
}

/*about area*/

.about h2 {
  font-size: 90px;
  color: #42b3e5;
  margin-top: 50px;
}

.about h4 {
  font-size: 24px;
  color: #737373;
  margin-bottom: 45px;
}

.about-img img {
  width: 100%;
}

.single-about-detail {
  position: relative;
}

.pentagon-text h1 {
  font-size: 60px;
  color: #383838;
  margin-top: 0;
  transition: all .7s ease 0s;
  -webkit-transition: all .7s ease 0s;
  -moz-transition: all .7s ease 0s;
  -o-transition: all .7s ease 0s;
  -ms-transition: all .7s ease 0s;
  position: absolute;
  left: 15%;
  width: 50px;
  top: -6%;
}

.pentagon-text {
  width: 70px;
  height: 52px;
  background: #fff;
  position: relative;
  top: -30px;
  left: 43%;
}

.pentagon-text:before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 34px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 15px solid #fff;
}

.pentagon-text:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 0;
  height: 0px;
  border-left: 36px solid transparent;
  border-right: 34px solid transparent;
  border-top: 15px solid #fff;
}

.about-details {
  background: #2a2a2a;
  border-top: 2px solid #fff;
  transition: all .7s ease 0s;
  -webkit-transition: all .7s ease 0s;
  -moz-transition: all .7s ease 0s;
  -o-transition: all .7s ease 0s;
  -ms-transition: all .7s ease 0s;
}

.about-details h3 {
  font-size: 36px;
  color: #fff;
  margin-top: 0;
}

.about-details p {
  font-size: 13px;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  padding: 0 25px;
  padding-bottom: 30px;
}

.single-about-detail:hover .about-details {
  background: #3a9dca;
}

.single-about-detail:hover .pentagon-text h1 {
  color: #3a9dca;
}

/*service area*/

.service {
  background: url(../img/pattern.jpg);
  background-repeat: repeat;
  /* margin-top: 40px; */
}

.service h2 {
  font-size: 90px;
  color: #fff;
  margin-top: 70px;
  margin-bottom: 0;
}

.service h4 {
  font-size: 24px;
  color: #fff;
  margin-top: 0;
  margin-bottom: 70px;
  display: block;
}

.single-service-img {
  width: 205px;
  height: 125px;
  background: #fff;
  position: relative;
  left: 50%;
  margin-left: -100px;
}

.single-service-img:before {
  content: "";
  position: absolute;
  top: -42px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 102px solid transparent;
  border-right: 104px solid transparent;
  border-bottom: 42px solid #fff;
}

.single-service-img:after {
  content: "";
  position: absolute;
  bottom: -42px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 102px solid transparent;
  border-right: 102px solid transparent;
  border-top: 42px solid #fff;
  z-index: 10;
}

.service-img {
  width: 200px;
  height: 123px;
  background: #3a9ecb;
  position: relative;
  top: 1px;
  left: 2px;
}

.service-img:before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 40px solid #3a9ecb;
}

.service-img:after {
  content: "";
  position: absolute;
  bottom: -39px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-top: 40px solid #3a9ecb;
  z-index: 999;
}

.single-service h3 {
  margin-top: 60px;
  color: #fff;
  padding-bottom: 90px;
}

.service-img img.heart {
  left: 25%;
  top: 5%;
}

.service-img img.brain {
  left: 28%;
  top: 10%;
}

.service-img img.knee {
  left: 25%;
  top: 11%;
}

.service-img img {
  position: absolute;
}

/*team section*/

div#team {
  background: #171616;
}

.agileits_team_grid_figure img {
  border: 5px solid #fff;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  margin: 0 auto;
  text-align: center;
  width: 160px;
  height: 160px;
}

.agileits_team_grid h4 {
  font-size: 3em;
  color: #00acee;
  margin: .5em 0;
}

.agileits_team_grid p {
  /* color:#eee; */
  line-height: 2em;
  font-size: 20px;
  letter-spacing: 2px;
}

.agileits_team_grid .social-icon {
  /* margin: 1em 0 0; */
  font-size: 20px;
}

.agileits_team_grids, .w3l_gallery_grids, .w3_testimonials_grids, .w3layouts_mail_grids, .map iframe, .contact-form form, .aboutgrids {
  margin: 3em 0 0;
}

/* .agileits_team_grid {
    background: rgba(16, 16, 16, 0.48);
    background: transparent;
    text-align: center;
    width: 30%;
    margin-right: 5%;
    padding: 2em 1em;
    border: 2px solid #999;
    border-bottom: 10px solid #f0b500;
} */

/*team section continue */

.msection-center {
  width: 80%;
  margin: 0 auto;
  text-align: justify;
  line-height: 1.5;
  font-size: 1.001em;
  font-family: Helvetica;
  color: #444;
  padding-bottom: 30px;
}

.msection-center h3 {
  text-align: center;
}

.msection-center p {
  font-size: 16px;
  /* TODO */
  padding-top: 10px;
}

.msection-center li {
  padding-top: 5px;
  list-style-type: disc;
  font-size: 16px;
}

.team {
  padding-bottom: 60px;
  padding: 5em 0;
  margin-top: 40px;
}

.team h2 {
  font-size: 90px;
  /* color: #42b3e5; */
  color: #fff;
  margin-top: 50px;
  margin-bottom: 0;
}

.team h4 {
  /* font-size: 24px; */
  font-size: 40px;
  /* color: #737373; */
  color: #fff;
  margin-top: 0;
  margin-bottom: 45px;
}

.single-member {
  margin: 0;
  padding: 0;
}

.person img {
  width: 100%;
}

.person-detail {
  padding: 10px;
  background: #3a9cc8;
  position: relative;
  transition: all .7s ease 0s;
  -webkit-transition: all .7s ease 0s;
  -moz-transition: all .7s ease 0s;
  -o-transition: all .7s ease 0s;
  -ms-transition: all .7s ease 0s;
}

.arrow-top {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #3ba0cc;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  bottom: -10px;
  left: 46%;
  transition: all .7s ease 0s;
  -webkit-transition: all .7s ease 0s;
  -moz-transition: all .7s ease 0s;
  -o-transition: all .7s ease 0s;
  -ms-transition: all .7s ease 0s;
}

.arrow-bottom {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #3ba0cc;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  top: -9px;
  left: 46%;
  transition: all .7s ease 0s;
  -webkit-transition: all .7s ease 0s;
  -moz-transition: all .7s ease 0s;
  -o-transition: all .7s ease 0s;
  -ms-transition: all .7s ease 0s;
}

.person-detail h3 {
  font-size: 30px;
  color: #fff;
}

.person-detail p {
  font-size: 13px;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
}

.single-member:hover .person-detail {
  background: #2a2a2a;
}

.single-member:hover .arrow-top {
  background: #2a2a2a;
}

.single-member:hover .arrow-bottom {
  background: #2a2a2a;
}

/*-- /testimonials --*/

.agile_testimonials h3.head {
  font-size: 50px;
  color: #fff;
  text-transform: capitalize;
  margin-bottom: 35px;
}

.agile_testimonials h3 span {
  font-weight: 700;
  color: #f0b50a;
}

.testimg img {
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  width: 100%;
}

.agile_testimonials {
  background: url(../img/test1.jpg) no-repeat 0px 0px;
  background-size: cover;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* #testimonials {
  background: url(../img/pattern.jpg);
} */

h3.agile_heading {
  color: #ff0000;
  font-size: 35px;
  font-weight: 600;
}

.about-midd-main p {
  background: url(../img/quotes.png) no-repeat 0px 0px;
  background-size: 24px;
}

.agileits-button.two {
  text-align: left;
  margin-top: 2em;
}

.testmonial_agile_info p {
  color: #fff;
  margin: 1em 0;
  font-size: 15px;
  line-height: 2em;
}

.agile_tesimonials_content {
  width: 100%;
}

.agile_tesimonials_content p {
  color: #fff;
  font-size: 16px;
  line-height: 2em;
  letter-spacing: 2px;
  padding-left: 35px;
  margin-bottom: 20px;
}

.agile_tesimonials_content h4 {
  color: #fff;
  margin: 2em 0 0;
  font-size: 20px;
  letter-spacing: 1px;
}

.agile_testimonials {
  padding: 7em 0;
}

.owl-controls {
  display: none !important;
}

.agile_testimonials {
  position: relative;
}

.agile_testimonials h5 {
  position: absolute;
  bottom: 10%;
  left: 18%;
  opacity: 0.1;
  font-size: 350px;
  font-weight: 700;
  color: #fff;
}

.w3l_header span {
  color: #00acee;
  font-weight: 700;
}

.w3l_header:after {
  border-top: 2px solid #f0b50a;
  display: block;
  width: 81px;
  content: "";
  margin: 8px auto 0;
}

.w3l_header {
  font-size: 45px;
  color: #262c38;
  letter-spacing: 0px;
  position: relative;
  text-align: center;
}

.team .w3l_header {
  font-size: 50px;
  color: #fff;
  text-transform: capitalize;
  margin-bottom: 35px;
}

/*-- //testimonials --*/

/*contact section*/

.contact-caption {
  background: #3a9dca;
}

.contact-heading h2 {
  color: #fff;
  font-size: 90px;
}

.contact-info {
  padding-left: 40px;
}

.contact-info h3 {
  padding-left: 0;
  font-size: 30px;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  border-bottom: 1px solid #13849c;
  padding-bottom: 12px;
  margin-bottom: 0;
}

/* .contact-form h3 {
  padding-left: 0;
  font-size: 30px;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  border-bottom: 1px solid #13849c;
  padding-bottom: 12px;
  margin-bottom: 0;
} */

.contact-info ul {
  margin: 0;
  padding: 0;
}

.contact-info ul li {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #fff;
}

.contact-info i.fa {
  font-size: 16px;
  padding-right: 12px;
  width: 25px;
  height: 38px;
}

.contact-info ul li span {
  font-weight: bold;
}

.contact-form input {
  width: 100%;
  height: 40px;
  background: #fff;
  font-size: 13px;
  color: #084a5c;
  font-family: 'Open Sans', sans-serif;
  padding: 12px;
  border: 0;
  margin-bottom: 12px;
}

.contact-form textarea {
  font-family: 'Open Sans', sans-serif;
  padding: 12px;
  width: 100%;
  height: 140px;
  border: 0;
  margin-bottom: 12px;
}

.info-detail {
  border-top: 1px solid #53cde5;
  padding-top: 15px;
}

.form {
  border-top: 1px solid #53cde5;
  padding-top: 15px;
  text-align: right;
}

.contact-form input.submit-btn {
  width: 180px;
  height: 50px;
  float: right;
  font-size: 24px;
  color: #fff;
  background: url(../img/btn-bg.jpg);
  background-repeat: no-repeat;
  padding: 0;
  font-family: 'BenchNine', sans-serif;
  font-weight: bold;
}

.contact-form {
  padding-right: 40px;
}

/*gmap*/

#map {
  height: 830px;
}

.map {
  position: relative;
  overflow: hidden;
}

.contact {
  position: absolute;
  width: 100%;
  /* height: 830px; */
  margin-top: 0px;
  left: 0;
  /* margin-top: -950px; */
  margin-top: -830px;
  background: rgba(0, 0, 0, 0.51);
}

.contact-caption {
  margin-top: 120px;
}

/*footer*/

.footer-para {
  margin: 0;
  padding: 0;
}

.footer p {
  font-size: 12px;
  color: #000;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  margin: 0;
  padding: 25px 0;
  text-align: center;
}

.footer a i.fa {
  font-size: 24px;
  color: #b1b1b1;
  padding: 22px 10px;
}

.footer a i.fa:hover {
  color: #42b3e5;
}

.carousel-inner {
  position: relative;
}

/*======================TODO css for circular icon in Our service =========================*/

.icon-bell:before {
  content: "\e900";
}

.icon-directions:before {
  content: "\e901";
}

.icon-helpdesk:before {
  content: "\e902";
}

.icon-note:before {
  content: "\e903";
}

.icon-unlock:before {
  content: "\e904";
}

.icon-clock:before {
  content: "\e905";
}

.icon-minus:before {
  content: "\e906";
}

.icon-plus:before {
  content: "\e907";
}

.icon-speech:before {
  content: "\e908";
}

.icon-calendar:before {
  content: "\e909";
}

.icon-globe:before {
  content: "\e90a";
}

.icon-home:before {
  content: "\e90b";
}

.icon-magnifier:before {
  content: "\e90c";
}

.icon-quotemarks:before {
  content: "\e90d";
}

.icon-check:before {
  content: "\e90e";
}

.icon-call:before {
  content: "\e90f";
}

.align-middle {
  align-items: center;
}

/* .row {
    max-width: 64rem;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    flex-flow: row wrap; } */

.row .row {
  margin-right: -0.625rem;
  margin-left: -0.625rem;
}

@media print, screen and (min-width: 40em) {
  .row .row {
    margin-right: -0.9375rem;
    margin-left: -0.9375rem;
  }
}

@media screen and (min-width: 64em) {
  .row .row {
    margin-right: -0.9375rem;
    margin-left: -0.9375rem;
  }
}

.row .row.collapse {
  margin-right: 0;
  margin-left: 0;
}

.row.expanded {
  max-width: none;
}

.row:not(.expanded) .row {
  max-width: none;
}

.row.collapse>.column, .row.collapse>.columns {
  padding-right: 0;
  padding-left: 0;
}

.row.is-collapse-child, .row.collapse>.column>.row, .row.collapse>.columns>.row {
  margin-right: 0;
  margin-left: 0;
}

.column, .columns {
  flex: 1 1 0px;
  padding-right: 0.625rem;
  padding-left: 0.625rem;
  min-width: initial;
}

@media print, screen and (min-width: 40em) {
  .column, .columns {
    padding-right: 0.9375rem;
    padding-left: 0.9375rem;
  }
}

/**
  M1
  Marquee
  **/

.module__marquee {
  padding-top: 0;
  background: #fff;
  padding-left: 150px;
}

.module__marquee #hero {
  margin-bottom: 3.125rem;
  background: #757575;
  position: relative;
  z-index: 0;
}

.module__marquee #hero .owl-slide {
  position: relative;
  background-size: cover !important;
  background-position: center center !important;
}

.module__marquee #hero .owl-slide:before {
  content: "";
  display: block;
  position: relative;
  width: 100%;
  padding-top: 100%;
}

@media print, screen and (min-width: 40em) {
  .module__marquee #hero .owl-slide:before {
    content: "";
    display: block;
    position: relative;
    width: 100%;
    padding-top: 51.04167%;
  }
}

@media screen and (min-width: 64em) {
  .module__marquee #hero .owl-slide {
    max-height: 870px;
  }
}

.module__marquee #hero .owl-slide:after {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 45%;
  content: "";
  display: block;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#7db9e8+0,000000+100&0+0,1+100 */
  background: -moz-linear-gradient(top, rgba(125, 185, 232, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(125, 185, 232, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(125, 185, 232, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#007db9e8', endColorstr='#000000', GradientType=0);
  /* IE6-9 */
}

.module__marquee .icon__nav {
  text-align: center;
  width: 100%;
  position: relative;
  left: 25%;
  padding-bottom: 15px;
  font-family: 'Roboto';
}

@media print, screen and (min-width: 40em) {
  .module__marquee .icon__nav {
    left: auto;
    width: 140px;
    padding: 0;
  }
}

@media print, screen and (min-width: 40em) {
  .module__marquee .icon__nav .columns {
    padding-right: 0.9375rem;
    padding-left: 0.9375rem;
  }
}

.module__marquee .icon__nav .icon__image {
  position: relative;
}

@media print, screen and (min-width: 40em) {
  .module__marquee .icon__nav .icon__image:after {
    content: "";
    display: block;
    position: absolute;
    right: -9%;
    top: 15%;
    height: 70%;
    width: 1px;
    border-right: 1px solid #ecebe6;
  }
}

.module__marquee .icon__nav .icon__image .icon {
  width: 90px;
  height: 90px;
  background: #000;
  border-radius: 50px;
  font-size: 2.5rem;
  color: #fff;
  top: 50%;
  position: relative;
  padding-top: 15px;
}

.module__marquee .icon__nav .icon__image .icon.icon-directions {
  background: #63619a;
}

.module__marquee .icon__nav .icon__image .icon.icon-bell {
  background: #e51937;
}

.module__marquee .icon__nav .icon__image .icon.icon-clock {
  background: #74c8ba;
}

.module__marquee .icon__nav .icon__image .icon.icon-note {
  background: #f4911e;
}

.module__marquee .icon__nav .icon__image .icon.icon-helpdesk {
  background: #37939b;
}

.module__marquee .icon__nav .icon__image .icon.icon-unlock {
  background: #7cc244;
}

.module__marquee .icon__nav .icon__image .icon:before {
  position: absolute;
  top: 50%;
  left: 51%;
  transform: translate(-50%, -50%);
}

.module__marquee .icon__nav:hover .icon {
  transform: scale(1.2, 1.2);
}

.module__marquee .icon__nav .icon {
  transition: all .3s ease;
  max-width: 90px;
}

.module__marquee .icon__nav .icon:after {
  content: "";
  display: block;
  position: absolute;
  border-right: 1px solid #ecebe6;
}

.module__marquee .icon__nav .icon__text {
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 15px 15px;
  color: #514d4e;
}

@media print, screen and (min-width: 40em) {
  .module__marquee .icon__nav .icon__text {
    padding: 15px 32px;
  }
}

.module__marquee .icon__nav:last-child :after {
  display: none;
}


/*======================css for carousel=========================*/

.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}

.-capsel-fade .carousel-inner .active {
  opacity: 1;
}

.carousel-fade .carousel-inner .active.left, .carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}

.carousel-fade .carousel-inner .next.left, .carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

.carousel-fade .carousel-control {
  z-index: 2;
  opacity: 1;
  background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, 0) 100%);
}

@media all and (transform-3d), (-webkit-transform-3d) {
  .carousel-fade .carousel-inner>.item.next, .carousel-fade .carousel-inner>.item.active.right {
    opacity: 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  .carousel-fade .carousel-inner>.item.prev, .carousel-fade .carousel-inner>.item.active.left {
    opacity: 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  .carousel-fade .carousel-inner>.item.next.left, .carousel-fade .carousel-inner>.item.prev.right, .carousel-fade .carousel-inner>.item.active {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

/* just for demo purpose */

html, body, .carousel, .carousel-inner, .carousel-inner .item {
  height: 100%;
}

/******************************
responsive area
********************************/

/* md */

@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-default .navbar-nav>li>a {
    font-size: 20px;
    padding: 14px 12px;
  }
  .carousel-caption h1 {
    font-size: 120px;
  }
  .carousel-caption p {
    font-size: 32px;
  }
  .carousel-caption button {
    width: 215px;
    height: 55px;
    font-size: 26px;
  }
  h2 {
    font-size: 75px !important;
  }
  h4 {
    font-size: 22px !important;
  }
  .person-detail h3 {
    font-size: 26px;
  }
  .person-detail p {
    font-size: 12px;
  }
}

/* sm */

@media (min-width: 768px) and (max-width: 991px) {
  .testimg {
    width: 20%;
    float: left;
  }
  .testname {
    width: 80%;
    float: left;
  }
  .navbar-default .navbar-nav>li>a {
    font-size: 16px;
    padding: 10px 8px;
  }
  .carousel-caption h1 {
    font-size: 90px;
  }
  .carousel-caption p {
    font-size: 30px;
  }
  .carousel-caption button {
    width: 180px;
    height: 50px;
    background: #3a9ecb;
    color: #fff;
    font-size: 22px;
  }
  h2 {
    font-size: 70px !important;
  }
  h4 {
    font-size: 18px !important;
  }
  #map {
    height: 1050px;
  }
  .contact {
    margin-top: -1050px;
    height: 1050px;
  }
  .contact-caption {
    margin-top: 110px;
  }
}

@media(max-width:800px) {
  .agile_testimonials {
    padding: 4em 0 3em;
  }
}

/* xs */

@media(max-width:768px) {
  .agile_tesimonials_content p {
    font-size: 14px;
  }
}

@media(max-width:640px) {
  .w3l_header, .team .w3l_header, .agile_testimonials h3.head {
    font-size: 35px;
  }
  .agile_tesimonials_content h4 {
    font-size: 16px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .agile_tesimonials_content h4 {
    margin: 0em 0 0;
    font-size: 18px;
  }
  .header-logo img {
    margin-top: 20px;
  }
  .navbar-default .navbar-nav>li>a {
    font-size: 20px;
  }
  .carousel-caption {
    margin-top: -110px;
  }
  .carousel-caption h1 {
    font-size: 75px;
  }
  .carousel-caption p {
    font-size: 25px;
  }
  .carousel-caption button {
    width: 160px;
    height: 40px;
    font-size: 20px;
  }
  #map {
    height: 1120px;
  }
  .contact {
    height: 1120px;
    margin-top: -1120px;
  }
  h2 {
    font-size: 70px !important;
  }
  h4 {
    font-size: 21px !important;
  }
  .contact-info ul {
    margin-left: 4px;
  }
  .contact-info i.fa {
    width: 25px;
  }
  .contact-caption {
    margin-top: 140px;
  }
}

/* XS Portrait */

@media (max-width: 479px) {
  .agileits_team_grid {
    width: 70%;
    margin: 0 auto;
    margin-bottom: 2em;
    float: none;
  }
  .top-header img.logo {
    /* margin: 20px 10px; */
    /* height: 70px; */
    /* width: 300px; */
  }
  .header-logo {
    margin-top: 20px !important;
  }
  .navbar-default .navbar-toggle {
    border-color: #fff;
    margin-top: -7px;
    right: 10%;
  }
  .navbar-default .navbar-nav>li>a {
    font-size: 16px;
    text-align: left;
  }
  .header-backup {
    height: 80px;
  }
  .carousel-caption {
    margin-top: -60px;
  }
  .carousel-caption h1 {
    font-size: 20px;
  }
  .carousel-caption p {
    font-size: 12px;
  }
  .carousel-caption button {
    width: 90px;
    height: 23px;
    font-size: 16px;
  }
  .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next {
    margin-top: 30px;
  }
  .carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev {
    margin-top: 30px;
  }
  .about h2 {
    font-size: 50px;
    color: #42b3e5;
    margin-top: 30px;
  }
  .service h2 {
    font-size: 50px;
    margin-top: 40px;
  }
  .team h2 {
    font-size: 50px;
    margin-top: 40px;
  }
  h4 {
    font-size: 18px !important;
  }
  .contact-caption {
    margin-top: 38%;
  }
  #map {
    height: 950px;
  }
  .contact {
    height: 950px;
    margin-top: -950px;
  }
  .contact-heading h2 {
    font-size: 50px;
    text-align: left;
    margin-left: 15px;
  }
  .contact-info h3 {
    margin-left: 8px;
    font-size: 25px;
    padding-bottom: 8px;
  }
  .info-detail {
    margin-left: 8px;
  }
  .contact-info ul li {
    font-size: 10px;
  }
  .contact-info i.fa {
    font-size: 13px;
    width: 20px;
    height: 18px;
  }
  .contact-info, .contact-form {
    padding: 10px;
  }
  .contact-form h3 {
    font-size: 25px;
    padding-bottom: 8px;
    margin-bottom: 0;
    margin-right: 0px;
  }
  .footer a i.fa {
    font-size: 18px;
    padding: 25px 7px;
  }
  .footer p {
    font-size: 10px;
  }
}

/* TODO */

@media(max-width:991px) {
  .testimg {
    width: 20%;
    float: left;
  }
  .testname {
    width: 80%;
    float: left;
  }
}

@media(max-width:800px) {
  .agile_testimonials {
    padding: 4em 0 3em;
  }
}

@media(max-width:768px) {
  .agile_tesimonials_content p {
    font-size: 14px;
  }
}

@media(max-width:767px) {
  .agile_tesimonials_content h4 {
    margin: 0em 0 0;
    font-size: 18px;
  }
}

@media(max-width:640px) {
  .w3l_header, .team .w3l_header, .agile_testimonials h3.head {
    font-size: 35px;
  }
  .agile_tesimonials_content h4 {
    font-size: 16px;
  }
}
