﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

[role="main"] {
    padding-top: 15px; /* Space for fixed navbar */
}


a.navbar-brand {
    white-space: normal;
    /*text-align: center;*/
    word-break: break-all;
    text-indent: 50px;
}

.navbar-brand sub {
    font-size: xx-small;
    color: #ccc;
}

.navbar-nav {
    flex-direction: row;
}

    .navbar-nav .nav-link {
        padding: 5px 15px;
    }


.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #6c757d !important;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    /*margin-top:45px;*/
    margin-bottom: 60px;
    background-color: #343a40 !important;
    color: white;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}


li.v-separator {
    border-left: 1px solid #777;
}

.navbar {
    min-height: 56px;
}

    .navbar > .container, .navbar > .container-fluid {
        display: block;
    }

.joonto-header {
    background: transparent url(/images/joonto-logo-w-2.png) no-repeat center center;
}

.navbar-brand {
    padding-left: 0px;
    width: 160px;
    height: 35px;
}

h5.sidebar-heading {
    font-weight: bold !important;
}

/* iOS Style: Rounded */
.toggle.ios, .toggle-on.ios, .toggle-off.ios {
    border-radius: 20rem;
}

    .toggle.ios .toggle-handle {
        border-radius: 20rem;
    }

/* call logs */
td.recording-url {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* rating */

.starrating > input {
    display: none;
}
/* Remove radio buttons */

.starrating > label:before {
    content: "\f005"; /* Star */
    margin: 2px;
    font-size: 16px;
    font-family: FontAwesome;
    display: inline-block;
}

.starrating > label {
    color: #222222; /* Start color when not clicked */
}

.starrating > input:checked ~ label {
    color: #ffca08;
}
/* Set yellow color when star checked */

.starrating > input:hover ~ label {
    color: #ffca08;
}
/* Set yellow color when star hover */


.tab-content div.tab-pane {
    padding: 15px 20px;
}

    .tab-content div.tab-pane.active {
        border-left: 1px solid #dee2e6;
        border-right: 1px solid #dee2e6;
        border-bottom: 1px solid #dee2e6;
    }

.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}


select.invalid, div.invalid {
    border: 1px solid #e80c4d !important;
}


.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}

ol.call-ranking {
    padding-left: 18px;
}

.modal-lg {
    max-width: 975px !important;
    width: 975px !important;
}

input.error {
    border: 1px solid #e80c4d;
}

label.error {
    color: #e80c4d;
}

/* for stripe v3 credit-card form */
div.card-form .group {
    background: white;
    /*box-shadow: 0 7px 14px 0 rgba(49,49,93,0.10), 0 3px 6px 0 rgba(0,0,0,0.08);
        border-radius: 4px;*/
    margin-bottom: 20px;
}

div.card-form label {
    position: relative;
    /*color: #8898AA;*/
    font-weight: 300;
    height: 40px;
    line-height: 40px;
    margin-left: 20px;
    display: flex;
    flex-direction: row;
}

div.card-form .group label:not(:last-child) {
    border-bottom: 1px solid #F0F5FA;
}

div.card-form label > span {
    width: 80px;
    text-align: right;
    margin-right: 30px;
}

div.card-form .field {
    background: transparent;
    font-size: 20px;
    font-weight: 300;
    border: 0;
    color: #31325F;
    outline: none;
    flex: 1;
    padding-right: 10px;
    padding-left: 10px;
    cursor: text;
}

    div.card-form .field::-webkit-input-placeholder {
        color: #CFD7E0;
    }

    div.card-form .field::-moz-placeholder {
        color: #CFD7E0;
    }

.list-group-flush .list-group-item {
    border: 0 !important;
}

img.avatar {
    width: 240px;
    height: 255px;
    border-radius: 50%;
    margin-top: 3px;
    cursor: pointer;
    border: 1px solid #ccc;
    padding: 8px;
}


img.avatar-xs {
    height: 30px !important;
    width: 30px !important;
    border-radius: 50%;
}

img.avatar-sm {
    height: 48px;
    width: 48px;
    border-radius: 30px;
}

img.avatar-md {
    height: 120px;
    width: 120px;
    border-radius: 30px;
}

img.icon-16 {
    height: 16px;
    width: 16px;
    margin-right: 8px;
    margin-top: 5px;
}

.hidden {
    visibility: hidden;
}

.joonto-virtual-number {
    padding: 5px;
}

.pulse {
    animation: blinker 1.0s cubic-bezier(.5, 0, 1, 1) infinite alternate;
}

@keyframes blinker {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}


@-webkit-keyframes ring {
    0% {
        -webkit-transform: rotate(-15deg);
        transform: rotate(-15deg)
    }

    2% {
        -webkit-transform: rotate(15deg);
        transform: rotate(15deg)
    }

    4% {
        -webkit-transform: rotate(-18deg);
        transform: rotate(-18deg)
    }

    6% {
        -webkit-transform: rotate(18deg);
        transform: rotate(18deg)
    }

    8% {
        -webkit-transform: rotate(-22deg);
        transform: rotate(-22deg)
    }

    10% {
        -webkit-transform: rotate(22deg);
        transform: rotate(22deg)
    }

    12% {
        -webkit-transform: rotate(-18deg);
        transform: rotate(-18deg)
    }

    14% {
        -webkit-transform: rotate(18deg);
        transform: rotate(18deg)
    }

    16% {
        -webkit-transform: rotate(-12deg);
        transform: rotate(-12deg)
    }

    18% {
        -webkit-transform: rotate(12deg);
        transform: rotate(12deg)
    }

    20% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
}

@keyframes ring {
    0% {
        -webkit-transform: rotate(-15deg);
        -ms-transform: rotate(-15deg);
        transform: rotate(-15deg)
    }

    2% {
        -webkit-transform: rotate(15deg);
        -ms-transform: rotate(15deg);
        transform: rotate(15deg)
    }

    4% {
        -webkit-transform: rotate(-18deg);
        -ms-transform: rotate(-18deg);
        transform: rotate(-18deg)
    }

    6% {
        -webkit-transform: rotate(18deg);
        -ms-transform: rotate(18deg);
        transform: rotate(18deg)
    }

    8% {
        -webkit-transform: rotate(-22deg);
        -ms-transform: rotate(-22deg);
        transform: rotate(-22deg)
    }

    10% {
        -webkit-transform: rotate(22deg);
        -ms-transform: rotate(22deg);
        transform: rotate(22deg)
    }

    12% {
        -webkit-transform: rotate(-18deg);
        -ms-transform: rotate(-18deg);
        transform: rotate(-18deg)
    }

    14% {
        -webkit-transform: rotate(18deg);
        -ms-transform: rotate(18deg);
        transform: rotate(18deg)
    }

    16% {
        -webkit-transform: rotate(-12deg);
        -ms-transform: rotate(-12deg);
        transform: rotate(-12deg)
    }

    18% {
        -webkit-transform: rotate(12deg);
        -ms-transform: rotate(12deg);
        transform: rotate(12deg)
    }

    20% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg)
    }
}

.faa-ring.animated,
.faa-ring.animated-hover:hover,
.faa-parent.animated-hover:hover > .faa-ring {
    -webkit-animation: ring 2s ease infinite;
    animation: ring 2s ease infinite;
    transform-origin-x: 50%;
    transform-origin-y: 0px;
    transform-origin-z: initial
}

span.grip {
    content: '....';
    width: 20px;
    display: inline-block;
    overflow: hidden;
    line-height: 5px;
    padding: 3px 4px;
    cursor: move;
    vertical-align: middle;
    margin-top: -.7em;
    margin-right: .3em;
    font-size: 12px;
    font-family: sans-serif;
    letter-spacing: 2px;
    color: #cccccc;
    text-shadow: 1px 0 1px black;
}

    span.grip::after {
        content: '.. .. .. .. .. ..';
    }

.btn-light {
    background-color: transparent !important;
}

.list-group-item-action {
    color: #afafaf !important;
}

.list-group-item.active {
    color: #e7e7e7 !important;
    background-color: #2D3236 !important;
}

.card {
    border: 0 !important;
}

.card-border {
    border: 1px solid #e9ecef !important;
    border-radius: 5px !important;
}

.card-header {
    border-bottom: 0 !important;
}

.icon-avatar {
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    padding: 8px;
    width: 48px;
    height: 48px;
}

.table th {
    border-top: 0 !important;
}

.x-small, x-small {
    font-size: 55%;
    font-weight: 300;
}

.bold {
    font-weight: bold;
}

.datepicker {
    z-index: 1600 !important; /* has to be larger than 1050 */
}

.card-footer {
    background-color: #fff !important;
}

/* ios style buttons */
.btn, .btn-sm, .btn-md, .btn-lg {
    border-radius: 2rem;
}

.btn-xs {
    border-radius: 1rem !important;
}

/* sidebar*/

#wrapper {
    overflow-x: hidden;
}

#sidebar-wrapper {
    margin-left: -15rem;
    min-height: 100vh;
    -webkit-transition: margin .25s ease-out;
    -moz-transition: margin .25s ease-out;
    -o-transition: margin .25s ease-out;
    transition: margin .25s ease-out;
}

    #sidebar-wrapper .sidebar-heading {
        font-size: 1.2rem;
        padding: 0.75rem 1.25rem;
    }

    #sidebar-wrapper .list-group {
        width: 15rem;
    }

#page-content-wrapper {
    min-width: 100vw;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

#menu-toggle {
    display: inline-block;
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -15rem;
    }

    #menu-toggle {
        display: none;
    }

    #sidebar-wrapper .sidebar-heading {
        padding: 0.5rem 1.25rem;
    }

    .top-bar {
        background-image: none !important;
    }
}