body, .section {
    background-color: #f3f1e5;
}
.parallax {
    height: 250px;
    margin-top: 78px;
    background-image: url(/assets/images/AllVotesCountHeaderBackground1.png);
    background-size: cover;
    margin-top: 74px;
    font-family: Roboto;
}
.parallax h1 {
    font-size: 25px;
    font-weight: bold;
    margin-top: 0px;
    line-height: 1.4;
    color: #FFF;
    text-align: center;
    font-family: Roboto;
}

.parallax h2 {
    font-size: 25px;
    color: #FFF;
    text-align: center;
}
.navbar .btn {
    margin: 18px 3px;
    font-size: 16px;
    font-weight: bold;
    margin-left: 30px;
}

.navbar .navbar-nav > li > a {
    padding: 10px 2px;
    margin: 20px 13px 0px;
}

.navbar .navbar-brand {
    margin: 9px 0px;
}

.card .title {
    margin: 10px 0 30px 0;
    color: #333333;
    font-weight: bold;
}
.card .footer {
    text-align: center;
}
.card .btn {
    width: 80%;
    margin: 25px auto;
}

.modal-close {
    position: absolute;
    right: 2px;
    border-radius: 50%;
    top: 2px;
}
.modal .values h1 {
    margin-bottom: 0px;
    font-size: 13pt;
    font-weight: normal;
}

.center {
    text-align: center;
}

.footer-big hr {
    margin-bottom: 10px;
    margin-top: 10px;
}
.space {
    height: 100px;
    display: block;
}
.quote {
    text-align: center;
    width: 80%;
    padding: 20px;
    border-radius: 15px;
    background-color: #EEE;
    font-style: italic;
    margin: 60px auto 0px;
    font-weight: bold;
    -webkit-box-shadow: 0px 2px 30px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 2px 30px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 2px 30px 0px rgba(0,0,0,0.25);
}
.quote span {
    font-style: normal;
    display: block;
    margin-top: 20px;
    font-weight: normal;
}


/*----------------------------
    The file upload form
-----------------------------*/


#drop {
    background-image: url(/assets/images/avatar.png);
    font-size: 16px;
    font-weight: bold;
    height: 172px;
    width: 172px;
    border-radius: 50%;
    margin: 0px auto;
    position: relative;
    margin-bottom: 70px;
}
#drop p {
    padding-top: 63px;
    color: #000;
    text-shadow: 1px 1px 1px #fff;
}

#drop a {
    position: absolute;
    bottom: -50px;
    width: 100%;
}

.file-label {
    width: 50%;
    margin: 0 auto;
}

#drop input{
    display: none;
}

#upload ul{
    list-style:none;
    margin: 0;
    position: absolute;
    top: -16px;
    left: -74px;
}

#upload ul li {
    position: relative;
}

#upload ul li input{
    display: none;
}

#upload ul li p{
    width: 144px;
    overflow: hidden;
    white-space: nowrap;
    color: #EEE;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 20px;
    left: 100px;
}

#upload ul li i{
    font-weight: normal;
    font-style:normal;
    color:#7f7f7f;
    display:block;
}

#upload ul li canvas{
    top: 15px;
    left: 32px;
    position: absolute;
}

#upload ul li span{
    width: 15px;
    height: 12px;
    background: url('../img/icons.png') no-repeat;
    position: absolute;
    top: 34px;
    right: 33px;
    cursor:pointer;
}

#upload ul li.working span{
    height: 172px;
    background-position: 0 -12px;
}

#upload ul li.error p{
    color:red;
}

/*----------------------------
    Other things
-----------------------------*/

.modal {
    margin: auto;
}

.photo {
    background-image: url(/assets/images/avatar.png);
    height: 172px;
    width: 172px;
    border-radius: 50%;
    margin: 15px auto;
    position: relative;
    border: 1px solid #CCC;
}
.card-user .author {
    margin-top: 0px;
}

.basic-li li {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.basic-li li strong {
   /* display: block; */
}

.anchor {
  display: block;
  height: 78px;
  margin-top: -78px;
  visibility: hidden;
}

.parallax .small-info {
    top: 22%;
}

img {
    max-width: 100%;
    height: auto;
}

/*----------------------------
    Values List
-----------------------------*/

.values {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0px;
}
.value {
    display: flex; 
    flex-direction: column;
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #CCC;
    margin: 0 20px 10px 20px;
    width: calc( 100% - 30px );
}
.values h1 {
    text-align: center;
    font-size: 16pt;
    margin-top: 0px;
    color: #000;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.5;
}
.values p {
  text-align: center;
}

/*----------------------------
    Timeline
-----------------------------*/

#timeline {
  position: relative;
  padding: 2em 0;
  margin-top: 2em;
  margin-bottom: 2em;
}
#timeline::before {
  /* this is the vertical line */
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  height: 100%;
  width: 4px;
  background: #374355;
}
.timeline-block {
  position: relative;
  margin: 2em 0;
}
.timeline-block:after {
    content: "";
    display: table;
    clear: both;
}
.timeline-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 67px;
    height: 66px;
}
.timeline-img img {
    display: block;
    width: 67px;
    height: 66px;
    position: relative;
    left: -18%;
    top: -6%;
    margin-left: 0px;
    margin-top: 2px;
}
.timeline-content {
    position: relative;
    margin-left: 60px;
    background: #fff;
    border-radius: 0.25em;
    padding: 1em;
    border-color: #CCC;
    border: 1px solid #CCC;
}
.timeline-content::before {
    content: '';
    position: absolute;
    top: 16px;
    right: 100%;
    height: 0;
    width: 0;
    border: 7px solid transparent;
    border-right: 7px solid #CCC;
}
.timeline-content .timeline-date {
    padding: .8em 0;
    opacity: .7;
    display: block;
    font-weight: bold;
    font-size: 16px;
}


/*----------------------------
    Blog
-----------------------------*/

.post {
    background-color: #CCCCCC;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.23);
    margin-bottom: 20px;
}

.post header {
    margin: -20px;
    padding: 5px 20px;
    background-color: #595959;
    margin-bottom: 40px;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
}

.post header h4 {
    margin-top: -10px;
    font-size: 14px;
}

.post header h2 {
    color: #F2F2F2;
    margin-top: 20px;
}
.post h2 a {
    color: #FFF;
    border-bottom: 2px dashed #FFF;
}

.text-muted {
    color: #BBB;
}

.board {
    border: 1px solid #999;
    background-color: rgba(0,0,0,.1);
    padding: 3px;
    border-radius: 3px;
}
.board.green {
    background-color: rgba(61,155,53,.3)
}
.board.ndp {
    background-color: rgba(243,111,33,.3);
}
.board.liberal {
    background-color: rgba(215,25,33,.3);
}
.board.conservative {
    background-color: rgba(12,73,156,.3);
}
.board.bloc {
    background-color: rgba(0,167,236,.3);
}
.board.none {
    background-color: rgba(0,0,0,.1);
}
.board.green .name:after {
    content: " - Green";
}
.board.ndp .name:after {
    content: " - NDP";
}
.board.liberal .name:after {
    content: " - Liberal";
}
.board.conservative .name:after {
    content: " - Conservative";
}
.board.bloc .name:after {
    content: " - Bloc Quebecois";
}
.board .role {
    display: block;
}
.panel-topic {
    font-weight: bold;
}
.panel-group .panel-heading+.panel-collapse>.list-group, .panel-group .panel-heading+.panel-collapse>.panel-body {
    border-top: none;
}
.panel.panel-default:last-child {
    border-bottom: none;
}
.top-panel {
    margin-bottom: 20px!important;
}


@media (min-width: 768px) {  

    .parallax {
        height: 440px;
    }
    .parallax h1 {
        font-size: 65px;
    }

    .parallax h2 {
        font-size: 36px;
    }
  .value {
    margin: 5px;
    width: calc( (100% / 2) - 12px);
  }
  #timeline {
      /* margin-top: 3em; */
      margin-bottom: 3em;
  }
  #timeline::before {
      left: 50%;
      margin-left: -2px;
  }
  .timeline-block:first-child {
      margin-top: 0;
  }
  .timeline-block {
      margin: 4em 0;
  }
  .timeline-block:nth-child(even) .timeline-content::before {
      top: 24px;
      left: auto;
      right: 100%;
      border-color: transparent;
      border-right-color: #CCC;
  }
  .timeline-block:after {
      content: "";
      display: table;
      clear: both;
  }
  .timeline-content {
      margin-left: 0;
      padding: 1.6em;
      width: 45%;
  }
  .timeline-content p {
    font-weight: bold;
  }
  .timeline-block:nth-child(even) .timeline-content {
      float: right;
  }
  .timeline-content::before {
      top: 24px;
      left: 100%;
      border-color: transparent;
      border-left-color: #CCC;
  }
  .timeline-content .timeline-date {
      position: absolute;
      width: 100%;
      left: 122%;
      top: 4px;
  }
  .timeline-block:nth-child(even) .timeline-content .timeline-date {
      left: auto;
      right: 122%;
      text-align: right;
  }
  .timeline-img {
      width: 67px;
      height: 66px;
      left: 50%;
      margin-left: -20px;
  }
}