#container {
    width: 100%;
    padding-top: 65px;
}

.btn-upload {
    position: relative;
}

.btn-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 50px;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.btn-upload .btn {
    position: absolute;
    width: 100%;
    z-index: 1;
}

.btn-primary {
    color: #ffffff;
    background: #07C417;
    border: 1px solid #07C417;
}

.btn-primary:hover {
    background: #07C417;
    border: 1px solid #07C417;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #07C417;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #07C417;
}

.select2-container .select2-selection--single {
    height: 42px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #07C417 !important;
}

.navbar {
    width: 100%;
    z-index: 1001;
    top: 0;
}

.nav-item img {
    width: 20px;
    margin-right: 10px;
    margin-left: 15px;
}

.nav-item.active {
    background: #CCCCCC;
}

.content {
    float: left;
    padding: 20px;
    width: calc(100% - 250px);
    margin-left: 250px;

}

.content-body {
    min-height: calc(100vh - 150px);
}

.sidebar {
    width: 250px;
    height: calc(100vh - 65px);
    overflow-x: hidden;
    float: left;
    position: fixed;
    left: 0;
}

.sidebar .nav-link {
    font-size: 14px;
    padding: 10px 0;
}

/*register*/
.register .logo img {
    height: 60px;
}

/*login*/
.login .bg-login {
    width: 500px;
    max-width: 100%;
}

.login .logo {
    height: 60px;
}

.bg-translucent-primary {
    background-color: rgba(63, 87, 223, .3) !important;
}

.bg-translucent-danger {
    background: rgba(243, 20, 64, .3) !important;
}
.bg-translucent-success {
    background-color: rgba(39,177,118,.3) !important;
}
.bg-translucent-warning {
    background-color: rgba(250,70,29,.3) !important;
}
.text-30{
    font-size: 30px;
}
.chart-image {
    width: 90px;
    margin: 0 auto;
    display: block;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 10px #DDDDDD;
    padding: 5px;
}

.child-menu{
    display: none;
    width: 100% !important;
}
.parent-menu{
    cursor: pointer;
}

.pagine {
    text-align: center;
    padding: 20px 0;
}

.pagine a, .pagine strong {
    display: inline-block;
    padding: 5px 20px;
    background: #ffffff;
    border: 1px solid #c0c0c0;
    border-radius: 5px;
}

.pagine strong {
    background: #07C417;
    color: #ffffff;
    border: 1px solid #07C417;
    cursor: not-allowed;
}

.pagine a:hover {
    background: #c0c0c0;
    color: #ffffff;
    border: 1px solid #c0c0c0;
}

.img-100 {
    max-width: 100%;
    height: auto;
    width: 300px;
}

.modal-dialog {
    max-width: 700px !important;
}

.full-width {
    width: 100% !important;
}

.text-sub {
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.text-sub.sub-2 {
    -webkit-line-clamp: 2;
}

.register {
    position: relative;
}

.modal-register {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #ECEEF6;
    z-index: 1;
}

.modal-register-body {
    width: 500px;
    max-width: 100%;
    margin: 100px auto;
}

.custom-control-label {
    margin-bottom: 0;
    padding-top: 2px;
}

.profile {
    width: 30px;
    height: 30px;
}

.profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #07C417;
}

.dashboard {
    overflow: hidden;
    position: relative;
}

.dashboard .icon {
    width: 70px;
    line-height: 100%;
    position: absolute;
    bottom: 0;
    top: 0;
    height: 100%;
    display: flex;
    /*border-radius: 0 0 35px 35px;*/
    box-shadow: none;
}

.dashboard .icon i {
    margin: auto;
}

.icon-text {
    width: calc(100% - 70px);
    float: right;
}

@media screen and (max-width: 1024px) {
    .text-30 {
        font-size: 15px;
    }
    .dashboard h3 {
        font-size: 0.8rem !important;
    }
    .d-md-none {
        display: block !important;
    }

    .d-lg-block {
        display: none !important;
    }

    .sidebar {
        z-index: 9999;
        width: 0;
    }

    .content {
        width: 100%;
        margin-left: 0;
    }

    .hy-drawer-content {
        background: #ffffff;
    }
}

@media screen and (max-width: 768px) {
    .dashboard .p-2{
        padding: 5px !important;
    }
    .dashboard .mb-4{
        margin-bottom: 15px !important;
    }
    .text-sm {
        font-size: .75rem !important;
    }
    #navbar-default .navbar-nav {
        flex-direction: row;
    }

    #navbar-default .nav-item {
        padding: 0 3px;
    }

    .d-lg-block {
        display: none;
    }

    .login .blog1 {
        display: none;
    }

    .login .blog2 {
        padding-left: 15px !important;
        margin: 0 auto;
    }

    .register .border-right {
        border-right: 0 !important;
        padding-right: 15px !important;
    }

    .register .card-body {
        padding: 15px !important;
    }

    .register .blog2 {
        padding-left: 15px !important;
    }

    .register .col-md-7.pr-0 {
        padding-right: 15px !important;
    }

    .btn-upload {
        margin-bottom: 50px;
        margin-top: 5px;
    }
}

@media screen and (max-width: 640px) {
    .dashboard .p-2{
        border-radius: 0;
    }
    .dashboard .mb-4{
        margin-bottom: 0 !important;
    }
    .dashboard{
        padding: 0 15px;
    }
    .dashboard .col-md-4{
        width: 50% !important;
        padding: 0px !important;
    }
    .custom-control-inline {
        display: block;
        margin-right: 1rem;
        margin-bottom: 10px;
    }

    .btn, input[type="date"] {
        width: 100%;
        margin: 5px 0;
    }

    .btn-sm {
        width: 100px;
        max-width: 100%;
        font-size: 7px;
    }

    .col-sm-6 {
        width: 50%;
    }

    .col-sm-3 {
        width: 25%;
    }

    .chart-image {
        width: 50px;
    }
}
