.white{color: #ffffff!important;}
.header .logo{
    float: left;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    color: #004077;
}

.media-gallery ul.mg-folders {
    list-style: none;
    padding: 0;
    margin: 0;
}

.media-gallery ul.mg-folders > li {
    display: block;
    position: relative;
}

.media-gallery ul.mg-folders > li a.menu-item {
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 80px;
}

.media-gallery ul.mg-folders > li a.menu-item i {
    margin-right: 5px;
    width: 16px;
}

.media-gallery ul.mg-folders > li .item-options {
    position: absolute;
    padding: 10px 0;
    right: 0;
    top: 0;
    opacity: 0;
    -webkit-transition: opacity 0.1s ease-in;
    -moz-transition: opacity 0.1s ease-in;
    transition: opacity 0.1s ease-in;
}

.media-gallery ul.mg-folders > li .item-options a:hover {
    text-decoration: none;
}

.media-gallery ul.mg-folders > li:hover .item-options {
    opacity: 1;
}

.media-gallery ul.mg-tags {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.media-gallery ul.mg-tags:after {
    content: "";
    display: table;
    clear: both;
}

.media-gallery ul.mg-tags > li {
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
}

.media-gallery ul.mg-tags > li a {
    display: block;
    padding: 2px 7px;
    font-size: 11px;
    background-color: #171717;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    color: #666;
}

.media-gallery ul.mg-tags > li a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #cccccc;
}

.media-gallery .mg-main {
    background-color: #ecedf0;
}

.media-gallery .mg-files {
    padding: 5px 0 30px;
}

.media-gallery .mg-files .thumbnail {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 30px;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.media-gallery .mg-files .thumbnail .thumb-preview {
    position: relative;
    z-index: 2;
    cursor: move;
}

.media-gallery .mg-files .thumbnail .thumb-preview .thumb-image {
    display: block;
    overflow: hidden;
}

.media-gallery .mg-files .thumbnail .thumb-preview img {
    width: 100%;
    -webkit-transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
    transition: all 0.1s linear;
    border-radius: 5px;
}

.media-gallery .mg-files .thumbnail .thumb-preview .mg-thumb-options {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    visibility: hidden;
    overflow: hidden;
}

.media-gallery .mg-files .thumbnail .thumb-preview .mg-thumb-options .mg-zoom {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 15px 10px;
    font-size: 22px;
    font-size: 2.2rem;
    color: #fff;
    background-color: #cccccc;
    border-radius: 0 0 0 15px;
    cursor: pointer;
    -webkit-transition: -webkit-transform 0.1s linear 0.1s;
    -moz-transition: -moz-transform 0.1s linear 0.1s;
    -ms-transition: -ms-transform 0.1s linear 0.1s;
    transition: transform 0.1s linear 0.1s;
    -webkit-transform: translate(100%, 0);
    -moz-transform: translate(100%, 0);
    -ms-transform: translate(100%, 0);
    transform: translate(100%, 0);
}

.media-gallery .mg-files .thumbnail .thumb-preview .mg-thumb-options .mg-toolbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #cccccc;
    color: #fff;
    padding: 6px 10px;
    -webkit-transition: -webkit-transform 0.1s linear 0.1s;
    -moz-transition: -moz-transform 0.1s linear 0.1s;
    -ms-transition: -ms-transform 0.1s linear 0.1s;
    transition: transform 0.1s linear 0.1s;
    -webkit-transform: translate(0, 100%);
    -moz-transform: translate(0, 100%);
    -ms-transform: translate(0, 100%);
    transform: translate(0, 100%);
}

.media-gallery .mg-files .thumbnail .thumb-preview .mg-thumb-options .mg-toolbar:after {
    content: "";
    display: table;
    clear: both;
}

.media-gallery .mg-files .thumbnail .thumb-preview .mg-thumb-options .mg-toolbar .mg-option {
    margin: 0;
}

.media-gallery .mg-files .thumbnail .thumb-preview .mg-thumb-options .mg-toolbar .mg-group > a {
    color: #fff;
    padding: 0 5px;
}

.media-gallery .mg-files .thumbnail .thumb-preview .mg-thumb-options .mg-toolbar .mg-group .mg-toggle {
    color: #fff;
    background: none;
    border: none;
    padding: 2px 2px 2px 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.media-gallery .mg-files .thumbnail .mg-title {
    margin: 13px 0 2px;
    padding-bottom: 2px;
    display: inline-block;
    font-size: 18px;
    font-size: 1.8rem;
}

.media-gallery .mg-files .thumbnail .mg-title small {
    position: relative;
    top: 0;
    left: 0;
    color: #9e9e9e;
    opacity: 0;
    z-index: 1;
    font-size: 10px;
    font-size: 1rem;
}

.media-gallery .mg-files .thumbnail .mg-description:after {
    content: "";
    display: table;
    clear: both;
}

.media-gallery .mg-files .thumbnail.thumbnail-selected {
    border-color: #FFF;
    box-shadow: 0 0 8px -1px #cccccc;
}

.media-gallery .mg-files .thumbnail.thumbnail-selected .mg-title small {
    opacity: 1;
}

.media-gallery .mg-files .thumbnail.thumbnail-selected .thumb-preview .mg-thumb-options {
    visibility: visible;
}

.media-gallery .mg-files .thumbnail.thumbnail-selected .thumb-preview .mg-thumb-options .mg-toolbar {
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}

.media-gallery .mg-files .thumbnail:hover .mg-title small {
    opacity: 1;
}

.media-gallery .mg-files .thumbnail:hover .thumb-preview img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.media-gallery .mg-files .thumbnail:hover .thumb-preview .mg-thumb-options {
    visibility: visible;
}

.media-gallery .mg-files .thumbnail:hover .thumb-preview .mg-thumb-options .mg-zoom {
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}

.media-gallery .mg-files .thumbnail:hover .thumb-preview .mg-thumb-options .mg-toolbar {
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}

.log-viewer {
    line-height: 26px;
    line-height: 2.6rem;
    font-family: monospace;
    font-size: 14px;
    font-size: 1.4rem;
}

ul.sortable  li.col-sm-3, .sortable ul li.lisort{list-style: none!important;}

.option-type, .displayNone{display: none;}

.form-group{margin-top: 10px!important;}

.input-group-addon{color: #004077!important;}

.none{display: none;}

.mr-2{
    margin-right: 20px;
}
.mr-1{
    margin-right: 10px;
}

.content-body .panel-body {
    max-width: 100%;
    overflow-x: hidden;
}

.content-body .panel {
    max-width: 100%;
    overflow: hidden;
}

.content-body table.table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
}

.content-body table.table > thead > tr > th,
.content-body table.table > tbody > tr > th,
.content-body table.table > tfoot > tr > th,
.content-body table.table > thead > tr > td,
.content-body table.table > tbody > tr > td,
.content-body table.table > tfoot > tr > td {
    max-width: 1px;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
    white-space: normal !important;
}

.content-body table.table > thead > tr > th:last-child,
.content-body table.table > tbody > tr > td:last-child {
    white-space: nowrap !important;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }

  .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px 25px;
    border: 1px solid #888;
    width: 600px;
  }

  .close {
    color: #aaa;
    float: right;
    font-weight: bold;
    cursor: pointer;
  }

  .close:hover {
    color: black;
  }

  .title-modal-include {
    font-size: 20px;
    color: #999999;
  }

  .form-include {
    width: 100%;
    height: auto;
    margin-top: 30px;
  }

  .input-include-pax{
    margin-top: -2px !important;
  }

  .info-form-include{
    font-size: 15px;
    color: #999999;
  }

  .btn-include-pax {
    width: 100%;
    height: 40px;
    margin-top: 30px;
    border-radius: 5px;
    transition: all 0.5s;
    border: 1px solid #004077;
    background-color: #004077;
  }
  .btn-include-pax:hover {
    border: 1px solid #2a800a;
    background-color: #2a800a;
    transition: all 0.5s;
  }

  .btn-include-pax span {
    font-size: 15px;
    color: #ffffff;
  }


  .loader-container {
    width: 100%;
    height: 10px;
    margin-top: 204px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    display: none;
}

.loader {
    width: 100px;
    height: 10px;
    background-color: #3498db;
    border-radius: 5px;
    transition: width 0.5s;
}

.alert {
    /*display: none;*/
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
}

/* Notifications Custom Styling */
ul.notifications .dropdown-menu.large {
    width: 350px;
    padding: 0;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border: none;
}

ul.notifications .dropdown-menu.large .notification-title {
    background: #f6f6f6;
    color: #333;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    border-radius: 4px 4px 0 0;
    font-weight: 600;
    font-size: 13px;
}

ul.notifications .dropdown-menu.large .content {
    padding: 0;
}

ul.notifications .dropdown-menu.large .content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
}

ul.notifications .dropdown-menu.large .content ul li {
    border-bottom: 1px solid #f0f0f0;
    display: block; /* Ensure li takes full width */
}

ul.notifications .dropdown-menu.large .content ul li:last-child {
    border-bottom: none;
}

ul.notifications .dropdown-menu.large .content ul li a {
    display: block;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    overflow: hidden; /* Contain floats */
}

ul.notifications .dropdown-menu.large .content ul li a:hover {
    background: #f9f9f9;
    color: #333;
}

ul.notifications .dropdown-menu.large .content ul li a .image {
    float: left;
    margin-right: 12px;
}

ul.notifications .dropdown-menu.large .content ul li a .image i {
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
}

ul.notifications .dropdown-menu.large .content ul li a .title {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
    color: #333;
}

ul.notifications .dropdown-menu.large .content ul li a .message {
    display: block;
    font-size: 12px;
    color: #777;
    line-height: 1.3;
}

ul.notifications .dropdown-menu.large .view-more {
    display: block;
    padding: 10px 15px;
    text-align: center;
    background: #fcfcfc;
    color: #777;
    font-size: 12px;
    border-top: 1px solid #eee;
    border-radius: 0 0 4px 4px;
    font-weight: 600;
}

ul.notifications .dropdown-menu.large .view-more:hover {
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
}

ul.notifications > li .badge {
    position: absolute;
    top: 6px;
    right: 4px;
    background: #d2322d;
    color: #fff;
    font-size: 10px;
    font-weight: normal;
    padding: 3px 6px;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Scrollbar for notifications */
ul.notifications .dropdown-menu.large .content ul::-webkit-scrollbar {
    width: 6px;
}
ul.notifications .dropdown-menu.large .content ul::-webkit-scrollbar-track {
    background: #f1f1f1;
}
ul.notifications .dropdown-menu.large .content ul::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}
ul.notifications .dropdown-menu.large .content ul::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.sidebar-left {
    background-color: #004077;
}


.sidebar-left .sidebar-header .sidebar-toggle {
    background-color: #004077;
}

.sidebar-left .sidebar-header .sidebar-toggle i {
    color: #ffffff;
}

.sidebar-left .sidebar-header .sidebar-title {
    color: #ffffff;
}

ul.nav-main li a {
    color: #ffffff;
}

ul.nav-main li .nav-children {
    background-color: #008cc1;
}

ul.nav-main > li.nav-active > a {
	box-shadow: 4px 0 0 #004077 inset;
    background-color: #ffffff;
    color: #004077;
}

ul.nav-main > li.nav-active > a:hover {
	color: #004077;
}

@media only screen and (min-width: 768px) {
	html.sidebar-left-collapsed .sidebar-left .nano {
		background: #004077;
		box-shadow: -5px 0 0 #f6f6f6 inset;
	}
}

.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0!important;
}

.pagination > li > a,
.pagination > li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    margin-left: 0;
    line-height: 1;
    border-radius: 6px !important;
}

.panel-footer .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.tab-content-not-bg {
    border-radius: 0 0 4px 4px;
    box-shadow: 0 0 0 0;
    background: none!important;
    border: none!important;
    padding: 0!important;
}

/* ---------------------------------------------------------------------------
   Header - Userbox
--------------------------------------------------------------------------- */
.header .header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 56px;
    padding-right: 0px;
}

.header-userbox {
    position: relative;
}

.header-help-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 16px;
    margin-right: 16px;
    border-radius: 20px;
    background-color: #f0ad4e;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(240, 173, 78, .5);
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.header-help-toggle i {
    font-size: 16px;
}

.header-help-toggle:hover,
.header-help-toggle:focus {
    background-color: #ec971f;
    color: #ffffff;
    text-decoration: none;
    outline: none;
    box-shadow: 0 2px 6px rgba(236, 151, 31, .6);
    transform: translateY(-1px);
}

@media only screen and (max-width: 767px) {
    .header-help-toggle {
        padding: 0;
        width: 34px;
        justify-content: center;
        margin-right: 8px;
    }
}

.header-userbox .userbox-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 12px 5px 5px;
    border-radius: 30px;
    color: #33383e;
    text-decoration: none;
    transition: background-color .2s ease;
}

.header-userbox .userbox-toggle:hover,
.header-userbox .userbox-toggle:focus,
.header-userbox.open .userbox-toggle {
    background-color: #eef2f7;
    color: #004077;
    text-decoration: none;
    outline: none;
}

.header-userbox .userbox-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #004077;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    line-height: 1;
    text-transform: uppercase;
}

.header-userbox .userbox-name {
    max-width: 180px;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-userbox .userbox-caret {
    font-size: 14px;
    color: #9aa2ad;
}

.header-userbox.open .userbox-caret:before {
    content: "\f106";
}

.header-userbox .userbox-menu {
    min-width: 240px;
    margin-top: 8px;
    padding: 6px 0;
    border: 1px solid #e4e8ee;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.header-userbox .userbox-menu > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    font-size: 13px;
    color: #4d5560;
}

.header-userbox .userbox-menu > li > a:hover,
.header-userbox .userbox-menu > li > a:focus {
    background-color: #eef2f7;
    color: #004077;
}

.header-userbox .userbox-menu > li > a.userbox-logout:hover,
.header-userbox .userbox-menu > li > a.userbox-logout:focus {
    background-color: #fdeeee;
    color: #c0392b;
}

.header-userbox .userbox-menu .divider {
    margin: 6px 0;
}

.header-userbox .userbox-menu-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 12px;
}

.header-userbox .userbox-menu-user {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.header-userbox .userbox-menu-user strong {
    font-size: 13px;
    line-height: 1.3;
    color: #33383e;
}

.header-userbox .userbox-menu-user small {
    overflow: hidden;
    font-size: 11px;
    color: #9aa2ad;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media only screen and (max-width: 767px) {
    .header .header-right {
        height: 60px;
        padding-right: 15px;
    }
}

/* ---------------------------------------------------------------------------
   Central de Ajuda
--------------------------------------------------------------------------- */
html .faq-hero {
    border: none;
    background: linear-gradient(135deg, #f0ad4e, #ec971f);
    box-shadow: 0 2px 8px rgba(240, 173, 78, .35);
}

.faq-hero .panel-body {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background: transparent;
    box-shadow: none;
}

.faq-hero-icon {
    font-size: 40px;
    color: #ffffff;
    opacity: .9;
}

.faq-hero-text {
    flex: 1 1 320px;
}

.faq-hero-text h2,
.faq-hero-text p {
    color: #ffffff;
}

.faq-hero-btn {
    background-color: #ffffff;
    color: #ec971f;
    font-weight: 600;
    white-space: nowrap;
}

.faq-hero-btn:hover,
.faq-hero-btn:focus {
    background-color: #fff8ec;
    color: #d9820c;
}

.faq-category-heading {
    margin-top: 30px;
    margin-bottom: 15px;
}

.faq-category-heading .fa-circle {
    margin-right: 6px;
    font-size: 10px;
    vertical-align: middle;
}

/*
 * O painel da página de capítulo usa panel-{cor} (inclusive panel-warning no
 * capítulo de dúvidas frequentes), mas o tema sobrescreve ".panel-warning
 * .panel-heading" com combinador descendente (não filho direto), então a cor
 * vaza para os cabeçalhos aninhados do accordion de perguntas. Reseta de
 * volta ao cinza padrão do .panel-heading — precisa de 3 classes para vencer
 * a especificidade de "html .panel-warning .panel-heading".
 */
.faq-content .panel-heading.faq-question-toggle {
    background: #f6f6f6;
    border-bottom: 1px solid #dadada;
}
