/*
	Project: Psicologar;
	Year:  2021;
*/


/* Fontes */

@font-face {
    font-family: "Cabin";
    src: url(../font/Cabin-Regular.ttf);
}

@font-face {
    font-family: "Cabin";
    src: url(../font/Cabin-Bold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: "Cabin";
    src: url(../font/Cabin-Italic.ttf);
    font-style: italic;
}


/* Atributos globais */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Cabin", sans-serif;
    font-size: 16px;
    user-select: none;
}

:root {
    --bg-principal: #614d8a;
}

body{
    position: absolute;
    top: 0;
    right: 0;
    width: 100vw;
    min-height: 100vh;
}

/* Classes */

.conteudo{
    width: 100vw;
    height: 100vh;
    display: flex;
    background-color: #f1f1f1;
}

.loader, .bg-fixed{
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    z-index: 12;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading{
    width: 80px;
    height: 80px;
    border: 7px solid #ccc;
    border-radius: 50%;
    border-top-color: var(--bg-principal);
    animation: loader 1s infinite;
}

.bg-fixed{
    position: fixed;
    overflow: hidden !important;
}

.nav-hide{
    position: absolute;
    font-size: 40px !important;
    right: 25px;
    top: 20px;
}

.nav-vertical, .nav-header{
    background-color: #614d8a;
}

.nav-vertical .conteudo-nav{
    width: 280px;
    padding-bottom: 50px;
}

.conteudo-nav{
    height: 100vh !important;
    overflow-y: auto;
}

.logo-header{
    width: 100%;
}

.btn {
    background-color: var(--bg-principal);
    color: #fff;
    padding: 5px 25px;
}

.btn:hover {
    color: #fff;
    background-color: #614d8acc;
}

.container-principal{
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    position: relative;
}

.nav-perfil{
    width: 100%;
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: center;
}

.nav-img-perfil{
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.nav-name{
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 20px;
    color: #fff;
    width: 100%;
    text-align: center;
    font-weight: bold;
}

.nav-user{
    color: #ccc;
    margin-bottom: 0 !important;
}

.header-perfil{
    height: 80px;
    display: flex;
    align-items: center;
    padding: 10px 30px;
    justify-content: flex-end;
    background-color: #fff;
}

.header-img-perfil{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.header-name{
    font-weight: bold;
    font-size: 18px;
}

.header-name, .header-user{
    margin: 0;
    padding: 0;
}

.header-user{
    position: relative;
    top: -5px
}

.perfil-opt .opt{
    font-size: 25px;
    color: #999;
    margin-right: 20px;
    cursor: pointer;
}

.perfil-opt .opt:hover{
    color: var(--bg-principal);
}

.perfil-opt .opt-red:hover{
    color: #d9534f;
}

.perfil-info{
    display: flex;
    align-items: center;
    color: #444;
    padding-right: 20px;
    border-right: 1px solid #dfdfdf;
    margin-right: 20px;
}

.notify{
    position: relative;
    top: 0px;
    right: -28px;
    font-size: 10px;
    background-color: var(--bg-principal);
}

.notify-nav{
    position: relative;
    left: 8px;
    color: var(--bg-principal);
    background-color: #fff;
}

.nav-opt{
    margin-top: 30px;
}

.link-nav:hover{
    background-color: #0007;
}

.link-nav i{
    font-size: 25px;
    margin-left: 10px;
    margin-right: 15px;
    width: 30px;
    text-align: center;
    color: #CFC9DB;
}

.link-nav{
    padding: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.link-group{
    font-size: 14px;
    color: #fff;
    padding: 20px 30px 10px 30px;
}

.link-nav{
    color: #CFC9DB !important;
}

.link-nav-selected{
    border-left: 4px solid #fff;
    background-color: #0004;
    color:#EFEDF3;
}

.link-nav-selected i, .link-nav-selected a{
    position: relative;
    left: -4px;
    color:#fff !important;
}

.conteudo-nav::-webkit-scrollbar {
    width: 10px;
}
  
.conteudo-nav::-webkit-scrollbar-thumb {
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: #0003; 
}

.texto-destaque{
    color: var(--bg-principal);
    font-weight: 100;
    font-size: 30px;
    border-bottom: 1px solid #ddd;
}

.texto-destaque strong{
    font-size: 30px;
    font-weight: 900;
}

.border-none{
    border: none;
}

.bg-principal{
    background-color: var(--bg-principal);
    color: #fff;
}

/* Tags */

a {
    color: var(--bg-principal);
}

a:hover {
    text-decoration: none;
    color: #614d8acc;
}


/* IDs */
#logo-container {
    max-height: 9vh;
}

#logo-nav{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo-nav img{
    width: 70%;
}

#logo-nav i{
    display: none;
}

#logo-header{
    width: 100%;
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 10px 25px;
}

#logo-header img{
    max-width: 225px;
}

/* Animations */
@keyframes menuLateralShow{
    from{
        left: -1000px;
    }
    to{
        left: 0px;
    }
}

@keyframes loader{
    0%{
        transform: rotate(0deg)
    }
    100%{
        transform: rotate(360deg);
    }
}

/* MediaQuerys */
@media (max-width: 767.98px) {
    .nav-vertical{
        position: absolute;
        height: 100vh;
        left: 0;
        z-index: 10;
        display: flex;
        justify-content: space-between;
    }

    .abirNavegacao{
        animation: menuLateralShow 0.3s;
    }

    .abirNavegacao .conteudo-nav{
        display: block;
    }

    .conteudo-nav{
        display: none;
        width: calc(100vw - 50px) !important;
        max-width: 350px;
    }

    .container-disabled::after{
        content: '';
        width: 100vw;
        height: 100vh;
        background-color: #0005;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 9;
    }

    .nav-perfil{
        display: flex;
    }

    .header-perfil{
        display: none;
    }

    .conteudo-nav::-webkit-scrollbar {
        width: 8px;
    }

    #logo-nav img{
        width: 70%;
        display: none;
        margin-right: 20px;
    }
    
    #logo-nav i, #logo-header i{
        color: #0004;
        font-size: 25px;
        display: inline;
    }

    #logo-header{
        display: flex;
    }

    #logo-header img{
        width: 80%;
    }
}


/* Bootstrap Padrão

// Extra small devices (portrait phones, less than 576px)

@media (max-width: 575.98px) {}


// Small devices (landscape phones, 576px and up)

@media (min-width: 576px) and (max-width: 767.98px) {
   
}


// Medium devices (tablets, 768px and up) 

@media (min-width: 768px) and (max-width: 991.98px) {}


// Large devices (desktops, 992px and up) 

@media (min-width: 992px) and (max-width: 1199.98px) {}


// Extra large devices (large desktops, 1200px and up)

@media (min-width: 1200px) {}

*/