﻿@media (min-width: 992px) {
    .container {
        width: 1098px;
    }
}
body {
    padding-top:38px;
    padding-bottom: 0px;
    font-size:12px;
    font-family: Calibri, sans-serif;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 5px;
    padding-right: 5px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select {
    max-width: 280px;
}

nav.navbar {
    margin-bottom:0 !important;
    border-bottom:0;
}

.navbar-inverse {
    background-color: #c43031 !important;
}

.navbar-inverse a.navbar-brand {
    color: #FFFFFF !important;
}
    .navbar-inverse .navbar-nav > li > a {
        color: #FFFFFF !important;
    }

input.error, select.error, textarea.error {
    border: 1px solid red;
}

span.customerName, span.customerAccount, span.customerType, span.customerAddress, div.customerAddress {
    cursor: pointer;
}

.navbar {
    min-height:38px;
    height:38px;
    border-bottom: 1px solid #ffffff;
}

ul.nav-tabs {
    background-color: #c43031;
    font-size: 14px;
    height:38px;
    /*width:945px;*/
}
ul.nav-tabs.active {
    background-color: #FFFFFF;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    background-color: #FFFFFF;
    color: #c43031;
}

.nav > li > a {
    color: #FFFFFF;
    padding: 8px 15px;
    font-weight:bold;
}
.nav-tabs a { }
.nav-tabs > li > a:hover {
    background-color: #FFFFFF;
    color: #c43031;
}

div#versions { padding-top:2px;
    color: white;
    width: 110px;
}
div#versions > table {
    width: 100%
}
div#versions > table tr td:last-child {
    text-align: right;
}

.clickable {
    cursor: pointer;
}

.icon-green {color:green;}
.icon-red {
    color: #c43031;
}

.table > tbody > tr.active > td, .list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
    /*background-color: #f4af00;
    border-color: #f4af00;*/
    background-color: deeppink !important;
    color:#FFFFFF;
}

.table > tbody > tr > td {
    padding: 2px;
}

table > thead > tr {
    font-size: 13px;
    font-weight: bold;
}

div#routeContainer, div#customerContainer {
    padding-left:5px;
    padding-right:5px;
    padding-bottom:5px;
    height:710px;
}

div#tbRoute{
    padding-top:5px;
}

table#customerList, table#routeList {
    font-size: 13px;
}

table#routeList > tbody > tr.deliveryComplete > td {
    background-color: #ababab ;
}
table#routeList > tbody > tr.deliveryPostponed > td {
    background-color: purple;
    color: #ffffff;
}

table#routeList > tbody > tr.deliveryCancelled > td {
    background-color: red;
    color: #ffffff;
}


#customerList_filter button {
    padding:3px 8px;
    margin-top: -3px;
}


#customerList_filter button:focus {
    border-color: red;
}

span#deliveryCount {
    margin-left: 5px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: normal;
    background-color: #ededed;
    color: #000;
}

div#customerList_info, div#customerList_filter label, div#customerList_filter input {
    font-size: 13px;
}

div#customerList_filter {
    padding-top:3px;
}

div#customerList_filter input {
    padding:2px;
    height: 25px;
}

table#routeList h4 {
    display:inline-block;
}

.panel-heading {
    font-weight: bold;
    border-bottom:1px solid #888888;
}

/** Remove DataTables sorting icons */
table.dataTable thead > tr > th.sorting_asc,
table.dataTable thead > tr > th.sorting_desc,
table.dataTable thead > tr > th.sorting,
table.dataTable thead > tr > td.sorting_asc,
table.dataTable thead > tr > td.sorting_desc,
table.dataTable thead > tr > td.sorting {
    padding-right: 8px;
}

th.sorting_asc::after,
th.sorting_desc::after {
    content: "" !important;
}

div.customerHeader {
    background-color: #EFEFEF;
    border-bottom: 1px solid #888888;
    font-weight: bold;
    font-size: 1.1em;
    padding: 5px;
    margin-bottom:0;
}

/** tank template */
div#deliveryTankWrapper {
    padding-top:5px;
}

div.tankName {
    font-weight: bold;
}

div#tankWrapper {
    height:590px;
    width: 100%;
    overflow-x: scroll;
    overflow-y: scroll;
}

div.tankInfo {
    padding-left: 0;
    padding-right: 5px;
    width: 210px;
    display: inline-block;
    border-right: 1px solid #888888;
}

div#deliveryCustomerPanel {
    background-color:#EFEFEF;
    border-left: 1px solid #555555;
    padding:15px;
    height: 610px;
}

div#deliveryCustomerPanel.blue {
    background-color: cornflowerblue;
}

div#deliveryCustomerPanel.green {
    background-color: limegreen;
}
div#deliveryCustomerPanel.yellow {
    background-color: yellow;
}
div#deliveryCustomerPanel.orange {
    background-color: orange;
}
div#deliveryCustomerPanel.red {
    background-color: red;
}
div#deliveryCustomerPanel.black {
    color: #FFFFFF;
    background-color: black;
}

div#customerAccountType,
div#customerSigReq,
div#customerECReq {
    background-color: #FFFFFF;
    padding: 2px;
    /*animation: blinker 1.5s linear infinite;*/
}
div#customerSlips {
    background-color: plum;
    padding: 2px;
}

div#customerAccountType {
    color:red;
}

div#customerSigReq, div#customerECReq {
    color: forestgreen;
}
div#customerMultiSites {
    background-color: cornflowerblue;
}


div#deliveryCustomerInfo {
    height: 520px;
    padding-top: 10px;
}

div#deliveryCustomerInfo > div {
    padding:4px;
    margin-top: 2px;
}
div#deliveryCustomerTanks {
    height: 610px;
}

div#customerAddress {
    margin-bottom: 15px;
}

div#customerOSDescript{
    background-color:mediumpurple;
}

div.deliveryButtons {
    text-align: center;
}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}


#removeModal .modal-content, #messageModal .modal-content, #yesnoModal .modal-content {
    width: 300px;
}
/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.buttonPlaceholder {
    display: inline-block;
    width: 25px;
}

div#reasonNote {
    padding-top: 10px;
}
textarea#txtRemoveReasonNote {
    
    width: 200px;
    height: 80px;
}

.funkyradio div {
    clear: both;
    overflow: hidden;
}

.funkyradio label {
    width: 100%;
    border-radius: 3px;
    border: 1px solid #D1D3D4;
    font-weight: normal;
}

.funkyradio input[type="radio"]:empty,
.funkyradio input[type="checkbox"]:empty {
    display: none;
}

.funkyradio input[type="radio"]:empty ~ label,
.funkyradio input[type="checkbox"]:empty ~ label {
    position: relative;
    line-height: 2.5em;
    text-indent: 3.25em;
    /*margin-top: 2em;*/
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.funkyradio input[type="radio"]:empty ~ label:before,
.funkyradio input[type="checkbox"]:empty ~ label:before {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    content: '';
    width: 2.5em;
    background: #D1D3D4;
    border-radius: 3px 0 0 3px;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
    color: #888;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label:before,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
    content: '\2714';
    text-indent: .9em;
    color: #C2C2C2;
}

.funkyradio input[type="radio"]:checked ~ label,
.funkyradio input[type="checkbox"]:checked ~ label {
    color: #777;
}

    .funkyradio input[type="radio"]:checked ~ label:before,
    .funkyradio input[type="checkbox"]:checked ~ label:before {
        content: '\2714';
        text-indent: .9em;
        color: #333;
        background-color: #ccc;
    }

.funkyradio input[type="radio"]:focus ~ label:before,
.funkyradio input[type="checkbox"]:focus ~ label:before {
    box-shadow: 0 0 0 3px #999;
}

.funkyradio-default input[type="radio"]:checked ~ label:before,
.funkyradio-default input[type="checkbox"]:checked ~ label:before {
    color: #333;
    background-color: #ccc;
}

.funkyradio-primary input[type="radio"]:checked ~ label:before,
.funkyradio-primary input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #337ab7;
}

.funkyradio-success input[type="radio"]:checked ~ label:before,
.funkyradio-success input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #5cb85c;
}

.funkyradio-danger input[type="radio"]:checked ~ label:before,
.funkyradio-danger input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #d9534f;
}

.funkyradio-warning input[type="radio"]:checked ~ label:before,
.funkyradio-warning input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #f0ad4e;
}

.funkyradio-info input[type="radio"]:checked ~ label:before,
.funkyradio-info input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #5bc0de;
}


/* The Close Button */
.close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-top: -5px;
}

.close:hover,
.close:focus {
    text-decoration: none;
    cursor: pointer;
    color: #c43031;
}


button#modalClose.close.icon-green:hover, button#modalClose.close.icon-green:focus {
    color: green !important;
}


textarea#customerAdditionalNotes {
    width: 500px;
    height: 200px;
}

div#customerSlips.blink {
    animation: blinkred 1.5s linear infinite;
}

.blinkred {
    animation: blinkred 1.5s linear infinite;
}

.blinkpurple {
    animation: blinkpurple 1.5s linear infinite;
}

.blinkblue {
    animation: blinkblue 1.5s linear infinite;
}

.blinkorange {
    animation: blinkorange 1.5s linear infinite;
}

/******* Animations **********/
@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}


@keyframes blinkred {
    0% {
        background-color: #FFFFFF;
    }

    25% {
        background-color: #FF9999;
    }

    50% {
        background-color: #FF4E4E;
    }

    75% {
        background-color: #FF9999;
    }

    100% {
        background-color: #FFFFFF;
    }
}

@keyframes blinkpurple {
    0% {
        background-color: #FFFFFF;
    }

    25% {
        background-color: mediumpurple;
    }

    50% {
        background-color: rebeccapurple;
    }

    75% {
        background-color: mediumpurple;
    }

    100% {
        background-color: #FFFFFF;
    }
}

@keyframes blinkorange {
    0% {
        background-color: #FFFFFF;
    }

    25% {
        background-color: orange;
    }

    50% {
        background-color: orangered;
    }

    75% {
        background-color: orange;
    }

    100% {
        background-color: #FFFFFF;
    }
}

@keyframes blinkblue {
    0% {
        background-color: #FFFFFF;
    }

    25% {
        background-color: lightblue;
    }

    50% {
        background-color: cornflowerblue;
    }

    75% {
        background-color: lightblue;
    }

    100% {
        background-color: #FFFFFF;
    }
}

.login-form {
    width: 340px;
    margin: 50px auto;
}

.login-form > div {
    margin-bottom: 15px;
    /*background: #fff2d3;*/
    background-color:#f7f7f7;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    padding: 30px;
}

#loginMessage{
    text-align: center;
    color: #555;
}

#loginFeedback {
    display:none;
    text-align: center;
    color: #555;
}

footer {
    padding-top:10px;
    border-top: 1px solid #ddd;
}