﻿body{
    font-family:Calibri;
    padding-top: 110px;
    padding-bottom: 20px;
}
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}
body.wait, body.wait *{
    cursor: wait !important;   
}

.container {
  width: auto;
  max-width: 98%;
  padding: 0 15px;
}
.container .text-muted {
  margin: 20px 0;
}

.PageTitle {
    margin-top: 10px;
}

/* *************************************************************** */
/* GENERAL */
.clickable { cursor: pointer; }
.tightmargin { margin-bottom: 2px; margin-top:2px; }
.tightpadding { padding-top:2px; padding-bottom:2px; }
.bg-default {
    background-color: #e4e4e4;
}
.text-emphasized {
    font-weight: bold;
}
hr { margin-top:5px;margin-bottom:15px; }
.TotalsFooter 
{
    font-weight:bold;
    background-color: #f5f5f5;
}
.Spinner {
    display: block;
    min-width: 40px;
    background-color: transparent;
    z-index: 1000;
    margin-left: -40px;
    background-image: url('images/indicator_white.gif');
    background-repeat: no-repeat;
}

.SpinnerGrowl {
    display: block;
    width: 28px;
    height: 28px;
    background-image: url('images/indicator_white.gif');
    background-repeat: no-repeat;
    background-size: cover;
}
.InProgress {
    position: absolute;
    display: none;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    /*z-index: 10000;*/
}

.InProgress .ProgressBackdrop {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    filter: alpha(opacity = 60);
    opacity: 0.6;
    background-color: #ffffff;
}
.modal-content .InProgress .ProgressBackdrop {
    z-index: 10000;
}

.LoadingSpinner {
    margin-top: 50px;
    padding-left: 50%;
    text-align:center;
    background-color:transparent;
}
.LoadingSpinner .SpinnerImage {
    display:block;
    width:100px;
    height:100px;
    background-image: url('images/loadingblueblackstar.gif');
    background-repeat: no-repeat;
    background-size: cover;
    margin-left:-50px;
}
.LoadingSpinner .SpinnerText {
    display:block;
    width:100px;
    font-weight:bold;
    font-size:120%;
    margin-top:5px;
    margin-left:-50px;
}

.marginTop10{
    margin-top: 10px;
}

.stripedrows > div.row:nth-of-type(2n+1) {
    background-color: #f4f4f4;
}

.groupedmultiselect li { padding-left: 20px; }
.groupedmultiselect li.multiselect-group,
.groupedmultiselect li.multiselect-all,
.groupedmultiselect li.multiselect-filter
 { padding-left: 0px !important; }

/* tiny width  */
@media (max-width: 767px) {
    body { font-size:13px; }

    #ManufacturerList ul {
        list-style: none;
        max-height: 400px;
        overflow-x: hidden; 
        overflow-y: auto; 
    }
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    body { font-size:14px; }
    #ManufacturerList ul {
        list-style: none;
        max-height: 400px;
        -ms-overflow-x: hidden; 
        -ms-overflow-y: auto; 
        width: 600px;
    }
    #ManufacturerList ul li { width:33%;float:left; }
    #ManufacturerList ul li.multiselect-filter { width:100% !important; }
}
/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #ManufacturerList ul {
        list-style: none;
        max-height: 550px;
        -ms-overflow-x: hidden; 
        -ms-overflow-y: auto; 
        width: 800px;
    }
    #ManufacturerList ul li { width:25%;float:left; }
    #ManufacturerList ul li.multiselect-filter { width:100% !important; }
}



/* SIZE BASED TEXT ALIGNMENT */
.text-xs-justify { text-align: justify; }
.text-xs-center { text-align: center; }
.text-xs-right { text-align: right; }
.text-xs-left { text-align: left; }

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .text-sm-justify { text-align: justify; }
    .text-sm-center { text-align: center; }
    .text-sm-right { text-align: right; }
    .text-sm-left { text-align: left; }
}
/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .text-md-justify { text-align: justify; }
    .text-md-center { text-align: center; }
    .text-md-right { text-align: right; }
    .text-md-left { text-align: left; }
}
/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .text-lg-justify { text-align: justify; }
    .text-lg-center { text-align: center; }
    .text-lg-right { text-align: right; }
    .text-lg-left { text-align: left; }
}

/* *************************************************************** */
/* PAGINATION */
.pagination {
  margin: 2px 0px 0px 0px;
}

/* *************************************************************** */
/* DATEPICKER */
.datepicker { z-index: 9999;}
.datepicker table tr td.disabled, .datepicker table tr td.disabled:hover {
    color: #b1b1b1;
}

/* *************************************************************** */
/* ALERTS */
.alert { padding: 5px; margin-bottom:5px;}
.alert-dismissable .close, .alert-dismissible .close { right:10px !important; }

/* *************************************************************** */
/* PANELS */
legend { font-size: 18px; }

.panel-heading { padding: 5px 15px; }
.panel-group { margin-bottom: 4px; }
/* POPOVER PANEL */
.JaamaPopover {
    position: absolute;
    display: none;
    width: auto;
    z-index: 1000;
    top: 25px;
    left: 50px;
}
.panel-popover {
    border-color: #f8d281;
    border-width: 3px;
}

    .panel-popover > .panel-heading {
        color: #5a4e3a;
        background-color: #f8da99;
        border-color: #f8d281;
    }

        .panel-popover > .panel-heading + .panel-collapse > .panel-body {
            border-top-color: #f8d281;
        }

        .panel-popover > .panel-heading .badge {
            color: #fcf8e3;
            background-color: #8a6d3c;
        }

    .panel-popover > .panel-footer + .panel-collapse > .panel-body {
        border-bottom-color: #f8d281;
    }

.panel-search {
    position:relative;
    background-color: rgba(214,214,214, 0.4) !important;
}
.panel-search-backdrop {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
}


/* *************************************************************** */
/* FORM CONTROLS */
.form-control[type='file']{ padding: 0px;}
.radio, .checkbox { margin-top:5px; margin-bottom:5px; }
label { margin-bottom:2px; }

.table-condensed > thead > tr > th, 
.table-condensed > tbody > tr > th, 
.table-condensed > tfoot > tr > th
{ padding-top:10px;padding-bottom:10px; }

.table thead tr:last-child th { border-bottom: 2px solid #faa748; }
.table tbody tr:first-child td { padding-top:10px; }
.table tbody tr:last-child td { padding-bottom:10px; }

.btn-dialog { min-width: 150px; }

.input-daterange .input-group-addon {
    text-shadow: none;
}
.validation-summary-errors ul {
    list-style: none;
}
.validation-summary-errors-custom-message.validation-summary-valid span,
.validation-summary-errors-custom-message ul {
    display: none;
}
.validation-summary-errors-custom-message span {
    font-size: 14px;
}

/* force bootstrap inline forms to still apply on small width displays */
  .form-inline .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
  }
  .form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
  }
  .form-inline .form-control-static {
    display: inline-block;
  }
  .form-inline .input-group {
    display: inline-table;
    vertical-align: middle;
  }
  .form-inline .input-group .input-group-addon,
  .form-inline .input-group .input-group-btn,
  .form-inline .input-group .form-control {
    width: auto;
  }
  .form-inline .input-group > .form-control {
    width: 100%;
  }
  .form-inline .control-label {
    margin-bottom: 0;
    vertical-align: middle;
  }
  .form-inline .radio,
  .form-inline .checkbox {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
    vertical-align: middle;
  }
  .form-inline .radio label,
  .form-inline .checkbox label {
    padding-left: 0;
  }
  .form-inline .radio input[type="radio"],
  .form-inline .checkbox input[type="checkbox"] {
    position: relative;
    margin-left: 0;
  }
  .form-inline .has-feedback .form-control-feedback {
    top: 0;
  }
.driverAge {
    width: 50px;
    margin-bottom: 5px;
}

/* *************************************************************** */
/* MODALS */
.modal-header {
    padding: 0px 16px;
    background-color: #003F54; 
    color: white;
}
.modal-title {
    font-size:25px;
}
/*.modal-body {
    padding: 4px 16px;
}*/
.modal-savebtn {
    margin-top: 10px;
}
.close {
    color: #f4f4f4;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

/* *************************************************************** */
/****** NAVBAR HEADER *****/
.navbar-custom {
    background-color:#286090;
    border: transparent;
    box-shadow: 0 0 15px -3px #666;
}
.navbar-custom .navbar-toggle {
    position: absolute;
    right: 0;
    margin-top: 42px;
    margin-right: 2%;
    padding: 10px 8px;
    border-color: #003F54;
    color: #003F54;    
}
.navbar-custom .navbar-toggle .icon-bar {
	background-color: #003F54;
}
.navbar-custom .navbar-toggle:hover, 
.navbar-custom .navbar-toggle:focus {
    background-color: #fff;
}
.navbar-custom .navbar-header {
    min-height: 80px;
}
.navbar-custom .navbar-brand {
    display: block;
    float: none;
    width: 100%;
    height: auto;
    padding: 10px 10px 5px 10px !important;    
    background-image: none;
}

.navbar-custom .navbar-systemtitle {
    font-size: 250%;
    color: #fff;
}

.navbar-brand>img {
    height: auto !important;
    max-height: 100px;
}
.navbar-custom .navbar-nav {
    position: relative;
    margin: 10px 0 0 0;
    text-align: center;
    font-size: 1.2em;    
}
.navbar-custom .navbar-nav>li>a {
	color: #f4f4f4;
}
.navbar-custom .navbar-nav>li {
    margin: 0px 5px 0px 5px;
}
.navbar-custom .navbar-nav>li>a:hover, 
.navbar-custom .navbar-nav>li>a:focus {
	color: #faa748;
}  
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    position: relative;
    border: 0;
}
form.navbar-right {    
    top: 45px;
}
.use_avatar {
    font-size: 100%;
}
.use_avatar > div {
    background-image: none;
    padding-left: 0;    
}

.UserAvatar {
    font-size: 80%;
    padding-top: 5px !important;
    padding-bottom: 0px !important;
}
.UserAvatar > div {
    background-position-y: 50%;
    background-repeat: no-repeat;
    padding-left: 40px;
    background-image: url('Images/usergrey.png');
}


@media screen and (min-width:900px) {
    body {
        padding-top: 117px;
    }
    .navbar-custom {
        background-size: 60px auto, 100% 100%;
        background-position: 98% 20px, center;
    }
    .navbar-collapse > .nav.navbar-nav {
        width: 100%;
        position: absolute;
        left: auto;
        right: 0;
        bottom: 12px;
    }
    .navbar-nav {
        float: none;
        display: inline-block;
        text-align: center;
    }    
    form.navbar-right{
        position: absolute;
        top: 5px;
        right: 10px;
        font-size: 1em;        
    }
    form .navbar-right>li {
        vertical-align: middle;
    }
    .navbar-nav>li {
        display: inline-block;
        float: none;
    }
    .UserAvatar > div {
        background-image: url('./images/usergrey.png');
        padding-left: 40px;
    }

}
@media screen and (min-width:992px) {
    .nextBtn {
        margin: 0;
    }
}
@media screen and (min-width:1200px) {
    body {
        padding-top: 117px;
    }

    form.navbar-right {
        position: absolute;
        top: auto;
        bottom: 10px;
        right: 10px;
        font-size: 1em;        
    }        
}
@media screen and (min-width:1330px) {
    .navbar-collapse > .nav.navbar-nav {
        font-size: 1.2em;
    }
}

/* *************************************************************** */
/* FOOTER */
.footer-copyright {
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    text-align: center
}

/* *************************************************************** */
/**** LOGIN PAGE ***/
.login h2,
.login .container,
.login .form-control {
    text-align: center;    
    max-width: 100%;
}
#loginForm {    
    width: 510px;
    height: 430px;
    max-width: 90%;
    margin: auto;
    margin-top: 40px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}
.login .form-horizontal .control-label {
    padding-right: 15px;
    text-align: center;
}

.panel-login { 
    position:relative;
    border:none;
}
.panel-login-backdrop {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
}

#ForgottenForm {
    width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    text-align: center;
}

    #ForgottenForm .btn {
        margin-top: 15px !important;
    }

/* *************************************************************** */
/* SHORTLISTS and COMPARISON LISTS */ 
.ShortListQuoteItem{
    display:inline-block; 
    vertical-align:top;
    width:35%;
    max-width:350px;
}
.ShortlistQuotes{
    overflow:auto;
}
.ComparisonSmallGrid .VehiclePanel { min-height: 420px; }
.ComparisonLargeGrid .VehiclePanel { min-height: 495px; }
.selectedvehicle { border-radius:6px; border: 4px solid #e0e0e0; }
.unselectedvehicle { border-radius:6px; border: 4px solid transparent; }
.selectedvehicle:hover { border-radius:6px; border: 4px solid #cfe9fb;cursor:pointer; }
.unselectedvehicle:hover { border-radius:6px; border: 4px solid #cfe9fb;cursor:pointer; }
.VehicleName{
    font-weight:bold;
}

.toolbar {
  background-color: #F5F5F5;
  padding-top:5px;
  padding-bottom:5px;
  margin-bottom:5px;
  margin-left:-10px;
  margin-right:-10px;
}
.panelinnerheader {margin-left:-10px;margin-right:-10px}

.restrictioninfo {
    background-color: rgb(240, 173, 78);
    font-size: 14px;
    font-weight: 900;
    width: 20px;
}

.keyspecicon-container { height:90px; overflow:hidden;}
.keyspecicon-container-sm {height:80px; overflow:hidden;} 

.keyspecicon { display:block;height:36px;width:100%;background-position:center;background-repeat:no-repeat; }
.keyspecicon-sm { display:block;height:24px;width:100%;background-position:center;background-repeat:no-repeat; }

.keyspecicon-engineicon {  background-image:url('Images/engine36blue.png')}
.keyspecicon-fuelicon { background-image:url('Images/petrolpump36blue.png')}
.keyspecicon-emissionsicon { background-image:url('Images/emissions36blue.png')}
.keyspecicon-powericon { background-image:url('Images/speedometer36blue.png')}
.keyspecicon-engineicon-sm {  background-image:url('Images/engine24blue.png')}
.keyspecicon-fuelicon-sm { background-image:url('Images/petrolpump24blue.png')}
.keyspecicon-emissionsicon-sm { background-image:url('Images/emissions24blue.png')}
.keyspecicon-powericon-sm { background-image:url('Images/speedometer24blue.png')}
.keyspecicon-truckicon { background-image:url('Images/truck36blue.png')}
.keyspecicon-truckicon-sm { background-image:url('Images/truck24blue.png')}

.NCAPRow { color:#ffbb00; }
.NCAPRow .NCAPTitle { 
    font-size:140%; 
    vertical-align:top;
    color: #256696;
}
.NCAPRow .NCAPTitle-sm { 
    font-size:100%; 
    vertical-align:top;
}

.DerivativeStatusBadge-sm {
    position: absolute;
    width: 100%;
    bottom: 1px;
}
.DerivativeStatusBadge-sm .label {font-size:120%;}
.DerivativeStatusBadge {
    position: absolute;
    width: 100%;
    bottom: 1px;
}
.DerivativeStatusBadge .label {font-size:140%;}

.filtersidebar {
    background-color: #c5c5c5;
}

.panel-derivative {
    border-width: 3px;
}
.panel-derivative:hover {
    border: 3px solid #c7c7c7;
}
.DerivativeSearchVehicleCount { font-size: 1.6em; }
.panel-derivative .derivative-text-lg { font-size:110%;font-weight:bold; }
.panel-derivative .derivative-text-sm { font-size:75%;}

.DerivativeSearchSmallGridView .panel-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


@media (max-width:500px) {
/* make buttons more finger ready on phone sized displays */
    .btn { margin-bottom: 10px; }
    .btn-sm { padding:8px 8px }
    .btn-xs { padding:8px 8px }
    td { height: 50px !important; }
    .panel-derivative .derivative-text-lg { font-size:120% !important;}

}

@media (min-width: 992px) {
  .modal-xl {
    width: 75%;
  }
}

.disabled {
   pointer-events: none;
}

/* HOME PAGE */
.jumbotron { padding-top: 10px; padding-bottom:10px; }
.panel-recentactivity { background-color:rgba(255,255,255,0.8) !important; }
.panel-recentactivity .table tbody { overflow-y:scroll;overflow-x:hidden; }

.QuickSearchTitle { margin-top: 10px; }

.ButtonIcon { 
    display: block;
    height: 18px;
    width:18px;
    background-repeat: no-repeat;
    background-position: center center;
}

.ButtonIcon-xl {
    display: block;
    height: 66px;
    width:66px;
    background-repeat: no-repeat;
    background-position: center center;
} 

.ButtonIcon.ButtonIcon-word { background-image: url('Images/wordIconNew.png'); }
.ButtonIcon.ButtonIcon-pdf { background-image: url('Images/pdfIcon.gif'); }
.ButtonIcon.ButtonIcon-makeupsheet { background-image: url('Images/btnMakeup.gif'); }
.ButtonIcon.ButtonIcon-email { background-image: url('Images/email.gif'); }
.ButtonIcon.ButtonIcon-emailhistory { background-image: url('Images/emailhistory.gif'); }
.ButtonIcon.ButtonIcon-ordernotes { background-image: url('Images/deliverytruck16.png');width:32px; }
.ButtonIcon.ButtonIcon-ordernotesticked { background-image: url('Images/deliverytruck16.png');width:32px; }
.ButtonIcon.ButtonIcon-quotenotes { background-image: url('Images/note16.png'); }
.ButtonIcon.ButtonIcon-quotenotesticked { background-image: url('Images/note16.png'); }

.ButtonIcon-xl.ButtonIcon-word { background-image: url('Images/Word64New.png'); }
.ButtonIcon-xl.ButtonIcon-pdf { background-image: url('Images/pdf64.png'); }
.ButtonIcon-xl.ButtonIcon-makeupsheet { background-image: url('Images/makeup64.png'); }
.ButtonIcon-xl.ButtonIcon-email { background-image: url('Images/email.gif'); }
.ButtonIcon-xl.ButtonIcon-emailhistory { background-image: url('Images/emailhistory.gif'); }
.ButtonIcon-xl.ButtonIcon-ordernotes { background-image: url('Images/truck64white.png');width:30px; }
.ButtonIcon-xl.ButtonIcon-ordernotesticked { background-image: url('Images/truck64white.png');width:30px; }
.ButtonIcon-xl.ButtonIcon-quotenotes { background-image: url('Images/note64.png'); }
.ButtonIcon-xl.ButtonIcon-quotenotesticked { background-image: url('Images/note64.png'); }


.validation-summary-valid.alert.alert-danger { display: none; }

@media(min-width: 992px){
    .quoteheaderpanel { min-height: 240px; }
    .quoteheaderpanel.extended { min-height: 301px; }
}

.ColumnIsSortedDesc {position:relative;margin-right:25px;min-width:100px !important;padding-right:20px !important; }
.ColumnIsSortedDesc::after { 
    content: '';
    position: absolute;
    left:86%;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #5a4e3a;
    clear: both;
}  
.ColumnIsSorted {position:relative;margin-right:25px;min-width:100px !important;padding-right:20px !important; }
.ColumnIsSorted::after { 
    content: '';
    position: absolute;
    left:86%;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #5a4e3a;
    clear: both;
}  

#SearchMessagePanel {
    margin-top:-10px;
    margin-bottom: 5px;
}
#SearchMessagePanel .panel-body {
    padding:10px 20px 10px 20px;
}

/* ******************************************** */
/*  QUOTE POLICY Page Styles */
#QuotePolicyPage #PolicyHeaderPanel {
    display: block;
}
#QuotePolicyPage #PolicyHeaderMessageText {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}
#QuotePolicyPage #PolicyHeaderMessageText::after {
    font-size: 18px;
    font-weight: bold;
    content: 'Quotation Policies';
}
#QuotePolicyPage .docWrapper {
    margin-top: 5px;
    margin-left:auto;
    margin-right:auto;
    width:100%;
    background-color:#fff !important;
    border-radius: 4px;
    padding:0px;
}
#QuotePolicyPage .policypanelbody { 
    padding:0px; 
}
/* ******************************************** */

/* ******************************************** */
/*  Approval Search Page Styles */
.approvalDetails {
    padding:0px !important;
}

.approvalDetails li {
    list-style:none;
}
/* ******************************************** */
