@font-face {
  font-family: "MisoRegular";
  font-style: normal;
  font-weight: normal;
  src: url("../fonts/miso-regular-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/miso-regular-webfont.woff") format("woff"), url("../fonts/miso-regular-webfont.ttf") format("truetype"), url("../fonts/miso-regular-webfont.svg#MisoRegular") format("svg");
}

@font-face {
  font-family: "MisoBold";
  font-style: normal;
  font-weight: normal;
  src: url("../fonts/miso-bold-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/miso-bold-webfont.woff") format("woff"), url("../fonts/miso-bold-webfont.ttf") format("truetype"), url("../fonts/miso-bold-webfont.svg#MisoBold") format("svg");
}

.spinner {
  margin: 100px auto;
  width: 32px;
  height: 32px;
  position: relative;
}

.cube1, .cube2 {
  background-color: #333;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 0;
  left: 0;
  
  -webkit-animation: cubemove 1.8s infinite ease-in-out;
  animation: cubemove 1.8s infinite ease-in-out;
}

.cube2 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

@-webkit-keyframes cubemove {
  25% { -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5) }
  50% { -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg) }
  75% { -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5) }
  100% { -webkit-transform: rotate(-360deg) }
}

@keyframes cubemove {
  25% { 
    transform: translateX(42px) rotate(-90deg) scale(0.5);
    -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
  } 50% { 
    transform: translateX(42px) translateY(42px) rotate(-179deg);
    -webkit-transform: translateX(42px) translateY(42px) rotate(-179deg);
  } 50.1% { 
    transform: translateX(42px) translateY(42px) rotate(-180deg);
    -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
  } 75% { 
    transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
    -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
  } 100% { 
    transform: rotate(-360deg);
    -webkit-transform: rotate(-360deg);
  }
}

html {
  font-size: 92.5%;
}

body {
  padding-top: 0px;
  padding-bottom: 20px;
  background-color: #f0f0f0;
  font-family: 'MisoRegular', sans-serif;
  font-size: 1.32em;
}

.form-control {
  font-size: 1.0em;
}

.container {
  width: 100%;

}

strong {
  font-family: 'MisoBold';
}

.btn {
   display: inline-block;

  /*padding: 5px 12px;*/
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 4px;
  transition: all 0.3s ease-out;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 2px 2px rgba(0,0,0,0.3),
    0 0 4px 1px rgba(0,0,0,0.2);

  /* Font styles */
  text-decoration: none;
  text-shadow: 0 1px rgba(25,25,25,0.7);
}


#app .container:first-of-type {
  padding: 0;
}

/* Everything but the slidewrapper gets side spacing for mobile first views */
.header,
.marketing,
.footer {
  padding-right: 15px;
  padding-left: 15px;
}

/* Custom page header */
.header {
  border-bottom: 1px solid #e5e5e5;

}
/* Make the masthead heading the same height as the navigation */
.header h3 {
  padding-bottom: 19px;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 40px;
}

/* Custom page footer */
.footer {
  padding-top: 19px;
  color: #777;
  border-top: 1px solid #e5e5e5;
}

/* Customize container */
@media (min-width: 768px) {
  .container {
    max-width: 1000px;
  }
}
.container-narrow > hr {
  margin: 30px 0;
}

/* Main marketing message and sign up button */
.slidewrapper {
  border-radius: 0 !important;
  -moz-border-radius: 0;
  border: 0;
  -webkit-border-radius: 0;
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
  padding: 0;

}
.slidewrapper .btn {
  padding: 14px 24px;
  font-size: 21px;
}

.carousel-control.left,
.carousel-control.right {
  background:transparent !important;

}

/* Supporting marketing content */
.marketing {
  margin: 40px 0;
  margin-top: 0;
  margin-bottom: 0;
}
.marketing p + h4 {
  margin-top: 28px;
}


#header {
  height: 81px;
}

.logotype {
  font-family: 'MisoBold', sans-serif;
  line-height: 81px;
  color: #A7A7A7;
  padding: 0 18px;
  width: 150px;
  height: 81px;
  background: transparent url(../img/eps.jpg) center center no-repeat;
  background-size: 80%;
  outline: none !important;
  text-decoration: none;
  text-align: center;
  font-size: 0;
  color: rgba(0,0,0,0);
}

#header ul.nav.nav-pills {
margin:0;
padding:0;
}

#header ul.nav.nav-pills > li {
  line-height: 81px;
  margin:0;
  padding:0;
  height: 81px;
  letter-spacing: 1px;
  outline: none !important;
  text-transform: uppercase;
  border-radius: 0 !important;

}
#header ul.nav.nav-pills > li > a{
  outline: none !important;
  text-decoration: none;
  margin: 0;
  padding: 0 22px;
  display: block;
  color: #A7A7A7;
  border-radius: 0 !important;

}

#header > ul.nav.nav-pills > li.active {
color: #eeeeee
}

#header ul.nav.nav-pills > li.active > a{
    font-weight: normal;
    font-family: 'MisoBold';
    background-color: transparent;
    color: #ffffff;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
background: #979797; /* Old browsers */
background: -moz-linear-gradient(top,  #979797 0%, #747474 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#979797), color-stop(100%,#747474)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #979797 0%,#747474 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #979797 0%,#747474 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #979797 0%,#747474 100%); /* IE10+ */
background: linear-gradient(to bottom,  #979797 0%,#747474 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#979797', endColorstr='#747474',GradientType=0 ); /* IE6-9 */

}
/*body.index-page */
.slidewrapper {
  margin: 0 !Important;
  min-height: 383px;
  background: #D33034 url(../img/splash-bg.png) bottom center no-repeat;

}

h1,h2,h3,h4,h5,h6 {
  font-family: 'MisoBold', sans-serif;
  color: #6B6B6B;
  font-weight: normal;
  text-transform: uppercase;
}

h4 {
  font-size: 1.4em;
}

h5 {
  font-size: 1.2em;
}

h6 {
  font-size: 1.0em;
}

.btn {
  font-size: inherit;
}

.padder {
  padding: 12px;
}
.padder.page {
  padding: 36px 36px 172px 36px;
}

h1 {
  margin: 0 0 18px 0;

  font-weight: 600;
  line-height: 130%;
  font-size: 2.3em;

}

h1 em {
  color: #FC6821;
  font-style: normal;
}

section {
  background-color: #F8F8F8;
  border-top: 1.0px solid #B2B2B2;
  padding: 36px 0;
}

#btn_appt {
  /*background: transparent url(../img/button-signup.png) center center no-repeat;
  background-size: cover;*/
  text-align: left;
  font-weight: 900;
  font-size: 1.4em;
  outline: none !important;
  line-height: 100%;
}
#btn_appt span {
  font-weight: 600;
  font-size: 0.9em;
}

/* image thumbnail */
.thumb {
    display: block;
	width: 100%;
	margin: 0;
}

/* Style to article Author */
.by-author {
	font-style: italic;
	line-height: 1.3;
	color: #aab6aa;
}

/* Main Article [Module]
-------------------------------------
* Featured Article Thumbnail
* have a image and a text title.
*/
.featured-article {
	width: 482px;
	height: 350px;
	position: relative;
	margin-bottom: 1em;
}

.featured-article .block-title {
	/* Position & Box Model */
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
	/* background */
	background: rgba(0,0,0,0.7);
	/* Width/Height */
	padding: .5em;
	width: 100%;
	/* Text color */
	color: #fff;
}

.featured-article .block-title h2 {
	margin: 0;
}

/* Featured Articles List [BS3]
--------------------------------------------
* show the last 3 articles post
*/

.main-list {
	padding-left: .5em;
}

.main-list .media {
	padding-bottom: 1.1em;
	border-bottom: 1px solid #e8e8e8;
}

#footer {
  background-color: #F1F1F1;
  font-family: 'MisoRegular', sans-serif;
  font-size: 15px;
  border-top: 1px solid #C7C7C7;

}

#footer p {
  line-height: 150%;
}


  #footer a {
    color: #6B6B6B;
    text-decoration: underline
  }
#footer a:hover {
  text-decoration: none
}



#footer .wrapper {
  padding: 0 18px;
}

#carousel-main .carousel-control.left > span,
#carousel-main .carousel-control.right > span
{
  margin-top: 160px;
}


/* carousel */
#quote-carousel
{
  padding: 0 10px 30px 10px;
  margin-top: 30px;
}



/* Control buttons  */
#quote-carousel .carousel-control
{
  background: none;
  color: #222;
  font-size: 2.3em;
  text-shadow: none;
  margin-top: 30px;
}
/* Previous button  */
#quote-carousel .carousel-control.left
{
  left: -12px;
}

/* Next button  */
#quote-carousel .carousel-control.right
{
  right: -12px !important;
}
/* Changes the position of the indicators */
#quote-carousel .carousel-indicators
{
  right: 50%;
  top: auto;
  bottom: 0px;
  margin-right: -19px;
}
/* Changes the color of the indicators */
#quote-carousel .carousel-indicators li
{
  background: #c0c0c0;
}
#quote-carousel .carousel-indicators .active
{
  background: #333333;
}
#quote-carousel img
{
  width: 250px;
  height: 100px
}
/* End carousel */

.item blockquote {
    border-left: none;
    margin: 0;
}

.item blockquote img {
    margin-bottom: 10px;
}

.item blockquote p:before {
    content: "";
    font-family: 'Fontawesome';
    float: left;
    margin-right: 10px;
}


@media (max-width: 480px) {
  #header {
    height: auto;
    margin: 0;
    padding: 0;
  }

  #header ul.nav.nav-pills {
    background-color: #cccccc;
    width: 100%;
    display: block;
    margin: 18px 0;
    padding: 0;


  }


  #header ul.nav.nav-pills > li {
    border-bottom: 1.0px solid #dddddd;
    display: block;
    clear: left;
    height: 48px;
    width: 100%;
    line-height: 48px;

  }

  #header ul.nav.nav-pills > li > a{
    outline: none !important;
    text-decoration: none;
    margin: 0;
    padding: 0 22px;
    display: block;
    color: #777777;

  }


  #header ul.nav.nav-pills > li:hover {
    background-color: #D33034
  }

#header ul.nav.nav-pills > li:hover  a {
  background-color: transparent;
  color: #ffffff
}



}

.row {

}

.row.feature-row {
  margin-left: 0;
  margin-right: 0;
  padding: 90px 0;
  border-bottom: 1.0px solid #f4f4f4;
}
.row.feature-row:last-of-type {
  border-bottom:0;

}

.feature-icon {
  font-size:128px;
  color:#428BCA;
  
    text-shadow: 0 1px 0 #ccc,
               0 2px 0 #c9c9c9,
               0 3px 0 #bbb,
               0 4px 0 #b9b9b9,
               0 5px 0 #aaa,
               0 6px 1px rgba(0,0,0,.1),
               0 0 5px rgba(0,0,0,.1),
               0 1px 3px rgba(0,0,0,.3),
               0 3px 5px rgba(0,0,0,.2),
               0 5px 10px rgba(0,0,0,.20),
               0 10px 10px rgba(0,0,0,.2),
               0 20px 20px rgba(0,0,0,.10);
}


.row.feature-row img {
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;  
  -o-border-radius: 6px;
  box-shadow: 0 4px 2px -2px rgba(0,0,0,0.3);
}

.row.feature-row h3 {
  margin-top: 0;
  font-size: 1.9em;
  color: #D73939;

}

 
.row.feature-row p {
  font-size: 1.3em;
  color: #888888;
  line-height: 1.4em;
}
.row.feature-row p.lead {
  font-size: 1.5em;
  color: #111111;
}

/**
  MEDIA QUERIES
*/

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    #quote-carousel
    {
      margin-bottom: 0;
      padding: 0 40px 30px 40px;
    }
    #app {
      background-color: #ffffff;
      margin: 36px auto;
      width: 1000px;
      display: block;
      padding: 0;
      border: 1px solid #dddddd;
      box-shadow: 0 0 5px 2px rgba(200,200,200,0.25);
    }
    #mainPanel {
      position:absolute;z-index:50
    }

    #testimonials {
      padding-top: 100px;
    }

    .navbar-collapse {
      padding-left: 0;
      padding-right: 0;
    }



}

/* Small devices (tablets, up to 768px) */
@media (max-width: 768px) {


    /* Make the indicators larger for easier clicking with fingers/thumb on mobile */

    #quote-carousel .carousel-indicators {
        bottom: -20px !important;
    }
    #quote-carousel .carousel-indicators li {
        display: inline-block;
        margin: 0px 5px;
        width: 15px;
        height: 15px;
    }
    #quote-carousel .carousel-indicators li.active {
        margin: 0px 5px;
        width: 20px;
        height: 20px;
    }
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .header,
  .marketing,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }
  /* Space out the masthead */
  .header {
    margin-bottom: 0px;
  }
  /* Remove the bottom border on the slidewrapper for visual effect */
  .slidewrapper {
    border-bottom: 0;
  }

  #footer {
    min-height: 112px;
    color: #676767;
  }


}
