/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 29-Nov-2016, 10:44:20 AM
    Author     : tangle
*/
/*::-webkit-scrollbar {
    -webkit-appearance: none;
}
::-webkit-scrollbar:vertical {
    width: 9px;
}
::-webkit-scrollbar:horizontal {
    height: 9px;
}
::-webkit-scrollbar-thumb {
    border-radius: 6px;
    border: 3px solid white;
    background-color: rgba(0, 0, 0, .6);
}*/


body, html {
    background-color: #fff;
}

.container {
    width: 100%;
    padding: 0;
}

a {
    color: rgba(255,0,0,0.8);
}

a:hover {
    color: rgba(255,0,0,1);
}

.well .table {
    margin-bottom: 0;
}

.well.well-25 {
    width: 25% !important;
}

.well.well-50 {
    width: 50% !important;
}

.well.well-100 {
    width: 100% !important;
}

select[multiple] option {
    padding: 10px;
}

/* ========= HEADER ======== */

header#header {
    color: #000;
    width: 100%;
    z-index: 10;
}

#header .header-inner {
    /*padding: 2% 5%;*/
    padding:0.75em 2em;
}

header#header nav#main-menu-navigation ul {
    font-family: "Roboto";
    padding-top: 20px;
}

header#header nav#main-menu-navigation ul > li {
    padding-right: 5px;
}

header#header nav#main-menu-navigation ul > li > a {
    color: #fff;
    padding: 5px 20px;
    background-color:#7b7b7b;
}

header#header nav#main-menu-navigation ul > li > a:hover {
}

header#header nav#main-menu-navigation ul > li.active > a {
    background-color: rgba(255,0,0,1);
}

header#header ul.system-nav {
    margin-right: 0;
    font-family: "Roboto";
}

header#header ul.system-nav > li > a {
    color: #000;
    padding: 0;
    background-color: transparent;
}

header#header ul.system-nav > li > a:hover {
    background-color: transparent;
}

/* ========= MAIN ======== */

#main-wrapper {
    background-color: #fff;
}

#main-wrapper .content-padding {
    padding: 0px 5%;
}

#main-wrapper .page-header {
    margin: 0;
    padding-top: 25px;
    padding-bottom: 10px;
    /*color: #ddd;*/
    border: none;
    text-align: right;
    border-bottom: 1px solid #eee;
}

#main-wrapper .page-header .btn-group {
    float: left;
}

#main-wrapper .page-header .btn-group > a {
    color: #000;
    padding: 0px 6px;
    font-size: 24px;
}

#main-wrapper .page-header .btn-group > a.active,
#main-wrapper .page-header .btn-group > a:active,
#main-wrapper .page-header .btn-group > a:hover {
    color: rgb(86,12,14);
}

#main-wrapper .after-heading .sub-header {
    margin: 0;
    padding-top: 18px;
    padding-bottom: 13px;

    font-size: 24px;
}

#main-wrapper .after-heading .sub-nav {
    float: right;
    background-color: transparent;
    color: #000;
}

#main-wrapper .after-heading .sub-nav > a {
    color: #000;
    padding: 0px 6px;
    font-size: 22px;
}

#main-wrapper .after-heading .sub-nav > a.active,
#main-wrapper .after-heading .sub-nav > a:active,
#main-wrapper .after-heading .sub-nav > a:hover {
    color: rgb(86,12,14);
}

/*#main-wrapper .after-heading .main-menu-sub-nav > li > a {
    padding: 0px 15px 15px 0px;
    font-size: 20px;
    color: #000;
    position: relative;
}

#main-wrapper .after-heading .main-menu-sub-nav > li > a:hover {
    background-color: transparent;
    filter: invert(100%);
}

#main-wrapper .after-heading .main-menu-sub-nav > li.active > a:hover {
    filter: invert(0%);
}

#main-wrapper .after-heading .main-menu-sub-nav > li > a > i {
    font-size: 24px;
    text-align: center;
}

#main-wrapper .after-heading .main-menu-sub-nav > li > a > img {
    height: 24px;
}

#main-wrapper .after-heading .main-menu-sub-nav > li.active > a {
    color: #fff;
}

#main-wrapper .after-heading .main-menu-sub-nav > li.active > a > img {
    filter: invert(100%);
}

#main-wrapper .after-heading .main-menu-sub-nav > li.active > a > i.nav-pointer {
    position: absolute;
    bottom: 0px;
    left: 4px;
    line-height: 8px;
    font-size: 22px;
}*/

#main-wrapper .inner-content {
    padding: 30px 5%;
}
#main-wrapper .before-content {
    padding: 0 5%;
}
#main-wrapper-footer {
    padding: 15px;
}

#main-wrapper-footer a.main-logo-img {
    float: right !important;
}

/* ========= FOOTER ======== */

footer#footer {
    font-family: "Roboto";
}

/*footer#footer .copyright,
footer#footer .to-top > a {
    display: inline-block;
    color: #000;
    padding: 15px;
}*/

footer#footer .copyright {
    color:#000;
}

footer .to-top {
    padding: 0px 5% 30px;
}

.main-logo-img img {
    width: 150px;
    margin: 0.75em 0;
}
#main-wrapper-footer .main-logo-img img {
    width: 50px;
}
h1,h2,h3,h4,h5 {
    font-family:"Roboto";
}

#footer {
    height: 100px;
}

/*.close {
    position: absolute;
    top: 10px;
    right: 10px;
}*/


.fill {
    background-color:#7b7b7b;
    width: 100%;
    height: 100px;
}

.row {
    margin-bottom: 10px;
}

div[data-name="form-map"],
div[data-name="static-map"],
div[data-name="form-map"] div[id^="map-"] {
    width: 100%;
    height: 100%;
    min-height: 250px;
    max-height: 500px;
    margin-bottom: 20px;
}

img.module-icon {
    height: 20px;
}

.color-code-preview {
    display: inline-block;
    max-width: 100%;
    height: auto;
    padding: 10px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.ajax-search {
    position: relative;
}
.ajax-search .alert,
.ajax-search .search-results {
    position: absolute;
    top: 34px;
    width: 100%;
    z-index: 3;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.4);
}
.ajax-search .search-selected {
    margin-top: 5px;
}
.ajax-search .search-results li:hover {
    background-color: #e6e6e6;
    border-color: #adadad;
    cursor: pointer;
    cursor: hand;
}

/**
    How about some styles for module specific things.
*/

/* ============ Customer Module ============= */

/*.cards:after {
    content: "";
    display: table;
    clear: both;
}

.cards > .card {
    float: left;
    width: 32%;
    padding: 10px;
    box-sizing: border-box;
    background-color: rgba(240,240,240,1);
    color: rgba(0,0,0,0.7);
    margin-right: 2%;
    margin-bottom: 2%;
}

.cards > .card:nth-child(3n) {
    margin-right: 0%;
}*/

.card {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    background-color: rgba(240,240,240,1);
    color: rgba(0,0,0,0.7);
    margin-bottom: 2%;
}
.customer-card.card {
    background: none;
}
.contact-card .contact-header {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.contact-card .contact-header a {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    display: inline-block;
}

.contact-card .contact-header a i {
    padding-right: 10px;
}

.contact-card .contact-header:after {
    content: "";
    display: table;
    clear: both;
}

.contact-card .contact-header i,
.contact-card .contact-header span {
    display: inline-block;
    float: left;
}

.contact-card .contact-header i {
    font-size: 32px;
}

.contact-card .contact-header .contact-name {
    font-size: 24px;
    line-height: 19px;
    font-weight: 700;
    padding: 6px 8px 4px 8px;

}

.contact-card .contact-header .contact-position {
    float: right;
    font-size: 14px;
    padding: 9px 0px 2px 0px;
    font-weight: 700;
}

.contact-card .contact-details {
    font-size: 14px;
}

.contact-card .contact-details i.fa-mobile {
    font-size: 20px;
}

.notification {
    padding: 15px 24px;
    border: 2px dotted rgba(0,0,0,0.2);
    margin: 20px 0;
}

.notification:after {
    content: "";
    display: table;
    clear: both;
}

.notification i {
    padding-right: 30px;
    font-size: 42px;
}

.notification i,
.notification span {
    display: inline-block;
    float: left;
}

.notification span.notification-leading {
    padding: 11px 30px 11px 0;
    font-family: "Roboto";
}

.notification span.notification-trailing {
    padding: 10px 0;
}

.notification-info {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;
}

.notification-success {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
}

.notification-warning {
    background-color: #fcf8e3;
    border-color: #faebcc;
    color: #8a6d3b;
}

.notification-danger {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}

/*.nav-tabs>li {
    margin-bottom: 0px;
}*/

.nav-tabs>li>a {
    /*margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;*/
    border-radius: 0;
    background-color: rgba(240,240,240,1);
    border-bottom: 3px solid rgb(86,12,14);
    text-transform: uppercase;
    color: rgba(0,0,0,0.7);
}

.nav-tabs>li>a:hover {
    border-bottom: 3px solid rgba(255,0,0,1);
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:active {
    background-color: rgba(240,240,240,1);
    border: none;
    border-bottom: 3px solid rgba(255,0,0,1);
}

.selected-wrapper .notification {
    margin-top: 0;
}


.info-block {
    font-family: "Roboto";
}


.table tbody tr:hover td[name=actions] i {
    color:inherit;
}
.table tbody tr:hover {
    background-color: #f7f7f7;
}
.table tbody tr td[name=actions] i {
    color:#f7f7f7;

}
.table tbody tr td[name=actions] a:hover {
    text-decoration: none;
}
.table td, .table th {
    vertical-align: middle !important;
}

.map-with-overlay {
    position: relative;
}
.map-with-overlay .overlay{
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0px;
    background-color: rgba(0,0,0,0.5);
    text-align: center;
}

.map-with-overlay .overlay .button{
    margin: 0 auto;
    display: inline-block;
    top: 45%;
    position: relative;
}

.map-with-overlay .overlay .button button{
    font-size: 1.7em;
    font-weight: bold;
}

.w-800px {
    max-width: 800px;
    width: 100%;
}
.indent {
    margin-left: 30px;
}


.assign-cars-wrapper .cars-wrapper .primary-button,.assign-customers-wrapper .customers-wrapper .primary-button {
    display: none;
}

.search-display  td.logo {
    vertical-align: middle;
}
.search-display  td.logo img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    vertical-align: middle;
    max-height: 50px;
    height: 30px;
}

.track-infoblock h1 {
    font-size: 70px;
}
.track-infoblock h2 {
    font-size: 40px;
}

.carrier-card.card {
    background: none;
}

.primary-button {
}

.favorite {
    color: #f8bb00;
}

tr .fa-star.active {
    color: #b4a400 !important;
}

#car-list-view-form tr.selected {

    background-color:#eee;

}


@media (min-width: 992px) {
    header#header nav#main-menu-navigation #mobile-menu-button {
        display: none;
    }
    header#header nav#main-menu-navigation ul {
        margin: 0 5%;
    }
}

@media (max-width: 992px) {
    header#header nav#main-menu-navigation #mobile-menu-button {
        color: #fff;
        padding: 5px 20px;
        background-color: #aaa;
        font-family:"Roboto";
        font-size: 20px;
        cursor: pointer;
        cursor: hand;
    }

    #main-wrapper {
    }

    .main-logo-img img {
        width: 140px;
        margin: 10px 0 20px 0;
    }

    header#header ul.system-nav {
        float: right!important;
    }

    header#header nav#main-menu-navigation ul {
        float: none;
        display: none;
        padding-top: 0;
        margin: 0;
    }

    header#header nav#main-menu-navigation ul > li {
        position: relative;
        display: block;
        width: 100%;
        float: none;
        padding: 0;
    }
}

.setup-sub-heading {
    margin:0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding:0.65em 0;
    font-size:1.2em;
    font-weight: bold;
}

.long-table {
    min-height: .01%; /* Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837)*/
    overflow-x: auto;

    width: 100%;
    margin-bottom: 15px;
    /* overflow-y: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar; */
    border: 1px solid #ddd;
}

.long-table > .table {
    margin-bottom: 0;
}

.long-table > .table > thead > tr > td,
.long-table > .table > tbody > tr > td,
.long-table > .table > tfoot > tr > td,
.long-table > .table > thead > tr > th,
.long-table > .table > tbody > tr > th,
.long-table > .table > tfoot > tr > th {
    white-space: nowrap;
}