.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position:relative;
    left:40%;
    margin-top:10%;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  .pagination-display{
    
      display:flex;
      justify-content: center;
  }
  .pagination-space{
     
    margin-bottom: 2em;;
  }
  ::-webkit-input-placeholder {
    padding: 0;
    margin:0;
    font-size: 1em;
    font-family:sans-serif;
  }
  ::-moz-placeholder {
    padding: 0;
    margin:0;
    font-size: 1em;
    font-family:sans-serif;
  }
  :-ms-input-placeholder {
    padding: 0;
    margin:0;
    font-size: 1em;
    font-family:sans-serif;
  }
  ::placeholder {
    padding: 0;
    margin:0;
    font-size: 1em;
    font-family:sans-serif;
  }
  .select-location{
     margin-left:.7em;
     width: 90%;
     font-family:sans-serif;
     font-size: 1em;
    
  }
  .errorMessage{
  
    position: relative;
    left:20%;
    margin-top:5em;
    box-shadow: 0 4px 8px 0 #ccc;
    max-width:30em;
    padding:2em;
  }
  
  .card_react_app {
      /* Add shadows to create the "card" effect */
      box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
      transition: 0.3s;
      width:90%;
      margin-bottom:3em;
      padding:.7em;
      background-color: #fff;  
      margin-left:1.5em; 
      min-width:400px;
      /*max-width:430px;*/
      
      
     
    }
    
    /* On mouse-over, add a deeper shadow */
    .card_react_app:hover {
      box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
      
    }
    .container_react_app_header {
      padding:0 2em;
      
    }
    .react_app_title{
  
      color: #C25100; 
      font-weight: normal;
    }
    .advanced-search-filter{

      width: 100%;
      display: inline-block;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-sizing: border-box;
      margin-top: 1.5em;
      padding-top: .5em;
      padding-bottom: .5em;
    }
    .react_app_title_without_margin{

      color: #C25100; 
      font-weight: normal;
      padding: 0;
      margin: 0 ;
      text-align: center;

    }
    .show_number_results{

      color: #C25100; 
      font-weight: normal;
      padding: 0;
      margin: 0 ;
      text-align: center;
    }
    .container_react_app_no_results {
      padding:2.5em 2em;
      box-shadow: 0 4px 8px 0 #ccc; 
      max-width:450px;
      
    }
    .card_react_app_no_results{
  
      /*margin-top:4em;
      margin-left:2em;*/
      align-items: center;
      /* align-self: center; */
      display: flex;
      flex-direction: column;
      width: max-content;
      justify-content: center;
         
    }
    .article-block{

        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .card_react_app_error_service{

        /*margin-top:4em;
      margin-left:2em;*/
      align-items: center;
      /* align-self: center; */
      display: flex;
      flex-direction: column;
      justify-content: center;
    
    }
    /* Add some padding inside the card container */
    .container_react_app {
      padding-bottom:1em;
      padding-left:.8em;
      
    }
    
    .container_react_app p{
        font-size: .8em;
    }
    .container_react_app h4{
  
      font: 10px,Arial,sans-serif
     
    }
    .center-element{
      
        display:flex;
        justify-content:center;
        align-items:center;
        margin-top: 1.5em;
        left: 2em;
    }
    #pagination_pagination{
       
        padding: 1%;
    }
    .sidenav_react_app {
      background: #fff;
      padding: 1em 1em;
      border-color: rgba(0, 0, 0, 0.125);
      border-style: solid;
      border-width: 1px;
      border-radius: 3px;
      width: 80%;
      margin: 0 auto;
      margin-top: 3em;
  }
  
  .sidenav_react_app a {
      padding: 6px 10px 6px 16px;
      text-decoration: none;
      font-size: 16px;
      color: #fff;
      display: block;
  }
  
  .sidenav_react_app a:hover {
      color: #000;
  }
  .info-data{
      font-size: .8em;
      color:#fff;
      bottom:2px;
      position: relative;
  }
  
  .sidenav_react_app .sidebar-item {
      display: flex;
  }
  
  .sidenav_react_app .sidebar-item a {
      font-size: 18px;
      font-weight: bold;
  }
  
  .sidenav_react_app .close-icon {
      padding-left: 0px;
      padding-top: 11px;
      font-size: 12px!important;
  }
  
  .sidenav_react_app a.pivot1 {
      margin-left: 4%;
      font-size: 16px;
  }
  
  .sidenav_react_app a.pivot2 {
      margin-left: 8%;
      font-size: 14px;
  }
  
  .sidenav_react_app a.pivot3 {
      margin-left: 12%;
      font-size: 12px;
  }
  
  .sidenav_react_app input[type=text], select {
    width: 100%;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 1.5em;
    padding-top:.5em;
    padding-bottom:.5em;
   
  }
  
  .sidenav_react_app input[type=submit] {
    width: 30%;
    background-color: #4CAF50;
    color: white;
    padding: .5em ;
    margin-left: 1em ;
    margin-top: 1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .sidenav_react_app input[type=submit]:hover {
    background-color: #45a049;
  }
  
  .sidenav_react_app h1{
    color: #000;
    font-family: arial, sans-serif;
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 1px;
    margin-left:0
  }
  
  .clean-filters{
  
    background-color: red !important;
    color: white !important;
    padding: 1em !important;
    margin-left: 1em !important;
    margin-top: 2em !important;
    border: none ;
    border-radius: 4px;
    cursor:pointer;
    font-size:.8em;
    
  }
  .search-button{
  
    background-color: #ee1133 ;
    color: white !important;
    margin-top: 1em !important;
    border: none ;
    border-radius: 4px;
    cursor:pointer;
    font-size:.8em;
    
  }
  #filters{
    min-width:320px;
    width:25em;
  }
  .link_page{
      
      color:#007bff;
      cursor: pointer;
  }
  .img_header_event {
    
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    margin: 0 auto;
    padding: 1em;
    max-width: 300px;
    
  }
  .img_block{

    width: 100%;
    max-width:300px;
  }
  .img_header_event:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    background: #fff ;
    color: transparent;
  }
  .title_event{
  
    display: block;
    font-size: 1.3em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
    color:#007bff;
    cursor: pointer;
  }
  .info-filter{

    font-size:.9em;
    color:black;
    font-weight: bold;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: justify;
  }
  .info-event-label{
  
   
    font-size: 1.1em;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: .8em ;
    font-weight: bold;
    color:black;
    
  }
  .info-event-text{
  
   
    font-size: 1em;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: .8em ;
    text-align: justify;
    font-family: Arial, Helvetica, sans-serif;
  }
  .distance-top{
  
    margin-top:2em;
    
  }
  .distance-pagination{
  
    margin-bottom:1.5em;
  }
  #pagination_react_app{
    
    position:relative;
   
  }
  /*Separa em duas colunas caso a largura da página passe de 900px. Ver media query.*/
  .separate-column{
        
    display:flex;
    left: -2em;
    position: relative;
}
  .component_pagination_react_app{
  
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
  }
  .page-link-react-app{
  
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff !important;
    background-color: #fff;
    border: 1px solid #dee2e6;
    font-size:.8em;
    cursor:pointer;
  }
  .page-link-react-app:hover {
    background: #f0f0f2;
  }
  
  .active {
    background-color: #0099FF;
    color: white;
    border: 1px solid #0099FF;
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff !important;
    font-size:.8em;
  }
  @media screen and (min-width: 900px){
    
    
  }
  @media screen and (min-width: 900px) and (max-width: 1200px){
  
    .article-block{

        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
    .separate-column{
      display:block;
      position: relative;
    }
    .img_header_event {
      width: 80%;
      height: 100%;
      object-fit: cover;
      min-width: 400px;
      max-width: 1000px; 
      max-height: 300px;
      left: 1.5em; 
      position: relative;
      margin: 0 auto;
      
    }
    .card_react_app{
      box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
      transition: 0.3s;
      width: 80%;
      margin-bottom: 3em;
      padding: .7em;
      background-color: #fff;
      min-width: 400px;
      max-width: 1000px; 
      margin: 0 auto;
      margin-bottom:2em;
      position:relative;
      left: 1.5em; 
    }
  }
  
  @media screen and (max-width: 500px) and (min-width: 401px){
    
    .article-block{

        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
    .separate-column{
      display:inline-block;
      left: -2em;
      position: relative;
    }
    .distance-top{
  
      width:100%;
      margin-top:3em;
      min-width:350px;
      font-size:10px;
  
    }
    .img_header_event{
  
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: relative;
        margin: 0 auto;
        padding: 1em;
        max-width: 300px;
     
    }
    .sidenav_react_app{
      
      margin-left: 4em;
    }
    .card_react_app{
  
        
      font-size:12px;
      min-width:150px;
      max-width:320px;
      position: relative;
      margin: 0 auto;
      width: 80%;
      margin-bottom: 3em;
      
  }
  }
  @media screen and (max-width: 400px) {
    

    .article-block{

        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
    
    .separate-column{
      display:inline-block;
      left: -2em;
      position: relative;
    }
    .pagination-display{

      display:block;
      margin-bottom: 2em;
    }
    .distance-top{
  
      width:100%;
      margin-top:3em;
      min-width:250px;
      
      
    }
    .img_header_event{
  
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: relative;
        margin: 0 auto;
        padding: 1em;
        max-width: 300px;
    }
    .sidenav_react_app{
  
      margin-left:4em;
    }
    .card_react_app{
  
        
        font-size:12px;
        min-width:150px;
        max-width:320px;
        
        
    }
    
      
  }
  @media screen and (max-width: 900px) and (min-width: 500px) {
    

    .article-block{

        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
    .separate-column{
      display:inline-block;
      left: -2em;
      position: relative;
    }
    .pagination-display{

       display:block;
    }
    .row{
      display:inline-flex;
    }
    
    #pagination{
      font-size:14px;
      
    }
    .img_header_event{
  
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: relative;
        margin: 0 auto;
        padding: 1em;
        max-width: 300px;
    }
    .distance-top{
      position:relative;
      max-width:700px;
      width:100%;
      
      margin-left:2em;
  
    }
    .card_react_app{
      max-width:350px;
      min-width:200px;
      width: 100%;
    }
    #filters{
      
       max-width:450px;
       
       
       position:relative;
    }
  }
  