﻿.topnavbar{
    position:fixed;
    width:100%;
    border-bottom:5px solid #3f71ea;
    background: rgba(219,216,219,1);
    background: -moz-linear-gradient(top, rgba(219,216,219,1) 0%, rgba(245,245,245,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(219,216,219,1)), color-stop(100%, rgba(245,245,245,1)));
    background: -webkit-linear-gradient(top, rgba(219,216,219,1) 0%, rgba(245,245,245,1) 100%);
    background: -o-linear-gradient(top, rgba(219,216,219,1) 0%, rgba(245,245,245,1) 100%);
    background: -ms-linear-gradient(top, rgba(219,216,219,1) 0%, rgba(245,245,245,1) 100%);
    background: linear-gradient(to bottom, rgba(219,216,219,1) 0%, rgba(245,245,245,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dbd8db', endColorstr='#f5f5f5', GradientType=0 );
    height:60px;
    /*border-bottom:solid 1px #808080;*/
    box-shadow:1px 2px 2px #808080;
    z-index:98;
}

.topnavbar .logo {
    float:left;
    display:block;
    padding:3px;
}

.topnavbar  .companyname {
    float:left;
    display:block;
    padding:3px;
    margin-top:10px;
}

.topnavbar .companyname span{
    color:#008DD0;
    font-family: Tahoma, Verdana;
    font-size:2em;
    font-weight:bold;
}

.topnavbar .logo img{
    position:relative;
    height:55px;
    width:150px;
    border-radius:3px;
}

.topnavbar .menu{
    float:right;
    display:block;
    padding:10px;
    margin:10px;
}


@media screen and (max-width: 480px) {
    .topnavbar  .companyname {
        display:none;
    }
}

/* Start of Side Menu */            
    .sidenav {
        height: 100%; /* 100% Full-height */
        width: 0; /* 0 width - change this with JavaScript */
        position: fixed; /* Stay in place */
        z-index: 1; /* Stay on top */
        top: 0;
        right: 0;
        background: rgba(242,242,242,1);
        background: -moz-linear-gradient(45deg, rgba(242,242,242,1) 0%, rgba(206,225,238,0.92) 100%);
        background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(242,242,242,1)), color-stop(100%, rgba(206,225,238,0.92)));
        background: -webkit-linear-gradient(45deg, rgba(242,242,242,1) 0%, rgba(206,225,238,0.92) 100%);
        background: -o-linear-gradient(45deg, rgba(242,242,242,1) 0%, rgba(206,225,238,0.92) 100%);
        background: -ms-linear-gradient(45deg, rgba(242,242,242,1) 0%, rgba(206,225,238,0.92) 100%);
        background: linear-gradient(45deg, rgba(242,242,242,1) 0%, rgba(206,225,238,0.92) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#cee1ee', GradientType=1 );
        overflow-x: hidden; /* Disable horizontal scroll */
        padding-top: 60px; /* Place content 60px from the top */
        transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
        z-index:99;
        font-size: 5px;
        font-family: Tahoma;
        /*border-left:solid .75px #d8d5d5;*/
    }

    /* The navigation menu links */
    .sidenav a {
        /*padding: 0px 0px 2px 10px;*/
        text-decoration: none;
        font-family: Tahoma, Verdana;
        font-size: 11px;
        /*color: #808080;*/
        display: block;
        transition: 0.3s;
    }

    /* When you mouse over the navigation links, change their color */
    .sidenav a:hover, .offcanvas a:focus{
        color: #f6770b;
    }

    /* Position and style the close button (top right corner) */
    .sidenav .loginpic{
        position:absolute;
        top:10px;
        left:15px;
        border:solid 1px #fcfcfc;
        border-radius:2px;
        background-color:#e4e3e3;
        height:30px;
        width:30px;
        padding:3px;
    }

    .sidenav .username {
        position:absolute;
        top:15px;
        left:60px;
        font-weight:bold;
        color:#1b8a0a;
    }

    .sidenav .loginout{
        position:absolute;
        top:32px;
        left:60px;
        font-size:12px;
        font-weight:bold;
    }

    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

    /* start of accordian menu*/
    button.accordion {
        background-color: #302f2f;
        color: #bebfc2;
        cursor: pointer;
        padding: 18px;
        font-family: Tahoma, Verdana;
        font-size:15px;
        width: 100%;
        border: none;
        text-align: left;
        outline: none;
        font-size: 15px;
        transition: 0.4s;
    }

    button.accordion.active, button.accordion:hover {
        background-color: #062a72;
    }

    button.accordion:after {
        content: '\02795';
        font-size: 13px;
        color: #424141;
        float: right;
        margin-left: 5px;
        color:#fcfcfc;
    }

    button.accordion.active:after {
        content: "\2796";
        color:#424141;
    }

    div.panel {
        padding: 0 18px;
        background-color: #ebecef;
        max-height: 0;
        overflow: hidden;
        transition: 0.6s ease-in-out;
        opacity: 0;
        width:100%;
    }


    div.panel.show {
        opacity: 1;
        max-height: 500px;  
    }


    /* End of accordian menu*/
      /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
    @media screen and (max-height: 450px) {
        .sidenav {padding-top: 55px;}
        .sidenav a {font-size: 11px;}
    }

    @media screen and (min-width: 450px) {
        .sidenav {padding-top: 55px;}
    }
        
/* End of Side Menu */

/* Center box */
    .centerbox {
        position: relative;
        width:30%;
        height:150%;
        min-height:250px;
        overflow: auto;
        margin: auto;
        top: 0; left: 32%; bottom: 1%; right: 0;
        background-color: #ffffff;
        border-radius:3px;
        border:solid 1px #808080;
        /*transform: translateY(-50px);*/
        margin-top:5%;
        padding: 3px;
    }



.centerbox h2{
    position:relative;
    font-size:20px;
    color:#0c90ca;
    padding-left: 10px;
    font-family:Tahoma, Verdana;
}


.bodycontainer{
    position:absolute;
    width:100%;
    background-color:#ffffff;
    box-shadow:-2px 3px 5px #808080;
    margin-top:60px;
    min-height:100%;
    /*margin-left:0.5%;*/
    /*padding: 0 0.5% 0.5% 0.5%;*/
    
}