* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body, form, .wrapper {
    height: 100%;
    width: 100%;
    font-family: "Montserrat", sans-serif;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow-x: hidden;
}


.scrollup {
    position: fixed;
    bottom: 2%;
    right: 2%;
    z-index: 99;
    font-size: 40px;
    color: #c3126f;
    border: 3px solid #c3126f;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    text-align: center;
}


    .scrollup svg {
        height: 40px;
        position: relative;
        vertical-align: top;
        margin-top: 4px;
    }


    .scrollup:hover {
        background-color: #c3126f;
        color: white;
    }

.navbar-body li a {
    text-decoration: none;
    color: inherit;
    color: white;
    padding: 10px 20px;
    width: 100%;
    display: inline-block;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
}

    .navbar-body li a svg {
        opacity: 0.5;
        margin-right: 5px;
    }

.navbar-body li:hover a svg {
    opacity: 0.99;
    margin-right: 5px;
}

.navbar-body li li a {
    padding: 8px 20px 10px 20px;
    border: none;
    background: none;
    /* opacity: 0.7; */
    color: rgba(255, 255, 255, 0.75);
    font-weight: normal;
    text-transform: inherit;
    font-size: 13px;
}

.navbar-body {
    clear: both;
    overflow: auto;
    /*background: rgba(255, 255, 255, 0.12);*/
    max-height: 871px;
}

    .navbar-body::-webkit-scrollbar {
        width: 10px;
        background: rgba(0,0,0,0.1);
    }
    /* this targets the default scrollb
    .navbar-body::-webkit-scrollbar-track {
        background-color: #b46868;
    } */ /* the new scrollbar will have a flat appearance with the set background color */
    .navbar-body::-webkit-scrollbar-thumb {
        background-color: #12c3be;
        -moz-border-radius: 15px;
        border-radius: 15px;
    }
    /* this will style the thumb, ignoring the track */
    .navbar-body::-webkit-scrollbar-button {
        background-color: #f1f1f1;
    }
    /* optionally, you can style the top and the bottom buttons (left and right for horizontal bars) */
    .navbar-body::-webkit-scrollbar-button {
        background-color: #f1f1f1;
        display: none
    }
    /* optionally, you can style the top and the bottom buttons (left and right for horizontal bars) */
    .navbar-body::-webkit-scrollbar-corner::before {
    }

    .navbar-body::-webkit-scrollbar-corner {
        background-color: #12c3be;
        -moz-border-radius: 15px;
        border-radius: 15px;
    }
/* if both the vertical and the horizontal bars appear, then perhaps the right bottom corner also needs to be styled */


#sidebar {
    /* padding: 20px 0; */
    background-color: #2e3e97;
    width: 220px;
    visibility: visible;
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    -webkit-transition: 250ms ease-in;
    transition: 250ms ease-in;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    /*float:left;*/
    margin: 0px !important;
}

#checkbox:checked ~ #sidebar {
    width: 0;
    -webkit-animation: sidebarAnim 500ms;
    animation: sidebarAnim 500ms;
}

    #checkbox:checked ~ #sidebar .nav-item {
        -webkit-transform: translateX(-200px);
        transform: translateX(-200px);
    }

    #checkbox:checked ~ #sidebar .brand-logo {
        -webkit-transform: translateX(-200px);
        transform: translateX(-200px);
        visibility: hidden;
    }

    #checkbox:checked ~ #sidebar .navbar-header {
        visibility: hidden;
    }

#sidebar .navbar-header,
header.navbar-header {
    display: -webkit-box;
    display: -ms-flexbox;
    /* display: flex; */
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.28);
    color: white;
    margin: 0px
}

    #sidebar .navbar-header .brand-logo {
        font-size: 1.5em;
        -webkit-transform: translateX(0);
        transform: translateX(0);
        -webkit-transition: 250ms ease-in;
        transition: 250ms ease-in;
        visibility: visible;
        color: white;
    }

.nav-item .nav-item .nav-link::before {
    content: "-";
    color: #fff;
    font-weight: bold;
    font-family: "Font Awesome 5 Free";
    margin-right: 5px;
}

.navbar-body li {
    /* padding: 10px 20px; */
    cursor: pointer;
    -webkit-transition: 400ms all ease-in-out;
    transition: 400ms all ease-in-out;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.navbar-body .nav-link:hover {
    background-color: rgba(255,255,255,0.3);
}

#main-content {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    padding: 0px;
    overflow: auto;
    background: #f6f6f6;
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex; /* NEW, Spec - Firefox, Chrome, Opera */
    /*min-height:860px;*/
}
    /*
#main-content .container {
  clear:inherit
}

    #main-content  div.testata {
        display: inherit
    }*/
    #main-content .check-box {
        cursor: pointer;
        display: inline-block;
        position: relative;
        float: left;
        padding: 20px;
        background: #12c3be;
        margin: 0px 20px;
    }

        #main-content .check-box .line {
            width: 20px;
            height: 2px;
            background-color: #ffffff;
            margin: 4px 0;
            display: block;
        }

#checkbox {
    display: none;
}


@media screen and (max-width:1034px) {





    #checkbox:checked ~ #sidebar {
        visibility: visible;
        -webkit-transform: translateX(0) !important;
        transform: translateX(0) !important;
        -webkit-transition: 250ms ease-in;
        transition: 250ms ease-in;
        visibility: visible;
        width: 220px !important;
    }

    #checkbox ~ #sidebar {
        width: 0px !important;
        -webkit-transform: translateX(-200px) !important;
        transform: translateX(-200px) !important;
        visibility: visible;
    }

    #sidebar {
    }

    #checkbox:checked ~ #sidebar {
        width: 220px;
        -webkit-animation: none;
        animation: none;
    }

    #checkbox ~ #sidebar {
        width: 0;
        -webkit-animation: sidebarAnim 500ms;
        animation: sidebarAnim 500ms;
    }

        #checkbox ~ #sidebar .nav-item,
        #checkbox ~ #sidebar .brand-logo {
            -webkit-transform: translateX(-200px) !important;
            transform: translateX(-200px) !important;
        }



    #checkbox:checked ~ #sidebar .navbar-header,
    #checkbox:checked ~ #sidebar .brand-logo {
        visibility: visible !important;
    }

    #checkbox:checked ~ #sidebar .nav-item,
    #checkbox:checked ~ #sidebar .brand-logo {
        -webkit-transform: translateX(0px) !important;
        transform: translateX(0px) !important;
    }

    #checkbox ~ #sidebar .nav-item {
        -webkit-transform: translateX(0px) !important;
        transform: translateX(0px) !important;
    }

    #checkbox ~ #sidebar .brand-logo {
        -webkit-transform: translateX(0px) !important;
        transform: translateX(0px) !important;
    }
}


@media screen and (max-width:670px) {
    .scrollup {
        bottom: 2%;
        right: 6%;
    }
}


@-webkit-keyframes sidebarAnim {
    0% {
        width: 220px;
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
        visibility: visible;
    }

    50% {
        width: 220px;
    }

    100% {
        width: 0;
        opacity: 0;
        -webkit-transform: translateX(-220px);
        transform: translateX(-220px);
        visibility: hidden;
    }
}

@keyframes sidebarAnim {
    0% {
        width: 220px;
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
        visibility: visible;
    }

    50% {
        width: 220px;
    }

    100% {
        width: 0;
        opacity: 0;
        -webkit-transform: translateX(-220px);
        transform: translateX(-220px);
        visibility: hidden;
    }
}





@media screen and (max-height:1024px) {

    .navbar-body {
        max-height: 889px;
    }
}

@media screen and (max-height:812px) {

    .navbar-body {
        max-height: 766px;
    }
}

@media screen and (max-height:768px) {

    .navbar-body {
        max-height: 722px;
    }
}

@media screen and (max-height:670px) {
    .navbar-body {
        max-height: 610px;
    }
}

@media screen and (max-height:568px) {
    .navbar-body {
        max-height: 522px;
    }
}

@media screen and (max-height: 415px) {
    .navbar-body {
        max-height: 368px;
    }
}

@media screen and (max-height:375px) {

    .navbar-body {
        max-height: 329px;
    }
}
