body {
    padding-top: 60px;
    padding-bottom: 40px;
}
hr{
    margin: 0;
}
.zf-green {
    color: #68b604;
}
#transitPlaces{
    padding: 0 4px;
}
a{
    text-decoration: none;
}
#transitPlaces a{
    font-size: 85%;
}
.btn-success {
    background-color: #57a900;
    background-image: -moz-linear-gradient(top, #70d900, #57a900);
    background-image: -ms-linear-gradient(top, #70d900, #57a900);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#70d900), to(#57a900));
    background-image: -webkit-linear-gradient(top, #70d900, #57a900);
    background-image: -o-linear-gradient(top, #70d900, #57a900);
    background-image: linear-gradient(top, #70d900, #57a900);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#70d900', endColorstr='#57a900', GradientType=0);
}

.btn-success:hover,
.btn-success:active,
.btn-success.active,
.btn-success.disabled,
.btn-success[disabled] {
    background-color: #57a900;
}

.btn-success:active, .btn-success.active {
    background-color: #57a900;
}

.navbar-nav{
    float: right !important;
}
.form-container{
    max-width: 580px;
    min-height: 900px;
    margin: 0px auto;
}
.form-group{
    margin-bottom: 5px;
}
#addTransitCity{
    text-align: right;
    font-size: 80%;
    margin-top: -5px;
}
input[type=text].datepicker,input[type=text].timepicker{
    width: 48% !important;
}
.col-sm-8.input-group.form-inline{
    padding-left: 15px;
}
#map{
    height: 450px;
    width: 100%;
    border: 1px solid #777777;
    border-radius: 5px;
}
#loginPage .wrapper, #passwordPage .wrapper{	
    margin-top: 80px;
    margin-bottom: 80px;
}

#loginPage .form-signin, #passwordPage .form-signin {
    max-width: 380px;
    padding: 15px 35px 45px;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.1);  
}
#loginPage .form-signin-heading, #passwordPage .form-signin-heading{
    margin-bottom: 30px;
}
#loginPage .form-control, #passwordPage .form-control {
    position: relative;
    font-size: 16px;
    height: auto;
    padding: 10px;

    &:focus {
        z-index: 2;
    }
}

#loginPage input[type="text"], #passwordPage input[type="password"] {
    margin-bottom: -1px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#passwordPage input[name="password1"] {
    border-radius: 0px;
}

#loginPage input[type="password"], #passwordPage input[name="password2"] {
    margin-bottom: 20px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.page-header{
    padding-bottom: 0px; 
    margin: 0px; 
    border-bottom: 0px none; 
}
#bookingsFilter{
    margin-left: 40px;
}
.navbar-nav>li {
    margin-left: 1px;
}
.navbar-nav>li a:hover {
    color: #ff0 !important;
}
#matrix{
    min-height: 900px;
}
#matrix .label{
    font-family: Verdana;
}
.route{
    font-size: 85%;
}
.cal-week-box [data-event-class]{
    height: 46px !important;
    line-height: 22px !important;
    padding-left: 5px !important;
}
.cal-week-box [data-event-class] a{
    display: block;
}
body.modal-open,.modal-open .modal-open {
    margin-right:15px
}
/* modal */
.modal{
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:0;
    z-index:1040;
    display:none;
    overflow:auto;
    overflow-y:scroll
}
.modal.fade .modal-dialog{
    -webkit-transform:translate(0,-25%);
    -ms-transform:translate(0,-25%);
    transform:translate(0,-25%);
    -webkit-transition:-webkit-transform .3s ease-out;
    -moz-transition:-moz-transform .3s ease-out;
    -o-transition:-o-transform .3s ease-out;
    transition:transform .3s ease-out
}
.modal.in .modal-dialog{
    -webkit-transform:translate(0,0);
    -ms-transform:translate(0,0);
    transform:translate(0,0)
}
.modal-dialog{
    z-index:1050;
    padding:10px;
    width: 650px;
    margin: 25px auto 0 auto;
}
.modal-content{
    position:relative;
    background-color:#fff;
    border:1px solid #999;
    border:1px solid rgba(0,0,0,0.2);
    border-radius:6px;
    outline:0;
    -webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);
    box-shadow:0 3px 9px rgba(0,0,0,0.5);
    background-clip:padding-box
}
.modal-backdrop{
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:0;
    z-index:1030;
    background-color:#000
}
.modal-backdrop.fade{
    opacity:0;
    filter:alpha(opacity=0)
}
.modal-backdrop.in{
    opacity:.5;
    filter:alpha(opacity=50)
}
.modal-header{
    min-height:16.428571429px;
    padding:10px 10px 2px 10px;
    border-bottom:1px solid #e5e5e5;
}
.modal-header .close{
    margin-top:-2px
}
.modal-title{
    margin:0;
    line-height:1.428571429
}
.modal-body{
    position:relative;padding:20px
}
.modal-footer{
    padding: 10px;
    text-align:right;
    border-top:1px solid #e5e5e5
}
.modal-footer:before,.modal-footer:after{
    display:table;
    content:" "
}
.modal-footer:after{
    clear:both
}
.modal-footer:before,.modal-footer:after{
    display:table;content:" "
}
.modal-footer:after{
    clear:both
}
.modal-footer .btn+.btn{
    margin-bottom:0;
    margin-left:5px
}
.modal-footer .btn-group .btn+.btn{
    margin-left:-1px
}
.modal-footer .btn-block+.btn-block{
    margin-left:0
}
span[data-cal-date]{
    margin-right: 0 !important;
}

@media screen and (maz-width:768px){
    .modal-dialog{
        width:600px;
        padding-top:30px;
        padding-bottom:30px
    }
    .modal-content{
        -webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);
        box-shadow:0 5px 15px rgba(0,0,0,0.5);
    }

}

/* iframe */

body.iframe-body{
    padding: 0;
}
#detailsForm{
    width: 96%;
}
#client_post_code,#career_post_code{
    width: 30%;
}
#client_city,#career_city{
    width: 66%;
}
#client_price,#career_price,#client_deposit,#career_deposit,#client_price_until_date,#client_deposit_until_date,#passengers_min,#passengers_max,#distanceTotal,#busPriceKm{
    width: 48%;
}
#bus_name{
    width: 81%;
}
#bus_places{
    width: 15%;
}
#container-client,#container-career,#container-important{
    padding: 5px 5px 5px 0;
    margin-right: -5px;
    margin-bottom: -5px;
}
#container-client{
    background: #D3FFC4;
}
#container-career{
    background: #C8DAFF;
    margin-bottom: 50px;
}
#container-important{
    background: #FFEDE0;
}
#submits{
    position: fixed;
    bottom: -5px;
    width: 100%;
    background: #fff;
    padding-top: 10px;
    z-index: 10;
}
textarea{
    resize: vertical;
}
.autocomplete-suggestions { 
    border: 1px solid #999; 
    background: #FFF; 
    overflow: auto; 
    box-shadow: 4px 4px 13px #555555;
    border-radius: 4px;
};
.autocomplete-suggestion { 
    white-space: nowrap; 
    overflow: hidden; 
    margin: 0;
    padding: 0;
}
.autocomplete-selected { 
    background: #F0F0F0; 
}
.autocomplete-suggestion .label{ 
    margin-right: 3px; 
    display: inline-block;
}
.suggestion-row{
    padding: 5px;
    cursor:pointer;
}
.padding16{
    padding: 0 16px !important;
}
.bussesTable th{
    text-align: center;
}
.bussesTable td{
    vertical-align: middle !important;
}
.bussesTable td.btn-group{
    display: table-cell;
}
label.btn.btn-sm.active.control-label{
    text-decoration: underline;
}
.table-td-5px-horizontal{
    margin-bottom: 10px;
}
.table-td-5px-horizontal td,.table-td-5px-horizontal th{
    padding: 1px 5px;
}
.select2-container .select2-selection--single{
    height: 30px !important;
}
td #date_from,td #date_to{
    border-radius: 3px;
}
.booking_status_row_A{
    background: #ddd;
}
.booking_status_row_W{
    background: #fdf1ba;
}
.booking_status_row_P{
    background: #caffca;
}
.pagination-container{
    text-align: center;
}
.form-filter-busses #q,.form-filter-busses #sort{
    width: 150px;
    height: 32px;
}
.form-filter-busses #year,.form-filter-busses #euro,.form-filter-busses #passengers{
    width: 100px;
    height: 32px;
}
.form-filter-busses .btn-primary{
    height: 32px;
}
.form-container-no-min-height{
    min-height: auto;
}
.photo-row{
    margin-top: 20px;
    text-align: justify;
}
.photo-row img{
    max-height: 150px;
}
.photodiv{
    height: 170px;
    display: inline-block;
}
.remove-photo{
    position: relative;
    left: -45px;
    top: 110px;
}
.hover-autocomplete{
    cursor: pointer;
    padding: 5px;
}
tr div.hidden-photo{
    display: none;
}
tr:hover div.hidden-photo{
    display: block;
    position: absolute;
    margin-top: 5px;
    margin-left: 5px;
    max-width: 340px;
    box-shadow: 5px 5px 5px #888888;
}
