/* Alteraões ao main.css para o Portal_Decskill
/* Fonts */
@font-face {
    font-family: latoRegular;
    src: url(fonts/Lato-Regular.ttf);
}

@font-face {
    font-family: latoLight;
    src: url(fonts/Lato-Light.ttf);
}

@font-face {
    font-family: latoBold;
    src: url(fonts/Lato-Bold.ttf);
}

html,
body {
    font-family: latoRegular;
}

html {
    overflow: hidden;
}

:root {
    --vhscrolltable: 320px;
    --vhscrollcontacts: 145px;
    --vhscrollcatalogs: 276px;
    --main-color: #196b05;
    /* Este valor está diferente no CRM MX em produção */
    --aux-color: #626b6b;
    --side-bar-hover-color: #fff;
    --side-bar-hover-icons-color: #d90016;
    --side-bar-background-hover-color: #000;
    --side-bar-border-color: #394242;
    --tabs-background-color: #e3e3e3;
    --tabs-color: var(--main-color);
    --tabs-margin-right: 8px;
    --tabs-border-radius: 8px 8px 0px 0px;
    --tabs-box-shadow: none;
    --tabs-active-border-radius: var(--tabs-border-radius);
    --tabs-active-background-color: var(--main-color);
    --tabs-active-color: #fff;
    --tabs-active-bordertop-color: var(--main-color);
    --btn-border-radios: 6px;
    --tab-with-emails: #7fc150;
}

/* SCROLL STYLE */
::-webkit-scrollbar,
::-webkit-scrollbar-track,
::-webkit-scrollbar:horizontal,
::-webkit-scrollbar-track:horizontal {
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:horizontal {
    background-color: #afafaf;
    border-radius: 10px;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar:horizontal {
    height: 5px;
}


.scrollable-div::-webkit-scrollbar {
    width: 14px;
    background: transparent;
}

.scrollable-div::-webkit-scrollbar-track {
    box-shadow: inset 0 0 10px 10px #f6f5f5;
    border-left: solid 10px transparent;
    background: transparent;
}

.scrollable-div::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 10px 10px #afafaf;
    border-left: solid 10px transparent;
    background: transparent;
}

.scrollable-div::-webkit-scrollbar:horizontal {
    height: 14px;
}

.scrollable-div::-webkit-scrollbar-track:horizontal {
    box-shadow: inset 0 0 10px 10px #f6f5f5;
    border-top: solid 10px transparent;
}

.scrollable-div::-webkit-scrollbar-thumb:horizontal {
    box-shadow: inset 0 0 10px 10px #afafaf;
    border-top: solid 10px transparent;
}

/* */

.bg-white {
    background: none;
    background-color: transparent;
}

.panel {
    background-color: #f1f1f1;
}

.main-color {
    color: var(--main-color);
}

.page-content {
    background-color: #F0F0EF !important;
}

.transform50Y {
    top: 50%;
    transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

.x-navigation>li.xn-logo {
    background: var(--main-color);
}

.shadow {
    -webkit-box-shadow: 1px 1px 9px 0px rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 1px 1px 9px 0px rgba(50, 50, 50, 0.3);
    box-shadow: 1px 1px 9px 0px rgba(50, 50, 50, 0.3);
}

#btn_enviar {
    border-radius: 15px !important;
    min-width: 100px !important;
    background: var(--main-color) 0% 0% no-repeat padding-box;
    color: white;
    border: none;
    margin-left: 10px;
}

#btn_aceitar {
    border-radius: 15px !important;
    min-width: 100px !important;
    background: #90C244;
    color: white;
    border: none;
    margin-left: 10px;
}

.btn_voltar {
    border-radius: 15px !important;
    min-width: 100px !important;
    background: #DCDCDC;
    color: white;
    border: none;
    margin-left: 10px;
}

#btn_guardar {
    border-radius: 5px !important;
    min-width: 100px !important;
    background: #146B9D;
    color: white;
    border: none;
    margin-left: 10px;
}

.odd {
    background: #7575C31C;
}

.font15 {
    font-size: 15px;
}

.font16 {
    font-size: 16px;
}

.clearfix {
    clear: both;
}

.btn {
    border-radius: var(--btn-border-radios);
}

.btn-delete {
    background: #8d2f2f;
    border-color: #8d2f2f;
}

.btn-delete:hover {
    background: #b64645;
    border-color: #b64645;
}

.control-label {
    margin-bottom: 0;
}

.p-0 {
    padding: 0 !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.pr-0 {
    padding-right: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

/* Login */
.center-login-box {
    padding-bottom: 40px;
    margin: auto;
    border-radius: 30px;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100%;
}

.box-top {
    width: 100px;
    height: 100px;
    background-color: #ffffff;
    position: relative;
    top: -60px;
    left: 37%;
    border-radius: 20px;
    box-shadow: 0px 3px 2px 0px #8888883d !important;
    background-image: url("../img/ds.png");
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.b_vindo {
    color: black;
    margin-top: -30px;
}

div.esqpass-div {
    display: none;
    border-radius: 20px;
    width: 450px !important;
    padding: 10px;
}

div.termos-div {
    border-radius: 20px;
    width: 450px !important;
    padding: 10px;
}

.box-popup {
    display: none;
    margin-left: calc(20% + 330px);
    background: rgba(255, 255, 255, .95);
    position: absolute;
    transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

.box-popup:after {
    position: absolute;
    content: "";
    top: 50%;
    left: -20px;
    margin-top: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 20px 15px 0;
    border-color: transparent rgba(255, 255, 255, 0.95) transparent transparent
}

.box-popup.open {
    display: block;
}

html#login {
    background: #cdcdcd
}

#loginForm input.form-control,
#esqpassForm input.form-control {
    border-radius: 15px !important;
    box-shadow: 0px 3px 2px 0px #8888883d;
    border: none;
}

.login-box {
    margin-top: 35px;
}

#loginForm select {
    border-radius: 15px !important;
    box-shadow: 0px 3px 2px 0px #8888883d;
    border: none;
}

/* Muda o tamanho da box do login */
#btn-login-group {
    width: 100% !important;
}

#btn-login-group #btn_login {
    border-radius: 15px !important;
    width: 100% !important;
    background: var(--main-color) 0% 0% no-repeat padding-box;
    color: white;
    border: none;
    margin-bottom: 15px;
}

#loginForm input[type=checkbox],
#termosForm input[type=checkbox] {
    vertical-align: middle;
    position: relative;
    bottom: 1px;
}

#btn-social-group {
    width: 100%;
}

.btn-social {
    min-width: 50px !important;
    min-height: 50px;
    border-radius: 100%;
    margin-right: 10px;
    box-shadow: 0px 3px 2px 0px #8888883d !important;
    border: none;
    background-color: white;
}

#faceLogin,
#linkLogin {
    color: #4C9ADC;
}

#googleLogin {
    color: #E20000;
}

#faceLogin:hover,
#linkLogin:hover {
    background-color: #4C9ADC;
    color: #ffffff;
}

#googleLogin:hover {
    background-color: #E20000;
    color: #ffffff;
}

.btn-social:first-child {
    color: #ffffff !important;
}

.ajudas-login {
    margin-top: 15px;
    margin-bottom: 80px;
}

.ajudas-login a {
    color: #656d78;
    cursor: pointer;
}

#btn-recupera-group {
    float: right;
}

.titulo-popup {
    color: #000000;
    font-size: 19px;
}

.descricao-popup {
    color: #656d78;
    font-size: 12px;
}

.descricao-div {
    margin-left: 15px;
}

.termos-text {
    padding: 5px;
    overflow: auto;
    height: 400px;
}

.termos-text p {
    font-size: 14px;
}

.termos-text::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

@media only screen and (max-width:600px) {
    .box-top {
        width: 100px;
        height: 100px;
        background-color: #ffffff;
        position: relative;
        top: -40px;
        left: 33%;
        border-radius: 20px;
        box-shadow: 0px 3px 2px 0px #8888883d !important;
        background-image: url("../img/ds.svg");
        background-size: 85%;
        background-repeat: no-repeat;
        background-position: 80% 55%;
    }
}

@media only screen and (max-width:400px) {
    .box-top {
        width: 100px;
        height: 100px;
        background-color: #ffffff;
        position: relative;
        top: -40px;
        left: 33%;
        border-radius: 20px;
        box-shadow: 0px 3px 2px 0px #8888883d !important;
        background-image: url("../img/ds.svg");
        background-size: 85%;
        background-repeat: no-repeat;
        background-position: 80% 55%;
    }

    .center-login-box {
        margin-left: 8%;
        margin-top: 40px
    }
}

.ta-right {
    text-align: right;
}

/* Login */

/* Dashboard */
.x-navigation.x-navigation-horizontal {
    left: 0px;
}

.x-navigation.x-navigation-horizontal .xn-icon-button {
    width: 220px;
    height: 50px;
    overflow: hidden;
}

.page-container.page-container-wide .x-navigation.x-navigation-horizontal .xn-icon-button {
    width: 50px;
}

.x-navigation.x-navigation-horizontal .xn-icon-button>a {
    display: flex;
    padding: 15px 10px;
    text-align: left;
    font-size: 13px;
    color: #fff;
    background-color: #000000;
    text-transform: none;
}

/* .x-navigation.x-navigation-horizontal .xn-icon-button > a .fa { font-size: 24px; width: 30px;} */
.x-navigation .xn-search input {
    background: #192626;
    border: 1px solid #000;
    color: #fff
}

.x-navigation.x-navigation-horizontal .xn-search:before {
    left: 15px;
}

.x-navigation.x-navigation-horizontal .xn-icon-button>a .xn-text {
    display: inline;
    width: calc(100% - 50px);
    padding-left: 10px;
}

.x-navigation.x-navigation-minimized li ul {
    top: unset;
    bottom: unset;
    right: unset;
    position: relative;
}

.page-container.page-container-wide .x-navigation.x-navigation-horizontal .xn-icon-button>a .xn-text {
    display: none;
}

.x-top-backgorund {
    background: var(--main-color) !important;
    background-position: center;
}

.xn-options,
.xn-openable {
    background-color: var(--main-color);
}

.x-navigation li.xn-openable:before {
    display: block;
    content: "\f107";
}

li.logoSpace {
    padding: 10px 13px;
}

.logoConnect {
    background-image: url("../img/logoheads.png") !important;
    width: 170px !important;
    height: 41px;
    background-size: 180px;
    margin-top: -7px;
}

.logoConnectBlack {
    background-image: url("../img/logopalbit.png") !important;
    width: 170px !important;
    height: 55px;
    background-size: 100% auto;
    margin-top: -7px;
}

.logo-button {
    max-height: 100%;
    padding: 4px;
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.page-container {
    background: #fff;
}

.page-container .page-sidebar {
    background: var(--main-color) !important;
    min-height: 100vh;
}

.page-sidebar {
    box-shadow: 0px 3px 7px 2px rgba(154, 154, 154, 0.29);
}

.row-res {
    color: #ffffff;
    font-size: 14px;
    width: 100%;
    margin: 0;
    padding: 10px;
}

.box-titulo {
    background-color: #E9E9E9;
    margin-bottom: 0 !important;
}

.box-datas {
    background-color: #F0F0EF;
    padding-right: 13px;
    height: 50px;
    width: 100%;
    border-bottom: 1px solid #dbdbdb;
    padding: 7px;
}

.titulo-pagina {
    color: var(--main-color) !important;
    font-size: 25px;
    padding: 0;
    margin: 0 0 0 5px;
}

/* .Dashboard */


.nopadding {
    padding: 0
}

.mr-5 {
    margin-right: 5px
}

.mb-5 {
    margin-bottom: 5px !important;
}

.mr-3 {
    margin-right: 3px;
}

.serie.hover {
    background: var(--aux-color);
}

.estado.hover {
    background: var(--aux-color);
}

.tipo.hover {
    background: var(--aux-color);
}

.btdetalhe:hover,
.btedit:hover {
    border-color: var(--main-color) !important;
}

.totallista {
    display: inline-block;
    width: 20%;
    padding: 20px 20px 0 20px !important;
    font-weight: bold;
}

.titleli {
    color: var(--main-color);
    font-size: 14px;
    white-space: nowrap;
}

.descli {
    color: var(--main-color);
    font-size: 14px;
}

.newscroll {
    font-size: 14px;
    white-space: nowrap;
    color: var(--main-color);
}

.customscroll,
.mainsearch-table {
    margin-top: 20px;
    overflow: hidden;
    border-bottom: hidden
}

.customscroll tbody,
.mainsearch-table body {
    display: block;
    max-height: calc(100vh - var(--vhscrolltable));
    overflow: auto;
}

.customscroll thead,
.customscroll tbody tr,
.customscroll tfoot tr,
.mainsearch-table thead,
.mainsearch-table tbody tr,
.mainsearch-table tfoot tr {
    display: table;
    width: 100%;
    table-layout: fixed;
    /* even columns width , fix width of table too*/
}

.customscroll table {
    width: 400px;
}

.customscroll tbody tr td,
.mainsearch-table tbody tr td {
    padding: 8px;
    line-height: 1.42857143;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--main-color);
    border: #D9D9D9 1px solid !important;
    vertical-align: middle;
    overflow: hidden;
}

.customscroll_contact {
    margin-top: 20px;
    overflow: hidden;
    border-bottom: hidden
}

.customscroll_contact tbody {
    display: block;
    overflow: auto;
}

.customscroll_contact thead,
.customscroll_contact tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
    /* even columns width , fix width of table too*/
}

.customscroll_contact table {
    width: 400px;
}

.customscroll_contact tbody tr td {
    padding: 8px;
    line-height: 1.42857143;
    font-size: 14px;
    white-space: nowrap;
    color: var(--main-color);
    border: #D9D9D9 1px solid !important;
    vertical-align: middle;
}

.divcon {
    border-bottom: 1px solid #ccc;
    border-radius: 0px 10px;
    box-shadow: 0px 1px 0px 0px rgb(0 0 0 / 20%);
    border-left: 1px solid #ccc;
    margin-left: 6px;
}

.divconmg {
    margin: 30px 0px !important;
}

/* Calendario */
div.fc-row.fc-week.fc-widget-content {
    height: 68px !important;
}

.fc-view-container {
    max-height: 100px !important;
}

.box-calendar {
    background-color: #F1F0F0;
    border-bottom: 1px solid #dbdbdb;
}

.row-botoes {
    margin-top: 15px;
    margin-bottom: 15px;
}

.btn-row {
    margin-right: 5px;
    border-radius: 5px;
    width: 60px;
    height: 30px;
    border: none;
    box-shadow: 0px 3px 2px 0px #8888883d;
}

.btn-row i {
    font-size: 16px;
    color: white;
}

.btn-horas {
    background-color: #95B75D;
}

.btn-ferias {
    background-color: #FEA223;
}

.btn-ausencia {
    background-color: #B64645;
}

.btn-feriado {
    background-color: #3a87ad;
}

.fc-right .fc-button-group {
    display: none !important;
}

/* Calendario */

.inquerito {
    border: 1px solid #D5D5D5;
    border-radius: 10px;
    max-height: 180px;
    overflow-y: auto;
    margin-bottom: 10px;
}

.contactos {
    overflow-y: auto;
    max-height: 180px;
}

.contactostab {
    overflow-y: auto;
    max-height: 280px;
}

.tab_min {
    min-height: 80px !important;
}

.mg10 {
    margin: 5px 0px;
}

/* Tabela */
.table-dados {
    width: 100%;
}

.box-info {
    background-color: #ECECEB;
    padding: 50px 5px 65px;
    border-right: 1px solid #dbdbdb;
    border-bottom: 1px solid #dbdbdb;
}

.box-info .username {
    font-size: 25px;
    font-family: latoBold;
    line-height: 25px;
}

.box-info .cargo {
    font-size: 14px;
}

.box-info .user-info-wrapper {
    padding-top: 25px;
}

.row-escolha-dia {
    background-color: #ffffff;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 0px 3px 2px 0px #8888883d;
}

.row-escolha-dia .column-border {
    border-right: 1px solid #ebebeb
}

.row-escolha-dia h5 {
    font-family: latoBold;
    font-size: 25px;
    line-height: 23px;
    color: #5c5c5c;
    text-transform: uppercase;
    margin: 0;
}

.row-dia {
    background-color: #78ACD5;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 0px 3px 2px 0px #8888883d;
}

.row-semana {
    background-color: #32658D;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 0px 3px 2px 0px #8888883d;
}

.row-mes {
    background-color: #0B395D;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 0px 3px 2px 0px #8888883d;
}

.row-faturacao {
    background-color: #3F6E5A;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 0px 3px 2px 0px #8888883d;
}

.row-desc {
    margin: 0;
    padding: 10px;
    font-size: 18px;
    color: #ffffff;
    line-height: 18px;
}

.row-desc small {
    font-size: 12px;
}

.column-border {
    border-right: 1px solid rgba(255, 255, 255, .5);
}

/* Tabela */

.user-image {
    width: 100%;
    border: 4px solid #fff;
    border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -webkit-border-radius: 100px;
    max-width: 110px
}

/* Profile */
.box-password {
    background-color: #F1F0F0;
    padding: 30px;
}

.box-neutra {
    padding-right: 13px;
    height: 50px
}

.box-input {
    background-color: #146B9D !important;
    border: none;
}

.input-group>input {
    border-radius: 5px;
}

/* .control-label {
    font-size: 14px;
} */

/* Profile */

.btn-days-wrapper .btn-prev-mes {
    float: left;
    width: 30px;
    padding: 0 10px;
    cursor: pointer;
    background: #fff;
    border-right: 1px solid #ebebeb;
    height: 35px;
    line-height: 35px;
    -webkit-border-top-left-radius: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -moz-border-radius-topleft: 6px;
    -moz-border-radius-bottomleft: 6px;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.btn-days-wrapper .btn-prev-mes:active,
.btn-days-wrapper .btn-next-mes:active {
    background: #ebebeb;
}

.btn-days-wrapper .btn-next-mes {
    float: left;
    width: 30px;
    padding: 0 10px;
    cursor: pointer;
    background: #fff;
    height: 35px;
    line-height: 35px;
    -webkit-border-top-right-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    -moz-border-radius-topright: 6px;
    -moz-border-radius-bottomright: 6px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.btn-days-wrapper .btn-today {
    float: left;
    padding: 0 25px;
    background: #fff;
    text-transform: uppercase;
    height: 35px;
    line-height: 35px;
    margin-left: 10px;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -webkit-border-radius: 6px;
}

.fc-ltr .fc-basic-view .fc-day-number {
    padding-right: 12px;
    padding-top: 8px;
}

/* .fc-event {position: absolute; top: -22px; right: 5px; z-index: 5; width: 16px; height: 20px; border-radius: 100px; -moz-border-radius:100px; -webkit-border-radius:100px; -ms-border-radius:100px;} */
.fc-event span {
    text-align: center;
    line-height: 19px;
}

.fc-event.horas {
    background: #95B75D;
    border: 1px solid #95B75D;
}

.fc-event.ferias {
    background: #FEA223;
    border: 1px solid #FEA223;
}

.fc-event.ausencia {
    background: #B64645;
    border: 1px solid #B64645;
}

.fc-event-container {
    position: relative;
}

/*.fc-ltr .fc-basic-view .fc-day div {width: 100%; height: 100%; display: table; position: relative;}
.fc-ltr .fc-basic-view .fc-day span {color:#fff; position: absolute; z-index: 2; top:5px; right:0; width: 25px; text-align: center; }*/

.botoes-label {
    display: none;
    position: relative;
    margin: 0 5px;
    color: #fff;
    padding: 7px 15px;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -webkit-border-radius: 6px;
}

.botoes-label.open {
    display: inline-block;
}

.botoes-label.horas-label {
    background: #95B75D;
}

.botoes-label.horas-label:after {
    content: '';
    position: absolute;
    top: 8px;
    left: -8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 8px 7px 0;
    border-color: transparent #95B75D transparent transparent;
}

.botoes-label.ferias-label {
    background: #FEA223;
}

.botoes-label.ferias-label:after {
    content: '';
    position: absolute;
    top: 8px;
    left: -8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 8px 7px 0;
    border-color: transparent #FEA223 transparent transparent;
}

.botoes-label.ausencia-label {
    background: #B64645;
}

.botoes-label.ausencia-label:after {
    content: '';
    position: absolute;
    top: 8px;
    left: -8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 8px 7px 0;
    border-color: transparent #B64645 transparent transparent;
}

.botoes-label.feriado-label {
    background: #3a87ad;
}

.botoes-label.feriado-label:after {
    content: '';
    position: absolute;
    top: 8px;
    left: -8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 8px 7px 0;
    border-color: transparent #3a87ad transparent transparent;
}

.timeStyle {
    font-size: 18px;
    font-family: latoBold;
    text-transform: lowercase;
}

.btn-prev-dia {
    cursor: pointer;
    text-align: center;
    line-height: 65px;
    vertical-align: middle;
    border-right: 1px solid #ebebeb;
}

.btn-next-dia {
    cursor: pointer;
    text-align: center;
    line-height: 65px;
    vertical-align: middle;
}

.btn-prev-dia:active,
.btn-next-dia:active {
    background: #ebebeb;
}

.nopadding {
    padding: 0 !important;
}

.fc-toolbar h2 {
    font-weight: initial;
    font-family: latoBold;
}

.user-image-list {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    float: left;
    border: 4px solid #fff;
    border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -webkit-border-radius: 100px;
    margin-top: -4px;
}

.user-info-list {
    float: left;
}

.user-info-list span {
    margin-top: 1px;
    display: block;
}

.user-info-list p {
    line-height: 6px;
    margin-top: 10px
}

.listagem table tr td {
    border: #D9D9D9 1px solid !important
}

.listagem table tr th {
    border: #D9D9D9 1px solid !important
}

/* .listagem {
    height: calc(100vh - 100px);
    overflow: hidden;
} */

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.listaprodutos {
    margin-top: 20px;
    margin-left: -10px;
}

.listaprodutos .card {
    border-radius: 10px;
}

.control-label-title {
    vertical-align: super;
    font-size: 14px;
    color: var(--main-color);
}

.fontw {
    font-weight: 600;
    font-size: 20px;
}

.listaprint tr td,
.listaprint2 tr td {
    border: #D9D9D9 1px solid !important
}

.listaprint tr th,
.listaprint2 tr th {
    border: #D9D9D9 1px solid !important
}

.dropdown-menu>li>a {
    display: block;
    float: left;
    width: 100%;
}

.btn-select {
    background: #fff;
    height: 35px;
    overflow: hidden;
    border: 1px solid #cbcbcb;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -webkit-border-radius: 6px;
}

.box-datas .datepicker {
    border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -webkit-border-radius: 6px;
}





.equal {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
}


.x-navigation>li .side-link-button {
    padding: 15px 10px;
    text-align: center;
    float: left;
    display: block;
    width: 100%;
    display: flex;
    align-items: center;
}

.page-container.page-container-wide .x-navigation>li .side-link-button {
    display: unset;
}

.x-navigation>li .side-link-button:hover {
    background: var(--aux-color)
}

.x-navigation>li .side-link-button img {
    width: 30px;
    height: 30px;
    float: left;
    display: block;
    overflow: hidden;
}

.x-navigation>li .side-link-button img.pedido_encomendas {
    width: 40px;
}

.x-navigation>li .side-link-button img.pedido_encomendas+span {
    padding-left: 10px;
}

.x-navigation li.active>a .fa,
.x-navigation li.active>a .glyphicon,
.x-navigation li>a:hover:not(.x-navigation-minimize) .fa,
.x-navigation li>a:hover:not(.x-navigation-minimize) .glyphicon,
.x-navigation li.active.xn-openable:before,
.x-navigation li li.xn-openable:hover:before {
    color: var(--side-bar-hover-icons-color)
}

.x-navigation li.active>a,
.x-navigation li>a:hover:not(.x-navigation-minimize) {
    background: var(--side-bar-background-hover-color);
    color: var(--side-bar-hover-color);
}

.x-navigation>li>a {
    border-bottom: 1px solid var(--side-bar-border-color);
}

.x-navigation li>a,
.x-navigation li>a:not(.x-navigation-minimize).side-link-button span {
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.x-navigation li>a:hover:not(.x-navigation-minimize).side-link-button span.xn-text {
    padding-left: 15px;
}

.x-navigation>li:last-child>a {
    -moz-border-radius: 0px 0px 0px 0px;
    -webkit-border-radius: 0px 0px 0px 0px;
    border-radius: 0px 0px 0px 0px;
    border-bottom: 0px;
}

.x-navigation li.x-nome>a {
    color: #ffffff;
    font-size: 13px;
    font-family: latoBold;
    position: relative;
}

.x-navigation li.x-nome>a:hover {
    color: var(--side-bar-hover-icons-color);
}

.x-navigation.x-navigation-minimized li.active>ul {
    display: none;
}

.menu-icons {
    height: 60px;
    width: 100%;
    overflow: hidden;
    float: left;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.menu-icons.open {
    height: auto;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.arrow-side {
    cursor: pointer;
}

.arrow-side:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    -webkit-filter: drop-shadow(0px 2px 0px rgba(0, 0, 0, .15));
    filter: drop-shadow(0px 2px 0px rgba(0, 0, 0, .15));
    z-index: 5;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 25px 0 25px;
    border-color: #fff transparent transparent transparent;
}

.arrow-side:hover:after {
    border-color: #e9e9e9 transparent transparent transparent;
}

.xn-user-options .side-link-button:first-child {
    padding-top: 30px !important;
}

.noresults {
    margin: 20px;
}

.paginate_button {
    cursor: pointer;
}

.btn-today {
    cursor: pointer;
}

.hide {
    display: none;
}

/* .x-navigation .side-link-button span {color: white; font-size: 13px; display: block; width: calc(100% - 50px); float: left; padding-left: 20px; text-align: left;} 
.x-navigation.x-navigation-minimized .side-link-button span { display: none; } */

.nav-tabs {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.nav-tabs>li>a,
.nav-tabs>li>a:hover,
.nav-tabs>li>a:focus {

    background: var(--tabs-background-color);
    border-radius: var(--tabs-border-radius) !important;
    /* border-radius: 0px; */
    /* box-shadow: 0px 3px 6px #00000010; */
    box-shadow: var(--tabs-box-shadow);
    padding: 5px 10px;
    color: var(--tabs-color);
    margin-right: var(--tabs-margin-right);
    transition: all .1s ease;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
    border-color: var(--tabs-active-bordertop-color);
    background: var(--tabs-active-background-color);
    display: flex;
    align-items: end;
    color: var(--tabs-active-color);
    border-radius: var(--tabs-active-border-radius);
}

.tab-content {
    border: 0px;
    box-shadow: 0px 3px 5px #00000010;
    border-radius: 10px 10px 10px 10px;
    background-color: #fff;
}

.div-card {
    border: 0px;
    box-shadow: 0px 3px 5px #00000010;
    border-radius: 10px;
    background-color: #fff;
    padding: 15px;
    margin: 0 20px;
    display: grid;
}

.div-card .form-group {
    width: 100%;
}

/* forçar o layout do calendário */
.fc .fc-button-group>*:not(:first-child) {
    margin: 0 0 0 15px !important;
}

.fc button {
    padding: 0 1.5em !important;
}

.portrait-warning {
    position: fixed;
    box-sizing: border-box;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 30px;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: #232370;
    color: #fff;
    font-size: 25px;
    font-weight: 300;
    text-align: center;
    z-index: 9999
}

.portrait-warning .icon {
    width: 100px;
    margin: 0 auto;
    margin-bottom: 50px;
}

select.form-control {
    background-image: url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");
    background-repeat: no-repeat;
    background-position: calc(100% - 0.75rem) center !important;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    padding-right: 2rem !important;
}

.select2-container--default .select2-selection--multiple {
    border-radius: 6px;
    border-color: #D5D5D5;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: var(--main-color);
}

.select2-container--default .select2-selection--single {
    border-radius: 6px;
}

.addLine {
    border-radius: 25px;
    background: var(--main-color);
    color: white;
}

.acoes {
    border-radius: 25px;
    background: white;
    color: var(--main-color);
    border-color: var(--main-color);
    width: 35px;
    height: 35px;
}

.acoesObs {
    border-radius: 25px;
    background: white;
    color: var(--main-color);
    border-color: var(--main-color);
    width: 35px;
    height: 35px;
}

.acoesRemove {
    border-radius: 25px;
    background: white;
    color: #b64645;
    border-color: #b64645;
    width: 35px;
    height: 35px;
}

.form-control.datepicker[readonly] {
    background-color: #fff;
    color: #555;
}

.breadcrumb li a.back-history {
    color: inherit;
    font-size: inherit;
    margin-right: 1rem;
}

.breadcrumb li a.back-history .fa {
    font-family: FontAwesome;
    font-weight: 100
}

.breadcrumb--flex li {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.advanced-search-wrap {
    display: block;
    position: fixed;
    right: -320px;
    top: 0px;
    bottom: 0px;
    width: 300px;
    background-color: #fff;
    z-index: 999;
    padding: 20px;
    box-shadow: 0 3px 10px rgb(78 78 78 / 30%);
    transition: all .3s ease-in-out;
}

.advanced-search-wrap.open {
    right: 0px;
}

.advanced-search-wrap h4 {
    color: var(--main-color) !important;
    font-size: 20px;
}

.advanced-search-wrap .close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    opacity: 1;
}

.advanced-search-wrap .close:hover {
    opacity: .7;
}

.advanced-search-wrap .close svg path {
    stroke: #d10e36
}

.advanced-search-wrap label.control-label {
    font-weight: 400;
    letter-spacing: unset;
    margin-bottom: unset;
    font-size: unset;
}

.advanced-search-wrap .customscroll {
    height: calc(100vh - 180px);
}

.advanced-search-wrap .form-group {
    margin-bottom: 10px;
}

.advanced-search-wrap .actions {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.general-data .form-group {
    margin-bottom: 10px;
}

.general-data h2,
.tab-pane h2 {
    font-size: 20px;
}

#formContact .mCSB_outside+.mCSB_scrollTools {
    right: 0px;
}

.general-data hr {
    border-top: 2px solid #e1e1e1;
}

.general-data table.no-border {
    border: none !important;
}

.general-data table.no-border tr th,
.general-data table.no-border tr td {
    border: none !important;
}

.btn-primary#btsave {
    background-color: #7fc150;
    border-color: #7fc150;
    color: #fff;
}

.btn-primary#btsave:hover {
    opacity: .7;
}

.btn-primary#btsaveandnew {
    background-color: #669b40;
    border-color: #669b40;
    color: #fff;
}

.btn-primary#btsaveandnew:hover {
    opacity: .7;
}

.btn-primary#btcreateorder {
    background-color: #465151;
    border-color: #465151;
    color: #fff;
}

.btn-primary#btcreateorder:hover {
    opacity: .7;
}

.click-row tbody tr {
    cursor: pointer;
}

.timeline .timeline-item .timeline-date,
.timeline .timeline-item .timeline-item-info {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: unset;
    color: #ffffff;
    background: #000000;
    text-align: center;
    border: unset;
    box-shadow: none;
}

.timeline:before {
    width: 1px;
    background: #e5e5e5;
    margin-left: -0.5px;
    border: none;
}

.timeline .timeline-item .timeline-item-content {
    border: unset;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    box-shadow: unset;
}

.timeline .timeline-item .timeline-item-icon {
    border: unset;
    box-shadow: unset;
    line-height: 40px;
}

.timeline .timeline-item .text-muted {
    color: #777 !important;
}

#tab-emails>.row,
#tab-emails>.row .email-column,
#tab-emails>.row .email-body-column {
    height: calc(100% - 30px);
}

#tab-emails>.row .email-body-column .contentemail {
    height: 100%;
}

.block.emails-list {
    padding: 0px 0px;
    height: calc(100% - 100px);
}

.block.emails-list #mailbox-list {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #E5E5E5
}

.block.emails-list a.list-group-item {
    overflow-wrap: break-word;
    border-left: none;
    border-right: none;
    position: relative;
}

.block.emails-list .list-group-item:first-child {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-top: none;
}

.block.emails-list .list-group-item:last-child {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom: none
}

.block.emails-list a.list-group-item:hover,
.block.emails-list a.list-group-item:focus,
a.list-group-item.active {
    background: #cbdaea;
    border-color: #cbdaea;
    color: #000;
}

.block.emails-list .data {
    max-width: 110px;
    overflow: hidden;
    white-space: nowrap;
}

.block.emails-list .from {
    max-width: calc(100% - 110px);
    overflow: hidden;
    white-space: nowrap;
}

.block.emails-list .to {
    overflow: hidden;
    white-space: nowrap;
}

.block.emails-list .fa-paperclip {
    margin-right: 5px;
}

.block.emails-list .delete {
    font-size: 10px;
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 30px;
    height: 30px;
    z-index: 3;
    text-align: center;
    border-top-left-radius: 5px;
}

.block.emails-list .delete .fa {
    margin-right: 0px;
}

.block.emails-list a.list-group-item:hover .delete,
.block.emails-list a.list-group-item:focus .delete {
    color: red
}

.block.emails-list a.list-group-item .row-flex {
    position: relative;
    z-index: 1
}


.contentemail {
    padding: 0px 10px;
}

.contentemail .emailcab {
    display: inline-grid;
    vertical-align: top;
    padding: 5px 5px;
}

.contentemail .attachments {
    background-color: #cfcfcf;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 5px;
}


#tab-attachments>.row,
#tab-attachments>.row .attachment-column,
#tab-attachments>.row .attachment-body-column {
    height: calc(100% - 30px);
}

#tab-attachments>.row .attachment-body-column .contentattachment {
    height: 100%;
}

.block.attachments-list {
    padding: 0px 0px;
    height: calc(100% - 53px);
    margin-top: 15px;
}

.block.attachments-list #attachments-list {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #E5E5E5
}

.block.attachments-list a.list-group-item {
    overflow-wrap: break-word;
    border-left: none;
    border-right: none;
    position: relative;
}

.block.attachments-list .list-group-item:first-child {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-top: none;
}

.block.attachments-list .list-group-item:last-child {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom: none
}

.block.attachments-list a.list-group-item:hover,
.block.attachments-list a.list-group-item:focus,
a.list-group-item.active {
    background: #cbdaea;
    border-color: #cbdaea;
    color: #000;
}

.block.attachments-list .data {
    max-width: 110px;
    overflow: hidden;
    white-space: nowrap;
}

.block.attachments-list .from {
    max-width: calc(100% - 110px);
    overflow: hidden;
    white-space: nowrap;
}

.block.attachments-list .to {
    overflow: hidden;
    white-space: nowrap;
}

.block.attachments-list .fa-paperclip {
    margin-right: 5px;
}

.block.attachments-list .delete {
    font-size: 13px;
    position: absolute;
    right: 0px;
    width: 20px;
    height: 20px;
    z-index: 3;
    text-align: center;
    border-top-left-radius: 5px;
}

.block.attachments-list .delete .fa {
    margin-right: 0px;
}

.block.attachments-list .download {
    font-size: 14px;
    position: absolute;
    right: 20px;
    width: 20px;
    height: 20px;
    z-index: 3;
    text-align: center;
    border-top-left-radius: 5px;
}

.block.attachments-list .download .fa {
    margin-right: 0px;
}

.block.attachments-list .zoom {
    font-size: 14px;
    position: absolute;
    right: 40px;
    width: 20px;
    height: 20px;
    z-index: 3;
    text-align: center;
    border-top-left-radius: 5px;
}

.block.attachments-list .zoom .fa {
    margin-right: 0px;
}

.block.attachments-list a.list-group-item:hover .delete,
.block.attachments-list a.list-group-item:focus .delete {
    color: red
}

.block.attachments-list a.list-group-item .row-flex {
    position: relative;
    z-index: 1
}

.attachment-column .savefiles {
    color: #669b40;
    cursor: pointer;
    font-size: 18px;
    position: absolute;
    top: 6px;
    right: 20px;
    width: 20px;
    height: 20px;
    z-index: 3;
    text-align: center;
    border-top-left-radius: 5px;
}

.saverequestfiles {
    color: #669b40;
    cursor: pointer;
    font-size: 18px;
    position: absolute;
    top: 27px;
    right: 20px;
    width: 20px;
    height: 20px;
    z-index: 3;
    text-align: center;
    border-top-left-radius: 5px;
}

.savetestfiles {
    color: #669b40;
    cursor: pointer;
    font-size: 18px;
    position: absolute;
    top: 30px;
    right: 30px;
    width: 20px;
    height: 20px;
    z-index: 3;
    text-align: center;
    border-top-left-radius: 5px;
}

.attachment-column .savefiles .fa {
    margin-right: 0px;
}

.saverequestfiles .fa {
    margin-right: 0px;
}

.comment-item {
    position: relative;
    /* Ensure the parent element is positioned */
}

.heading .delete-note:hover,
.heading .delete-note:focus {
    color: red
}


.comment-item .delete-diary-record {
    cursor: pointer;
    font-size: 14px;
    position: absolute;
    /* Position the delete button absolutely */
    right: 20px;
    /* Adjust the distance from the right */
    top: 40px;
    /* Adjust the vertical position if needed */
}

.comment-item .edit-diary-record {
    cursor: pointer;
    font-size: 14px;
    position: absolute;
    /* Position the edit button absolutely */
    right: 40px;
    /* Adjust the distance from the right */
    top: 40px;
    /* Adjust the vertical position if needed */
}

.comment-item:focus .delete-diary-record {
    color: red
}

.comment-item:focus .edit-diary-record {
    color: red
}

.zoom-popup {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#zoomed-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contentattachment {
    padding: 0;
}

.contentattachment .emailcab {
    display: inline-grid;
    vertical-align: top;
    padding: 5px 5px;
}

.contentattachment .attachments {
    background-color: #cfcfcf;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 5px;
}

.mb-10 {
    margin-bottom: 10px;
}

/* Works on Firefox */
#mailbox-list,
#mailbox-content {
    scrollbar-width: thin;
    scrollbar-color: #cfcfcf #676767;
}

/* Works on Chrome, Edge, and Safari */
#mailbox-list::-webkit-scrollbar,
#mailbox-content::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

#mailbox-list::-webkit-scrollbar-track,
#mailbox-content::-webkit-scrollbar-track {
    background: #cfcfcf;
    border-radius: 20px;
}

#mailbox-list::-webkit-scrollbar-thumb,
#mailbox-content::-webkit-scrollbar-thumb {
    background-color: #676767;
    border-radius: 20px;
    border: 1px solid #676767;
}


@media (min-width: 992px) {
    .row .col-md-3:nth-child(4n+1) {
        clear: both;
        float: left
    }

    .row-flex {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-right: -10px;
        margin-left: -10px;
    }

    .justify-content-end {
        -webkit-box-pack: end !important;
        -ms-flex-pack: end !important;
        justify-content: flex-end !important;
    }

    .justify-content-center {
        -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
    }

    .justify-content-between {
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
    }

    .row-flex>[class^=col-] {
        float: unset;
    }

    .row-flex .col-md {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .row-flex .col-md-auto {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }

    .row-flex .col-md-1 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .row-flex .col-md-2 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .row-flex .col-md-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .row-flex .col-md-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .row-flex .col-md-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .row-flex .col-md-6 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .row-flex .col-md-7 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .row-flex .col-md-8 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .row-flex .col-md-9 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .row-flex .col-md-10 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .row-flex .col-md-11 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 91.666667%;
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .row-flex .col-md-12 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .row-flex .padding-grid {
        padding-left: 10px;
        padding-right: 10px;
    }

    .ml-auto {
        margin-left: auto !important;
    }

    .btdetalhe .fa-eye,
    .btdetalhe .fa-file,
    .btedit .fa-edit {
        font-size: 20px;
    }

    .w-130px {
        max-width: 130px;
    }

    .maintenance-popup .popup-content {
        padding: 0px 10px 00px 10px !important;
    }

    .fc .fc-toolbar>*>.fc-today-button {
        margin-left: 2em !important;
    }

    .page-content {
        height: 100vh !important;
    }

    .calendar {
        padding-bottom: 50px;
    }
}

@media (min-width: 768px) {
    .row.equal {
        display: flex;
        flex-wrap: wrap;
    }

    [class^='col-xs-'],
    [class^='col-sm-'],
    [class^='col-md-'],
    [class^='col-lg-'] {
        margin-bottom: 0
    }

    .row-desc {
        max-width: 170px;
        min-width: 100px
    }

    .row-escolha-dia h5 {
        font-size: 22px
    }

    .font15 {
        font-size: 13px
    }

    .row-escolha-dia .column-border {
        min-height: 65px
    }

    .margin-grid-top {
        margin-top: 30px
    }


}

@media (max-width: 768px) {

    [class^='col-xs-'],
    [class^='col-sm-'],
    [class^='col-md-'],
    [class^='col-lg-'] {
        margin-bottom: 0
    }

    .row-escolha-dia .column-border {
        min-height: 65px
    }

    .row-escolha-dia h5 {
        font-size: 18px
    }

    .font15 {
        font-size: 13px
    }

    .row-desc {
        max-width: 150px;
        min-width: 100px
    }

    .box-datas {
        height: 170px
    }

    /*	.x-navigation{max-height: 130px}
	.x-navigation.x-navigation-panel{height: 130px}*/
    .x-navigation.x-navigation-horizontal li {
        float: left !important;
    }

    .box-info {
        padding-top: 20px
    }
}

@media (max-width: 320px) {
    .row-desc {
        max-width: 110px;
        min-width: 80px;
    }

}

@media only screen and (max-width: 1024px) {
    .page-container .page-sidebar {
        min-height: auto;
        width: 100%
    }

    .logo-button {
        width: auto;
        height: 50px
    }

    .x-navigation>li .side-link-button {
        text-align: left;
        padding-left: 25px
    }

    .side-link-button span {
        display: inline-block;
        text-transform: uppercase;
        color: #146B9D;
        margin-left: 10px
    }

    .arrow-side::after {
        display: none;
    }

    .xn-user-options .side-link-button:first-child {
        padding-top: 15px !important
    }
}

@media (orientation: portrait) {
    .portrait-warning {
        display: flex;
    }
}

.js-copy-clipboard {
    cursor: pointer;
}


/* DIARY */
#tab-diary h2 {
    margin-bottom: -22px;
}

#tab-diary .cont {
    height: calc(100% - 45px);
    margin-top: 7px;
}

#diary-form-search {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

#diary-btn-search {
    background: transparent;
    border: 0;

    &:hover {
        background-color: var(--aux-color);
    }
}

.diary-types-icon {
    border: unset;
    box-shadow: unset;
    line-height: 40px;
    width: 40px;
    height: 40px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    font-size: 20px;
    text-align: center;
    background: #F5F5F5;
    color: #BBB;
}

.icons-list li.active {
    color: #333;
    cursor: pointer;
    background: #F5F5F5;
    border: 1px solid #E5E5E5;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.diary-column-form {
    height: 100%;
    overflow: auto;
}

.diary-column-form .btn,
.diary-column-form form {
    width: 100%
}

.diary-column-form .first-row {
    height: 165px;
    overflow: hidden;
}

.diary-column-form .first-row .div-card {
    margin: 5px 5px 0px 10px;
    box-shadow: 0px 0px 5px #00000010;
}

.diary-column-form .second-row {
    /* height: calc(100% - 180px); */
    overflow: auto;
    vertical-align: bottom;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
    /* margin-top: 15px */
}

.diary-column-form .second-row .div-card {
    margin: 5px 5px 20px 10px;
    box-shadow: 0px 0px 5px #00000010;
    height: calc(100% - 23px);
}

.diary-column-form .second-row form {
    height: 100%;
}

.diary-column-form .form-group.textare {
    height: calc(100% - 160px)
}

.diary-column-form .form-group.textare textarea {
    height: 100%
}

.diary-column-data {
    height: 100%;
    overflow: hidden;
}

.diary-column-data .div-card {
    height: calc(100% - 25px);
    overflow: auto;
    margin: 5px 0 20px 20px;
    box-shadow: 0px 0px 5px #00000010;
    display: block;
}

@media screen and (max-width: 1366px) {
    .maintenance-popup .input-group-addon {
        padding: 0px 5px;
        min-width: 25px;
    }
}

.listaprint {
    counter-reset: my-sec-counter;
}

.autonumber::before {
    counter-increment: my-sec-counter;
    content: counter(my-sec-counter);
}

.div-card.div-card-leads {
    padding: 0;
}

.div-card.div-card-leads .list-group {
    width: 100%;
    margin: 0;
}

.div-card.div-card-leads .list-group-item {
    padding: 10px 45px 10px 20px;
    margin-left: -10px;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
    color: #fff;
    border: 0;
    line-height: normal;

}

#sortable-list li {
    list-style: none;
    padding: 10px;
    background-color: #e5e5e5;
    border-bottom: 1px solid #f8f8f8;
    ;
}


.div-card.div-card-leads .list-group-item a {
    color: #fff;

    &:hover {
        text-decoration: none;
    }
}

.div-card.div-card-leads .list-group-item:first-child {
    padding-left: 15px;
    margin-left: 0;
    border-radius: 8px 0 0 8px;
}

.div-card.div-card-leads .list-group-item:last-child {
    clip-path: unset;
    border-radius: 0 8px 8px 0;
    color: #000;
}

.div-card.div-card-leads .list-group-item:last-child a {
    color: #000;
}

/******* Copiei isto do portal connect. Mas o portal connect tem ficheiros .scss *******/
.address-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px 10px;
    grid-template-areas: ".";
    margin-bottom: 2em;
}

@media (min-width: 768px) {
    .address-list {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: ". .";
    }
}

@media (min-width: 1200px) {
    .address-list {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-areas: ". . . .";
    }
}

.address-list .ship-addresses {
    position: relative;
    border: 1px solid #465151;
    padding: 1.5em;
    border-radius: 6px;
}

.address-list .ship-addresses button {
    font-size: 15px;
    color: #465151;
    display: block;
    float: left;
    margin-right: 0.5em;
    border: none;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-color: unset;
}

.address-list .ship-addresses button.shipping-check {
    width: 20px;
    height: 20px;
    overflow: hidden;
    text-indent: -9999px;
    position: absolute;
    top: 1em;
    right: 0.5em;
    background-position: 100% 50%;
    background-image: url("../img/shipping-check.svg");
}

.address-list .ship-addresses button.shipping-check.checked {
    background-image: url("../img/shipping-checked.svg");
}

.address-list .ship-addresses.add-address .fa {
    font-size: 50px;
    opacity: .1;
}

.address-list .ship-addresses.add-address {
    align-items: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    padding: .5em;
    min-height: 160px;
}

.buttons-select {
    width: 20px;
    height: 20px;
    overflow: hidden;
    text-indent: -9999px;
    position: absolute;
    top: 1em;
    right: 0.5em;
    background-position: 100% 50%;
}

.order-ul.leads-notes {
    padding: 3px 0 3px 10px;
}

.order-ul.leads-erp-notes {
    padding: 3px 0 3px 10px;
}

.btn-condensed.add-Line i {
    border-radius: 50%;
    background: var(--main-color);
    color: white;
    width: 34px;
    height: 34px;
    padding: 0px;
    text-align: center !important;
    line-height: 34px;
    margin-right: 10px !important;
    transition: all 200ms ease;
    border: none;

}

.btn-condensed.add-Line:hover,
.btn-condensed.add-Line:focus,
.btn-condensed.add-Line:active,
.btn-condensed.add-Line.active {
    background-color: transparent;
    color: var(--main-color);
    ;
}

.order-ul .mb-3 .btn.btn-primary {
    height: auto;
    width: auto;
    border: none;
    padding: 0;
    background-color: transparent;
    color: inherit;
    font-weight: 600;
    padding: 3px 0 3px 0px;
    margin-bottom: 1rem;
}

.order-ul .mb-3 .btn.btn-primary i {
    border-radius: 50%;
    background: var(--main-color);
    color: white;
    width: 34px;
    height: 34px;
    padding: 0px;
    text-align: center;
    line-height: 34px;
    margin-right: 10px;
    transition: all 200ms ease;
}

.order-ul.lead-totals {
    list-style-type: none;
}

.order-ul.lead-totals li {
    padding: 3px 0 3px 0px;
    border-top: 1px solid #EFEFEF;
}

.order-ul li:nth-child(1),
.order-ul li:nth-child(2) {
    border-top: none;
}


.order-ul.lead-totals li:last-child {
    border-top: 2px solid #cccccc;
    border-bottom: none;
}

.input-process-type .list-group-item {
    display: flex;
}

.input-process-type input {
    margin: -5px 0px 0px;
}

.badge-leads {
    background-color: #fff;
    color: #000;
    font-size: 11px;
    line-height: 16px;
    font-weight: 500;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    padding: 0px 5px;
    margin: 1px;
    border: 0;
    position: absolute;
    right: 15px;
    top: 10px;
}

li.list-group-item.active span,
li.list-group-item.active a {
    border-bottom: 1px solid !important;
    padding-bottom: 2px !important;
}

.col-12.title-table {
    margin-bottom: 15px;
}

.col-md-6 {
    overflow: hidden;
}

.col-md-6 b,
.col-md-6 label {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.price-cards {
    height: 25px;
    display: flex;
    flex-direction: column;
}

.price-cards .proposed-price {
    flex-grow: 1;
}

.price-cards .sale-price {
    flex-grow: 1;
}

.div-card.div-card-leads.kanban {
    box-shadow: 0px 3px 5px #00000010;
}

.div-card.kanban {
    background-color: unset;
    box-shadow: unset;
}

.kanban-cell {
    background-color: white;
    box-shadow: 0px 3px 5px #00000010;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px
}

.color-identification-kanban input {
    margin: 2px 2px 0px;
}

.kanban-price-sum {
    background-color: white;
    box-shadow: 0px 3px 5px #00000010;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;

}

#favouriteSearchesList li {
    border: none;
    border-bottom: 1px solid #e5e5e5;
}

#favouriteSearchesList .list-group-item a {
    margin-bottom: 0;
}

#favouriteSearchesList .list-group-item {
    margin-bottom: 0;
}

#quote-lines-table thead tr {
    background-color: #f5f5f5;
}

#quote-lines-table thead tr td {
    background-color: transparent;
}

.nav-tabs>li>a.tab-with-emails,
.nav-tabs>li.active>a.tab-with-emails,
.nav-tabs>li.active>a.tab-with-emails:hover,
.nav-tabs>li.active>a.tab-with-emails:focus {
    background: var(--tab-with-emails);
    border-color: var(--tab-with-emails);

}

.hidden-text {
    font-size: 0;
    line-height: 0;
    margin: 0 !important;
    padding: 0 !important;
}

tr.mdm-process-open td {
    background-color: #f5f5f5;
}

div.datepicker td.today {
    background: #fff282;
    border-radius: 3px;
    /* color: #fff; */
}


.row.d-flex {
    display: flex;
    flex-wrap: wrap;
}

.col-md-9 {
    display: flex;
    flex-direction: column;
}

.contentattachment {
    flex-grow: 1;
    overflow: hidden;
}

/* leads */
.tab-content.leads {
    height: calc(100vh - 420px);
}

.totalMarginBlack {
    background: rgb(0, 0, 0);
    padding: 2px 5px;
    border-radius: 4px;
    color: #f5f5f5;
}

.totalMarginRed {
    background: red;
    padding: 2px 5px;
    border-radius: 4px;
    color: #f5f5f5;
}

.totalMarginGreen {
    background: green;
    padding: 2px 5px;
    border-radius: 4px;
    color: #f5f5f5;
}

.totalMarginYellow {
    background: #f2a600;
    padding: 2px 5px;
    border-radius: 4px;
    color: #f5f5f5;
}

table.sticky-head thead,
table.sticky-head th {
    position: sticky;
    top: 0;
    z-index: 2;
    vertical-align: middle !important;
}

table.sticky-head th::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid;
    border-color: inherit;
    pointer-events: none;
}

/* Encomendas */
.pedido-wrapper {
    height: calc(100vh - 210px);
    overflow: auto;
    width: 100%;
}

.pedido-wrapper h3 {
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 25px;
    padding-bottom: 15px;
}

.pedido {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.pedido>div {
    flex: 1 1 auto;
}

.pedido>div:last-child {
    flex: 1 1 100%;
}

.d-none {
    display: none !important;
}

@media (min-width: 1360px) {
    .d-block-xl {
        display: block !important;
    }
}

@media (max-height: 700px) {
    /* .breadcrumb--flex {
        position: relative;
        z-index: 10;
        padding: 8px 15px;
    }

    .breadcrumb--flex li h4 {
        font-size: 22px;
    } */

    /* .listagem { */
    /* margin-top: -166px; */
    /* height: auto; */
    /* } */
    html {
        overflow: auto;
    }

    .tab-content.leads {
        height: calc(100vh - 150px);
    }

    .pedido-wrapper {
        height: auto;
    }
}

.fav-list {
    gap: 6px;
}

.fav-list a {
    color: initial;
    background-color: #d5d5d5;
    border-radius: 4px;
    padding: 2px 10px;
}

.select2-container--open {
    z-index: 9999;
}

.badge-circle {
    position: absolute;
    top: 2px;
    right: 2px;
    /* background-color: #465151; */
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
}

/* Dashboard */
.dashboard-section {
    margin-bottom: 20px;
}

.title-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;

    .titulo-pagina {
        margin: 0;
    }
}

.title-section--sticky {
    position: sticky;
    top: 0;
    background: white;
    z-index: 5;
}

.title-section__right-area {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;

    .form-group {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 0;
    }
}

.table-scroll {
    position: relative;
    width: 100%;
    z-index: 1;
    margin: auto;
    overflow: auto;
    height: calc(100vh - 272px);
}

.table-scroll table {
    width: 100%;
    min-width: 1280px;
    margin: auto;
    border-collapse: separate;
    border-spacing: 0px;
}

.table-scroll table tr td {
    padding: 8px;
    border-top: 0 !important;
    border-left: 0 !important;
    border-bottom: 1px solid #D9D9D9 !important;
    border-right: 1px solid #D9D9D9 !important;
}

.table-scroll table tr th {
    padding: 8px;
    border-left: 0 !important;
    border-bottom: 1px solid #D9D9D9 !important;
    border-right: 1px solid #D9D9D9 !important;
    position: sticky;
    top: 0;
    background: white;
    z-index: 2 !important;
}

.table-scroll table tr td:first-child,
.table-scroll table tr th:first-child {
    border-left: 1px solid #D9D9D9 !important;
}

.table-scroll th:first-child,
.table-scroll td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
}

.table-scroll th:nth-child(2),
.table-scroll td:nth-child(2) {
    position: sticky;
    left: 82px;
    z-index: 1;
}

.table-scroll th:first-child,
.table-scroll th:nth-child(2),
.table-scroll tfoot td:first-child,
.table-scroll tfoot td:nth-child(2) {
    z-index: 3 !important;
}


.table .icon::before {
    content: '';
    display: inline-block;
    background-image: url('data:image/svg+xml,<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18 20.75H6C5.27065 20.75 4.57118 20.4603 4.05546 19.9445C3.53973 19.4288 3.25 18.7293 3.25 18V6C3.25 5.27065 3.53973 4.57118 4.05546 4.05546C4.57118 3.53973 5.27065 3.25 6 3.25H12C12.1989 3.25 12.3897 3.32902 12.5303 3.46967C12.671 3.61032 12.75 3.80109 12.75 4C12.75 4.19891 12.671 4.38968 12.5303 4.53033C12.3897 4.67098 12.1989 4.75 12 4.75H6C5.66848 4.75 5.35054 4.8817 5.11612 5.11612C4.8817 5.35054 4.75 5.66848 4.75 6V18C4.75 18.3315 4.8817 18.6495 5.11612 18.8839C5.35054 19.1183 5.66848 19.25 6 19.25H18C18.3315 19.25 18.6495 19.1183 18.8839 18.8839C19.1183 18.6495 19.25 18.3315 19.25 18V12C19.25 11.8011 19.329 11.6103 19.4697 11.4697C19.6103 11.329 19.8011 11.25 20 11.25C20.1989 11.25 20.3897 11.329 20.5303 11.4697C20.671 11.6103 20.75 11.8011 20.75 12V18C20.75 18.7293 20.4603 19.4288 19.9445 19.9445C19.4288 20.4603 18.7293 20.75 18 20.75Z" fill="%23000000"/><path d="M20 8.75C19.8019 8.74741 19.6126 8.66756 19.4725 8.52747C19.3324 8.38737 19.2526 8.19811 19.25 8V4.75H16C15.8011 4.75 15.6103 4.67098 15.4697 4.53033C15.329 4.38968 15.25 4.19891 15.25 4C15.25 3.80109 15.329 3.61032 15.4697 3.46967C15.6103 3.32902 15.8011 3.25 16 3.25H20C20.1981 3.25259 20.3874 3.33244 20.5275 3.47253C20.6676 3.61263 20.7474 3.80189 20.75 4V8C20.7474 8.19811 20.6676 8.38737 20.5275 8.52747C20.3874 8.66756 20.1981 8.74741 20 8.75Z" fill="%23000000"/><path d="M13.5 11.25C13.3071 11.2352 13.1276 11.1455 13 11C12.877 10.8625 12.809 10.6845 12.809 10.5C12.809 10.3155 12.877 10.1375 13 10L19.5 3.5C19.5687 3.42631 19.6515 3.36721 19.7435 3.32622C19.8355 3.28523 19.9348 3.26319 20.0355 3.26141C20.1362 3.25963 20.2362 3.27816 20.3296 3.31588C20.423 3.3536 20.5078 3.40974 20.579 3.48096C20.6503 3.55218 20.7064 3.63701 20.7441 3.7304C20.7818 3.82379 20.8004 3.92382 20.7986 4.02452C20.7968 4.12523 20.7748 4.22454 20.7338 4.31654C20.6928 4.40854 20.6337 4.49134 20.56 4.56L14 11C13.8724 11.1455 13.6929 11.2352 13.5 11.25Z" fill="%23000000"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    width: 12px;
    height: 12px;
    margin-right: 6px;
    position: relative;
    top: 1px;
}

.table-scroll .odd th:first-child,
.table-scroll .odd td:first-child,
.table-scroll .odd th:nth-child(2),
.table-scroll .odd td:nth-child(2) {
    background-color: #f0f0f8;
}

.table-scroll .even th:first-child,
.table-scroll .even td:first-child,
.table-scroll .even th:nth-child(2),
.table-scroll .even td:nth-child(2) {
    background-color: #fff;
}

.table-scroll tfoot td {
    position: sticky;
    bottom: 0;
    background: #000;
    z-index: 2;
}

.table-scroll--products th:nth-child(2),
.table-scroll--products td:nth-child(2) {
    position: sticky;
    left: 98px;
    z-index: 1;
}