html,
body {
    height: 100%;
    min-height: 100%;
    padding:0;
    margin: 0;
}

body {
    padding-top: 70px;
}

body.no-pad {
    padding: 0;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 0 15px 20px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.jumbotron {
    text-align: center;
}

.jumbotron.text-left {
    text-align: left;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.placeholder {
    background-color: #ba1a3d;
    color: #fff;
}

#logo {
    margin-top: 10px;
    margin-bottom: 10px;
}

.navbar-default {
    background-color: #fff;
    border-top: none;
}

.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:hover, 
.navbar-default .navbar-nav > .active > a:focus {
    background-color: #fff;
}

.navbar-brand {
    padding: 5px 15px 0;
}

.page-header, .page-header > h1 {
    margin-top: 0;
}

#footer {
    background: none repeat scroll 0 0 #f0f0f0;
    border-top: 2px solid #e5e5e5;
    padding-top: 3em;
    margin-top: 10px;
}

#footer form input[type="text"], #footer form input[type="email"], #footer form input[type="password"], #footer form select, #footer form textarea {
    background: none repeat scroll 0 0 #f7f7f7;
}

.btn-bounce {
    animation-name: bounce;
    -webkit-animation-name: bounce;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}
@keyframes bounce {
    0%, 20%, 60%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-4px);
        transform: translateY(-4px);
    }
    80% {
        -webkit-transform: translateY(-2px);
        transform: translateY(-2px);
    }
}

@media (min-width: 768px) {
    .navbar .navbar-nav {
        display: inline-block;
        float: none;
        vertical-align: top;
    }

    .navbar .navbar-collapse {
        text-align: center;
    }
}

@media (max-width: 767px){
    body {
        overflow-x: hidden;
    }
	
	.nav li {
		position: relative;
		display: block;
		float: none;
		text-align: left;
	}

    .wrap > .container {
        padding-top: 0;
    }

    .container > .navbar-header {
        margin: 0;
    }

    .navbar-default > .container {
        padding: 0;
    }
}

.update-panel h4.panel-title {
    display: inline-block;
}

@media (max-width: 480px) {
    .btn {
        white-space: normal;
    }
}

/* Dynamicly turn tables into lists in mobile */
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    display: block;
}

.table > thead {
    display: none;
}

.table > tbody > tr {
    border-bottom: 15px solid transparent;
}

@media (max-width: 767px) {
    .table-responsive > .table > thead > tr > th, 
    .table-responsive > .table > tbody > tr > th, 
    .table-responsive > .table > tfoot > tr > th, 
    .table-responsive > .table > thead > tr > td, 
    .table-responsive > .table > tbody > tr > td, 
    .table-responsive > .table > tfoot > tr > td {
        white-space: normal;
    }

    .kv-table-wrap tr > td:first-child {
        border-top: 1px solid #ddd;
        font-size: 1.5em;
        margin-top: 10px;
    }

    .table-bordered > thead > tr > th,
    .table-bordered > tbody > tr > th,
    .table-bordered > tfoot > tr > th,
    .table-bordered > thead > tr > td,
    .table-bordered > tbody > tr > td,
    .table-bordered > tfoot > tr > td {
        border-left: none; 
        border-right: none;
    }

    .navbar {
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    .table > thead {
        display: table-header-group;
    }

    .table > thead > tr > th,
    .table > tbody > tr > th,
    .table > tfoot > tr > th,
    .table > thead > tr > td,
    .table > tbody > tr > td,
    .table > tfoot > tr > td {
        display: table-cell;
    }
    
    .table > thead > tr > th {
        display: table-cell;
    }

    .table > tbody > tr {
        border-bottom: 0px;
    }
}

.table-no-mobile-collapse > thead {
    display: table-header-group;
}

.table-no-mobile-collapse > thead > tr > th,
.table-no-mobile-collapse > tbody > tr > th,
.table-no-mobile-collapse > tfoot > tr > th,
.table-no-mobile-collapse > thead > tr > td,
.table-no-mobile-collapse > tbody > tr > td,
.table-no-mobile-collapse > tfoot > tr > td {
    display: table-cell;
}

.table-no-mobile-collapse > thead > tr > th {
    display: table-cell;
}

.table-no-mobile-collapse > tbody > tr {
    border-bottom: 0px;
}
/* End table stuff */

.map-content-wrapper {
    height: 100%;
}

.map-content-wrapper #header > .navbar {
    margin: 0;
}

#map-frame {
    width: 100%;
    min-height: 400px;
    height: 100%; 
}

@media (max-height: 480px) {
    #map-frame {
        min-height: 0px;
    }
}

/* Activation processing */
#processing-spinner {
    height: 300px;
    width: 100%;
}

.loader {
  position: relative;
  margin: auto;
  left: 0;
  right: 0;
  top: 50%;
  width: 90px;
}
.loader ul {
  margin: 0;
  list-style: none;
  width: 90px;
  position: relative;
  padding: 0;
  height: 10px;
}
.loader ul li {
  position: absolute;
  width: 2px;
  height: 0;
  background-color: #000;
  bottom: 0;
}
@keyframes sequence1 {
  0% {
    height: 10px;
  }
  50% {
    height: 50px;
  }
  100% {
    height: 10px;
  }
}
@keyframes sequence2 {
  0% {
    height: 20px;
  }
  50% {
    height: 65px;
  }
  100% {
    height: 20px;
  }
}
.loader li:nth-child(1) {
  left: 0;
  animation: sequence1 1s ease infinite 0;
}
.loader li:nth-child(2) {
  left: 15px;
  animation: sequence2 1s ease infinite 0.1s;
}
.loader li:nth-child(3) {
  left: 30px;
  animation: sequence1 1s ease-in-out infinite 0.2s;
}
.loader li:nth-child(4) {
  left: 45px;
  animation: sequence2 1s ease-in infinite 0.3s;
}
.loader li:nth-child(5) {
  left: 60px;
  animation: sequence1 1s ease-in-out infinite 0.4s;
}
.loader li:nth-child(6) {
  left: 75px;
  animation: sequence2 1s ease infinite 0.5s;
}

@keyframes sequence1-small {
  0% {
    height: 4px;
  }
  50% {
    height: 12px;
  }
  100% {
    height: 4px;
  }
}
@keyframes sequence2-small {
  0% {
    height: 8px;
  }
  50% {
    height: 20px;
  }
  100% {
    height: 8px;
  }
}
.loader.small li:nth-child(1) {
  left: 0;
  animation: sequence1-small 1s ease infinite 0;
}
.loader.small li:nth-child(2) {
  left: 15px;
  animation: sequence2-small 1s ease infinite 0.1s;
}
.loader.small li:nth-child(3) {
  left: 30px;
  animation: sequence1-small 1s ease-in-out infinite 0.2s;
}
.loader.small li:nth-child(4) {
  left: 45px;
  animation: sequence2-small 1s ease-in infinite 0.3s;
}
.loader.small li:nth-child(5) {
  left: 60px;
  animation: sequence1-small 1s ease-in-out infinite 0.4s;
}
.loader.small li:nth-child(6) {
  left: 75px;
  animation: sequence2-small 1s ease infinite 0.5s;
}

.loader.text-left {
    margin: 0;
}

.device-assignment-loader {
    top: 30px;
}

#toggle-header {
    position: absolute;
    left: 50%;
    margin-top: -1px;
    margin-left: -48px;
    border-radius: 0px 0px 3px 3px;
    border-top: 0px;
    width: 96px;
}

.btn-xl, .btn-group-xl > .btn {
    border-radius: 12px;
    font-size: 36px;
    line-height: 2;
    padding: 10px 48px;
}

footer.footer {
    color: rgba(255, 255, 255, 0.7);
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    padding: 50px 0 20px;
}

footer.footer a {
    color: rgba(255, 255, 255, 0.7);
}

footer.footer a:hover {
    color: white;
}

footer.footer p {
    font-size: 22px;
}

@media (min-width: 1025px) {
    footer.footer {
        background-attachment: fixed;
    }
}

footer.footer .social {
    margin-bottom: 75px;
}

footer.footer .copyright p.small {
    font-size: 14px;
}

footer.footer input,
footer.footer textarea {
    background-color: rgba(255,255,255,0.7) !important;
}

#content-wrapper {
    margin-bottom: 20px;
}
.mailForm {
    width: 45%;
    margin-right: 5%;
    display: inline-block;
    vertical-align: top;
}
.amazonForm {
    width: 49%;
    display: inline-block;
    vertical-align: top;
}
.dropdown-menu > li > ul {
    padding-left: 20px;
}
.dropdown-menu > li > ul > li {
    display: block;
}
.dropdown-menu > li > ul > li a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}
.flr{
    float: right;
}
.fll{
    float: left;
}
.table > tbody > tr.active > td{
    background-color: #e1e8fb;
}
#galesburgroutes-days label{
    display: inline-flex;
    margin-right: 5px;
    cursor: pointer;
}

#galesburgroutes-days input[type="checkbox"]{
    margin-right: 2px;
    cursor: pointer;
}