﻿/*!
 * Start Bootstrap - Simple Sidebar (https://startbootstrap.com/template-overviews/simple-sidebar)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-simple-sidebar/blob/master/LICENSE)
 */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
body {
    overflow-x: hidden;
    overflow-y: scroll; /* Show vertical scrollbar */
    /*background-image: url('../images/pattern.png');
    background-repeat: repeat;*/
    background-color: antiquewhite;
    font-family: 'Ubuntu', sans-serif;
    text-align: right;
}

nav {
    background-color: #5A3F85;
    border-color: #a593c2;
}

#logo {
    width: 80%;
}

#navbarSupportedContent {
    height: 80px;
}

.navbar {
    padding: 0;
    height: 3.5rem;
}

.sidebar-logo {
    height: 80px;
    /*background-color: #a593c2;*/
    border-color: #a593c2;
}


/*profile picture*/
.profile {
    width: 240px;
    overflow-y: visible;
    position: absolute;
}

.profile-bg, .profile-picture {
    width: 240px;
    height: 160px;
    position: relative;
    padding:5px;
}

.profile-bg {
    overflow: hidden;
}

    .profile-bg img {
        width: 250px;
        height: 250px;
        filter: blur(16px);
        -webkit-filter: blur(16px);
        margin: -5px;
        border: 0;
    }

.profile-picture img.account-photo {
    width: 160px;
    height: 160px;
    margin-right: 40px;
    margin-top: 40px;
}

.circle {
    border-radius: 50%;
}

.menu {
    position: absolute;
}

#sidebar-wrapper {
    width: 240px;
    min-height: 100vh;
    margin-right: -15rem;
    -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 {
        padding: 0.875rem 1.25rem;
        font-size: 1.2rem;
    }

    #sidebar-wrapper .list-group {
        width: 15rem;
    }

.list-group-item.active, .list-group-item.active:active, .list-group-item.active:focus, .list-group-item.active:visited {
    color: white;
    background-color: #a593c2 !important;
    border-color: #a593c2;
    font-weight: bold;
}

.title {
    color: white;
    padding-right: 25px;
}

#page-content-wrapper {
    min-width: 100vw;
}

.container-fluid {
    padding: 25px;
}

#wrapper.toggled #sidebar-wrapper {
    margin-right: 0;
}

#side-bar-toggle-button {
    margin-right: 0;
    width: 80px;
}

@media (min-width: 768px) {
    #side-bar-toggle-button {
        margin-right: -30rem;
    }

    #sidebar-wrapper {
        margin-right: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-right: -15rem;
    }
}

.page-title {
    color: #23cfa7;
    font-size: 28px;
    font-weight: bold;
}

.table {
    background-color: white;
}

.table-btn {
    background-color: #23cfa7;
    border-color: #23cfa7;
}

    .table-btn:hover, .table-btn:active {
        color: #fff;
        background-color: #a593c2 !important;
        border-color: #a593c2 !important;
    }

.quick-add-btn {
    font-size: 36px;
    position: fixed;
    right: 30px;
    bottom: 30px;
}

.section-detail, .section-edit, .entity-edit {
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.6);
}

    .section-detail .form-group {
        margin-bottom: 0;
    }

.section-detail-img {
    width: 150px;
    height: auto;
}

.track-order-map {
    width: 350px;
    height: 500px;
    flex-shrink: 0;
}

.edit-btn {
    background-color: #23cfa7;
    border-color: #23cfa7;
    color: #fff;
}

    .edit-btn:hover, .edit-btn:active {
        color: #fff;
        background-color: #a593c2;
        border-color: #a593c2;
    }

.edit-outline-btn {
    border-color: #23cfa7;
}

    .edit-outline-btn:hover, .edit-outline-btn:active {
        color: #fff;
        background-color: #a593c2 !important;
        border-color: #a593c2 !important;
    }


.widget {
    padding: 25px;
    margin: 10px;
    background: #fff;
}

    .widget h3 {
        margin-right: 0px;
    }

    .widget img {
        max-width: 100px;
    }

#sidebar-wrapper {
    background: #5A3F85 !important;
}

.section-box {
    padding: 10px;
}

.img-responsive {
    width: 100%;
}

.validation-errors {
    list-style: none;
    margin: 25px 0;
    padding: 0;
    color: red;
}

.validation-message {
    list-style: none;
    margin: 25px 0;
    padding: 0;
    color: red;
}


#sidebar {
    color: #fff;
    transition: all 0.3s;
}

    #sidebar.active {
        margin-right: -250px;
    }

    #sidebar .sidebar-header {
        padding: 20px;
        background: #6d7fcc;
    }

    #sidebar ul.components {
        padding: 20px 0;
    }

    #sidebar ul p {
        color: #fff;
        padding: 10px;
    }

    #sidebar ul li a {
        padding: 10px;
        font-size: 1.1em;
        display: block;
        color: #fff;
        font-family: 'Open Sans', sans-serif;
        font-size:0.8em;
    }

        #sidebar ul li a:hover {
            color: #7386D5;
            text-decoration: none;
            background: #fff;
        }

    #sidebar ul li.active > a,
    a[aria-expanded="true"] {
        color: #fff;
    }

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: none;
    position: absolute;
    top: 50%;
    left: -18px;
    transform: translateY(-50%);
}

#userprofile.dropdown-toggle::after {
    display: block;
}

#sidebar .sub-menu li a {
    padding-right: 25px;
}

.dropdown-toggle {
    cursor: pointer;
}

.sub-menu {
    margin-right: -40px;
    transition: opacity 1s ease-out;
    opacity: 0;
    height: 0;
    overflow: hidden;
    background:#7D66A3;
}


#sidebar .toggle-hide {
    opacity: 0;
    height: 0;
}

#sidebar .toggle-show {
    opacity: 1;
    height: auto;
}


/*@font-face {
    font-family: "Ionicons";
    src: url("https://code.ionicframework.com/ionicons/2.0.1/fonts/ionicons.eot?v=2.0.1");
    src: url("https://code.ionicframework.com/ionicons/2.0.1/fonts/ionicons.eot?v=2.0.1#iefix") format("embedded-opentype"), url("https://code.ionicframework.com/ionicons/2.0.1/fonts/ionicons.ttf?v=2.0.1") format("truetype"), url("https://code.ionicframework.com/ionicons/2.0.1/fonts/ionicons.woff?v=2.0.1") format("woff"), url("https://code.ionicframework.com/ionicons/2.0.1/fonts/ionicons.svg?v=2.0.1#Ionicons") format("svg");
    font-weight: normal;
    font-style: normal;
}

#sidebar ul li a:after {
    content: '\f124';
    font-family: ionicons;
    font-size: 0.5em;
    width: 10px;
    position: absolute;
    right: 0.75em;
    top: 45%;
    margin-right: 200px;
}*/

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    right: 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;
        left: 0.75rem;
        top: 0.5rem;
    }

fieldset {
    border: 2px solid darkgray;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    padding: 3px;
    margin: 2px;
}
.label-custom {
    margin-right: -10px;
}
.close-btn-custom {
    margin: -20px !important;
}
.box-shadow-custom {
    box-shadow: 17px 10px 15px 10px #7D66A3;
}
/*footer*/
.footer-custom {
    width: 79%;
    height: 3.5rem;
    display: flex;
    position: fixed;
    bottom: 5px;
    background: #5A3F85;
}
.footer-detail {
    display: flex;
    align-items: center;
    margin: 0 auto;
}
.footer-detail img{
    cursor:pointer;
}
.footer-detail h4{
    color:#fff;
}

/*end footer*/