﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    /* max-width: 280px;*/
}

nav.col-md-2.d-none.d-md-block.bg-light.sidebar {
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}



/* Added Css*/
.main-body {
    margin-top: 0% !important;
    padding: 10px;
    margin-left: 290px;
    margin-right: 0px !important
}

.mg-1 {
    margin-top: 1rem !important;
}

.card {
    box-shadow: 0 0.1rem 0.1rem rgba(0, 0, 0, 0.15) !important
}

.shadow {
    box-shadow: 0 0.1rem 0.1rem rgba(0, 0, 0, 0.15) !important
}

body {
    background: white !important;
}

.stylecdn {
    padding: 30px;
}

.s {
    color: #d44950;
}

.code_cdn {
    padding: 1.5rem 1rem 0.6rem 1rem;
    background-color: #f8f9fa
}

.btn-clipboard:hover {
    color: #fff;
    background-color: #027de7;
}

.sidenav-bar {
    background-color: lightgreen;
    margin-top: 47px;
    height: 100%;
    width: 290px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    overflow-x: scroll;
    padding: 0px;
}

.hidden-part {
    color: white;
    display: none;
    width: 25%;
}

.div_nav {
    margin-left: 0;
}

@media only screen and (max-width: 768px) {
    /*.sidenav-bar {
        width: 0px;
        display: none;
    }*/

    .main-body {
        margin-left: 0px;
    }

    .hidden-part {
        display: contents;
    }

    .div_nav {
        margin-left: 10px;
    }
}


/*For Scrollbar*/

::-webkit-scrollbar {
    width: 3px;
    height: 5px;
}


::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}


::-webkit-scrollbar-thumb {
    background: #333132 !important;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
   background: #b30000;
}