﻿/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    /* 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: 26px;
        width: 26px;
        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(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

/* Styles for wrapping the search box */

.main {
    width: 50%;
    margin: 50px auto;
}

/* Bootstrap 4 text input with search icon */

.has-search .form-control {
    padding-left: 2.375rem;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}
.h5 {
    font-weight: normal;
}
.fa-fw {
    color:white;
}


.form-group {
    position: relative;
}

.form-control-placeholder {
    position: absolute;
    top: 0;
    padding: 7px 0 0 13px;
    transition: all 200ms;
    opacity: 0.5;
}

.form-control:focus + .form-control-placeholder,
.form-control:valid + .form-control-placeholder {
    font-size: 75%;
    transform: translate3d(0, -100%, 0);
    opacity: 1;
}
body.fixed-nav {
    padding-top:0px;
}

footer.sticky-footer {
    background-color: #212529;
}

.card-body-icon {
    opacity: 0.4;
}

#mainNav.navbar-dark .navbar-collapse .navbar-sidenav > .nav-item > .nav-link {
    color: #ffffff;
}
.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
}

.dropdown-divider {
    margin:0;
    color:darkgrey
}

#mainNav.navbar-dark .navbar-collapse .navbar-sidenav li.active a {
    background-color: #007bff;
}

#mainNav.navbar-dark .navbar-collapse .navbar-sidenav > .nav-item > .nav-link {
    border: 1px solid transparent;
}

.breakHidden {
    height: 15px;
}

@media (max-width: 992px) {
    .nav-padding {
        padding-left: .5em;
    }

    .navbar-nav.navbar-sidenav {
        padding-left: .5em;
    }

    #mainNav.navbar-dark .navbar-collapse .navbar-sidenav > .nav-item > .nav-link {
        padding-left: .5em;
    }

    #mainNav.navbar-dark .navbar-collapse .navbar-sidenav li.active a {
        border-radius: 5px;
    }

    ul.tab li a:focus, .active {
        background-color: #343a40;
    }
    .billingAmount{
        margin-top:2em;
    }
   
}

@media (min-width: 992px) {

    .billingAmount {
        margin-top: 2em;
    }
}

.card-body-icon {
    font-size: 5.8rem;
}

.chart-area {
    height:320px;
}

@media (max-width: 576px) {
    .breakHidden {
        display: none;
        height: 15px;
    }
    .billingBreakdown {
       font-size: small;
    }
    .billingAmount {
        margin-top: auto;
    }
    .display-4 {
        font-size: 2.7em;
    }
}

/* Size of the icons on the dashboard (large background icons on cards) */
.card-body-icon {
    font-size: 5.8rem;
}

/* Add a margin to the bottom of the container so the content doesn't hit the footer */
.container-fluid {
    margin-bottom: 15px;
}

/* Change all trash icons to be grey */
.fa-trash {
    float:right; font-size:x-large; color: #6c757d; text-decoration: none;
}

/* Change the hover color of the trash icon to red */
button:hover.TechDelete {
    background-color: #dc3545;
    text-decoration: none;
}

/* Override the background and text color of the hullabaloo alert */
.alert-success {
    background-color:#28a745;
    color:white;
}

/* Override the background and text color of the hullabaloo alert */
.alert-danger {
    background-color:#dc3545;
    color: white;
}

/* Style to create the rounded pill style (used for search entry) */
.pillRounding {
    border-radius:24px;
}

/* Div table formatting */
.table {
    display: table;
    width:100% !important;
}

.table-row {
    display: table-row;
}

.table-col {
    width: auto;
    display: table-cell;
    border-bottom: solid;
    border-width: thin;
    padding-left: 5px;
    padding-right: 5px;
}

.card-title {
    margin-bottom: 0rem;
}

.inactiveTechColor {
    color: darkred
}

.activeTechColor {
    color: #28a745;
}

.hiddenCard {
    display:none;
}

/* Show-Hide Password */
.pass_show {
    position: relative
}

    .pass_show .ptxt {
        position: absolute;
        top: 50%;
        right: 10px;
        z-index: 1;
        color: #212529;
        margin-top: -12px;
        cursor: pointer;
        transition: .3s ease all;
    }