@import 'fonts.css';
@import 'main.css';

html,
body {
    min-height: 100%;
    font-family: 'Lato', arial, sans-serif;
}

.clear{
    display: block;
    clear: both;
}


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

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

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

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

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

/* 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;
}


.main{
    width: 100%;
    padding: 20px 10px;
}

.main:before{
    content:"";
    display: block;
    clear:both;
}

.left_bar{
    display: inline-block;
    width: 20%;
    padding: 20px 10px;
    float: left;
    border-right: 1px solid #dddddd;
    background: #f4f4f4;
}

.base_content{
    display:block;
        width: 98%;
    margin: 0px auto;
    padding: 20px;
}

.app_tabs{
    cursor: pointer;
    transition: all 1s ease 0s;
}

.app_tabs li{
}

.app_tabs li.active_tab{
    background: #f4f4f4;
}

.app_tabs li a{
        color: #000;
}

.app_block{
    display: none;
    transition: all 1s ease 0s;
}

.active_block{
    display: block;
}

.app_update_btn{
    margin: 10px 0px;
}

.date_status_block{
    position: relative;
    display: inline-block;
        margin: 25px 12px 0px;
}

.field-app-status{
   display: inline-block;
   width: 100px;
}

.date_status_block label{
    position: absolute;
    left: 0px;
    background-image: url(../images/icon/cal.png);
    background-position:0px 0px;
    background-size:100% 100%;
    display: block;
    width: 28px;
    height: 31px;
}

.date_status_block input{
    border:none;
    outline:none;
    width: 32px;
    height: 32px;
    font-size: 0;
}

.date_status_block input::-webkit-datetime-edit { display:none; }
.date_status_block input::-webkit-datetime-edit-fields-wrapper { display:none; }
.date_status_block input::-webkit-datetime-edit-text { display:none; }
.date_status_block input::-webkit-datetime-edit-month-field { display:none; }
.date_status_block input::-webkit-datetime-edit-day-field { display:none; }
.date_status_block input::-webkit-datetime-edit-year-field { display:none; }
.date_status_block input::-webkit-inner-spin-button { display: none; }
.date_status_block input::-webkit-calendar-picker-indicator {
    background: #fff; 
    margin:0px; 
    padding:0px; 
    width:30px;
    height:30px;
    cursor:pointer;
    -webkit-appearance: none !important;
    opacity: 0;
    display:block;
    position:absolute;
    left:0px;
}

.date_status_block input::-webkit-calendar-picker-indicator:before {
    background-image: url(../images/icon/cal_16.png);
    background-position:0px 0px;
    background-size:100% 100%;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    border-radius: 24px;
    content: '';
    display: block;
    height: 16px;
/*    left: -2px;
    position: absolute;
    top: -5px;*/
    width: 16px;
    z-index: -1;
}

.date_status_block input::-webkit-calendar-picker-indicator:hover {

}
.date_status_block input:focus {

}

.status_td{
    width: 150px;
}

.status_td:after{
    clear:both;
}

.autotruck_apps .form-group{
    margin-bottom: 0px;
}

.gen{
    margin-left: 5px;
}


li.active_status{
    color:#3ca03c;
    text-decoration: underline;
}

li.app_status{
    font-size: 13px;
}

.post_block{
    margin: 50px 100px 10px;
}

.post_block ul{
    padding: 0px 0px 0px 0px;
}

.post_block ul li{
    list-style-type: decimal;
    margin: 0px 0px 5px 0px;
}

.post_block ul li a{
    color:#000;
    font-family: arial;
    font-size: 15px;
}

.check{
    color:#fff;
    position: relative;
    line-height: normal;
    padding-left: 20px;
}

.check:before{
    content: "\e025";
    font-family: 'Glyphicons Halflings';
    display: block;
    position: absolute;
    left: 2px;
}

.top:after{
    display: block;
    content: "";
    clear: both;
}

.search_block{
    margin-left: 16px;
}

#searchTopForm,
.main-filter{
    position: relative;
}

.main-filter__input{
   padding: 0 15px 0px 40px;
}

.main-filter button {
    position: absolute;
    background: none;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

#searchTopForm button img, 
.main-filter button img{
    display: block;
}

.search_block small{
    color:#fff;
}


/*
#search:focus::-webkit-input-placeholder {opacity: 1; transition: opacity 0.4s ease;}
#search:focus::-moz-placeholder          {opacity: 1; transition: opacity 0.4s ease;}
#search:focus:-moz-placeholder           {opacity: 1; transition: opacity 0.4s ease;}
#search:focus:-ms-input-placeholder      {opacity: 1; transition: opacity 0.4s ease;}
*/
.autohead-filter input[type=text]:focus{
    border: 3px solid #66c7ff;
}

.search_result{
    display: none;
    color: #000;
    max-height: 90vh;
    overflow: scroll;
    clear: both;
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: 57px;
    background: #FFFFFF;
    box-shadow: 0px 8px 40px rgba(0, 0, 0, 0.16);
    border-radius: 8px;
    padding: 0;
}

.search__container{
    padding-left: 20px;
    padding-right: 20px;
}

.bodyresult-search{
    padding: 0 16px;
}

.extended-search{
    margin-bottom: 12px;
}

.extended-search__link {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 36px;
}   

.extended-search__link::after{
    content: '';
    display: inline-block;
    margin-left: 8px;
    width: 5px;
    height: 8px;
    background: url(../images/icon_extendSearch3x.png) no-repeat;
    background-size: cover;
    margin-top: 2px;
}

.search-title{
    border-bottom: 1px solid #DCDFE3;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.search-title__name{
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.autotruck_name__link:hover{
    color: black;
}

.app_client{
    width: 150px;
}

.right_content{
        width: 79%;
    float: left;
    margin-left: 10px;
    padding: 10px;
}

.left_bar_head:after{
    clear: both;
    display: block;
    content: "";
}


.left_bar_head{

}

.left_bar_head .new_app{
    float: left;
}

.left_bar_head .filter_app{
    float: right;
}


.autotrUcks_list .grid-view{
    margin-top: 10px;
}


.autotrUcks_list .grid-view .summary{
    display: none;
}


.autotruck_data{
    padding:10px;
}


#app_table td, #app_table th{
    border: 1px solid rgba(0, 0, 0, 0.12);
}

#autotruck-description{
    height: 80px;
}

.form-actions{
    margin-top: 10px;
}

#autotruck_and_app:after{
    clear:both;
    content: "";
    display: block;
}


.app_blocks .panel-heading{
    padding: 5px 2px 5px 10px; 
}

.app_blocks .panel-heading h4{
    margin:0px;
}

.app_blocks .panel-heading h4 a{
    color:#fff;
}
.app_blocks .panel-heading p{
    margin:0px;
}

.panel-body.autotruck_info p{
    margin:0px;
}

.td_client_name{
    width: 330px;
}

.td_client_category{
    width: 80px;
}

select#client_category_id{
    width: 55px;
}

.app_weigth{
    width: 80px;
}
.app_rate{
   /*width: 30px;*/
}

.field-autotruck-date > label{
    display: block;
}

input#autotruck-date{
    width:170px; 
}

.autotruck_btns{
    margin-bottom: 10px;
}

#add_app_item{
}

.change_status_info{
    color:#f00;
    font-size: 12px;
}

.td_client_manager{
    width: 150px;
}


.icon-edit{
    background: #337ab7;
    width: 30px;
    height: 30px;
    display: block;
    float: left;
    text-align: center;
    color: #fff;
    border-radius: 3px;
    margin-right: 3px;
}

.icon-edit span{
    position: relative;
    top: 8px;
}

.icon-edit:hover{
    background-color: #1d5c92;
    color:#FFF;
}

.icon-edit span:hover{
    color:#FFF;
}

.client_manager{
    position: relative;
}

.main:after{
    clear: both;
    content: "";
    display: block;
}

@media screen and (max-width:1275px){
    .left_bar_head .new_app{
        float: inherit !important;
    }
    .filter_app{
        float: inherit !important;
        clear: both;
        margin-top: 10px;
    }

    .autotrUcks_list .grid-view table tr td{
        font-size: 12px;
    }

    .left_bar{
        min-width: 230px !important;
    }

    .right_content{
        min-width: 909px;
    }

    .main{
        min-width: 1170px !important;
    }
}

.field-customerpayment-autotruck_id,.field-customerpayment-client_id{
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}


.new_app{
    margin-bottom: 10px;
}


.autotruck_head{}


.autotruck_head:after{
    clear: both;
    display: block;
    content: "";
}

.autotruck_title{
    float: left;
}

.new_autotruck{
    margin-top: 32px;
    margin-left: 20px;
    float: left;
}

.new_autotruck a{
    height: 21px;
    border-radius: 2px;
    font-size: 12px;
    line-height: normal;
    padding: 3px 13px;
    text-transform: lowercase;
    font-family: arial;
}


.wrap:after{
    clear: both;
    content: "";
    display: block;
}

.payment-state-select{
    margin-top: 25px;
}

.logout_block{
    position: fixed;
    right: 0px;
    top: 0px;
    z-index: 1031;
}

.logout_block a{
    color: #fff;
    background: #515ea7;
    text-transform: uppercase;
    padding: 17px;
    line-height: 51px;
    letter-spacing: 2px;
}

.navbar-brand {
    padding: 15px 10px 0px 0px !important;
    font-size: 30px !important;
    color: #ffffff !important;
}


.autotruck_apps table th,#table_pay th{
    word-break: break-all;
    padding: 0px;
    font-size: 13px;
}

.autotruck_apps table td,#table_pay td{
    padding: 0px !important;
    font-size: 13px;
}

.app_out_stock{
    display: block;
    width: 16px;
    height: 16px;
}

.app_out_stock.ok{
    background-image: url(../images/ok.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    float: right;
}

#table_pay .btn{
    padding: 2px 4px !important;
    font-size: 10px !important;
}


.table_update{
        white-space: normal;
    font-size: 12px;
    table-layout: fixed;
    
}

.table_update th{
    white-space: normal !important;
    word-wrap: break-word;
}
.table_update th,.table_update td{
    padding: 3px !important;
}

.table_update .form-control{
    border:none;
    padding:3px;
    font-size: 12px;
    height: 20px;
}

.table_update .btn{
    padding: 0px 6px;
    font-size: 10px;
}

.panel-primary{
    border:none;
}


nav .container{
    width: 100% !important;
    padding: 0px 25px;
}

.as_index{
        font-size: 12px;
    white-space: nowrap;
}

.as_index thead .form-control,.as_index thead select{
    font-size: 11px;
    height: 26px;
    padding: 1px;
    border-radius: 1px;
    border-color: rgb(185, 185, 185);
}

.as_index tbody td{
    font-size: 12px;
        padding: 4px !important;
}

.table-hover > tbody > tr:hover {
    background-color: rgba(34, 68, 189, 0.22);
}

.client_phone_column{
    white-space: normal;
}


.ignor_block, include_block{
    position: relative;
}
#ignor_list,#include_list{
    display: none;
    position: absolute;
    background: #fff;
    margin: 7px 0px;
    padding: 4px;
    border: 1px solid #ccc;
    width: 100%;
    border-radius: 4px;
        z-index: 99;
    box-shadow: 0px 0px 2px -1px;
    -webkit-box-shadow: 0px 0px 2px -1px;
}

    #ignor_list li, #include_list li{
        cursor: pointer;
        list-style: none;
        padding: 4px;
    }

    #ignor_list li:hover, #include_list li:hover{
        background:#b3b8d6;
    }


.ignored_clients, .include_clients{
    margin-bottom: 40px;
}

    .ignored_clients label, .include_clients label{
        font-size: 20px;
    }

    .ignored_item, .include_item{
        display: inline-block;
        font-size: 13px;
        color: #305bd8;
        font-weight: bold;
        margin-right: 10px;
    }

        .remove_ignore, .remove_include{
            cursor: pointer;
            color: #f00;
            font-size: 16px;
        }


.block_send-letter-button{
    margin-top: 30px;
}


.load_block{
    display: none;
    position: absolute;
    top:0px;
    left: 0px;
    z-index: 1000;
    background: rgba(0,0,0,0);
    width: 100%;
    height: 100%;
}

    .load_gif{
        position: relative;
        margin: 200px auto;
        display: table;
    }

    .load_gif img{

    }


.spender_result{
    margin: 30px 0px 0px;
    text-align: center;
}

    .spender_result .ok{
        color:#0e8c0e;
    }

    .spender_result .error{
        color:#d20f28;
    }
    
    
.navbar-toggle{
    float:inherit !important;
}


.app_rate{
    max-width:100px;
}

table th.app_place{
    width: 6%;
}

table th.app_sumus{
    width: 6%;
}

table th.app_sumru{
    width: 6%;
}

table th.app_package{
    width: 7%;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {

}

.profile_autotruck_head{
    padding: 0px !important;
}

.profile_autotruck_body{
        padding: 0px 0px;
}


#autocomplete_block{

}

    #manager_data_key{

    }

    .autocomplete_data{
        position: absolute;
        display: none;
        height: 300px;
        min-width: 300px;
        border: 1px solid #ccc;
        border-radius: 3px;
        padding: 5px;
        z-index: 1000;
        right: 5px;
        top: 40px;
    }

        #autocomplete_items{
            position: absolute;
            z-index: 199;
            height: 285px;
            min-width: 300px;
            overflow-y: scroll;
            overflow-x: hidden;
            margin: 0px;
            padding: 0px;
            background: #fff;
        }

            #autocomplete_items li{
                list-style: none;
                cursor: pointer;
            }

            #autocomplete_items li:hover{
                background-color: #ccc;
            }
            
.ali_table{
    
}

.ali_table th{
    
}

.ali_table tr{
    
}

.ali_table thead .form-control, .ali_table thead select {
    font-size: 11px;
    height: 26px;
    padding: 1px;
    border-radius: 1px;
    border-color: rgb(185, 185, 185);
}

.ali_table thead td{
}

.ali_table tbody td{
    font-size: 12px;
    padding: 4px !important;
}

.ali_table input,.ali_table select{
    
}

.modal-dialog.modal-all{
    width: 100%;
}

.inputNotValid{
    border: 1px solid #f00;
}


table.table tbody tr.selectable{
    cursor: pointer;
}

table.table tbody tr.selected td{
    background: #dce2fd;
}


#rows_count{
    font-size: 13px;
}

.order-arrow {
    display: block;
    width: 16px;
    height: 16px;
    background: url("../images/sort.png");
    cursor: pointer;
    position: relative;
    top: 13px;
}

.order-arrow.up {
    background: url("../images/list_up.png");
}

.order-arrow.down {
    background: url("../images/list_down.png");
}

.sort-column {
    padding-right: 10px;
}

.w60 {
    width: 60px;
}

.w100 {
    width: 100px;
}

.w130 {
    width: 130px;
}

.w150 {
    width: 150px;
}

.w180 {
    width: 180px;
}