﻿/** Slider stuff begins **/
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 26px;
}

    /* Hide default HTML checkbox */
    .switch input {
        display: none;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 26px;
}

    .slider.round:before {
        border-radius: 50%;
    }
/** Slider stuff ends **/

/* Misc */
#radius,
#radius option {
    text-align: right;
    display: inline-block;
    width: 80px;
}
.tbl_models {
    width: 100%;
    border-collapse: collapse;
}
.tbl_models th,
.tbl_models td {
    margin: 50px;
    border: 1px solid #dfdfdf;
}
.tbl_models th,
.tbl_models td {
    padding: 4px 8px;
}
.nobreak {
    white-space: nowrap;
}

table.watchdog {
    border-collapse: collapse;
    font-size: 22px;
    margin-bottom: 50px;
}
table.watchdog th,
table.watchdog td {
    border: 1px solid #dfdfdf;
    line-height: 26px;
    padding: 4px 8px;
}

table.dealers {
    width: 100%;
    border-collapse: collapse;
}
table.dealers tr {
    border: 1px solid #dfdfdf;
}
table.dealers th,
table.dealers td {
    padding: 2px 4px;
}

tr.category td {
    font-weight: bold;
}

.col_model {
    min-width: 300px;
}

.error {
    font-size: 22px;
    margin: 50px;
}

th,
td {
    white-space: nowrap;
}

input[type="submit"],
input[type="reset"],
input[type="cancel"],
input[type="button"] {
    padding: 4px 8px;
    margin: 4px 8px;
    font-size: 14px;
}
#loading-image {
    display: block;
    position: absolute;
    top: 0; left: 0;
    margin: 200px auto;
    z-index: 1000;
}
div.elementWide {
    position: relative;
}
div#loading-image {
    display: none;
    vertical-align: middle;
    width: 100%;
    margin: 0 auto;
}

.loading_wrapper {
    text-align: center;
    padding: 50px;
}

.loading_wrapper i {
    font-size: 10em;
}

.loading_wrapper p {
    text-align: center !important;
    font-size: 2em;
}

div.foot-traffic {
    display: inline-block;
    vertical-align: top;
}

div.foot-traffic:last-of-type {
    margin-left: 40px;
    padding-top: 10px;
}

div.foot-traffic table {
    font-size: 1.5em;
    line-height: 1.4em;
}

div.foot-traffic table th,
div.foot-traffic table td {
    padding: 0 6px;
}

#LatestSvcEval,
#LatestSaleEval {
    display: none;
    max-width: 1000px;
}

h2#latestEquityTotal,
h2#latestSaleSNS,
h2#latestSaleReadyPurchase,
h2#LatestServiceSNS
{
    font-weight: bold;
    color: black;
}

.flex1 {
    flex: 1;
}

.service-customer-count {
    font-size: 1.5em;
    font-weight: bold;
    flex: 1;
    text-align: right;
}

#RecentTable td,
#InactiveTable td,
#LostTable td {
    width: 50%;
}

#marketshareServiceBarChart {
    max-width: 500px;
}

#ServiceLineChart {
    width: 600px;
    height: 400px;
    display: none;
}

#ServicePieChart,
#OtherServicePieChart,
#ServiceBarChart {
    width: 150px;
}

/* Formerly within _LayoutOpportunities */
div.nav li a,
div.nav li.active a {
    text-decoration: none;
    border: none !important;
}

ul.nav-tabs > li {
    padding: unset;
}

ul.nav-tabs > li > a {
    margin: unset;
}

#service_tooltip_templates {
    display: none;
}

#sales_tooltip_templates {
    display: none;
}

.tbl_models a {
    color: #4f0099;
}

#alert-text {
    padding: 10px 0;
}

/* Internet/Service Opportunities */
.display_views > div {
    display: inline-block;
    vertical-align: middle;
}

select.ReportDistance {
    height: unset;
}
