﻿html, body {
    font-family: Arial,sans-serif;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.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;
        background-color: #24272a;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
            /*  color: #24272a;*/
            color: #edf0f3
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.sidebar {
    background-image: linear-gradient(180deg,#24272a 10%,#d66226 40%);
}

    .sidebar .top-row.navbar {
          background-color: #24272a;
       /* background-color: #000000;*/
        padding: 0;
    }

    .sidebar img {
        max-width: 100%;
        max-height: 55px;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: .9rem;
        padding-bottom: .5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a.nav-link {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
            justify-content: center;
        }

            .sidebar .nav-item a.nav-link.active {
                background-color: rgba(255,255,255,.25);
                color: #fff;
            }

            .sidebar .nav-item a.nav-link:hover {
                background-color: rgba(255,255,255,.1);
                color: #fff;
            }

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255,255,255,.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #f00;
}

.validation-message {
    color: #f00;
}

#blazor-error-ui {
    background: #ffffe0;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,.2);
    display: none;
    left: 0;
    padding: .6rem 1.25rem .7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: .75rem;
        top: .5rem;
    }

.ui-widget.ui-spinner.no-buttons .ui-spinner-button {
    display: none;
}


@media(max-width:767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.aut{   
        /* justify-content: space-between;*/
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
    .hide-menubar {
        display: none;
    }
    .img-main-layout {
        display: none;
    }

}

@media(min-width:768px) {
    app {
        flex-direction: row;
    }
    .fixed-navbar {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1030;
    }

    .sidebar {
        width: 200px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
        z-index:100;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        display: block;
    }
 
    .img-nav-layout{
        display:none
    }
    
}


/*Aditya*/
/*---Ipad---*/
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
    .row-btn-client {
        text-align: center;
        margin: 12px;
        top: -19px;
        left: 186px;
        height: 2px;
    }

    .row-md-btn {
        width: 160px;
        color: white;
        margin-top: 42px;
        margin-left: -3px;
        padding: 6px;
    }

    .row-btn-site {
        text-align: center;
        left: 256px;
    }

    .code-lbl {
        margin-left: -6px;
    }

    .hide-menubar {
        margin-left: 58px;
    }
}
/*-----Ipad Pro-----*/
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {

    .row-btn-client {
        text-align: center;
        margin: 17px;
        top: -16px;
        left: 258px;
        height: 2px;
    }

    .row-md-btn {
        width: 160px;
        color: white;
        margin-top: -6px;
        margin-left: -20px;
        padding: 0px;
    }

    .row-btn-site {
        text-align: center;
        left: 386px;
    }

    .code-lbl {
        margin-left: 1px
    }

    .hide-menubar {
        margin-left: -26px;
    }
}
/*---Iphone5s---*/
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-device-pixel-ratio: 2) and 
(device-aspect-ratio: 40/71) and (orientation:portrait) {

    .main .top-row > a
    {
        font-size: 13px;
    }
}

.row-btn {
    text-align: center;
    margin-bottom: 20px;
}

.hide-menubar {
    margin-left: -36px;
    background-color: #24272a;
    padding: 15.2px;
}

.slide-bar {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    color: rgba(255,255,255,.5);
  
}



   
