﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #484848;
    padding-top: 10px;
    background-color: white;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-site {
    color: #FFF !important;
    background-color: #f46113 !important;
    border-color: #f46113 !important;
}


.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.navbar-nav > li > a.btn {
    color: #FFF !important;
    background-color: #f46113 !important;
    border-color: #f46113 !important;
}


.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/** https://www.twilio.com/company/brand */
:root {
    --twilio-red: #F22F46;
    --twilio-blue: #0D122B;
}

.twilio-text {
    color: var(--twilio-red);
}

a.list-group-item.list-group-item-action.active {
    color: #FFF;
    background-color: #f46113;
    border-color: #f46113;
}

.twilio-btn-red {
    border-radius: 10px !important;
    border: 1px solid var(--twilio-red);
}

.twilio-btn-blue {
    background-color: var(--twilio-blue);
    border-color: var(--twilio-blue);
    color: #fff;
}

    .twilio-btn-blue:not(:disabled):hover {
        background-color: #00000C;
        border-color: #00000C;
    }

input:disabled, .btn:disabled {
    border-color: #444;
    cursor: not-allowed;
}

audio {
    display: none;
}

.participants-grid {
    position: relative;
}

    .participants-grid > .embed-responsive-9by16:nth-of-type(1) {
        position: absolute;
        top: 0;
        width: 20%;
        z-index: 2;
        right: 0;
    }

    .participants-grid > .embed-responsive-9by16:nth-of-type(2) {
        top: 0;
        width: 100%;
    }

app {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.main {
    flex: 1;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Navigation */
.navbar {
    background-color: #12203a;
    padding: 5px 0 0px;
    margin-bottom: 0;
    border-radius: 0;
    min-height: 50px;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
}

.navbar-nav > li {
    float: right;
    margin-bottom: 0px;
}

    .navbar-nav > li > i {
        color: #FFF;
        font-size: 14px;
        padding: 2px 7px;
        text-align: center;
        font-weight: 700;
    }

    .navbar-nav > li > a:focus,
    .navbar-nav > li > a:hover:not(.btn) {
        background-color: transparent;
    }

    .navbar-nav > li > a.btn {
        height: auto;
        padding: 11px 12px;
        text-decoration: none;
        font-size: 16px;
    }

        .navbar-nav > li > a.btn.btn-portal {
            background-color: transparent;
            border-color: #FFF;
            color: #FFF;
            margin-left: 5px;
            max-width: 78px;
            text-align: center;
            white-space: normal;
            padding: 10px 4px 4px;
            font-size: 10px;
            line-height: 12px;
            min-height: 44px;
        }

.navbar-header {
    flex: 1;
    text-align: center;
    align-content: center;
}

    .navbar-header .slogan {
        display: none;
    }

.hide-nav .navbar-header {
    float: none;
    margin: 0 auto;
    text-align: center;
}

.hide-nav .logo {
    margin: 0 auto;
}

.hide-nav .slogan {
    display: block;
    color: #FFF;
    letter-spacing: 0.5px;
    opacity: .8;
    margin-bottom: 0;
}

#main-nav {
    background-color: #364d79;
    margin-top: 0px;
}

@media(min-width: 768px) {
    #main-nav {
        margin-top: 15px;
    }

    .navbar-nav > li > a.btn.btn-portal {
        max-width: 98px;
        padding: 4px 5px;
        font-size: 13px;
        line-height: 16px;
        border-width: 2px;
    }
}

@media(max-width: 350px) {
    .hamburger {
        padding: 11px 8px 11px 4px;
    }

    .hamburger-box {
        width: 28px;
    }

    .hamburger-inner, .hamburger-inner::after, .hamburger-inner::before {
        width: 28px;
    }

    .navbar-nav > li > a.btn {
        padding: 11px 6px;
    }
}

.logo {
    margin: 0 auto;
    width: 200px;
    height: 50px;
    background-size: 170px;
    background-position: 0px 9px;
}

.navbar-nav {
    padding-top: 10px;
}

    .navbar-nav > li > a.btn.btn-portal {
        margin-left: 15px;
    }

    .navbar-nav > li > a.btn {
        padding: 11px 40px;
    }

        .navbar-nav > li > a.btn.btn-portal {
            max-width: 103px;
        }

.hamburger-inner,
.hamburger-inner:after,
.hamburger-inner:before {
    width: 40px;
}

.hamburger-box {
    width: 40px;
}

nav .nav-item {
    width: 16%;
    vertical-align: top;
}


.hide-nav .navbar .navbar-collapse,
.hide-nav .navbar .navbar-toggle,
.hide-nav #mainMenu {
    display: none !important;
}

.collapse.open {
    display: block;
}

@media (max-width: 767px) {
    /* Mimic bootstraps menu */
    .navbar-collapse {
        overflow: hidden;
        overflow-y: hidden;
        max-height: 0; /* approximate max height */
        transition-property: all;
        -webkit-transition-timing-function: ease;
        -o-transition-timing-function: ease;
        transition-timing-function: ease;
        -webkit-transition-duration: .35s;
        -o-transition-duration: .35s;
        transition-duration: .35s;
    }

        .navbar-collapse.open {
            max-height: 248px;
        }
}

@media (min-width: 768px) {
    .navbar {
        padding: 10px 0 0;
        min-height: 50px;
    }

    .hide-nav .navbar {
        min-height: 75px;
    }

    .navbar-nav > li > a {
        text-align: left;
        padding: 2px 25px;
    }
}

.logo-centered .navbar-header {
    float: none;
}

    .logo-centered .navbar-header .logo {
        left: 50%;
        position: relative;
        transform: translateX(-50%);
        background-image: url(/images/tc/logo.png);
        background-size: contain;
        background-position: 0;
    }

.home-page.acceptance-target .navbar-header {
    float: none;
}

    .home-page.acceptance-target .navbar-header a {
        margin: auto;
    }

.logo {
    width: 184px;
    height: 50px;
    display: block;
    background-repeat: no-repeat;
    background-image: url(/images/tc/logo.png);
    background-size: 180px;
    background-position: 0px 0px;
}

/* typical phone screen resolution */
@media only screen and (max-width : 667px) {
    .logo {
        transform: translateX(-50%);
        left: 50%;
        position: absolute;
        top: 2px;
    }
}

.customer-body {
    padding-top: 88px !important;
}

.nav-container {
    display: flex;
    flex: 1;
}

.hasLoader {
    background-image: url(/images/ajax-loader.gif);
    background-repeat: no-repeat;
    background-position: center right 10px;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.embed-responsive {
    display: block;
    padding: 0;
    overflow: hidden;
}

    .embed-responsive .embed-responsive-item,
    .embed-responsive iframe,
    .embed-responsive embed,
    .embed-responsive object,
    .embed-responsive video {
        /* position: absolute; */
        top: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        border: 0;
    }

.hidden {
    display: none !important;
}

.backgroundRed {
    -webkit-animation: blinker 1s infinite; /* Safari 4+ */
    -moz-animation: blinker 1s infinite; /* Fx 5+ */
    -o-animation: blinker 1s infinite; /* Opera 12+ */
    animation: blinker 1s infinite;
}

@keyframes blinker {
    from {
        background-color: red;
    }

    to {
        background-color: #fff;
    }
}

div.sticky {
    position: -webkit-sticky;
    position: sticky;
    bottom: 5px;
}

.waiting-agent {
    color: white;
    z-index: 10;
}

.waiting-video {
    width: 100% !important;
}

.fixed-bottom {
    position: fixed;
    bottom: 3%;
}

.top-row {
    position: sticky;
    top: 0;
    z-index: 1;
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: baseline;
    height: 2rem;
}
.font-weight-bold{
    font-weight: bold;
}
.ractive{
    border:3px solid #007bff;
}
/* Loader Overlay */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's in front of everything */
    z-index: 1075 !important; /* Higher than Bootstrap modal (1050) */
}

/* Loader Spinner */
.loader {
    border: 8px solid #f3f3f3; /* Light gray */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

/* Spin Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
