/* CSS crunched with Crunch - http://crunchapp.net/ */
/* CSS crunched with Crunch - http://crunchapp.net/ */
.show-tablet {
  display: none;
}
@media only screen and (min-device-width: 320px) and (max-device-width: 1024px) {
  #frontbench .bench-pos {
    width: 12.5%;
  }
  #frontbench .bench-pos:nth-child( 17 ) {
    margin-left: 12.5%;
  }
  .position-select.sorting:after {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    line-height: 100%;
    z-index: 10000;
    font-size: 20px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.7);
    content: 'Please wait... sorting politicians';
  }
  .party-select-options .party-filter:first-child {
    display: none !important;
  }
  .hidden-tablet {
    display: none !important;
  }
  .show-tablet {
    display: block;
  }
  .not-available {
    width: 100%;
    line-height: 1.6;
    text-align: center;
    color: #666;
    margin-top: 150px;
  }
  #prompt {
    display: none !important;
  }
  .create-frontbench {
    display: block !important;
  }
  
  .ge2015 {
    /*margin-top: 10px;*/
    margin-right: 0 !important;
  }
}
@media only screen and (min-device-width: 320px) and (max-device-width: 700px) {
  #app-header {
    text-align: center;
    z-index: 200;
  }
  #app-header i {
    display: none;
  }
  #app-header a.brand {
    pointer-events: none;
    width: 100%;
    border: none;
  }
  #app-header a.brand img {
    margin-top: 10px;
  }
  ul.parties {
    position: absolute;
    top: 50px;
    left: 0;
    margin: 0 !important;
    background: #e4e6e5;
    width: 100%;
  }
  ul.parties li {
    margin: 0 !important;
  }
  ul.parties li span {
    margin: 0 !important;
  }
  ul.parties .name {
    display: none !important;
  }
  #frontbench {
    width: 100%;
    height: 300px;
    overflow-y: scroll;
    overflow-x: hidden;
    margin-top: 30px;
  }
  #frontbench .bench-pos {
    width: 100%;
    margin: 0 0 5px !important;
    height: 55px;
    line-height: 30px;
    border-bottom: 2px solid #fff;
  }
  #frontbench .bench-pos .more-info {
    bottom: 11px !important;
  }
  #frontbench .bench-pos .inner {
    height: 55px;
  }
  #frontbench .bench-pos .inner img {
    height: 45px !important;
    width: auto !important;
  }
  #frontbench .bench-pos .inner .candidate-name {
    font-size: 12px !important;
  }
  #frontbench .bench-pos .inner .position-name {
    display: block;
    font-size: 12px !important;
    clear: none !important;
    margin-top: -10px;
  }
  #frontbench .bench-pos .voting-score {
    bottom: -8px;
    padding-top: 0;
    font-weight: bold;
    line-height: 55px;
  }
  #frontbench .bench-pos[data-id] .inner {
    padding-left: 35px;
  }
  #frontbench .bench-pos[data-id] a.remove {
    display: block;
    top: 5px;
    left: 5px;
    width: 30px;
    font-size: 18px;
    line-height: 55px;
    text-align: center;
    z-index: 10;
    height: 55px;
    -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
  }
  #frontbench .bench-pos .enqueue {
    bottom: 0;
    line-height: 55px;
    height: 55px;
  }
  p.not-available {
    margin-top: 20px;
  }
  .save-row {
    margin-bottom: 20px;
  }
  .save-row .btn {
    width: 100%;
    margin-bottom: 10px;
    display: inline-block;
    float: none !important;
  }
  #short-instruction-popup,
  #generate-popup {
    max-width: 100%;
  }
  #candidate-vcard {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: 0;
    width: 100%;
    z-index: 500;
  }
  .cabinet-pos-desc {
    top: 20px;
    left: 5%;
    width: 90%;
    margin: 0 !important;
    z-index: 500;
    position: absolute;
  }
    .cabinet-pos-desc h3 {
      font-size: 20px;
      margin-top: 0;
    }
  #loading {
    z-index: 201;
  }
  #loading .inner {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    left: 0;
  }
  #uni-val-none,
  #uni-val-all,
  #leaning-val-none {
    margin-top: 10px;
  }
  #filter-uni-none,
  #filter-uni-all {
    margin-top: 8px;
  }
  .close-card {
    width: 25px !important;
    height: 25px !important;
    font-size: 15px !important;
  }
  .section-title {
    display: none;
  }
  
  #save-prompt,
  #share-modal {
    max-width: 100%;
    left: auto;
    margin-left: 0;
  }
  
  .white-popup {
    max-width: 100% !important;
  }
  
  #generate-popup a[onclick="$.magnificPopup.close();"],
  #generate-popup a[onclick="$('a[href=#instructions-popup]').trigger('click')"] {
    margin-bottom: 10px;
  }
  
  .slider-cont {
    width: 100% !important;
  }
  
  .ge2015 {
    height: auto !important;
    text-align: center;
  }
  
  .ge2015 span.title {
    display: block;
    width: 100%;
    text-align: center;
  }
  
  .ge2015 a {
    width: 95%;
    margin-top: 5px;
  }
}