/*!
 * Simple Blog Template
 * Copyright 2016 Seunghun Lee (https://github.com/earlbread/simple-blog-template)
 * Licensed under MIT (https://github.com/earlbread/simple-blog-template/blob/master/LICENSE)
 */

body {
    padding-top: 70px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
}

footer {
    margin: 50px 0;
}

@media (min-width: 1200px) {
  .container {
    width: 750px;
  }
}

/* navigation */
nav {
    text-transform: uppercase;
}

.navbar-inverse .navbar-brand {
    color: white;
    font-weight: bold;
    font-size: 25px;
}

.navbar-inverse .navbar-nav>li>a {
    color: white;
}

/* Posts */
.post-title {
    font-size: 3em;
}

.post-title a {
    color: inherit;
    text-decoration: none;
}

.btn {
    border-radius: 0;
}

.pager li>a {
    color: inherit;
    border-radius: 0;
    border: 0;
    padding: 0.9em 1.4em;
}

/* Login, Sign up, New post */
.login,
.signup {
    margin-top: 20px;
}

.login h1,
.signup h1,
.newpost h1 {
    margin-bottom: 20px;
    text-align: center;
}

.login .form-control,
.signup .form-control,
.newpost .form-control {
    border-radius: 0;
}

.login button,
.signup button {
    margin-top: 20px;
    margin-bottom: 10px;
    width: 100%;
}

.form-group label {
    font-weight: normal;
}

.newpost textarea {
    max-width: 100%;
}

/* Nick Added*/

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*For Responsive Gallery/Grid*/

.row_grid {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
  }
  
  /* Create four equal columns that sits next to each other */
  .column_grid {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
  }
  
  .column_grid img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
  }
  
  /* Responsive layout - makes a two column-layout instead of four columns */
  @media screen and (max-width: 800px) {
    .column_grid {
      flex: 50%;
      max-width: 50%;
    }
  }
  
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .column_grid {
      flex: 100%;
      max-width: 100%;
    }
  }

