/* GLOBAL STYLES
-------------------------------------------------- */
@import url(https://fonts.googleapis.com/css?family=Cabin|Montserrat:400,700|Roboto:400,100,300,500,700,900);
/*font-family: 'Montserrat', sans-serif; font-family: 'Roboto', sans-serif; */
/* Padding below the footer and lighter body text */
body {
  padding-bottom: 40px;
  font-family: 'Montserrat', Arial, Tahoma, sans-serif;
  color: #000;
}
p {
  color: #666;
}
a {
  color: #ff7575;
}
a:focus, a:hover {
  color: #ff7575;
}
.r { color: #fb3454!important;}
.b {color: #30d4ff!important;}
.y {color: #ffd124!important;}
.bg-r { background-color: #fb3454!important;}
.bg-b { background-color: #30d4ff!important;}
.bg-y { background-color: #ffd124!important;}
.center{text-align: center;}

/*  NAVBAR
-------------------------------------------------- */
.dropdown:hover .dropdown-menu { /* dropdown on hover */
  display: block;
}
.navbar {
  background-color: #fff;
  webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
}
.navbar a {
  font-family: 'Montserrat', Arial, Tahoma, sans-serif;
  font-size: 16px;
  color: #b3b3b3;
}
a.navbar-brand{
  font-family: 'Cabin', sans-serif;
  font-size: 2em;
  color: #000;
  padding: 0;
}
.nav>li>a:focus, .nav>li>a:hover {
    background-color: transparent;
}
/* Active link */
.current a, .nav>li>a:hover {
   color: #000!important;
}

/* mobile nav */
.navbar-toggle .icon-bar {
  background-color: #86eead;
}
.navbar-nav>li>a:after{
  content: "";
  height: 4px;
  width: 100%;
  position: absolute;
  left: 0;
  top: auto;
  bottom: -4px;
  z-index: 203;
  opacity: 0;
  background: #000000;
  filter: alpha(opacity=0);
}
@media only screen and (max-width: 768px) {
  a.navbar-brand {
    font-size: 1.5em;
  }
}
@media only screen and (min-width: 768px) {
  .nav>li.current> a:after, .nav>li>a:focus:after, .nav>li>a:hover:after {
    opacity: 1;
  }
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
.carousel, .carousel .item {
  height: 500px;
}
.h1, h1 {
  font-size: 45px;
}
/* Button */
.btn {
  padding: 10px 20px;
  border-radius: 0;
  color: #fff;
  background-color: #000;
  border: none;
}
.btn-default:hover {
  color: #000;
  background-color: #fff;
  border-color: transparent;
}
.btn-primary {
  color: #000;
  background-color: transparent;
  border: 2px solid black;
  border-radius: 0;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary:target {
  color: #fff!important;
  background-color: black!important;
  border-color: black;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption, .carousel-caption p {
  color: #000;
  text-shadow: none;
  z-index: 10;
}
.carousel .item {
  background-color: #a3f1db;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 501px;
  background: url('../img/header.png');
  background-position: top center;
  background-color: #feeb9e;
}
.main-h {
  background-color: #fea0c2;
  }

/* CONTENT
-------------------------------------------------- */
/* Content Wrapper */
#content {
  width: 100%;
  min-height: 100vh;
  margin-bottom: 275px;
  background: white;
}
.info {
  margin: 60px auto;
}
.info .card {
  margin-bottom: 20px;
  text-align: center;
}
.info h2 {
  text-align: center;
  font-weight: normal;
  margin: 25px auto;
}
.info .col-sm-4 p {
  margin-right: 10px;
  margin-left: 10px;
}
.info .card {
  padding: 50px 0;
  color: #fff;
}
.info .col-sm-4 {
  margin-bottom: 20px;
  text-align: center;
}
.card {
  margin: 15% 0;
  color: #000;
}
.margin {
  margin: 60px auto;
  padding-right: 0!important;
  padding-left: 0!important;
}
.card:hover, .fbreaker h3:hover {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05);
  /*cursor: pointer;*/
}
.info a:focus, a:hover {
    text-decoration: none;
}
.info .card p {
  color: #fff;
  margin-bottom: 35px;
}
.pulse {
  -webkit-animation: cuePulse 2.2s infinite 1s ease;
  animation: cuePulse 2.2s infinite 1s ease;
  -webkit-transform: scale(0.5);
  -ms-transform: scale(0.5);
  transform: scale(0.5);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(255,255,255,0.6);
  height: 30px;
  position: absolute;
  width: 30px;
  border: 2px solid #52b1db;
  cursor: pointer;
  background-color: rgba(255,255,255,0.3);
}
.fbreaker {
  text-align: center;
  padding-top:  50px;
  padding-bottom: 50px;
  background-color: #a3f1db;
  background-image: url(images/home_kindergarten_calltoaction.jpg);
  background-repeat: no-repeat;
  background-position: center;
}
.fbreaker h3 {
  font-size: 35px;
  color: #000;
}
/* Content
------------------------- */
.office {
  padding-bottom: 5%;
}
.office img {
  width: 100%;
}
.featurette-divider {
  margin: 80px 0; /* Space out the Bootstrap <hr> more */
}
.tutors .featurette-divider {
  margin: 25px 0 50px;
}
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}

.left {
  text-align: left;
}
.left p {
  margin-left: 0!important;
}
#contact .left p {
    font-size: 20px;
}
.tutor-desc img {width: 100%;}
.tutor-profile img {
  max-width: 100%;
  height: auto;
}
.tutor-desc {
  text-align: center;
}
.tutor-desc h2 {
  margin: 25px auto 10px;
}
.tutor-desc h4 {
  text-align: center;
  margin-bottom: 5%;
}
/* Header
------------------------- */
#header.carousel, #header .item {
  height: 250px;
}
#header .carousel-inner > .item > img, {
  height: 251px;
}
/* Classes Tabs */
.tab-pane, .tab-pane img {
    height: 600px;
}
.h {
  height: 100%;
}
.desc {
  padding: 15% 10%;
  color: #fff;
}
.desc p {
  padding-top: 5%;
  color: rgba(255, 255, 255, 0.7);
}
.tab-pane .col-sm-6 {
  padding-right: 0;
  padding-left: 0;
}
.tab-pane img {
  width: 100%;
}
.nav>li>h5>a:focus, .nav>li>h5>a:hover {
  text-decoration: none;
}
.nav-tabs>li>h5 {
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
}
.nav>li>h5 {
    position: relative;
    display: block;
    padding: 10px 15px;
}
.active h5:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    border-bottom: 3px solid;
}
/* Price cards
*/
/* Style the list */
.price {
    list-style-type: none;
    padding: 0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

/* Add shadows on hover */
.price:hover {
    box-shadow: 0 8px 12px 0 rgba(0,0,0,0.2)
}

/* Pricing header */
.price .header, .price .cost {
    color: white;
    font-size: 25px;
}

/* List items */
.price li {
    border: 0;
    padding: 20px;
    text-align: center;
}

/* The "Sign Up" button */
.button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 25px;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
}
/* Google Maps
------------------------- */
iframe {
  padding-top: 3.7%;
  width: 100%;
  height: inherit;
  border: 0;
}
/* Footer
------------------------- */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px;
  z-index: -1;
}
.infowidget {
  padding:60px 0;
}
.infowidget h4 {
  letter-spacing: 5px;
}
.ft_header {
  font-weight: bold;
  margin-bottom: 2%;
}
.textwidget, footer a {
  color: #a7a7a7;
}
.textwidget a {
  text-decoration: underline;
}
footer .footer_copy {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  padding-top: 30px;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {
  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }

  /* Make cards equal */
  .card {
    height: auto;
    width: 100%;
  }
}

@media only screen
  and (min-device-width: 768px)
  and (max-device-width: 1024px) {
    .nav a {font-size: 12px;}
    .infowidget {padding: 4.5% 0;}
    .info .card p {width: 90%;}
    .card p {
      margin: 0 auto 35px;
      word-break: break-all;
      font-size: 0.9em;
    }
    .info .col-sm-4{
      padding-right: 5px;
      padding-left: 5px;
    }
    .featurette-divider {margin: 5% 0;}
    .featurette-heading {font-size: 45px;}
    .lead {font-size: 18px;}
    .tab-pane, .tab-pane img {
      height: 51vw;
    }
    .margin a {
      font-size: 14px;
    }
}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
}

@media only screen and (max-width: 767px) {
  .h1, h1 {
    font-size: 35px;
  }
  /* Header */
  .carousel, .carousel .item {
    height: 370px;
  }
  .carousel-inner > .item > img {
    background-position: right top;
  }
  #myCarousel .carousel-caption {
    right: 10%;
    left: 10%;
  }
  #myCarousel h1 {
    font-size: 25px;
  }
  #header h1 {
    font-size: 12vw;
  }
  #header.carousel, #header .carousel-inner > .item > img, #header .item {
    height: 195px;
  }
  .office {
    margin-left: -25px;
    margin-right: -25px;
  }
  .featurette-divider {
    margin: 20px 0;
  }
  .left {
    padding-bottom: 5%;
  }
  .row {
    margin-right: 0;
    margin-left: 0;
  }
  iframe {
    padding-top: 15%;
  }
  /* classes tab */
  .nav>li>h5 {
    padding: 5px;
    font-size: 2.4vw;
  }
  .desc {
    padding: 2% 10%;
  }
  .tab-pane, .tab-pane img {
    height: 100%;
  }
  /* Footer static */
  #content {
    margin-bottom: 0 !important;
  }
  footer {
    position: static;
  }
  .pull-right {
    display: none;
  }
  .footer_copy span {
    display: block;
  }
  footer .col-xs-12, footer .col-xs-6 {padding-right: 0; padding-left: 0;}
  .textwidget {font-size: 12px;}
  .infowidget {padding: 10% 0;}
  .f { margin-bottom: 5%;}
}

/* overrides */
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
  background-color: transparent;
  border: none;
  border-bottom-color: transparent;
}
.nav-tabs {
    border-bottom: none;
}
.nav-tabs>li>a:hover {
    border-color: transparent;
}
.nav-tabs > li, .nav-pills > li {
    float:none;
    display:inline-block;
    *display:inline; /* ie7 fix */
     zoom:1; /* hasLayout ie7 trigger */
}
.nav-tabs, .nav-pills {
    text-align:center;
}
#classes .nav {
    margin-bottom: 0.2%;
}

.navbar-brand>img {
    height: 100%;
    width: auto;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    border-top: none;
    padding: 20px;
    text-align: center;
    vertical-align: middle;
}

.table>tbody>tr>td {
    font-size: 18px;
}
