/* Space out content a bit */
body {
  padding-top: 20px;
  padding-bottom: 20px;
}

* {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.marketing,
.footer {
  padding-right: 15px;
  padding-left: 15px;
}

.container {
  position: relative;
}

.checkbox {
  margin: 0;
}

.page-header {
  padding-bottom: 9px;
  margin: 40px 0 20px;
  border-bottom: 1px solid #CBCBCB;
}

#contact-info.hide {
  display: none;
}

#contact-info.visible {
  display: table;
}

.jumbotron {
  -webkit-border-radius: 0!important;
  -moz-border-radius: 0!important;
  border-radius: 0!important;
}

input[type="text"], input[type="email"], textarea, select, .btn {
  -webkit-border-radius: 0!important;
  -moz-border-radius: 0!important;
  border-radius: 0!important;
  border: solid 1px #dfdfdf;
  box-shadow: none;
  font-size: 14px;
}

.checkbox {
  cursor: pointer;
}

.form-control[readonly] {
  background: #FFFFFF;
  font-size: 14px;
  cursor: pointer;
}

textarea {
  height: 250px!important;
  resize: none;
}

/* Custom page header */
.header {
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
  width: 100%;
  display: table;
  position: relative;
}

/* Space out the masthead */
.header {
  margin-bottom: 140px;
}

.header.sticky {
  margin-bottom: 80px;
}

.header .navbar{
  /*position: fixed;
  width: 100%;
  text-align: center;*/
  font-size:  20px;
  background: #f8f8f8;
  color: #fff;
}

.header .navbar .navbar-brand {
  height: auto;
  vertical-align: middle;
}

.header .navbar .logo img { 
  display: inline-block;
  width: 100px;
  float: left;
}
.header .navbar .logo .slogan {
  font-size: 28px;
  display: inline-block;
  width: 270px;
  position: relative;
  top: 30px;
  margin-left: 10px;
} 
.header .navbar .logo .small {
  font-size: 16px;
} 

.header.sticky .logo img {
  width: 40px;
}

.header.sticky .navbar .logo .slogan {
  font-size: 20px;
  top: 2px;
} 

nav .menu {
  padding: 40px 0;
}
.header.sticky nav .menu {
  padding: 10px 0;
}

.navbar-toggle {
  margin: 50px 15px 0 0;
  background: #FFF;
}

.header.sticky .navbar-toggle {
  margin: 20px 15px 0 0;
  background: #FFF;
}

.jumbotron h1 {
  font-size: 30px;
}

form.contact-form section {
  margin-bottom: 10px;
  width: 100%;
  display: table;
}
form.contact-form section .form-group {
  margin-bottom: 20px;
}

form.contact-form .help-block.with-errors {
  margin: 0;
  margin-top: 5px;
  font-size: 12px;
  text-align: right;
  bottom: -30px;
}

/* Make the masthead heading the same height as the navigation */
.header h3 {
  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: 730px;
  }
}
.container-narrow > hr {
  margin: 30px 0;
}

/* Supporting marketing content */
.marketing {
  margin: 40px 0;
}
.marketing p + h4 {
  margin-top: 28px;
}

/* 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;
  }
  /* Remove the bottom border on the jumbotron for visual effect */
  .jumbotron {
    border-bottom: 0;
  }
}


@media (max-width: 768px) {

  .header.sticky .navbar .logo .slogan {
    width: 260px;
  } 

  .header .navbar .logo .slogan {
    font-size: 20px;
    width: 260px;
  } 
  nav .menu {
    width: 100%;
    float: none!important;
    margin: 0!important;
  }

  .navbar-nav {
    margin: 0;
    background: #dfdfdf;
  }

  .caret {
    float: right;
    margin-top: 10px;
  }
}

