html {
  position: relative;
  min-height: 100%;
}

/* Space out content a bit */
body {
  padding-top: 20px;
  padding-bottom: 20px;
  margin-bottom: 400px;
  font-family: 'Open Sans', sans-serif;
}

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

/* Custom page header */
.header {
  padding-bottom: 20px;
  border-bottom: 15px solid #00A6FA;
}

h1, h2, h3, h4 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  color: #00A6FA;
}

a {
  color: #00A6FA;
}

a:visited {
  text-decoration: none;
}

a:hover, a:focus {
  text-decoration: none;
  color: #333;
}

.label.label-ivangelho {
  background-color: #00A6FA;
}

a img:hover {
  opacity: 0.4;
  filter: alpha(opacity=40); /* For IE8 and earlier */
}

img.parceiros {
  margin: 15px 0px;
  width: auto;
  height: auto;
  max-height: 80px;
  max-width: 100%;
}

.lead {
  font-weight: normal;
}

/** External widgets fixes **/
.stButton .stFb, .stButton .stTwbutton, .stButton .stMainServices {
  height: 25px !important;
}

.stButton .stHBubble, .stButton .stButton_gradient {
  height: 22px !important;
}
/** End external widgets fixes **/

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

/* Custom page footer */
.newsletter {
  width: 100%;
  height: 160px;
  margin-bottom: 240px;
  padding: 10px 20px;
  position: absolute;
  bottom: 0px;
  color: #333;
}

.navbar-header .icon-bar {
  background-color: #333;	
}

/* Custom page footer */
.footer {

  background-color: #00A6FA;
  width: 100%;
  height: 240px;
  padding: 20px;
  position: absolute;
  bottom: 0px;
  color: #FFF;
  border-top: 1px solid #e5e5e5;
}
.video-link a:hover {
  background-color: rgba(0, 166, 250, 0.12);
}
.nav-tabs {
    margin-bottom: 15px;
}

.nav-tabs li a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  color: #00A6FA;
}

.nav-tabs li.active a, .nav-tabs li.active a:focus, .nav-tabs li.active a:hover {
  color: #333;
}

.footer a {
  color: #fff;
}

.footer a:hover {
  color: #333;
  text-decoration: none;
}

/* Customize container */
.container-narrow > hr {
  margin: 30px 0;
}

/* Main marketing message and sign up button */
.jumbotron {
  text-align: center;
  background-color: white;
  /*border-bottom: 1px solid #e5e5e5;*/
}
.jumbotron .btn {
  padding: 14px 24px;
  font-size: 21px;
}

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

/* 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: 30px;
  }
  /* Remove the bottom border on the jumbotron for visual effect */
  .jumbotron {
    border-bottom: 0;
  }
  .lead {
    font-size: 18px;
  }
  .form-horizontal .form-group-sm .control-label {
    padding-top: 6px;
    font-size: 12px;
  }
  .footer img{
    max-height:130px;
    height: 130px;
  }
  .footer p{
    margin-top: 25px;
    font-size: 14px;
  }
  .footer .social-links{
    font-size: 50px;
  }
}

@media screen and (max-width: 767px) {
  body {
    margin-bottom: 540px;
  }
  .footer {
    height: 300px;
  }
  .footer img{
    max-height:80px;
    height: 80px;
  }
  .footer p{
    margin-top: 8px;
    font-size: 0.8em;
  }
  .footer .social-links{
    font-size: 35px;
  }
  .license p {
    font-size: 10px;
  }
  .newsletter {
    height: 240px;
    margin-bottom: 300px;
  }
  .form-horizontal .form-group-sm .control-label {
    padding-top: 6px;
    font-size: 12px;
  }
  .form-horizontal .form-group {
  	margin-left: -5px;
  	margin-right: -5px;
  }
  .gcsc-branding-text .gcsc-branding-text-name {
    display: none;
  }
  .newsletter {
    font-size: 12px;
  }
}

@media screen and (max-width: 991px) {
  .navbar-brand {
  	padding: 15px 0px;
  }
  .navbar-brand img{
  	max-height:70px;
  	margin-top: -30px;
  	height: 70px;
  }
  .header,
  .marketing,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }
  .video-link img {
    max-height: 397px;	
  }
}

@media screen and (min-width: 992px) {
  .navbar-brand img{
  	max-height:100px;
  	margin-top: -40px;
  	height: 100px;
  }
  h1.header-no-margin, h2.header-no-margin, h3.header-no-margin, h4.header-no-margin {
    margin-top: 0px;
  }
  .video-link img {
    max-height: 247px;	
  }
}
@media screen and (min-width: 1200px) {
  .video-link img {
    max-height: 197px;
  }
}
.nav-pills {
  text-transform: uppercase;
  margin-top: 10px;
}

.nav-pills a {
  color: #333;
}

.nav-pills li.active a, .nav-pills li.active a:focus, .nav-pills li.active a:hover {
  background-color: #00A6FA;
}

.nav li a:hover, .nav li a:focus {
  background-color: rgba(0, 166, 250, 0.12); 
}
.license p {
  margin-top: 5px;
  font-size: 12px;
}
.panel-ivangelho {
    border-color: #00A6FA;
}
.panel-ivangelho>.panel-heading {
    color: #fff;
    background-color: #00A6FA;
    border-color: #00A6FA;
}