@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #ebeeef;
}
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

@font-face {
    font-family: CCode39;
    src: url('/fonts/ConnectCode39.woff') format('woff')
}

#barcode {
    font-weight: normal;
    font-style: normal;
    line-height: normal;
    font-family: 'CCode39', sans-serif;
    text-align: center;
    font-size: 14px
}

#barcode_text {
    font-weight: normal;
    font-style: normal;
    line-height: normal;
    font-family: sans-serif;
    text-align: center;
    font-size: 12px

}

.webreport {
    padding-left: 20px;
    padding-right: 24px;
}

.btn-search {
    margin-top: 10px;
    min-width: 150px;
    padding: 7px 10px;
    font-size: 14px;
}

.Absolute-Center {
    margin: auto;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
}
Absolute-Center.is-Responsive {
    width: 50%; 
    height: 50%;
    min-width: 200px;
    max-width: 400px;
    padding: 40px;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
    padding-top: 100px;
}

.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}
.navbar-fixed-top .navbar-collapse,
.navbar-static-top .navbar-collapse,
.navbar-fixed-bottom .navbar-collapse {
    padding-right: 0;
    padding-left: 0;
}

.navbar-static-top {
    border-radius: 0;
}

.navbar-static-top {
    z-index: 1000;
    border-width: 0 0 1px;
}
.navbar {
    height: 51px;
}
.top-bar {
    height: 5rem;
    background-color: rgb(255,255,255);
    background-image: linear-gradient(rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 70%);
    display: flex;
    align-items: stretch;
    color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
    padding: 0 3rem;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}
.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

.main .top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
}

.main .top-row > a {
    margin-left: 1.5rem;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 55%;
    position: absolute;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

/*.sidebar {
    padding-top: 5rem;
    background-color: #7f8fa4;
    width: 120px;
    height: 100vh;
    position: sticky;
    top: 0;
}

.sidebar .top-row {
    background-color: rgba(0,0,0,0.4);
}

.sidebar .navbar-brand {
    font-size: 1.1rem;
}

.sidebar .oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}*/

/*.logo {
    margin-right: 3rem;
    margin-top: 1rem;
    width: 180px;
    height: 50px;
    background-size: cover;
}*/



.nav-tab {
    margin: 0;
    padding: 0.3rem 1.8rem;
    display: inline-block;
    background-color: rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
    position: relative;
    text-transform: uppercase;
    transition: 0.2s ease-out;
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type {
    padding-top: 1rem;
}

.nav-item:last-of-type {
    padding-bottom: 1rem;
}


.navigation {
    padding-top: 5rem;
    position: absolute;
    width: 80px;
    height: 100%;
    background-color: #7f8fa4;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}
.navigation_item {
    cursor:pointer;
    position:relative;
    padding:30px 0
}

.navigation_item_left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.navigation_item:hover {
    background-color:rgba(79,95,116,.5)
}

.nav-item a {
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

.nav-item a.active {
    background-color: rgba(255,255,255,255);
    color: white;
}

.nav-item a:hover {
    background-color: rgba(255,255,255,255);
    color: white;
}

.content {
    padding-left: 1rem;
    padding-top: 6rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.blazored-appointment-modal {
    display: flex;
    flex-direction: column;
    width: 50vw;
    height: 60vh;
    background-color: #fafafa;
    border-radius: 12px;
    border: 1px solid #fff;
    padding: 0.5rem;
/*    z-index: 102;*/
    box-shadow: 0 2px 2px rgba(0,0,0,.75);
}
.blazored-addresschange-modal {
    display: flex;
    flex-direction: column;
    width: 60vw;
    height: 60vh;
    background-color: #fafafa;
    border-radius: 12px;
    border: 1px solid #fff;
    padding: 0.5rem;
    z-index: 102;
    box-shadow: 0 2px 2px rgba(0,0,0,.75);
}

.blazored-schedule-modal {
    display: flex;
    flex-direction: column;
    width: 620px;
    height: 600px;
    background-color: #fefefe;
    border-radius: 4px;
    border: 1px solid #fff;
    padding: 0.5rem;
    z-index: 102;
    box-shadow: 0 2px 2px rgba(0,0,0,.75);
}

.blazored-dispatch-modal {
    display: flex;
    flex-direction: column;
    width: 620px;
    height: 640px;
    background-color: #fefefe;
    border-radius: 4px;
    border: 1px solid #fff;
    padding: 0.5rem;
    z-index: 102;
    box-shadow: 0 2px 2px rgba(0,0,0,.75);
}

@media (max-width: 767.98px) {
    .main .top-row {
        display: none;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }
    .col-md-offset-4 {
        margin-left: 33.33333333%;
    }
    /*.sidebar {
        padding-top: 5rem;
        background-color: #7f8fa4;
        width: 160px;
        height: 100vh;
        position: sticky;
        top: 0;
    }*/
    .navbar-static-top {
        border-radius: 0;
    }
    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }


    /*.sidebar .collapse {
        /*Never collapse the sidebar for wide screens */
        /*display: block;
    }*/

    @media print {
        html, body {
            
            height: 100%;
            width: 100%;
            
        }
        .call-list {
            border: solid 2px;
            width: 100%;
            height: 100%;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
        }
        .call-list-row {
            border:solid 2px;
        }
        
    }
}
