body {
    font-family: 'Roboto', sans-serif;
    background: #FBFCFF;
}

.navbar .navbar-inner {
    min-height: 40px;
}
.navbar .container .nav-content {
    margin-top: 0;
}

.navbar .collapse .nav > li > a {
    /*color: #005282;*/
    color: #1e3d77;
}

.joblist-header {
    white-space: nowrap;
    overflow:hidden;
}

.icon-down {
    content: url('../img/sort_down.png');
}

.icon-up {
    content: url('../img/sort_up.png');
}


.icon-sort {
    content: url('../img/sort.png');
}

#content {
    margin-right: -11px;
    margin-left: -11px;
    margin-bottom: 25px;
    margin-top: 100px;
    /*padding-top: 100px; /* = navbar height */
    padding-bottom: 5px;
    background: white;
    z-index: 3;
}
@media (min-width: 767px) {
    #content {
        padding: 10px;
        border-radius: 2px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    }
}
@media (max-width: 767px) {
    body {
        background: white;
    }
    #top-div {
        padding-left: 10px;
        padding-right: 10px;
    }
}

#place-select {
    margin-bottom: 10px;
}
.place-address {
    color: #888;
}
.has-place {
    display: none;
}

.control-field {
    font-size: 14px;
    line-height: 22px;
    padding-top: 4px;
    margin-bottom: 5px;
}
.formwidth { width: 640px}

.alignright { float: right; margin: 0 0px 20px 40px; }

.destination-popup .destination-label {
    font-size: 12px;
    font-weight: normal;
    color: #eee;
}

li.alert-success {
    background-color: #DFF0D8;
}

li.alert-error {
    background-color: #F2DEDE;
}

.alert-error .qq-upload-failed-text {
    display: inline;
}

.tab-content {
    overflow: visible; /* wtf sometimes invoicetodo tab pane shows scrollbar */
}


.filter-state-dropdown li  { padding: 5px; margin-left: 2px; margin-right: 2px }
.filter-state-dropdown li:not(:first-child) { border-top: 1px solid #ddd; }
.filter-state-dropdown li label { margin-bottom: 0 }

.navbar-inner {
    background: white;
}

.navbar .nav > li > a {
    color:  #1e3d77;
    font-size: 130%;
    transition: all 200ms;
}

.navbar .nav > li > a:hover {
    transition: all 200ms;
    color: #1e3d77;
}

.navbar .nav {
    margin-top: 25px;
}

#navbar-logo {
    width: 70%;
    height: 70%;
}

#create-order {
    padding: 5px;
    margin: 0;
    transition: all 200ms;
}

.btn-primary {
    background:  #fed801;
    border-color:  #fed801;
    transition: all 200ms;
    color:white;
}

.btn-invert {
    transition: all 200ms;
    background: white;
    border-color: white;
    color: #1e3d77;

}

.btn-primary:hover, .navbar .dropdown-menu > li > a:hover {
    transition: all 200ms;
    background: #70B77E;
    border-color: #70B77E;

    color:white;
}

/*
70B77E
3E885B
*/

.btn:focus, .btn-primarish:focus, .btn:active, a.btn:focus {
    outline-color: rgba(173, 215, 20, 0.6);
    border-color: rgba(173, 215, 20, 0.6);
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(173, 215, 20, 0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(173, 215, 20, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(173, 215, 20, 0.6);
}

.btn-primary:focus, .btn-primary:active, a.btn-primary:focus {
    background: #fed801;
    border-color: #fed801;
    outline-color: #fed801;
    color:white;
    box-shadow: none;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
input[type="checkbox"]:focus,
select:focus,
button:focus,
.uneditable-input:focus {
    border-color: rgba(173, 215, 20, 0.8);
    outline: 0;
    outline: thin dotted \9;
    /* IE6-9 */

    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(173, 215, 20, 0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(173, 215, 20, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(173, 215, 20, 0.6);
}

.nav .dropdown-toggle:hover .caret,
.nav .dropdown-toggle:focus .caret {
    border-top-color: rgba(173, 215, 20,1);
    border-bottom-color: rgba(173, 215, 20,1);
}

#save-success {
    position: fixed;
    bottom: 0;
    left:0;
    right:0;
    width: 40%;
    height: 8%;
    background: rgba(173, 215, 20, 1);
    margin: 0 auto;
    z-index: 10;
    color:white;
    text-align: center;
    border-radius: 5px;
    display: none;
}

#save-success-message, #save-success-job-title{
    color: white;
}

.footer {
    margin-bottom:  10px;
}

#form-login {
    margin: 0 auto;
    width: 35%;
    padding-top:20px;
    padding-bottom: 20px;
    background-color:  #fed801;
    border-radius: 2px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    margin-bottom: 20px;
}
@media (max-width: 767px) {
    #form-login {
        width: 80%;
    }
}

#form-login input {
    width: 100%;
    margin: 0 auto;
}

#form-login .control-group {
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}

#form-login .controls {
    margin: 0;
    padding: 0;
}

#form-login h1 {
    text-align: center;
    color: #1e3d77;
}

#form-login #login {
    width: 100%;
    margin-left: 5px;
}

#login-error {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}

.spinner {
    margin: 100px auto;
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
}

.spinner > div {
    background-color: #333;
    height: 100%;
    width: 6px;
    display: inline-block;

    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
    20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }  20% {
           transform: scaleY(1.0);
           -webkit-transform: scaleY(1.0);
       }
}

.spinner-wrapper {
    position: absolute;
    left: 49%;
    top: 50%;
}