/*
Global
============================= */

body{
  font-family:'Open Sans', sans-serif;
  color:#666;
  font-size:16px;
  font-weight: 400;
    -webkit-font-smoothing: antialiased;
     font-smoothing: antialiased;
}

* {
     text-shadow: 0 1px 1px rgba(255,255,255,.3);
}

p{line-height: 24px}
a{color:#0088cc;}
a:hover{text-decoration: none;}

h1,h2,h3,h4,h5,h6{ font-family:'Open Sans', sans-serif}

h1{font-size:50px; font-weight: 200; color: #555; margin-bottom: 20px; line-height: 1.1em}
h2{font-size: 30px; font-weight: 300; color:#444; margin: 30px 0; line-height: 1}
h3{font-size: 20px; font-weight: 400; margin: 20px 0; line-height: 1}
h4{font-size:18px; font-weight: 400}

@media (max-width: 767px) {
  body {
      padding-right: 0px;
      padding-left: 0px;
  }
  .container {
      padding-right: 20px;
      padding-left: 20px;
  }
    .modal {
        position: absolute;
    }
    .modal input,
    .modal textarea {
      width: 95%;
    }
    .modal select,
    .modal .input-append {
      width: 99%;
    }
    .modal .input-append > input {
      width: 88% !important;
    }
  .landing-caption .btn {
    width: 80%;
  }
  .thumbnail > img {
    max-height: 950px !important;
  }
  a.btn-back {
    line-height: 2em;
  }
  .upload-box .btn {
    float: left;
    margin-bottom: 15px !important;
    width: 88%;
  }
}

/*
HEADER ROW STYLE
===========================*/
#header-row{
  background: #f5f5f5;
  border-bottom:1px solid #eee;
  padding: 15px 0;
}

#header-row .navbar{margin:10px 0 0 0;}

#header-row .navbar .navbar-inner{
  border:none;
  box-shadow: none;
  margin: 0;
  background: transparent;
}

#header-row .navbar .navbar-inner ul.nav > li > a{
  box-shadow: none;
  background: transparent;
  color: #0088cc;
}
#header-row .navbar .navbar-inner ul.nav li.active a{
  color: #333;
}

/*
Share buttons
===========================*/

#twitter-widget-0 {
    margin-bottom: -5px;
}

.fb-share-button {
  display: inline-block;
  min-width: 85px;
    position: relative;
  padding: 0 10px;
    line-height: 1.5;
}
.twitter-share-button {
  min-width: 78px;
}
/*
Carousel
===========================*/

#main-carousel .item {
  min-height: 500px;
}

.landing-control{
  background: transparent;
  width: 14px;
  height: 14px;
  font-size: 14px;
  top:50%;
}

.landing-control.right{right:-30px;}
.landing-control.left{left:-30px;}

.landing{
  background: url(../img/slide-bg.png) no-repeat bottom center;
  padding-bottom: 30px;
  margin-bottom: 20px
}

.landing img{
  max-width: 100%;
}

.landing-caption {
      background-color: transparent;
      position: relative;
      max-width: 100%;
      padding: 0 20px;
      margin-top:20%;

}

.landing-caption h1{
  font-size: 50px;
  text-transform: capitalize;
  margin-bottom: 30px;
  color:#555;
  font-weight:200;
}
.landing-caption .lead{
  color: #888;
  font-size: 18px;
  line-height: 24px;
  padding-bottom: 40px;
  margin-bottom: 0;
  font-weight: 400;
}
.landing-caption h1{
  line-height: 56px;
}
.landing-caption .btn {
  margin: 0 5px 30px 0;
  padding: 15px 21px;
}
.landing-caption .sup {
  margin-top: -20px;
}

.carousel-indicators {
    position: absolute;
    left: 0; right: 0;
    top: auto;
    bottom: 40px;
    z-index: 5;
    list-style: none;
    text-align: center;
}
.carousel-indicators li {
  float: none;
  display: inline-block;
    background-color: #aaa;
 }
.carousel-indicators .active {
    background-color: rgb(248, 80, 99);
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  margin: 0 auto;
}
.thumbnail > img {
  max-height: 95px;
}
/* block inputs with addons
==========================*/
.input-block-level > input {
  display: inline-block;
  width: 80px;
    width: calc(100% - 40px);
}
.input-block-level > .add-on {
  display: inline-block;
  width: 20px;
}
/*
Forms
================ */
form[action="/accounts/login/"] {
  margin-top: 50px;
}
textarea[name=message] {
  height: 150px;
}
.modal form {
  margin-bottom: 0;
}
th button {
  font-weight: bold;
}
.modal .input-append > input {
  width: 178px;
}
.margin-zero,
.margin-zero input,
.margin-zero select {
  margin: 0;
}
.file-list .plus {
  font-size: 60px;
  padding: 40px 60px;
}
.file-list .edit {
  font-size: 60px;
  padding: 40px 54px;
}
.alert-block {
    margin: 15px auto 0;
    max-width: 600px;
}

.upload-box {
  border-bottom: 1px solid #f5f5f5;
  margin-bottom: 20px;
}

.upload-box .btn {
  margin-bottom: 7px;
}
.upload-box .btn-success {
  margin-right: 7px;
}

.img-list .item {
  position:relative;
  text-align: center;
  margin: 0 10% 5% 0;
  min-height: 150px;
}

.img-list .item canvas {
  w-idth: 100%;
}

.img-list .zoom {
  display:none;
  background-image:url(../img/zoom_in.png);
  background-repeat:no-repeat;
  background-position:center;
  position:absolute;
  left:10px; top:0px;
  right:10px; bottom:40px;
}

a:hover .zoom {
  display:block;
}

.file-item {
  text-align: center;
  margin: 10px;
  min-height: 200px;
}

.file-item .edit,
.file-item .plus {
  text-align: center;
  margin-bottom: 5px;
}

.file-item img {
  max-height: 140px;
  margin: 5px;
}

.file-item b {
  color: #f33;
}

#files {
  min-height: 200px;
}
#dirlist {
  min-height: 350px;
}
#formlist {
  min-height: 300px;
}

/* info-block
================= */

.user-info label {
  font-weight: bold;
}
.nav-info > .title > a,
.nav-info > .title > a:hover {
  color: #555555;
  font-weight: bold;
  text-decoration: none;
  background-color: #eeeeee;
}
.nav-info > .text > a,
.nav-info > .text > a:focus,
.nav-info > .text > a:hover {
  color: #555555;
    cursor: text;
    background-color: #ffffff;
}
.nav-info .text label {
    cursor: text;
}
.nav-info .text label small {
  font-weight: normal;
}
.nav-info .text.lh1 label {
  line-height: 1;
}
.nav-info label {
  color: #555555;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: bold;
  display: inline-block;
  width: 48%;
  vertical-align: top;
}
.nav-info p {
  margin-bottom: 0;
  display: inline-block;
  width: 48%;
}
.nav-info p span {
  display: inline-block;
  width: 50%;
}

/* footer
============ */

.footer-share {
  margin-top: 40px;
}
/*
terms page
==================*/
.terms p {
  margin-bottom: 20px;
}

.auth-links {
  list-style: none;
  margin-left: 0;
}
.auth-links li {
  margin: 10px 0;
}
.auth-links li img {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  max-width: 98%;
}
.auth-links button {
  display: block;
  max-width: 100%;
  background: none;
  border: none;
  outline: none;
}
.auth-links button:focus {
  outline: none;
}
/* subscribe
==================*/

.subscribe-box form {
  margin-bottom: 40px;
}

.subscribe-box form .form-input {
  margin-bottom: 5px;
}

.subscribe-box .form-inline h3 {
  display: inline-block;
  margin: 20px 10px;
}

/* Divider
==================*/
.hr-divider{
  background: url(../img/slide-bg.png) no-repeat bottom center;
  height: 100px;
  margin-bottom: 50px;
  display: block;
  clear: both;
}

.hr-divider-top{
  background: url(../img/slide-bg2.png) no-repeat top center;
  margin-bottom: -100px;
  height: 100px;
  display: block;
  clear: both;
}

/*Feature
==========================*/
.feature-box{
  padding-top: 60px;
  text-align: center;
}
.cnt-title { text-align: center; margin-bottom: 50px;}
.cnt-title span {
  font-size: 24px;
  font-weight: 200;
}

.cnt-footer {text-align: center; }
/* Review
==========================*/
.review{
  margin: 80px 0;
}

/* Page Header
==========================*/

.page-header{
  border-bottom: 1px solid #f5f5f5;
}

td h3 {
  margin: 100px 0;
}

/* feed-nav
========================*/
.feed-header {
  margin: 20px 0 0;
  padding-bottom: 10px;
}
.feed-header h1 > span {
  margin-right: 50px;
  white-space: nowrap;
}
.feed-header h1 > small {
  float: right;
  white-space: nowrap;
  padding-top: 20px;
}
.feed-nav {
  margin: 10px 0 30px;
}
.feed-nav li > a > span {
  display: inline-block;
  vertical-align: top;
}
.feed-nav .over-ellip2 {
  overflow: hidden;
  max-width: 100px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed-nav .over-ellip2 {
  overflow: hidden;
  max-width: 300px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed-nav .dropdown-menu .over-ellip {
  width: 200px;
  max-width: 200px;
}
.feed-nav .over-fade {
  overflow: hidden;
  max-width: 100px;
  position: relative;
  white-space: nowrap;
}
.feed-nav .dropdown-menu .over-fade {
  max-width: 130px;
}
.feed-nav .over-fade:after{
  content:'';
  position: absolute;
  left: 100px;
  margin-left: -40px;
  width: 40px;
  height: 100%;
  top:0;
  background:linear-gradient(to right,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1));
}
.feed-nav .badge {
  margin-left: 5px;
  padding-bottom: 3px;
}
.table td.center {
  text-align: center;
}
table.results {
  margin-bottom: 40px;
}
table.results .r {
  text-align: right;
}
table.results .total {
  font-weight: bold;
}
table.results tr th {
  white-space: nowrap;
}
.table-districts tr th:not(:first-child) {
  text-align: right;
}
.table-districts tr td:not(:first-child) {
  text-align:right;
}

@media (max-width: 767px) {
  .feed-nav .badge {
    display: none;
  }
  .responsive-table {
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
  }
  .feed-header h1 > small {
    float: none;
    margin-bottom: 20px;
  }
}

.candidate-results h2 {
  margin: 15px 0;
}
.candidate-results .candidate-left img {
  width: 100px;
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
  margin-top: -20px;
}
.candidate-results .candidate-right h2 {
  text-align: right;
}
.candidate-results .candidate-right img {
  width: 100px;
  float: right;
  margin-left: 20px;
  margin-bottom: 10px;
  margin-top: -20px;
}
.progress-container {
  position: relative;
  overflow: visible;
}
.candidate-progress .progress {
  height:40px;
}
.progress-container-small {
  position: relative;
}
.progress-container-small:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 2px #ccc dashed;
  height: 100%;
}
.progress-container:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 2px #ccc dashed;
  height: 100%;
}
.progress-container:after {
  content: '50%';
  position: absolute;
  top: 45px;
  left: 0;
  width: 100%;
  text-align: center;
  text-shadow: 1px 0px 10px #888;
}
.candidate-progress .bar {
  font-size:20px;
  line-height:38px;
}
.progress .bar-right {
  float: right;
}
.blink_me {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

/*Media
========================*/

.media{
  margin-bottom:50px;
}

/*MAP
========================*/
#map-canvas{
  height: 400px;
  border: 15px solid #fff;
  box-shadow:0 0 0 1px #f5f5f5;
}


/*MAP
========================*/

.blog-post{
    border-bottom: 2px solid #f5f5f5;
    padding:0 0 50px;
    margin-bottom: 40px;
}


.blog-post p{
  margin: 20px 0;

}


.postmetadata{
  margin-bottom: 20px;
  padding: 5px 0;
}

.postmetadata ul{margin: 0; padding: 0}

.postmetadata ul li{
  display: inline-block;
  margin-right: 20px;
}

.postmetadata i{
  margin: 4px 5px 0 0;
}


/*Sidebar
========================*/

.side-bar{margin-bottom: 30px;}

.side-bar ul{margin: 0; padding: 0}
.side-bar ul li{list-style: none;}

.side-bar h3{margin-bottom: 10px}

.recent-post strong {display: block; margin-bottom: 5px; color: #888 }

.recent-post li{margin-bottom: 15px}

/*Tags
========================*/

.gray-row {
border-top:1px solid #eee;
border-bottom:1px solid #eee;
background: #f5f5f5;
padding-bottom: 80px;
margin:50px 0;
}

.partners {
  margin-bottom: 50px;
}
.partners img {
  margin-bottom: 50px;
}

.list-none {
list-style-type: none;
margin: 0;
}

.map-placeholder {
  height: 300px;
  background: url('../img/bg_map.png');
  background-repeat: repeat;
  background-position: 50% 0;
}
.map-placeholder h1 {
  color: #fff;
  font-weight: bold;
  text-shadow: 2px 1px 15px #333;
  margin-top: 100px;
}

/* Forms
========================*/

.help-inline {
  font-size: 14px
}

/*Footer
========================*/

footer{
border-top:1px solid #eee;
background: #f5f5f5;
padding: 30px 0 90px;
color: #ccc;
margin-top:40px;
}
footer a{
color: #ccc;
}
footer a:hover{
color: #888;
text-decoration: underline;
}
footer .social{
margin: 7px;
}

/* Responsive View
=================================*/

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {

 }

/* Landscape phones and down */
@media (max-width: 480px) {

}