.listagens .btn {margin:5px;}
.listagens #sp-main-body { padding: 10px 0 20px 0; }
#sp-main-body { padding: 20px 0 40px 0; }
.downloads #sp-main-body { padding: 0px 0 40px 0; }
.downloads .list-unstyled {padding-top:10px;}
.sppb-column, .sppb-column-addons { padding: 10px 10px; }
.col-lg- { padding: 10px 10px; }
 
/*galerias*/
.speasyimagegallery-gallery-item {padding: 20px 40px;}

/*sticky column*/
.body-innerwrapper {overflow-x: visible;}
#sp-right div.sp-column {position:sticky; top:100px;}
#sp-right .sp-module {background-color:rgba(251, 251, 251, 1); border: 1px solid #f4f4f4;}
/*
.readmore {background-color: #F0F0F0; border: 1px solid #E0E0E0;}
*/
/*slider em testes*/
div.sp-slider-outer-stage {
    height: 100vh;
}

@media (min-width: 640px) {
    div.sp-slider-outer-stage {
        height: calc(100vh - 100px);
    }
}

#sp-top-bar .menu {margin-top:0px;margin-bottom:0px;}
#sp-top-bar .sp-module li { display: inline-block; margin: 0; padding: 0; }
#rsfiles-layout .list-unstyled .list-inline { margin-bottom:10px;}
	
.downloads .rsfiles-horizontal::before {
        content: "Recherche de Documentation"; 
        display: block; 
        font-size: 22px;  
        margin: 10px; 
    }

.rsf_files a { font-size: 18px;}
.downloads .small  {font-size: 18px;}

h3.page-header.mt-3  {
    position: relative; /* Para posicionar o pseudo-elemento corretamente */
    display: inline-block; /* Para que o sublinhado tenha o mesmo tamanho do texto */
    padding-bottom: 5px; 
    border-bottom: 3px solid #e8e8e8; 	
}

h3.page-header.mt-3::before {
    position: absolute;
    background: #CC3399;
    height: 2px;
    content: '';
    width: 20px;
    bottom: -2px;
    left: 0;
}

.fa-fw, .fa.fa-download.fa.fw {
    text-align: left;
    width: 1.25em;
    font-size: larger;
	margin-left:5px;
	margin-right:5px;
}

#sp-top-bar .sp-module a {
    display: inline-block;
    text-decoration: none; /* Remove sublinhado */
    color: white; /* Texto branco */
    background-color: #cc3399; /* Cor do botão */
    padding: 5px 10px; /* Espaçamento interno */
	margin-right: 10px;
    border-radius: 5px; /* Cantos arredondados */
    transition: background 0.3s ease; /* Efeito hover */
}

#sp-top-bar .sp-module a:hover {
    background-color: #a02a7a; /* Cor um pouco mais escura ao passar o mouse */
}

.sp-page-title .sp-page-title-sub-heading {
    font-size: 17px;
    font-weight: lighter;
    line-height: 1.5;
    margin-top: 5px;
}

.sp-column.text-center.text-lg-end {
    display: flex; /* Organiza os módulos na horizontal */
    justify-content: right; /* Centraliza os módulos */
    align-items: center; /* Alinha verticalmente */  
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a { font-size: 1rem;}
.sp-page-builder .page-content #section-id-SIy9ny6tdkCFccmNK0K6A { margin-right: 0px; margin-left: 0px;}

.rsform-table .rsform-small-subtitle {color: #414141;}
.card-image {  margin-top: 10px;}
h5.card-title {font-size: 1.1rem;}
.rsfiles-file .card-title { word-break: normal;}

.listagens #sp-header.header-sticky { position: static; }
.listagens .article-ratings-social-share.d-flex.justify-content-end { display: none !important;}
.listagens #sp-footer {display:none !important; }

.rsform-block-estado, .rsform-block-estado-legend { display: none;}

/* General menu styles */
.menuhorizontal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin-top: 10px;
}

/* Style for all menu items (including parents) */
.menuhorizontal li {
    position: relative;
    padding: 5px;
    margin-top: 0px;
    white-space: nowrap;
    display: inline-block;
}

/* Ensure parent menu items have the same button style */
.menuhorizontal li a,
.menuhorizontal .nav-header, 
.menuhorizontal .menu-parent .nav-header {
    text-decoration: none;
    padding: 4px 8px; /* Increase padding to ensure uniform width */
    border-radius: 10px;
    background-color: #F0F0F0;
    font-size: 0.8rem;
    text-align: center;
    color: #333;
    white-space: nowrap;
    display: inline-flex; /* Ensures text and arrow are inside the same element */
    align-items: center;
    justify-content: center;
	border: 2px solid white;
	transition: border-color 0.1s ease-in-out;
}

@media (max-width: 500px) {
    .menuhorizontal li a,
    .menuhorizontal .nav-header, 
    .menuhorizontal .menu-parent .nav-header {
        font-size: 0.7rem; 
        padding: 3px 7px;
    }
	.menuhorizontal .menu-child li a {
    padding: 5px 12px;
    font-size: 0.7rem;
}
}

/* Hover effect for all links */
.menuhorizontal li a:hover,
.menuhorizontal .nav-header:hover,
.menuhorizontal .menu-parent > a:hover,
.menuhorizontal .menu-child li a:hover {
 /*   background-color: #DCDCDC;*/
	color: #cc3399;
	border: 2px solid rgba(204, 51, 153, 0.5);
}

/* esconder titulo no menu */
.offcanvas-menu .offcanvas-inner ul.menu > li:first-child > .nav-header {
  display: none;
}

/*icon do submenu */
.offcanvas-menu .offcanvas-inner ul.menu>li ul.menu-child li a img ,
.menuhorizontal li a img {
    width: 25px; /* Adjust icon size */
    height: 25px;
    object-fit: contain; /* Keep aspect ratio */
    display: inline-block; /* Prevents unwanted spacing issues */
    vertical-align: middle; /* Aligns better with text */
	margin-right: 10px;
}
/* Styles for submenus */
.menuhorizontal .menu-child {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 2px;
    box-shadow: 2px 6px 14px rgba(0, 0, 0, 0.4);
    min-width: 260px;
    max-width: 300px;
    white-space: nowrap;
    padding: 12px;
    list-style: none;
    z-index: 1000;
    flex-direction: column;
    transition: opacity 0.1s ease-in-out, visibility 0.5s ease-in-out;
}


/* Ensure the parent element is positioned correctly */
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner,
.menuhorizontal .menu-parent  {
    position: relative; /* Needed for absolute positioning */
	background-color: rgba(255, 255, 255, 0.93); 
}

/* Risco no canto inferior direito */
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner::after,
.menuhorizontal .menu-child::after {
    content: "";
    position: absolute;
    bottom: 0; /* Adjusted */
    right: 0; /* Adjusted */
    width: 70%;
    height: 50%;
    background: transparent;
    opacity: 0;
	pointer-events: none;
    transition: opacity 1s ease-in-out;
    border-bottom: 2px solid rgba(65, 65, 65, 0.5);  /* Linha inferior */
    border-right: 2px solid rgba(65, 65, 65, 0.5);   /* Linha direita */
}

/* Top-Left Border */
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner::before,
.menuhorizontal .menu-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 50%;
    background: transparent;
    opacity: 0;
	pointer-events: none;
    transition: opacity 0.5s ease-in-out;
    border-top: 2px solid rgba(65, 65, 65, 0.5);  /* Top line */
    border-left: 2px solid rgba(65, 65, 65, 0.5); /* Left line */
}

/* Mostrar a janela e os riscos no hover */
.sp-megamenu-parent .sp-dropdown > .sp-dropdown-inner:hover::before,
.sp-megamenu-parent .sp-dropdown > .sp-dropdown-inner:hover::after,
.menuhorizontal .menu-parent:hover > .menu-child::before,
.menuhorizontal .menu-parent:hover > .menu-child::after,
.menuhorizontal .menu-child:hover::before,
.menuhorizontal .menu-child:hover::after,
.menuhorizontal .menu-parent:focus-within > .menu-child,
.menuhorizontal .menu-child:hover,
.menuhorizontal .menu-parent:hover > .menu-child
 {
    visibility: visible;
    opacity: 1;
    display: flex; /* Ensure submenu is shown */
    flex-direction: column; /* Stack items vertically */
}

/* Submenu links (vertical) */
.menuhorizontal .menu-child li {
    display: block; /* Makes sure each item is on a new line */
    width: 100%;
}

.menuhorizontal .menu-child li a {
    background: #F0F0F0;
    border-radius: 8px;
    padding: 6px 15px;
    text-align: left;
    font-size: 0.8rem;
    color: #333;
    display: block;
    white-space: nowrap;
}

/* Fix: Ensure down arrow (::after) is covered in hover effect */
.menuhorizontal .nav-header:hover::after {
    background-color: inherit; /* Inherits the background color */
	color: #cc3399;
}

/* Add a down arrow for menu items that have submenus */
.menuhorizontal .nav-header::after {
    content: "↓";
    margin-left: 7px;
    font-size: 1rem;
    display: inline-block;
}

/* CORES ICONS */
.offcanvas-menu .offcanvas-inner ul.menu > li ul.menu-child li a img,
.menuhorizontal li a img {
    filter: grayscale(100%) brightness(0);
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.offcanvas-menu .offcanvas-inner ul.menu > li ul.menu-child li a:hover img,
.menuhorizontal li a:hover img { filter: invert(35%) sepia(100%) saturate(300%) hue-rotate(-90deg) brightness(70%) contrast(200%);}
.menuhorizontal .ol, ul { padding-left: 0px; }

.btn-success {
--bs-btn-border-color: #cc3399;    
--bs-btn-bg: #cc3399; }

.btn-info {
--bs-btn-border-color: #f0f0f0;
--bs-btn-bg: #f0f0f0;}

.sem-padding #sp-main-body {padding: 10px}
.sem-padding #sp-main-body div.container {padding: 0px;max-width:100%;margin:0px;}

.pdfWrapper { position: relative; padding-bottom: 25px; padding-top: 25px; height: 0; background:#505050;}
.pdfWrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

#sp-header.header-sticky { background: rgba(222,222,222,0.7); backdrop-filter: blur(2px);}
@media (max-width: 575px){
   #sp-header { height: 50px }}
#sp-component .badge.badge-info { display: none;}
#sp-top-bar {padding: 2px; background: #cc3399; color: #ffffff; font-size:0.7rem;}
#sp-footer, #sp-bottom {background:#363839;color:#ffffff; font-size: 15px;}
#sp-main-body .itemid-168 {padding: 0;} 

.listagens #sp-main-body { padding: 0px 0;}
.burger-icon > span { height: 2px; }
.page-header h1 {font-size: 22px;font-weight: bold;}
.fa, .fa-brands, .fa-classic, .fa-regular, .fa-sharp-solid, .fa-solid, .fab, .far, .fas { transform: scale(1.1);}
.offcanvas-menu .offcanvas-inner .nav-header .pe-2 {display:none;}

.sp-page-title-heading {text-shadow: 2px 2px 4px #000000;}
.sp-page-builder .page-content #section-id-1614862396977 {line-height: 2;}
.sp-page-builder .page-content #section-id-1645468582864 {display: none;}

.offcanvas-menu .offcanvas-inner ul.menu>li.menu-parent li.menu-parent .menu-toggler::after,
.offcanvas-menu .offcanvas-inner ul.menu>li span .menu-toggler::after,
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > a > .menu-toggler::after,
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > .menu-separator > .menu-toggler::after,
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > .nav-header > .menu-toggler::after,
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > .nav-header > span .menu-toggler::after {
	content: "↓"; display:none;}
	
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent.menu-parent-open > a > .menu-toggler::after,
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent.menu-parent-open > .menu-separator > .menu-toggler::after,
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent.menu-parent-open > .nav-header > .menu-toggler::after  {
	content: "↑";  display:none;}	

/*expandir menus */
.offcanvas-menu .offcanvas-inner ul.menu>li ul.menu-child {display: block !important; }
.offcanvas-menu.border-menu .offcanvas-inner ul.menu ul { padding-bottom: 0px; }
.offcanvas-menu .offcanvas-inner .sp-module .sp-module-title { font-size: 1.1rem; font-weight: bold; background: #f3f3f3; padding: 5px;}
.offcanvas-menu .logo {padding-left:15px;}	
.offcanvas-menu div.d-flex.header-modules.mb-3 { margin-bottom: 0px !important; }
.offcanvas-menu .offcanvas-inner ul.menu li.active a { color: #414141 !important;}
.offcanvas-menu .offcanvas-inner ul.menu li.active a:hover { color: #cc3399 !important;}

.offcanvas-inner .nav-header,
.offcanvas-menu .offcanvas-inner ul.menu>li>a {font-size: 1.2rem;}

.offcanvas-menu .offcanvas-inner ul.menu>li span,
.offcanvas-menu .offcanvas-inner ul.menu>li>ul li a
{color: #414141; font-size: 1rem; line-height: 32px; margin-bottom:0px; padding: 5px 10px 5px 5px;}

.offcanvas-inner .nav-header {opacity:0.7;}
.offcanvas-inner .nav-header::hover{pointer-events: none; opacity:1;color:#414141;}
.offcanvas-menu {color: #414141; background-color: rgba(255,255,255,0.7); backdrop-filter: blur(3px);}
.offcanvas-menu a.sp-sign-in {min-width: 200px; font-size: 11px; padding: 10px 12px;}
.offcanvas-menu { width: 350px !important; }
.offcanvas-menu .offcanvas-inner ul.menu>li.menu-parent {font-size: 1rem;}
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > .nav-header > span,
.offcanvas-menu .offcanvas-inner ul.menu>li.menu-parent li.menu-parent { line-height: inherit; border-top: 1px solid rgba(32, 31, 31, 0.1); padding-top: 5px;}
.offcanvas-menu.border-menu .offcanvas-inner ul.menu>li>a { padding: 7px 10px 7px 0px; }

body.ltr .offcanvas-menu .offcanvas-inner ul.menu>li.menu-parent>.nav-header>.menu-toggler,
.offcanvas-menu .offcanvas-inner ul.menu>li.menu-parent li.menu-parent .menu-toggler,
body.ltr .offcanvas-menu .offcanvas-inner ul.menu>li ul { display:none; margin-left: 0px; right:0;}



h3 {font-size: 20px; font-weight: 400;}
body.ltr.offcanvs-position-right .offcanvas-menu { right: -350px; }
body.itemid-168 #sp-main-body .container {max-width: 100%;}
body.itemid-168 #sp-main-body { padding: 0px 0px;}
body.ltr .sp-megamenu-parent>li.sp-has-child>a:after, body.ltr .sp-megamenu-parent>li.sp-has-child>span:after { content: "↓"; float: right; margin-left: 7px; }
.sppb-addon-optin-forms { padding: 0px 25px 25px;}
.footer_menu ul.menu { display: flex !important; flex-direction: column !important;}
.sppb-form-check-label{ font-size: 12px; font-weight: 300;}

.article-list .article .readmore a { color: #cc3399; }
.pager>li a { padding: 0.8rem 3rem; color: #ffffff; background: #616161; border-radius: 30px;}
.article-list .article { border: 2px solid #f0f0f5; border-radius: 5px; padding: 20px;}
.article .article-header h2 a {color: #414141;font-size: 23px;}
.article-list .article .article-intro-image {margin: -20px -20px 15px -20px;}
[itemprop="articleBody"] { padding: 0px 20px; }

/* UNDERLINE */
#sp-footer1 .sppb-addon-title {
font-size: 17px;
text-transform: uppercase;
margin-bottom: 6px;
padding-bottom: 6px;
position: relative;
border-bottom: 2px solid #616161;}

#sp-footer1 .sppb-addon-title:before {
  position: absolute;
  background: #CC3399;
  height: 2px;
  content: '';
  width: 50px;
  bottom: -2px;
  left: 0;
}

/* underline animado */
.sp-megamenu-parent > li > a {
	font-size: 1.1rem;
    background-image: linear-gradient(#616161, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 3px;
    transition: background-size .3s; }
	
.sp-megamenu-parent > li > a:hover, .sp-megamenu-parent > li > a:focus { background-size: 100% 2px;}


@media (max-width : 500px) {
  .hidden-phone {
        display: none;
  }
}

a.readmore, .readmore, p.readmore, a.sp-sign-in {
background-color: #f0f0f5;
border: 1px solid #E0E0E0;
background-repeat: repeat-x;
border-radius: 25px;
color: #ffffff;
font-size: 11px;
font-weight: 500;
padding: 6px 12px; 
text-transform: uppercase;}

.sp-profile-wrapper{ min-width: 60px; width: auto; }
a.readmore:hover, a.sp-sign-in { background: none repeat scroll 0 0 #616161;}	 
a.sp-sign-in:hover, a.readmore:hover { background: #CC3399;}
.sp-sign-in{min-width: 100px;}

.catItemTagsBlock a, .tagItemTagsBlock a, .itemTagsBlock a {
background-color: #616161;
background-repeat: repeat-x;
border-radius: 25px;
color: #FFFFFF;
font-size: 10px;
font-weight: 300;
padding: 6px 12px; 
text-transform: uppercase; }

#acym__front__archive__search {display:none;}
.acym__front__archive__title {display:none;}
.acym__modal .acym__modal__content { width: 70%; height:100%;}
#acym_wrapper .acym__front__archive .acym__front__archive__newsletter_sending-date {margin-bottom:10px;}
#acym_wrapper #archive_view #email_preview_iframe { width: 100%; height: 100%;}

/*RSFORM diretorio submissoes*/
.directoryHead { text-align: center; vertical-align: middle;}
.directoryHead th.center { background-color: #cdcdcd;}

.rsfp-directory-search {   display: flex;   align-items: center;   justify-content: center;   padding-bottom:20px; } 
rsfiles-download-info .table th, .table td {line-height:25px;}

.rsfp-directory-search input[type="text"]:not(.form-control) {
max-width: 75%; margin-right: 10px; margin-left: 10px; display: inline-block;}

form#adminForm.form-inline { overflow-x: scroll !important;}
#archive_view h1.contentheading { display: none; }

/*para as paginas dos forms*/
@media (min-width : 1100px) {
  form#userForm {
        width: calc(100% - 200px);
		padding-left: 100px;
  }
}


/* Indent submenu items and adjust font size 
.sp-module .menu-child {
    padding-left: 20px; /* Moves submenu to the right 
    font-size: 0.9em; /* Makes text slightly smaller 
}

/* Add arrow to parent items with submenus 
.sp-module .menu-parent > a::after {
    content: " ▼"; /* Adds dropdown arrow 
    font-size: 0.8em;
    margin-left: 5px;
}

/* Optional: Improve submenu appearance 
.sp-module .menu-child {
    display: none; /* Initially hide submenus 
}

.sp-module .menu-parent.active .menu-child {
    display: block; /* Show submenu when active 
}
