/*
Theme Name: LBC
Version: 1.0
Description: Theme developed by LBC.
Author: LBC
*/

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f4f4f4;
}

img {
  width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
}

a,
a:visited,
a:hover,
a:active,
a:focus,
a:active:hover {
  text-decoration: none;
}

/* Header */


.icon{margin-right:5px;}


#site-header {
  background-color: #fff;
  padding: 1rem;
  border-bottom: 4px solid;
  border-image-source: linear-gradient(to right, #cf142b, #ebba14, #ef8b03);
  border-image-slice: 1;
  height: 80px;
}

#site-header img {
  height: 35px;
  width: auto;
}

#site-header .search img {
  height: 25px;
  width: auto;
}

#site-header .logo-sip {
  margin: 0 1.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid #707070;
}

#site-header .go-to-app a {
  color: #fff;
  background-color: #cf142b;
  font-size: 0.875rem;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border-radius: 1.5rem;
  transition: box-shadow 0.3s;
}

#site-header .go-to-app a:hover {
  box-shadow: 0 0 12px rgba(230, 0, 22, 0.8);
}

#site-header .go-to-app a img {
  height: 20px;
  margin-right: 0.5rem;
}

/* Main grid */
.main-grid {
  display: grid;
  grid-template-areas: "menu content";
  grid-template-columns: 10% 90%;
  min-height: calc(100vh - 80px - 53px);
}

.admin-bar .main-grid {
  min-height: calc(100vh - 80px - 53px - 32px);
}

.site-menu {
  grid-area: menu;
  background-color: #fff;
  padding: 1rem;/*NMD*/
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  height: fit-content;
}

.site-menu ul {
  list-style: none;
  padding-inline-start: 0;
  margin-bottom: 0;
}

.site-menu li {
  margin-bottom: 1.5rem;
}

.site-menu .menu li:last-child {
  margin-bottom: 0;
}

.site-menu a {
  color: #212529;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.site-menu a:hover {
  color: #cf142b;
}

.content {
  grid-area: content;
  padding: 2rem 2rem 1rem 2rem;
}

.content .box {
  background-color: #fff;
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.content .box h2 {
  font-size: 1rem; /*NMD*/
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.content .box .view-all {
  display: flex;
  justify-content: flex-end;
}

.content .box .view-all a {
  color: #717171;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.content .box .view-all a:hover {
  color: #cf142b;
}

.content .box.featured {
  display: grid;
  grid-template-areas: "icon title";
  grid-template-columns: 25% 75%;
  padding: 30px 20px 20px 20px;/*NMD*/
  min-height: 138px;
}

.content .box.featured .icon {
  grid-area: icon;
}

.content .box.featured img {
  max-width: 4.5rem;
}

.content .box.featured .title {
  grid-area: title;
}

.content .box.featured .title h2 {
  margin-bottom: 0.5rem;
}

.content .box.featured .title a {
  color: #717171;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.content .box.featured .title a:hover {
  color: #cf142b;
}

.content .box.news .post {
  display: grid;
  grid-template-areas: "img text";
  grid-template-columns: 20% 80%;
}

.home .content .box.news .post {
  grid-template-columns: 25% 75%;
}

.content .box.news .post:not(:last-child) {
  margin-bottom: 2.5rem;
}

.content .box.news .post.full-text {
  grid-template-areas: "text";
  grid-template-columns: 100%;
}

.content .box.news .post_thumbnail {
  grid-area: img;
  padding-right: 1.5rem;
}

.content .box.news .post_thumbnail img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: center;
  border: 1px solid #f4f4f4;
}

.content .box.news .post_content {
  grid-area: text;
}

.content .box.news .post_content h3 {
  font-size: 1.1rem; /* modifiquei aqui NMD*/
  font-weight: 700;
}

.content .box.news .post_content a {
  color: #212529;
}

.content .box.news .post_content a:hover {
  color: #cf142b;
}

.content .box.news .post_content span {
  color: #717171;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.content .box.opinion .post {
  display: grid;
  grid-template-areas: "img text";
  grid-template-columns: 30% 70%;
}

.content .box.opinion .post:not(:last-child) {
  margin-bottom: 1.5rem;
}

.content .box.opinion .post.full-text {
  grid-template-areas: "text";
  grid-template-columns: 100%;
}

.content .box.opinion .post_thumbnail {
  grid-area: img;
}

.content .box.opinion .post_thumbnail img {
  width: 100px; /*NMD*/
  height: 100px;/*NMD*/
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 5px solid #f4f4f4;
}

.content .box.opinion .post_content {
  grid-area: text;
      margin-left: 20px;/*NMD*/
}

.content .box.opinion .post_content h3 {
  font-size: 1rem;/*NMD*/
  font-weight: 700;
}

.content .box.opinion .post_content a {
  color: #212529;
}

.content .box.opinion .post_content a:hover {
  color: #cf142b;
}

.content .box.opinion .post_content span {
  font-size: 0.875rem;
  text-transform: uppercase;
}

.content .box.opinion .post_content span a {
  color: #717171;
}

.content .box.media h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.content .box.media ul {
  list-style: none;
  padding-inline-start: 0;
  margin-bottom: 0;
}

.content .box.media li:not(:last-child) {
  margin-bottom: 1.5rem;
}

.content .box.media a {
  color: #212529;
  font-weight: 400;/*NMD*/
}

.content .box.media a:hover {
  color: #cf142b;
}

.content .box.announcements .post:not(:last-child) {
  border-bottom: 1px solid #717171;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.content .box.announcements .post_content h3 {
  font-size: 1rem; /*NMD*/
  font-weight: 700;
}

.content .box.announcements .post_content a {
  color: #212529;
}

.content .box.announcements .post_content a:hover {
  color: #cf142b;
}

.content .box.announcements .post_content span {
  color: #717171;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.content .box.infographics .post_content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}

.content .box.latest-posts ul {
  list-style: none;
  padding: 0;
}

.content .box.latest-posts li {
  padding-inline-start: 0;
}

.content .box.latest-posts li:not(:last-child) {
  margin-bottom: 1rem;
}

.content .box.latest-posts span {
  color: #717171;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.content .box.latest-posts a {
  color: #212529;
}

.content .box.latest-posts h3 {
  font-size: 1rem;
  font-weight: 600;
}

.content .box.latest-posts h3:hover {
  color: #cf142b;
}

.content .box.links a {
  color: #cf142b;
}

.content .box.links a:hover {
  text-decoration: underline;
}

.content .box.links p {
  margin-bottom: 0.25rem;
}

.content .box.links ul {
  list-style: none;
  padding: 0;
}

.content .box.links li {
  padding-inline-start: 0;
}

.content .box.links li::before {
  content: "\f0da";
  font-family: "Font Awesome 5 Free";
  display: inline-block;
  width: 1rem;
  color: #cf142b;
}

.content .box.exchange-rates {
  height: 442px;
}

.content .box.oil-price {
  height: 442px;
}

.page-header {
  background-color: #fff;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  padding: 2.5rem;
}

.widget-centered {
  display: flex;
  justify-content: center;
}

/* Footer */
#site-footer {
  display: grid;
  grid-template-areas: "admin copyright";
  background-color: #fff;
  font-size: 0.875rem;
  padding: 1rem 1.5rem;
  justify-content: space-between;
}

#site-footer .admin {
  grid-area: admin;
}

#site-footer .admin a {
  color: #212529;
}

#site-footer .admin a:hover {
  color: #cf142b;
}

#site-footer .copyright {
  grid-area: copyright;
}

#site-footer .copyright p {
  margin-bottom: 0;
}

/* Slider */
#controls {
  display: flex;
  justify-content: flex-end;
}
#controls button {
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  background-color: #f4f4f4;
  color: #717171;
}
#controls button:not(:last-child) {
  margin-right: 0.25rem;
}
#controls button.previous::before {
  content: "\f104";
  font-family: "Font Awesome 5 Free";
}
#controls button.next::before {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
}
.tns-nav {
  text-align: center;
  margin-top: 10px;
}
.tns-nav > [aria-controls] {
  width: 9px;
  height: 9px;
  padding: 0;
  margin: 0 5px;
  border-radius: 50%;
  background: #ddd;
  border: 0;
}
.tns-nav > .tns-nav-active {
  background: #999;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.breadcrumbs a {
  color: #cf142b;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .separator {
  margin: 0 5px;
}

/* Search */
.icon-search::before {
  content: "\f002";
  font-family: "Font Awesome 5 Free";
  font-size: 1.25rem;
}

.icon-search:hover {
  color: #cf142b;
  cursor: pointer;
}

.modal-overlay {
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.95);
  visibility: hidden;
  opacity: 0;
  transform: scale(0.98);
  transition: all 0.3s ease;
}

.modal-overlay.open {
  visibility: visible;
  overflow-y: auto;
  transform: none;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.disable-scrollbar {
  overflow: hidden;
  height: 100%;
}

.modal-overlay-content {
  position: relative;
  top: 45%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
  color: #fff;
}

.modal-overlay .modal-close {
  position: fixed;
  right: 30px;
  top: 30px;
  padding: 2px 9px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-overlay .modal-close:hover {
  border: 2px solid rgba(255, 255, 255, 1);
}

.modal-overlay .modal-close::before {
  content: "\f00d";
  font-family: "Font Awesome 5 Free";
  color: #fff;
}

.search-form .search-icon {
  vertical-align: middle;
  margin-right: 0.5rem;
}

.search-form .search-icon::before {
  content: "\f002";
  font-family: "Font Awesome 5 Free";
  color: #fff;
  font-size: 1.5rem;
}

.search-form input[type="search"] {
  background-color: transparent;
  border: none;
  padding: 0.5rem;
  border-bottom: 2px solid #fff;
  color: #fff;
  width: 30%;
}

.search-form input[type="search"]::placeholder {
  color: #fff;
  opacity: 1;
}
