/*********************
* Media query mixins *
*********************/
/* Downloaded from: https://fonts.googleapis.com/css?family=Montserrat:400,600,700,900&subset=cyrillic,cyrillic-ext,latin-ext */
@import "downloads/fonts.googleapis.com-Montserrat.css";
body {
  margin-top: 70px;
  padding-bottom: 40px;
  font-size: 14pt;
}

section.content {
  padding-top: 20px;
  padding-bottom: 30px;
}

footer {
  z-index: 2000;
  position: fixed;
  bottom: 0px;
  width: 100%;
  display: block;
  background: #000;
  font-size: 9pt;
  font-family: "Montserrat";
  height: 40px;
  padding: 15px;
  color: #fff;
}
footer a {
  color: #fff;
}

.navbar {
  background-color: #000;
  height: 70px;
  padding-right: 50px;
}
.navbar .btn, .navbar button {
  color: #fff;
  font-size: 25px;
}
.navbar .navbar-brand {
  margin: 0px;
  padding: 0px;
  color: #fff;
}
.navbar .navbar-brand img {
  max-height: 70px;
}
.navbar .nav > .li, .navbar .navbar .nav > li > a:hover, .navbar .navbar-nav li > a {
  color: #fff;
  font-family: "Montserrat";
  font-size: 18px;
  font-weight: 300;
  line-height: 25px;
  margin-top: 10px;
  margin-left: 20px;
}
.navbar .navbar-nav li a:hover, .navbar .navbar-nav li a:active, .navbar .navbar-nav li a:focus {
  background-color: #000;
}
.navbar .dropdown-menu > li > a:focus, .navbar .dropdown-menu > li > a:hover {
  background-image: none;
  background-color: #fff;
  border-bottom: 2px solid #503087;
}
.navbar .dropdown-menu {
  background-color: #fff;
}
.navbar .dropdown-menu li > a, .navbar .dropdown-menu li a {
  background-color: #fff;
  border-bottom: 2px solid #fff;
  color: #000;
  margin-left: 0;
}

@media (min-width: 1200px) {
  .subpolity-list-menu {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    width: 400%;
  }
}
.nav .subpolity-list-nav, .row .subpolity-list-nav {
  list-style: none;
  padding-left: 0px;
}
.nav .subpolity-list-nav li, .row .subpolity-list-nav li {
  text-indent: 20px;
  line-height: 40px;
}
.nav .subpolity-list-nav li a, .row .subpolity-list-nav li a {
  display: block;
  text-decoration: none;
  color: #000;
  font-family: "Montserrat";
  font-size: 18px;
}
.nav .subpolity-list-nav li a i, .nav .subpolity-list-nav li a svg, .row .subpolity-list-nav li a i, .row .subpolity-list-nav li a svg {
  color: #503087;
  margin-right: 7px;
}
.nav .subpolity-list-nav li a:hover, .nav .subpolity-list-nav li a:active, .nav .subpolity-list-nav li a:focus, .row .subpolity-list-nav li a:hover, .row .subpolity-list-nav li a:active, .row .subpolity-list-nav li a:focus {
  text-decoration: none;
  color: #000;
  background: #ddd;
}

.btn {
  margin-bottom: 3px;
  font-family: "Montserrat";
}

.btn-default {
  background: none;
  background-image: none;
  background-color: #eee;
}

.btn-primary {
  background-image: none;
  background-color: #663dad;
}

.hero {
  margin: -20px;
  margin-top: 0px;
  left: 0px;
  right: 0px;
  max-height: 550px;
  height: 70vh;
  display: flex;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  flex-flow: column;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
}
.hero .actions {
  position: absolute;
  top: 15px;
  right: 20px;
}
.hero h1 {
  color: #fff;
  font-size: 60px;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 16px;
}
.hero h2 {
  margin-bottom: 60px;
  font-size: 36px;
  color: #fff;
  text-align: center;
  vertical-align: baseline;
}

.lesser-hero {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  display: flex;
  flex-flow: row;
  max-height: 430px;
  padding: 70px 88px 0px 0px;
  overflow-y: hidden;
  background-color: #eee;
  margin: -20px;
  margin-top: 20px;
}
.lesser-hero .left {
  background-repeat: no-repeat;
  background-position: bottom;
  max-width: 570px;
  width: 100%;
  height: auto;
  margin-bottom: 0px;
}
.lesser-hero .right {
  padding-left: 120px;
  display: flex;
  flex-flow: column;
}
.lesser-hero .right h1 {
  font-size: 48px;
}
.lesser-hero .right h2 {
  font-size: 24px;
}

.toolbar {
  border-bottom: 2px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 10px;
  display: flex;
  flex-flow: row;
  align-items: center;
  width: 100%;
}
.toolbar-small {
  border-bottom: none;
  padding-bottom: 0px;
}
.toolbar form {
  display: inline-block;
}
.toolbar h1, .toolbar h2 {
  color: #000;
  flex: 0 0 60%;
}
.toolbar .tools {
  justify-content: flex-end;
  align-content: flex-start;
}

#wrapper {
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#sidebar-wrapper {
  z-index: 1000;
  position: fixed;
  left: 290px;
  width: 0;
  height: 100%;
  margin-left: -290px;
  overflow-y: auto;
  background: #eee;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#wrapper.toggled #sidebar-wrapper {
  width: 290px;
}

.sidebar-nav {
  position: absolute;
  top: 0;
  width: 290px;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav {
  position: relative;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.sidebar-nav .dropdown-menu {
  width: 290px;
}

.sidebar-nav .dropdown-menu li {
  text-indent: 0px;
  border-bottom: 1px solid #eee;
}

.sidebar-nav .dropdown-menu li > a {
  white-space: normal;
  padding-left: 10px;
}

.sidebar-nav li {
  text-indent: 10px;
  line-height: 40px;
}

.sidebar-nav li a {
  display: block;
  text-decoration: none;
  color: #000;
  font-family: "Montserrat";
  font-size: 18px;
}
.sidebar-nav li a i, .sidebar-nav li a svg {
  color: #503087;
  margin-right: 7px;
}

.sidebar-nav li a:hover, .sidebar-nav li.active a {
  background: #ddd;
}

.sidebar-nav li a:active, .sidebar-nav li a:focus {
  background: #ddd;
}

.sidebar-nav li > span.label {
  margin-left: 10px;
}

.navbar-toggle {
  float: left;
  margin-left: 12px;
  margin-right: 6px;
}

@media (max-width: 767px) {
  #sidebar-wrapper {
    box-shadow: 1px 0px 4px #ccc;
  }
}
@media (min-width: 768px) {
  #wrapper {
    padding-left: 310px;
  }

  #wrapper.toggled {
    padding-left: 290px;
  }

  #sidebar-wrapper {
    width: 290px;
  }

  #wrapper.toggled #sidebar-wrapper {
    width: 290px;
  }
}
.list-item:first-of-type {
  margin-top: 25px;
  border-top: 1px solid #62388d;
}

.list-item {
  position: relative;
  display: block;
  min-height: 120px;
  padding: 16px;
  margin-bottom: 15px;
  border-bottom: 1px solid #62388d;
}

.list-item-agreement h3 {
  margin-top: 0px;
  padding-top: 0px;
}

.list-item-agreement .voteresults {
  bottom: 10px;
  margin-top: 10px;
}

.task-preview {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  max-width: 405px;
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  font-family: "Montserrat";
  margin-bottom: 20px;
}
.task-preview__link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.task-preview__title {
  min-height: 52px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 20px;
  font-weight: bold;
  color: #fff;
  background-color: #503087;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.task-preview__info-wrapper {
  flex-basis: 230px;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  padding: 30px 20px;
  text-align: left;
  border-left: 3px solid #eee;
  border-right: 3px solid #eee;
}
.task-preview__main-info {
  display: flex;
  flex-flow: column;
}
.task-preview__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0px 20px 0px 20px;
  font-size: 16px;
  background-color: #eee;
  color: #000;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

@media screen and (min-width: 768px) {
  .task-preview {
    width: 48%;
    margin-bottom: 40px;
  }
}
@media screen and (min-width: 1200px) {
  .task-preview {
    width: 30%;
    margin-right: 5%;
    margin-bottom: 24px;
    max-width: none;
  }
  .task-preview:nth-child(3n) {
    margin-right: 0;
  }
}
.task-list {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .task-list {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 40px 0px 0px;
    align-items: flex-start;
  }
}
@media screen and (min-width: 1200px) {
  .task-list {
    justify-content: flex-start;
    padding: 50px 0px 16px;
  }
}
.task-item {
  margin-bottom: 10px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.task-stats {
  margin-bottom: 15px;
}

.task-applications-list {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  font-family: "Montserrat";
  margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
  .task-application {
    width: 48%;
    margin-bottom: 40px;
  }
}
@media screen and (min-width: 1200px) {
  .task-application {
    width: 30%;
    margin-right: 5%;
    margin-bottom: 24px;
    max-width: none;
  }
  .task-application:nth-child(3n) {
    margin-right: 0;
  }
}
.task-application {
  background: #eee;
  padding: 15px;
  padding-top: 0px;
}
.task-application .user-application-bar {
  display: block;
  width: 100%;
  height: 10px;
  overflow: visible;
  white-space: nowrap;
  margin-bottom: 20px;
}
.task-application .user-application-bar__red {
  display: inline-block;
  background-color: #f00;
  height: 10px;
}
.task-application .user-application-bar__green {
  display: inline-block;
  background-color: #070;
  height: 10px;
}
.task-application .user-application-bar__yellow {
  display: inline-block;
  background-color: #ff0;
  height: 10px;
}

.task {
  width: 100%;
  display: flex;
  flex-flow: column;
  font-family: "Montserrat";
}
.task__info {
  display: flex;
  flex-flow: column;
  background-color: #fff;
}
.task__title {
  font-size: 24px;
  font-weight: bold;
}
.task__info-title {
  font-size: 18px;
  text-align: left;
  font-weight: bold;
  margin: 38px 0px 20px;
}
.task__request {
  position: relative;
  display: flex;
  flex-flow: column;
  padding: 10px 20px 10px;
  background-color: #eee;
}
.task__border:after {
  content: "";
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  margin: 10px auto 14px;
  background-color: #bbbbbb;
}
.task__border:before {
  content: "";
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  margin: 10px auto 14px;
  background-color: #bbbbbb;
}
.task__category-name {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 34px 0px 40px;
}
.task__category-name img {
  width: 20px;
  height: 20px;
  margin-right: 12px;
}
.task__request-title {
  font-size: 16px;
}
.task__line {
  display: flex;
  flex-wrap: wrap;
  text-align: left;
}
.task__needs-answer {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
}
.task__why-me {
  position: relative;
  display: flex;
  flex-flow: column;
  background-color: #eee;
  padding: 20px;
}
.task__why-me-title {
  margin: 52px 0px 26px;
  font-size: 18px;
  font-weight: bold;
}
.task__why-me-messages {
  margin-bottom: 20px;
}
.task__why-me-textarea {
  width: 100%;
  height: 250px;
  margin-bottom: 24px;
  padding: 14px 20px;
  font-size: 16px;
  color: #6f6f6f;
  border: 1px solid #6f6f6f;
  resize: none;
}
.task__why-me-button {
  display: block;
  margin: 0 auto;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .task__info {
    padding: 40px 44px;
  }
  .task__title {
    font-size: 32px;
    margin-bottom: 18px;
  }
  .task__info-title {
    font-size: 24px;
    margin: 46px 0px 34px;
  }
  .task__needs {
    padding: 0px 40px;
    background-color: #fff;
    line-height: 1.13;
  }
  .task__request {
    padding: 10px 46px;
  }
  .task__why-me {
    padding: 10px 46px;
    margin: 40px 0px 15px;
  }
  .task__why-me-title {
    margin: 26px 0 12px;
  }
  .task__tablet-margin {
    margin-bottom: 36px;
  }
  .task__why-me-textarea {
    height: 125px;
  }
  .task__why-me-button {
    margin-bottom: 26px;
  }
}
@media screen and (min-width: 1200px) {
  .task {
    flex-flow: row;
  }
  .task__info-title {
    margin-bottom: 30px;
  }
  .task__info {
    width: 50%;
    padding-left: 0px;
    padding-top: 0px;
    padding-right: 40px;
    padding-bottom: 52px;
  }
  .task__needs {
    width: 50%;
    padding: 0px;
  }
}
.profile {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: stretch;
  align-content: stretch;
}

@media screen and (min-width: 768px) {
  .profile {
    flex-direction: row;
  }
  .profile div h1 {
    font-size: 30px;
    color: #000;
  }
  .profile-picture {
    float: right;
    width: 40%;
    padding: 15px;
  }
  .profile-bio {
    width: 50%;
    text-align: justify;
  }
  .profile-thingsdone {
    width: 50%;
    padding-left: 20px;
  }
  .profile-candidacies {
    width: 100%;
  }
}
/* Global search field */
@media (max-width: 767px) {
  .piratepurple {
    background-color: #503087;
  }

  .navbar .nav > .li, .navbar .nav > li > a:hover, .navbar .nav > li > a {
    font-size: 20px;
    margin: 7px 0;
  }

  #polity-info {
    display: none;
  }
}
@media (max-width: 1024px) {
  footer {
    display: none;
  }
}
@media (min-width: 768px) {
  form.navbar-form {
    padding: 0px;
    max-width: 220px;
  }

  #polity-info-toggle {
    display: none;
  }

  .mobile-nav {
    display: none;
  }
}
.img-negpad {
  margin-top: -5px;
  margin-bottom: -5px;
}

/* For minimizing the width of elements while still not wrapping content */
.minimize {
  width: 1px;
  white-space: nowrap;
}

/* Dates that express whether they've passed or not */
.not-expired {
  color: #090;
}

.expired {
  color: #a00;
}

/* Colors for expressing whether an issue was accepted or rejected */
.accepted {
  color: #090;
}

.rejected {
  color: #a00;
}

.abstained {
  color: grey;
}

#ajax-status-messages {
  position: absolute;
  top: 55px;
  width: 100%;
}

#ajax-status-messages div {
  max-width: 400px;
  margin: 0 auto 0 auto;
}

/* Headers */
h1 {
  font-family: "Montserrat";
  font-size: 200%;
  font-weight: 700;
  color: #503087;
}

h2 {
  font-family: "Montserrat";
  font-size: 170%;
  font-weight: 500;
  color: #000;
}

h3 {
  font-family: "Montserrat";
  font-size: 150%;
  font-weight: 400;
  color: #000;
}

/* Links */
a {
  color: #503087;
}

a:hover {
  color: #5b379a;
}

ul.errorlist {
  margin-left: 4px;
  list-style: none;
  color: #f00;
}

div#submit-working {
  background: #bbb;
}

#content {
  visibility: hidden;
  height: 350px;
  margin-top: 2em;
  margin-bottom: 2em;
  border: 1px solid transparent;
  border-radius: 5px;
  -webkit-box-shadow: 3px 3px 13px rgba(50, 50, 50, 0.75);
  -moz-box-shadow: 3px 3px 13px rgba(50, 50, 50, 0.75);
  box-shadow: 3px 3px 13px rgba(50, 50, 50, 0.75);
}

.document {
  position: relative;
}

/* Date fields, typically in a table. */
.date {
  text-align: right !important;
  white-space: nowrap;
}

/* Container for cancel URL, for use with cancel-buttons. */
#cancel-url {
  display: none;
}

.dropdown-menu {
  cursor: pointer;
}

.nav-tabs > li.active > a {
  border-left-width: 2px;
  border-right-width: 2px;
  border-top-width: 2px;
}

/* Helpful color classes. */
.icon-grey {
  color: #c0d0c0;
}

/* Election-related stuff */
.candidates p {
  padding: 10px;
  border: 1px solid #ddd;
}

.candidates li {
  font-size: 15px;
  padding: 5px;
  border-top: 1px solid #ddd;
}

.candidates li div:hover {
  text-decoration: none;
}

#candidates {
  padding-left: 0;
}

#election_candidates ul {
  list-style-type: none;
}

/* Issue-related stuff */
.vote-yes {
  float: right;
}

.vote-image {
  height: 50px;
}

#votes {
  list-style-type: decimal;
  background: #fff;
}

#vote {
  padding-left: 7px;
}

#votes li {
  display: list-item;
}

.vote-tip {
  font-size: 15px;
  padding: 15px 5px;
  border-bottom: 1px solid #ccc;
}

/* Displaying of document contents, differences between them and such. */
#legal-text {
  overflow: overlay;
  margin-bottom: 10px;
  padding: 12px 24px 12px 24px;
  text-align: justify;
}

#legal-text h1 {
  font-weight: bold;
  margin: 4px 0 4px 4px;
}

#legal-text h2 {
  font-weight: bold;
  margin: 4px 0 4px 4px;
}

#legal-text ol {
  margin: 12px 0 0 24px;
}

#legal-text li {
  margin: 0 0 18px 0;
  padding: 0 0 0 0;
}

#legal-text-editor {
  font-family: Courier New;
  width: 100%;
  height: 400px;
}

#legal-text-editor-preview {
  width: 100%;
}

#legal-text-diff ins {
  background-color: #afa !important;
}

#legal-text-diff del {
  background-color: #faa !important;
}

.legal-text-container #siblings-container {
  float: right;
  padding: 0 0 0 12px;
  border-bottom: 1px solid #e0e0e0;
  border-left: 1px solid #e0e0e0;
  background: #f8f8f8;
}

.legal-text-container #siblings {
  margin: 0;
}

#diff-content {
  overflow: inherit;
  white-space: pre-wrap;
}

#propose-change .comments {
  width: 100%;
}

#propose-change .comments textarea {
  width: 100%;
}

/* Instructions. */
.instructions img.screenshot {
  display: block;
  max-width: 800px;
  margin-top: 48px;
  margin-bottom: 48px;
  border: 1px solid #a0a0a0;
}

.instructions p, .instructions ul {
  max-width: 800px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.instructions ul li {
  padding-bottom: 12px;
}

.instructions .instructions-nav p {
  margin: 0;
}

.instructions .instructions-nav label {
  float: left;
  clear: both;
  width: 100px;
  margin: 0;
  padding: 0;
}

/* Profile. */
.profile-document-data {
  margin-top: 12px;
}

.profile-document-data p.document {
  font-size: 18px;
  font-weight: bold;
}

.profile-document-data p.documentcontent {
  padding-left: 18px;
}

.profile-document-data p.documentcontent small {
  padding-left: 8px;
}

.profile .img-polaroid {
  float: right;
  margin-bottom: 16px;
  margin-left: 16px;
  border: 1px solid #606060;
}

.profile .tab-content {
  padding-top: 16px;
  text-align: justify;
}

/* Comment section. */
.comment {
  display: grid;
  overflow: overlay;
  margin: 2px;
  padding: 7px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #f7f7f7;
  grid-template-columns: 40px 1fr;
  grid-gap: 6px;
}

.comment:nth-child(even) {
  background: #eee;
}

.comment > .profilepic {
  display: inline-block;
}

.comment > .content {
  display: inline-block;
}

.comment > .content > .created_by {
  font-size: 9pt;
  font-weight: bold;
  display: block;
}

.comment > .content > .created {
  font-size: 8pt;
  font-style: italic;
  margin-top: 3px;
  color: #333;
}

.comment > .content > .text {
  display: inline;
}

.mb-2 {
  margin-bottom: 2em;
}

/*# sourceMappingURL=application.css.map */
