.logotipo{
    background-image: url('../img/logo/logo_safer.svg');
    background-repeat: no-repeat;
    width: 139px;
    height: 38px;
    display: inline-block;
}
.logotipo-partner{
    background-image: url('../img/logo/logo_ddp.svg');
    background-repeat: no-repeat;
    width: 141px;
    height: 38px;
    display: inline-block;
}
.powered-by{
    background-image: url('../img/powered-safer.svg');
    background-repeat: no-repeat;
    width: 162px;
    height: 18px;
    display: inline-block;
}
@media (max-width: 576px) { 
    .logotipo{
        height: 32px;
    }
    .logotipo-partner{
        height: 32px;
    }
    .powered-by{
        width: 125px;
    }
}

/** new menu*/
/* background: linear-gradient(60deg, rgba(0,57,197,1) 75%, rgba(0,87,197,1) 100%); */
.sidebar{
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 78px;
    background: rgb(0,57,197);
    background: linear-gradient(45deg, rgb(0, 57, 197) 55%, rgb(12, 112, 243) 100%);
    padding: 6px 14px;
    z-index: 1020;
    transition: all 0.5s ease;
    border-radius: 0 30px 30px 0;
    box-shadow: -5px 5px 15px rgb(0 0 0 / 50%);
}
.sidebar.open{
    width: 280px;
    border-radius: 0 30px 30px 0;
}
.sidebar .logo-details{
    height: 60px;
    display: flex;
    align-items: center;
    position: relative;
}
.sidebar .logo-details #btn{
    width:28px;
    height:28px;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    transition: all 0.4s ease;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s ease;
    transform: rotate(-90deg);
}
.sidebar.open .logo-details #btn{
    filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.3));
    transform-origin: center center;
    transform: rotate(0deg);
}
.sidebar .logo-space {
    padding-top: 25px;
    margin-bottom: 0px;
    text-align: center;
    transition: all 0.5s ease-in;
    /* opacity: 0; */
}
.sidebar.open .logo-space {
    /* opacity: 1; */
}
.sidebar .logo-space img {
    height: 15px;
}
.sidebar.open .logo-space img {
    transition: all 0.5s ease-in;
    height: 30px;
}
.sidebar i{ /** three dots*/
    color: #fff;
    height: 60px;
    min-width: 50px;
    font-size: 28px;
    text-align: center;
    line-height: 60px;
}
.sidebar .nav-list{
    margin-top: 20px;
    height: 100%;
    padding-left: 0;
}
.sidebar li{
    position: relative;
    margin: 2px 0;
    list-style: none;
}
.sidebar li a{
    display: flex;
    height: 100%;
    width: 100%;
    border-radius: 10px;
    align-items: center;
    text-decoration: none;
    transition: all 0.25s ease;
}
.sidebar.open li a{
    text-shadow: rgba(0, 0, 0, 0.3) 1px 1px 4px;
}
.sidebar li a:hover{
    background-color: rgb(255, 255, 255, .1);
}
.sidebar li a.active {
    background-color: rgb(255, 255, 255, .1);
}
.sidebar li a .links_name{
    color: white;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
    text-transform: uppercase;
}
.sidebar.open li a .links_name{
    opacity: 1;
    pointer-events: auto;
}
.sidebar li a:hover .links_name
/* ,.sidebar li a:hover i */
{
    transition: all 0.2s ease;
    color: #ffffff;
}
/* .sidebar li i{
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    border-radius: 12px;
} */
.sidebar li .icon {
    width: 20px;
    height: 20px;
    margin: 12px;
    filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.2));
    transform: translateX(15%);
}
.sidebar li.profile{
    position: absolute;
    height: 70px;
    width: 75px;
    left: 0px;
    bottom: 20px;
    padding: 0px 0px;
    transition: all 0.5s ease;
    overflow: hidden;
    /* border-radius: 50px; */
}
.sidebar.open li.profile{
    width: 240px;
    margin: 0 20px;
    border-radius: 100px;
    background: #0e43ca;
    border: solid 1.5px #1f53d3;
}
.sidebar li .profile-details{
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    border-radius: 100px;
}
.sidebar li .profile-picture{
    height: 45px;
    width: 45px;
    object-fit: cover;
    border-radius: 150px; 
    margin: 11px;
    margin-right: 10px;
    filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.2));
}
.sidebar li.profile .name,
.sidebar li.profile .job{
    font-size: 13px;
    font-weight: 400;
    color: #fff;
    white-space: nowrap;
}
.sidebar li.profile .job{
    font-size: 10px;
    font-weight: bold;
}
.sidebar .profile #log_out{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background:rgb(0,57,197);
    border-radius: 0px;
    width: 100%;
    height: 75px;
    line-height: 75px;
    transition: all 0.5s ease;
    cursor: pointer;
    font-size: 14px;
}
.sidebar.open .profile #log_out{
    min-width: 0px;
    width: 45px;
    background: none;
}
#main{
    position: relative;
    min-height: 100vh;
    top: 0;
    left: 78px;
    width: calc(100% - 78px);
    transition: all 0.5s ease;
    /* z-index: 2; */ /** afecta al modal */
}
.sidebar.open ~ #main{
    left: 280px;
    width: calc(100% - 280px);
}

.sidebar-navbar{
    z-index: 1000; 
    margin-left: -25px;
}

/** buttons */
.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 100px;
    text-align: center;
    font-size: 12px;
    /* line-height: 1.42857; */
}

/* .btn-circle svg{
    font-size: 12;
    margin-right: 0rem !important;
} */
.btn-card {
    width: 100%;
    padding: .8rem;
    line-height: 12px;
    display: flex; 
    align-items:center; 
    /* box-shadow: rgba(0, 0, 0, 0.45) 0px 2px 4px -1px; */
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    border-radius: 6px; 
    border: solid 1px rgba(0,0,0,.05);
    transition: all 0.2s ease;
    color: #212529;
}
.btn-card:hover {
    box-shadow: rgba(0, 0, 0, 0.5) 0px 3px 5px -1px;
}

.text-safer {
    color: #203566 !important;
}

/**scrollbox-menu */
.scrollmenu {
	width: 100%;
	height: calc(100% - 160px);
	overflow: auto;
	visibility: hidden;
}
.scrollmenu-content,
.scrollmenu:hover,
.scrollmenu:focus {
	visibility: visible;
}
.scrollmenu::-webkit-scrollbar {
	background-color: rgba(0,0,0,0.125);
	width: 13px;
}
.scrollmenu::-webkit-scrollbar-thumb {
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 100px;
}

/** mobile */
@media (max-width: 768px) { 
    .sidebar{
        width: 280px;
        left: 0px;
    }
    .sidebar.open{
        left: -285px;
    }
    .sidebar li a .links_name{
        opacity: 1;
        pointer-events: auto;
        text-shadow: rgba(0, 0, 0, 0.3) 1px 1px 4px;
    }
    .sidebar li.profile{
        width: 240px;
        margin: 0 20px;
        border-radius: 100px;
        background: #0e43ca;
        border: solid 1.5px #1f53d3;
    }
    .sidebar .profile #log_out{
        min-width: 0px;
        width: 45px;
        background: none;
    }
    #main {
        left: 0px;
        width: 100%;
    }
    .sidebar.open ~ #main {
        width: 100%;
        left: 0px;
    }
    .sidebar-navbar {
        margin-left: 0px;
    }
    .scrollmenu {
        visibility: visible;
    }
}