                                            /* Css do body para as páginas todas */
body {
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    background-color: #F1F3F5;
}
  
  * {
    padding: 0; 
    margin: 0;
    text-underline-offset: 3px;
}

nav{
    background-color: #50789F;
}

nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li{
    height: 50px;
    z-index: 1;
}

nav a{
    height: 100%;
    padding: 0 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: white;
    font-size: 17px;
    box-sizing: border-box;
}

nav a:hover{
    background-color: rgb(119, 155, 196);
}

.home-navbar{
    margin-right: auto;
}

.sidebar{
    position: fixed;
    top:0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 1000;
    background-color: #50789F;
    backdrop-filter: blur(100px);
    box-shadow: 10px 0 10px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
}

.sidebar li{
    width: 100%;
}

.sidebar a{
    width: 100%;
}

.menu-button{
  display: none;
}


nav ul li ul{
  position: absolute;
  width: 250px;
  background-color: #50789F;
  display: none;
}

nav ul li ul li{
  width: 100%;
  height: 50px;
}

nav ul li ul li ul{
  left:200px;
  top:0;
}
nav ul li:focus-within > ul,
nav ul li:hover > ul{
  display: initial;
}

.burger-menu{
  width: 30px;
  height: 30px;
  margin-top: 10px;
  cursor: pointer;
}

.radio-container {
  margin-bottom: 15px;
}

.radio-container label {
  margin-right: 10px;
}

.radio-container input[type="radio"] {
  display: none;
}

.radio-container input[type="radio"] + label {
  cursor: pointer;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.radio-container input[type="radio"]:checked + label {
  background-color: #50789F;
  color: white; 
}


          /*BARRA DE PEQUISA*/


.search-container {
  width: 40%;
  display: block;
  margin-left: calc(30% - 24px);
  margin-top:50px;
}

.search-wrapper {
  position: relative;
}

input#search-bar {
  width: 100%;
  height: 45px;
  font-size: 16px;
  border: 1px solid #50789F;
  outline: none;
  padding-left: 10px;
  padding-right: 38px;
  background-color: transparent;
  &:focus{
    transition: 0.35s ease;
    color: #000000;
    &::-webkit-input-placeholder{
      transition: opacity 0.45s ease; 
        opacity: 0;
     }
    &::-moz-placeholder {
      transition: opacity 0.45s ease; 
        opacity: 0;
     }
    &:-ms-placeholder {
     transition: opacity 0.45s ease; 
       opacity: 0;
     }    
   }
}

img.search-icon {
  position: absolute;
  top: 50%;
  right: -38px;
  transform: translateY(-50%);
  width: 20px;
  height: auto;
  cursor: pointer;
}

.container-avancadas{
  width: calc(100% + 49px);
  overflow-y: auto;
}

.botao-simbolo {
  display: inline-block;
  padding: 5px 10px;
  background-color: transparent;
  border: 1px solid #50789F;
  border-radius: 3px;
  cursor: pointer;
  margin-right: 5px;
  color: #50789F;
  font-weight: bold;
}

.botao-simbolo:active {
  background-color: #d6d6d6;
}

#jornalSelect {
  padding: 4px;
  margin-top: 5px;
  font-size: 16px;
  border: 1px solid #50789F;
  border-radius: 5px;
  background-color: transparent;
  color: #50789F;
  box-sizing: border-box;
}

.checkbox,
.checkbox-psqExata {
  opacity: 0;
}

.checkbox + label,
.checkbox-psqExata + label {
  position: relative;
  padding-left: 25px;
  margin-top: 10px;
  cursor: pointer;
  display: inline-block;
  color: black;
  font-weight: bold;
}

.checkbox + label::before,
.checkbox-psqExata + label::before {
  content:"";
  position: absolute;
  left: 1px;
  top: 0;
  width: 16px;
  height: 16px;
  outline: 2px solid black;
  border-radius: 2px;
  background-color: transparent;
  transition: outline 0.3s ease;
}

.checkbox:checked + label::before,
.checkbox-psqExata:checked + label::before{
  outline: 2px solid transparent;
}

.checkbox:checked + label::after,
.checkbox-psqExata:checked + label::after{
  content:"";
  position: absolute;
  left:0;
  top: 0;
  width: 16px;
  height: 16px;
  background-image: url(../images/check-mark.png);
  background-size: contain;
  transform: scale(1);
  opacity: 1;
  transition:all .3s ease;
}

.checkbox:not(:checked) + label::after,
.checkbox-psqExata:not(:checked) + label::after{
  content:"";
  position: absolute;
  left:0;
  top: 0;
  width: 16px;
  height: 16px;
  background-image: url(../images/check-mark.png);
  background-size: contain;
  transform: scale(0);
  opacity: 0;
}

#container-advanced-options{
  margin-top: 20px;
  word-wrap: break-word;
  overflow: hidden;
  overflow-wrap: break-word;
  display: flex;
  flex-direction: column;
}

.label-pesquisa-avancada{
  font-weight: bold;
  cursor: pointer;
  margin-left: auto;
}

.label-pesquisa-avancada:hover{
  text-decoration: underline;
}

#show-options-toggle{
  display: none;
}

#checkboxContainer {
  display: flex;
  justify-content: space-between;
}

#checkboxContainer input[type="checkbox"] {
  display: none;
}

                       /* Loading  */
.hidden {
  display: none;
}

.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 112px);
  flex-direction: column;
}

.flatpickr-calendar {
  font-size: 14px;
}

.but-download{
  width: 20px;
  height: 20px;
}

.but-fullscreen{
  margin-top: 4px;
  width: 15px;
  height: 15px;
  float: right;
}

#scrollTopBtn {
  display: none;
  position: fixed; 
  bottom: 30px; 
  right: 30px;
  z-index: 99;
  font-size: 16px;
  border: none;
  outline: none;
  background-color: #50789F;
  color: white;
  cursor: pointer;
  padding: 15px 17px;
  border-radius: 50%;
  border: 2px solid white;
}

#scrollTopBtn:hover {
  background-color: #5c8dbb;
 transition:cubic-bezier(1, 0, 0, 1); 
}

@media (max-width: 1140px) {
  .search-container {
      width: 70%;
      margin-left: calc(15% - 24px);
  }
}

@media(max-width: 1103px){
  .hideOnMobile{
    display: none;
  }
  .menu-button{
    display: block;
    width: 25%;
    text-align: right;
    margin-right: 20px;
  }
  
  nav ul li ul{
    position: relative;
    width: 100%;
  }
  nav ul li ul li{
    background-color: rgb(98, 141, 182);
  }
  .sidebarJornais{
    display: relative;
    width: 100%;
  }
  .admin-sidebar,
  .logout-sidebar{
    background-color: #50789F;
  }
  .icon-fechar{
    font-size: 23px;
    font-weight: bold;
    justify-content: right;
  }
}

@media(max-width: 480px){
  .search-container {
      margin-top: 8vh;
  }
  .sidebar{
    width: 100%;
  }
  #ellipsis2, #ellipsis1{
    display: none;
  }
}

@media(max-width: 400px){
  #primeiro, #ultimo{
    display: none;
  }
  #container-advanced-options{
    margin-top: 0;
    margin-bottom: 50px;
  }
}

@media (max-width: 320px) {
  .search-container {
    margin-bottom: 25vh;
    margin-top: 25px;
  }
  .label-pesquisa-avancada{
    font-weight: bold;
    cursor: pointer;
    margin-left: 0;
  }
}


                              /* Css do scroll bar */
::-webkit-scrollbar {
width: 15px;
height: 15px;
}

::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
}

::-webkit-scrollbar-thumb {
background: #888;
border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
background: #555;
}

/* Para Firefox */
html {
scrollbar-width: thin;
scrollbar-color: #50789F #f1f1f1;
}

::-ms-scrollbar {
width: 15px;
}

::-ms-scrollbar-track {
background: #f1f1f1;
}

::-ms-scrollbar-thumb {
background: #50789F;
border-radius: 10px;
}

::-ms-scrollbar-thumb:hover {
background: #555;
}
/* 
.rodape {
    width: 100%;
    text-align: center;
    color: white;
    border-top: 1px solid black;
    background-color: black;
    padding-top: 18px;
    padding-bottom: 18px;
    clear: both;
} */