@import url('https://fonts.googleapis.com/css2?family=Open Sans:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}
:root {
    --cor-primaria: #3d030f;
    --cor-secundaria: #464646;
    --cor-submenu: #373737;
    --cor-submenu-hover: #545454;
    --cor-fonte-sidebar: #ffffff;
    --fonte: #333;
    --white: #fff;
    --grey: #d7d7d7; 
    --lightgrey: #d7d7d7;
    --blue-madison: #3255bf;  
    --bt-ativo: #f869bf; 
    --pendencias: #f99f9f;
    --cor-boxtop: #4c5b73;
    --cor-barra-comando: #b61b3b;
    /* visual */
    --radius-title: 10px 10px 0px 0px;
}
/* ---------- Redefinir tags -----------*/
body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--fonte);
    font-size: 13px;
}
td, th {
    vertical-align: middle !important;
    font-size: 0.8rem !important;
    }
td p {
    margin:0 !important;
}

a {
    color: var(--cor-primaria);
}

/* ---------- rebuild bootstrap --------*/
.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    padding-right: 10px;
    padding-left: 10px;
}
.row {
    margin-right: -10px;
    margin-left: -10px;
}
.form-control, .input-group-text {
    font-size: 0.8rem;
}
/*----------- sidebar aberto -----------*/
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 260px;
    z-index: 100;
    background: var(--cor-primaria);
    transition: all 0.4s ease;
}
.sidebar .nav-links {
    height: 100%;
    padding: 0px 0 50px;
    overflow: auto;
}
.sidebar .nav-links::-webkit-scrollbar {
    display: none;
}
.sidebar .nav-links li {
    position: relative;
    list-style: none;
    transition: all 0.4s ease;
    border-bottom: 1px solid #aaa;
}
.sidebar .nav-links li:hover {
    background-color: var(--cor-submenu-hover);
}
.sidebar .nav-links li .icon-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sidebar .nav-links li i {
    height: 40px;
    min-width: 58px;
    text-align: center;
    line-height: 40px;
    color: var(--cor-fonte-sidebar);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}
.sidebar .nav-links li i.arrow {
    transform: rotate(-90deg);
}
.sidebar .nav-links li.showMenu i.arrow {
    transform: rotate(0deg);
}
.sidebar .nav-links li a {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.sidebar .nav-links li a .link_name {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--cor-fonte-sidebar);
}
.sidebar .nav-links li .sub-menu {
    /* padding: 6px 6px 14px 6px; */
    font-size: 0.8rem;
    background-color: var(--cor-submenu);
    transition: all 0.4s ease;
    display: none;
}
.sidebar .nav-links li.subsub {
    background-color: var(--cor-submenu);
}
.sidebar .nav-links li.showMenu .sub-menu {
    display: block;
}
.sidebar .nav-links li .sub-menu a {
    color: var(--cor-fonte-sidebar);
    padding: 5px 20px;
    white-space: nowrap;
    opacity: 1;
    transition: all 0.3s ease;
}
.sidebar .nav-links li .sub-menu a:hover {
    opacity: 1;
}
.sidebar .nav-links li .sub-menu .link_name {
    display: none
}
.sidebar .nav-links li .sub-menu li {
    border-bottom: 1px solid #555;
    padding: 3px 0px 3px 30px;
}
.sidebar .nav-links li .sub-menu li:nth-child(1) {
    padding: 3px 0px 3px 30px;

}
.sidebar .nav-links li .sub-menu a, .sidebar .nav-links li .sub-menu a i {
    font-size: 0.8rem;
    min-width: 40px;
    line-height: 30px;
    height: 30px;
}
/* -- logo --*/
.sidebar .logo {
    position: relative;
    margin-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}
.sidebar .logo img {
    width: 80%;
    max-width: 160px;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.sidebar.fechado .logo img {
    border-radius: 5px;
}
/*------------ sidebar fechado ---------------*/
.sidebar.fechado {
    width: 68px;    
}
.sidebar.fechado .nav-links {
    overflow: visible;
}
.sidebar.fechado .nav-links i.arrow {
    display: none;
}
.sidebar.fechado .nav-links li a .link_name {
    opacity: 0;
    pointer-events: none;
    display: none;
}
.sidebar.fechado .nav-links li .sub-menu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-top: 0;
    padding: 0px;
    border-radius: 0 6px 6px 0;
    transition: all 0.4s ease;
    opacity: 0;
    display: block;
    pointer-events: none;
}
.sidebar.fechado .nav-links li .sub-menu .link_name {
    padding: 0px 20px;
    font-size: 0.9rem;
    opacity: 1;
    pointer-events: none;
}
.sidebar.fechado .nav-links li:hover .sub-menu .link_name {
    display: block;
    pointer-events: none;
}
.sidebar.fechado .nav-links li .sub-menu li:nth-child(1):hover {
    background-color: transparent;
}
.sidebar.fechado .nav-links li .sub-menu li {
    padding: 3px 20px 3px 0px;
}
.sidebar.fechado .nav-links li .sub-menu li:nth-child(1) {
    padding: 5px 20px 5px 0px;
    background-color: var(--cor-submenu);
}
.sidebar.fechado .nav-links li .sub-menu li:hover {
    background-color: var(--cor-submenu-hover);
}
.sidebar.fechado .nav-links li:hover .sub-menu {
    top: 0;
    opacity: 1;
    pointer-events: auto;
}
/* sem link */
.sidebar.blank .nav-links li .sub-menu {
    opacity: 1;
    pointer-events: auto;
    padding: 3px 230px 6px 16px;
}
.sidebar.blank .nav-links li:hover .sub-menu {
    top: 50%;
    transform: translateY(50%);
}
.sidebar.fechado .nav-links li .sub-menu.blank .link_name {
    pointer-events: auto;
}
/* logo */
.sidebar .logo {
    background: #952831 url('../../../../images/logo-flytour.png');
    background-size: 160px;
    height: 70px;
    background-position: center center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
    /* background-color: #fff; */
}
.sidebar.fechado .logo {
    background-image: url('../../../../images/logo-flytour.png');
    background-size: 55px;
    background-color: var(--cor-barra-comando);
    margin-top: 15px;
    height: 30px;
    opacity: 1;
}
/*------------ menu ----------------*/
.avatar img {
    height: 40px;
    border-radius: 7px;
}
.boxMenu {
    margin-top: 10px;
    display: flex;
    align-items: center;
}
/*------------ componentes --------------*/
.spin-loader {
    display: none;    
}
/* bootstrap-select */
.bootstrap-select.form-control {
    border: 1px solid #ccc !important;
    border-radius: 5px;
}
.dropdown-item {
    font-size: 0.7rem !important;
}
.dropdown-menu {
    font-size: 0.8rem;
}
.table {
    width: 100% !important;
}
/* datatables */
.dataTables_filter {
    float:right;
}
/* th.sorting { 
    background: url(assets/global/plugins/bg.gif) no-repeat right center;
    padding-right: 20px !important;
}
th.sorting_asc { 
    background: url(assets/global/plugins/asc.gif) no-repeat right center; 
    padding-right: 20px !important;
}
th.sorting_desc { 
    background: url(assets/global/plugins/desc.gif) no-repeat right center;
    padding-right: 20px !important; 
} */
.btPrint {
    padding: 5px 13px;
    background-color: #333;
    border-radius: 7px !important;
}
.badge {
    padding: .6rem .9em;
    font-size: 85%;
}
.modal-header {
    background-color: var(--cor-primaria) !important;
    color: #fff;
    border: none;
}
.modal-header .close, .btclose {
    position: absolute !important;
    right: 20px !important;
    top: 10px !important;
    font-size: 1.5rem;
    border: none;
    background-color: transparent;
    /* margin-top: 8px !important; */
}

.modal-body .close {
    position: absolute;
    right: 30px;
    top: 30px;
    background: #fffc;
    padding: 5px 10px;
}

/* --------------------------------- */
/* PRELOADER
 ----------------------------------- */

 #preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: rgba(255, 255, 255, .95);
    z-index: 10000;
}

#loader {
	display: block;
	position: relative;
	left: 50%;
	top: 50%;
	width: 150px;
	height: 150px;
	margin: -75px 0 0 -75px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: var(--bt-ativo);
	-webkit-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;
}

#loader:before {
	content: "";
	position: absolute;
	top: 5px;
	left: 5px;
	right: 5px;
	bottom: 5px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: var(--blue-madison);
	-webkit-animation: spin 3s linear infinite;
	animation: spin 3s linear infinite;
}

#loader:after {
	content: "";
	position: absolute;
	top: 15px;
	left: 15px;
	right: 15px;
	bottom: 15px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: var(--blue-madison);
	-webkit-animation: spin 1.5s linear infinite;
	animation: spin 1.5s linear infinite;
}

@-webkit-keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

/* Fileinput */
.file-preview {
    border-radius: 5px;
    border: none;
    padding: 0px;
    width: 100%;
    margin-bottom: 30px;
}
.krajee-default.file-preview-frame {
    margin: 0px;
    border: 1px solid #d7d7d7;
    box-shadow: none;
}
.krajee-default .file-footer-caption {
    margin-bottom: 0px;
}
.file-preview .fileinput-remove {
    top: 10px;
    right: 10px;
}

/* --------- */
/*------------ estilos gerais -----------*/
.pattern {
	background-color: var(--cor-primaria);
	background-image: repeating-linear-gradient(135deg, transparent, transparent 15px, rgba(255,255,255,.2) 15px, rgba(255,255,255,.2) 30px);
	color: #fff;
}
.negrito {
	font-weight: bold;
	/* background-color: #d7d7d7; */
	padding: 7px 10px;
	width: 100%;
	margin: 7px 0px 0px 0px;
	border-radius: 5px 5px 0px 0px;
}
.boxPrz {
    background-color: #faa !important;
    border-radius: 5px;
    padding:3px 10px;
    color: #333;
}
.desc {
    padding: 3px 20px;
    background: rgba(255,255,255,0.3);
    border-radius: 5px;
}
.mt-button {
    margin-top: 28px;
}
.wait {
    position: absolute;
    left: 50%;
    top: 50%;
    height:60px;
    width:60px;
    margin:0px auto;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border: 6px solid #334b6626;
    border-top-color: #334166cc;
    border-radius:100% !important;
}
.centroV {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.pendencias {
    background-color: var(--pendencias);
    color: #333;
}
@-webkit-keyframes rotation {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(359deg);}
}
@-moz-keyframes rotation {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(359deg);}
}
@-o-keyframes rotation {
    from {-o-transform: rotate(0deg);}
    to {-o-transform: rotate(359deg);}
}
@keyframes rotation {
    from {transform: rotate(0deg);}
    to {transform: rotate(359deg);}
}

.bg-grey {
    background-color: var(--grey);
}
.bg-blue-madison {
    background-color: var(--blue-madison);
    color: #fff;
}
/*---------- página view ------------*/
.dashboard-stat {
    overflow: hidden;
	margin: 10px 0px 5px;
	background-color: var(--blue-madison);
	padding: 10px;
	color: #fff;
	border-bottom: 10px solid #aaa;
    border-radius: 5px;
    font-size: 1rem;
}
.number {
	font-size: 1.4rem;
	color: #f7f7f7;
	font-weight: bolder;
    margin: 0px;
}
.visual {
	position: absolute;
	right: 30px;
    top: 22px;
	font-size: 1.3rem;
}
.boxClaro {
    background-color: #fff;
    color: var(--blue-madison);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-bottom: 10px solid #999;
}
.subsub {
    background-color: #272727 !important;
    padding: 3px 0px 3px 30px;
}
.tituloBoxClaro {
    background: rgba(255,255,255,0.2);
    padding: 3px 5px;
    border-radius: 5px;
    font-size: 1rem;
}
.portlet-title h5 {
    background-color: var(--bt-ativo);
    padding: 8px;
    border-radius: 7px;
    background-image: url(../../../images/fnd_titulo.png);
    color: #fff;
}
.indicadores {
    color: var(--blue-madison) !important;
    font-size: 15px;
    margin: 5px 0px;
}
.titulo {
    font-size: 16px;
}
/*------------ página padrão ------------*/
.page-title {
    margin: 0 0 0 18px;
    font-size: 1.5rem;
    white-space: nowrap;
}
.portlet-body {
    padding: 10px;
}
.form-group {
    margin: 12px 0px;
}
.barraComandos {
    background: var(--cor-barra-comando);
    margin-top: 0px;
    padding: 10px 20px;
    border-bottom:10px solid #d7d7d7;
    display: flex;
    justify-content: end;
    height: 63px;
}

/*----------- estilos de fonte ----------*/
.bold {
    font-weight: 600;
}
small {
    font-size: 0.8rem;
}

/*-------- Botões ---------*/
.btn-sm {
    padding: 0.15rem 0.5rem;
}
.btn-rounded {
    border-radius: 5px !important;
}
.btn.grey-gallery {
    background-color: #272727;
    border-color: #272727;
    color: #fff;
}
.btn.grey-gallery:hover {
    background-color: #373737;
    border-color: #373737;
    color: #fff;
}
.btn-blue-madison {
    background-color: var(--blue-madison);
    color: #fff;
}
.btn.lightblue {
    background-color: #77a7ee;
    border-color: #77a7ee;
    color: #fff;
}
.btn.lightblue:hover {
    background-color: #4e80ca;
    border-color: #4e80ca;
    color: #fff;
}
.botoes {
    display: flex;
    justify-content: end;
    margin: 10px 0px;
}
.botoes button {
    margin-left: 5px;
}
.btn {
    font-size: 0.8rem;
}

/* Textos */
.text-blue-madison {
    color: var(--blue-madison);
}

/* Topo */
.top-section {
    background-color: #fff;
    /* left: 260px;
    width: calc(100% - 260px); */
    width: 100%;
    transition: all 0.4s ease;
}
.sidebar.fechado ~ .top-section,
.sidebar.fechado ~ .page-content {
    left: 68px;
    width: calc(100% - 68px);
}

.sidebar ~ .page-content {
    left: 260px;
    width: calc(100% - 260px);
    top: 100px;
}

.top-section .top-content {
    padding: 0px 20px 0px 20px;
    background: #d7d7d7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 0px 5px #333;
    position: relative;
    z-index: 1;
}
.menu {
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    float: left;
}
.avatar {
    position: absolute;
    right: 10px;
    top: 0px;
    display: flex;
    justify-content: end;
    align-items: center;
}
.avatar p {
    margin: 10px 0px;
}

/*--------- Páginas ------------*/
.page-content {
    min-height: 100vh;
    position: relative;
    left: 0px;
    top: 100px;
    /* height: 78px; */
    transition: all 0.4s ease;
    padding: 15px;
}
.portlet-body {
    padding: 10px;
}
.form-group {
    margin: 6px 0px;
}
/*--------- Responsivo ----------*/
@media (max-width:640px) {
    .boxMenu p {
        text-align: center;
    }
    .avatar {
        justify-content: start;
        margin-left: -5px;
        top: 15px;
    }
    .avatar p {
        margin-top: 0px;
    }
    .imgAvatar {
        /* margin-left: 0px !important;
        width: 100px; */
    }
    .barraComandos {
        /* margin-top: 95px; */
    }
    .donut-size {
        font-size: 9em !important;
    }
    .pie-wrapper .label {
        font-size: 0.24em;
    }
    .sidebar {
        width: 100vw;
    }
    .sidebar.fechado {
        width: 10px;
    }
    .sidebar .logo {
        opacity: 1;
        transition: all 0.4s ease;
        background-size: 70px;
        margin-bottom: 30px;
    }
    .sidebar.fechado .logo {
        opacity: 0;
    }
    .sidebar ~ .page-content {
        display: none;
        top: 150px;
    }
    .sidebar.fechado ~ .top-section,
    .sidebar.fechado ~ .page-content {
        left: 10px;
        width: calc(100vw - 10px);
        display: block;
    }
    .top-section {
        /* left: calc(100vw - 60px); */
    }
    .sidebar.fechado ~ .top-section .menu {
        position: inherit;
        color: var(--cor-primaria);
    }
    .sidebar.fechado .nav-links li i {
        display: none;
    }
    .avatar img {
        border-radius: 10px;
    }
    .avatar p {
        /* //overflow: hidden;
        height: 40px; */
    }
    /* #boxBtnMenu {
        position: absolute;
        top: -45px;
        right: -15px;
    } */
    /* dataTables */
    .dataTables_wrapper .dataTables_filter {
        float: none;
        text-align: center;
    }
    .dataTables_length label {
        display: flex;
        justify-content: center;
        align-items: center
    }
    .dataTables_length .dropdown {
        width: 80px !important;
        margin: 10px;
    }

}
@media print {
	.dashboard-stat .details .number {
		font-size: 18px !important;
	}

	.dashboard-stat {
		border: 1px dotted #333;
		margin: 10px 0px;
		background: #d7d7d7 !important;
		-webkit-print-color-adjust: exact;
		color-adjust: exact;
		padding: 10px;
	}

	.dashboard-stat.red .visual > i {
		color: #e7e7e7;
	}

	.pattern {
		background-color: #4b7754 !important;
		color: #fff !important;
		-webkit-print-color-adjust: exact;
  	color-adjust: exact;
	}
}
