/*General*/
body {
  color: #444444;
  font-weight: 300;
  font-family: 'Nunito', Helvetica, Arial, serif;
  font-size: 16px;
}

a {
  color: #3498db;
}

a:hover {
  color: #2980b9;
}

.cloud {
  background: #ecf0f1;
}

.content,
.disclosure,
.footer {
  padding-top: 5%;
  padding-bottom: 5%;
}

.center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#intro,
#vision-content {
  padding-top: 2.5%;
  padding-bottom: 2.5%;
}

small {
  font-size: 12px;
}

blockquote {
  border-color: #8cc63f;
  font-size: 16px;
}

h2 {
  margin-top: 0;
}

sup {
  font-size: 12px;
  font-weight: 300;
}

.btn {
  font-size: 18px;
  display: block;
  padding: 15px 30px;
  transition: background .3s ease-in-out;
}

.btn-default {
  border: none;
  background: #f2801d;
  color: #ffffff;
  box-shadow: 0 4px #CC6C19; 
}

.btn-default:hover {
  background: #CC6C19;
  color: #ffffff;
}

.btn-secondary {
  border: none;
  background: #8cc63f;
  color: #ffffff;
  box-shadow: 0 4px #69942F;
}

.btn-secondary:hover {
  background: #69942F;
  color: #ffffff;
}

.btn-third {
  border: none;
  background: #3498db;
  color: #ffffff;
  box-shadow: 0 4px #2980b9;
}

.btn-third:hover {
  background: #2980b9;
  color: #ffffff;
}

.green {
  color: #8cc63f;
}

.orange {
  color: #f2801d;
}

.bold {
  font-weight: 700;
}

.iframe-wrapper {
  position: relative;
  padding-bottom: 1000px;
  padding-top: 35px;
  height: 0;
}

.iframe-wrapper iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}


/*Navigation*/
.navbar-default {
  background: transparent;
  border: none;
  transition: .1s;
  padding-top: 20px;
}

.navbar {
  margin-bottom: 0;
}

.navbar-default .navbar-nav li a {
  font-weight: 400;
  color: #B1B9C1;
  transition: .35s;
  font-size: 16px;
}

.navbar-default .navbar-nav li.active a,
.navbar-default .navbar-nav li.active a:hover,
.navbar-default .navbar-nav li.active a:focus,
.navbar-default .navbar-nav li a:hover,
.navbar-default .navbar-nav li a:focus {
  color: #465058;
  background: none;
}

.navbar-brand {
  background: url('../images/DentalPassImages/dentalpass-logo.png') left center no-repeat;
  width: 169px;
  height: 75px;
  background-size: 100%;
  margin-left: 15px;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li>a:hover {
  background: #3498db;
  color: #ffffff;
}

.nav-tabs>li>a,
.nav-tabs>li.active>a:hover {
  background: #2980b9;
  border-radius: 0;
  color: #ffffff;
}

.navbar-default .navbar-toggle {
  margin-top: 23px;
  border-radius: 4px;
  background: #8cc63f;
  border: none;
}

.navbar-default .navbar-toggle .icon-bar {
  background: #f2801d;
}

.navbar-default .navbar-toggle:hover {
  background: #f2801d;
}

.navbar-default .navbar-toggle:hover .icon-bar {
  background: #8cc63f;
}

.sticky {
  background: #ecf0f1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 15px;
  padding-bottom: 15px;
  transition: .5s;
}


/*Hero*/
.hero h1{
  font-weight: 400;
  font-size: 32px;
  margin-top: 0;
}

.hero form {
  background: #8cc63f;
  padding: 10% 5%;
  border-radius: 0 4px 4px 4px;
}

.hero .nav-tabs {
  border-bottom: none;
}

.hero .nav-tabs>li.active>a {
  background: #8cc63f;
  border: none;
  border-radius: 4px 4px 0 0;
}

.hero .nav-tabs>li>a {
  background: #69942F;
  border: none;
  border-radius: 4px 4px 0 0;
  font-size: 18px;
}

.hero {
  background: 
    linear-gradient(
      rgba(0, 0, 0, 0.5), 
      rgba(0, 0, 0, 0.5)
    ),
    url(../images/DentalPassImages/slide-1.jpg) 50% no-repeat;
  background-size: cover;
  padding: 5% 0;
  min-height: 300px;
  color: #ffffff;
}

.secondary {
  background: 
    linear-gradient(
      rgba(0, 0, 0, 0.5), 
      rgba(0, 0, 0, 0.5)
    ),
    url(../images/DentalPassImages/hero-search.jpg) 50% no-repeat;
  min-height: 300px;
}


/*Content*/
i.fa-check {
  color: #8cc63f;
}

img[src*="dentalpass"] {
	box-shadow: 0 0 15px 2px rgba(0,0,0,.4);
	border-radius: 4%;
}

#steps h1,
#steps h2 {
  text-align: center;
}

#steps .row:last-child {
  padding-top: 2.5%;
}

#steps .fa-check {
  -webkit-animation: pulsate 1s ease-in-out;
  -webkit-animation-delay: 2s;
}

#steps .delay-3s {
  -webkit-animation-delay: 3s;
}

#steps .delay-4s {
  -webkit-animation-delay: 4s;
}

@-webkit-keyframes pulsate {
  0% {-webkit-transform: scale(1, 1);}
  50% {-webkit-transform: scale(2, 2);}
  100% {-webkit-transform: scale(1, 1);}
}

#help h2 {
  text-align: center;
}

#help .col-sm-6:first-child {
  border-bottom: 5px solid #8cc63f;
}

#extra {
  padding-top: 2.5%;
  padding-bottom: 2.5%;
  background: url(../images/DentalPassImages/maze-bg.jpg);
  color: #ffffff;
  text-align: center;
  box-shadow: inset 0 0 8px 1px rgba(0,0,0,.45);
}

#extra img {
  box-shadow: 0 3px 8px rgba(0,0,0,.6);
}

#extra h3 {
  text-shadow: 1px 1px 2px rgba(0,0,0,.6);
  margin-bottom: 0;
}

#extra p {
  margin-top: 15px;
}

#extra .fa-check {
  color: #ffffff;
}

.vision-btns .btn {
  min-width: 100px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.side-img img {
  display: inline-block;
  max-width: 50px;
}

#exclusions p {
  margin: 0;
}

#exclusions {
  margin-bottom: 2.5%;
}

#vision-cta-bottom .vision-btns .btn {
  font-weight: 300;
}

#vision-cta-bottom .vision-btns span {
  font-size: 24px;
  font-weight: 400;
}

@keyframes pulse {
  0% {transform: scale(1.0, 1.0);}
  50% {transform: scale(1.25, 1.25);}
  100% {transform: scale(1.0, 1.0);}
}

a[href="#vision-content"] {
  color: #f2801d;
  
}

a[href="#vision-content"] .fa-chevron-down {
  animation: pulse 1.25s ease-in-out infinite;
}

a[href="#vision-content"] span {
  display: block;
}

a[href="#vision-content"]:hover {
  text-decoration: none;
}


/*Vision Table*/
#vision-table .table-responsive {
  border: none;
}

#vision-table {
  margin-top: 2.5%;
}

#vision-table table {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

#vision-table table tr td {
  padding: 1%;
  white-space: nowrap;
}

#vision-table table thead tr td,
#vision-table table tbody tr td,
#vision-table table tfoot tr td {
  text-align: center;
}

#vision-table table thead tr td {
  background: #8ab600;
  color: #ffffff;
}

#vision-table table tbody tr td {
  border: #dddddd 1px solid;
  background: #ffffff;
}

#vision-table table tbody tr td:first-child,
#vision-table table tfoot tr td:first-child {
  text-align: left;
}

#vision-table table tfoot tr td {
  font-weight: 400;
  border: #dddddd 1px solid;
}

#vision-table table tfoot tr:last-child td {
  background: #325565;
  color: #ffffff;
  border: none;
  font-size: 24px;
}

#vision-table table tfoot tr:last-child td:last-child {
  position: relative;
}

#vision-table div.arrow-down {
  width: 0; 
  height: 0; 
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 15px solid #325565;
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: -13px;
  left: 50%;
  margin-left: -15px;
}

#vision-table p {
  padding-left: 20px;
}

#vision-table h4,
#vision-table p,
#vision-table ul {
  margin: 0;
}


/*Side Search Chart*/
#side-search-chart-wrapper {
  position: relative;
  height: 500px;
  padding-top: 100%;
  -webkit-overflow-scrolling: touch;
  overflow: scroll;
  background: #ffffff;
  margin-top: 15px;
}

#side-search-chart {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 5% 2%;
}

#side-search-chart h4,
#side-search-chart .result {
  margin: 5% 0;
}

#side-search-chart .result:not(:last-child) {
  border-bottom: 1px solid #dddddd;
}


/*Savings Chart*/
#savings-chart {
  text-align: center;
}

#savings-chart h2 {
  margin-top: 1%;
}

#savings-chart h4,
#savings-chart p,
#savings-chart h3 {
  margin: 0;
}

#savings-chart table tr td {
  vertical-align: middle;
  border-left: 1px solid #8cc63f;
  border-color: #8cc63f;
}


#savings-chart table tr:last-child td {
  border-bottom: 1px solid #8cc63f;
}

#savings-chart .table-responsive {
  border: none;
}

#savings-chart table tr:nth-child(2) td,
#savings-chart table tr:nth-child(3) td,
#savings-chart table tr:nth-child(4) td {
  background: rgba(140,198, 63, .8);
  border-right: 1px solid #ffffff;
  color: #ffffff;
}

#savings-chart table tr:nth-child(3) td,
#savings-chart table tr:nth-child(4) td {
  border-top: 1px solid #ffffff;
}

#savings-chart table tr:nth-child(2) td:nth-child(4),
#savings-chart table tr:nth-child(3) td:nth-child(4),
#savings-chart table tr:nth-child(4) td:nth-child(4) {
  background: rgba(242, 128, 29, .8);
}

#savings-chart table tr:nth-child(2) td:nth-child(5),
#savings-chart table tr:nth-child(3) td:nth-child(5),
#savings-chart table tr:nth-child(4) td:nth-child(5) {
  background: rgba(52, 152, 219, .8);
}

#savings-chart table tr td:last-child {
  border-right: 1px solid #8cc63f;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background-color: #eaeaea;
    border-radius: 10px;
    height: 5px;
}
::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}


/*Search Chart*/
#search-chart {
  padding-top: 2.5%;
  padding-bottom: 2.5%;
}

#search-chart .controls a,
#search-chart .controls span {
  margin-left: 5px;
  font-weight: bold;
  text-decoration: none;
}

#search-chart .controls {
  text-align: left;
}

#search-chart .row:nth-child(2) {
  margin-bottom: 3%;
}

#search-chart h4,
#search-chart p {
  margin: 1%;
}

#search-chart .btn {
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
}

#serach-chart table tr:nth-child(1) td,
#serach-chart table tr:nth-child(2) td,
#serach-chart table tr:nth-child(3) td,
#serach-chart table tr:nth-child(4) td,
#serach-chart table tr:nth-child(5) td {
  width: 300px !important;
}

#search-chart table a {
  text-decoration: underline;
  color: #8cc63f;
}

#search-chart table tr:first-child td {
  background: rgba(52, 152, 219, .8);
  color: #ffffff;
}

#search-chart table tr td {
  text-align: center;
  border-left: 1px solid #dddddd;
  vertical-align: middle;
  padding: .25% .25%;
}

#search-chart table tr td:last-child {
  border-right: 1px solid #dddddd;
}

#search-chart table tr:last-child td {
  border-bottom: 1px solid #dddddd;
}

#search-chart a.btn {
  margin-top: 5%;
  margin-bottom: 10%;
  padding: 5% 10%;
}


/*Modal*/
.search-modal {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0,0,0,.5);
  z-index: 2000;
  display: none;
}

.search-modal-inner {
  position: absolute;
  top: 30%;
  transform: translateY(-70%);
  width: 100%;
  background: #8cc63f;
  padding: 2.5% 1%;
  color: #ffffff;
  margin-left: auto;
  margin-right: auto;
}

.search-modal-inner .btn {
  width: 100%;
  margin-top: 2%;
}


/*Footer*/
.footer {
  background: #8cc63f;
  color: #ffffff;
}

.footer .nav li a, 
.footer a {
  color: #ffffff;
  font-weight: 400;
  font-size: 16px;
}

.footer .nav li a:hover,
.footer .nav li a:focus {
  background: none;
  text-decoration: underline;
}

#back-top {
  position: fixed;
  bottom: 25px;
  right: 15px;
  z-index: 5;
}

#back-top a {
  color: #f2801d;
}

#back-top a:hover {
  color: #CC6C19;
  text-decoration: none;
}

#back-top span {
  display: block;
  text-align: center;
}

@media(min-width: 600px) {
  .btn {
    display: inline-block;
    padding: padding: 15px 30px;
  }
  .search-modal-inner .btn {
    width: auto;
    margin-top: 2%;
    padding: 2% 4%;
  }
}


@media (min-width: 768px) {

  .search-modal-inner {
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
  }

  .navbar-header {
    float: none; 
  }
  
  .navbar-nav>li {
    float: none !important;
  }

  .navbar-right {
    float: none !important;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-fixed-top .navbar-collapse, 
  .navbar-static-top .navbar-collapse, 
  .navbar-fixed-bottom .navbar-collapse {
    padding-right: 15px;
    padding-left: 15px; 
  }

  .navbar-collapse.collapse {
    display: none !important; 
  }

  .navbar-collapse.collapse.in { 
    display: block!important; 
    margin-top: 0px; 
  }

  .hero {
    min-height: 500px;
  }

  .secondary {
    min-height: 400px;
  }

  .secondary h1 {
    margin-top: 5%;
  }

  .hero p {
    font-size: 20px;
  }

  #search-chart .controls {
    text-align: right;
  }

  #help .col-sm-6:first-child {
    border-right: 5px solid #8cc63f;
    border-bottom: none;
  }

  #side-search-chart-wrapper {
    padding-top: 50%;
  }
}

@media (min-width: 1199px) {
  .navbar-nav>li {
    display: block;
    float: left !important;
  }

  .navbar-right {
    float: right !important;
  }

  .navbar-default .navbar-nav {
    margin-top: 10px;
  }

  .navbar-header {
    float: left; 
  }

  .navbar-toggle {
    display: none; 
  }

  .hero img[src*="dentalpass"] {
    max-width: 300px;
  }

  .navbar-fixed-top .navbar-collapse, 
  .navbar-static-top .navbar-collapse, 
  .navbar-fixed-bottom .navbar-collapse {
    display: block !important; 
  }
}
