@import url(https://fonts.googleapis.com/css?family=Roboto);

body {
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

html {
    width: 100%;
    height: 100%;
}

@media(min-width:767px) {
    .navbar {
        padding: 10px 0;
        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
    }
    .nav {
    float: right;
    }

    .top-nav-collapse {
        padding: 0;
    }
    #election-page .navbar {
        padding: 0;
    }
}

.navbar-inverse .navbar-nav>li {
  text-align: center;
}

.navbar-inverse .navbar-brand {
    color: #F8C459;
}
.navbar-inverse .navbar-nav>li>a:hover {
    color: #638EC1;
}
.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover {
    color: #638EC1;
    background: #010005;
}
/* Demo Sections - You can use these as guides or delete them - the scroller will work with any sort of height, fixed, undefined, or percentage based.
The padding is very important to make sure the scrollspy picks up the right area when scrolled to. Adjust the margin and padding of sections and children 
of those sections to manage the look and feel of the site. */

.intro-section {
    height: 100%;
    min-height: 500px;
    padding-top: 100px;
    padding-bottom: 50px;
    text-align: center;
    background: #010005;
}

.intro-section img {
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
}

.intro-section .btn {
  margin-top: 20px;
  background-color: #658FBF;
}

p {
  padding: 5px 0;
}

#book .container {
  width: 80%;
  max-width: 800px;
}

.about-section {
    height: auto;
    padding: 50px 0;
    text-align: center;
    background: #010005;
    color: #dddddd;
}

#book img{
  float:left;
  width: 100%;
}

@media (max-width: 767px) {
  .col-sm-6 {
    clear: both;
    padding-top: 20px;
  }
}

.focus {
  background-color: #658FBF;
  color: black;
  padding: 20px;
}

.services-section {
    height: auto;
    padding: 50px 0;    
    text-align: center;
    background: #fff;
}

#author .container {
  text-align: left;
  width: 80%;
  max-width: 800px;
}

#author img{
  float:right;
  padding: 20px;
}
@media(max-width:575px) {
  #author img, #author h1 {
    float: none;
    margin: 10px auto;
    display: block;
    text-align: center;
  }

}

.contact-section {
    height: auto;
    padding: 50px 0;
    text-align: center;
    background: #eee;
}

#contact-area {
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
}

#contact-area input, #contact-area textarea {
  padding: 5px;
  width: 80%;
  font-size: 1.2em;
  margin: 0px 0px 10px 0px;
  border: 2px solid #ccc;
}

#contact-area textarea {
  height: 90px;
}

#contact-area textarea:focus, #contact-area input:focus {
  border: 2px solid #900;
}

#contact-area input.btn {
  width: 100px;
  float: right;
}

label {
  float: left;
  text-align: right;
  margin-right: 15px;
  width: 100px;
  padding-top: 5px;
  font-size: 1.2em;
}
table {
  max-width: 760px;
  border-collapse: collapse;
  margin: 70px auto;
}

td {
  border: 1px solid #999;
  padding: 0.5rem;
  text-align: left;
}

footer {
  bottom: 0;
  width: 100%;
  height: 50px;
  background-color: #222;
  color: #9d9d9d;
  position: relative;
}
footer p {
  text-align: center;
  margin: 0;
  width: 100px;
  position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}