/* Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smootyhing: grayscale;
    scroll-behavior: smooth;
}
  
:root {
    font-size: 62.5%;

    --brand-color-blue: #417BFF;
	--brand-color-dark-blue: #0A2156;

	--neutral-100: #FAFAFC;
	--neutral-200: #E7E9ED;

	--gray-10: #F2F5F9;
	--gray-20: #E3E8EF;
	--gray-30: #CDD5E0;
	--gray-40: #97A3B6;
	--gray-50: #687489;
}

body {
    font-size: 1.4rem;
    font-family: 'Inter', 'sans-serif';
}

/* Estilização para inputs de texto */

.form-control {
	border: .1rem solid var(--neutral-200);
	background-color: var(--neutral-100);
	box-shadow: none;
	height: 4rem;
	padding: .8rem;
    height: 4rem;
	font-size: 1.3rem;
	font-weight: 500;
	line-height: 1.8rem;
	color: var(--brand-color-dark-blue);
}

.form-control::placeholder {
	font-weight: 500;
	font-size: 1.4rem;
	line-height: 1.8rem;
	color: var(--gray-50);
	opacity: .4;
}

.form-control:focus {
	outline: 0.5px solid var(--brand-color-blue);
	background-color: transparent;
	box-shadow: none;
}

.form-control[readonly]:focus {
    background-color: var(--gray-20);
    outline: 0.5px solid var(--brand-color-blue);
}

/* Estilização para botões */

.primary {
    background: var(--brand-color-blue);
    color: #fff;
    border: none;
    padding: 1.2rem 2.4rem;
    border-radius: .6rem;

    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    transition: all .4s;
}

.primary:hover {
    filter: brightness(.8);
    color: #fff;
}

.primary:is(:active, :focus) {
    filter: brightness(1);
    color: #fff;
}

.secondary {
    background: var(--gray-10);
    color: var(--brand-color-dark-blue);

    padding: 1.2rem 2.4rem;
    border-radius: .6rem;

    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    transition: .2s ease-in-out;
}

.secondary:hover {
    background: var(--gray-20);
}

.primary:focus, .secondary:focus {
    box-shadow: none;
    outline: none !important;
}

.secondary:active {
    color: var(--brand-color-blue);
    background: #ecf2ff;
}

/* Estilização para loading */

.loader {
    width: 22px;
    height: 22px;
    display: none;
    position: relative;
    
  }
  .loader::after,
  .loader::before {
    content: '';  
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #FFF;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    animation: animloader 2s linear infinite;
  }
  .loader::after {
    animation-delay: 1s;
  }
  
  @keyframes animloader {
    0% {
      transform: scale(0);
      opacity: 1;
    }
    100% {
      transform: scale(1);
      opacity: 0;
    }
  }
      

.ui-autocomplete-loading {
    background:  white url("/nota-eletronica/img/ui-anim_basic_16x16.gif") right center no-repeat;
}

.ui-autocomplete.ui-front {
	z-index: 9999;
}

.select2.select2-container {
    width: 100% !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #d2d6de !important;
}

.select2-container--default .select2-selection--multiple {
    border-color: #d2d6de !important;
}

.loading {
    background:  white url("/nota-eletronica/img/ui-anim_basic_16x16.gif") left center no-repeat;
}

.check {
    background:  white url("/nota-eletronica/img/check.png") right center no-repeat;
}

.error {
    background:  white url("/nota-eletronica/img/error.png") right center no-repeat;
}

.custom-same-xs-width{
    width: 45%;
}

.treeview{
	font-size: 13px;
}

.col-padding {
    padding-right: 5px;
    padding-left: 5px;
}

@media (max-width: 767px) {
    .table-responsive .dropdown-menu {
        position: static !important;
    }
}

@media (min-width: 768px) {
    .table-responsive {
        overflow: inherit;
    }
}

.select2-container .select2-selection--single {
    height: 32px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 26px;
}

.skin-black .main-header .logo {
    background-color: #222d33;
    color: #fff;
    border-bottom: 0 solid transparent;
}

.skin-black .main-header > .logo {
    border-right: 1px solid #222d34;
}

.skin-black .main-header >.logo:hover {
    background-color: #222d33;
}

.skin-black .sidebar-menu>li.header {
    color: #a0afb6;
    background: #1a2226;
}

legend {
    font-size: 17px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #347ab7;
}

.small-box h3 {
    font-size: 30px;
}
.small-box>.inner {
    min-height: 110px;
}

@media only screen and (min-width: 480px) { 
    body.sidebar-collapse .inner h3 {
        font-size: 16px;
    }
    .inner h3 {
        font-size: 16px;
    }
}
@media only screen and (min-width: 600px) {
    body.sidebar-collapse .inner h3 {
        font-size: 25px;
    }
    .inner h3 {
        font-size: 22px;
    }
}
@media only screen and (min-width: 768px) {
    body.sidebar-collapse .inner h3 {
        font-size: 28px;
    }
    .inner h3 {
        font-size: 20px;
    }
 }
@media only screen and (min-width: 850px) {
    body.sidebar-collapse .inner h3 {
        font-size: 25px;
    }
    .inner h3 {
        font-size: 20px;
    }
}

@media (min-width: 1200px) {
    body.sidebar-collapse .inner h3 {
        font-size: 30px;
    }
    .inner h3 {
        font-size: 25px;
    }
}

label.required:after{
    font-size: 18px;
    content: ' *';
    color: red;
}


.dashboard-card {
    padding: 6%;
    aspect-ratio: 4/2;
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.dashboard-card a {
    display: flex;
    flex-direction: row;
    width: 100%;
    text-decoration: none;
    color: white;
}

.dashboard-card a:hover {
    color: white;
}

.dashboard-card-indigo {
    background-color: #023047;
}

.dashboard-card-orange {
    background-color: #ff8304;
}

.dashboard-card-yellow {
    background-color: #ffb703;
}

.dashboard-card-blue {
    background-color: #0061a7;
}

.dashboard-card-light-blue {
    background-color: #8ecae6;
}

.dashboard-card-acqua-blue {
    background-color: #219ebc;
}

.dashboard-card img {
    width: 30%;
    object-fit: contain;
    object-position: 0 0;

}

.dashboard-card label {
    display: block;
    cursor: pointer;
    width: 70%;
    font-size: 1.4vw;
}

.w-5 {width: 5% !important; }
.w-10 {width: 10% !important; }
.w-15 {width: 15% !important; }
.w-20 {width: 20% !important; }
.w-25 {width: 25% !important; }
.w-30 {width: 30% !important; }
.w-33 {width: 33% !important; }
.w-40 {width: 40% !important; }
.w-50 {width: 50% !important; }
.w-60 {width: 60% !important; }
.w-67 {width: 67% !important; }
.w-70 {width: 70% !important; }
.w-75 {width: 75% !important; }
.w-80 {width: 80% !important; }
.w-85 {width: 85% !important; }
.w-90 {width: 90% !important; }
.w-100 {width: 100% !important; }

.border-0 {border: 0;}

.m-0 {margin: 0 !important}
.m-1 {margin: 0.4rem !important}
.m-2 {margin: 0.8rem !important}
.m-3 {margin: 1.2rem !important}
.m-4 {margin: 1.6rem !important}
.m-6 {margin: 2rem !important}
.m-7 {margin: 2.4rem !important}
.m-8 {margin: 2.8rem !important}

.mt-0 {margin-top: 0 !important}
.mt-1 {margin-top: 0.4rem !important}
.mt-2 {margin-top: 0.8rem !important}
.mt-3 {margin-top: 1.2rem !important}
.mt-4 {margin-top: 1.6rem !important}
.mt-6 {margin-top: 2rem !important}
.mt-7 {margin-top: 2.4rem !important}
.mt-8 {margin-top: 2.8rem !important}


.d-flex {display: flex;}
.items-center {align-items: center;}
.items-start {align-items: flex-start;}
.items-end {align-items: flex-end;}

.justify-center {justify-content: center;}
.justify-start {justify-content: flex-start;}
.justify-end {justify-content: flex-end;}

.gap-1 {gap: 0.25rem;}
.gap-2 {gap: 0.5rem;}
.gap-3 {gap: 0.75rem;}
.gap-4 {gap: 1rem;}

/* custom labels */

.light-success {
    background-color: #e9f5e9;
    color: #5CB85C;
    border: 1px solid #5CB85C;
}