﻿body {
    font-size: .875rem;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

/*
 * Sidebar
 */

.sidebar {
    position: fixed;
    top: 0;
    /* rtl:raw:
  right: 0;
  */
    bottom: 0;
    /* rtl:remove */
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 48px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
    .sidebar {
        top: 5rem;
    }
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    font-weight: 500;
    color: #f6fff8;
}

    .sidebar .nav-link .feather {
        margin-right: 4px;
        color: #727272;
    }

    .sidebar .nav-link.active {
        color: #fdfcdc;
        font-weight: bold;
        background-color: #15616d !important;
        font-size: 20px !important;
    }

        .sidebar .nav-link:hover .feather,
        .sidebar .nav-link.active .feather {
            color: inherit;
        }

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

.nav-item {
    margin-bottom: 5px !important;
    cursor: pointer !important;
    background-color: #68A7D3 !important;
    /*background-color: #415a77 !important;*/
}

.btn-link {
    text-decoration: none !important;
}

.btn-link-active {
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: bold !important;
    /*background-color: #62B463 !important;*/
    background-color: #e5e5e5 !important;
}



/*
 * Navbar
 */

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

    .form-control-dark:focus {
        border-color: transparent;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
    }

.bg-dark {
    background-color: #4259A2 !important;
}
.main-cont {
    margin-left: 5px !important;
    margin-right: 5px !important;
}

.custom-link {
    cursor: pointer !important;
    color: #007bff !important;
}

.custom-link-red {
    cursor: pointer !important;
    color: #dc3545 !important;
}

.card-link {
    cursor: pointer !important;
}

.font-18 {
    font-size: 18px !important;
}

.font-20 {
    font-size: 20px !important;
}

.font-bold {
    font-weight: bold !important;
}

.font-italic {
    font-style: italic !important;
}

.underline {
    text-decoration: underline !important;
}

.disabled-link {
    pointer-events: none;
    color: #ccc;
}

.mx-sco {
    margin-left: 5px !important;
    color: black !important;
    font-weight: bolder !important;
}

.mx-bg-green {
    background-color: green !important;
}

.mx-bg-orange {
    background-color: orange !important;
}

.mx-bg-red {
    background-color: red !important;
}

.mx-bg-maroon {
    background-color: crimson !important;
}

/* TWILIO CALLS */

.dialer {
    background-color: #111;
    position: fixed;
    bottom: -510px;
    right: 30px;
    padding: 20px 30px;
    width: 295px;
    border-top-left-radius: 5px;
    transition: 1s bottom;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.dialer--show-top {
    bottom: -450px;
}

.dialer--incoming-call {
    animation: shake 1s cubic-bezier(.36, .07, .19, .97) infinite both;
}

.dialer--show {
    bottom: 0;
}

.show-hide-button {
    position: absolute;
    top: -38px;
    right: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.dial-pad button {
    display: block;
    float: left;
    border-radius: 37.5px;
    width: 75px;
    height: 75px;
    margin-bottom: 5px;
    margin-right: 5px;
    font-size: 24px;
}

    .dial-pad button:nth-child(3n) {
        margin-right: 0;
    }

@keyframes shake {
    5%, 45% {
        transform: translate3d(-1px, 0, 0);
    }

    10%, 40% {
        transform: translate3d(1px, 0, 0);
    }

    15%, 25%, 35% {
        transform: translate3d(-2px, 0, 0);
    }

    20%, 30% {
        transform: translate3d(2px, 0, 0);
    }
}
